docs.go 1.4 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040
  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:我的",
  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": "string",
  914. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  915. "name": "lastUpdateTime",
  916. "in": "query"
  917. }
  918. ],
  919. "responses": {
  920. "200": {
  921. "description": "OK",
  922. "schema": {
  923. "$ref": "#/definitions/models.ErmcpGoods"
  924. }
  925. },
  926. "500": {
  927. "description": "Internal Server Error",
  928. "schema": {
  929. "$ref": "#/definitions/app.Response"
  930. }
  931. }
  932. }
  933. }
  934. },
  935. "/Ermcp/GetErmcpGoodsSortByPosition": {
  936. "get": {
  937. "security": [
  938. {
  939. "ApiKeyAuth": []
  940. }
  941. ],
  942. "produces": [
  943. "application/json"
  944. ],
  945. "tags": [
  946. "企业风险管理(app)"
  947. ],
  948. "summary": "查询企业风管期货主力、次主力商品信息",
  949. "parameters": [
  950. {
  951. "type": "string",
  952. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  953. "name": "sortIndex",
  954. "in": "query"
  955. }
  956. ],
  957. "responses": {
  958. "200": {
  959. "description": "OK",
  960. "schema": {
  961. "$ref": "#/definitions/models.Goodssortbypreposition"
  962. }
  963. },
  964. "500": {
  965. "description": "Internal Server Error",
  966. "schema": {
  967. "$ref": "#/definitions/app.Response"
  968. }
  969. }
  970. }
  971. }
  972. },
  973. "/Ermcp/GetErmcpOutAccountStatus": {
  974. "get": {
  975. "security": [
  976. {
  977. "ApiKeyAuth": []
  978. }
  979. ],
  980. "produces": [
  981. "application/json"
  982. ],
  983. "tags": [
  984. "企业风险管理(app)"
  985. ],
  986. "summary": "获取目标登录账号当前对冲账号在线状态",
  987. "parameters": [
  988. {
  989. "type": "integer",
  990. "description": "登录账号",
  991. "name": "loginID",
  992. "in": "query",
  993. "required": true
  994. }
  995. ],
  996. "responses": {
  997. "200": {
  998. "description": "OK",
  999. "schema": {
  1000. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1001. }
  1002. },
  1003. "500": {
  1004. "description": "Internal Server Error",
  1005. "schema": {
  1006. "$ref": "#/definitions/app.Response"
  1007. }
  1008. }
  1009. }
  1010. }
  1011. },
  1012. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1013. "get": {
  1014. "security": [
  1015. {
  1016. "ApiKeyAuth": []
  1017. }
  1018. ],
  1019. "produces": [
  1020. "application/json"
  1021. ],
  1022. "tags": [
  1023. "企业风险管理(app)"
  1024. ],
  1025. "summary": "获取企业风管终端权限",
  1026. "parameters": [
  1027. {
  1028. "type": "integer",
  1029. "description": "登录账号",
  1030. "name": "loginID",
  1031. "in": "query",
  1032. "required": true
  1033. }
  1034. ],
  1035. "responses": {
  1036. "200": {
  1037. "description": "OK",
  1038. "schema": {
  1039. "$ref": "#/definitions/models.Funcmenulist"
  1040. }
  1041. },
  1042. "500": {
  1043. "description": "Internal Server Error",
  1044. "schema": {
  1045. "$ref": "#/definitions/app.Response"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. },
  1051. "/Ermcp/QueryAccMgrBizGroupSet": {
  1052. "get": {
  1053. "security": [
  1054. {
  1055. "ApiKeyAuth": []
  1056. }
  1057. ],
  1058. "produces": [
  1059. "application/json"
  1060. ],
  1061. "tags": [
  1062. "企业风险管理(app)"
  1063. ],
  1064. "summary": "查询业务类型分组(账户管理/账户设置)",
  1065. "parameters": [
  1066. {
  1067. "type": "integer",
  1068. "description": "用户ID",
  1069. "name": "userid",
  1070. "in": "query",
  1071. "required": true
  1072. },
  1073. {
  1074. "type": "integer",
  1075. "description": "现货商品id",
  1076. "name": "deliverygoodsid",
  1077. "in": "query"
  1078. }
  1079. ],
  1080. "responses": {
  1081. "200": {
  1082. "description": "OK",
  1083. "schema": {
  1084. "type": "array",
  1085. "items": {
  1086. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1087. }
  1088. }
  1089. },
  1090. "500": {
  1091. "description": "Internal Server Error",
  1092. "schema": {
  1093. "$ref": "#/definitions/app.Response"
  1094. }
  1095. }
  1096. }
  1097. }
  1098. },
  1099. "/Ermcp/QueryAccMgrLoginUser": {
  1100. "get": {
  1101. "security": [
  1102. {
  1103. "ApiKeyAuth": []
  1104. }
  1105. ],
  1106. "produces": [
  1107. "application/json"
  1108. ],
  1109. "tags": [
  1110. "企业风险管理(app)"
  1111. ],
  1112. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1113. "parameters": [
  1114. {
  1115. "type": "integer",
  1116. "description": "用户ID",
  1117. "name": "userid",
  1118. "in": "query",
  1119. "required": true
  1120. },
  1121. {
  1122. "type": "integer",
  1123. "description": "用户类型 2-机构 7-企业成员",
  1124. "name": "usertype",
  1125. "in": "query"
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1130. "name": "querytype",
  1131. "in": "query",
  1132. "required": true
  1133. }
  1134. ],
  1135. "responses": {
  1136. "200": {
  1137. "description": "OK",
  1138. "schema": {
  1139. "type": "array",
  1140. "items": {
  1141. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1142. }
  1143. }
  1144. },
  1145. "500": {
  1146. "description": "Internal Server Error",
  1147. "schema": {
  1148. "$ref": "#/definitions/app.Response"
  1149. }
  1150. }
  1151. }
  1152. }
  1153. },
  1154. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1155. "get": {
  1156. "security": [
  1157. {
  1158. "ApiKeyAuth": []
  1159. }
  1160. ],
  1161. "produces": [
  1162. "application/json"
  1163. ],
  1164. "tags": [
  1165. "企业风险管理(app)"
  1166. ],
  1167. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1168. "parameters": [
  1169. {
  1170. "type": "integer",
  1171. "description": "用户ID",
  1172. "name": "userid",
  1173. "in": "query"
  1174. },
  1175. {
  1176. "type": "integer",
  1177. "description": "主账号id",
  1178. "name": "accountid",
  1179. "in": "query"
  1180. }
  1181. ],
  1182. "responses": {
  1183. "200": {
  1184. "description": "OK",
  1185. "schema": {
  1186. "type": "array",
  1187. "items": {
  1188. "$ref": "#/definitions/models.MainAccountInfo"
  1189. }
  1190. }
  1191. },
  1192. "500": {
  1193. "description": "Internal Server Error",
  1194. "schema": {
  1195. "$ref": "#/definitions/app.Response"
  1196. }
  1197. }
  1198. }
  1199. }
  1200. },
  1201. "/Ermcp/QueryAccMgrRole": {
  1202. "get": {
  1203. "security": [
  1204. {
  1205. "ApiKeyAuth": []
  1206. }
  1207. ],
  1208. "produces": [
  1209. "application/json"
  1210. ],
  1211. "tags": [
  1212. "企业风险管理(app)"
  1213. ],
  1214. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1215. "parameters": [
  1216. {
  1217. "type": "integer",
  1218. "description": "用户ID",
  1219. "name": "userid",
  1220. "in": "query",
  1221. "required": true
  1222. }
  1223. ],
  1224. "responses": {
  1225. "200": {
  1226. "description": "OK",
  1227. "schema": {
  1228. "type": "array",
  1229. "items": {
  1230. "$ref": "#/definitions/models.ErmcpRole"
  1231. }
  1232. }
  1233. },
  1234. "500": {
  1235. "description": "Internal Server Error",
  1236. "schema": {
  1237. "$ref": "#/definitions/app.Response"
  1238. }
  1239. }
  1240. }
  1241. }
  1242. },
  1243. "/Ermcp/QueryAccMgrRoleMenu": {
  1244. "get": {
  1245. "security": [
  1246. {
  1247. "ApiKeyAuth": []
  1248. }
  1249. ],
  1250. "produces": [
  1251. "application/json"
  1252. ],
  1253. "tags": [
  1254. "企业风险管理(app)"
  1255. ],
  1256. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1257. "parameters": [
  1258. {
  1259. "type": "integer",
  1260. "description": "用户ID",
  1261. "name": "userid",
  1262. "in": "query",
  1263. "required": true
  1264. },
  1265. {
  1266. "type": "string",
  1267. "description": "角色id(可多个,逗号隔开)",
  1268. "name": "roleid",
  1269. "in": "query"
  1270. },
  1271. {
  1272. "type": "integer",
  1273. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1274. "name": "menutype",
  1275. "in": "query"
  1276. }
  1277. ],
  1278. "responses": {
  1279. "200": {
  1280. "description": "OK",
  1281. "schema": {
  1282. "type": "array",
  1283. "items": {
  1284. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1285. }
  1286. }
  1287. },
  1288. "500": {
  1289. "description": "Internal Server Error",
  1290. "schema": {
  1291. "$ref": "#/definitions/app.Response"
  1292. }
  1293. }
  1294. }
  1295. }
  1296. },
  1297. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1298. "get": {
  1299. "security": [
  1300. {
  1301. "ApiKeyAuth": []
  1302. }
  1303. ],
  1304. "produces": [
  1305. "application/json"
  1306. ],
  1307. "tags": [
  1308. "企业风险管理(app)"
  1309. ],
  1310. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1311. "parameters": [
  1312. {
  1313. "type": "integer",
  1314. "description": "用户ID",
  1315. "name": "userid",
  1316. "in": "query",
  1317. "required": true
  1318. },
  1319. {
  1320. "type": "integer",
  1321. "description": "账号id",
  1322. "name": "accountid",
  1323. "in": "query"
  1324. }
  1325. ],
  1326. "responses": {
  1327. "200": {
  1328. "description": "OK",
  1329. "schema": {
  1330. "type": "array",
  1331. "items": {
  1332. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1333. }
  1334. }
  1335. },
  1336. "500": {
  1337. "description": "Internal Server Error",
  1338. "schema": {
  1339. "$ref": "#/definitions/app.Response"
  1340. }
  1341. }
  1342. }
  1343. }
  1344. },
  1345. "/Ermcp/QueryAccMgrTaaccount": {
  1346. "get": {
  1347. "security": [
  1348. {
  1349. "ApiKeyAuth": []
  1350. }
  1351. ],
  1352. "produces": [
  1353. "application/json"
  1354. ],
  1355. "tags": [
  1356. "企业风险管理(app)"
  1357. ],
  1358. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1359. "parameters": [
  1360. {
  1361. "type": "integer",
  1362. "description": "用户ID",
  1363. "name": "userid",
  1364. "in": "query",
  1365. "required": true
  1366. }
  1367. ],
  1368. "responses": {
  1369. "200": {
  1370. "description": "OK",
  1371. "schema": {
  1372. "type": "array",
  1373. "items": {
  1374. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1375. }
  1376. }
  1377. },
  1378. "500": {
  1379. "description": "Internal Server Error",
  1380. "schema": {
  1381. "$ref": "#/definitions/app.Response"
  1382. }
  1383. }
  1384. }
  1385. }
  1386. },
  1387. "/Ermcp/QueryAvaildGoodsGroup": {
  1388. "get": {
  1389. "security": [
  1390. {
  1391. "ApiKeyAuth": []
  1392. }
  1393. ],
  1394. "produces": [
  1395. "application/json"
  1396. ],
  1397. "tags": [
  1398. "企业风险管理(app)"
  1399. ],
  1400. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1401. "parameters": [
  1402. {
  1403. "type": "integer",
  1404. "description": "所属机构ID",
  1405. "name": "userid",
  1406. "in": "query",
  1407. "required": true
  1408. }
  1409. ],
  1410. "responses": {
  1411. "200": {
  1412. "description": "OK",
  1413. "schema": {
  1414. "type": "array",
  1415. "items": {
  1416. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1417. }
  1418. }
  1419. },
  1420. "500": {
  1421. "description": "Internal Server Error",
  1422. "schema": {
  1423. "$ref": "#/definitions/app.Response"
  1424. }
  1425. }
  1426. }
  1427. }
  1428. },
  1429. "/Ermcp/QueryBusinessDj": {
  1430. "get": {
  1431. "security": [
  1432. {
  1433. "ApiKeyAuth": []
  1434. }
  1435. ],
  1436. "produces": [
  1437. "application/json"
  1438. ],
  1439. "tags": [
  1440. "企业风险管理(app)"
  1441. ],
  1442. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1443. "parameters": [
  1444. {
  1445. "type": "integer",
  1446. "description": "用户ID",
  1447. "name": "UserId",
  1448. "in": "query",
  1449. "required": true
  1450. },
  1451. {
  1452. "type": "integer",
  1453. "description": "用户类型 2-机构 7-企业成员",
  1454. "name": "usertype",
  1455. "in": "query"
  1456. },
  1457. {
  1458. "type": "string",
  1459. "description": "现货合同ID, 不填则查所有",
  1460. "name": "relatedid",
  1461. "in": "query"
  1462. },
  1463. {
  1464. "type": "string",
  1465. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1466. "name": "applystatus",
  1467. "in": "query"
  1468. }
  1469. ],
  1470. "responses": {
  1471. "200": {
  1472. "description": "OK",
  1473. "schema": {
  1474. "type": "array",
  1475. "items": {
  1476. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1477. }
  1478. }
  1479. },
  1480. "500": {
  1481. "description": "Internal Server Error",
  1482. "schema": {
  1483. "$ref": "#/definitions/app.Response"
  1484. }
  1485. }
  1486. }
  1487. }
  1488. },
  1489. "/Ermcp/QueryBusinessFp": {
  1490. "get": {
  1491. "security": [
  1492. {
  1493. "ApiKeyAuth": []
  1494. }
  1495. ],
  1496. "produces": [
  1497. "application/json"
  1498. ],
  1499. "tags": [
  1500. "企业风险管理(app)"
  1501. ],
  1502. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1503. "parameters": [
  1504. {
  1505. "type": "integer",
  1506. "description": "用户ID",
  1507. "name": "UserId",
  1508. "in": "query",
  1509. "required": true
  1510. },
  1511. {
  1512. "type": "integer",
  1513. "description": "用户类型 2-机构 7-企业成员",
  1514. "name": "usertype",
  1515. "in": "query"
  1516. },
  1517. {
  1518. "type": "string",
  1519. "description": "现货合同ID, 不填则查所有",
  1520. "name": "relatedid",
  1521. "in": "query"
  1522. },
  1523. {
  1524. "type": "string",
  1525. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1526. "name": "applystatus",
  1527. "in": "query"
  1528. }
  1529. ],
  1530. "responses": {
  1531. "200": {
  1532. "description": "OK",
  1533. "schema": {
  1534. "type": "array",
  1535. "items": {
  1536. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1537. }
  1538. }
  1539. },
  1540. "500": {
  1541. "description": "Internal Server Error",
  1542. "schema": {
  1543. "$ref": "#/definitions/app.Response"
  1544. }
  1545. }
  1546. }
  1547. }
  1548. },
  1549. "/Ermcp/QueryBusinessJs": {
  1550. "get": {
  1551. "security": [
  1552. {
  1553. "ApiKeyAuth": []
  1554. }
  1555. ],
  1556. "produces": [
  1557. "application/json"
  1558. ],
  1559. "tags": [
  1560. "企业风险管理(app)"
  1561. ],
  1562. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1563. "parameters": [
  1564. {
  1565. "type": "integer",
  1566. "description": "用户ID",
  1567. "name": "UserId",
  1568. "in": "query",
  1569. "required": true
  1570. },
  1571. {
  1572. "type": "integer",
  1573. "description": "用户类型 2-机构 7-企业成员",
  1574. "name": "usertype",
  1575. "in": "query"
  1576. },
  1577. {
  1578. "type": "string",
  1579. "description": "现货合同ID, 不填则查所有",
  1580. "name": "relatedid",
  1581. "in": "query"
  1582. },
  1583. {
  1584. "type": "string",
  1585. "description": "操作申请id",
  1586. "name": "operateapplyid",
  1587. "in": "query"
  1588. },
  1589. {
  1590. "type": "string",
  1591. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1592. "name": "applystatus",
  1593. "in": "query"
  1594. }
  1595. ],
  1596. "responses": {
  1597. "200": {
  1598. "description": "OK",
  1599. "schema": {
  1600. "type": "array",
  1601. "items": {
  1602. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1603. }
  1604. }
  1605. },
  1606. "500": {
  1607. "description": "Internal Server Error",
  1608. "schema": {
  1609. "$ref": "#/definitions/app.Response"
  1610. }
  1611. }
  1612. }
  1613. }
  1614. },
  1615. "/Ermcp/QueryBusinessJsEx": {
  1616. "get": {
  1617. "security": [
  1618. {
  1619. "ApiKeyAuth": []
  1620. }
  1621. ],
  1622. "produces": [
  1623. "application/json"
  1624. ],
  1625. "tags": [
  1626. "企业风险管理(app)"
  1627. ],
  1628. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1629. "parameters": [
  1630. {
  1631. "type": "integer",
  1632. "description": "用户ID",
  1633. "name": "UserId",
  1634. "in": "query",
  1635. "required": true
  1636. },
  1637. {
  1638. "type": "integer",
  1639. "description": "用户类型 2-机构 7-企业成员",
  1640. "name": "usertype",
  1641. "in": "query"
  1642. },
  1643. {
  1644. "type": "string",
  1645. "description": "现货合同ID, 不填则查所有",
  1646. "name": "relatedid",
  1647. "in": "query"
  1648. },
  1649. {
  1650. "type": "string",
  1651. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1652. "name": "applystatus",
  1653. "in": "query"
  1654. }
  1655. ],
  1656. "responses": {
  1657. "200": {
  1658. "description": "OK",
  1659. "schema": {
  1660. "type": "array",
  1661. "items": {
  1662. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1663. }
  1664. }
  1665. },
  1666. "500": {
  1667. "description": "Internal Server Error",
  1668. "schema": {
  1669. "$ref": "#/definitions/app.Response"
  1670. }
  1671. }
  1672. }
  1673. }
  1674. },
  1675. "/Ermcp/QueryBusinessKx": {
  1676. "get": {
  1677. "security": [
  1678. {
  1679. "ApiKeyAuth": []
  1680. }
  1681. ],
  1682. "produces": [
  1683. "application/json"
  1684. ],
  1685. "tags": [
  1686. "企业风险管理(app)"
  1687. ],
  1688. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1689. "parameters": [
  1690. {
  1691. "type": "integer",
  1692. "description": "用户ID",
  1693. "name": "UserId",
  1694. "in": "query",
  1695. "required": true
  1696. },
  1697. {
  1698. "type": "integer",
  1699. "description": "用户类型 2-机构 7-企业成员",
  1700. "name": "usertype",
  1701. "in": "query"
  1702. },
  1703. {
  1704. "type": "string",
  1705. "description": "现货合同ID, 不填则查所有",
  1706. "name": "relatedid",
  1707. "in": "query"
  1708. },
  1709. {
  1710. "type": "string",
  1711. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1712. "name": "applystatus",
  1713. "in": "query"
  1714. }
  1715. ],
  1716. "responses": {
  1717. "200": {
  1718. "description": "OK",
  1719. "schema": {
  1720. "type": "array",
  1721. "items": {
  1722. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1723. }
  1724. }
  1725. },
  1726. "500": {
  1727. "description": "Internal Server Error",
  1728. "schema": {
  1729. "$ref": "#/definitions/app.Response"
  1730. }
  1731. }
  1732. }
  1733. }
  1734. },
  1735. "/Ermcp/QueryChangeLog": {
  1736. "get": {
  1737. "security": [
  1738. {
  1739. "ApiKeyAuth": []
  1740. }
  1741. ],
  1742. "produces": [
  1743. "application/json"
  1744. ],
  1745. "tags": [
  1746. "企业风险管理(app)"
  1747. ],
  1748. "summary": "查询变更记录",
  1749. "parameters": [
  1750. {
  1751. "type": "string",
  1752. "description": "合同ID",
  1753. "name": "RelatedId",
  1754. "in": "query",
  1755. "required": true
  1756. }
  1757. ],
  1758. "responses": {
  1759. "200": {
  1760. "description": "OK",
  1761. "schema": {
  1762. "type": "array",
  1763. "items": {
  1764. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1765. }
  1766. }
  1767. },
  1768. "500": {
  1769. "description": "Internal Server Error",
  1770. "schema": {
  1771. "$ref": "#/definitions/app.Response"
  1772. }
  1773. }
  1774. }
  1775. }
  1776. },
  1777. "/Ermcp/QueryErmcpHisOrderDetails": {
  1778. "get": {
  1779. "security": [
  1780. {
  1781. "ApiKeyAuth": []
  1782. }
  1783. ],
  1784. "produces": [
  1785. "application/json"
  1786. ],
  1787. "tags": [
  1788. "企业风险管理(app)"
  1789. ],
  1790. "summary": "获取企业风管期货历史委托单信息",
  1791. "parameters": [
  1792. {
  1793. "type": "integer",
  1794. "description": "资金账户ID",
  1795. "name": "accountID",
  1796. "in": "query",
  1797. "required": true
  1798. },
  1799. {
  1800. "type": "string",
  1801. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1802. "name": "startDate",
  1803. "in": "query"
  1804. },
  1805. {
  1806. "type": "string",
  1807. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1808. "name": "endDate",
  1809. "in": "query"
  1810. }
  1811. ],
  1812. "responses": {
  1813. "200": {
  1814. "description": "OK",
  1815. "schema": {
  1816. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1817. }
  1818. },
  1819. "500": {
  1820. "description": "Internal Server Error",
  1821. "schema": {
  1822. "$ref": "#/definitions/app.Response"
  1823. }
  1824. }
  1825. }
  1826. }
  1827. },
  1828. "/Ermcp/QueryErmcpHisTradeDetails": {
  1829. "get": {
  1830. "security": [
  1831. {
  1832. "ApiKeyAuth": []
  1833. }
  1834. ],
  1835. "produces": [
  1836. "application/json"
  1837. ],
  1838. "tags": [
  1839. "企业风险管理(app)"
  1840. ],
  1841. "summary": "获取企业风管期货历史成交单信息",
  1842. "parameters": [
  1843. {
  1844. "type": "integer",
  1845. "description": "资金账户ID",
  1846. "name": "accountID",
  1847. "in": "query",
  1848. "required": true
  1849. },
  1850. {
  1851. "type": "integer",
  1852. "description": "商品ID",
  1853. "name": "goodsID",
  1854. "in": "query"
  1855. },
  1856. {
  1857. "type": "integer",
  1858. "description": "买卖方向,0:买 1:卖",
  1859. "name": "buyOrSell",
  1860. "in": "query"
  1861. },
  1862. {
  1863. "type": "integer",
  1864. "description": "关联委托单号",
  1865. "name": "orderID",
  1866. "in": "query"
  1867. },
  1868. {
  1869. "type": "string",
  1870. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1871. "name": "startDate",
  1872. "in": "query"
  1873. },
  1874. {
  1875. "type": "string",
  1876. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1877. "name": "endDate",
  1878. "in": "query"
  1879. }
  1880. ],
  1881. "responses": {
  1882. "200": {
  1883. "description": "OK",
  1884. "schema": {
  1885. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1886. }
  1887. },
  1888. "500": {
  1889. "description": "Internal Server Error",
  1890. "schema": {
  1891. "$ref": "#/definitions/app.Response"
  1892. }
  1893. }
  1894. }
  1895. }
  1896. },
  1897. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1898. "get": {
  1899. "security": [
  1900. {
  1901. "ApiKeyAuth": []
  1902. }
  1903. ],
  1904. "produces": [
  1905. "application/json"
  1906. ],
  1907. "tags": [
  1908. "企业风险管理(app)"
  1909. ],
  1910. "summary": "获取企业风管期货内部持仓单信息",
  1911. "parameters": [
  1912. {
  1913. "type": "integer",
  1914. "description": "资金账户ID",
  1915. "name": "accountID",
  1916. "in": "query",
  1917. "required": true
  1918. },
  1919. {
  1920. "type": "integer",
  1921. "description": "商品ID",
  1922. "name": "goodsID",
  1923. "in": "query"
  1924. },
  1925. {
  1926. "type": "integer",
  1927. "description": "买卖方向,0:买 1:卖",
  1928. "name": "buyOrSell",
  1929. "in": "query"
  1930. }
  1931. ],
  1932. "responses": {
  1933. "200": {
  1934. "description": "OK",
  1935. "schema": {
  1936. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1937. }
  1938. },
  1939. "500": {
  1940. "description": "Internal Server Error",
  1941. "schema": {
  1942. "$ref": "#/definitions/app.Response"
  1943. }
  1944. }
  1945. }
  1946. }
  1947. },
  1948. "/Ermcp/QueryErmcpOrderDetails": {
  1949. "get": {
  1950. "security": [
  1951. {
  1952. "ApiKeyAuth": []
  1953. }
  1954. ],
  1955. "produces": [
  1956. "application/json"
  1957. ],
  1958. "tags": [
  1959. "企业风险管理(app)"
  1960. ],
  1961. "summary": "获取企业风管期货委托单信息",
  1962. "parameters": [
  1963. {
  1964. "type": "integer",
  1965. "description": "资金账户ID",
  1966. "name": "accountID",
  1967. "in": "query",
  1968. "required": true
  1969. }
  1970. ],
  1971. "responses": {
  1972. "200": {
  1973. "description": "OK",
  1974. "schema": {
  1975. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1976. }
  1977. },
  1978. "500": {
  1979. "description": "Internal Server Error",
  1980. "schema": {
  1981. "$ref": "#/definitions/app.Response"
  1982. }
  1983. }
  1984. }
  1985. }
  1986. },
  1987. "/Ermcp/QueryErmcpTradeDetails": {
  1988. "get": {
  1989. "security": [
  1990. {
  1991. "ApiKeyAuth": []
  1992. }
  1993. ],
  1994. "produces": [
  1995. "application/json"
  1996. ],
  1997. "tags": [
  1998. "企业风险管理(app)"
  1999. ],
  2000. "summary": "获取企业风管期货成交单信息",
  2001. "parameters": [
  2002. {
  2003. "type": "integer",
  2004. "description": "资金账户ID",
  2005. "name": "accountID",
  2006. "in": "query",
  2007. "required": true
  2008. },
  2009. {
  2010. "type": "integer",
  2011. "description": "商品ID",
  2012. "name": "goodsID",
  2013. "in": "query"
  2014. },
  2015. {
  2016. "type": "integer",
  2017. "description": "买卖方向,0:买 1:卖",
  2018. "name": "buyOrSell",
  2019. "in": "query"
  2020. },
  2021. {
  2022. "type": "integer",
  2023. "description": "关联委托单号",
  2024. "name": "orderID",
  2025. "in": "query"
  2026. }
  2027. ],
  2028. "responses": {
  2029. "200": {
  2030. "description": "OK",
  2031. "schema": {
  2032. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2033. }
  2034. },
  2035. "500": {
  2036. "description": "Internal Server Error",
  2037. "schema": {
  2038. "$ref": "#/definitions/app.Response"
  2039. }
  2040. }
  2041. }
  2042. }
  2043. },
  2044. "/Ermcp/QueryErmcpTradePosition": {
  2045. "get": {
  2046. "security": [
  2047. {
  2048. "ApiKeyAuth": []
  2049. }
  2050. ],
  2051. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2052. "produces": [
  2053. "application/json"
  2054. ],
  2055. "tags": [
  2056. "企业风险管理(app)"
  2057. ],
  2058. "summary": "获取企业风管期货持仓头寸信息",
  2059. "parameters": [
  2060. {
  2061. "type": "integer",
  2062. "description": "资金账户ID",
  2063. "name": "accountID",
  2064. "in": "query",
  2065. "required": true
  2066. },
  2067. {
  2068. "type": "integer",
  2069. "description": "所属市场ID",
  2070. "name": "marketID",
  2071. "in": "query"
  2072. }
  2073. ],
  2074. "responses": {
  2075. "200": {
  2076. "description": "OK",
  2077. "schema": {
  2078. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2079. }
  2080. },
  2081. "500": {
  2082. "description": "Internal Server Error",
  2083. "schema": {
  2084. "$ref": "#/definitions/app.Response"
  2085. }
  2086. }
  2087. }
  2088. }
  2089. },
  2090. "/Ermcp/QueryExposureDetail": {
  2091. "get": {
  2092. "security": [
  2093. {
  2094. "ApiKeyAuth": []
  2095. }
  2096. ],
  2097. "produces": [
  2098. "application/json"
  2099. ],
  2100. "tags": [
  2101. "企业风险管理(app)"
  2102. ],
  2103. "summary": "查询敞口现货明细",
  2104. "parameters": [
  2105. {
  2106. "type": "integer",
  2107. "description": "所属机构ID",
  2108. "name": "areaUserId",
  2109. "in": "query",
  2110. "required": true
  2111. },
  2112. {
  2113. "type": "integer",
  2114. "description": "套保商品",
  2115. "name": "middleGoodsId",
  2116. "in": "query",
  2117. "required": true
  2118. }
  2119. ],
  2120. "responses": {
  2121. "200": {
  2122. "description": "OK",
  2123. "schema": {
  2124. "type": "array",
  2125. "items": {
  2126. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2127. }
  2128. }
  2129. },
  2130. "500": {
  2131. "description": "Internal Server Error",
  2132. "schema": {
  2133. "$ref": "#/definitions/app.Response"
  2134. }
  2135. }
  2136. }
  2137. }
  2138. },
  2139. "/Ermcp/QueryExposureGoods": {
  2140. "get": {
  2141. "security": [
  2142. {
  2143. "ApiKeyAuth": []
  2144. }
  2145. ],
  2146. "produces": [
  2147. "application/json"
  2148. ],
  2149. "tags": [
  2150. "企业风险管理(app)"
  2151. ],
  2152. "summary": "查询敞口主力合约",
  2153. "parameters": [
  2154. {
  2155. "type": "integer",
  2156. "description": "套保商品id",
  2157. "name": "middlegoodsid",
  2158. "in": "query",
  2159. "required": true
  2160. }
  2161. ],
  2162. "responses": {
  2163. "200": {
  2164. "description": "OK",
  2165. "schema": {
  2166. "type": "array",
  2167. "items": {
  2168. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2169. }
  2170. }
  2171. },
  2172. "500": {
  2173. "description": "Internal Server Error",
  2174. "schema": {
  2175. "$ref": "#/definitions/app.Response"
  2176. }
  2177. }
  2178. }
  2179. }
  2180. },
  2181. "/Ermcp/QueryExposureHedgePosition": {
  2182. "get": {
  2183. "security": [
  2184. {
  2185. "ApiKeyAuth": []
  2186. }
  2187. ],
  2188. "produces": [
  2189. "application/json"
  2190. ],
  2191. "tags": [
  2192. "企业风险管理(app)"
  2193. ],
  2194. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2195. "parameters": [
  2196. {
  2197. "type": "integer",
  2198. "description": "用户id",
  2199. "name": "userid",
  2200. "in": "query",
  2201. "required": true
  2202. }
  2203. ],
  2204. "responses": {
  2205. "200": {
  2206. "description": "OK",
  2207. "schema": {
  2208. "type": "array",
  2209. "items": {
  2210. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2211. }
  2212. }
  2213. },
  2214. "500": {
  2215. "description": "Internal Server Error",
  2216. "schema": {
  2217. "$ref": "#/definitions/app.Response"
  2218. }
  2219. }
  2220. }
  2221. }
  2222. },
  2223. "/Ermcp/QueryExposureHedgePositionDetail": {
  2224. "get": {
  2225. "security": [
  2226. {
  2227. "ApiKeyAuth": []
  2228. }
  2229. ],
  2230. "produces": [
  2231. "application/json"
  2232. ],
  2233. "tags": [
  2234. "企业风险管理(app)"
  2235. ],
  2236. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2237. "parameters": [
  2238. {
  2239. "type": "integer",
  2240. "description": "所属机构ID",
  2241. "name": "userid",
  2242. "in": "query",
  2243. "required": true
  2244. },
  2245. {
  2246. "type": "integer",
  2247. "description": "商品id",
  2248. "name": "goodsId",
  2249. "in": "query",
  2250. "required": true
  2251. }
  2252. ],
  2253. "responses": {
  2254. "200": {
  2255. "description": "OK",
  2256. "schema": {
  2257. "type": "array",
  2258. "items": {
  2259. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2260. }
  2261. }
  2262. },
  2263. "500": {
  2264. "description": "Internal Server Error",
  2265. "schema": {
  2266. "$ref": "#/definitions/app.Response"
  2267. }
  2268. }
  2269. }
  2270. }
  2271. },
  2272. "/Ermcp/QueryExposureSpot": {
  2273. "get": {
  2274. "security": [
  2275. {
  2276. "ApiKeyAuth": []
  2277. }
  2278. ],
  2279. "produces": [
  2280. "application/json"
  2281. ],
  2282. "tags": [
  2283. "企业风险管理(app)"
  2284. ],
  2285. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2286. "parameters": [
  2287. {
  2288. "type": "integer",
  2289. "description": "所属机构ID",
  2290. "name": "areaUserId",
  2291. "in": "query",
  2292. "required": true
  2293. }
  2294. ],
  2295. "responses": {
  2296. "200": {
  2297. "description": "OK",
  2298. "schema": {
  2299. "type": "array",
  2300. "items": {
  2301. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2302. }
  2303. }
  2304. },
  2305. "500": {
  2306. "description": "Internal Server Error",
  2307. "schema": {
  2308. "$ref": "#/definitions/app.Response"
  2309. }
  2310. }
  2311. }
  2312. }
  2313. },
  2314. "/Ermcp/QueryExposureSpotDetail": {
  2315. "get": {
  2316. "security": [
  2317. {
  2318. "ApiKeyAuth": []
  2319. }
  2320. ],
  2321. "produces": [
  2322. "application/json"
  2323. ],
  2324. "tags": [
  2325. "企业风险管理(app)"
  2326. ],
  2327. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2328. "parameters": [
  2329. {
  2330. "type": "integer",
  2331. "description": "所属机构ID",
  2332. "name": "areaUserId",
  2333. "in": "query",
  2334. "required": true
  2335. },
  2336. {
  2337. "type": "integer",
  2338. "description": "现货品种ID",
  2339. "name": "wrstandardId",
  2340. "in": "query",
  2341. "required": true
  2342. }
  2343. ],
  2344. "responses": {
  2345. "200": {
  2346. "description": "OK",
  2347. "schema": {
  2348. "type": "array",
  2349. "items": {
  2350. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2351. }
  2352. }
  2353. },
  2354. "500": {
  2355. "description": "Internal Server Error",
  2356. "schema": {
  2357. "$ref": "#/definitions/app.Response"
  2358. }
  2359. }
  2360. }
  2361. }
  2362. },
  2363. "/Ermcp/QueryFuturesCompany": {
  2364. "get": {
  2365. "security": [
  2366. {
  2367. "ApiKeyAuth": []
  2368. }
  2369. ],
  2370. "produces": [
  2371. "application/json"
  2372. ],
  2373. "tags": [
  2374. "企业风险管理(app)"
  2375. ],
  2376. "summary": "查询期货公司",
  2377. "responses": {
  2378. "200": {
  2379. "description": "OK",
  2380. "schema": {
  2381. "type": "array",
  2382. "items": {
  2383. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2384. }
  2385. }
  2386. },
  2387. "500": {
  2388. "description": "Internal Server Error",
  2389. "schema": {
  2390. "$ref": "#/definitions/app.Response"
  2391. }
  2392. }
  2393. }
  2394. }
  2395. },
  2396. "/Ermcp/QueryGGConvertConfig": {
  2397. "get": {
  2398. "security": [
  2399. {
  2400. "ApiKeyAuth": []
  2401. }
  2402. ],
  2403. "produces": [
  2404. "application/json"
  2405. ],
  2406. "tags": [
  2407. "企业风险管理(app)"
  2408. ],
  2409. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2410. "parameters": [
  2411. {
  2412. "type": "integer",
  2413. "description": "品种id(不填则查所有)",
  2414. "name": "goodsgroupid",
  2415. "in": "query"
  2416. }
  2417. ],
  2418. "responses": {
  2419. "200": {
  2420. "description": "OK",
  2421. "schema": {
  2422. "type": "array",
  2423. "items": {
  2424. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2425. }
  2426. }
  2427. },
  2428. "500": {
  2429. "description": "Internal Server Error",
  2430. "schema": {
  2431. "$ref": "#/definitions/app.Response"
  2432. }
  2433. }
  2434. }
  2435. }
  2436. },
  2437. "/Ermcp/QueryGoodsBrand": {
  2438. "get": {
  2439. "security": [
  2440. {
  2441. "ApiKeyAuth": []
  2442. }
  2443. ],
  2444. "produces": [
  2445. "application/json"
  2446. ],
  2447. "tags": [
  2448. "企业风险管理(app)"
  2449. ],
  2450. "summary": "查询商品品牌",
  2451. "parameters": [
  2452. {
  2453. "type": "integer",
  2454. "description": "用户ID",
  2455. "name": "userid",
  2456. "in": "query",
  2457. "required": true
  2458. },
  2459. {
  2460. "type": "integer",
  2461. "description": "现货商品ID",
  2462. "name": "wrstandardid",
  2463. "in": "query"
  2464. }
  2465. ],
  2466. "responses": {
  2467. "200": {
  2468. "description": "OK",
  2469. "schema": {
  2470. "type": "array",
  2471. "items": {
  2472. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2473. }
  2474. }
  2475. },
  2476. "500": {
  2477. "description": "Internal Server Error",
  2478. "schema": {
  2479. "$ref": "#/definitions/app.Response"
  2480. }
  2481. }
  2482. }
  2483. }
  2484. },
  2485. "/Ermcp/QueryGoodsModel": {
  2486. "get": {
  2487. "security": [
  2488. {
  2489. "ApiKeyAuth": []
  2490. }
  2491. ],
  2492. "produces": [
  2493. "application/json"
  2494. ],
  2495. "tags": [
  2496. "企业风险管理(app)"
  2497. ],
  2498. "summary": "查询商品型号",
  2499. "parameters": [
  2500. {
  2501. "type": "integer",
  2502. "description": "用户ID",
  2503. "name": "userid",
  2504. "in": "query",
  2505. "required": true
  2506. }
  2507. ],
  2508. "responses": {
  2509. "200": {
  2510. "description": "OK",
  2511. "schema": {
  2512. "type": "array",
  2513. "items": {
  2514. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2515. }
  2516. }
  2517. },
  2518. "500": {
  2519. "description": "Internal Server Error",
  2520. "schema": {
  2521. "$ref": "#/definitions/app.Response"
  2522. }
  2523. }
  2524. }
  2525. }
  2526. },
  2527. "/Ermcp/QueryHisExposure": {
  2528. "get": {
  2529. "security": [
  2530. {
  2531. "ApiKeyAuth": []
  2532. }
  2533. ],
  2534. "produces": [
  2535. "application/json"
  2536. ],
  2537. "tags": [
  2538. "企业风险管理(app)"
  2539. ],
  2540. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2541. "parameters": [
  2542. {
  2543. "type": "integer",
  2544. "description": "用户id",
  2545. "name": "userid",
  2546. "in": "query",
  2547. "required": true
  2548. },
  2549. {
  2550. "type": "integer",
  2551. "description": "每个品种记录数",
  2552. "name": "lastNum",
  2553. "in": "query",
  2554. "required": true
  2555. }
  2556. ],
  2557. "responses": {
  2558. "200": {
  2559. "description": "OK",
  2560. "schema": {
  2561. "type": "array",
  2562. "items": {
  2563. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2564. }
  2565. }
  2566. },
  2567. "500": {
  2568. "description": "Internal Server Error",
  2569. "schema": {
  2570. "$ref": "#/definitions/app.Response"
  2571. }
  2572. }
  2573. }
  2574. }
  2575. },
  2576. "/Ermcp/QueryMiddleGoods": {
  2577. "get": {
  2578. "security": [
  2579. {
  2580. "ApiKeyAuth": []
  2581. }
  2582. ],
  2583. "produces": [
  2584. "application/json"
  2585. ],
  2586. "tags": [
  2587. "企业风险管理(app)"
  2588. ],
  2589. "summary": "查询套保品种(菜单:套保品种)",
  2590. "parameters": [
  2591. {
  2592. "type": "integer",
  2593. "description": "所属机构ID",
  2594. "name": "userid",
  2595. "in": "query",
  2596. "required": true
  2597. },
  2598. {
  2599. "type": "integer",
  2600. "description": "状态 0-停用 1-正常",
  2601. "name": "status",
  2602. "in": "query",
  2603. "required": true
  2604. }
  2605. ],
  2606. "responses": {
  2607. "200": {
  2608. "description": "OK",
  2609. "schema": {
  2610. "type": "array",
  2611. "items": {
  2612. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2613. }
  2614. }
  2615. },
  2616. "500": {
  2617. "description": "Internal Server Error",
  2618. "schema": {
  2619. "$ref": "#/definitions/app.Response"
  2620. }
  2621. }
  2622. }
  2623. }
  2624. },
  2625. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2626. "get": {
  2627. "security": [
  2628. {
  2629. "ApiKeyAuth": []
  2630. }
  2631. ],
  2632. "produces": [
  2633. "application/json"
  2634. ],
  2635. "tags": [
  2636. "企业风险管理(app)"
  2637. ],
  2638. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2639. "parameters": [
  2640. {
  2641. "type": "integer",
  2642. "description": "所属机构ID",
  2643. "name": "userid",
  2644. "in": "query",
  2645. "required": true
  2646. },
  2647. {
  2648. "type": "integer",
  2649. "description": "套保品种id",
  2650. "name": "middlegoodsid",
  2651. "in": "query",
  2652. "required": true
  2653. }
  2654. ],
  2655. "responses": {
  2656. "200": {
  2657. "description": "OK",
  2658. "schema": {
  2659. "type": "array",
  2660. "items": {
  2661. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2662. }
  2663. }
  2664. },
  2665. "500": {
  2666. "description": "Internal Server Error",
  2667. "schema": {
  2668. "$ref": "#/definitions/app.Response"
  2669. }
  2670. }
  2671. }
  2672. }
  2673. },
  2674. "/Ermcp/QueryMiddleGoodsDetail": {
  2675. "get": {
  2676. "security": [
  2677. {
  2678. "ApiKeyAuth": []
  2679. }
  2680. ],
  2681. "produces": [
  2682. "application/json"
  2683. ],
  2684. "tags": [
  2685. "企业风险管理(app)"
  2686. ],
  2687. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2688. "parameters": [
  2689. {
  2690. "type": "integer",
  2691. "description": "所属机构ID",
  2692. "name": "userid",
  2693. "in": "query",
  2694. "required": true
  2695. },
  2696. {
  2697. "type": "integer",
  2698. "description": "套保品种id",
  2699. "name": "middlegoodsid",
  2700. "in": "query"
  2701. }
  2702. ],
  2703. "responses": {
  2704. "200": {
  2705. "description": "OK",
  2706. "schema": {
  2707. "type": "array",
  2708. "items": {
  2709. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2710. }
  2711. }
  2712. },
  2713. "500": {
  2714. "description": "Internal Server Error",
  2715. "schema": {
  2716. "$ref": "#/definitions/app.Response"
  2717. }
  2718. }
  2719. }
  2720. }
  2721. },
  2722. "/Ermcp/QueryPendingAuditInfo": {
  2723. "get": {
  2724. "security": [
  2725. {
  2726. "ApiKeyAuth": []
  2727. }
  2728. ],
  2729. "produces": [
  2730. "application/json"
  2731. ],
  2732. "tags": [
  2733. "企业风险管理(app)"
  2734. ],
  2735. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2736. "parameters": [
  2737. {
  2738. "type": "integer",
  2739. "description": "用户ID",
  2740. "name": "UserId",
  2741. "in": "query",
  2742. "required": true
  2743. }
  2744. ],
  2745. "responses": {
  2746. "200": {
  2747. "description": "OK",
  2748. "schema": {
  2749. "type": "array",
  2750. "items": {
  2751. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2752. }
  2753. }
  2754. },
  2755. "500": {
  2756. "description": "Internal Server Error",
  2757. "schema": {
  2758. "$ref": "#/definitions/app.Response"
  2759. }
  2760. }
  2761. }
  2762. }
  2763. },
  2764. "/Ermcp/QueryRealtimeExposure": {
  2765. "get": {
  2766. "security": [
  2767. {
  2768. "ApiKeyAuth": []
  2769. }
  2770. ],
  2771. "produces": [
  2772. "application/json"
  2773. ],
  2774. "tags": [
  2775. "企业风险管理(app)"
  2776. ],
  2777. "summary": "查询实时敞口",
  2778. "parameters": [
  2779. {
  2780. "type": "integer",
  2781. "description": "所属机构ID",
  2782. "name": "userid",
  2783. "in": "query",
  2784. "required": true
  2785. }
  2786. ],
  2787. "responses": {
  2788. "200": {
  2789. "description": "OK",
  2790. "schema": {
  2791. "type": "array",
  2792. "items": {
  2793. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2794. }
  2795. }
  2796. },
  2797. "500": {
  2798. "description": "Internal Server Error",
  2799. "schema": {
  2800. "$ref": "#/definitions/app.Response"
  2801. }
  2802. }
  2803. }
  2804. }
  2805. },
  2806. "/Ermcp/QueryRealtimeExposurePosition": {
  2807. "get": {
  2808. "security": [
  2809. {
  2810. "ApiKeyAuth": []
  2811. }
  2812. ],
  2813. "produces": [
  2814. "application/json"
  2815. ],
  2816. "tags": [
  2817. "企业风险管理(app)"
  2818. ],
  2819. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2820. "parameters": [
  2821. {
  2822. "type": "integer",
  2823. "description": "用户id",
  2824. "name": "userid",
  2825. "in": "query",
  2826. "required": true
  2827. },
  2828. {
  2829. "type": "integer",
  2830. "description": "套保商品ID",
  2831. "name": "middleGoodsId",
  2832. "in": "query",
  2833. "required": true
  2834. }
  2835. ],
  2836. "responses": {
  2837. "200": {
  2838. "description": "OK",
  2839. "schema": {
  2840. "type": "array",
  2841. "items": {
  2842. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2843. }
  2844. }
  2845. },
  2846. "500": {
  2847. "description": "Internal Server Error",
  2848. "schema": {
  2849. "$ref": "#/definitions/app.Response"
  2850. }
  2851. }
  2852. }
  2853. }
  2854. },
  2855. "/Ermcp/QueryRoleMenu": {
  2856. "get": {
  2857. "security": [
  2858. {
  2859. "ApiKeyAuth": []
  2860. }
  2861. ],
  2862. "produces": [
  2863. "application/json"
  2864. ],
  2865. "tags": [
  2866. "企业风险管理(app)"
  2867. ],
  2868. "summary": "查询角色菜单和权限",
  2869. "parameters": [
  2870. {
  2871. "type": "integer",
  2872. "description": "登录ID",
  2873. "name": "loginid",
  2874. "in": "query",
  2875. "required": true
  2876. },
  2877. {
  2878. "type": "integer",
  2879. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2880. "name": "menutype",
  2881. "in": "query"
  2882. }
  2883. ],
  2884. "responses": {
  2885. "200": {
  2886. "description": "OK",
  2887. "schema": {
  2888. "type": "array",
  2889. "items": {
  2890. "$ref": "#/definitions/models.RoleMenu"
  2891. }
  2892. }
  2893. },
  2894. "500": {
  2895. "description": "Internal Server Error",
  2896. "schema": {
  2897. "$ref": "#/definitions/app.Response"
  2898. }
  2899. }
  2900. }
  2901. }
  2902. },
  2903. "/Ermcp/QueryTradeConfigTMP": {
  2904. "get": {
  2905. "security": [
  2906. {
  2907. "ApiKeyAuth": []
  2908. }
  2909. ],
  2910. "produces": [
  2911. "application/json"
  2912. ],
  2913. "tags": [
  2914. "企业风险管理(app)"
  2915. ],
  2916. "summary": "查询交易模板配置",
  2917. "parameters": [
  2918. {
  2919. "type": "integer",
  2920. "description": "所属机构id",
  2921. "name": "areauserid",
  2922. "in": "query"
  2923. }
  2924. ],
  2925. "responses": {
  2926. "200": {
  2927. "description": "OK",
  2928. "schema": {
  2929. "type": "array",
  2930. "items": {
  2931. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2932. }
  2933. }
  2934. },
  2935. "500": {
  2936. "description": "Internal Server Error",
  2937. "schema": {
  2938. "$ref": "#/definitions/app.Response"
  2939. }
  2940. }
  2941. }
  2942. }
  2943. },
  2944. "/Ermcp/QueryUserInfo": {
  2945. "get": {
  2946. "security": [
  2947. {
  2948. "ApiKeyAuth": []
  2949. }
  2950. ],
  2951. "produces": [
  2952. "application/json"
  2953. ],
  2954. "tags": [
  2955. "企业风险管理(app)"
  2956. ],
  2957. "summary": "查询客户资料",
  2958. "parameters": [
  2959. {
  2960. "type": "integer",
  2961. "description": "所属机构用户ID",
  2962. "name": "MemberUserID",
  2963. "in": "query",
  2964. "required": true
  2965. },
  2966. {
  2967. "type": "integer",
  2968. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2969. "name": "queryType",
  2970. "in": "query",
  2971. "required": true
  2972. }
  2973. ],
  2974. "responses": {
  2975. "200": {
  2976. "description": "OK",
  2977. "schema": {
  2978. "type": "array",
  2979. "items": {
  2980. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2981. }
  2982. }
  2983. },
  2984. "500": {
  2985. "description": "Internal Server Error",
  2986. "schema": {
  2987. "$ref": "#/definitions/app.Response"
  2988. }
  2989. }
  2990. }
  2991. }
  2992. },
  2993. "/Ermcp/QueryWarehouseInfo": {
  2994. "get": {
  2995. "security": [
  2996. {
  2997. "ApiKeyAuth": []
  2998. }
  2999. ],
  3000. "produces": [
  3001. "application/json"
  3002. ],
  3003. "tags": [
  3004. "企业风险管理(app)"
  3005. ],
  3006. "summary": "查询仓库信息",
  3007. "parameters": [
  3008. {
  3009. "type": "integer",
  3010. "description": "用户ID",
  3011. "name": "userid",
  3012. "in": "query",
  3013. "required": true
  3014. },
  3015. {
  3016. "type": "string",
  3017. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3018. "name": "status",
  3019. "in": "query"
  3020. }
  3021. ],
  3022. "responses": {
  3023. "200": {
  3024. "description": "OK",
  3025. "schema": {
  3026. "type": "array",
  3027. "items": {
  3028. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3029. }
  3030. }
  3031. },
  3032. "500": {
  3033. "description": "Internal Server Error",
  3034. "schema": {
  3035. "$ref": "#/definitions/app.Response"
  3036. }
  3037. }
  3038. }
  3039. }
  3040. },
  3041. "/Ermcp3/QryAreaExpourseContractDetail": {
  3042. "get": {
  3043. "security": [
  3044. {
  3045. "ApiKeyAuth": []
  3046. }
  3047. ],
  3048. "produces": [
  3049. "application/json"
  3050. ],
  3051. "tags": [
  3052. "企业风险管理v3(app)"
  3053. ],
  3054. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3055. "parameters": [
  3056. {
  3057. "type": "integer",
  3058. "description": "用户ID",
  3059. "name": "userid",
  3060. "in": "query",
  3061. "required": true
  3062. },
  3063. {
  3064. "type": "integer",
  3065. "description": "套保商品id",
  3066. "name": "middlegoodsid",
  3067. "in": "query",
  3068. "required": true
  3069. },
  3070. {
  3071. "type": "integer",
  3072. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3073. "name": "cycletype",
  3074. "in": "query",
  3075. "required": true
  3076. },
  3077. {
  3078. "type": "string",
  3079. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3080. "name": "cycletime",
  3081. "in": "query",
  3082. "required": true
  3083. }
  3084. ],
  3085. "responses": {
  3086. "200": {
  3087. "description": "OK",
  3088. "schema": {
  3089. "type": "array",
  3090. "items": {
  3091. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3092. }
  3093. }
  3094. },
  3095. "500": {
  3096. "description": "Internal Server Error",
  3097. "schema": {
  3098. "$ref": "#/definitions/app.Response"
  3099. }
  3100. }
  3101. }
  3102. }
  3103. },
  3104. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3105. "get": {
  3106. "security": [
  3107. {
  3108. "ApiKeyAuth": []
  3109. }
  3110. ],
  3111. "produces": [
  3112. "application/json"
  3113. ],
  3114. "tags": [
  3115. "企业风险管理v3(app)"
  3116. ],
  3117. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3118. "parameters": [
  3119. {
  3120. "type": "integer",
  3121. "description": "用户ID",
  3122. "name": "userid",
  3123. "in": "query",
  3124. "required": true
  3125. },
  3126. {
  3127. "type": "integer",
  3128. "description": "套保商品id",
  3129. "name": "middlegoodsid",
  3130. "in": "query",
  3131. "required": true
  3132. },
  3133. {
  3134. "type": "integer",
  3135. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3136. "name": "cycletype",
  3137. "in": "query",
  3138. "required": true
  3139. },
  3140. {
  3141. "type": "string",
  3142. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3143. "name": "cycletime",
  3144. "in": "query",
  3145. "required": true
  3146. }
  3147. ],
  3148. "responses": {
  3149. "200": {
  3150. "description": "OK",
  3151. "schema": {
  3152. "type": "array",
  3153. "items": {
  3154. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3155. }
  3156. }
  3157. },
  3158. "500": {
  3159. "description": "Internal Server Error",
  3160. "schema": {
  3161. "$ref": "#/definitions/app.Response"
  3162. }
  3163. }
  3164. }
  3165. }
  3166. },
  3167. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3168. "get": {
  3169. "security": [
  3170. {
  3171. "ApiKeyAuth": []
  3172. }
  3173. ],
  3174. "produces": [
  3175. "application/json"
  3176. ],
  3177. "tags": [
  3178. "企业风险管理v3(app)"
  3179. ],
  3180. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3181. "parameters": [
  3182. {
  3183. "type": "integer",
  3184. "description": "用户ID",
  3185. "name": "userid",
  3186. "in": "query",
  3187. "required": true
  3188. },
  3189. {
  3190. "type": "integer",
  3191. "description": "套保商品id",
  3192. "name": "middlegoodsid",
  3193. "in": "query",
  3194. "required": true
  3195. },
  3196. {
  3197. "type": "integer",
  3198. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3199. "name": "cycletype",
  3200. "in": "query",
  3201. "required": true
  3202. },
  3203. {
  3204. "type": "string",
  3205. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3206. "name": "cycletime",
  3207. "in": "query",
  3208. "required": true
  3209. }
  3210. ],
  3211. "responses": {
  3212. "200": {
  3213. "description": "OK",
  3214. "schema": {
  3215. "type": "array",
  3216. "items": {
  3217. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3218. }
  3219. }
  3220. },
  3221. "500": {
  3222. "description": "Internal Server Error",
  3223. "schema": {
  3224. "$ref": "#/definitions/app.Response"
  3225. }
  3226. }
  3227. }
  3228. }
  3229. },
  3230. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3231. "get": {
  3232. "security": [
  3233. {
  3234. "ApiKeyAuth": []
  3235. }
  3236. ],
  3237. "produces": [
  3238. "application/json"
  3239. ],
  3240. "tags": [
  3241. "企业风险管理v3(app)"
  3242. ],
  3243. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3244. "parameters": [
  3245. {
  3246. "type": "integer",
  3247. "description": "用户ID",
  3248. "name": "userid",
  3249. "in": "query",
  3250. "required": true
  3251. },
  3252. {
  3253. "type": "integer",
  3254. "description": "套保商品id",
  3255. "name": "middlegoodsid",
  3256. "in": "query",
  3257. "required": true
  3258. },
  3259. {
  3260. "type": "integer",
  3261. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3262. "name": "cycletype",
  3263. "in": "query",
  3264. "required": true
  3265. },
  3266. {
  3267. "type": "string",
  3268. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3269. "name": "cycletime",
  3270. "in": "query",
  3271. "required": true
  3272. }
  3273. ],
  3274. "responses": {
  3275. "200": {
  3276. "description": "OK",
  3277. "schema": {
  3278. "type": "array",
  3279. "items": {
  3280. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3281. }
  3282. }
  3283. },
  3284. "500": {
  3285. "description": "Internal Server Error",
  3286. "schema": {
  3287. "$ref": "#/definitions/app.Response"
  3288. }
  3289. }
  3290. }
  3291. }
  3292. },
  3293. "/Ermcp3/QryAreaExpourseReport": {
  3294. "get": {
  3295. "security": [
  3296. {
  3297. "ApiKeyAuth": []
  3298. }
  3299. ],
  3300. "produces": [
  3301. "application/json"
  3302. ],
  3303. "tags": [
  3304. "企业风险管理v3(app)"
  3305. ],
  3306. "summary": "查询敞口报表",
  3307. "parameters": [
  3308. {
  3309. "type": "integer",
  3310. "description": "用户ID",
  3311. "name": "userid",
  3312. "in": "query",
  3313. "required": true
  3314. },
  3315. {
  3316. "type": "integer",
  3317. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3318. "name": "querytype",
  3319. "in": "query",
  3320. "required": true
  3321. },
  3322. {
  3323. "type": "integer",
  3324. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3325. "name": "cycletype",
  3326. "in": "query",
  3327. "required": true
  3328. },
  3329. {
  3330. "type": "string",
  3331. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3332. "name": "cycletime",
  3333. "in": "query",
  3334. "required": true
  3335. }
  3336. ],
  3337. "responses": {
  3338. "200": {
  3339. "description": "OK",
  3340. "schema": {
  3341. "type": "array",
  3342. "items": {
  3343. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3344. }
  3345. }
  3346. },
  3347. "500": {
  3348. "description": "Internal Server Error",
  3349. "schema": {
  3350. "$ref": "#/definitions/app.Response"
  3351. }
  3352. }
  3353. }
  3354. }
  3355. },
  3356. "/Ermcp3/QryAreaSpotplReport": {
  3357. "get": {
  3358. "security": [
  3359. {
  3360. "ApiKeyAuth": []
  3361. }
  3362. ],
  3363. "produces": [
  3364. "application/json"
  3365. ],
  3366. "tags": [
  3367. "企业风险管理v3(app)"
  3368. ],
  3369. "summary": "查询现货报表",
  3370. "parameters": [
  3371. {
  3372. "type": "integer",
  3373. "description": "用户ID",
  3374. "name": "userid",
  3375. "in": "query",
  3376. "required": true
  3377. },
  3378. {
  3379. "type": "integer",
  3380. "description": "查询类型 1-报表 2-报表明细",
  3381. "name": "querytype",
  3382. "in": "query",
  3383. "required": true
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3388. "name": "cycletype",
  3389. "in": "query",
  3390. "required": true
  3391. },
  3392. {
  3393. "type": "string",
  3394. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3395. "name": "cycletime",
  3396. "in": "query",
  3397. "required": true
  3398. },
  3399. {
  3400. "type": "integer",
  3401. "description": "现货品种id(明细必填)",
  3402. "name": "deliverygoodsid",
  3403. "in": "query"
  3404. },
  3405. {
  3406. "type": "integer",
  3407. "description": "币种id(明细必填)",
  3408. "name": "currencyid",
  3409. "in": "query"
  3410. }
  3411. ],
  3412. "responses": {
  3413. "200": {
  3414. "description": "OK",
  3415. "schema": {
  3416. "type": "array",
  3417. "items": {
  3418. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3419. }
  3420. }
  3421. },
  3422. "500": {
  3423. "description": "Internal Server Error",
  3424. "schema": {
  3425. "$ref": "#/definitions/app.Response"
  3426. }
  3427. }
  3428. }
  3429. }
  3430. },
  3431. "/Ermcp3/QryAreaStockReport": {
  3432. "get": {
  3433. "security": [
  3434. {
  3435. "ApiKeyAuth": []
  3436. }
  3437. ],
  3438. "produces": [
  3439. "application/json"
  3440. ],
  3441. "tags": [
  3442. "企业风险管理v3(app)"
  3443. ],
  3444. "summary": "查询库存报表",
  3445. "parameters": [
  3446. {
  3447. "type": "integer",
  3448. "description": "用户ID",
  3449. "name": "userid",
  3450. "in": "query",
  3451. "required": true
  3452. },
  3453. {
  3454. "type": "integer",
  3455. "description": "查询类型 1-报表 2-报表明细",
  3456. "name": "querytype",
  3457. "in": "query",
  3458. "required": true
  3459. },
  3460. {
  3461. "type": "integer",
  3462. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3463. "name": "cycletype",
  3464. "in": "query",
  3465. "required": true
  3466. },
  3467. {
  3468. "type": "string",
  3469. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3470. "name": "cycletime",
  3471. "in": "query",
  3472. "required": true
  3473. },
  3474. {
  3475. "type": "string",
  3476. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3477. "name": "sumfields",
  3478. "in": "query"
  3479. },
  3480. {
  3481. "type": "integer",
  3482. "description": "品种ID",
  3483. "name": "deliverygoodsid",
  3484. "in": "query"
  3485. },
  3486. {
  3487. "type": "integer",
  3488. "description": "品类ID",
  3489. "name": "wrstandardid",
  3490. "in": "query"
  3491. },
  3492. {
  3493. "type": "integer",
  3494. "description": "品牌ID",
  3495. "name": "spotgoodsbrandid",
  3496. "in": "query"
  3497. },
  3498. {
  3499. "type": "integer",
  3500. "description": "仓库ID",
  3501. "name": "warehouseinfoid",
  3502. "in": "query"
  3503. }
  3504. ],
  3505. "responses": {
  3506. "200": {
  3507. "description": "OK",
  3508. "schema": {
  3509. "type": "array",
  3510. "items": {
  3511. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3512. }
  3513. }
  3514. },
  3515. "500": {
  3516. "description": "Internal Server Error",
  3517. "schema": {
  3518. "$ref": "#/definitions/app.Response"
  3519. }
  3520. }
  3521. }
  3522. }
  3523. },
  3524. "/Ermcp3/QryAreaSumPL": {
  3525. "get": {
  3526. "security": [
  3527. {
  3528. "ApiKeyAuth": []
  3529. }
  3530. ],
  3531. "produces": [
  3532. "application/json"
  3533. ],
  3534. "tags": [
  3535. "企业风险管理v3(app)"
  3536. ],
  3537. "summary": "查询汇总损益表",
  3538. "parameters": [
  3539. {
  3540. "type": "integer",
  3541. "description": "用户ID",
  3542. "name": "userid",
  3543. "in": "query",
  3544. "required": true
  3545. },
  3546. {
  3547. "type": "integer",
  3548. "description": "查询类型 1-报表 2-报表明细",
  3549. "name": "querytype",
  3550. "in": "query",
  3551. "required": true
  3552. },
  3553. {
  3554. "type": "integer",
  3555. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3556. "name": "cycletype",
  3557. "in": "query",
  3558. "required": true
  3559. },
  3560. {
  3561. "type": "string",
  3562. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3563. "name": "cycletime",
  3564. "in": "query",
  3565. "required": true
  3566. },
  3567. {
  3568. "type": "integer",
  3569. "description": "币种id(明细必填)",
  3570. "name": "currencyid",
  3571. "in": "query"
  3572. }
  3573. ],
  3574. "responses": {
  3575. "200": {
  3576. "description": "OK",
  3577. "schema": {
  3578. "type": "array",
  3579. "items": {
  3580. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3581. }
  3582. }
  3583. },
  3584. "500": {
  3585. "description": "Internal Server Error",
  3586. "schema": {
  3587. "$ref": "#/definitions/app.Response"
  3588. }
  3589. }
  3590. }
  3591. }
  3592. },
  3593. "/Ermcp3/QryFinanceReport": {
  3594. "get": {
  3595. "security": [
  3596. {
  3597. "ApiKeyAuth": []
  3598. }
  3599. ],
  3600. "produces": [
  3601. "application/json"
  3602. ],
  3603. "tags": [
  3604. "企业风险管理v3(app)"
  3605. ],
  3606. "summary": "查询财务报表",
  3607. "parameters": [
  3608. {
  3609. "type": "integer",
  3610. "description": "用户ID",
  3611. "name": "userid",
  3612. "in": "query",
  3613. "required": true
  3614. },
  3615. {
  3616. "type": "integer",
  3617. "description": "查询类型 1-报表 2-报表明细",
  3618. "name": "querytype",
  3619. "in": "query",
  3620. "required": true
  3621. },
  3622. {
  3623. "type": "integer",
  3624. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3625. "name": "cycletype",
  3626. "in": "query",
  3627. "required": true
  3628. },
  3629. {
  3630. "type": "string",
  3631. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3632. "name": "cycletime",
  3633. "in": "query",
  3634. "required": true
  3635. },
  3636. {
  3637. "type": "integer",
  3638. "description": "币种id(报表明细必填)",
  3639. "name": "currencyid",
  3640. "in": "query"
  3641. },
  3642. {
  3643. "type": "string",
  3644. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3645. "name": "sumfields",
  3646. "in": "query"
  3647. }
  3648. ],
  3649. "responses": {
  3650. "200": {
  3651. "description": "OK",
  3652. "schema": {
  3653. "type": "array",
  3654. "items": {
  3655. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3656. }
  3657. }
  3658. },
  3659. "500": {
  3660. "description": "Internal Server Error",
  3661. "schema": {
  3662. "$ref": "#/definitions/app.Response"
  3663. }
  3664. }
  3665. }
  3666. }
  3667. },
  3668. "/Ermcp3/QrySCMiddleGoodsReport": {
  3669. "get": {
  3670. "security": [
  3671. {
  3672. "ApiKeyAuth": []
  3673. }
  3674. ],
  3675. "produces": [
  3676. "application/json"
  3677. ],
  3678. "tags": [
  3679. "企业风险管理v3(app)"
  3680. ],
  3681. "summary": "查询定价报表",
  3682. "parameters": [
  3683. {
  3684. "type": "integer",
  3685. "description": "用户ID",
  3686. "name": "userid",
  3687. "in": "query",
  3688. "required": true
  3689. },
  3690. {
  3691. "type": "integer",
  3692. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3693. "name": "cycletype",
  3694. "in": "query",
  3695. "required": true
  3696. },
  3697. {
  3698. "type": "string",
  3699. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3700. "name": "cycletime",
  3701. "in": "query",
  3702. "required": true
  3703. },
  3704. {
  3705. "type": "integer",
  3706. "description": "合同id",
  3707. "name": "spotcontractid",
  3708. "in": "query"
  3709. },
  3710. {
  3711. "type": "integer",
  3712. "description": "套保品种id",
  3713. "name": "middlegoodsid",
  3714. "in": "query"
  3715. },
  3716. {
  3717. "type": "integer",
  3718. "description": "现货品种id",
  3719. "name": "deliverygoodsid",
  3720. "in": "query"
  3721. },
  3722. {
  3723. "type": "integer",
  3724. "description": "现货商品id",
  3725. "name": "wrstandardid",
  3726. "in": "query"
  3727. },
  3728. {
  3729. "type": "string",
  3730. "description": "合同编号(模糊匹配)",
  3731. "name": "contractno",
  3732. "in": "query"
  3733. }
  3734. ],
  3735. "responses": {
  3736. "200": {
  3737. "description": "OK",
  3738. "schema": {
  3739. "type": "array",
  3740. "items": {
  3741. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3742. }
  3743. }
  3744. },
  3745. "500": {
  3746. "description": "Internal Server Error",
  3747. "schema": {
  3748. "$ref": "#/definitions/app.Response"
  3749. }
  3750. }
  3751. }
  3752. }
  3753. },
  3754. "/Ermcp3/QryTaFutureDataReport": {
  3755. "get": {
  3756. "security": [
  3757. {
  3758. "ApiKeyAuth": []
  3759. }
  3760. ],
  3761. "produces": [
  3762. "application/json"
  3763. ],
  3764. "tags": [
  3765. "企业风险管理v3(app)"
  3766. ],
  3767. "summary": "查询期货报表",
  3768. "parameters": [
  3769. {
  3770. "type": "integer",
  3771. "description": "用户ID",
  3772. "name": "userid",
  3773. "in": "query",
  3774. "required": true
  3775. },
  3776. {
  3777. "type": "integer",
  3778. "description": "查询类型 1-报表 2-报表明细",
  3779. "name": "querytype",
  3780. "in": "query",
  3781. "required": true
  3782. },
  3783. {
  3784. "type": "integer",
  3785. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3786. "name": "cycletype",
  3787. "in": "query",
  3788. "required": true
  3789. },
  3790. {
  3791. "type": "string",
  3792. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3793. "name": "cycletime",
  3794. "in": "query",
  3795. "required": true
  3796. },
  3797. {
  3798. "type": "integer",
  3799. "description": "币种id(查明细必填)",
  3800. "name": "currencyid",
  3801. "in": "query"
  3802. },
  3803. {
  3804. "type": "integer",
  3805. "description": "品种id(查明细必填)",
  3806. "name": "goodsgroupid",
  3807. "in": "query"
  3808. },
  3809. {
  3810. "type": "integer",
  3811. "description": "商品id(查明细必填)",
  3812. "name": "goodsid",
  3813. "in": "query"
  3814. },
  3815. {
  3816. "type": "integer",
  3817. "description": "买卖方向(查明细必填)",
  3818. "name": "buyorsell",
  3819. "in": "query"
  3820. }
  3821. ],
  3822. "responses": {
  3823. "200": {
  3824. "description": "OK",
  3825. "schema": {
  3826. "type": "array",
  3827. "items": {
  3828. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3829. }
  3830. }
  3831. },
  3832. "500": {
  3833. "description": "Internal Server Error",
  3834. "schema": {
  3835. "$ref": "#/definitions/app.Response"
  3836. }
  3837. }
  3838. }
  3839. }
  3840. },
  3841. "/Ermcp3/QueryAreaStock": {
  3842. "get": {
  3843. "security": [
  3844. {
  3845. "ApiKeyAuth": []
  3846. }
  3847. ],
  3848. "produces": [
  3849. "application/json"
  3850. ],
  3851. "tags": [
  3852. "企业风险管理v3(app)"
  3853. ],
  3854. "summary": "查询机构库存(库存管理/当前库存)",
  3855. "parameters": [
  3856. {
  3857. "type": "integer",
  3858. "description": "用户ID",
  3859. "name": "userid",
  3860. "in": "query",
  3861. "required": true
  3862. }
  3863. ],
  3864. "responses": {
  3865. "200": {
  3866. "description": "OK",
  3867. "schema": {
  3868. "type": "array",
  3869. "items": {
  3870. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3871. }
  3872. }
  3873. },
  3874. "500": {
  3875. "description": "Internal Server Error",
  3876. "schema": {
  3877. "$ref": "#/definitions/app.Response"
  3878. }
  3879. }
  3880. }
  3881. }
  3882. },
  3883. "/Ermcp3/QueryAreaStockApply": {
  3884. "get": {
  3885. "security": [
  3886. {
  3887. "ApiKeyAuth": []
  3888. }
  3889. ],
  3890. "produces": [
  3891. "application/json"
  3892. ],
  3893. "tags": [
  3894. "企业风险管理v3(app)"
  3895. ],
  3896. "summary": "查询库存申请(出入库记录|库存审核)",
  3897. "parameters": [
  3898. {
  3899. "type": "integer",
  3900. "description": "用户ID",
  3901. "name": "userid",
  3902. "in": "query",
  3903. "required": true
  3904. },
  3905. {
  3906. "type": "integer",
  3907. "description": "用户类型 2-机构 7-企业成员",
  3908. "name": "usertype",
  3909. "in": "query"
  3910. },
  3911. {
  3912. "type": "integer",
  3913. "description": "现货商品ID",
  3914. "name": "deliverygoodsid",
  3915. "in": "query"
  3916. },
  3917. {
  3918. "type": "string",
  3919. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3920. "name": "inouttype",
  3921. "in": "query"
  3922. },
  3923. {
  3924. "type": "integer",
  3925. "description": "合同ID",
  3926. "name": "spotcontractid",
  3927. "in": "query"
  3928. },
  3929. {
  3930. "type": "integer",
  3931. "description": "品类ID",
  3932. "name": "wrstandardid",
  3933. "in": "query"
  3934. },
  3935. {
  3936. "type": "integer",
  3937. "description": "品牌ID",
  3938. "name": "spotgoodsbrandid",
  3939. "in": "query"
  3940. },
  3941. {
  3942. "type": "integer",
  3943. "description": "仓库ID",
  3944. "name": "warehouseinfoid",
  3945. "in": "query"
  3946. },
  3947. {
  3948. "type": "string",
  3949. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3950. "name": "applystatus",
  3951. "in": "query"
  3952. }
  3953. ],
  3954. "responses": {
  3955. "200": {
  3956. "description": "OK",
  3957. "schema": {
  3958. "type": "array",
  3959. "items": {
  3960. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3961. }
  3962. }
  3963. },
  3964. "500": {
  3965. "description": "Internal Server Error",
  3966. "schema": {
  3967. "$ref": "#/definitions/app.Response"
  3968. }
  3969. }
  3970. }
  3971. }
  3972. },
  3973. "/Ermcp3/QueryAreaStockApplySum": {
  3974. "get": {
  3975. "security": [
  3976. {
  3977. "ApiKeyAuth": []
  3978. }
  3979. ],
  3980. "produces": [
  3981. "application/json"
  3982. ],
  3983. "tags": [
  3984. "企业风险管理v3(app)"
  3985. ],
  3986. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3987. "parameters": [
  3988. {
  3989. "type": "integer",
  3990. "description": "合同ID",
  3991. "name": "spotcontractid",
  3992. "in": "query",
  3993. "required": true
  3994. }
  3995. ],
  3996. "responses": {
  3997. "200": {
  3998. "description": "OK",
  3999. "schema": {
  4000. "type": "array",
  4001. "items": {
  4002. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4003. }
  4004. }
  4005. },
  4006. "500": {
  4007. "description": "Internal Server Error",
  4008. "schema": {
  4009. "$ref": "#/definitions/app.Response"
  4010. }
  4011. }
  4012. }
  4013. }
  4014. },
  4015. "/Ermcp3/QueryDGFactoryItem": {
  4016. "get": {
  4017. "security": [
  4018. {
  4019. "ApiKeyAuth": []
  4020. }
  4021. ],
  4022. "produces": [
  4023. "application/json"
  4024. ],
  4025. "tags": [
  4026. "企业风险管理v3(app)"
  4027. ],
  4028. "summary": "查询品种要素定义项",
  4029. "parameters": [
  4030. {
  4031. "type": "integer",
  4032. "description": "用户id",
  4033. "name": "userid",
  4034. "in": "query"
  4035. },
  4036. {
  4037. "type": "integer",
  4038. "description": "用户类型 2-机构 7-企业成员",
  4039. "name": "usertype",
  4040. "in": "query"
  4041. },
  4042. {
  4043. "type": "integer",
  4044. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4045. "name": "dgfactoryitemid",
  4046. "in": "query"
  4047. },
  4048. {
  4049. "type": "integer",
  4050. "description": "现货品种ID",
  4051. "name": "deliverygoodsid",
  4052. "in": "query"
  4053. },
  4054. {
  4055. "type": "integer",
  4056. "description": "要素项类型",
  4057. "name": "dgfactoryitemtypeid",
  4058. "in": "query"
  4059. },
  4060. {
  4061. "type": "integer",
  4062. "description": "顺序",
  4063. "name": "orderindex",
  4064. "in": "query"
  4065. }
  4066. ],
  4067. "responses": {
  4068. "200": {
  4069. "description": "OK",
  4070. "schema": {
  4071. "type": "array",
  4072. "items": {
  4073. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4074. }
  4075. }
  4076. },
  4077. "500": {
  4078. "description": "Internal Server Error",
  4079. "schema": {
  4080. "$ref": "#/definitions/app.Response"
  4081. }
  4082. }
  4083. }
  4084. }
  4085. },
  4086. "/Ermcp3/QueryDeliveryGoods": {
  4087. "get": {
  4088. "security": [
  4089. {
  4090. "ApiKeyAuth": []
  4091. }
  4092. ],
  4093. "produces": [
  4094. "application/json"
  4095. ],
  4096. "tags": [
  4097. "企业风险管理v3(app)"
  4098. ],
  4099. "summary": "查询现货商品",
  4100. "parameters": [
  4101. {
  4102. "type": "integer",
  4103. "description": "用户id",
  4104. "name": "userid",
  4105. "in": "query",
  4106. "required": true
  4107. },
  4108. {
  4109. "type": "integer",
  4110. "description": "用户类型 2-机构 7-企业成员",
  4111. "name": "usertype",
  4112. "in": "query"
  4113. },
  4114. {
  4115. "type": "integer",
  4116. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4117. "name": "excludecfg",
  4118. "in": "query"
  4119. }
  4120. ],
  4121. "responses": {
  4122. "200": {
  4123. "description": "OK",
  4124. "schema": {
  4125. "type": "array",
  4126. "items": {
  4127. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4128. }
  4129. }
  4130. },
  4131. "500": {
  4132. "description": "Internal Server Error",
  4133. "schema": {
  4134. "$ref": "#/definitions/app.Response"
  4135. }
  4136. }
  4137. }
  4138. }
  4139. },
  4140. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4141. "get": {
  4142. "security": [
  4143. {
  4144. "ApiKeyAuth": []
  4145. }
  4146. ],
  4147. "produces": [
  4148. "application/json"
  4149. ],
  4150. "tags": [
  4151. "企业风险管理v3(app)"
  4152. ],
  4153. "summary": "查询现货商品详情",
  4154. "parameters": [
  4155. {
  4156. "type": "integer",
  4157. "description": "用户id",
  4158. "name": "userid",
  4159. "in": "query",
  4160. "required": true
  4161. },
  4162. {
  4163. "type": "integer",
  4164. "description": "用户类型 2-机构 7-企业成员",
  4165. "name": "usertype",
  4166. "in": "query"
  4167. },
  4168. {
  4169. "type": "integer",
  4170. "description": "现货商品id",
  4171. "name": "deliverygoodsid",
  4172. "in": "query"
  4173. }
  4174. ],
  4175. "responses": {
  4176. "200": {
  4177. "description": "OK",
  4178. "schema": {
  4179. "type": "array",
  4180. "items": {
  4181. "$ref": "#/definitions/models.XHDeliveryGoods"
  4182. }
  4183. }
  4184. },
  4185. "500": {
  4186. "description": "Internal Server Error",
  4187. "schema": {
  4188. "$ref": "#/definitions/app.Response"
  4189. }
  4190. }
  4191. }
  4192. }
  4193. },
  4194. "/Ermcp3/QueryExposureDetail": {
  4195. "get": {
  4196. "security": [
  4197. {
  4198. "ApiKeyAuth": []
  4199. }
  4200. ],
  4201. "produces": [
  4202. "application/json"
  4203. ],
  4204. "tags": [
  4205. "企业风险管理v3(app)"
  4206. ],
  4207. "summary": "查询敞口现货明细",
  4208. "parameters": [
  4209. {
  4210. "type": "integer",
  4211. "description": "用户id",
  4212. "name": "userid",
  4213. "in": "query",
  4214. "required": true
  4215. },
  4216. {
  4217. "type": "integer",
  4218. "description": "用户类型 2-机构 7-企业成员",
  4219. "name": "usertype",
  4220. "in": "query"
  4221. },
  4222. {
  4223. "type": "integer",
  4224. "description": "套保商品",
  4225. "name": "middlegoodsid",
  4226. "in": "query",
  4227. "required": true
  4228. }
  4229. ],
  4230. "responses": {
  4231. "200": {
  4232. "description": "OK",
  4233. "schema": {
  4234. "type": "array",
  4235. "items": {
  4236. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4237. }
  4238. }
  4239. },
  4240. "500": {
  4241. "description": "Internal Server Error",
  4242. "schema": {
  4243. "$ref": "#/definitions/app.Response"
  4244. }
  4245. }
  4246. }
  4247. }
  4248. },
  4249. "/Ermcp3/QueryExposureSpot": {
  4250. "get": {
  4251. "security": [
  4252. {
  4253. "ApiKeyAuth": []
  4254. }
  4255. ],
  4256. "produces": [
  4257. "application/json"
  4258. ],
  4259. "tags": [
  4260. "企业风险管理v3(app)"
  4261. ],
  4262. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4263. "parameters": [
  4264. {
  4265. "type": "integer",
  4266. "description": "用户id",
  4267. "name": "userid",
  4268. "in": "query",
  4269. "required": true
  4270. },
  4271. {
  4272. "type": "integer",
  4273. "description": "用户类型 2-机构 7-企业成员",
  4274. "name": "usertype",
  4275. "in": "query"
  4276. }
  4277. ],
  4278. "responses": {
  4279. "200": {
  4280. "description": "OK",
  4281. "schema": {
  4282. "type": "array",
  4283. "items": {
  4284. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4285. }
  4286. }
  4287. },
  4288. "500": {
  4289. "description": "Internal Server Error",
  4290. "schema": {
  4291. "$ref": "#/definitions/app.Response"
  4292. }
  4293. }
  4294. }
  4295. }
  4296. },
  4297. "/Ermcp3/QueryExposureSpotDetail": {
  4298. "get": {
  4299. "security": [
  4300. {
  4301. "ApiKeyAuth": []
  4302. }
  4303. ],
  4304. "produces": [
  4305. "application/json"
  4306. ],
  4307. "tags": [
  4308. "企业风险管理v3(app)"
  4309. ],
  4310. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4311. "parameters": [
  4312. {
  4313. "type": "integer",
  4314. "description": "用户id",
  4315. "name": "userid",
  4316. "in": "query",
  4317. "required": true
  4318. },
  4319. {
  4320. "type": "integer",
  4321. "description": "用户类型 2-机构 7-企业成员",
  4322. "name": "usertype",
  4323. "in": "query"
  4324. },
  4325. {
  4326. "type": "integer",
  4327. "description": "现货商品ID",
  4328. "name": "wrstandardid",
  4329. "in": "query",
  4330. "required": true
  4331. }
  4332. ],
  4333. "responses": {
  4334. "200": {
  4335. "description": "OK",
  4336. "schema": {
  4337. "type": "array",
  4338. "items": {
  4339. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4340. }
  4341. }
  4342. },
  4343. "500": {
  4344. "description": "Internal Server Error",
  4345. "schema": {
  4346. "$ref": "#/definitions/app.Response"
  4347. }
  4348. }
  4349. }
  4350. }
  4351. },
  4352. "/Ermcp3/QueryGoodsGroup": {
  4353. "get": {
  4354. "security": [
  4355. {
  4356. "ApiKeyAuth": []
  4357. }
  4358. ],
  4359. "produces": [
  4360. "application/json"
  4361. ],
  4362. "tags": [
  4363. "企业风险管理v3(app)"
  4364. ],
  4365. "summary": "查询期货商品组",
  4366. "parameters": [
  4367. {
  4368. "type": "integer",
  4369. "description": "用户id",
  4370. "name": "userid",
  4371. "in": "query",
  4372. "required": true
  4373. },
  4374. {
  4375. "type": "integer",
  4376. "description": "用户类型 2-机构 7-企业成员",
  4377. "name": "usertype",
  4378. "in": "query"
  4379. },
  4380. {
  4381. "type": "integer",
  4382. "description": "排除套保品中已关联的商品组 1-排除",
  4383. "name": "excludecfg",
  4384. "in": "query"
  4385. }
  4386. ],
  4387. "responses": {
  4388. "200": {
  4389. "description": "OK",
  4390. "schema": {
  4391. "type": "array",
  4392. "items": {
  4393. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4394. }
  4395. }
  4396. },
  4397. "500": {
  4398. "description": "Internal Server Error",
  4399. "schema": {
  4400. "$ref": "#/definitions/app.Response"
  4401. }
  4402. }
  4403. }
  4404. }
  4405. },
  4406. "/Ermcp3/QueryGoodsWrstandard": {
  4407. "get": {
  4408. "security": [
  4409. {
  4410. "ApiKeyAuth": []
  4411. }
  4412. ],
  4413. "produces": [
  4414. "application/json"
  4415. ],
  4416. "tags": [
  4417. "企业风险管理v3(app)"
  4418. ],
  4419. "summary": "查询商品品类",
  4420. "parameters": [
  4421. {
  4422. "type": "integer",
  4423. "description": "用户id",
  4424. "name": "userid",
  4425. "in": "query",
  4426. "required": true
  4427. },
  4428. {
  4429. "type": "integer",
  4430. "description": "用户类型 2-机构 7-企业成员",
  4431. "name": "usertype",
  4432. "in": "query"
  4433. },
  4434. {
  4435. "type": "integer",
  4436. "description": "现货商品id",
  4437. "name": "deliverygoodsid",
  4438. "in": "query"
  4439. }
  4440. ],
  4441. "responses": {
  4442. "200": {
  4443. "description": "OK",
  4444. "schema": {
  4445. "type": "array",
  4446. "items": {
  4447. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4448. }
  4449. }
  4450. },
  4451. "500": {
  4452. "description": "Internal Server Error",
  4453. "schema": {
  4454. "$ref": "#/definitions/app.Response"
  4455. }
  4456. }
  4457. }
  4458. }
  4459. },
  4460. "/Ermcp3/QueryGoodsbrand": {
  4461. "get": {
  4462. "security": [
  4463. {
  4464. "ApiKeyAuth": []
  4465. }
  4466. ],
  4467. "produces": [
  4468. "application/json"
  4469. ],
  4470. "tags": [
  4471. "企业风险管理v3(app)"
  4472. ],
  4473. "summary": "查询商品品牌",
  4474. "parameters": [
  4475. {
  4476. "type": "integer",
  4477. "description": "用户id",
  4478. "name": "userid",
  4479. "in": "query",
  4480. "required": true
  4481. },
  4482. {
  4483. "type": "integer",
  4484. "description": "用户类型 2-机构 7-企业成员",
  4485. "name": "usertype",
  4486. "in": "query"
  4487. }
  4488. ],
  4489. "responses": {
  4490. "200": {
  4491. "description": "OK",
  4492. "schema": {
  4493. "type": "array",
  4494. "items": {
  4495. "$ref": "#/definitions/models.Ermcp3Brand"
  4496. }
  4497. }
  4498. },
  4499. "500": {
  4500. "description": "Internal Server Error",
  4501. "schema": {
  4502. "$ref": "#/definitions/app.Response"
  4503. }
  4504. }
  4505. }
  4506. }
  4507. },
  4508. "/Ermcp3/QueryHedgePlan": {
  4509. "get": {
  4510. "security": [
  4511. {
  4512. "ApiKeyAuth": []
  4513. }
  4514. ],
  4515. "produces": [
  4516. "application/json"
  4517. ],
  4518. "tags": [
  4519. "企业风险管理v3(app)"
  4520. ],
  4521. "summary": "查询套保计划",
  4522. "parameters": [
  4523. {
  4524. "type": "integer",
  4525. "description": "用户ID",
  4526. "name": "userid",
  4527. "in": "query",
  4528. "required": true
  4529. },
  4530. {
  4531. "type": "integer",
  4532. "description": "用户类型 2-机构 7-企业成员",
  4533. "name": "usertype",
  4534. "in": "query"
  4535. },
  4536. {
  4537. "type": "string",
  4538. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4539. "name": "hedgeplanstatus",
  4540. "in": "query",
  4541. "required": true
  4542. }
  4543. ],
  4544. "responses": {
  4545. "200": {
  4546. "description": "OK",
  4547. "schema": {
  4548. "type": "array",
  4549. "items": {
  4550. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4551. }
  4552. }
  4553. },
  4554. "500": {
  4555. "description": "Internal Server Error",
  4556. "schema": {
  4557. "$ref": "#/definitions/app.Response"
  4558. }
  4559. }
  4560. }
  4561. }
  4562. },
  4563. "/Ermcp3/QueryInnerTradeLink": {
  4564. "get": {
  4565. "security": [
  4566. {
  4567. "ApiKeyAuth": []
  4568. }
  4569. ],
  4570. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4571. "produces": [
  4572. "application/json"
  4573. ],
  4574. "tags": [
  4575. "企业风险管理v3(app)"
  4576. ],
  4577. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4578. "parameters": [
  4579. {
  4580. "type": "integer",
  4581. "description": "外部成交单号",
  4582. "name": "outtradeid",
  4583. "in": "query",
  4584. "required": true
  4585. }
  4586. ],
  4587. "responses": {
  4588. "200": {
  4589. "description": "OK",
  4590. "schema": {
  4591. "type": "array",
  4592. "items": {
  4593. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4594. }
  4595. }
  4596. },
  4597. "500": {
  4598. "description": "Internal Server Error",
  4599. "schema": {
  4600. "$ref": "#/definitions/app.Response"
  4601. }
  4602. }
  4603. }
  4604. }
  4605. },
  4606. "/Ermcp3/QueryMiddleGoodsDetail": {
  4607. "get": {
  4608. "security": [
  4609. {
  4610. "ApiKeyAuth": []
  4611. }
  4612. ],
  4613. "produces": [
  4614. "application/json"
  4615. ],
  4616. "tags": [
  4617. "企业风险管理v3(app)"
  4618. ],
  4619. "summary": "查询套保品种详情(套保品种/商品详情)",
  4620. "parameters": [
  4621. {
  4622. "type": "integer",
  4623. "description": "用户id",
  4624. "name": "userid",
  4625. "in": "query",
  4626. "required": true
  4627. },
  4628. {
  4629. "type": "integer",
  4630. "description": "用户类型 2-机构 7-企业成员",
  4631. "name": "usertype",
  4632. "in": "query"
  4633. },
  4634. {
  4635. "type": "integer",
  4636. "description": "套保品种id",
  4637. "name": "middlegoodsid",
  4638. "in": "query"
  4639. }
  4640. ],
  4641. "responses": {
  4642. "200": {
  4643. "description": "OK",
  4644. "schema": {
  4645. "type": "array",
  4646. "items": {
  4647. "$ref": "#/definitions/models.TBMiddleGoods"
  4648. }
  4649. }
  4650. },
  4651. "500": {
  4652. "description": "Internal Server Error",
  4653. "schema": {
  4654. "$ref": "#/definitions/app.Response"
  4655. }
  4656. }
  4657. }
  4658. }
  4659. },
  4660. "/Ermcp3/QueryOutTradeLink": {
  4661. "get": {
  4662. "security": [
  4663. {
  4664. "ApiKeyAuth": []
  4665. }
  4666. ],
  4667. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4668. "produces": [
  4669. "application/json"
  4670. ],
  4671. "tags": [
  4672. "企业风险管理v3(app)"
  4673. ],
  4674. "summary": "查询外部成交单关联",
  4675. "parameters": [
  4676. {
  4677. "type": "integer",
  4678. "description": "用户ID(填登录用户的userid)",
  4679. "name": "userid",
  4680. "in": "query",
  4681. "required": true
  4682. },
  4683. {
  4684. "type": "string",
  4685. "description": "外部订单号(模糊匹配)",
  4686. "name": "outtradeid",
  4687. "in": "query"
  4688. },
  4689. {
  4690. "type": "string",
  4691. "description": "合约名称/代码(模糊匹配)",
  4692. "name": "goodsname",
  4693. "in": "query"
  4694. },
  4695. {
  4696. "type": "integer",
  4697. "description": "关联状态 0-未关联 1-已关联",
  4698. "name": "hasinnerorder",
  4699. "in": "query"
  4700. }
  4701. ],
  4702. "responses": {
  4703. "200": {
  4704. "description": "OK",
  4705. "schema": {
  4706. "type": "array",
  4707. "items": {
  4708. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4709. }
  4710. }
  4711. },
  4712. "500": {
  4713. "description": "Internal Server Error",
  4714. "schema": {
  4715. "$ref": "#/definitions/app.Response"
  4716. }
  4717. }
  4718. }
  4719. }
  4720. },
  4721. "/Ermcp3/QueryPaAreaAuditCfg": {
  4722. "get": {
  4723. "security": [
  4724. {
  4725. "ApiKeyAuth": []
  4726. }
  4727. ],
  4728. "produces": [
  4729. "application/json"
  4730. ],
  4731. "tags": [
  4732. "企业风险管理v3(app)"
  4733. ],
  4734. "summary": "查询审核设置",
  4735. "parameters": [
  4736. {
  4737. "type": "integer",
  4738. "description": "用户id",
  4739. "name": "userid",
  4740. "in": "query",
  4741. "required": true
  4742. }
  4743. ],
  4744. "responses": {
  4745. "200": {
  4746. "description": "OK",
  4747. "schema": {
  4748. "type": "array",
  4749. "items": {
  4750. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4751. }
  4752. }
  4753. },
  4754. "500": {
  4755. "description": "Internal Server Error",
  4756. "schema": {
  4757. "$ref": "#/definitions/app.Response"
  4758. }
  4759. }
  4760. }
  4761. }
  4762. },
  4763. "/Ermcp3/QueryPaAreaSubject": {
  4764. "get": {
  4765. "security": [
  4766. {
  4767. "ApiKeyAuth": []
  4768. }
  4769. ],
  4770. "produces": [
  4771. "application/json"
  4772. ],
  4773. "tags": [
  4774. "企业风险管理v3(app)"
  4775. ],
  4776. "summary": "查询交易主体",
  4777. "parameters": [
  4778. {
  4779. "type": "integer",
  4780. "description": "用户id",
  4781. "name": "userid",
  4782. "in": "query",
  4783. "required": true
  4784. },
  4785. {
  4786. "type": "integer",
  4787. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4788. "name": "subjectid",
  4789. "in": "query"
  4790. },
  4791. {
  4792. "type": "integer",
  4793. "description": "主体类型 - 1:交易主体 2:业务部门",
  4794. "name": "subjecttype",
  4795. "in": "query"
  4796. },
  4797. {
  4798. "type": "integer",
  4799. "description": "主体状态 - 1:正常 2: 停用",
  4800. "name": "subjectstatus",
  4801. "in": "query"
  4802. }
  4803. ],
  4804. "responses": {
  4805. "200": {
  4806. "description": "OK",
  4807. "schema": {
  4808. "type": "array",
  4809. "items": {
  4810. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4811. }
  4812. }
  4813. },
  4814. "500": {
  4815. "description": "Internal Server Error",
  4816. "schema": {
  4817. "$ref": "#/definitions/app.Response"
  4818. }
  4819. }
  4820. }
  4821. }
  4822. },
  4823. "/Ermcp3/QueryPaTradeLink": {
  4824. "get": {
  4825. "security": [
  4826. {
  4827. "ApiKeyAuth": []
  4828. }
  4829. ],
  4830. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4831. "produces": [
  4832. "application/json"
  4833. ],
  4834. "tags": [
  4835. "企业风险管理v3(app)"
  4836. ],
  4837. "summary": "查询期现单据关联",
  4838. "parameters": [
  4839. {
  4840. "type": "integer",
  4841. "description": "用户ID",
  4842. "name": "userid",
  4843. "in": "query",
  4844. "required": true
  4845. }
  4846. ],
  4847. "responses": {
  4848. "200": {
  4849. "description": "OK",
  4850. "schema": {
  4851. "type": "array",
  4852. "items": {
  4853. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4854. }
  4855. }
  4856. },
  4857. "500": {
  4858. "description": "Internal Server Error",
  4859. "schema": {
  4860. "$ref": "#/definitions/app.Response"
  4861. }
  4862. }
  4863. }
  4864. }
  4865. },
  4866. "/Ermcp3/QueryPaTradeLinkDetail": {
  4867. "get": {
  4868. "security": [
  4869. {
  4870. "ApiKeyAuth": []
  4871. }
  4872. ],
  4873. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  4874. "produces": [
  4875. "application/json"
  4876. ],
  4877. "tags": [
  4878. "企业风险管理v3(app)"
  4879. ],
  4880. "summary": "查询期现关联记录",
  4881. "parameters": [
  4882. {
  4883. "type": "integer",
  4884. "description": "用户ID(填登录用户的userid)",
  4885. "name": "userid",
  4886. "in": "query",
  4887. "required": true
  4888. },
  4889. {
  4890. "type": "integer",
  4891. "description": "关联状态 1:成功 2:失败 3:解绑",
  4892. "name": "linkstatus",
  4893. "in": "query"
  4894. },
  4895. {
  4896. "type": "string",
  4897. "description": "期货订单号(模糊匹配)",
  4898. "name": "tradeid",
  4899. "in": "query"
  4900. },
  4901. {
  4902. "type": "string",
  4903. "description": "现货编号(模糊匹配)",
  4904. "name": "contractno",
  4905. "in": "query"
  4906. },
  4907. {
  4908. "type": "string",
  4909. "description": "期货账户(模糊匹配)",
  4910. "name": "taname",
  4911. "in": "query"
  4912. }
  4913. ],
  4914. "responses": {
  4915. "200": {
  4916. "description": "OK",
  4917. "schema": {
  4918. "type": "array",
  4919. "items": {
  4920. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  4921. }
  4922. }
  4923. },
  4924. "500": {
  4925. "description": "Internal Server Error",
  4926. "schema": {
  4927. "$ref": "#/definitions/app.Response"
  4928. }
  4929. }
  4930. }
  4931. }
  4932. },
  4933. "/Ermcp3/QueryParamChangeApp": {
  4934. "get": {
  4935. "security": [
  4936. {
  4937. "ApiKeyAuth": []
  4938. }
  4939. ],
  4940. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  4941. "produces": [
  4942. "application/json"
  4943. ],
  4944. "tags": [
  4945. "企业风险管理v3(app)"
  4946. ],
  4947. "summary": "查询现货商品参数变更申请(流水)",
  4948. "parameters": [
  4949. {
  4950. "type": "integer",
  4951. "description": "用户ID",
  4952. "name": "userid",
  4953. "in": "query",
  4954. "required": true
  4955. },
  4956. {
  4957. "type": "integer",
  4958. "description": "现货品种id",
  4959. "name": "deliverygoodsid",
  4960. "in": "query"
  4961. },
  4962. {
  4963. "type": "integer",
  4964. "description": "现货商品id",
  4965. "name": "wrstandardid",
  4966. "in": "query"
  4967. },
  4968. {
  4969. "type": "integer",
  4970. "description": "套保商品id",
  4971. "name": "middlegoodsid",
  4972. "in": "query"
  4973. },
  4974. {
  4975. "type": "integer",
  4976. "description": "操作类型 1:新增 2:修改",
  4977. "name": "operatetype",
  4978. "in": "query"
  4979. },
  4980. {
  4981. "type": "integer",
  4982. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  4983. "name": "paramchangetype",
  4984. "in": "query"
  4985. },
  4986. {
  4987. "type": "string",
  4988. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4989. "name": "ftstatus",
  4990. "in": "query"
  4991. }
  4992. ],
  4993. "responses": {
  4994. "200": {
  4995. "description": "OK",
  4996. "schema": {
  4997. "type": "array",
  4998. "items": {
  4999. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5000. }
  5001. }
  5002. },
  5003. "500": {
  5004. "description": "Internal Server Error",
  5005. "schema": {
  5006. "$ref": "#/definitions/app.Response"
  5007. }
  5008. }
  5009. }
  5010. }
  5011. },
  5012. "/Ermcp3/QueryRootUserAccount": {
  5013. "get": {
  5014. "security": [
  5015. {
  5016. "ApiKeyAuth": []
  5017. }
  5018. ],
  5019. "produces": [
  5020. "application/json"
  5021. ],
  5022. "tags": [
  5023. "企业风险管理v3(app)"
  5024. ],
  5025. "summary": "查询顶级用户信息",
  5026. "parameters": [
  5027. {
  5028. "type": "integer",
  5029. "description": "用户ID",
  5030. "name": "userid",
  5031. "in": "query",
  5032. "required": true
  5033. }
  5034. ],
  5035. "responses": {
  5036. "200": {
  5037. "description": "OK",
  5038. "schema": {
  5039. "type": "array",
  5040. "items": {
  5041. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5042. }
  5043. }
  5044. },
  5045. "500": {
  5046. "description": "Internal Server Error",
  5047. "schema": {
  5048. "$ref": "#/definitions/app.Response"
  5049. }
  5050. }
  5051. }
  5052. }
  5053. },
  5054. "/Ermcp3/QuerySCMiddleGoods": {
  5055. "get": {
  5056. "security": [
  5057. {
  5058. "ApiKeyAuth": []
  5059. }
  5060. ],
  5061. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5062. "produces": [
  5063. "application/json"
  5064. ],
  5065. "tags": [
  5066. "企业风险管理v3(app)"
  5067. ],
  5068. "summary": "查询现货订单",
  5069. "parameters": [
  5070. {
  5071. "type": "integer",
  5072. "description": "用户ID(填登录用户的userid)",
  5073. "name": "userid",
  5074. "in": "query",
  5075. "required": true
  5076. },
  5077. {
  5078. "type": "integer",
  5079. "description": "买卖方向 0-买 1-卖",
  5080. "name": "buyorsell",
  5081. "in": "query",
  5082. "required": true
  5083. },
  5084. {
  5085. "type": "integer",
  5086. "description": "商品组id",
  5087. "name": "goodsgroupid",
  5088. "in": "query",
  5089. "required": true
  5090. },
  5091. {
  5092. "type": "integer",
  5093. "description": "业务类型 1:套保 2:套利",
  5094. "name": "biztype",
  5095. "in": "query"
  5096. },
  5097. {
  5098. "type": "string",
  5099. "description": "现货编号(模糊匹配)",
  5100. "name": "contractno",
  5101. "in": "query"
  5102. },
  5103. {
  5104. "type": "string",
  5105. "description": "对手方(模糊匹配)",
  5106. "name": "customername",
  5107. "in": "query"
  5108. },
  5109. {
  5110. "type": "string",
  5111. "description": "现货商品名称(模糊匹配)",
  5112. "name": "wrstandardname",
  5113. "in": "query"
  5114. }
  5115. ],
  5116. "responses": {
  5117. "200": {
  5118. "description": "OK",
  5119. "schema": {
  5120. "type": "array",
  5121. "items": {
  5122. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5123. }
  5124. }
  5125. },
  5126. "500": {
  5127. "description": "Internal Server Error",
  5128. "schema": {
  5129. "$ref": "#/definitions/app.Response"
  5130. }
  5131. }
  5132. }
  5133. }
  5134. },
  5135. "/Ermcp3/QuerySpotContract": {
  5136. "get": {
  5137. "security": [
  5138. {
  5139. "ApiKeyAuth": []
  5140. }
  5141. ],
  5142. "produces": [
  5143. "application/json"
  5144. ],
  5145. "tags": [
  5146. "企业风险管理v3(app)"
  5147. ],
  5148. "summary": "查询现货合同",
  5149. "parameters": [
  5150. {
  5151. "type": "integer",
  5152. "description": "用户id(当指定contractid, userid可不填)",
  5153. "name": "userid",
  5154. "in": "query",
  5155. "required": true
  5156. },
  5157. {
  5158. "type": "integer",
  5159. "description": "用户类型 2-机构 7-企业成员",
  5160. "name": "usertype",
  5161. "in": "query"
  5162. },
  5163. {
  5164. "type": "integer",
  5165. "description": "合同类型 1-采购, -1-销售",
  5166. "name": "contracttype",
  5167. "in": "query"
  5168. },
  5169. {
  5170. "type": "string",
  5171. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5172. "name": "querytype",
  5173. "in": "query"
  5174. },
  5175. {
  5176. "type": "string",
  5177. "description": "合同ID(SpotContractId)",
  5178. "name": "contractid",
  5179. "in": "query"
  5180. },
  5181. {
  5182. "type": "string",
  5183. "description": "合同编号(模糊匹配)",
  5184. "name": "contractno",
  5185. "in": "query"
  5186. },
  5187. {
  5188. "type": "string",
  5189. "description": "商品名称(模糊匹配)",
  5190. "name": "wrstandardname",
  5191. "in": "query"
  5192. },
  5193. {
  5194. "type": "string",
  5195. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5196. "name": "status",
  5197. "in": "query"
  5198. },
  5199. {
  5200. "type": "integer",
  5201. "description": "是否只查今日的合同 1-查今日合同",
  5202. "name": "istoday",
  5203. "in": "query"
  5204. }
  5205. ],
  5206. "responses": {
  5207. "200": {
  5208. "description": "OK",
  5209. "schema": {
  5210. "type": "array",
  5211. "items": {
  5212. "$ref": "#/definitions/models.Ermcp3Contract"
  5213. }
  5214. }
  5215. },
  5216. "500": {
  5217. "description": "Internal Server Error",
  5218. "schema": {
  5219. "$ref": "#/definitions/app.Response"
  5220. }
  5221. }
  5222. }
  5223. }
  5224. },
  5225. "/Ermcp3/QuerySpotContractBS": {
  5226. "get": {
  5227. "security": [
  5228. {
  5229. "ApiKeyAuth": []
  5230. }
  5231. ],
  5232. "produces": [
  5233. "application/json"
  5234. ],
  5235. "tags": [
  5236. "企业风险管理v3(app)"
  5237. ],
  5238. "summary": "查询合同(采购/销售)",
  5239. "parameters": [
  5240. {
  5241. "type": "integer",
  5242. "description": "用户id",
  5243. "name": "userid",
  5244. "in": "query",
  5245. "required": true
  5246. },
  5247. {
  5248. "type": "integer",
  5249. "description": "用户类型 2-机构 7-企业成员",
  5250. "name": "usertype",
  5251. "in": "query"
  5252. },
  5253. {
  5254. "type": "integer",
  5255. "description": "合同类型 1-采购, -1-销售",
  5256. "name": "contracttype",
  5257. "in": "query",
  5258. "required": true
  5259. },
  5260. {
  5261. "type": "integer",
  5262. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5263. "name": "querytype",
  5264. "in": "query"
  5265. },
  5266. {
  5267. "type": "string",
  5268. "description": "合同ID(SpotContractId)",
  5269. "name": "contractid",
  5270. "in": "query"
  5271. },
  5272. {
  5273. "type": "string",
  5274. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5275. "name": "status",
  5276. "in": "query"
  5277. },
  5278. {
  5279. "type": "integer",
  5280. "description": "是否只查今日的合同 1-查今日合同",
  5281. "name": "istoday",
  5282. "in": "query"
  5283. }
  5284. ],
  5285. "responses": {
  5286. "200": {
  5287. "description": "OK",
  5288. "schema": {
  5289. "type": "array",
  5290. "items": {
  5291. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5292. }
  5293. }
  5294. },
  5295. "500": {
  5296. "description": "Internal Server Error",
  5297. "schema": {
  5298. "$ref": "#/definitions/app.Response"
  5299. }
  5300. }
  5301. }
  5302. }
  5303. },
  5304. "/Ermcp3/QuerySpotGoodsPrice": {
  5305. "get": {
  5306. "security": [
  5307. {
  5308. "ApiKeyAuth": []
  5309. }
  5310. ],
  5311. "produces": [
  5312. "application/json"
  5313. ],
  5314. "tags": [
  5315. "企业风险管理v3(app)"
  5316. ],
  5317. "summary": "查询现货市价(现货市价)",
  5318. "parameters": [
  5319. {
  5320. "type": "integer",
  5321. "description": "用户ID",
  5322. "name": "userid",
  5323. "in": "query",
  5324. "required": true
  5325. }
  5326. ],
  5327. "responses": {
  5328. "200": {
  5329. "description": "OK",
  5330. "schema": {
  5331. "type": "array",
  5332. "items": {
  5333. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5334. }
  5335. }
  5336. },
  5337. "500": {
  5338. "description": "Internal Server Error",
  5339. "schema": {
  5340. "$ref": "#/definitions/app.Response"
  5341. }
  5342. }
  5343. }
  5344. }
  5345. },
  5346. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5347. "get": {
  5348. "security": [
  5349. {
  5350. "ApiKeyAuth": []
  5351. }
  5352. ],
  5353. "produces": [
  5354. "application/json"
  5355. ],
  5356. "tags": [
  5357. "企业风险管理v3(app)"
  5358. ],
  5359. "summary": "查询现货市价详情(现货市价/详情)",
  5360. "parameters": [
  5361. {
  5362. "type": "integer",
  5363. "description": "用户ID",
  5364. "name": "userid",
  5365. "in": "query",
  5366. "required": true
  5367. },
  5368. {
  5369. "type": "integer",
  5370. "description": "现货商品ID",
  5371. "name": "deliverygoodsid",
  5372. "in": "query",
  5373. "required": true
  5374. },
  5375. {
  5376. "type": "integer",
  5377. "description": "品牌ID",
  5378. "name": "brandid",
  5379. "in": "query"
  5380. },
  5381. {
  5382. "type": "integer",
  5383. "description": "品类ID",
  5384. "name": "wrstandardid",
  5385. "in": "query"
  5386. }
  5387. ],
  5388. "responses": {
  5389. "200": {
  5390. "description": "OK",
  5391. "schema": {
  5392. "type": "array",
  5393. "items": {
  5394. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5395. }
  5396. }
  5397. },
  5398. "500": {
  5399. "description": "Internal Server Error",
  5400. "schema": {
  5401. "$ref": "#/definitions/app.Response"
  5402. }
  5403. }
  5404. }
  5405. }
  5406. },
  5407. "/Ermcp3/QuerySubTaaccount": {
  5408. "get": {
  5409. "security": [
  5410. {
  5411. "ApiKeyAuth": []
  5412. }
  5413. ],
  5414. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5415. "produces": [
  5416. "application/json"
  5417. ],
  5418. "tags": [
  5419. "企业风险管理v3(app)"
  5420. ],
  5421. "summary": "查询期货子账户",
  5422. "parameters": [
  5423. {
  5424. "type": "integer",
  5425. "description": "母账号id",
  5426. "name": "parentaccountid",
  5427. "in": "query"
  5428. },
  5429. {
  5430. "type": "string",
  5431. "description": "母账号代码",
  5432. "name": "parentaccountcode",
  5433. "in": "query"
  5434. }
  5435. ],
  5436. "responses": {
  5437. "200": {
  5438. "description": "OK",
  5439. "schema": {
  5440. "type": "array",
  5441. "items": {
  5442. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5443. }
  5444. }
  5445. },
  5446. "500": {
  5447. "description": "Internal Server Error",
  5448. "schema": {
  5449. "$ref": "#/definitions/app.Response"
  5450. }
  5451. }
  5452. }
  5453. }
  5454. },
  5455. "/Erms2/QueryArbitrageStrategy": {
  5456. "get": {
  5457. "security": [
  5458. {
  5459. "ApiKeyAuth": []
  5460. }
  5461. ],
  5462. "produces": [
  5463. "application/json"
  5464. ],
  5465. "tags": [
  5466. "风险管理"
  5467. ],
  5468. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5469. "parameters": [
  5470. {
  5471. "type": "integer",
  5472. "description": "账户ID",
  5473. "name": "userid",
  5474. "in": "query",
  5475. "required": true
  5476. },
  5477. {
  5478. "type": "string",
  5479. "description": "商品组ID(品种ID)",
  5480. "name": "goodsgroupid",
  5481. "in": "query"
  5482. }
  5483. ],
  5484. "responses": {
  5485. "200": {
  5486. "description": "OK",
  5487. "schema": {
  5488. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5489. }
  5490. },
  5491. "500": {
  5492. "description": "Internal Server Error",
  5493. "schema": {
  5494. "$ref": "#/definitions/app.Response"
  5495. }
  5496. }
  5497. }
  5498. }
  5499. },
  5500. "/Erms2/QueryInnerTradeDetail": {
  5501. "get": {
  5502. "security": [
  5503. {
  5504. "ApiKeyAuth": []
  5505. }
  5506. ],
  5507. "produces": [
  5508. "application/json"
  5509. ],
  5510. "tags": [
  5511. "风险管理"
  5512. ],
  5513. "summary": "查询内部成交单信息",
  5514. "parameters": [
  5515. {
  5516. "type": "integer",
  5517. "description": "资金账户",
  5518. "name": "accountid",
  5519. "in": "query",
  5520. "required": true
  5521. }
  5522. ],
  5523. "responses": {
  5524. "200": {
  5525. "description": "OK",
  5526. "schema": {
  5527. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5528. }
  5529. },
  5530. "500": {
  5531. "description": "Internal Server Error",
  5532. "schema": {
  5533. "$ref": "#/definitions/app.Response"
  5534. }
  5535. }
  5536. }
  5537. }
  5538. },
  5539. "/Erms2/QuerySpotContract": {
  5540. "get": {
  5541. "security": [
  5542. {
  5543. "ApiKeyAuth": []
  5544. }
  5545. ],
  5546. "produces": [
  5547. "application/json"
  5548. ],
  5549. "tags": [
  5550. "风险管理"
  5551. ],
  5552. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5553. "parameters": [
  5554. {
  5555. "type": "integer",
  5556. "description": "策略申请ID",
  5557. "name": "asapplyid",
  5558. "in": "query",
  5559. "required": true
  5560. },
  5561. {
  5562. "type": "integer",
  5563. "description": "现货合同ID",
  5564. "name": "spotcontractid",
  5565. "in": "query"
  5566. }
  5567. ],
  5568. "responses": {
  5569. "200": {
  5570. "description": "OK",
  5571. "schema": {
  5572. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5573. }
  5574. },
  5575. "500": {
  5576. "description": "Internal Server Error",
  5577. "schema": {
  5578. "$ref": "#/definitions/app.Response"
  5579. }
  5580. }
  5581. }
  5582. }
  5583. },
  5584. "/Erms3/AddErms2ASApply": {
  5585. "post": {
  5586. "security": [
  5587. {
  5588. "ApiKeyAuth": []
  5589. }
  5590. ],
  5591. "produces": [
  5592. "application/json"
  5593. ],
  5594. "tags": [
  5595. "风险管理v3"
  5596. ],
  5597. "summary": "新增期现套利业务申请",
  5598. "parameters": [
  5599. {
  5600. "description": "申请参数",
  5601. "name": "jsonBody",
  5602. "in": "body",
  5603. "required": true,
  5604. "schema": {
  5605. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5606. }
  5607. }
  5608. ],
  5609. "responses": {
  5610. "200": {
  5611. "description": "OK",
  5612. "schema": {
  5613. "$ref": "#/definitions/app.Response"
  5614. }
  5615. },
  5616. "500": {
  5617. "description": "Internal Server Error",
  5618. "schema": {
  5619. "$ref": "#/definitions/app.Response"
  5620. }
  5621. }
  5622. }
  5623. }
  5624. },
  5625. "/Erms3/AddErms2SpotTradeApply": {
  5626. "post": {
  5627. "security": [
  5628. {
  5629. "ApiKeyAuth": []
  5630. }
  5631. ],
  5632. "produces": [
  5633. "application/json"
  5634. ],
  5635. "tags": [
  5636. "风险管理v3"
  5637. ],
  5638. "summary": "新增现货贸易业务申请",
  5639. "parameters": [
  5640. {
  5641. "description": "申请参数",
  5642. "name": "jsonBody",
  5643. "in": "body",
  5644. "required": true,
  5645. "schema": {
  5646. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5647. }
  5648. }
  5649. ],
  5650. "responses": {
  5651. "200": {
  5652. "description": "OK",
  5653. "schema": {
  5654. "$ref": "#/definitions/app.Response"
  5655. }
  5656. },
  5657. "500": {
  5658. "description": "Internal Server Error",
  5659. "schema": {
  5660. "$ref": "#/definitions/app.Response"
  5661. }
  5662. }
  5663. }
  5664. }
  5665. },
  5666. "/Erms3/AddSpotContractApply": {
  5667. "post": {
  5668. "security": [
  5669. {
  5670. "ApiKeyAuth": []
  5671. }
  5672. ],
  5673. "produces": [
  5674. "application/json"
  5675. ],
  5676. "tags": [
  5677. "风险管理v3"
  5678. ],
  5679. "summary": "新增现货合同申请",
  5680. "parameters": [
  5681. {
  5682. "description": "申请参数",
  5683. "name": "jsonBody",
  5684. "in": "body",
  5685. "required": true,
  5686. "schema": {
  5687. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5688. }
  5689. }
  5690. ],
  5691. "responses": {
  5692. "200": {
  5693. "description": "OK",
  5694. "schema": {
  5695. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5696. }
  5697. },
  5698. "500": {
  5699. "description": "Internal Server Error",
  5700. "schema": {
  5701. "$ref": "#/definitions/app.Response"
  5702. }
  5703. }
  5704. }
  5705. }
  5706. },
  5707. "/Erms3/AddUserInfoApply": {
  5708. "post": {
  5709. "security": [
  5710. {
  5711. "ApiKeyAuth": []
  5712. }
  5713. ],
  5714. "produces": [
  5715. "application/json"
  5716. ],
  5717. "tags": [
  5718. "风险管理v3"
  5719. ],
  5720. "summary": "新增客户申请",
  5721. "parameters": [
  5722. {
  5723. "description": "用户信息",
  5724. "name": "jsonBody",
  5725. "in": "body",
  5726. "required": true,
  5727. "schema": {
  5728. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5729. }
  5730. }
  5731. ],
  5732. "responses": {
  5733. "200": {
  5734. "description": "OK",
  5735. "schema": {
  5736. "$ref": "#/definitions/app.Response"
  5737. }
  5738. },
  5739. "500": {
  5740. "description": "Internal Server Error",
  5741. "schema": {
  5742. "$ref": "#/definitions/app.Response"
  5743. }
  5744. }
  5745. }
  5746. }
  5747. },
  5748. "/Erms3/DeleteUserInfoApply": {
  5749. "get": {
  5750. "security": [
  5751. {
  5752. "ApiKeyAuth": []
  5753. }
  5754. ],
  5755. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5756. "produces": [
  5757. "application/json"
  5758. ],
  5759. "tags": [
  5760. "风险管理v3"
  5761. ],
  5762. "summary": "删除客户申请",
  5763. "parameters": [
  5764. {
  5765. "type": "integer",
  5766. "description": "用户ID",
  5767. "name": "userID",
  5768. "in": "query",
  5769. "required": true
  5770. }
  5771. ],
  5772. "responses": {
  5773. "200": {
  5774. "description": "OK",
  5775. "schema": {
  5776. "$ref": "#/definitions/app.Response"
  5777. }
  5778. },
  5779. "500": {
  5780. "description": "Internal Server Error",
  5781. "schema": {
  5782. "$ref": "#/definitions/app.Response"
  5783. }
  5784. }
  5785. }
  5786. }
  5787. },
  5788. "/Erms3/ModifyUserInfoApply": {
  5789. "post": {
  5790. "security": [
  5791. {
  5792. "ApiKeyAuth": []
  5793. }
  5794. ],
  5795. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5796. "produces": [
  5797. "application/json"
  5798. ],
  5799. "tags": [
  5800. "风险管理v3"
  5801. ],
  5802. "summary": "修改客户申请",
  5803. "parameters": [
  5804. {
  5805. "description": "用户信息",
  5806. "name": "jsonBody",
  5807. "in": "body",
  5808. "required": true,
  5809. "schema": {
  5810. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5811. }
  5812. }
  5813. ],
  5814. "responses": {
  5815. "200": {
  5816. "description": "OK",
  5817. "schema": {
  5818. "$ref": "#/definitions/app.Response"
  5819. }
  5820. },
  5821. "500": {
  5822. "description": "Internal Server Error",
  5823. "schema": {
  5824. "$ref": "#/definitions/app.Response"
  5825. }
  5826. }
  5827. }
  5828. }
  5829. },
  5830. "/Erms3/QueryBusinessInfo": {
  5831. "get": {
  5832. "security": [
  5833. {
  5834. "ApiKeyAuth": []
  5835. }
  5836. ],
  5837. "produces": [
  5838. "application/json"
  5839. ],
  5840. "tags": [
  5841. "风险管理v3"
  5842. ],
  5843. "summary": "查询业务表单数据",
  5844. "parameters": [
  5845. {
  5846. "type": "string",
  5847. "description": "资金账号ID列表,用逗号分隔",
  5848. "name": "accountids",
  5849. "in": "query",
  5850. "required": true
  5851. },
  5852. {
  5853. "type": "integer",
  5854. "description": "状态,0为未结束 1为已结束",
  5855. "name": "status",
  5856. "in": "query",
  5857. "required": true
  5858. }
  5859. ],
  5860. "responses": {
  5861. "200": {
  5862. "description": "OK",
  5863. "schema": {
  5864. "type": "array",
  5865. "items": {
  5866. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5867. }
  5868. }
  5869. },
  5870. "500": {
  5871. "description": "Internal Server Error",
  5872. "schema": {
  5873. "$ref": "#/definitions/app.Response"
  5874. }
  5875. }
  5876. }
  5877. }
  5878. },
  5879. "/Erms3/QueryPendingAuditContract": {
  5880. "get": {
  5881. "security": [
  5882. {
  5883. "ApiKeyAuth": []
  5884. }
  5885. ],
  5886. "produces": [
  5887. "application/json"
  5888. ],
  5889. "tags": [
  5890. "风险管理v3"
  5891. ],
  5892. "summary": "查询待审核合同",
  5893. "parameters": [
  5894. {
  5895. "type": "string",
  5896. "description": "资金账号ID列表,逗号隔开",
  5897. "name": "accountids",
  5898. "in": "query",
  5899. "required": true
  5900. },
  5901. {
  5902. "type": "integer",
  5903. "description": "合同类型 1-采购 -1-销售",
  5904. "name": "contracttype",
  5905. "in": "query",
  5906. "required": true
  5907. },
  5908. {
  5909. "type": "integer",
  5910. "description": "合同模式 1-普通 2-回购",
  5911. "name": "contractmode",
  5912. "in": "query",
  5913. "required": true
  5914. }
  5915. ],
  5916. "responses": {
  5917. "200": {
  5918. "description": "OK",
  5919. "schema": {
  5920. "type": "array",
  5921. "items": {
  5922. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5923. }
  5924. }
  5925. },
  5926. "500": {
  5927. "description": "Internal Server Error",
  5928. "schema": {
  5929. "$ref": "#/definitions/app.Response"
  5930. }
  5931. }
  5932. }
  5933. }
  5934. },
  5935. "/Erms3/QueryPendingBusiness": {
  5936. "get": {
  5937. "security": [
  5938. {
  5939. "ApiKeyAuth": []
  5940. }
  5941. ],
  5942. "produces": [
  5943. "application/json"
  5944. ],
  5945. "tags": [
  5946. "风险管理v3"
  5947. ],
  5948. "summary": "查询待审核基差贸易业务",
  5949. "parameters": [
  5950. {
  5951. "type": "string",
  5952. "description": "资金账号ID列表,逗号隔开",
  5953. "name": "accountids",
  5954. "in": "query",
  5955. "required": true
  5956. }
  5957. ],
  5958. "responses": {
  5959. "200": {
  5960. "description": "OK",
  5961. "schema": {
  5962. "type": "array",
  5963. "items": {
  5964. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5965. }
  5966. }
  5967. },
  5968. "500": {
  5969. "description": "Internal Server Error",
  5970. "schema": {
  5971. "$ref": "#/definitions/app.Response"
  5972. }
  5973. }
  5974. }
  5975. }
  5976. },
  5977. "/Erms3/QuerySpotContractAppleForm": {
  5978. "get": {
  5979. "security": [
  5980. {
  5981. "ApiKeyAuth": []
  5982. }
  5983. ],
  5984. "produces": [
  5985. "application/json"
  5986. ],
  5987. "tags": [
  5988. "风险管理v3"
  5989. ],
  5990. "summary": "查询合同申请表单数据",
  5991. "parameters": [
  5992. {
  5993. "type": "integer",
  5994. "description": "登录账号",
  5995. "name": "loginID",
  5996. "in": "query",
  5997. "required": true
  5998. }
  5999. ],
  6000. "responses": {
  6001. "200": {
  6002. "description": "OK",
  6003. "schema": {
  6004. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6005. }
  6006. },
  6007. "500": {
  6008. "description": "Internal Server Error",
  6009. "schema": {
  6010. "$ref": "#/definitions/app.Response"
  6011. }
  6012. }
  6013. }
  6014. }
  6015. },
  6016. "/Erms3/QuerySpotContractDetail": {
  6017. "get": {
  6018. "security": [
  6019. {
  6020. "ApiKeyAuth": []
  6021. }
  6022. ],
  6023. "produces": [
  6024. "application/json"
  6025. ],
  6026. "tags": [
  6027. "风险管理v3"
  6028. ],
  6029. "summary": "查询合同详细信息",
  6030. "parameters": [
  6031. {
  6032. "type": "string",
  6033. "description": "资金账号ID列表,用逗号分隔",
  6034. "name": "accountids",
  6035. "in": "query",
  6036. "required": true
  6037. },
  6038. {
  6039. "type": "integer",
  6040. "description": "合同类型,1为采购合同 -1为销售合同",
  6041. "name": "contracttype",
  6042. "in": "query",
  6043. "required": true
  6044. },
  6045. {
  6046. "type": "integer",
  6047. "description": "合同模式,1为普通合同 2为回购销售合同",
  6048. "name": "contractmode",
  6049. "in": "query",
  6050. "required": true
  6051. },
  6052. {
  6053. "type": "integer",
  6054. "description": "状态,0为履约中 1为已完成",
  6055. "name": "status",
  6056. "in": "query",
  6057. "required": true
  6058. }
  6059. ],
  6060. "responses": {
  6061. "200": {
  6062. "description": "OK",
  6063. "schema": {
  6064. "type": "array",
  6065. "items": {
  6066. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6067. }
  6068. }
  6069. },
  6070. "500": {
  6071. "description": "Internal Server Error",
  6072. "schema": {
  6073. "$ref": "#/definitions/app.Response"
  6074. }
  6075. }
  6076. }
  6077. }
  6078. },
  6079. "/Erms3/QueryUserInfoApplies": {
  6080. "get": {
  6081. "security": [
  6082. {
  6083. "ApiKeyAuth": []
  6084. }
  6085. ],
  6086. "produces": [
  6087. "application/json"
  6088. ],
  6089. "tags": [
  6090. "风险管理v3"
  6091. ],
  6092. "summary": "客户申请信息查询",
  6093. "parameters": [
  6094. {
  6095. "type": "integer",
  6096. "description": "页码",
  6097. "name": "page",
  6098. "in": "query"
  6099. },
  6100. {
  6101. "type": "integer",
  6102. "description": "每页条数",
  6103. "name": "pagesize",
  6104. "in": "query"
  6105. },
  6106. {
  6107. "type": "string",
  6108. "description": "客户名称,支持模糊查询",
  6109. "name": "userName",
  6110. "in": "query"
  6111. }
  6112. ],
  6113. "responses": {
  6114. "200": {
  6115. "description": "OK",
  6116. "schema": {
  6117. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6118. }
  6119. },
  6120. "500": {
  6121. "description": "Internal Server Error",
  6122. "schema": {
  6123. "$ref": "#/definitions/app.Response"
  6124. }
  6125. }
  6126. }
  6127. }
  6128. },
  6129. "/Erms3/QueryUserInfos": {
  6130. "get": {
  6131. "security": [
  6132. {
  6133. "ApiKeyAuth": []
  6134. }
  6135. ],
  6136. "produces": [
  6137. "application/json"
  6138. ],
  6139. "tags": [
  6140. "风险管理v3"
  6141. ],
  6142. "summary": "客户信息查询",
  6143. "parameters": [
  6144. {
  6145. "type": "integer",
  6146. "description": "页码",
  6147. "name": "page",
  6148. "in": "query"
  6149. },
  6150. {
  6151. "type": "integer",
  6152. "description": "每页条数",
  6153. "name": "pagesize",
  6154. "in": "query"
  6155. },
  6156. {
  6157. "type": "string",
  6158. "description": "客户名称,支持模糊查询",
  6159. "name": "userName",
  6160. "in": "query"
  6161. }
  6162. ],
  6163. "responses": {
  6164. "200": {
  6165. "description": "OK",
  6166. "schema": {
  6167. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6168. }
  6169. },
  6170. "500": {
  6171. "description": "Internal Server Error",
  6172. "schema": {
  6173. "$ref": "#/definitions/app.Response"
  6174. }
  6175. }
  6176. }
  6177. }
  6178. },
  6179. "/HSBY/GetHsbyMyCount": {
  6180. "get": {
  6181. "security": [
  6182. {
  6183. "ApiKeyAuth": []
  6184. }
  6185. ],
  6186. "description": "说明: 不包括已完成的数量。",
  6187. "produces": [
  6188. "application/json"
  6189. ],
  6190. "tags": [
  6191. "定制【海商报业】"
  6192. ],
  6193. "summary": "获取我的订单与包裹数量",
  6194. "parameters": [
  6195. {
  6196. "type": "string",
  6197. "description": "资金账户列表,格式:1,2,3",
  6198. "name": "accountIDs",
  6199. "in": "query",
  6200. "required": true
  6201. }
  6202. ],
  6203. "responses": {
  6204. "200": {
  6205. "description": "OK",
  6206. "schema": {
  6207. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6208. }
  6209. },
  6210. "500": {
  6211. "description": "Internal Server Error",
  6212. "schema": {
  6213. "$ref": "#/definitions/app.Response"
  6214. }
  6215. }
  6216. }
  6217. }
  6218. },
  6219. "/HSBY/QueryClientFixedADConfigs": {
  6220. "get": {
  6221. "security": [
  6222. {
  6223. "ApiKeyAuth": []
  6224. }
  6225. ],
  6226. "produces": [
  6227. "application/json"
  6228. ],
  6229. "tags": [
  6230. "定制【海商报业】"
  6231. ],
  6232. "summary": "获取终端固定广告配置",
  6233. "responses": {
  6234. "200": {
  6235. "description": "OK",
  6236. "schema": {
  6237. "$ref": "#/definitions/models.Clientfixedadconfig"
  6238. }
  6239. },
  6240. "500": {
  6241. "description": "Internal Server Error",
  6242. "schema": {
  6243. "$ref": "#/definitions/app.Response"
  6244. }
  6245. }
  6246. }
  6247. }
  6248. },
  6249. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6250. "get": {
  6251. "security": [
  6252. {
  6253. "ApiKeyAuth": []
  6254. }
  6255. ],
  6256. "produces": [
  6257. "application/json"
  6258. ],
  6259. "tags": [
  6260. "定制【海商报业】"
  6261. ],
  6262. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6263. "parameters": [
  6264. {
  6265. "type": "integer",
  6266. "description": "页码",
  6267. "name": "page",
  6268. "in": "query"
  6269. },
  6270. {
  6271. "type": "integer",
  6272. "description": "每页条数",
  6273. "name": "pagesize",
  6274. "in": "query"
  6275. },
  6276. {
  6277. "type": "string",
  6278. "description": "资金账户列表,格式:1,2,3",
  6279. "name": "accountIDs",
  6280. "in": "query",
  6281. "required": true
  6282. }
  6283. ],
  6284. "responses": {
  6285. "200": {
  6286. "description": "OK",
  6287. "schema": {
  6288. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6289. }
  6290. },
  6291. "500": {
  6292. "description": "Internal Server Error",
  6293. "schema": {
  6294. "$ref": "#/definitions/app.Response"
  6295. }
  6296. }
  6297. }
  6298. }
  6299. },
  6300. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6301. "get": {
  6302. "security": [
  6303. {
  6304. "ApiKeyAuth": []
  6305. }
  6306. ],
  6307. "description": "说明:查询结果已按委托价格和委托时间排序",
  6308. "produces": [
  6309. "application/json"
  6310. ],
  6311. "tags": [
  6312. "定制【海商报业】"
  6313. ],
  6314. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6315. "parameters": [
  6316. {
  6317. "type": "integer",
  6318. "description": "商品ID",
  6319. "name": "goodsID",
  6320. "in": "query",
  6321. "required": true
  6322. },
  6323. {
  6324. "type": "string",
  6325. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6326. "name": "accountIDs",
  6327. "in": "query"
  6328. },
  6329. {
  6330. "type": "integer",
  6331. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6332. "name": "buyOrSell",
  6333. "in": "query"
  6334. },
  6335. {
  6336. "type": "number",
  6337. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6338. "name": "price",
  6339. "in": "query"
  6340. },
  6341. {
  6342. "type": "integer",
  6343. "description": "档位,不传则默认为3档",
  6344. "name": "speed",
  6345. "in": "query"
  6346. }
  6347. ],
  6348. "responses": {
  6349. "200": {
  6350. "description": "OK",
  6351. "schema": {
  6352. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6353. }
  6354. },
  6355. "500": {
  6356. "description": "Internal Server Error",
  6357. "schema": {
  6358. "$ref": "#/definitions/app.Response"
  6359. }
  6360. }
  6361. }
  6362. }
  6363. },
  6364. "/HSBY/QueryHsbyListingGoodsDetail": {
  6365. "get": {
  6366. "security": [
  6367. {
  6368. "ApiKeyAuth": []
  6369. }
  6370. ],
  6371. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6372. "produces": [
  6373. "application/json"
  6374. ],
  6375. "tags": [
  6376. "定制【海商报业】"
  6377. ],
  6378. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6379. "parameters": [
  6380. {
  6381. "type": "integer",
  6382. "description": "商品ID",
  6383. "name": "goodsID",
  6384. "in": "query",
  6385. "required": true
  6386. },
  6387. {
  6388. "type": "integer",
  6389. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6390. "name": "accountID",
  6391. "in": "query"
  6392. }
  6393. ],
  6394. "responses": {
  6395. "200": {
  6396. "description": "OK",
  6397. "schema": {
  6398. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6399. }
  6400. },
  6401. "500": {
  6402. "description": "Internal Server Error",
  6403. "schema": {
  6404. "$ref": "#/definitions/app.Response"
  6405. }
  6406. }
  6407. }
  6408. }
  6409. },
  6410. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6411. "get": {
  6412. "security": [
  6413. {
  6414. "ApiKeyAuth": []
  6415. }
  6416. ],
  6417. "produces": [
  6418. "application/json"
  6419. ],
  6420. "tags": [
  6421. "定制【海商报业】"
  6422. ],
  6423. "summary": "查询三级市场(商城)商品信息详情",
  6424. "parameters": [
  6425. {
  6426. "type": "integer",
  6427. "description": "委托单号",
  6428. "name": "orderID",
  6429. "in": "query",
  6430. "required": true
  6431. },
  6432. {
  6433. "type": "integer",
  6434. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6435. "name": "accountID",
  6436. "in": "query"
  6437. }
  6438. ],
  6439. "responses": {
  6440. "200": {
  6441. "description": "OK",
  6442. "schema": {
  6443. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6444. }
  6445. },
  6446. "500": {
  6447. "description": "Internal Server Error",
  6448. "schema": {
  6449. "$ref": "#/definitions/app.Response"
  6450. }
  6451. }
  6452. }
  6453. }
  6454. },
  6455. "/HSBY/QueryHsbyMarketGoodses": {
  6456. "get": {
  6457. "security": [
  6458. {
  6459. "ApiKeyAuth": []
  6460. }
  6461. ],
  6462. "produces": [
  6463. "application/json"
  6464. ],
  6465. "tags": [
  6466. "定制【海商报业】"
  6467. ],
  6468. "summary": "查询特卖商品列表(三级商城)",
  6469. "parameters": [
  6470. {
  6471. "type": "integer",
  6472. "description": "页码",
  6473. "name": "page",
  6474. "in": "query"
  6475. },
  6476. {
  6477. "type": "integer",
  6478. "description": "每页条数",
  6479. "name": "pagesize",
  6480. "in": "query"
  6481. },
  6482. {
  6483. "type": "string",
  6484. "description": "市场ID列表,格式:1,2,3",
  6485. "name": "marketIDs",
  6486. "in": "query",
  6487. "required": true
  6488. },
  6489. {
  6490. "type": "integer",
  6491. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6492. "name": "accountID",
  6493. "in": "query",
  6494. "required": true
  6495. },
  6496. {
  6497. "type": "integer",
  6498. "description": "类别ID",
  6499. "name": "categoryID",
  6500. "in": "query"
  6501. },
  6502. {
  6503. "type": "string",
  6504. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6505. "name": "goodsIDs",
  6506. "in": "query"
  6507. },
  6508. {
  6509. "type": "integer",
  6510. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6511. "name": "couponTypeID",
  6512. "in": "query"
  6513. }
  6514. ],
  6515. "responses": {
  6516. "200": {
  6517. "description": "OK",
  6518. "schema": {
  6519. "$ref": "#/definitions/models.HsbyMarketGoods"
  6520. }
  6521. },
  6522. "500": {
  6523. "description": "Internal Server Error",
  6524. "schema": {
  6525. "$ref": "#/definitions/app.Response"
  6526. }
  6527. }
  6528. }
  6529. }
  6530. },
  6531. "/HSBY/QueryHsbyMarkets": {
  6532. "get": {
  6533. "security": [
  6534. {
  6535. "ApiKeyAuth": []
  6536. }
  6537. ],
  6538. "produces": [
  6539. "application/json"
  6540. ],
  6541. "tags": [
  6542. "定制【海商报业】"
  6543. ],
  6544. "summary": "查询海商报业相关市场信息",
  6545. "responses": {
  6546. "200": {
  6547. "description": "OK",
  6548. "schema": {
  6549. "$ref": "#/definitions/models.HsbyMarketInfo"
  6550. }
  6551. },
  6552. "500": {
  6553. "description": "Internal Server Error",
  6554. "schema": {
  6555. "$ref": "#/definitions/app.Response"
  6556. }
  6557. }
  6558. }
  6559. }
  6560. },
  6561. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6562. "get": {
  6563. "security": [
  6564. {
  6565. "ApiKeyAuth": []
  6566. }
  6567. ],
  6568. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6569. "produces": [
  6570. "application/json"
  6571. ],
  6572. "tags": [
  6573. "定制【海商报业】"
  6574. ],
  6575. "summary": "查询“我的订单”信息",
  6576. "parameters": [
  6577. {
  6578. "type": "string",
  6579. "description": "资金账户列表,格式:1,2,3",
  6580. "name": "accountIDs",
  6581. "in": "query",
  6582. "required": true
  6583. }
  6584. ],
  6585. "responses": {
  6586. "200": {
  6587. "description": "OK",
  6588. "schema": {
  6589. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6590. }
  6591. },
  6592. "500": {
  6593. "description": "Internal Server Error",
  6594. "schema": {
  6595. "$ref": "#/definitions/app.Response"
  6596. }
  6597. }
  6598. }
  6599. }
  6600. },
  6601. "/HSBY/QueryHsbyMyGoods": {
  6602. "get": {
  6603. "security": [
  6604. {
  6605. "ApiKeyAuth": []
  6606. }
  6607. ],
  6608. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6609. "produces": [
  6610. "application/json"
  6611. ],
  6612. "tags": [
  6613. "定制【海商报业】"
  6614. ],
  6615. "summary": "查询“我的商品”信息",
  6616. "parameters": [
  6617. {
  6618. "type": "string",
  6619. "description": "资金账户列表,格式:1,2,3",
  6620. "name": "accountIDs",
  6621. "in": "query",
  6622. "required": true
  6623. }
  6624. ],
  6625. "responses": {
  6626. "200": {
  6627. "description": "OK",
  6628. "schema": {
  6629. "$ref": "#/definitions/models.HsbyMyGoods"
  6630. }
  6631. },
  6632. "500": {
  6633. "description": "Internal Server Error",
  6634. "schema": {
  6635. "$ref": "#/definitions/app.Response"
  6636. }
  6637. }
  6638. }
  6639. }
  6640. },
  6641. "/HSBY/QueryHsbyMyPackages": {
  6642. "get": {
  6643. "security": [
  6644. {
  6645. "ApiKeyAuth": []
  6646. }
  6647. ],
  6648. "produces": [
  6649. "application/json"
  6650. ],
  6651. "tags": [
  6652. "定制【海商报业】"
  6653. ],
  6654. "summary": "查询我的包裹信息",
  6655. "parameters": [
  6656. {
  6657. "type": "string",
  6658. "description": "资金账户列表,格式:1,2,3",
  6659. "name": "accountIDs",
  6660. "in": "query",
  6661. "required": true
  6662. },
  6663. {
  6664. "type": "integer",
  6665. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6666. "name": "takeOrderStatus",
  6667. "in": "query"
  6668. }
  6669. ],
  6670. "responses": {
  6671. "200": {
  6672. "description": "OK",
  6673. "schema": {
  6674. "$ref": "#/definitions/models.HsbyMyPackage"
  6675. }
  6676. },
  6677. "500": {
  6678. "description": "Internal Server Error",
  6679. "schema": {
  6680. "$ref": "#/definitions/app.Response"
  6681. }
  6682. }
  6683. }
  6684. }
  6685. },
  6686. "/HSBY/QueryHsbyPreGoodsDetail": {
  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": "商品ID",
  6704. "name": "goodsID",
  6705. "in": "query",
  6706. "required": true
  6707. },
  6708. {
  6709. "type": "integer",
  6710. "description": "资金账户,主要用于获取预售商品购买上限",
  6711. "name": "accountID",
  6712. "in": "query"
  6713. }
  6714. ],
  6715. "responses": {
  6716. "200": {
  6717. "description": "OK",
  6718. "schema": {
  6719. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6720. }
  6721. },
  6722. "500": {
  6723. "description": "Internal Server Error",
  6724. "schema": {
  6725. "$ref": "#/definitions/app.Response"
  6726. }
  6727. }
  6728. }
  6729. }
  6730. },
  6731. "/HSBY/QueryHsbyPreGoodses": {
  6732. "get": {
  6733. "security": [
  6734. {
  6735. "ApiKeyAuth": []
  6736. }
  6737. ],
  6738. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6739. "produces": [
  6740. "application/json"
  6741. ],
  6742. "tags": [
  6743. "定制【海商报业】"
  6744. ],
  6745. "summary": "查询新品上市商品列表(一级市场预售)",
  6746. "parameters": [
  6747. {
  6748. "type": "integer",
  6749. "description": "页码",
  6750. "name": "page",
  6751. "in": "query"
  6752. },
  6753. {
  6754. "type": "integer",
  6755. "description": "每页条数",
  6756. "name": "pagesize",
  6757. "in": "query"
  6758. },
  6759. {
  6760. "type": "string",
  6761. "description": "市场ID列表,格式:1,2,3",
  6762. "name": "marketIDs",
  6763. "in": "query",
  6764. "required": true
  6765. },
  6766. {
  6767. "type": "integer",
  6768. "description": "目的地(省)ID",
  6769. "name": "descProvinceID",
  6770. "in": "query"
  6771. },
  6772. {
  6773. "type": "integer",
  6774. "description": "目的地(市)ID",
  6775. "name": "descCityID",
  6776. "in": "query"
  6777. }
  6778. ],
  6779. "responses": {
  6780. "200": {
  6781. "description": "OK",
  6782. "schema": {
  6783. "$ref": "#/definitions/models.HsbyPreGoods"
  6784. }
  6785. },
  6786. "500": {
  6787. "description": "Internal Server Error",
  6788. "schema": {
  6789. "$ref": "#/definitions/app.Response"
  6790. }
  6791. }
  6792. }
  6793. }
  6794. },
  6795. "/HSBY/QueryHsbySellMyDetails": {
  6796. "get": {
  6797. "security": [
  6798. {
  6799. "ApiKeyAuth": []
  6800. }
  6801. ],
  6802. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6803. "produces": [
  6804. "application/json"
  6805. ],
  6806. "tags": [
  6807. "定制【海商报业】"
  6808. ],
  6809. "summary": "查询\"我的闲置\"单据信息",
  6810. "parameters": [
  6811. {
  6812. "type": "integer",
  6813. "description": "页码",
  6814. "name": "page",
  6815. "in": "query"
  6816. },
  6817. {
  6818. "type": "integer",
  6819. "description": "每页条数",
  6820. "name": "pagesize",
  6821. "in": "query"
  6822. },
  6823. {
  6824. "type": "string",
  6825. "description": "资金账户列表,格式:1,2,3",
  6826. "name": "accountIDs",
  6827. "in": "query",
  6828. "required": true
  6829. },
  6830. {
  6831. "type": "integer",
  6832. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6833. "name": "orderType",
  6834. "in": "query"
  6835. }
  6836. ],
  6837. "responses": {
  6838. "200": {
  6839. "description": "OK",
  6840. "schema": {
  6841. "$ref": "#/definitions/models.HsbySellMyDetail"
  6842. }
  6843. },
  6844. "500": {
  6845. "description": "Internal Server Error",
  6846. "schema": {
  6847. "$ref": "#/definitions/app.Response"
  6848. }
  6849. }
  6850. }
  6851. }
  6852. },
  6853. "/HSBY/QueryHsbyTopGoodses": {
  6854. "get": {
  6855. "security": [
  6856. {
  6857. "ApiKeyAuth": []
  6858. }
  6859. ],
  6860. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6861. "produces": [
  6862. "application/json"
  6863. ],
  6864. "tags": [
  6865. "定制【海商报业】"
  6866. ],
  6867. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6868. "parameters": [
  6869. {
  6870. "type": "integer",
  6871. "description": "页码",
  6872. "name": "page",
  6873. "in": "query"
  6874. },
  6875. {
  6876. "type": "integer",
  6877. "description": "每页条数",
  6878. "name": "pagesize",
  6879. "in": "query"
  6880. },
  6881. {
  6882. "type": "string",
  6883. "description": "市场ID列表,格式:1,2,3",
  6884. "name": "marketIDs",
  6885. "in": "query",
  6886. "required": true
  6887. },
  6888. {
  6889. "type": "integer",
  6890. "description": "目的地(省)ID",
  6891. "name": "descProvinceID",
  6892. "in": "query"
  6893. },
  6894. {
  6895. "type": "integer",
  6896. "description": "目的地(市)ID",
  6897. "name": "descCityID",
  6898. "in": "query"
  6899. }
  6900. ],
  6901. "responses": {
  6902. "200": {
  6903. "description": "OK",
  6904. "schema": {
  6905. "$ref": "#/definitions/models.HsbyTopGoods"
  6906. }
  6907. },
  6908. "500": {
  6909. "description": "Internal Server Error",
  6910. "schema": {
  6911. "$ref": "#/definitions/app.Response"
  6912. }
  6913. }
  6914. }
  6915. }
  6916. },
  6917. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6918. "get": {
  6919. "security": [
  6920. {
  6921. "ApiKeyAuth": []
  6922. }
  6923. ],
  6924. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6925. "produces": [
  6926. "application/json"
  6927. ],
  6928. "tags": [
  6929. "定制【海商报业】"
  6930. ],
  6931. "summary": "查询游客三级市场(商城)商品信息详情",
  6932. "parameters": [
  6933. {
  6934. "type": "integer",
  6935. "description": "商品ID",
  6936. "name": "goodsID",
  6937. "in": "query",
  6938. "required": true
  6939. }
  6940. ],
  6941. "responses": {
  6942. "200": {
  6943. "description": "OK",
  6944. "schema": {
  6945. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6946. }
  6947. },
  6948. "500": {
  6949. "description": "Internal Server Error",
  6950. "schema": {
  6951. "$ref": "#/definitions/app.Response"
  6952. }
  6953. }
  6954. }
  6955. }
  6956. },
  6957. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6958. "get": {
  6959. "security": [
  6960. {
  6961. "ApiKeyAuth": []
  6962. }
  6963. ],
  6964. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6965. "produces": [
  6966. "application/json"
  6967. ],
  6968. "tags": [
  6969. "定制【海商报业】"
  6970. ],
  6971. "summary": "查询游客特卖商品列表(三级商城)",
  6972. "parameters": [
  6973. {
  6974. "type": "integer",
  6975. "description": "页码",
  6976. "name": "page",
  6977. "in": "query"
  6978. },
  6979. {
  6980. "type": "integer",
  6981. "description": "每页条数",
  6982. "name": "pagesize",
  6983. "in": "query"
  6984. },
  6985. {
  6986. "type": "string",
  6987. "description": "市场ID列表,格式:1,2,3",
  6988. "name": "marketIDs",
  6989. "in": "query",
  6990. "required": true
  6991. },
  6992. {
  6993. "type": "integer",
  6994. "description": "类别ID",
  6995. "name": "categoryID",
  6996. "in": "query"
  6997. },
  6998. {
  6999. "type": "string",
  7000. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7001. "name": "goodsIDs",
  7002. "in": "query"
  7003. }
  7004. ],
  7005. "responses": {
  7006. "200": {
  7007. "description": "OK",
  7008. "schema": {
  7009. "$ref": "#/definitions/models.HsbyMarketGoods"
  7010. }
  7011. },
  7012. "500": {
  7013. "description": "Internal Server Error",
  7014. "schema": {
  7015. "$ref": "#/definitions/app.Response"
  7016. }
  7017. }
  7018. }
  7019. }
  7020. },
  7021. "/HSBY/QueryMyCollectionOrders": {
  7022. "get": {
  7023. "security": [
  7024. {
  7025. "ApiKeyAuth": []
  7026. }
  7027. ],
  7028. "produces": [
  7029. "application/json"
  7030. ],
  7031. "tags": [
  7032. "定制【海商报业】"
  7033. ],
  7034. "summary": "我的闲置中收款信息查询",
  7035. "parameters": [
  7036. {
  7037. "type": "integer",
  7038. "description": "页码",
  7039. "name": "page",
  7040. "in": "query"
  7041. },
  7042. {
  7043. "type": "integer",
  7044. "description": "每页条数",
  7045. "name": "pagesize",
  7046. "in": "query"
  7047. },
  7048. {
  7049. "type": "string",
  7050. "description": "资金账户,格式:1,2,3",
  7051. "name": "accountIDs",
  7052. "in": "query",
  7053. "required": true
  7054. }
  7055. ],
  7056. "responses": {
  7057. "200": {
  7058. "description": "OK",
  7059. "schema": {
  7060. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7061. }
  7062. },
  7063. "500": {
  7064. "description": "Internal Server Error",
  7065. "schema": {
  7066. "$ref": "#/definitions/app.Response"
  7067. }
  7068. }
  7069. }
  7070. }
  7071. },
  7072. "/HSBY/QueryMyCouponHolds": {
  7073. "get": {
  7074. "security": [
  7075. {
  7076. "ApiKeyAuth": []
  7077. }
  7078. ],
  7079. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7080. "produces": [
  7081. "application/json"
  7082. ],
  7083. "tags": [
  7084. "定制【海商报业】"
  7085. ],
  7086. "summary": "我的优惠卷持仓查询",
  7087. "parameters": [
  7088. {
  7089. "type": "string",
  7090. "description": "资金账户列表,格式:1,2,3",
  7091. "name": "accountIDs",
  7092. "in": "query",
  7093. "required": true
  7094. },
  7095. {
  7096. "type": "string",
  7097. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7098. "name": "holdStatus",
  7099. "in": "query"
  7100. }
  7101. ],
  7102. "responses": {
  7103. "200": {
  7104. "description": "OK",
  7105. "schema": {
  7106. "$ref": "#/definitions/models.MyCouponHold"
  7107. }
  7108. },
  7109. "500": {
  7110. "description": "Internal Server Error",
  7111. "schema": {
  7112. "$ref": "#/definitions/app.Response"
  7113. }
  7114. }
  7115. }
  7116. }
  7117. },
  7118. "/HSBY/QueryMyCoupons": {
  7119. "get": {
  7120. "security": [
  7121. {
  7122. "ApiKeyAuth": []
  7123. }
  7124. ],
  7125. "produces": [
  7126. "application/json"
  7127. ],
  7128. "tags": [
  7129. "定制【海商报业】"
  7130. ],
  7131. "summary": "我的优惠卷查询",
  7132. "parameters": [
  7133. {
  7134. "type": "string",
  7135. "description": "资金账户列表,格式:1,2,3",
  7136. "name": "accountIDs",
  7137. "in": "query",
  7138. "required": true
  7139. },
  7140. {
  7141. "type": "integer",
  7142. "description": "商品ID, 一般与sellUserID配套传入",
  7143. "name": "goodsID",
  7144. "in": "query"
  7145. },
  7146. {
  7147. "type": "integer",
  7148. "description": "卖方UserID",
  7149. "name": "sellUserID",
  7150. "in": "query"
  7151. }
  7152. ],
  7153. "responses": {
  7154. "200": {
  7155. "description": "OK",
  7156. "schema": {
  7157. "$ref": "#/definitions/models.MyCoupon"
  7158. }
  7159. },
  7160. "500": {
  7161. "description": "Internal Server Error",
  7162. "schema": {
  7163. "$ref": "#/definitions/app.Response"
  7164. }
  7165. }
  7166. }
  7167. }
  7168. },
  7169. "/HSBY/QueryMyPayOrders": {
  7170. "get": {
  7171. "security": [
  7172. {
  7173. "ApiKeyAuth": []
  7174. }
  7175. ],
  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": "资金账户列表,格式:1,2,3",
  7199. "name": "accountIDs",
  7200. "in": "query",
  7201. "required": true
  7202. },
  7203. {
  7204. "type": "integer",
  7205. "description": "买方委托单号",
  7206. "name": "buyOrderID",
  7207. "in": "query"
  7208. },
  7209. {
  7210. "type": "integer",
  7211. "description": "卖方委托单号",
  7212. "name": "sellOrderID",
  7213. "in": "query"
  7214. }
  7215. ],
  7216. "responses": {
  7217. "200": {
  7218. "description": "OK",
  7219. "schema": {
  7220. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7221. }
  7222. },
  7223. "500": {
  7224. "description": "Internal Server Error",
  7225. "schema": {
  7226. "$ref": "#/definitions/app.Response"
  7227. }
  7228. }
  7229. }
  7230. }
  7231. },
  7232. "/HSBY/QueryMyUsedCoupon": {
  7233. "get": {
  7234. "security": [
  7235. {
  7236. "ApiKeyAuth": []
  7237. }
  7238. ],
  7239. "produces": [
  7240. "application/json"
  7241. ],
  7242. "tags": [
  7243. "定制【海商报业】"
  7244. ],
  7245. "summary": "已使用优惠卷查询",
  7246. "parameters": [
  7247. {
  7248. "type": "string",
  7249. "description": "资金账户列表,格式:1,2,3",
  7250. "name": "accountIDs",
  7251. "in": "query",
  7252. "required": true
  7253. }
  7254. ],
  7255. "responses": {
  7256. "200": {
  7257. "description": "OK",
  7258. "schema": {
  7259. "$ref": "#/definitions/models.MyUsedCoupon"
  7260. }
  7261. },
  7262. "500": {
  7263. "description": "Internal Server Error",
  7264. "schema": {
  7265. "$ref": "#/definitions/app.Response"
  7266. }
  7267. }
  7268. }
  7269. }
  7270. },
  7271. "/HSBY/QueryProvincesAndCities": {
  7272. "get": {
  7273. "security": [
  7274. {
  7275. "ApiKeyAuth": []
  7276. }
  7277. ],
  7278. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7279. "produces": [
  7280. "application/json"
  7281. ],
  7282. "tags": [
  7283. "定制【海商报业】"
  7284. ],
  7285. "summary": "查询省市信息(不包括区)",
  7286. "parameters": [
  7287. {
  7288. "type": "integer",
  7289. "description": "省ID",
  7290. "name": "provinceID",
  7291. "in": "query"
  7292. }
  7293. ],
  7294. "responses": {
  7295. "200": {
  7296. "description": "OK",
  7297. "schema": {
  7298. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7299. }
  7300. },
  7301. "500": {
  7302. "description": "Internal Server Error",
  7303. "schema": {
  7304. "$ref": "#/definitions/app.Response"
  7305. }
  7306. }
  7307. }
  7308. }
  7309. },
  7310. "/HSBY/SetHsbyMyPackagesStatus": {
  7311. "post": {
  7312. "security": [
  7313. {
  7314. "ApiKeyAuth": []
  7315. }
  7316. ],
  7317. "produces": [
  7318. "application/json"
  7319. ],
  7320. "tags": [
  7321. "定制【海商报业】"
  7322. ],
  7323. "summary": "设置我的包裹已收货状态",
  7324. "parameters": [
  7325. {
  7326. "type": "string",
  7327. "description": "提货单号",
  7328. "name": "takeOrderID",
  7329. "in": "query",
  7330. "required": true
  7331. },
  7332. {
  7333. "type": "integer",
  7334. "description": "资金账号",
  7335. "name": "accountID",
  7336. "in": "query",
  7337. "required": true
  7338. }
  7339. ],
  7340. "responses": {
  7341. "200": {
  7342. "description": "OK",
  7343. "schema": {
  7344. "$ref": "#/definitions/app.Response"
  7345. }
  7346. },
  7347. "500": {
  7348. "description": "Internal Server Error",
  7349. "schema": {
  7350. "$ref": "#/definitions/app.Response"
  7351. }
  7352. }
  7353. }
  7354. }
  7355. },
  7356. "/Market/GetAllExExchanges": {
  7357. "get": {
  7358. "security": [
  7359. {
  7360. "ApiKeyAuth": []
  7361. }
  7362. ],
  7363. "produces": [
  7364. "application/json"
  7365. ],
  7366. "tags": [
  7367. "通用市场"
  7368. ],
  7369. "summary": "获取所有外部交易所信息",
  7370. "responses": {
  7371. "200": {
  7372. "description": "OK",
  7373. "schema": {
  7374. "$ref": "#/definitions/models.Goods"
  7375. }
  7376. },
  7377. "500": {
  7378. "description": "Internal Server Error",
  7379. "schema": {
  7380. "$ref": "#/definitions/app.Response"
  7381. }
  7382. }
  7383. }
  7384. }
  7385. },
  7386. "/Market/QueryGoodsesByLoginID": {
  7387. "get": {
  7388. "security": [
  7389. {
  7390. "ApiKeyAuth": []
  7391. }
  7392. ],
  7393. "produces": [
  7394. "application/json"
  7395. ],
  7396. "tags": [
  7397. "通用市场"
  7398. ],
  7399. "summary": "获取登录账号有权限的商品信息",
  7400. "parameters": [
  7401. {
  7402. "type": "integer",
  7403. "description": "登录账号",
  7404. "name": "loginID",
  7405. "in": "query",
  7406. "required": true
  7407. },
  7408. {
  7409. "type": "string",
  7410. "description": "市场ID列表,格式:1,2,3",
  7411. "name": "marketIDs",
  7412. "in": "query"
  7413. }
  7414. ],
  7415. "responses": {
  7416. "200": {
  7417. "description": "OK",
  7418. "schema": {
  7419. "$ref": "#/definitions/models.Goods"
  7420. }
  7421. },
  7422. "500": {
  7423. "description": "Internal Server Error",
  7424. "schema": {
  7425. "$ref": "#/definitions/app.Response"
  7426. }
  7427. }
  7428. }
  7429. }
  7430. },
  7431. "/Market/QueryMarketRun": {
  7432. "get": {
  7433. "security": [
  7434. {
  7435. "ApiKeyAuth": []
  7436. }
  7437. ],
  7438. "produces": [
  7439. "application/json"
  7440. ],
  7441. "tags": [
  7442. "通用市场"
  7443. ],
  7444. "summary": "查询市场运行信息",
  7445. "parameters": [
  7446. {
  7447. "type": "integer",
  7448. "description": "市场ID,不传返回所有",
  7449. "name": "marketID",
  7450. "in": "query"
  7451. }
  7452. ],
  7453. "responses": {
  7454. "200": {
  7455. "description": "OK",
  7456. "schema": {
  7457. "$ref": "#/definitions/models.Marketrun"
  7458. }
  7459. },
  7460. "500": {
  7461. "description": "Internal Server Error",
  7462. "schema": {
  7463. "$ref": "#/definitions/app.Response"
  7464. }
  7465. }
  7466. }
  7467. }
  7468. },
  7469. "/Market/QueryMarketsByLoginID": {
  7470. "get": {
  7471. "security": [
  7472. {
  7473. "ApiKeyAuth": []
  7474. }
  7475. ],
  7476. "produces": [
  7477. "application/json"
  7478. ],
  7479. "tags": [
  7480. "通用市场"
  7481. ],
  7482. "summary": "获取登录账号有权限的市场信息",
  7483. "parameters": [
  7484. {
  7485. "type": "integer",
  7486. "description": "登录账号",
  7487. "name": "loginID",
  7488. "in": "query",
  7489. "required": true
  7490. }
  7491. ],
  7492. "responses": {
  7493. "200": {
  7494. "description": "OK",
  7495. "schema": {
  7496. "$ref": "#/definitions/models.Market"
  7497. }
  7498. },
  7499. "500": {
  7500. "description": "Internal Server Error",
  7501. "schema": {
  7502. "$ref": "#/definitions/app.Response"
  7503. }
  7504. }
  7505. }
  7506. }
  7507. },
  7508. "/Order/QueryHisTradeDetail": {
  7509. "get": {
  7510. "security": [
  7511. {
  7512. "ApiKeyAuth": []
  7513. }
  7514. ],
  7515. "produces": [
  7516. "application/json"
  7517. ],
  7518. "tags": [
  7519. "通用单据"
  7520. ],
  7521. "summary": "历史成交单查询(合约市场)",
  7522. "parameters": [
  7523. {
  7524. "type": "string",
  7525. "description": "资金账户 - 格式:1,2,3",
  7526. "name": "accountID",
  7527. "in": "query",
  7528. "required": true
  7529. },
  7530. {
  7531. "type": "integer",
  7532. "description": "成交单号",
  7533. "name": "tradeID",
  7534. "in": "query"
  7535. },
  7536. {
  7537. "type": "integer",
  7538. "description": "委托单号",
  7539. "name": "orderID",
  7540. "in": "query"
  7541. },
  7542. {
  7543. "type": "integer",
  7544. "description": "商品ID",
  7545. "name": "goodsID",
  7546. "in": "query"
  7547. },
  7548. {
  7549. "type": "string",
  7550. "description": "交易模式 - 格式:1,2,3",
  7551. "name": "tradeMode",
  7552. "in": "query"
  7553. },
  7554. {
  7555. "type": "integer",
  7556. "description": "委托单据类型",
  7557. "name": "buildType",
  7558. "in": "query"
  7559. },
  7560. {
  7561. "type": "string",
  7562. "description": "成交类别 - 格式:1,2,3",
  7563. "name": "tradeType",
  7564. "in": "query"
  7565. },
  7566. {
  7567. "type": "string",
  7568. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7569. "name": "startDate",
  7570. "in": "query"
  7571. },
  7572. {
  7573. "type": "string",
  7574. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7575. "name": "endDate",
  7576. "in": "query"
  7577. }
  7578. ],
  7579. "responses": {
  7580. "200": {
  7581. "description": "OK",
  7582. "schema": {
  7583. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7584. }
  7585. },
  7586. "500": {
  7587. "description": "Internal Server Error",
  7588. "schema": {
  7589. "$ref": "#/definitions/app.Response"
  7590. }
  7591. }
  7592. }
  7593. }
  7594. },
  7595. "/Order/QueryHisTradeOrderDetail": {
  7596. "get": {
  7597. "security": [
  7598. {
  7599. "ApiKeyAuth": []
  7600. }
  7601. ],
  7602. "produces": [
  7603. "application/json"
  7604. ],
  7605. "tags": [
  7606. "通用单据"
  7607. ],
  7608. "summary": "历史委托单查询请求(合约市场)",
  7609. "parameters": [
  7610. {
  7611. "type": "string",
  7612. "description": "资金账户 - 格式:1,2,3",
  7613. "name": "accountID",
  7614. "in": "query",
  7615. "required": true
  7616. },
  7617. {
  7618. "type": "string",
  7619. "description": "交易模式 - 格式:1,2,3",
  7620. "name": "tradeMode",
  7621. "in": "query"
  7622. },
  7623. {
  7624. "type": "string",
  7625. "description": "委托状态 - 格式:1,2,3",
  7626. "name": "orderStatus",
  7627. "in": "query"
  7628. },
  7629. {
  7630. "type": "integer",
  7631. "description": "委托单号",
  7632. "name": "orderID",
  7633. "in": "query"
  7634. },
  7635. {
  7636. "type": "string",
  7637. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7638. "name": "startDate",
  7639. "in": "query"
  7640. },
  7641. {
  7642. "type": "string",
  7643. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7644. "name": "endDate",
  7645. "in": "query"
  7646. }
  7647. ],
  7648. "responses": {
  7649. "200": {
  7650. "description": "OK",
  7651. "schema": {
  7652. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7653. }
  7654. },
  7655. "500": {
  7656. "description": "Internal Server Error",
  7657. "schema": {
  7658. "$ref": "#/definitions/app.Response"
  7659. }
  7660. }
  7661. }
  7662. }
  7663. },
  7664. "/Order/QueryTradeDetail": {
  7665. "get": {
  7666. "security": [
  7667. {
  7668. "ApiKeyAuth": []
  7669. }
  7670. ],
  7671. "produces": [
  7672. "application/json"
  7673. ],
  7674. "tags": [
  7675. "通用单据"
  7676. ],
  7677. "summary": "成交单查询(合约市场)",
  7678. "parameters": [
  7679. {
  7680. "type": "string",
  7681. "description": "资金账户 - 格式:1,2,3",
  7682. "name": "accountID",
  7683. "in": "query",
  7684. "required": true
  7685. },
  7686. {
  7687. "type": "integer",
  7688. "description": "成交单号",
  7689. "name": "tradeID",
  7690. "in": "query"
  7691. },
  7692. {
  7693. "type": "integer",
  7694. "description": "委托单号",
  7695. "name": "orderID",
  7696. "in": "query"
  7697. },
  7698. {
  7699. "type": "string",
  7700. "description": "交易模式 - 格式:1,2,3",
  7701. "name": "tradeMode",
  7702. "in": "query"
  7703. },
  7704. {
  7705. "type": "integer",
  7706. "description": "委托单据类型",
  7707. "name": "buildType",
  7708. "in": "query"
  7709. },
  7710. {
  7711. "type": "string",
  7712. "description": "成交类别 - 格式:1,2,3",
  7713. "name": "tradeType",
  7714. "in": "query"
  7715. },
  7716. {
  7717. "type": "integer",
  7718. "description": "商品ID",
  7719. "name": "goodsID",
  7720. "in": "query"
  7721. }
  7722. ],
  7723. "responses": {
  7724. "200": {
  7725. "description": "OK",
  7726. "schema": {
  7727. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7728. }
  7729. },
  7730. "500": {
  7731. "description": "Internal Server Error",
  7732. "schema": {
  7733. "$ref": "#/definitions/app.Response"
  7734. }
  7735. }
  7736. }
  7737. }
  7738. },
  7739. "/Order/QueryTradeHolderDetail": {
  7740. "get": {
  7741. "security": [
  7742. {
  7743. "ApiKeyAuth": []
  7744. }
  7745. ],
  7746. "produces": [
  7747. "application/json"
  7748. ],
  7749. "tags": [
  7750. "通用单据"
  7751. ],
  7752. "summary": "查询持仓明细",
  7753. "parameters": [
  7754. {
  7755. "type": "integer",
  7756. "description": "用户id",
  7757. "name": "userid",
  7758. "in": "query"
  7759. },
  7760. {
  7761. "type": "string",
  7762. "description": "资金账号, 格式 1,2,3",
  7763. "name": "accids",
  7764. "in": "query"
  7765. },
  7766. {
  7767. "type": "string",
  7768. "description": "交易模式, 格式 1,2,3",
  7769. "name": "trademodes",
  7770. "in": "query"
  7771. },
  7772. {
  7773. "type": "string",
  7774. "description": "市场id, 格式 1,2,3",
  7775. "name": "marketids",
  7776. "in": "query"
  7777. },
  7778. {
  7779. "type": "integer",
  7780. "description": "商品id",
  7781. "name": "goodsid",
  7782. "in": "query"
  7783. },
  7784. {
  7785. "type": "integer",
  7786. "description": "买卖方向 0-买 1-卖",
  7787. "name": "buyorsell",
  7788. "in": "query"
  7789. }
  7790. ],
  7791. "responses": {
  7792. "200": {
  7793. "description": "OK",
  7794. "schema": {
  7795. "type": "array",
  7796. "items": {
  7797. "$ref": "#/definitions/models.TradeHolderDetail"
  7798. }
  7799. }
  7800. },
  7801. "500": {
  7802. "description": "Internal Server Error",
  7803. "schema": {
  7804. "$ref": "#/definitions/app.Response"
  7805. }
  7806. }
  7807. }
  7808. }
  7809. },
  7810. "/Order/QueryTradeOrderDetail": {
  7811. "get": {
  7812. "security": [
  7813. {
  7814. "ApiKeyAuth": []
  7815. }
  7816. ],
  7817. "produces": [
  7818. "application/json"
  7819. ],
  7820. "tags": [
  7821. "通用单据"
  7822. ],
  7823. "summary": "委托单查询请求(合约市场)",
  7824. "parameters": [
  7825. {
  7826. "type": "string",
  7827. "description": "资金账户 - 格式:1,2,3",
  7828. "name": "accountID",
  7829. "in": "query",
  7830. "required": true
  7831. },
  7832. {
  7833. "type": "string",
  7834. "description": "交易模式 - 格式:1,2,3",
  7835. "name": "tradeMode",
  7836. "in": "query"
  7837. },
  7838. {
  7839. "type": "string",
  7840. "description": "委托状态 - 格式:1,2,3",
  7841. "name": "orderStatus",
  7842. "in": "query"
  7843. },
  7844. {
  7845. "type": "integer",
  7846. "description": "委托单号",
  7847. "name": "orderID",
  7848. "in": "query"
  7849. }
  7850. ],
  7851. "responses": {
  7852. "200": {
  7853. "description": "OK",
  7854. "schema": {
  7855. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7856. }
  7857. },
  7858. "500": {
  7859. "description": "Internal Server Error",
  7860. "schema": {
  7861. "$ref": "#/definitions/app.Response"
  7862. }
  7863. }
  7864. }
  7865. }
  7866. },
  7867. "/Order/QueryTradePosition": {
  7868. "get": {
  7869. "security": [
  7870. {
  7871. "ApiKeyAuth": []
  7872. }
  7873. ],
  7874. "produces": [
  7875. "application/json"
  7876. ],
  7877. "tags": [
  7878. "通用单据"
  7879. ],
  7880. "summary": "持仓汇总查询(合约市场)",
  7881. "parameters": [
  7882. {
  7883. "type": "string",
  7884. "description": "资金账户 - 格式:1,2,3",
  7885. "name": "accountID",
  7886. "in": "query",
  7887. "required": true
  7888. },
  7889. {
  7890. "type": "string",
  7891. "description": "交易模式 - 格式:1,2,3",
  7892. "name": "tradeMode",
  7893. "in": "query"
  7894. }
  7895. ],
  7896. "responses": {
  7897. "200": {
  7898. "description": "OK",
  7899. "schema": {
  7900. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7901. }
  7902. },
  7903. "500": {
  7904. "description": "Internal Server Error",
  7905. "schema": {
  7906. "$ref": "#/definitions/app.Response"
  7907. }
  7908. }
  7909. }
  7910. }
  7911. },
  7912. "/Qhj/QueryAccountInOutApply": {
  7913. "get": {
  7914. "security": [
  7915. {
  7916. "ApiKeyAuth": []
  7917. }
  7918. ],
  7919. "produces": [
  7920. "application/json"
  7921. ],
  7922. "tags": [
  7923. "大连千海金"
  7924. ],
  7925. "summary": "查询充值提现",
  7926. "parameters": [
  7927. {
  7928. "type": "integer",
  7929. "description": "用户ID",
  7930. "name": "userid",
  7931. "in": "query",
  7932. "required": true
  7933. },
  7934. {
  7935. "type": "string",
  7936. "description": "申请起始日期(格式yyyymmdd)",
  7937. "name": "begindate",
  7938. "in": "query"
  7939. },
  7940. {
  7941. "type": "string",
  7942. "description": "申请截止日期(格式yyyymmdd)",
  7943. "name": "enddate",
  7944. "in": "query"
  7945. },
  7946. {
  7947. "type": "string",
  7948. "description": "模糊搜索名称",
  7949. "name": "likename",
  7950. "in": "query"
  7951. }
  7952. ],
  7953. "responses": {
  7954. "200": {
  7955. "description": "OK",
  7956. "schema": {
  7957. "type": "array",
  7958. "items": {
  7959. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7960. }
  7961. }
  7962. },
  7963. "500": {
  7964. "description": "Internal Server Error",
  7965. "schema": {
  7966. "$ref": "#/definitions/app.Response"
  7967. }
  7968. }
  7969. }
  7970. }
  7971. },
  7972. "/Qhj/QueryAreaFinanceConfig": {
  7973. "get": {
  7974. "security": [
  7975. {
  7976. "ApiKeyAuth": []
  7977. }
  7978. ],
  7979. "produces": [
  7980. "application/json"
  7981. ],
  7982. "tags": [
  7983. "大连千海金"
  7984. ],
  7985. "summary": "查询企业配置表",
  7986. "parameters": [
  7987. {
  7988. "type": "integer",
  7989. "description": "机构用户ID 其他做市关系,都设置为 1",
  7990. "name": "userid",
  7991. "in": "query"
  7992. }
  7993. ],
  7994. "responses": {
  7995. "200": {
  7996. "description": "OK",
  7997. "schema": {
  7998. "type": "array",
  7999. "items": {
  8000. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  8001. }
  8002. }
  8003. },
  8004. "500": {
  8005. "description": "Internal Server Error",
  8006. "schema": {
  8007. "$ref": "#/definitions/app.Response"
  8008. }
  8009. }
  8010. }
  8011. }
  8012. },
  8013. "/Qhj/QueryBankAccountSign": {
  8014. "get": {
  8015. "security": [
  8016. {
  8017. "ApiKeyAuth": []
  8018. }
  8019. ],
  8020. "produces": [
  8021. "application/json"
  8022. ],
  8023. "tags": [
  8024. "大连千海金"
  8025. ],
  8026. "summary": "查询签约银行信息(提现账户管理)",
  8027. "parameters": [
  8028. {
  8029. "type": "integer",
  8030. "description": "用户ID",
  8031. "name": "userid",
  8032. "in": "query",
  8033. "required": true
  8034. }
  8035. ],
  8036. "responses": {
  8037. "200": {
  8038. "description": "OK",
  8039. "schema": {
  8040. "type": "array",
  8041. "items": {
  8042. "$ref": "#/definitions/models.QhjBankAccountSign"
  8043. }
  8044. }
  8045. },
  8046. "500": {
  8047. "description": "Internal Server Error",
  8048. "schema": {
  8049. "$ref": "#/definitions/app.Response"
  8050. }
  8051. }
  8052. }
  8053. }
  8054. },
  8055. "/Qhj/QueryBankInfo": {
  8056. "get": {
  8057. "security": [
  8058. {
  8059. "ApiKeyAuth": []
  8060. }
  8061. ],
  8062. "produces": [
  8063. "application/json"
  8064. ],
  8065. "tags": [
  8066. "大连千海金"
  8067. ],
  8068. "summary": "查询开户行",
  8069. "responses": {
  8070. "200": {
  8071. "description": "OK",
  8072. "schema": {
  8073. "type": "array",
  8074. "items": {
  8075. "$ref": "#/definitions/models.QhjBankInfo"
  8076. }
  8077. }
  8078. },
  8079. "500": {
  8080. "description": "Internal Server Error",
  8081. "schema": {
  8082. "$ref": "#/definitions/app.Response"
  8083. }
  8084. }
  8085. }
  8086. }
  8087. },
  8088. "/Qhj/QueryBrokerApply": {
  8089. "get": {
  8090. "security": [
  8091. {
  8092. "ApiKeyAuth": []
  8093. }
  8094. ],
  8095. "produces": [
  8096. "application/json"
  8097. ],
  8098. "tags": [
  8099. "大连千海金"
  8100. ],
  8101. "summary": "查询经纪人申请",
  8102. "parameters": [
  8103. {
  8104. "type": "integer",
  8105. "description": "所属机构ID",
  8106. "name": "userid",
  8107. "in": "query"
  8108. },
  8109. {
  8110. "type": "string",
  8111. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8112. "name": "filterstatus",
  8113. "in": "query"
  8114. }
  8115. ],
  8116. "responses": {
  8117. "200": {
  8118. "description": "OK",
  8119. "schema": {
  8120. "type": "array",
  8121. "items": {
  8122. "$ref": "#/definitions/models.QhjBrokerApply"
  8123. }
  8124. }
  8125. },
  8126. "500": {
  8127. "description": "Internal Server Error",
  8128. "schema": {
  8129. "$ref": "#/definitions/app.Response"
  8130. }
  8131. }
  8132. }
  8133. }
  8134. },
  8135. "/Qhj/QueryBrokerApplyEx": {
  8136. "get": {
  8137. "security": [
  8138. {
  8139. "ApiKeyAuth": []
  8140. }
  8141. ],
  8142. "produces": [
  8143. "application/json"
  8144. ],
  8145. "tags": [
  8146. "大连千海金"
  8147. ],
  8148. "summary": "查询经纪人信息和申请记录",
  8149. "parameters": [
  8150. {
  8151. "type": "integer",
  8152. "description": "所属机构ID",
  8153. "name": "userid",
  8154. "in": "query"
  8155. }
  8156. ],
  8157. "responses": {
  8158. "200": {
  8159. "description": "OK",
  8160. "schema": {
  8161. "type": "array",
  8162. "items": {
  8163. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8164. }
  8165. }
  8166. },
  8167. "500": {
  8168. "description": "Internal Server Error",
  8169. "schema": {
  8170. "$ref": "#/definitions/app.Response"
  8171. }
  8172. }
  8173. }
  8174. }
  8175. },
  8176. "/Qhj/QueryBrokerRewardLog": {
  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. "required": true
  8197. },
  8198. {
  8199. "type": "string",
  8200. "description": "开始交易日(yyyymmdd)",
  8201. "name": "begindate",
  8202. "in": "query"
  8203. },
  8204. {
  8205. "type": "string",
  8206. "description": "结束交易日(yyyymmdd)",
  8207. "name": "enddate",
  8208. "in": "query"
  8209. }
  8210. ],
  8211. "responses": {
  8212. "200": {
  8213. "description": "OK",
  8214. "schema": {
  8215. "type": "array",
  8216. "items": {
  8217. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8218. }
  8219. }
  8220. },
  8221. "500": {
  8222. "description": "Internal Server Error",
  8223. "schema": {
  8224. "$ref": "#/definitions/app.Response"
  8225. }
  8226. }
  8227. }
  8228. }
  8229. },
  8230. "/Qhj/QueryContract": {
  8231. "get": {
  8232. "security": [
  8233. {
  8234. "ApiKeyAuth": []
  8235. }
  8236. ],
  8237. "produces": [
  8238. "application/json"
  8239. ],
  8240. "tags": [
  8241. "大连千海金"
  8242. ],
  8243. "summary": "查询融资明细(合同)",
  8244. "parameters": [
  8245. {
  8246. "type": "integer",
  8247. "description": "用户ID",
  8248. "name": "userid",
  8249. "in": "query"
  8250. },
  8251. {
  8252. "type": "integer",
  8253. "description": "scf合同id",
  8254. "name": "scfcontractid",
  8255. "in": "query"
  8256. }
  8257. ],
  8258. "responses": {
  8259. "200": {
  8260. "description": "OK",
  8261. "schema": {
  8262. "type": "array",
  8263. "items": {
  8264. "$ref": "#/definitions/models.QhjContract"
  8265. }
  8266. }
  8267. },
  8268. "500": {
  8269. "description": "Internal Server Error",
  8270. "schema": {
  8271. "$ref": "#/definitions/app.Response"
  8272. }
  8273. }
  8274. }
  8275. }
  8276. },
  8277. "/Qhj/QueryContractLog": {
  8278. "get": {
  8279. "security": [
  8280. {
  8281. "ApiKeyAuth": []
  8282. }
  8283. ],
  8284. "produces": [
  8285. "application/json"
  8286. ],
  8287. "tags": [
  8288. "大连千海金"
  8289. ],
  8290. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8291. "parameters": [
  8292. {
  8293. "type": "integer",
  8294. "description": "scf合同id",
  8295. "name": "scfcontractid",
  8296. "in": "query",
  8297. "required": true
  8298. },
  8299. {
  8300. "type": "string",
  8301. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8302. "name": "amounttype",
  8303. "in": "query"
  8304. }
  8305. ],
  8306. "responses": {
  8307. "200": {
  8308. "description": "OK",
  8309. "schema": {
  8310. "type": "array",
  8311. "items": {
  8312. "$ref": "#/definitions/models.QhjContractLog"
  8313. }
  8314. }
  8315. },
  8316. "500": {
  8317. "description": "Internal Server Error",
  8318. "schema": {
  8319. "$ref": "#/definitions/app.Response"
  8320. }
  8321. }
  8322. }
  8323. }
  8324. },
  8325. "/Qhj/QueryCusBankSignBank": {
  8326. "get": {
  8327. "security": [
  8328. {
  8329. "ApiKeyAuth": []
  8330. }
  8331. ],
  8332. "produces": [
  8333. "application/json"
  8334. ],
  8335. "tags": [
  8336. "大连千海金"
  8337. ],
  8338. "summary": "查询托管银行",
  8339. "responses": {
  8340. "200": {
  8341. "description": "OK",
  8342. "schema": {
  8343. "type": "array",
  8344. "items": {
  8345. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8346. }
  8347. }
  8348. },
  8349. "500": {
  8350. "description": "Internal Server Error",
  8351. "schema": {
  8352. "$ref": "#/definitions/app.Response"
  8353. }
  8354. }
  8355. }
  8356. }
  8357. },
  8358. "/Qhj/QueryCustomerInfo": {
  8359. "get": {
  8360. "security": [
  8361. {
  8362. "ApiKeyAuth": []
  8363. }
  8364. ],
  8365. "produces": [
  8366. "application/json"
  8367. ],
  8368. "tags": [
  8369. "大连千海金"
  8370. ],
  8371. "summary": "查询客户资料",
  8372. "parameters": [
  8373. {
  8374. "type": "integer",
  8375. "description": "用户ID",
  8376. "name": "userid",
  8377. "in": "query",
  8378. "required": true
  8379. },
  8380. {
  8381. "type": "integer",
  8382. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8383. "name": "querytype",
  8384. "in": "query",
  8385. "required": true
  8386. },
  8387. {
  8388. "type": "integer",
  8389. "description": "客户类型 1-个人 2-企业",
  8390. "name": "userinfotype",
  8391. "in": "query"
  8392. },
  8393. {
  8394. "type": "string",
  8395. "description": "客户名称(模糊匹配)",
  8396. "name": "customername",
  8397. "in": "query"
  8398. },
  8399. {
  8400. "type": "string",
  8401. "description": "昵称(模糊匹配)",
  8402. "name": "nickname",
  8403. "in": "query"
  8404. },
  8405. {
  8406. "type": "integer",
  8407. "description": "是否包含子级 1-包含",
  8408. "name": "includesub",
  8409. "in": "query"
  8410. }
  8411. ],
  8412. "responses": {
  8413. "200": {
  8414. "description": "OK",
  8415. "schema": {
  8416. "type": "array",
  8417. "items": {
  8418. "$ref": "#/definitions/models.QhjCustomer"
  8419. }
  8420. }
  8421. },
  8422. "500": {
  8423. "description": "Internal Server Error",
  8424. "schema": {
  8425. "$ref": "#/definitions/app.Response"
  8426. }
  8427. }
  8428. }
  8429. }
  8430. },
  8431. "/Qhj/QueryGoodsEx": {
  8432. "get": {
  8433. "security": [
  8434. {
  8435. "ApiKeyAuth": []
  8436. }
  8437. ],
  8438. "produces": [
  8439. "application/json"
  8440. ],
  8441. "tags": [
  8442. "大连千海金"
  8443. ],
  8444. "summary": "交易商品扩展表",
  8445. "parameters": [
  8446. {
  8447. "type": "integer",
  8448. "description": "商品id",
  8449. "name": "goodsid",
  8450. "in": "query"
  8451. }
  8452. ],
  8453. "responses": {
  8454. "200": {
  8455. "description": "OK",
  8456. "schema": {
  8457. "type": "array",
  8458. "items": {
  8459. "$ref": "#/definitions/models.Qhjgoodsex"
  8460. }
  8461. }
  8462. },
  8463. "500": {
  8464. "description": "Internal Server Error",
  8465. "schema": {
  8466. "$ref": "#/definitions/app.Response"
  8467. }
  8468. }
  8469. }
  8470. }
  8471. },
  8472. "/Qhj/QueryMyTeam": {
  8473. "get": {
  8474. "security": [
  8475. {
  8476. "ApiKeyAuth": []
  8477. }
  8478. ],
  8479. "produces": [
  8480. "application/json"
  8481. ],
  8482. "tags": [
  8483. "大连千海金"
  8484. ],
  8485. "summary": "查询我的团队",
  8486. "parameters": [
  8487. {
  8488. "type": "integer",
  8489. "description": "用户ID",
  8490. "name": "userid",
  8491. "in": "query",
  8492. "required": true
  8493. }
  8494. ],
  8495. "responses": {
  8496. "200": {
  8497. "description": "OK",
  8498. "schema": {
  8499. "type": "array",
  8500. "items": {
  8501. "$ref": "#/definitions/models.QhjMyTeamEx"
  8502. }
  8503. }
  8504. },
  8505. "500": {
  8506. "description": "Internal Server Error",
  8507. "schema": {
  8508. "$ref": "#/definitions/app.Response"
  8509. }
  8510. }
  8511. }
  8512. }
  8513. },
  8514. "/Qhj/QueryMyTeamOrder": {
  8515. "get": {
  8516. "security": [
  8517. {
  8518. "ApiKeyAuth": []
  8519. }
  8520. ],
  8521. "produces": [
  8522. "application/json"
  8523. ],
  8524. "tags": [
  8525. "大连千海金"
  8526. ],
  8527. "summary": "查询团队订单(我的团队/团队订单)",
  8528. "parameters": [
  8529. {
  8530. "type": "integer",
  8531. "description": "页码",
  8532. "name": "page",
  8533. "in": "query"
  8534. },
  8535. {
  8536. "type": "integer",
  8537. "description": "每页条数",
  8538. "name": "pagesize",
  8539. "in": "query"
  8540. },
  8541. {
  8542. "type": "integer",
  8543. "description": "用户ID",
  8544. "name": "userid",
  8545. "in": "query",
  8546. "required": true
  8547. },
  8548. {
  8549. "type": "integer",
  8550. "description": "交易模式",
  8551. "name": "trademode",
  8552. "in": "query"
  8553. },
  8554. {
  8555. "type": "string",
  8556. "description": "名称(模糊搜索账户)",
  8557. "name": "filtername",
  8558. "in": "query"
  8559. }
  8560. ],
  8561. "responses": {
  8562. "200": {
  8563. "description": "OK",
  8564. "schema": {
  8565. "type": "array",
  8566. "items": {
  8567. "$ref": "#/definitions/models.QhjTeamOrder"
  8568. }
  8569. }
  8570. },
  8571. "500": {
  8572. "description": "Internal Server Error",
  8573. "schema": {
  8574. "$ref": "#/definitions/app.Response"
  8575. }
  8576. }
  8577. }
  8578. }
  8579. },
  8580. "/Qhj/QueryParentAreaList": {
  8581. "get": {
  8582. "security": [
  8583. {
  8584. "ApiKeyAuth": []
  8585. }
  8586. ],
  8587. "produces": [
  8588. "application/json"
  8589. ],
  8590. "tags": [
  8591. "大连千海金"
  8592. ],
  8593. "summary": "查询所属机构列表",
  8594. "parameters": [
  8595. {
  8596. "type": "integer",
  8597. "description": "用户ID",
  8598. "name": "userid",
  8599. "in": "query",
  8600. "required": true
  8601. }
  8602. ],
  8603. "responses": {
  8604. "200": {
  8605. "description": "OK",
  8606. "schema": {
  8607. "type": "array",
  8608. "items": {
  8609. "$ref": "#/definitions/models.QhjParentAreaList"
  8610. }
  8611. }
  8612. },
  8613. "500": {
  8614. "description": "Internal Server Error",
  8615. "schema": {
  8616. "$ref": "#/definitions/app.Response"
  8617. }
  8618. }
  8619. }
  8620. }
  8621. },
  8622. "/Qhj/QueryPayOrder": {
  8623. "get": {
  8624. "security": [
  8625. {
  8626. "ApiKeyAuth": []
  8627. }
  8628. ],
  8629. "produces": [
  8630. "application/json"
  8631. ],
  8632. "tags": [
  8633. "大连千海金"
  8634. ],
  8635. "summary": "查询待付款单据",
  8636. "parameters": [
  8637. {
  8638. "type": "integer",
  8639. "description": "资金账号id",
  8640. "name": "accountid",
  8641. "in": "query",
  8642. "required": true
  8643. },
  8644. {
  8645. "type": "integer",
  8646. "description": "成交单号",
  8647. "name": "tradeid",
  8648. "in": "query"
  8649. },
  8650. {
  8651. "type": "string",
  8652. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8653. "name": "payflag",
  8654. "in": "query"
  8655. }
  8656. ],
  8657. "responses": {
  8658. "200": {
  8659. "description": "OK",
  8660. "schema": {
  8661. "type": "array",
  8662. "items": {
  8663. "$ref": "#/definitions/models.QhjPayOrder"
  8664. }
  8665. }
  8666. },
  8667. "500": {
  8668. "description": "Internal Server Error",
  8669. "schema": {
  8670. "$ref": "#/definitions/app.Response"
  8671. }
  8672. }
  8673. }
  8674. }
  8675. },
  8676. "/Qhj/QueryPickArea": {
  8677. "get": {
  8678. "security": [
  8679. {
  8680. "ApiKeyAuth": []
  8681. }
  8682. ],
  8683. "produces": [
  8684. "application/json"
  8685. ],
  8686. "tags": [
  8687. "大连千海金"
  8688. ],
  8689. "summary": "查询提货门店",
  8690. "parameters": [
  8691. {
  8692. "type": "integer",
  8693. "description": "用户ID",
  8694. "name": "userid",
  8695. "in": "query"
  8696. }
  8697. ],
  8698. "responses": {
  8699. "200": {
  8700. "description": "OK",
  8701. "schema": {
  8702. "type": "array",
  8703. "items": {
  8704. "$ref": "#/definitions/models.QhjPickArea"
  8705. }
  8706. }
  8707. },
  8708. "500": {
  8709. "description": "Internal Server Error",
  8710. "schema": {
  8711. "$ref": "#/definitions/app.Response"
  8712. }
  8713. }
  8714. }
  8715. }
  8716. },
  8717. "/Qhj/QueryPickGoods": {
  8718. "get": {
  8719. "security": [
  8720. {
  8721. "ApiKeyAuth": []
  8722. }
  8723. ],
  8724. "produces": [
  8725. "application/json"
  8726. ],
  8727. "tags": [
  8728. "大连千海金"
  8729. ],
  8730. "summary": "查询提货商品",
  8731. "parameters": [
  8732. {
  8733. "type": "integer",
  8734. "description": "交易商品id",
  8735. "name": "goodsid",
  8736. "in": "query",
  8737. "required": true
  8738. },
  8739. {
  8740. "type": "string",
  8741. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8742. "name": "status",
  8743. "in": "query"
  8744. }
  8745. ],
  8746. "responses": {
  8747. "200": {
  8748. "description": "OK",
  8749. "schema": {
  8750. "type": "array",
  8751. "items": {
  8752. "$ref": "#/definitions/models.QhjPickGoods"
  8753. }
  8754. }
  8755. },
  8756. "500": {
  8757. "description": "Internal Server Error",
  8758. "schema": {
  8759. "$ref": "#/definitions/app.Response"
  8760. }
  8761. }
  8762. }
  8763. }
  8764. },
  8765. "/Qhj/QueryRSTriggerLog": {
  8766. "get": {
  8767. "security": [
  8768. {
  8769. "ApiKeyAuth": []
  8770. }
  8771. ],
  8772. "produces": [
  8773. "application/json"
  8774. ],
  8775. "tags": [
  8776. "大连千海金"
  8777. ],
  8778. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8779. "parameters": [
  8780. {
  8781. "type": "integer",
  8782. "description": "用户ID",
  8783. "name": "userid",
  8784. "in": "query"
  8785. },
  8786. {
  8787. "type": "integer",
  8788. "description": "定投策略id",
  8789. "name": "regularlystrategyid",
  8790. "in": "query"
  8791. },
  8792. {
  8793. "type": "integer",
  8794. "description": "商品id",
  8795. "name": "goodsid",
  8796. "in": "query"
  8797. },
  8798. {
  8799. "type": "string",
  8800. "description": "开始交易日(yyyymmdd)",
  8801. "name": "begindate",
  8802. "in": "query"
  8803. },
  8804. {
  8805. "type": "string",
  8806. "description": "结束交易日(yyyymmdd)",
  8807. "name": "enddate",
  8808. "in": "query"
  8809. },
  8810. {
  8811. "type": "string",
  8812. "description": "名称(模糊搜索账户)",
  8813. "name": "filtername",
  8814. "in": "query"
  8815. }
  8816. ],
  8817. "responses": {
  8818. "200": {
  8819. "description": "OK",
  8820. "schema": {
  8821. "type": "array",
  8822. "items": {
  8823. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8824. }
  8825. }
  8826. },
  8827. "500": {
  8828. "description": "Internal Server Error",
  8829. "schema": {
  8830. "$ref": "#/definitions/app.Response"
  8831. }
  8832. }
  8833. }
  8834. }
  8835. },
  8836. "/Qhj/QueryRStrategy": {
  8837. "get": {
  8838. "security": [
  8839. {
  8840. "ApiKeyAuth": []
  8841. }
  8842. ],
  8843. "produces": [
  8844. "application/json"
  8845. ],
  8846. "tags": [
  8847. "大连千海金"
  8848. ],
  8849. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8850. "parameters": [
  8851. {
  8852. "type": "integer",
  8853. "description": "用户ID",
  8854. "name": "userid",
  8855. "in": "query"
  8856. },
  8857. {
  8858. "type": "integer",
  8859. "description": "商品id",
  8860. "name": "goodsid",
  8861. "in": "query"
  8862. },
  8863. {
  8864. "type": "string",
  8865. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8866. "name": "status",
  8867. "in": "query"
  8868. },
  8869. {
  8870. "type": "string",
  8871. "description": "名称(模糊搜索账户)",
  8872. "name": "filtername",
  8873. "in": "query"
  8874. }
  8875. ],
  8876. "responses": {
  8877. "200": {
  8878. "description": "OK",
  8879. "schema": {
  8880. "type": "array",
  8881. "items": {
  8882. "$ref": "#/definitions/models.QhjRStrategy"
  8883. }
  8884. }
  8885. },
  8886. "500": {
  8887. "description": "Internal Server Error",
  8888. "schema": {
  8889. "$ref": "#/definitions/app.Response"
  8890. }
  8891. }
  8892. }
  8893. }
  8894. },
  8895. "/Qhj/QueryReckonPriceLog": {
  8896. "get": {
  8897. "security": [
  8898. {
  8899. "ApiKeyAuth": []
  8900. }
  8901. ],
  8902. "produces": [
  8903. "application/json"
  8904. ],
  8905. "tags": [
  8906. "大连千海金"
  8907. ],
  8908. "summary": "查询定投价(结算价)",
  8909. "parameters": [
  8910. {
  8911. "type": "integer",
  8912. "description": "商品ID",
  8913. "name": "goodsid",
  8914. "in": "query"
  8915. },
  8916. {
  8917. "type": "string",
  8918. "description": "交易日 格式(yyyymmdd)",
  8919. "name": "tradedate",
  8920. "in": "query"
  8921. }
  8922. ],
  8923. "responses": {
  8924. "200": {
  8925. "description": "OK",
  8926. "schema": {
  8927. "type": "array",
  8928. "items": {
  8929. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8930. }
  8931. }
  8932. },
  8933. "500": {
  8934. "description": "Internal Server Error",
  8935. "schema": {
  8936. "$ref": "#/definitions/app.Response"
  8937. }
  8938. }
  8939. }
  8940. }
  8941. },
  8942. "/Qhj/QueryScoreLog": {
  8943. "get": {
  8944. "security": [
  8945. {
  8946. "ApiKeyAuth": []
  8947. }
  8948. ],
  8949. "produces": [
  8950. "application/json"
  8951. ],
  8952. "tags": [
  8953. "大连千海金"
  8954. ],
  8955. "summary": "查询积分流水(我的积分)",
  8956. "parameters": [
  8957. {
  8958. "type": "integer",
  8959. "description": "用户ID",
  8960. "name": "userid",
  8961. "in": "query",
  8962. "required": true
  8963. },
  8964. {
  8965. "type": "string",
  8966. "description": "开始交易日(yyyymmdd)",
  8967. "name": "begindate",
  8968. "in": "query"
  8969. },
  8970. {
  8971. "type": "string",
  8972. "description": "结束交易日(yyyymmdd)",
  8973. "name": "enddate",
  8974. "in": "query"
  8975. },
  8976. {
  8977. "type": "integer",
  8978. "description": "最近多少条",
  8979. "name": "lastnum",
  8980. "in": "query"
  8981. }
  8982. ],
  8983. "responses": {
  8984. "200": {
  8985. "description": "OK",
  8986. "schema": {
  8987. "type": "array",
  8988. "items": {
  8989. "$ref": "#/definitions/models.QhjScoreLog"
  8990. }
  8991. }
  8992. },
  8993. "500": {
  8994. "description": "Internal Server Error",
  8995. "schema": {
  8996. "$ref": "#/definitions/app.Response"
  8997. }
  8998. }
  8999. }
  9000. }
  9001. },
  9002. "/Qhj/QuerySiteColumnDetail": {
  9003. "get": {
  9004. "security": [
  9005. {
  9006. "ApiKeyAuth": []
  9007. }
  9008. ],
  9009. "produces": [
  9010. "application/json"
  9011. ],
  9012. "tags": [
  9013. "大连千海金"
  9014. ],
  9015. "summary": "查询资讯",
  9016. "parameters": [
  9017. {
  9018. "type": "integer",
  9019. "description": "用户ID",
  9020. "name": "userid",
  9021. "in": "query",
  9022. "required": true
  9023. }
  9024. ],
  9025. "responses": {
  9026. "200": {
  9027. "description": "OK",
  9028. "schema": {
  9029. "type": "array",
  9030. "items": {
  9031. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  9032. }
  9033. }
  9034. },
  9035. "500": {
  9036. "description": "Internal Server Error",
  9037. "schema": {
  9038. "$ref": "#/definitions/app.Response"
  9039. }
  9040. }
  9041. }
  9042. }
  9043. },
  9044. "/Qhj/QueryTradeGoodsPickup": {
  9045. "get": {
  9046. "security": [
  9047. {
  9048. "ApiKeyAuth": []
  9049. }
  9050. ],
  9051. "produces": [
  9052. "application/json"
  9053. ],
  9054. "tags": [
  9055. "大连千海金"
  9056. ],
  9057. "summary": "查询提货",
  9058. "parameters": [
  9059. {
  9060. "type": "integer",
  9061. "description": "用户ID",
  9062. "name": "userid",
  9063. "in": "query",
  9064. "required": true
  9065. },
  9066. {
  9067. "type": "integer",
  9068. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9069. "name": "takeorderstatus",
  9070. "in": "query"
  9071. }
  9072. ],
  9073. "responses": {
  9074. "200": {
  9075. "description": "OK",
  9076. "schema": {
  9077. "type": "array",
  9078. "items": {
  9079. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9080. }
  9081. }
  9082. },
  9083. "500": {
  9084. "description": "Internal Server Error",
  9085. "schema": {
  9086. "$ref": "#/definitions/app.Response"
  9087. }
  9088. }
  9089. }
  9090. }
  9091. },
  9092. "/Qhj/QueryUserCollectConfig": {
  9093. "get": {
  9094. "security": [
  9095. {
  9096. "ApiKeyAuth": []
  9097. }
  9098. ],
  9099. "produces": [
  9100. "application/json"
  9101. ],
  9102. "tags": [
  9103. "大连千海金"
  9104. ],
  9105. "summary": "查询提现账户设置",
  9106. "parameters": [
  9107. {
  9108. "type": "integer",
  9109. "description": "用户ID",
  9110. "name": "userid",
  9111. "in": "query",
  9112. "required": true
  9113. }
  9114. ],
  9115. "responses": {
  9116. "200": {
  9117. "description": "OK",
  9118. "schema": {
  9119. "type": "array",
  9120. "items": {
  9121. "$ref": "#/definitions/models.UserCollectConfig"
  9122. }
  9123. }
  9124. },
  9125. "500": {
  9126. "description": "Internal Server Error",
  9127. "schema": {
  9128. "$ref": "#/definitions/app.Response"
  9129. }
  9130. }
  9131. }
  9132. }
  9133. },
  9134. "/Qhj/QueryUserReceiveInfo": {
  9135. "get": {
  9136. "security": [
  9137. {
  9138. "ApiKeyAuth": []
  9139. }
  9140. ],
  9141. "produces": [
  9142. "application/json"
  9143. ],
  9144. "tags": [
  9145. "大连千海金"
  9146. ],
  9147. "summary": "查询收货地址信息",
  9148. "parameters": [
  9149. {
  9150. "type": "integer",
  9151. "description": "用户ID",
  9152. "name": "userid",
  9153. "in": "query",
  9154. "required": true
  9155. }
  9156. ],
  9157. "responses": {
  9158. "200": {
  9159. "description": "OK",
  9160. "schema": {
  9161. "type": "array",
  9162. "items": {
  9163. "$ref": "#/definitions/models.UserReceiveInfo"
  9164. }
  9165. }
  9166. },
  9167. "500": {
  9168. "description": "Internal Server Error",
  9169. "schema": {
  9170. "$ref": "#/definitions/app.Response"
  9171. }
  9172. }
  9173. }
  9174. }
  9175. },
  9176. "/QhjMgr/QueryAccountInOutApply": {
  9177. "get": {
  9178. "security": [
  9179. {
  9180. "ApiKeyAuth": []
  9181. }
  9182. ],
  9183. "produces": [
  9184. "application/json"
  9185. ],
  9186. "tags": [
  9187. "大连千海金(PCWeb)"
  9188. ],
  9189. "summary": "查询充值提现",
  9190. "parameters": [
  9191. {
  9192. "type": "integer",
  9193. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9194. "name": "querytype",
  9195. "in": "query",
  9196. "required": true
  9197. },
  9198. {
  9199. "type": "integer",
  9200. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9201. "name": "applystatus",
  9202. "in": "query"
  9203. },
  9204. {
  9205. "type": "string",
  9206. "description": "申请起始日期(格式yyyymmdd)",
  9207. "name": "begindate",
  9208. "in": "query"
  9209. },
  9210. {
  9211. "type": "string",
  9212. "description": "申请截止日期(格式yyyymmdd)",
  9213. "name": "enddate",
  9214. "in": "query"
  9215. },
  9216. {
  9217. "type": "string",
  9218. "description": "模糊搜索名称",
  9219. "name": "likename",
  9220. "in": "query"
  9221. }
  9222. ],
  9223. "responses": {
  9224. "200": {
  9225. "description": "OK",
  9226. "schema": {
  9227. "type": "array",
  9228. "items": {
  9229. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9230. }
  9231. }
  9232. },
  9233. "500": {
  9234. "description": "Internal Server Error",
  9235. "schema": {
  9236. "$ref": "#/definitions/app.Response"
  9237. }
  9238. }
  9239. }
  9240. }
  9241. },
  9242. "/QhjMgr/QueryBrokerApply": {
  9243. "get": {
  9244. "security": [
  9245. {
  9246. "ApiKeyAuth": []
  9247. }
  9248. ],
  9249. "produces": [
  9250. "application/json"
  9251. ],
  9252. "tags": [
  9253. "大连千海金(PCWeb)"
  9254. ],
  9255. "summary": "查询经纪人申请",
  9256. "parameters": [
  9257. {
  9258. "type": "integer",
  9259. "description": "所属机构ID",
  9260. "name": "userid",
  9261. "in": "query"
  9262. },
  9263. {
  9264. "type": "string",
  9265. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9266. "name": "filterstatus",
  9267. "in": "query"
  9268. },
  9269. {
  9270. "type": "string",
  9271. "description": "名称(模糊匹配)",
  9272. "name": "filtername",
  9273. "in": "query"
  9274. },
  9275. {
  9276. "type": "integer",
  9277. "description": "是否包含子级 1-包含",
  9278. "name": "includesub",
  9279. "in": "query"
  9280. }
  9281. ],
  9282. "responses": {
  9283. "200": {
  9284. "description": "OK",
  9285. "schema": {
  9286. "type": "array",
  9287. "items": {
  9288. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9289. }
  9290. }
  9291. },
  9292. "500": {
  9293. "description": "Internal Server Error",
  9294. "schema": {
  9295. "$ref": "#/definitions/app.Response"
  9296. }
  9297. }
  9298. }
  9299. }
  9300. },
  9301. "/QhjMgr/QueryBrokerRewardReport": {
  9302. "get": {
  9303. "security": [
  9304. {
  9305. "ApiKeyAuth": []
  9306. }
  9307. ],
  9308. "produces": [
  9309. "application/json"
  9310. ],
  9311. "tags": [
  9312. "大连千海金(PCWeb)"
  9313. ],
  9314. "summary": "查询经纪人奖励报表(废弃)",
  9315. "parameters": [
  9316. {
  9317. "type": "integer",
  9318. "description": "所属机构ID",
  9319. "name": "userid",
  9320. "in": "query",
  9321. "required": true
  9322. },
  9323. {
  9324. "type": "integer",
  9325. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9326. "name": "cycletype",
  9327. "in": "query",
  9328. "required": true
  9329. },
  9330. {
  9331. "type": "string",
  9332. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9333. "name": "cycletime",
  9334. "in": "query",
  9335. "required": true
  9336. },
  9337. {
  9338. "type": "string",
  9339. "description": "名称(模糊匹配)",
  9340. "name": "filtername",
  9341. "in": "query"
  9342. },
  9343. {
  9344. "type": "integer",
  9345. "description": "是否包含子级 1-包含",
  9346. "name": "includesub",
  9347. "in": "query"
  9348. }
  9349. ],
  9350. "responses": {
  9351. "200": {
  9352. "description": "OK",
  9353. "schema": {
  9354. "type": "array",
  9355. "items": {
  9356. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9357. }
  9358. }
  9359. },
  9360. "500": {
  9361. "description": "Internal Server Error",
  9362. "schema": {
  9363. "$ref": "#/definitions/app.Response"
  9364. }
  9365. }
  9366. }
  9367. }
  9368. },
  9369. "/QhjMgr/QueryContract": {
  9370. "get": {
  9371. "security": [
  9372. {
  9373. "ApiKeyAuth": []
  9374. }
  9375. ],
  9376. "produces": [
  9377. "application/json"
  9378. ],
  9379. "tags": [
  9380. "大连千海金(PCWeb)"
  9381. ],
  9382. "summary": "查询融资信息(合同)",
  9383. "parameters": [
  9384. {
  9385. "type": "integer",
  9386. "description": "用户ID",
  9387. "name": "userid",
  9388. "in": "query"
  9389. },
  9390. {
  9391. "type": "integer",
  9392. "description": "商品id",
  9393. "name": "goodsid",
  9394. "in": "query"
  9395. },
  9396. {
  9397. "type": "string",
  9398. "description": "名称(模糊搜索账户)",
  9399. "name": "filtername",
  9400. "in": "query"
  9401. },
  9402. {
  9403. "type": "string",
  9404. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9405. "name": "risklevel",
  9406. "in": "query"
  9407. },
  9408. {
  9409. "type": "string",
  9410. "description": "开始交易日(yyyymmdd)",
  9411. "name": "begindate",
  9412. "in": "query"
  9413. },
  9414. {
  9415. "type": "string",
  9416. "description": "结束交易日(yyyymmdd)",
  9417. "name": "enddate",
  9418. "in": "query"
  9419. }
  9420. ],
  9421. "responses": {
  9422. "200": {
  9423. "description": "OK",
  9424. "schema": {
  9425. "type": "array",
  9426. "items": {
  9427. "$ref": "#/definitions/models.QhjMgrContract"
  9428. }
  9429. }
  9430. },
  9431. "500": {
  9432. "description": "Internal Server Error",
  9433. "schema": {
  9434. "$ref": "#/definitions/app.Response"
  9435. }
  9436. }
  9437. }
  9438. }
  9439. },
  9440. "/QhjMgr/QueryCustomerInfo": {
  9441. "get": {
  9442. "security": [
  9443. {
  9444. "ApiKeyAuth": []
  9445. }
  9446. ],
  9447. "produces": [
  9448. "application/json"
  9449. ],
  9450. "tags": [
  9451. "大连千海金(PCWeb)"
  9452. ],
  9453. "summary": "查询客户资料",
  9454. "parameters": [
  9455. {
  9456. "type": "integer",
  9457. "description": "用户ID",
  9458. "name": "userid",
  9459. "in": "query",
  9460. "required": true
  9461. },
  9462. {
  9463. "type": "integer",
  9464. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9465. "name": "querytype",
  9466. "in": "query",
  9467. "required": true
  9468. },
  9469. {
  9470. "type": "integer",
  9471. "description": "客户类型 1-个人 2-企业",
  9472. "name": "userinfotype",
  9473. "in": "query"
  9474. },
  9475. {
  9476. "type": "string",
  9477. "description": "客户名称(模糊匹配)",
  9478. "name": "customername",
  9479. "in": "query"
  9480. },
  9481. {
  9482. "type": "string",
  9483. "description": "昵称(模糊匹配)",
  9484. "name": "nickname",
  9485. "in": "query"
  9486. },
  9487. {
  9488. "type": "string",
  9489. "description": "所属客户经理(模糊匹配)",
  9490. "name": "brokername",
  9491. "in": "query"
  9492. },
  9493. {
  9494. "type": "string",
  9495. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9496. "name": "birthday",
  9497. "in": "query"
  9498. },
  9499. {
  9500. "type": "integer",
  9501. "description": "是否包含子级 1-包含",
  9502. "name": "includesub",
  9503. "in": "query"
  9504. }
  9505. ],
  9506. "responses": {
  9507. "200": {
  9508. "description": "OK",
  9509. "schema": {
  9510. "type": "array",
  9511. "items": {
  9512. "$ref": "#/definitions/models.QhjMgrCustomer"
  9513. }
  9514. }
  9515. },
  9516. "500": {
  9517. "description": "Internal Server Error",
  9518. "schema": {
  9519. "$ref": "#/definitions/app.Response"
  9520. }
  9521. }
  9522. }
  9523. }
  9524. },
  9525. "/QhjMgr/QueryPickGoods": {
  9526. "get": {
  9527. "security": [
  9528. {
  9529. "ApiKeyAuth": []
  9530. }
  9531. ],
  9532. "produces": [
  9533. "application/json"
  9534. ],
  9535. "tags": [
  9536. "大连千海金(PCWeb)"
  9537. ],
  9538. "summary": "查询提货商品",
  9539. "parameters": [
  9540. {
  9541. "type": "string",
  9542. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9543. "name": "status",
  9544. "in": "query"
  9545. }
  9546. ],
  9547. "responses": {
  9548. "200": {
  9549. "description": "OK",
  9550. "schema": {
  9551. "type": "array",
  9552. "items": {
  9553. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9554. }
  9555. }
  9556. },
  9557. "500": {
  9558. "description": "Internal Server Error",
  9559. "schema": {
  9560. "$ref": "#/definitions/app.Response"
  9561. }
  9562. }
  9563. }
  9564. }
  9565. },
  9566. "/QhjMgr/QuerySubArea": {
  9567. "get": {
  9568. "security": [
  9569. {
  9570. "ApiKeyAuth": []
  9571. }
  9572. ],
  9573. "produces": [
  9574. "application/json"
  9575. ],
  9576. "tags": [
  9577. "大连千海金(PCWeb)"
  9578. ],
  9579. "summary": "查询子机构列表",
  9580. "parameters": [
  9581. {
  9582. "type": "integer",
  9583. "description": "用户ID",
  9584. "name": "userid",
  9585. "in": "query",
  9586. "required": true
  9587. }
  9588. ],
  9589. "responses": {
  9590. "200": {
  9591. "description": "OK",
  9592. "schema": {
  9593. "type": "array",
  9594. "items": {
  9595. "$ref": "#/definitions/models.QhjMgrSubArea"
  9596. }
  9597. }
  9598. },
  9599. "500": {
  9600. "description": "Internal Server Error",
  9601. "schema": {
  9602. "$ref": "#/definitions/app.Response"
  9603. }
  9604. }
  9605. }
  9606. }
  9607. },
  9608. "/QhjMgr/QueryTradeDetail": {
  9609. "get": {
  9610. "security": [
  9611. {
  9612. "ApiKeyAuth": []
  9613. }
  9614. ],
  9615. "produces": [
  9616. "application/json"
  9617. ],
  9618. "tags": [
  9619. "大连千海金(PCWeb)"
  9620. ],
  9621. "summary": "查询成交明细",
  9622. "parameters": [
  9623. {
  9624. "type": "integer",
  9625. "description": "用户ID",
  9626. "name": "userid",
  9627. "in": "query",
  9628. "required": true
  9629. },
  9630. {
  9631. "type": "integer",
  9632. "description": "用户类型 1-个人 2-企业",
  9633. "name": "userinfotype",
  9634. "in": "query"
  9635. },
  9636. {
  9637. "type": "integer",
  9638. "description": "交易模式",
  9639. "name": "trademode",
  9640. "in": "query"
  9641. },
  9642. {
  9643. "type": "integer",
  9644. "description": "商品id",
  9645. "name": "goodsid",
  9646. "in": "query"
  9647. },
  9648. {
  9649. "type": "string",
  9650. "description": "名称(模糊搜索账户)",
  9651. "name": "filtername",
  9652. "in": "query"
  9653. },
  9654. {
  9655. "type": "string",
  9656. "description": "开始交易日(yyyymmdd)",
  9657. "name": "begindate",
  9658. "in": "query"
  9659. },
  9660. {
  9661. "type": "string",
  9662. "description": "结束交易日(yyyymmdd)",
  9663. "name": "enddate",
  9664. "in": "query"
  9665. },
  9666. {
  9667. "type": "integer",
  9668. "description": "是否包含子级 1-包含",
  9669. "name": "includesub",
  9670. "in": "query"
  9671. }
  9672. ],
  9673. "responses": {
  9674. "200": {
  9675. "description": "OK",
  9676. "schema": {
  9677. "type": "array",
  9678. "items": {
  9679. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9680. }
  9681. }
  9682. },
  9683. "500": {
  9684. "description": "Internal Server Error",
  9685. "schema": {
  9686. "$ref": "#/definitions/app.Response"
  9687. }
  9688. }
  9689. }
  9690. }
  9691. },
  9692. "/QhjMgr/QueryTradeOrderDetail": {
  9693. "get": {
  9694. "security": [
  9695. {
  9696. "ApiKeyAuth": []
  9697. }
  9698. ],
  9699. "produces": [
  9700. "application/json"
  9701. ],
  9702. "tags": [
  9703. "大连千海金(PCWeb)"
  9704. ],
  9705. "summary": "查询委托明细",
  9706. "parameters": [
  9707. {
  9708. "type": "integer",
  9709. "description": "用户ID",
  9710. "name": "userid",
  9711. "in": "query",
  9712. "required": true
  9713. },
  9714. {
  9715. "type": "integer",
  9716. "description": "用户类型 1-个人 2-企业",
  9717. "name": "userinfotype",
  9718. "in": "query"
  9719. },
  9720. {
  9721. "type": "integer",
  9722. "description": "交易模式",
  9723. "name": "trademode",
  9724. "in": "query"
  9725. },
  9726. {
  9727. "type": "integer",
  9728. "description": "商品id",
  9729. "name": "goodsid",
  9730. "in": "query"
  9731. },
  9732. {
  9733. "type": "string",
  9734. "description": "名称(模糊搜索账户)",
  9735. "name": "filtername",
  9736. "in": "query"
  9737. },
  9738. {
  9739. "type": "string",
  9740. "description": "开始交易日(yyyymmdd)",
  9741. "name": "begindate",
  9742. "in": "query"
  9743. },
  9744. {
  9745. "type": "string",
  9746. "description": "结束交易日(yyyymmdd)",
  9747. "name": "enddate",
  9748. "in": "query"
  9749. },
  9750. {
  9751. "type": "integer",
  9752. "description": "是否包含子级 1-包含",
  9753. "name": "includesub",
  9754. "in": "query"
  9755. }
  9756. ],
  9757. "responses": {
  9758. "200": {
  9759. "description": "OK",
  9760. "schema": {
  9761. "type": "array",
  9762. "items": {
  9763. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9764. }
  9765. }
  9766. },
  9767. "500": {
  9768. "description": "Internal Server Error",
  9769. "schema": {
  9770. "$ref": "#/definitions/app.Response"
  9771. }
  9772. }
  9773. }
  9774. }
  9775. },
  9776. "/QhjMgr/QueryTradePayOrder": {
  9777. "get": {
  9778. "security": [
  9779. {
  9780. "ApiKeyAuth": []
  9781. }
  9782. ],
  9783. "produces": [
  9784. "application/json"
  9785. ],
  9786. "tags": [
  9787. "大连千海金(PCWeb)"
  9788. ],
  9789. "summary": "查询待付款单",
  9790. "parameters": [
  9791. {
  9792. "type": "integer",
  9793. "description": "用户ID",
  9794. "name": "userid",
  9795. "in": "query",
  9796. "required": true
  9797. },
  9798. {
  9799. "type": "string",
  9800. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9801. "name": "payflag",
  9802. "in": "query"
  9803. },
  9804. {
  9805. "type": "integer",
  9806. "description": "用户类型 1-个人 2-企业",
  9807. "name": "userinfotype",
  9808. "in": "query"
  9809. },
  9810. {
  9811. "type": "integer",
  9812. "description": "交易模式",
  9813. "name": "trademode",
  9814. "in": "query"
  9815. },
  9816. {
  9817. "type": "integer",
  9818. "description": "商品id",
  9819. "name": "goodsid",
  9820. "in": "query"
  9821. },
  9822. {
  9823. "type": "string",
  9824. "description": "名称(模糊搜索账户)",
  9825. "name": "filtername",
  9826. "in": "query"
  9827. },
  9828. {
  9829. "type": "string",
  9830. "description": "开始交易日(yyyymmdd)",
  9831. "name": "begindate",
  9832. "in": "query"
  9833. },
  9834. {
  9835. "type": "string",
  9836. "description": "结束交易日(yyyymmdd)",
  9837. "name": "enddate",
  9838. "in": "query"
  9839. },
  9840. {
  9841. "type": "integer",
  9842. "description": "是否包含子级 1-包含",
  9843. "name": "includesub",
  9844. "in": "query"
  9845. }
  9846. ],
  9847. "responses": {
  9848. "200": {
  9849. "description": "OK",
  9850. "schema": {
  9851. "type": "array",
  9852. "items": {
  9853. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9854. }
  9855. }
  9856. },
  9857. "500": {
  9858. "description": "Internal Server Error",
  9859. "schema": {
  9860. "$ref": "#/definitions/app.Response"
  9861. }
  9862. }
  9863. }
  9864. }
  9865. },
  9866. "/QhjMgr/QueryTradePosition": {
  9867. "get": {
  9868. "security": [
  9869. {
  9870. "ApiKeyAuth": []
  9871. }
  9872. ],
  9873. "produces": [
  9874. "application/json"
  9875. ],
  9876. "tags": [
  9877. "大连千海金(PCWeb)"
  9878. ],
  9879. "summary": "查询持仓汇总",
  9880. "parameters": [
  9881. {
  9882. "type": "integer",
  9883. "description": "用户ID",
  9884. "name": "userid",
  9885. "in": "query",
  9886. "required": true
  9887. },
  9888. {
  9889. "type": "integer",
  9890. "description": "用户类型 1-个人 2-企业",
  9891. "name": "userinfotype",
  9892. "in": "query"
  9893. },
  9894. {
  9895. "type": "integer",
  9896. "description": "交易模式",
  9897. "name": "trademode",
  9898. "in": "query"
  9899. },
  9900. {
  9901. "type": "integer",
  9902. "description": "商品id",
  9903. "name": "goodsid",
  9904. "in": "query"
  9905. },
  9906. {
  9907. "type": "string",
  9908. "description": "名称(模糊搜索账户)",
  9909. "name": "filtername",
  9910. "in": "query"
  9911. },
  9912. {
  9913. "type": "integer",
  9914. "description": "是否包含子级 1-包含",
  9915. "name": "includesub",
  9916. "in": "query"
  9917. }
  9918. ],
  9919. "responses": {
  9920. "200": {
  9921. "description": "OK",
  9922. "schema": {
  9923. "type": "array",
  9924. "items": {
  9925. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9926. }
  9927. }
  9928. },
  9929. "500": {
  9930. "description": "Internal Server Error",
  9931. "schema": {
  9932. "$ref": "#/definitions/app.Response"
  9933. }
  9934. }
  9935. }
  9936. }
  9937. },
  9938. "/QhjSys/QueryAgreementChangeLog": {
  9939. "get": {
  9940. "security": [
  9941. {
  9942. "ApiKeyAuth": []
  9943. }
  9944. ],
  9945. "produces": [
  9946. "application/json"
  9947. ],
  9948. "tags": [
  9949. "大连千海金(协议和签约信息)"
  9950. ],
  9951. "summary": "查询协议配置变更流水",
  9952. "parameters": [
  9953. {
  9954. "type": "integer",
  9955. "description": "协议ID",
  9956. "name": "agreementid",
  9957. "in": "query"
  9958. },
  9959. {
  9960. "type": "integer",
  9961. "description": "协议版本号",
  9962. "name": "agreementversion",
  9963. "in": "query"
  9964. },
  9965. {
  9966. "type": "integer",
  9967. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9968. "name": "agreementtype",
  9969. "in": "query"
  9970. },
  9971. {
  9972. "type": "string",
  9973. "description": "协议编号(模糊匹配)",
  9974. "name": "agreementno",
  9975. "in": "query"
  9976. },
  9977. {
  9978. "type": "string",
  9979. "description": "协议名称(模糊匹配)",
  9980. "name": "agreementname",
  9981. "in": "query"
  9982. }
  9983. ],
  9984. "responses": {
  9985. "200": {
  9986. "description": "OK",
  9987. "schema": {
  9988. "type": "array",
  9989. "items": {
  9990. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9991. }
  9992. }
  9993. },
  9994. "500": {
  9995. "description": "Internal Server Error",
  9996. "schema": {
  9997. "$ref": "#/definitions/app.Response"
  9998. }
  9999. }
  10000. }
  10001. }
  10002. },
  10003. "/QhjSys/QueryAgreementConfig": {
  10004. "get": {
  10005. "security": [
  10006. {
  10007. "ApiKeyAuth": []
  10008. }
  10009. ],
  10010. "produces": [
  10011. "application/json"
  10012. ],
  10013. "tags": [
  10014. "大连千海金(协议和签约信息)"
  10015. ],
  10016. "summary": "查询协议配置",
  10017. "parameters": [
  10018. {
  10019. "type": "integer",
  10020. "description": "协议ID",
  10021. "name": "agreementid",
  10022. "in": "query"
  10023. },
  10024. {
  10025. "type": "integer",
  10026. "description": "协议版本号",
  10027. "name": "agreementversion",
  10028. "in": "query"
  10029. },
  10030. {
  10031. "type": "integer",
  10032. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10033. "name": "agreementtype",
  10034. "in": "query"
  10035. },
  10036. {
  10037. "type": "integer",
  10038. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  10039. "name": "isvalid",
  10040. "in": "query"
  10041. },
  10042. {
  10043. "type": "string",
  10044. "description": "协议编号(模糊匹配)",
  10045. "name": "agreementno",
  10046. "in": "query"
  10047. },
  10048. {
  10049. "type": "string",
  10050. "description": "协议名称(模糊匹配)",
  10051. "name": "agreementname",
  10052. "in": "query"
  10053. }
  10054. ],
  10055. "responses": {
  10056. "200": {
  10057. "description": "OK",
  10058. "schema": {
  10059. "type": "array",
  10060. "items": {
  10061. "$ref": "#/definitions/models.QhjAgreementConfig"
  10062. }
  10063. }
  10064. },
  10065. "500": {
  10066. "description": "Internal Server Error",
  10067. "schema": {
  10068. "$ref": "#/definitions/app.Response"
  10069. }
  10070. }
  10071. }
  10072. }
  10073. },
  10074. "/QhjSys/QueryCustomerSignStatus": {
  10075. "get": {
  10076. "security": [
  10077. {
  10078. "ApiKeyAuth": []
  10079. }
  10080. ],
  10081. "produces": [
  10082. "application/json"
  10083. ],
  10084. "tags": [
  10085. "大连千海金(协议和签约信息)"
  10086. ],
  10087. "summary": "查询客户协议签约状态",
  10088. "parameters": [
  10089. {
  10090. "type": "integer",
  10091. "description": "客户ID",
  10092. "name": "userid",
  10093. "in": "query"
  10094. },
  10095. {
  10096. "type": "integer",
  10097. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10098. "name": "nodetype",
  10099. "in": "query"
  10100. },
  10101. {
  10102. "type": "integer",
  10103. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10104. "name": "goodsid",
  10105. "in": "query"
  10106. },
  10107. {
  10108. "type": "string",
  10109. "description": "创建交易日(yyyyMMdd)",
  10110. "name": "tradedate",
  10111. "in": "query"
  10112. },
  10113. {
  10114. "type": "string",
  10115. "description": "用户名称(模糊匹配)",
  10116. "name": "username",
  10117. "in": "query"
  10118. }
  10119. ],
  10120. "responses": {
  10121. "200": {
  10122. "description": "OK",
  10123. "schema": {
  10124. "type": "array",
  10125. "items": {
  10126. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10127. }
  10128. }
  10129. },
  10130. "500": {
  10131. "description": "Internal Server Error",
  10132. "schema": {
  10133. "$ref": "#/definitions/app.Response"
  10134. }
  10135. }
  10136. }
  10137. }
  10138. },
  10139. "/QhjSys/QueryNodeAgreementConfig": {
  10140. "get": {
  10141. "security": [
  10142. {
  10143. "ApiKeyAuth": []
  10144. }
  10145. ],
  10146. "produces": [
  10147. "application/json"
  10148. ],
  10149. "tags": [
  10150. "大连千海金(协议和签约信息)"
  10151. ],
  10152. "summary": "查询协议节点配置",
  10153. "parameters": [
  10154. {
  10155. "type": "integer",
  10156. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10157. "name": "configid",
  10158. "in": "query"
  10159. },
  10160. {
  10161. "type": "integer",
  10162. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10163. "name": "nodetype",
  10164. "in": "query"
  10165. },
  10166. {
  10167. "type": "integer",
  10168. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10169. "name": "goodsid",
  10170. "in": "query"
  10171. },
  10172. {
  10173. "type": "integer",
  10174. "description": "协议ID",
  10175. "name": "agreementid",
  10176. "in": "query"
  10177. },
  10178. {
  10179. "type": "integer",
  10180. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10181. "name": "agreementtype",
  10182. "in": "query"
  10183. },
  10184. {
  10185. "type": "integer",
  10186. "description": "协议版本号",
  10187. "name": "agreementversion",
  10188. "in": "query"
  10189. },
  10190. {
  10191. "type": "string",
  10192. "description": "协议编号(模糊匹配)",
  10193. "name": "agreementno",
  10194. "in": "query"
  10195. },
  10196. {
  10197. "type": "string",
  10198. "description": "协议名称(模糊匹配)",
  10199. "name": "agreementname",
  10200. "in": "query"
  10201. }
  10202. ],
  10203. "responses": {
  10204. "200": {
  10205. "description": "OK",
  10206. "schema": {
  10207. "type": "array",
  10208. "items": {
  10209. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10210. }
  10211. }
  10212. },
  10213. "500": {
  10214. "description": "Internal Server Error",
  10215. "schema": {
  10216. "$ref": "#/definitions/app.Response"
  10217. }
  10218. }
  10219. }
  10220. }
  10221. },
  10222. "/QhjSys/QueryQhjCustomerSignLog": {
  10223. "get": {
  10224. "security": [
  10225. {
  10226. "ApiKeyAuth": []
  10227. }
  10228. ],
  10229. "produces": [
  10230. "application/json"
  10231. ],
  10232. "tags": [
  10233. "大连千海金(协议和签约信息)"
  10234. ],
  10235. "summary": "查询客户协议签约流水",
  10236. "parameters": [
  10237. {
  10238. "type": "integer",
  10239. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10240. "name": "logid",
  10241. "in": "query"
  10242. },
  10243. {
  10244. "type": "integer",
  10245. "description": "客户ID",
  10246. "name": "userid",
  10247. "in": "query"
  10248. },
  10249. {
  10250. "type": "integer",
  10251. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10252. "name": "nodetype",
  10253. "in": "query"
  10254. },
  10255. {
  10256. "type": "integer",
  10257. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10258. "name": "goodsid",
  10259. "in": "query"
  10260. },
  10261. {
  10262. "type": "integer",
  10263. "description": "协议ID",
  10264. "name": "agreementid",
  10265. "in": "query"
  10266. },
  10267. {
  10268. "type": "string",
  10269. "description": "用户名称(模糊匹配)",
  10270. "name": "username",
  10271. "in": "query"
  10272. },
  10273. {
  10274. "type": "string",
  10275. "description": "协议编号(模糊匹配)",
  10276. "name": "agreementno",
  10277. "in": "query"
  10278. },
  10279. {
  10280. "type": "string",
  10281. "description": "协议名称(模糊匹配)",
  10282. "name": "agreementname",
  10283. "in": "query"
  10284. }
  10285. ],
  10286. "responses": {
  10287. "200": {
  10288. "description": "OK",
  10289. "schema": {
  10290. "type": "array",
  10291. "items": {
  10292. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10293. }
  10294. }
  10295. },
  10296. "500": {
  10297. "description": "Internal Server Error",
  10298. "schema": {
  10299. "$ref": "#/definitions/app.Response"
  10300. }
  10301. }
  10302. }
  10303. }
  10304. },
  10305. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10306. "get": {
  10307. "security": [
  10308. {
  10309. "ApiKeyAuth": []
  10310. }
  10311. ],
  10312. "produces": [
  10313. "application/json"
  10314. ],
  10315. "tags": [
  10316. "大连千海金(协议和签约信息)"
  10317. ],
  10318. "summary": "查询用户协议节点配置和状态",
  10319. "parameters": [
  10320. {
  10321. "type": "integer",
  10322. "description": "客户ID",
  10323. "name": "userid",
  10324. "in": "query"
  10325. },
  10326. {
  10327. "type": "integer",
  10328. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10329. "name": "configid",
  10330. "in": "query"
  10331. },
  10332. {
  10333. "type": "string",
  10334. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10335. "name": "nodetype",
  10336. "in": "query"
  10337. },
  10338. {
  10339. "type": "integer",
  10340. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10341. "name": "goodsid",
  10342. "in": "query"
  10343. },
  10344. {
  10345. "type": "integer",
  10346. "description": "协议ID",
  10347. "name": "agreementid",
  10348. "in": "query"
  10349. },
  10350. {
  10351. "type": "integer",
  10352. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10353. "name": "agreementtype",
  10354. "in": "query"
  10355. },
  10356. {
  10357. "type": "integer",
  10358. "description": "协议版本号",
  10359. "name": "agreementversion",
  10360. "in": "query"
  10361. },
  10362. {
  10363. "type": "string",
  10364. "description": "协议编号(模糊匹配)",
  10365. "name": "agreementno",
  10366. "in": "query"
  10367. },
  10368. {
  10369. "type": "string",
  10370. "description": "协议名称(模糊匹配)",
  10371. "name": "agreementname",
  10372. "in": "query"
  10373. }
  10374. ],
  10375. "responses": {
  10376. "200": {
  10377. "description": "OK",
  10378. "schema": {
  10379. "type": "array",
  10380. "items": {
  10381. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10382. }
  10383. }
  10384. },
  10385. "500": {
  10386. "description": "Internal Server Error",
  10387. "schema": {
  10388. "$ref": "#/definitions/app.Response"
  10389. }
  10390. }
  10391. }
  10392. }
  10393. },
  10394. "/Quote/QueryHistoryDatas": {
  10395. "get": {
  10396. "security": [
  10397. {
  10398. "ApiKeyAuth": []
  10399. }
  10400. ],
  10401. "produces": [
  10402. "application/json"
  10403. ],
  10404. "tags": [
  10405. "行情服务"
  10406. ],
  10407. "summary": "查询行情历史数据",
  10408. "parameters": [
  10409. {
  10410. "type": "integer",
  10411. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  10412. "name": "cycleType",
  10413. "in": "query",
  10414. "required": true
  10415. },
  10416. {
  10417. "type": "string",
  10418. "description": "商品代码",
  10419. "name": "goodsCode",
  10420. "in": "query",
  10421. "required": true
  10422. },
  10423. {
  10424. "type": "string",
  10425. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10426. "name": "startTime",
  10427. "in": "query"
  10428. },
  10429. {
  10430. "type": "string",
  10431. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10432. "name": "endTime",
  10433. "in": "query"
  10434. },
  10435. {
  10436. "type": "integer",
  10437. "description": "条数",
  10438. "name": "count",
  10439. "in": "query"
  10440. },
  10441. {
  10442. "type": "boolean",
  10443. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10444. "name": "isAsc",
  10445. "in": "query"
  10446. }
  10447. ],
  10448. "responses": {
  10449. "200": {
  10450. "description": "OK",
  10451. "schema": {
  10452. "$ref": "#/definitions/quote.HistoryData"
  10453. }
  10454. },
  10455. "500": {
  10456. "description": "Internal Server Error",
  10457. "schema": {
  10458. "$ref": "#/definitions/app.Response"
  10459. }
  10460. }
  10461. }
  10462. }
  10463. },
  10464. "/Quote/QueryHistoryTikDatas": {
  10465. "get": {
  10466. "security": [
  10467. {
  10468. "ApiKeyAuth": []
  10469. }
  10470. ],
  10471. "produces": [
  10472. "application/json"
  10473. ],
  10474. "tags": [
  10475. "行情服务"
  10476. ],
  10477. "summary": "查询行情Tik数据",
  10478. "parameters": [
  10479. {
  10480. "type": "string",
  10481. "description": "商品代码",
  10482. "name": "goodsCode",
  10483. "in": "query",
  10484. "required": true
  10485. },
  10486. {
  10487. "type": "string",
  10488. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10489. "name": "startTime",
  10490. "in": "query"
  10491. },
  10492. {
  10493. "type": "string",
  10494. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10495. "name": "endTime",
  10496. "in": "query"
  10497. },
  10498. {
  10499. "type": "integer",
  10500. "description": "条数",
  10501. "name": "count",
  10502. "in": "query"
  10503. },
  10504. {
  10505. "type": "boolean",
  10506. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10507. "name": "isAsc",
  10508. "in": "query"
  10509. }
  10510. ],
  10511. "responses": {
  10512. "200": {
  10513. "description": "OK",
  10514. "schema": {
  10515. "$ref": "#/definitions/quote.HistoryTikData"
  10516. }
  10517. },
  10518. "500": {
  10519. "description": "Internal Server Error",
  10520. "schema": {
  10521. "$ref": "#/definitions/app.Response"
  10522. }
  10523. }
  10524. }
  10525. }
  10526. },
  10527. "/Quote/QueryQuoteDay": {
  10528. "get": {
  10529. "security": [
  10530. {
  10531. "ApiKeyAuth": []
  10532. }
  10533. ],
  10534. "produces": [
  10535. "application/json"
  10536. ],
  10537. "tags": [
  10538. "行情服务"
  10539. ],
  10540. "summary": "获取商品盘面信息",
  10541. "parameters": [
  10542. {
  10543. "type": "string",
  10544. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  10545. "name": "goodsCodes",
  10546. "in": "query",
  10547. "required": true
  10548. }
  10549. ],
  10550. "responses": {
  10551. "200": {
  10552. "description": "OK",
  10553. "schema": {
  10554. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10555. }
  10556. },
  10557. "500": {
  10558. "description": "Internal Server Error",
  10559. "schema": {
  10560. "$ref": "#/definitions/app.Response"
  10561. }
  10562. }
  10563. }
  10564. }
  10565. },
  10566. "/Quote/QueryTSData": {
  10567. "get": {
  10568. "security": [
  10569. {
  10570. "ApiKeyAuth": []
  10571. }
  10572. ],
  10573. "produces": [
  10574. "application/json"
  10575. ],
  10576. "tags": [
  10577. "行情服务"
  10578. ],
  10579. "summary": "分时图数据查询",
  10580. "parameters": [
  10581. {
  10582. "type": "string",
  10583. "description": "商品代码",
  10584. "name": "goodsCode",
  10585. "in": "query",
  10586. "required": true
  10587. }
  10588. ],
  10589. "responses": {
  10590. "200": {
  10591. "description": "OK",
  10592. "schema": {
  10593. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10594. }
  10595. },
  10596. "500": {
  10597. "description": "Internal Server Error",
  10598. "schema": {
  10599. "$ref": "#/definitions/app.Response"
  10600. }
  10601. }
  10602. }
  10603. }
  10604. },
  10605. "/SZDZ/QueryConvertConfig": {
  10606. "get": {
  10607. "security": [
  10608. {
  10609. "ApiKeyAuth": []
  10610. }
  10611. ],
  10612. "produces": [
  10613. "application/json"
  10614. ],
  10615. "tags": [
  10616. "定制【尚志大宗】"
  10617. ],
  10618. "summary": "查询交易系统转换设置",
  10619. "parameters": [
  10620. {
  10621. "type": "integer",
  10622. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10623. "name": "convertType",
  10624. "in": "query"
  10625. },
  10626. {
  10627. "type": "string",
  10628. "description": "外部商品代码[JD\\PD]",
  10629. "name": "outerGoodsCode",
  10630. "in": "query"
  10631. },
  10632. {
  10633. "type": "string",
  10634. "description": "内部商品ID列表[交易],格式:1,2,3",
  10635. "name": "innerGoodsIDs",
  10636. "in": "query"
  10637. }
  10638. ],
  10639. "responses": {
  10640. "200": {
  10641. "description": "OK",
  10642. "schema": {
  10643. "$ref": "#/definitions/models.Szdz3convertconfig"
  10644. }
  10645. },
  10646. "500": {
  10647. "description": "Internal Server Error",
  10648. "schema": {
  10649. "$ref": "#/definitions/app.Response"
  10650. }
  10651. }
  10652. }
  10653. }
  10654. },
  10655. "/SZDZ/QueryConvertLog": {
  10656. "get": {
  10657. "security": [
  10658. {
  10659. "ApiKeyAuth": []
  10660. }
  10661. ],
  10662. "produces": [
  10663. "application/json"
  10664. ],
  10665. "tags": [
  10666. "定制【尚志大宗】"
  10667. ],
  10668. "summary": "交易系统转换流水查询",
  10669. "parameters": [
  10670. {
  10671. "type": "string",
  10672. "description": "资金账户 - 格式:1,2,3",
  10673. "name": "accountID",
  10674. "in": "query",
  10675. "required": true
  10676. },
  10677. {
  10678. "type": "string",
  10679. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10680. "name": "startDate",
  10681. "in": "query"
  10682. },
  10683. {
  10684. "type": "string",
  10685. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10686. "name": "endDate",
  10687. "in": "query"
  10688. }
  10689. ],
  10690. "responses": {
  10691. "200": {
  10692. "description": "OK",
  10693. "schema": {
  10694. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10695. }
  10696. },
  10697. "500": {
  10698. "description": "Internal Server Error",
  10699. "schema": {
  10700. "$ref": "#/definitions/app.Response"
  10701. }
  10702. }
  10703. }
  10704. }
  10705. },
  10706. "/SZDZ/QueryGoodsPickup": {
  10707. "get": {
  10708. "security": [
  10709. {
  10710. "ApiKeyAuth": []
  10711. }
  10712. ],
  10713. "produces": [
  10714. "application/json"
  10715. ],
  10716. "tags": [
  10717. "定制【尚志大宗】"
  10718. ],
  10719. "summary": "商品提货单查询",
  10720. "parameters": [
  10721. {
  10722. "type": "string",
  10723. "description": "资金账户 - 格式:1,2,3",
  10724. "name": "accountID",
  10725. "in": "query",
  10726. "required": true
  10727. },
  10728. {
  10729. "type": "integer",
  10730. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10731. "name": "takeOrderStatus",
  10732. "in": "query"
  10733. }
  10734. ],
  10735. "responses": {
  10736. "200": {
  10737. "description": "OK",
  10738. "schema": {
  10739. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10740. }
  10741. },
  10742. "500": {
  10743. "description": "Internal Server Error",
  10744. "schema": {
  10745. "$ref": "#/definitions/app.Response"
  10746. }
  10747. }
  10748. }
  10749. }
  10750. },
  10751. "/SZDZ/QueryRecieptOrder": {
  10752. "get": {
  10753. "security": [
  10754. {
  10755. "ApiKeyAuth": []
  10756. }
  10757. ],
  10758. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10759. "produces": [
  10760. "application/json"
  10761. ],
  10762. "tags": [
  10763. "定制【尚志大宗】"
  10764. ],
  10765. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10766. "parameters": [
  10767. {
  10768. "type": "integer",
  10769. "description": "页码",
  10770. "name": "page",
  10771. "in": "query"
  10772. },
  10773. {
  10774. "type": "integer",
  10775. "description": "每页条数",
  10776. "name": "pagesize",
  10777. "in": "query"
  10778. },
  10779. {
  10780. "type": "integer",
  10781. "description": "商品ID",
  10782. "name": "goodsID",
  10783. "in": "query",
  10784. "required": true
  10785. },
  10786. {
  10787. "type": "string",
  10788. "description": "所属账户名称",
  10789. "name": "accountName",
  10790. "in": "query"
  10791. },
  10792. {
  10793. "type": "integer",
  10794. "description": "市场ID",
  10795. "name": "marketID",
  10796. "in": "query"
  10797. },
  10798. {
  10799. "type": "integer",
  10800. "description": "方向 - 0:买 1:卖",
  10801. "name": "buyorsell",
  10802. "in": "query",
  10803. "required": true
  10804. }
  10805. ],
  10806. "responses": {
  10807. "200": {
  10808. "description": "OK",
  10809. "schema": {
  10810. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10811. }
  10812. },
  10813. "500": {
  10814. "description": "Internal Server Error",
  10815. "schema": {
  10816. "$ref": "#/definitions/app.Response"
  10817. }
  10818. }
  10819. }
  10820. }
  10821. },
  10822. "/SZDZ/QuerySZDZTradePosition": {
  10823. "get": {
  10824. "security": [
  10825. {
  10826. "ApiKeyAuth": []
  10827. }
  10828. ],
  10829. "produces": [
  10830. "application/json"
  10831. ],
  10832. "tags": [
  10833. "定制【尚志大宗】"
  10834. ],
  10835. "summary": "持仓汇总查询(尚志大宗)",
  10836. "parameters": [
  10837. {
  10838. "type": "integer",
  10839. "description": "资金账户",
  10840. "name": "accountID",
  10841. "in": "query",
  10842. "required": true
  10843. }
  10844. ],
  10845. "responses": {
  10846. "200": {
  10847. "description": "OK",
  10848. "schema": {
  10849. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10850. }
  10851. },
  10852. "500": {
  10853. "description": "Internal Server Error",
  10854. "schema": {
  10855. "$ref": "#/definitions/app.Response"
  10856. }
  10857. }
  10858. }
  10859. }
  10860. },
  10861. "/SZDZ/SearchWhite": {
  10862. "get": {
  10863. "security": [
  10864. {
  10865. "ApiKeyAuth": []
  10866. }
  10867. ],
  10868. "produces": [
  10869. "application/json"
  10870. ],
  10871. "tags": [
  10872. "定制【尚志大宗】"
  10873. ],
  10874. "summary": "搜索白名单",
  10875. "parameters": [
  10876. {
  10877. "type": "integer",
  10878. "description": "用户ID",
  10879. "name": "userID",
  10880. "in": "query",
  10881. "required": true
  10882. }
  10883. ],
  10884. "responses": {
  10885. "200": {
  10886. "description": "OK",
  10887. "schema": {
  10888. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10889. }
  10890. },
  10891. "500": {
  10892. "description": "Internal Server Error",
  10893. "schema": {
  10894. "$ref": "#/definitions/app.Response"
  10895. }
  10896. }
  10897. }
  10898. }
  10899. },
  10900. "/Search/SearchGoodses": {
  10901. "get": {
  10902. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10903. "produces": [
  10904. "application/json"
  10905. ],
  10906. "tags": [
  10907. "检索服务"
  10908. ],
  10909. "summary": "检索商品信息",
  10910. "parameters": [
  10911. {
  10912. "type": "string",
  10913. "description": "检索内容",
  10914. "name": "content",
  10915. "in": "query",
  10916. "required": true
  10917. },
  10918. {
  10919. "type": "string",
  10920. "description": "交易模式,格式:1,2,3",
  10921. "name": "tradeModes",
  10922. "in": "query"
  10923. }
  10924. ],
  10925. "responses": {
  10926. "200": {
  10927. "description": "OK",
  10928. "schema": {
  10929. "$ref": "#/definitions/models.SearchGoods"
  10930. }
  10931. },
  10932. "500": {
  10933. "description": "Internal Server Error",
  10934. "schema": {
  10935. "$ref": "#/definitions/app.Response"
  10936. }
  10937. }
  10938. }
  10939. }
  10940. },
  10941. "/TaAccount/GetTaAccounts": {
  10942. "get": {
  10943. "security": [
  10944. {
  10945. "ApiKeyAuth": []
  10946. }
  10947. ],
  10948. "produces": [
  10949. "application/json"
  10950. ],
  10951. "tags": [
  10952. "资金账户"
  10953. ],
  10954. "summary": "获取资金账户信息",
  10955. "parameters": [
  10956. {
  10957. "type": "integer",
  10958. "description": "登录账户",
  10959. "name": "loginID",
  10960. "in": "query",
  10961. "required": true
  10962. },
  10963. {
  10964. "type": "integer",
  10965. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10966. "name": "taAccountType",
  10967. "in": "query"
  10968. }
  10969. ],
  10970. "responses": {
  10971. "200": {
  10972. "description": "OK",
  10973. "schema": {
  10974. "$ref": "#/definitions/models.Taaccount"
  10975. }
  10976. },
  10977. "500": {
  10978. "description": "Internal Server Error",
  10979. "schema": {
  10980. "$ref": "#/definitions/app.Response"
  10981. }
  10982. }
  10983. }
  10984. }
  10985. },
  10986. "/TaAccount/QueryAmountLog": {
  10987. "get": {
  10988. "security": [
  10989. {
  10990. "ApiKeyAuth": []
  10991. }
  10992. ],
  10993. "produces": [
  10994. "application/json"
  10995. ],
  10996. "tags": [
  10997. "资金账户"
  10998. ],
  10999. "summary": "资金流水查询(当前)",
  11000. "parameters": [
  11001. {
  11002. "type": "integer",
  11003. "description": "页码",
  11004. "name": "page",
  11005. "in": "query"
  11006. },
  11007. {
  11008. "type": "integer",
  11009. "description": "每页条数",
  11010. "name": "pagesize",
  11011. "in": "query"
  11012. },
  11013. {
  11014. "type": "string",
  11015. "description": "资金账户 - 格式:1,2,3",
  11016. "name": "accountID",
  11017. "in": "query",
  11018. "required": true
  11019. },
  11020. {
  11021. "type": "string",
  11022. "description": "资金操作类型 - 格式:1,2,3",
  11023. "name": "OperateType",
  11024. "in": "query"
  11025. }
  11026. ],
  11027. "responses": {
  11028. "200": {
  11029. "description": "OK",
  11030. "schema": {
  11031. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  11032. }
  11033. },
  11034. "500": {
  11035. "description": "Internal Server Error",
  11036. "schema": {
  11037. "$ref": "#/definitions/app.Response"
  11038. }
  11039. }
  11040. }
  11041. }
  11042. },
  11043. "/TaAccount/QueryHisAmountLog": {
  11044. "get": {
  11045. "security": [
  11046. {
  11047. "ApiKeyAuth": []
  11048. }
  11049. ],
  11050. "produces": [
  11051. "application/json"
  11052. ],
  11053. "tags": [
  11054. "资金账户"
  11055. ],
  11056. "summary": "资金流水查询(历史)",
  11057. "parameters": [
  11058. {
  11059. "type": "integer",
  11060. "description": "页码",
  11061. "name": "page",
  11062. "in": "query"
  11063. },
  11064. {
  11065. "type": "integer",
  11066. "description": "每页条数",
  11067. "name": "pagesize",
  11068. "in": "query"
  11069. },
  11070. {
  11071. "type": "string",
  11072. "description": "资金账户 - 格式:1,2,3",
  11073. "name": "accountID",
  11074. "in": "query",
  11075. "required": true
  11076. },
  11077. {
  11078. "type": "string",
  11079. "description": "资金操作类型 - 格式:1,2,3",
  11080. "name": "OperateType",
  11081. "in": "query"
  11082. },
  11083. {
  11084. "type": "string",
  11085. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11086. "name": "startDate",
  11087. "in": "query"
  11088. },
  11089. {
  11090. "type": "string",
  11091. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11092. "name": "endDate",
  11093. "in": "query"
  11094. }
  11095. ],
  11096. "responses": {
  11097. "200": {
  11098. "description": "OK",
  11099. "schema": {
  11100. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11101. }
  11102. },
  11103. "500": {
  11104. "description": "Internal Server Error",
  11105. "schema": {
  11106. "$ref": "#/definitions/app.Response"
  11107. }
  11108. }
  11109. }
  11110. }
  11111. },
  11112. "/Tjmd/QueryQuoteGoodsList": {
  11113. "get": {
  11114. "security": [
  11115. {
  11116. "ApiKeyAuth": []
  11117. }
  11118. ],
  11119. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11120. "produces": [
  11121. "application/json"
  11122. ],
  11123. "tags": [
  11124. "天津麦顿"
  11125. ],
  11126. "summary": "查询掉期报价列表",
  11127. "parameters": [
  11128. {
  11129. "type": "integer",
  11130. "description": "用户类型",
  11131. "name": "usertype",
  11132. "in": "query",
  11133. "required": true
  11134. },
  11135. {
  11136. "type": "string",
  11137. "description": "市场id, 格式 1,2,3",
  11138. "name": "marketids",
  11139. "in": "query"
  11140. },
  11141. {
  11142. "type": "integer",
  11143. "description": "商品组id",
  11144. "name": "goodsgroupid",
  11145. "in": "query"
  11146. },
  11147. {
  11148. "type": "integer",
  11149. "description": "商品id",
  11150. "name": "goodsid",
  11151. "in": "query"
  11152. }
  11153. ],
  11154. "responses": {
  11155. "200": {
  11156. "description": "OK",
  11157. "schema": {
  11158. "type": "array",
  11159. "items": {
  11160. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11161. }
  11162. }
  11163. },
  11164. "500": {
  11165. "description": "Internal Server Error",
  11166. "schema": {
  11167. "$ref": "#/definitions/app.Response"
  11168. }
  11169. }
  11170. }
  11171. }
  11172. },
  11173. "/Tjmd/QueryTjmdMarketSection": {
  11174. "get": {
  11175. "security": [
  11176. {
  11177. "ApiKeyAuth": []
  11178. }
  11179. ],
  11180. "produces": [
  11181. "application/json"
  11182. ],
  11183. "tags": [
  11184. "天津麦顿"
  11185. ],
  11186. "summary": "查询市场板块",
  11187. "responses": {
  11188. "200": {
  11189. "description": "OK",
  11190. "schema": {
  11191. "type": "array",
  11192. "items": {
  11193. "$ref": "#/definitions/models.TjmdMarketSection"
  11194. }
  11195. }
  11196. },
  11197. "500": {
  11198. "description": "Internal Server Error",
  11199. "schema": {
  11200. "$ref": "#/definitions/app.Response"
  11201. }
  11202. }
  11203. }
  11204. }
  11205. },
  11206. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11207. "get": {
  11208. "security": [
  11209. {
  11210. "ApiKeyAuth": []
  11211. }
  11212. ],
  11213. "produces": [
  11214. "application/json"
  11215. ],
  11216. "tags": [
  11217. "天津麦顿"
  11218. ],
  11219. "summary": "查询今日账户保证金配置",
  11220. "parameters": [
  11221. {
  11222. "type": "string",
  11223. "description": "市场id",
  11224. "name": "marketid",
  11225. "in": "query"
  11226. },
  11227. {
  11228. "type": "string",
  11229. "description": "商品id",
  11230. "name": "goodsid",
  11231. "in": "query"
  11232. },
  11233. {
  11234. "type": "string",
  11235. "description": "资金账号",
  11236. "name": "accountid",
  11237. "in": "query"
  11238. }
  11239. ],
  11240. "responses": {
  11241. "200": {
  11242. "description": "OK",
  11243. "schema": {
  11244. "type": "array",
  11245. "items": {
  11246. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11247. }
  11248. }
  11249. },
  11250. "500": {
  11251. "description": "Internal Server Error",
  11252. "schema": {
  11253. "$ref": "#/definitions/app.Response"
  11254. }
  11255. }
  11256. }
  11257. }
  11258. },
  11259. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11260. "get": {
  11261. "security": [
  11262. {
  11263. "ApiKeyAuth": []
  11264. }
  11265. ],
  11266. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11267. "produces": [
  11268. "application/json"
  11269. ],
  11270. "tags": [
  11271. "天津麦顿"
  11272. ],
  11273. "summary": "查询掉期买卖大厅",
  11274. "parameters": [
  11275. {
  11276. "type": "integer",
  11277. "description": "页码",
  11278. "name": "page",
  11279. "in": "query"
  11280. },
  11281. {
  11282. "type": "integer",
  11283. "description": "每页条数",
  11284. "name": "pagesize",
  11285. "in": "query"
  11286. },
  11287. {
  11288. "type": "integer",
  11289. "description": "用户id",
  11290. "name": "userid",
  11291. "in": "query",
  11292. "required": true
  11293. },
  11294. {
  11295. "type": "integer",
  11296. "description": "用户类型",
  11297. "name": "usertype",
  11298. "in": "query",
  11299. "required": true
  11300. },
  11301. {
  11302. "type": "string",
  11303. "description": "市场id, 格式 1,2,3",
  11304. "name": "marketids",
  11305. "in": "query"
  11306. },
  11307. {
  11308. "type": "integer",
  11309. "description": "商品id",
  11310. "name": "goodsid",
  11311. "in": "query",
  11312. "required": true
  11313. },
  11314. {
  11315. "type": "integer",
  11316. "description": "买卖方向 0-买 1-卖",
  11317. "name": "buyorsell",
  11318. "in": "query",
  11319. "required": true
  11320. }
  11321. ],
  11322. "responses": {
  11323. "200": {
  11324. "description": "OK",
  11325. "schema": {
  11326. "type": "array",
  11327. "items": {
  11328. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11329. }
  11330. }
  11331. },
  11332. "500": {
  11333. "description": "Internal Server Error",
  11334. "schema": {
  11335. "$ref": "#/definitions/app.Response"
  11336. }
  11337. }
  11338. }
  11339. }
  11340. },
  11341. "/Tjmd/QueryTjmdTransferApply": {
  11342. "get": {
  11343. "security": [
  11344. {
  11345. "ApiKeyAuth": []
  11346. }
  11347. ],
  11348. "produces": [
  11349. "application/json"
  11350. ],
  11351. "tags": [
  11352. "天津麦顿"
  11353. ],
  11354. "summary": "查询掉期协议单",
  11355. "parameters": [
  11356. {
  11357. "type": "integer",
  11358. "description": "类型 1-我的申请 2-对方申请",
  11359. "name": "applytype",
  11360. "in": "query",
  11361. "required": true
  11362. },
  11363. {
  11364. "type": "string",
  11365. "description": "市场id, 格式 1,2,3",
  11366. "name": "marketids",
  11367. "in": "query"
  11368. },
  11369. {
  11370. "type": "string",
  11371. "description": "资金账号, 格式 25000000001,25000000003",
  11372. "name": "accountids",
  11373. "in": "query"
  11374. },
  11375. {
  11376. "type": "string",
  11377. "description": "开始交易日(yyyymmdd)",
  11378. "name": "begindate",
  11379. "in": "query"
  11380. },
  11381. {
  11382. "type": "string",
  11383. "description": "结束交易日(yyyymmdd)",
  11384. "name": "enddate",
  11385. "in": "query"
  11386. }
  11387. ],
  11388. "responses": {
  11389. "200": {
  11390. "description": "OK",
  11391. "schema": {
  11392. "type": "array",
  11393. "items": {
  11394. "$ref": "#/definitions/models.TjmdTransferApply"
  11395. }
  11396. }
  11397. },
  11398. "500": {
  11399. "description": "Internal Server Error",
  11400. "schema": {
  11401. "$ref": "#/definitions/app.Response"
  11402. }
  11403. }
  11404. }
  11405. }
  11406. },
  11407. "/Trade/QueryRecieptOrder": {
  11408. "get": {
  11409. "security": [
  11410. {
  11411. "ApiKeyAuth": []
  11412. }
  11413. ],
  11414. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11415. "produces": [
  11416. "application/json"
  11417. ],
  11418. "tags": [
  11419. "通用交易"
  11420. ],
  11421. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11422. "parameters": [
  11423. {
  11424. "type": "integer",
  11425. "description": "页码",
  11426. "name": "page",
  11427. "in": "query"
  11428. },
  11429. {
  11430. "type": "integer",
  11431. "description": "每页条数",
  11432. "name": "pagesize",
  11433. "in": "query"
  11434. },
  11435. {
  11436. "type": "integer",
  11437. "description": "商品ID",
  11438. "name": "goodsID",
  11439. "in": "query",
  11440. "required": true
  11441. },
  11442. {
  11443. "type": "string",
  11444. "description": "所属账户名称",
  11445. "name": "accountName",
  11446. "in": "query"
  11447. },
  11448. {
  11449. "type": "integer",
  11450. "description": "市场ID",
  11451. "name": "marketID",
  11452. "in": "query"
  11453. },
  11454. {
  11455. "type": "integer",
  11456. "description": "方向 - 0:买 1:卖",
  11457. "name": "buyorsell",
  11458. "in": "query",
  11459. "required": true
  11460. }
  11461. ],
  11462. "responses": {
  11463. "200": {
  11464. "description": "OK",
  11465. "schema": {
  11466. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11467. }
  11468. },
  11469. "500": {
  11470. "description": "Internal Server Error",
  11471. "schema": {
  11472. "$ref": "#/definitions/app.Response"
  11473. }
  11474. }
  11475. }
  11476. }
  11477. },
  11478. "/User/AddMessageBoard": {
  11479. "post": {
  11480. "security": [
  11481. {
  11482. "ApiKeyAuth": []
  11483. }
  11484. ],
  11485. "produces": [
  11486. "application/json"
  11487. ],
  11488. "tags": [
  11489. "用户信息"
  11490. ],
  11491. "summary": "添加用户留言板信息",
  11492. "parameters": [
  11493. {
  11494. "type": "integer",
  11495. "description": "用户ID",
  11496. "name": "userID",
  11497. "in": "query",
  11498. "required": true
  11499. },
  11500. {
  11501. "type": "string",
  11502. "description": "留言信息",
  11503. "name": "message",
  11504. "in": "query",
  11505. "required": true
  11506. },
  11507. {
  11508. "type": "string",
  11509. "description": "联系电话",
  11510. "name": "contactNum",
  11511. "in": "query",
  11512. "required": true
  11513. }
  11514. ],
  11515. "responses": {
  11516. "200": {
  11517. "description": "OK",
  11518. "schema": {
  11519. "$ref": "#/definitions/app.Response"
  11520. }
  11521. },
  11522. "500": {
  11523. "description": "Internal Server Error",
  11524. "schema": {
  11525. "$ref": "#/definitions/app.Response"
  11526. }
  11527. }
  11528. }
  11529. }
  11530. },
  11531. "/User/AddUserFavoriteGoods": {
  11532. "post": {
  11533. "security": [
  11534. {
  11535. "ApiKeyAuth": []
  11536. }
  11537. ],
  11538. "produces": [
  11539. "application/json"
  11540. ],
  11541. "tags": [
  11542. "用户信息"
  11543. ],
  11544. "summary": "添加用户商品收藏信息",
  11545. "parameters": [
  11546. {
  11547. "type": "integer",
  11548. "description": "用户ID",
  11549. "name": "userID",
  11550. "in": "query",
  11551. "required": true
  11552. },
  11553. {
  11554. "type": "integer",
  11555. "description": "商品ID",
  11556. "name": "goodsID",
  11557. "in": "query",
  11558. "required": true
  11559. }
  11560. ],
  11561. "responses": {
  11562. "200": {
  11563. "description": "OK",
  11564. "schema": {
  11565. "$ref": "#/definitions/app.Response"
  11566. }
  11567. },
  11568. "500": {
  11569. "description": "Internal Server Error",
  11570. "schema": {
  11571. "$ref": "#/definitions/app.Response"
  11572. }
  11573. }
  11574. }
  11575. }
  11576. },
  11577. "/User/GetLoginID": {
  11578. "get": {
  11579. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11580. "produces": [
  11581. "application/json"
  11582. ],
  11583. "tags": [
  11584. "用户信息"
  11585. ],
  11586. "summary": "获取登录ID",
  11587. "parameters": [
  11588. {
  11589. "type": "string",
  11590. "description": "登录代码",
  11591. "name": "username",
  11592. "in": "query",
  11593. "required": true
  11594. }
  11595. ],
  11596. "responses": {
  11597. "200": {
  11598. "description": "OK",
  11599. "schema": {
  11600. "$ref": "#/definitions/app.Response"
  11601. }
  11602. },
  11603. "500": {
  11604. "description": "Internal Server Error",
  11605. "schema": {
  11606. "$ref": "#/definitions/app.Response"
  11607. }
  11608. }
  11609. }
  11610. }
  11611. },
  11612. "/User/GetUserAccount": {
  11613. "get": {
  11614. "security": [
  11615. {
  11616. "ApiKeyAuth": []
  11617. }
  11618. ],
  11619. "produces": [
  11620. "application/json"
  11621. ],
  11622. "tags": [
  11623. "用户信息"
  11624. ],
  11625. "summary": "获取用户账号信息",
  11626. "parameters": [
  11627. {
  11628. "type": "integer",
  11629. "description": "用户ID",
  11630. "name": "userID",
  11631. "in": "query",
  11632. "required": true
  11633. }
  11634. ],
  11635. "responses": {
  11636. "200": {
  11637. "description": "OK",
  11638. "schema": {
  11639. "$ref": "#/definitions/models.Useraccount"
  11640. }
  11641. },
  11642. "500": {
  11643. "description": "Internal Server Error",
  11644. "schema": {
  11645. "$ref": "#/definitions/app.Response"
  11646. }
  11647. }
  11648. }
  11649. }
  11650. },
  11651. "/User/GetUserAuthStatus": {
  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": "integer",
  11668. "description": "用户ID",
  11669. "name": "userID",
  11670. "in": "query",
  11671. "required": true
  11672. }
  11673. ],
  11674. "responses": {
  11675. "200": {
  11676. "description": "OK",
  11677. "schema": {
  11678. "$ref": "#/definitions/app.Response"
  11679. }
  11680. },
  11681. "500": {
  11682. "description": "Internal Server Error",
  11683. "schema": {
  11684. "$ref": "#/definitions/app.Response"
  11685. }
  11686. }
  11687. }
  11688. }
  11689. },
  11690. "/User/LoginQuery": {
  11691. "get": {
  11692. "security": [
  11693. {
  11694. "ApiKeyAuth": []
  11695. }
  11696. ],
  11697. "produces": [
  11698. "application/json"
  11699. ],
  11700. "tags": [
  11701. "用户信息"
  11702. ],
  11703. "summary": "账户登录后信息查询",
  11704. "parameters": [
  11705. {
  11706. "type": "integer",
  11707. "description": "登录账号",
  11708. "name": "loginID",
  11709. "in": "query",
  11710. "required": true
  11711. }
  11712. ],
  11713. "responses": {
  11714. "200": {
  11715. "description": "OK",
  11716. "schema": {
  11717. "$ref": "#/definitions/user.LoginQueryRsp"
  11718. }
  11719. },
  11720. "500": {
  11721. "description": "Internal Server Error",
  11722. "schema": {
  11723. "$ref": "#/definitions/app.Response"
  11724. }
  11725. }
  11726. }
  11727. }
  11728. },
  11729. "/User/QueryMessageBoard": {
  11730. "get": {
  11731. "security": [
  11732. {
  11733. "ApiKeyAuth": []
  11734. }
  11735. ],
  11736. "produces": [
  11737. "application/json"
  11738. ],
  11739. "tags": [
  11740. "用户信息"
  11741. ],
  11742. "summary": "获取用户留言板信息",
  11743. "parameters": [
  11744. {
  11745. "type": "integer",
  11746. "description": "用户ID",
  11747. "name": "userID",
  11748. "in": "query",
  11749. "required": true
  11750. }
  11751. ],
  11752. "responses": {
  11753. "200": {
  11754. "description": "OK",
  11755. "schema": {
  11756. "$ref": "#/definitions/models.Messageboard"
  11757. }
  11758. },
  11759. "500": {
  11760. "description": "Internal Server Error",
  11761. "schema": {
  11762. "$ref": "#/definitions/app.Response"
  11763. }
  11764. }
  11765. }
  11766. }
  11767. },
  11768. "/User/QueryUserFavoriteGoodses": {
  11769. "get": {
  11770. "security": [
  11771. {
  11772. "ApiKeyAuth": []
  11773. }
  11774. ],
  11775. "produces": [
  11776. "application/json"
  11777. ],
  11778. "tags": [
  11779. "用户信息"
  11780. ],
  11781. "summary": "获取用户商品收藏信息",
  11782. "parameters": [
  11783. {
  11784. "type": "integer",
  11785. "description": "用户ID",
  11786. "name": "userID",
  11787. "in": "query",
  11788. "required": true
  11789. }
  11790. ],
  11791. "responses": {
  11792. "200": {
  11793. "description": "OK",
  11794. "schema": {
  11795. "$ref": "#/definitions/models.Userfavoritegoods"
  11796. }
  11797. },
  11798. "500": {
  11799. "description": "Internal Server Error",
  11800. "schema": {
  11801. "$ref": "#/definitions/app.Response"
  11802. }
  11803. }
  11804. }
  11805. }
  11806. },
  11807. "/User/QueryUserInfo": {
  11808. "get": {
  11809. "security": [
  11810. {
  11811. "ApiKeyAuth": []
  11812. }
  11813. ],
  11814. "produces": [
  11815. "application/json"
  11816. ],
  11817. "tags": [
  11818. "用户信息"
  11819. ],
  11820. "summary": "获取用户信息",
  11821. "parameters": [
  11822. {
  11823. "type": "integer",
  11824. "description": "用户ID",
  11825. "name": "userID",
  11826. "in": "query",
  11827. "required": true
  11828. },
  11829. {
  11830. "type": "boolean",
  11831. "description": "是否解密",
  11832. "name": "isDecrypt",
  11833. "in": "query"
  11834. }
  11835. ],
  11836. "responses": {
  11837. "200": {
  11838. "description": "OK",
  11839. "schema": {
  11840. "$ref": "#/definitions/models.Userinfo"
  11841. }
  11842. },
  11843. "500": {
  11844. "description": "Internal Server Error",
  11845. "schema": {
  11846. "$ref": "#/definitions/app.Response"
  11847. }
  11848. }
  11849. }
  11850. }
  11851. },
  11852. "/User/QueryUserReferNum": {
  11853. "get": {
  11854. "produces": [
  11855. "application/json"
  11856. ],
  11857. "tags": [
  11858. "用户信息"
  11859. ],
  11860. "summary": "获取用户邀请码",
  11861. "parameters": [
  11862. {
  11863. "type": "integer",
  11864. "description": "用户ID",
  11865. "name": "userID",
  11866. "in": "query",
  11867. "required": true
  11868. }
  11869. ],
  11870. "responses": {
  11871. "200": {
  11872. "description": "OK",
  11873. "schema": {
  11874. "$ref": "#/definitions/app.Response"
  11875. }
  11876. },
  11877. "500": {
  11878. "description": "Internal Server Error",
  11879. "schema": {
  11880. "$ref": "#/definitions/app.Response"
  11881. }
  11882. }
  11883. }
  11884. }
  11885. },
  11886. "/User/RemoveUserFavoriteGoods": {
  11887. "post": {
  11888. "security": [
  11889. {
  11890. "ApiKeyAuth": []
  11891. }
  11892. ],
  11893. "produces": [
  11894. "application/json"
  11895. ],
  11896. "tags": [
  11897. "用户信息"
  11898. ],
  11899. "summary": "移除用户商品收藏信息",
  11900. "parameters": [
  11901. {
  11902. "type": "integer",
  11903. "description": "用户ID",
  11904. "name": "userID",
  11905. "in": "query",
  11906. "required": true
  11907. },
  11908. {
  11909. "type": "integer",
  11910. "description": "商品ID",
  11911. "name": "goodsID",
  11912. "in": "query",
  11913. "required": true
  11914. }
  11915. ],
  11916. "responses": {
  11917. "200": {
  11918. "description": "OK",
  11919. "schema": {
  11920. "$ref": "#/definitions/app.Response"
  11921. }
  11922. },
  11923. "500": {
  11924. "description": "Internal Server Error",
  11925. "schema": {
  11926. "$ref": "#/definitions/app.Response"
  11927. }
  11928. }
  11929. }
  11930. }
  11931. },
  11932. "/User/UpdateUserAccountStatus": {
  11933. "post": {
  11934. "security": [
  11935. {
  11936. "ApiKeyAuth": []
  11937. }
  11938. ],
  11939. "produces": [
  11940. "application/json"
  11941. ],
  11942. "tags": [
  11943. "用户信息"
  11944. ],
  11945. "summary": "更新用户状态",
  11946. "parameters": [
  11947. {
  11948. "type": "integer",
  11949. "description": "用户ID",
  11950. "name": "userID",
  11951. "in": "query",
  11952. "required": true
  11953. },
  11954. {
  11955. "type": "integer",
  11956. "description": "账户状态 - 4:正常 6:注销(停用)",
  11957. "name": "accountStatus",
  11958. "in": "query",
  11959. "required": true
  11960. }
  11961. ],
  11962. "responses": {
  11963. "200": {
  11964. "description": "OK",
  11965. "schema": {
  11966. "$ref": "#/definitions/app.Response"
  11967. }
  11968. },
  11969. "500": {
  11970. "description": "Internal Server Error",
  11971. "schema": {
  11972. "$ref": "#/definitions/app.Response"
  11973. }
  11974. }
  11975. }
  11976. }
  11977. },
  11978. "/WRTrade/GetAllDeliveryGoods": {
  11979. "get": {
  11980. "security": [
  11981. {
  11982. "ApiKeyAuth": []
  11983. },
  11984. {
  11985. "ApiKeyAuth": []
  11986. }
  11987. ],
  11988. "produces": [
  11989. "application/json",
  11990. "application/json"
  11991. ],
  11992. "tags": [
  11993. "仓单贸易",
  11994. "仓单贸易"
  11995. ],
  11996. "summary": "获取带仓单分类的种类信息",
  11997. "responses": {
  11998. "200": {
  11999. "description": "OK",
  12000. "schema": {
  12001. "$ref": "#/definitions/app.Response"
  12002. }
  12003. },
  12004. "500": {
  12005. "description": "Internal Server Error",
  12006. "schema": {
  12007. "$ref": "#/definitions/app.Response"
  12008. }
  12009. }
  12010. }
  12011. }
  12012. },
  12013. "/WrTrade2/QueryDeliveryGoodsSection": {
  12014. "get": {
  12015. "security": [
  12016. {
  12017. "ApiKeyAuth": []
  12018. }
  12019. ],
  12020. "produces": [
  12021. "application/json"
  12022. ],
  12023. "tags": [
  12024. "仓单贸易v2"
  12025. ],
  12026. "summary": "查询板块(分类)",
  12027. "responses": {
  12028. "200": {
  12029. "description": "OK",
  12030. "schema": {
  12031. "type": "array",
  12032. "items": {
  12033. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  12034. }
  12035. }
  12036. },
  12037. "500": {
  12038. "description": "Internal Server Error",
  12039. "schema": {
  12040. "$ref": "#/definitions/app.Response"
  12041. }
  12042. }
  12043. }
  12044. }
  12045. },
  12046. "/WrTrade2/QueryFaProductDetail": {
  12047. "get": {
  12048. "security": [
  12049. {
  12050. "ApiKeyAuth": []
  12051. }
  12052. ],
  12053. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  12054. "produces": [
  12055. "application/json"
  12056. ],
  12057. "tags": [
  12058. "仓单贸易v2"
  12059. ],
  12060. "summary": "查询融资产品列表",
  12061. "parameters": [
  12062. {
  12063. "type": "integer",
  12064. "description": "仓单要素id",
  12065. "name": "wrfactortypeid",
  12066. "in": "query",
  12067. "required": true
  12068. }
  12069. ],
  12070. "responses": {
  12071. "200": {
  12072. "description": "OK",
  12073. "schema": {
  12074. "type": "array",
  12075. "items": {
  12076. "$ref": "#/definitions/models.WrFAProductDetail"
  12077. }
  12078. }
  12079. },
  12080. "500": {
  12081. "description": "Internal Server Error",
  12082. "schema": {
  12083. "$ref": "#/definitions/app.Response"
  12084. }
  12085. }
  12086. }
  12087. }
  12088. },
  12089. "/WrTrade2/QueryFilterItem": {
  12090. "get": {
  12091. "security": [
  12092. {
  12093. "ApiKeyAuth": []
  12094. }
  12095. ],
  12096. "produces": [
  12097. "application/json"
  12098. ],
  12099. "tags": [
  12100. "仓单贸易v2"
  12101. ],
  12102. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  12103. "parameters": [
  12104. {
  12105. "type": "string",
  12106. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  12107. "name": "itype",
  12108. "in": "query",
  12109. "required": true
  12110. }
  12111. ],
  12112. "responses": {
  12113. "200": {
  12114. "description": "OK",
  12115. "schema": {
  12116. "type": "array",
  12117. "items": {
  12118. "$ref": "#/definitions/models.WrFilterItem"
  12119. }
  12120. }
  12121. },
  12122. "500": {
  12123. "description": "Internal Server Error",
  12124. "schema": {
  12125. "$ref": "#/definitions/app.Response"
  12126. }
  12127. }
  12128. }
  12129. }
  12130. },
  12131. "/WrTrade2/QueryFtDeliveryGoods": {
  12132. "get": {
  12133. "security": [
  12134. {
  12135. "ApiKeyAuth": []
  12136. }
  12137. ],
  12138. "produces": [
  12139. "application/json"
  12140. ],
  12141. "tags": [
  12142. "仓单贸易v2"
  12143. ],
  12144. "summary": "查询品种品类筛选框列表",
  12145. "responses": {
  12146. "200": {
  12147. "description": "OK",
  12148. "schema": {
  12149. "type": "array",
  12150. "items": {
  12151. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12152. }
  12153. }
  12154. },
  12155. "500": {
  12156. "description": "Internal Server Error",
  12157. "schema": {
  12158. "$ref": "#/definitions/app.Response"
  12159. }
  12160. }
  12161. }
  12162. }
  12163. },
  12164. "/WrTrade2/QueryHoldLB": {
  12165. "get": {
  12166. "security": [
  12167. {
  12168. "ApiKeyAuth": []
  12169. }
  12170. ],
  12171. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12172. "produces": [
  12173. "application/json"
  12174. ],
  12175. "tags": [
  12176. "仓单贸易v2"
  12177. ],
  12178. "summary": "查询仓单持有记录",
  12179. "parameters": [
  12180. {
  12181. "type": "integer",
  12182. "description": "资金账号",
  12183. "name": "accountid",
  12184. "in": "query",
  12185. "required": true
  12186. },
  12187. {
  12188. "type": "integer",
  12189. "description": "仓库id",
  12190. "name": "warehouseid",
  12191. "in": "query"
  12192. },
  12193. {
  12194. "type": "integer",
  12195. "description": "品种id",
  12196. "name": "deliverygoodsid",
  12197. "in": "query"
  12198. },
  12199. {
  12200. "type": "integer",
  12201. "description": "品类id",
  12202. "name": "wrstandardid",
  12203. "in": "query"
  12204. },
  12205. {
  12206. "type": "integer",
  12207. "description": "仓单要素id",
  12208. "name": "wrfactortypeid",
  12209. "in": "query"
  12210. },
  12211. {
  12212. "type": "string",
  12213. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12214. "name": "dgitemname",
  12215. "in": "query"
  12216. }
  12217. ],
  12218. "responses": {
  12219. "200": {
  12220. "description": "OK",
  12221. "schema": {
  12222. "type": "array",
  12223. "items": {
  12224. "$ref": "#/definitions/models.WrHoldLB"
  12225. }
  12226. }
  12227. },
  12228. "500": {
  12229. "description": "Internal Server Error",
  12230. "schema": {
  12231. "$ref": "#/definitions/app.Response"
  12232. }
  12233. }
  12234. }
  12235. }
  12236. },
  12237. "/WrTrade2/QueryOrderQuote": {
  12238. "get": {
  12239. "security": [
  12240. {
  12241. "ApiKeyAuth": []
  12242. }
  12243. ],
  12244. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12245. "produces": [
  12246. "application/json"
  12247. ],
  12248. "tags": [
  12249. "仓单贸易v2"
  12250. ],
  12251. "summary": "查询大厅行情列表",
  12252. "parameters": [
  12253. {
  12254. "type": "integer",
  12255. "description": "页码",
  12256. "name": "page",
  12257. "in": "query"
  12258. },
  12259. {
  12260. "type": "integer",
  12261. "description": "每页条数",
  12262. "name": "pagesize",
  12263. "in": "query"
  12264. },
  12265. {
  12266. "type": "integer",
  12267. "description": "仓单贸易市场id",
  12268. "name": "marketid",
  12269. "in": "query"
  12270. },
  12271. {
  12272. "type": "integer",
  12273. "description": "价格方式 - 1:固定价 2-浮动价",
  12274. "name": "wrpricetype",
  12275. "in": "query",
  12276. "required": true
  12277. },
  12278. {
  12279. "type": "integer",
  12280. "description": "0:仓单预售 1:仓单贸易",
  12281. "name": "haswr",
  12282. "in": "query"
  12283. },
  12284. {
  12285. "type": "string",
  12286. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12287. "name": "dgitemname",
  12288. "in": "query"
  12289. },
  12290. {
  12291. "type": "integer",
  12292. "description": "仓库id(筛选条件)",
  12293. "name": "warehouseid",
  12294. "in": "query"
  12295. },
  12296. {
  12297. "type": "integer",
  12298. "description": "品种id",
  12299. "name": "deliverygoodsid",
  12300. "in": "query"
  12301. },
  12302. {
  12303. "type": "integer",
  12304. "description": "品类id",
  12305. "name": "wrstandardid",
  12306. "in": "query"
  12307. },
  12308. {
  12309. "type": "integer",
  12310. "description": "仓单要素id",
  12311. "name": "wrfactortypeid",
  12312. "in": "query"
  12313. },
  12314. {
  12315. "type": "string",
  12316. "description": "交收月(yyyy-mm) 仓单预售填写",
  12317. "name": "deliverymonth",
  12318. "in": "query"
  12319. }
  12320. ],
  12321. "responses": {
  12322. "200": {
  12323. "description": "OK",
  12324. "schema": {
  12325. "type": "array",
  12326. "items": {
  12327. "$ref": "#/definitions/models.WrOrderQuote"
  12328. }
  12329. }
  12330. },
  12331. "500": {
  12332. "description": "Internal Server Error",
  12333. "schema": {
  12334. "$ref": "#/definitions/app.Response"
  12335. }
  12336. }
  12337. }
  12338. }
  12339. },
  12340. "/WrTrade2/QueryOrderQuoteDetail": {
  12341. "get": {
  12342. "security": [
  12343. {
  12344. "ApiKeyAuth": []
  12345. }
  12346. ],
  12347. "produces": [
  12348. "application/json"
  12349. ],
  12350. "tags": [
  12351. "仓单贸易v2"
  12352. ],
  12353. "summary": "查询买卖大厅",
  12354. "parameters": [
  12355. {
  12356. "type": "integer",
  12357. "description": "页码",
  12358. "name": "page",
  12359. "in": "query"
  12360. },
  12361. {
  12362. "type": "integer",
  12363. "description": "每页条数",
  12364. "name": "pagesize",
  12365. "in": "query"
  12366. },
  12367. {
  12368. "type": "integer",
  12369. "description": "仓单贸易市场id",
  12370. "name": "marketid",
  12371. "in": "query"
  12372. },
  12373. {
  12374. "type": "integer",
  12375. "description": "价格方式 - 1:固定价 2-浮动价",
  12376. "name": "wrpricetype",
  12377. "in": "query",
  12378. "required": true
  12379. },
  12380. {
  12381. "type": "integer",
  12382. "description": "0:仓单预售 1:仓单贸易",
  12383. "name": "haswr",
  12384. "in": "query"
  12385. },
  12386. {
  12387. "type": "integer",
  12388. "description": "仓单要素id",
  12389. "name": "wrfactortypeid",
  12390. "in": "query",
  12391. "required": true
  12392. },
  12393. {
  12394. "type": "integer",
  12395. "description": "期货商品id(浮动价方式时填)",
  12396. "name": "goodsid",
  12397. "in": "query"
  12398. },
  12399. {
  12400. "type": "integer",
  12401. "description": "买卖方向 0-买 1-卖",
  12402. "name": "buyorsell",
  12403. "in": "query",
  12404. "required": true
  12405. },
  12406. {
  12407. "type": "string",
  12408. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12409. "name": "deliverymonth",
  12410. "in": "query"
  12411. }
  12412. ],
  12413. "responses": {
  12414. "200": {
  12415. "description": "OK",
  12416. "schema": {
  12417. "type": "array",
  12418. "items": {
  12419. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12420. }
  12421. }
  12422. },
  12423. "500": {
  12424. "description": "Internal Server Error",
  12425. "schema": {
  12426. "$ref": "#/definitions/app.Response"
  12427. }
  12428. }
  12429. }
  12430. }
  12431. },
  12432. "/WrTrade2/QueryOrderQuoteMyq": {
  12433. "get": {
  12434. "security": [
  12435. {
  12436. "ApiKeyAuth": []
  12437. }
  12438. ],
  12439. "produces": [
  12440. "application/json"
  12441. ],
  12442. "tags": [
  12443. "仓单贸易v2"
  12444. ],
  12445. "summary": "查询贸易圈挂牌大厅",
  12446. "parameters": [
  12447. {
  12448. "type": "integer",
  12449. "description": "页码",
  12450. "name": "page",
  12451. "in": "query"
  12452. },
  12453. {
  12454. "type": "integer",
  12455. "description": "每页条数",
  12456. "name": "pagesize",
  12457. "in": "query"
  12458. },
  12459. {
  12460. "type": "integer",
  12461. "description": "用户id",
  12462. "name": "userid",
  12463. "in": "query",
  12464. "required": true
  12465. },
  12466. {
  12467. "type": "integer",
  12468. "description": "仓单贸易市场id",
  12469. "name": "marketid",
  12470. "in": "query"
  12471. },
  12472. {
  12473. "type": "integer",
  12474. "description": "0:仓单预售 1:仓单贸易",
  12475. "name": "haswr",
  12476. "in": "query"
  12477. },
  12478. {
  12479. "type": "integer",
  12480. "description": "买卖方向 0-买 1-卖",
  12481. "name": "buyorsell",
  12482. "in": "query",
  12483. "required": true
  12484. },
  12485. {
  12486. "type": "integer",
  12487. "description": "品种id",
  12488. "name": "deliverygoodsid",
  12489. "in": "query"
  12490. },
  12491. {
  12492. "type": "integer",
  12493. "description": "品类id",
  12494. "name": "wrstandardid",
  12495. "in": "query"
  12496. },
  12497. {
  12498. "type": "string",
  12499. "description": "交收月(yyyy-mm) 仓单预售填写",
  12500. "name": "deliverymonth",
  12501. "in": "query"
  12502. },
  12503. {
  12504. "type": "string",
  12505. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12506. "name": "dgitemname",
  12507. "in": "query"
  12508. }
  12509. ],
  12510. "responses": {
  12511. "200": {
  12512. "description": "OK",
  12513. "schema": {
  12514. "type": "array",
  12515. "items": {
  12516. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12517. }
  12518. }
  12519. },
  12520. "500": {
  12521. "description": "Internal Server Error",
  12522. "schema": {
  12523. "$ref": "#/definitions/app.Response"
  12524. }
  12525. }
  12526. }
  12527. }
  12528. },
  12529. "/WrTrade2/QueryPerformancePlan": {
  12530. "get": {
  12531. "security": [
  12532. {
  12533. "ApiKeyAuth": []
  12534. }
  12535. ],
  12536. "produces": [
  12537. "application/json"
  12538. ],
  12539. "tags": [
  12540. "仓单贸易v2"
  12541. ],
  12542. "summary": "查询履约信息",
  12543. "parameters": [
  12544. {
  12545. "type": "integer",
  12546. "description": "用户id",
  12547. "name": "userid",
  12548. "in": "query",
  12549. "required": true
  12550. },
  12551. {
  12552. "type": "integer",
  12553. "description": "买卖方向 0-买 1-卖",
  12554. "name": "buyorsell",
  12555. "in": "query",
  12556. "required": true
  12557. }
  12558. ],
  12559. "responses": {
  12560. "200": {
  12561. "description": "OK",
  12562. "schema": {
  12563. "type": "array",
  12564. "items": {
  12565. "$ref": "#/definitions/models.WrPerformancePlan"
  12566. }
  12567. }
  12568. },
  12569. "500": {
  12570. "description": "Internal Server Error",
  12571. "schema": {
  12572. "$ref": "#/definitions/app.Response"
  12573. }
  12574. }
  12575. }
  12576. }
  12577. },
  12578. "/WrTrade2/QueryPermancePlanTmp": {
  12579. "get": {
  12580. "security": [
  12581. {
  12582. "ApiKeyAuth": []
  12583. }
  12584. ],
  12585. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  12586. "produces": [
  12587. "application/json"
  12588. ],
  12589. "tags": [
  12590. "仓单贸易v2"
  12591. ],
  12592. "summary": "查询履约模板",
  12593. "parameters": [
  12594. {
  12595. "type": "integer",
  12596. "description": "用户id",
  12597. "name": "userid",
  12598. "in": "query"
  12599. },
  12600. {
  12601. "type": "string",
  12602. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12603. "name": "tmptype",
  12604. "in": "query"
  12605. },
  12606. {
  12607. "type": "integer",
  12608. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12609. "name": "includepub",
  12610. "in": "query"
  12611. },
  12612. {
  12613. "type": "integer",
  12614. "description": "市场id(天津麦顿指定此参数,其它不用)",
  12615. "name": "marketid",
  12616. "in": "query"
  12617. }
  12618. ],
  12619. "responses": {
  12620. "200": {
  12621. "description": "OK",
  12622. "schema": {
  12623. "type": "array",
  12624. "items": {
  12625. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12626. }
  12627. }
  12628. },
  12629. "500": {
  12630. "description": "Internal Server Error",
  12631. "schema": {
  12632. "$ref": "#/definitions/app.Response"
  12633. }
  12634. }
  12635. }
  12636. }
  12637. },
  12638. "/WrTrade2/QuerySiteColumnDetail": {
  12639. "get": {
  12640. "security": [
  12641. {
  12642. "ApiKeyAuth": []
  12643. }
  12644. ],
  12645. "produces": [
  12646. "application/json"
  12647. ],
  12648. "tags": [
  12649. "仓单贸易v2"
  12650. ],
  12651. "summary": "查询资讯",
  12652. "parameters": [
  12653. {
  12654. "type": "integer",
  12655. "description": "页码",
  12656. "name": "page",
  12657. "in": "query"
  12658. },
  12659. {
  12660. "type": "integer",
  12661. "description": "每页条数",
  12662. "name": "pagesize",
  12663. "in": "query"
  12664. }
  12665. ],
  12666. "responses": {
  12667. "200": {
  12668. "description": "OK",
  12669. "schema": {
  12670. "type": "array",
  12671. "items": {
  12672. "$ref": "#/definitions/models.WrSiteColumnDetail"
  12673. }
  12674. }
  12675. },
  12676. "500": {
  12677. "description": "Internal Server Error",
  12678. "schema": {
  12679. "$ref": "#/definitions/app.Response"
  12680. }
  12681. }
  12682. }
  12683. }
  12684. },
  12685. "/WrTrade2/QuerySpotGroupTradeSum": {
  12686. "get": {
  12687. "security": [
  12688. {
  12689. "ApiKeyAuth": []
  12690. }
  12691. ],
  12692. "produces": [
  12693. "application/json"
  12694. ],
  12695. "tags": [
  12696. "仓单贸易v2"
  12697. ],
  12698. "summary": "查询指数",
  12699. "responses": {
  12700. "200": {
  12701. "description": "OK",
  12702. "schema": {
  12703. "type": "array",
  12704. "items": {
  12705. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  12706. }
  12707. }
  12708. },
  12709. "500": {
  12710. "description": "Internal Server Error",
  12711. "schema": {
  12712. "$ref": "#/definitions/app.Response"
  12713. }
  12714. }
  12715. }
  12716. }
  12717. },
  12718. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  12719. "get": {
  12720. "security": [
  12721. {
  12722. "ApiKeyAuth": []
  12723. }
  12724. ],
  12725. "description": "查询的结果将会按日期 从小到大 排序",
  12726. "produces": [
  12727. "application/json"
  12728. ],
  12729. "tags": [
  12730. "仓单贸易v2"
  12731. ],
  12732. "summary": "查询指数详细(价格走势图)",
  12733. "parameters": [
  12734. {
  12735. "type": "integer",
  12736. "description": "现货商品id",
  12737. "name": "deliverygoodsid",
  12738. "in": "query",
  12739. "required": true
  12740. },
  12741. {
  12742. "type": "integer",
  12743. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  12744. "name": "lastnum",
  12745. "in": "query"
  12746. }
  12747. ],
  12748. "responses": {
  12749. "200": {
  12750. "description": "OK",
  12751. "schema": {
  12752. "type": "array",
  12753. "items": {
  12754. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  12755. }
  12756. }
  12757. },
  12758. "500": {
  12759. "description": "Internal Server Error",
  12760. "schema": {
  12761. "$ref": "#/definitions/app.Response"
  12762. }
  12763. }
  12764. }
  12765. }
  12766. },
  12767. "/WrTrade2/QueryWrAverageTradePrice": {
  12768. "get": {
  12769. "security": [
  12770. {
  12771. "ApiKeyAuth": []
  12772. }
  12773. ],
  12774. "produces": [
  12775. "application/json"
  12776. ],
  12777. "tags": [
  12778. "仓单贸易v2"
  12779. ],
  12780. "summary": "查询成交价(历史走势)",
  12781. "parameters": [
  12782. {
  12783. "type": "integer",
  12784. "description": "页码",
  12785. "name": "page",
  12786. "in": "query"
  12787. },
  12788. {
  12789. "type": "integer",
  12790. "description": "每页条数",
  12791. "name": "pagesize",
  12792. "in": "query"
  12793. },
  12794. {
  12795. "type": "integer",
  12796. "description": "0:仓单预售 1:仓单贸易",
  12797. "name": "haswr",
  12798. "in": "query",
  12799. "required": true
  12800. },
  12801. {
  12802. "type": "integer",
  12803. "description": "仓单要素id",
  12804. "name": "wrfactortypeid",
  12805. "in": "query",
  12806. "required": true
  12807. }
  12808. ],
  12809. "responses": {
  12810. "200": {
  12811. "description": "OK",
  12812. "schema": {
  12813. "type": "array",
  12814. "items": {
  12815. "$ref": "#/definitions/models.WrAverageTradePrice"
  12816. }
  12817. }
  12818. },
  12819. "500": {
  12820. "description": "Internal Server Error",
  12821. "schema": {
  12822. "$ref": "#/definitions/app.Response"
  12823. }
  12824. }
  12825. }
  12826. }
  12827. },
  12828. "/WrTrade2/QueryWrBsGoodsInfo": {
  12829. "get": {
  12830. "security": [
  12831. {
  12832. "ApiKeyAuth": []
  12833. }
  12834. ],
  12835. "description": "合约交易/买卖大厅/详情",
  12836. "produces": [
  12837. "application/json"
  12838. ],
  12839. "tags": [
  12840. "仓单贸易v2"
  12841. ],
  12842. "summary": "查询合约交易买卖大厅详情",
  12843. "parameters": [
  12844. {
  12845. "type": "integer",
  12846. "description": "商品id",
  12847. "name": "goodsid",
  12848. "in": "query",
  12849. "required": true
  12850. }
  12851. ],
  12852. "responses": {
  12853. "200": {
  12854. "description": "OK",
  12855. "schema": {
  12856. "type": "array",
  12857. "items": {
  12858. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12859. }
  12860. }
  12861. },
  12862. "500": {
  12863. "description": "Internal Server Error",
  12864. "schema": {
  12865. "$ref": "#/definitions/app.Response"
  12866. }
  12867. }
  12868. }
  12869. }
  12870. },
  12871. "/WrTrade2/QueryWrBuybackDetail": {
  12872. "get": {
  12873. "security": [
  12874. {
  12875. "ApiKeyAuth": []
  12876. }
  12877. ],
  12878. "produces": [
  12879. "application/json"
  12880. ],
  12881. "tags": [
  12882. "仓单贸易v2"
  12883. ],
  12884. "summary": "查询仓单回购明细",
  12885. "parameters": [
  12886. {
  12887. "type": "integer",
  12888. "description": "融资合同id",
  12889. "name": "scfcontractid",
  12890. "in": "query"
  12891. }
  12892. ],
  12893. "responses": {
  12894. "200": {
  12895. "description": "OK",
  12896. "schema": {
  12897. "type": "array",
  12898. "items": {
  12899. "$ref": "#/definitions/models.WrBuybackDetail"
  12900. }
  12901. }
  12902. },
  12903. "500": {
  12904. "description": "Internal Server Error",
  12905. "schema": {
  12906. "$ref": "#/definitions/app.Response"
  12907. }
  12908. }
  12909. }
  12910. }
  12911. },
  12912. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12913. "get": {
  12914. "security": [
  12915. {
  12916. "ApiKeyAuth": []
  12917. }
  12918. ],
  12919. "produces": [
  12920. "application/json"
  12921. ],
  12922. "tags": [
  12923. "仓单贸易v2"
  12924. ],
  12925. "summary": "查询合约交收可点选仓单",
  12926. "parameters": [
  12927. {
  12928. "type": "integer",
  12929. "description": "资金账号",
  12930. "name": "accountid",
  12931. "in": "query",
  12932. "required": true
  12933. },
  12934. {
  12935. "type": "integer",
  12936. "description": "商品id",
  12937. "name": "goodsid",
  12938. "in": "query",
  12939. "required": true
  12940. }
  12941. ],
  12942. "responses": {
  12943. "200": {
  12944. "description": "OK",
  12945. "schema": {
  12946. "type": "array",
  12947. "items": {
  12948. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12949. }
  12950. }
  12951. },
  12952. "500": {
  12953. "description": "Internal Server Error",
  12954. "schema": {
  12955. "$ref": "#/definitions/app.Response"
  12956. }
  12957. }
  12958. }
  12959. }
  12960. },
  12961. "/WrTrade2/QueryWrDeliveryDetail": {
  12962. "get": {
  12963. "security": [
  12964. {
  12965. "ApiKeyAuth": []
  12966. }
  12967. ],
  12968. "produces": [
  12969. "application/json"
  12970. ],
  12971. "tags": [
  12972. "仓单贸易v2"
  12973. ],
  12974. "summary": "查询交收",
  12975. "parameters": [
  12976. {
  12977. "type": "integer",
  12978. "description": "用户id",
  12979. "name": "userid",
  12980. "in": "query",
  12981. "required": true
  12982. },
  12983. {
  12984. "type": "integer",
  12985. "description": "资金账号id",
  12986. "name": "accountid",
  12987. "in": "query"
  12988. },
  12989. {
  12990. "type": "string",
  12991. "description": "开始交易日(yyyymmdd)",
  12992. "name": "begindate",
  12993. "in": "query"
  12994. },
  12995. {
  12996. "type": "string",
  12997. "description": "结束交易日(yyyymmdd)",
  12998. "name": "enddate",
  12999. "in": "query"
  13000. }
  13001. ],
  13002. "responses": {
  13003. "200": {
  13004. "description": "OK",
  13005. "schema": {
  13006. "type": "array",
  13007. "items": {
  13008. "$ref": "#/definitions/models.WrDeliveryDetail"
  13009. }
  13010. }
  13011. },
  13012. "500": {
  13013. "description": "Internal Server Error",
  13014. "schema": {
  13015. "$ref": "#/definitions/app.Response"
  13016. }
  13017. }
  13018. }
  13019. }
  13020. },
  13021. "/WrTrade2/QueryWrFactorTypeInfo": {
  13022. "get": {
  13023. "security": [
  13024. {
  13025. "ApiKeyAuth": []
  13026. }
  13027. ],
  13028. "produces": [
  13029. "application/json"
  13030. ],
  13031. "tags": [
  13032. "仓单贸易v2"
  13033. ],
  13034. "summary": "查询仓单要素详细信息",
  13035. "parameters": [
  13036. {
  13037. "type": "integer",
  13038. "description": "仓单要素id",
  13039. "name": "wrfactortypeid",
  13040. "in": "query",
  13041. "required": true
  13042. }
  13043. ],
  13044. "responses": {
  13045. "200": {
  13046. "description": "OK",
  13047. "schema": {
  13048. "type": "array",
  13049. "items": {
  13050. "$ref": "#/definitions/models.WrFactorTypeInfo"
  13051. }
  13052. }
  13053. },
  13054. "500": {
  13055. "description": "Internal Server Error",
  13056. "schema": {
  13057. "$ref": "#/definitions/app.Response"
  13058. }
  13059. }
  13060. }
  13061. }
  13062. },
  13063. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  13064. "get": {
  13065. "security": [
  13066. {
  13067. "ApiKeyAuth": []
  13068. }
  13069. ],
  13070. "produces": [
  13071. "application/json"
  13072. ],
  13073. "tags": [
  13074. "仓单贸易v2"
  13075. ],
  13076. "summary": "查询仓单要素详细信息列表项",
  13077. "parameters": [
  13078. {
  13079. "type": "integer",
  13080. "description": "仓单要素id",
  13081. "name": "wrfactortypeid",
  13082. "in": "query",
  13083. "required": true
  13084. }
  13085. ],
  13086. "responses": {
  13087. "200": {
  13088. "description": "OK",
  13089. "schema": {
  13090. "type": "array",
  13091. "items": {
  13092. "$ref": "#/definitions/models.WrTypeItem"
  13093. }
  13094. }
  13095. },
  13096. "500": {
  13097. "description": "Internal Server Error",
  13098. "schema": {
  13099. "$ref": "#/definitions/app.Response"
  13100. }
  13101. }
  13102. }
  13103. }
  13104. },
  13105. "/WrTrade2/QueryWrFinanceBuyApply": {
  13106. "get": {
  13107. "security": [
  13108. {
  13109. "ApiKeyAuth": []
  13110. }
  13111. ],
  13112. "description": "页面 融资信息+ / 申请单",
  13113. "produces": [
  13114. "application/json"
  13115. ],
  13116. "tags": [
  13117. "仓单贸易v2"
  13118. ],
  13119. "summary": "查询融资购买申请",
  13120. "parameters": [
  13121. {
  13122. "type": "integer",
  13123. "description": "用户id",
  13124. "name": "userid",
  13125. "in": "query",
  13126. "required": true
  13127. }
  13128. ],
  13129. "responses": {
  13130. "200": {
  13131. "description": "OK",
  13132. "schema": {
  13133. "type": "array",
  13134. "items": {
  13135. "$ref": "#/definitions/models.WrFinanceBuyApply"
  13136. }
  13137. }
  13138. },
  13139. "500": {
  13140. "description": "Internal Server Error",
  13141. "schema": {
  13142. "$ref": "#/definitions/app.Response"
  13143. }
  13144. }
  13145. }
  13146. }
  13147. },
  13148. "/WrTrade2/QueryWrFriendApply": {
  13149. "get": {
  13150. "security": [
  13151. {
  13152. "ApiKeyAuth": []
  13153. }
  13154. ],
  13155. "produces": [
  13156. "application/json"
  13157. ],
  13158. "tags": [
  13159. "仓单贸易v2"
  13160. ],
  13161. "summary": "查询好友申请记录",
  13162. "parameters": [
  13163. {
  13164. "type": "integer",
  13165. "description": "用户id",
  13166. "name": "userid",
  13167. "in": "query",
  13168. "required": true
  13169. }
  13170. ],
  13171. "responses": {
  13172. "200": {
  13173. "description": "OK",
  13174. "schema": {
  13175. "type": "array",
  13176. "items": {
  13177. "$ref": "#/definitions/models.WrFriendApply"
  13178. }
  13179. }
  13180. },
  13181. "500": {
  13182. "description": "Internal Server Error",
  13183. "schema": {
  13184. "$ref": "#/definitions/app.Response"
  13185. }
  13186. }
  13187. }
  13188. }
  13189. },
  13190. "/WrTrade2/QueryWrGoodsInfo": {
  13191. "get": {
  13192. "security": [
  13193. {
  13194. "ApiKeyAuth": []
  13195. }
  13196. ],
  13197. "produces": [
  13198. "application/json"
  13199. ],
  13200. "tags": [
  13201. "仓单贸易v2"
  13202. ],
  13203. "summary": "查询仓单商品信息",
  13204. "parameters": [
  13205. {
  13206. "type": "integer",
  13207. "description": "仓单贸易市场id",
  13208. "name": "marketid",
  13209. "in": "query"
  13210. },
  13211. {
  13212. "type": "integer",
  13213. "description": "0:仓单预售 1:仓单贸易",
  13214. "name": "haswr",
  13215. "in": "query",
  13216. "required": true
  13217. },
  13218. {
  13219. "type": "integer",
  13220. "description": "仓单要素id",
  13221. "name": "wrfactortypeid",
  13222. "in": "query",
  13223. "required": true
  13224. },
  13225. {
  13226. "type": "integer",
  13227. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  13228. "name": "tmplateid",
  13229. "in": "query"
  13230. }
  13231. ],
  13232. "responses": {
  13233. "200": {
  13234. "description": "OK",
  13235. "schema": {
  13236. "type": "array",
  13237. "items": {
  13238. "$ref": "#/definitions/models.WrGoodsInfo"
  13239. }
  13240. }
  13241. },
  13242. "500": {
  13243. "description": "Internal Server Error",
  13244. "schema": {
  13245. "$ref": "#/definitions/app.Response"
  13246. }
  13247. }
  13248. }
  13249. }
  13250. },
  13251. "/WrTrade2/QueryWrMarketTradeConfig": {
  13252. "get": {
  13253. "security": [
  13254. {
  13255. "ApiKeyAuth": []
  13256. }
  13257. ],
  13258. "produces": [
  13259. "application/json"
  13260. ],
  13261. "tags": [
  13262. "仓单贸易v2"
  13263. ],
  13264. "summary": "查询市场交易参数配置",
  13265. "parameters": [
  13266. {
  13267. "type": "integer",
  13268. "description": "市场id",
  13269. "name": "marketid",
  13270. "in": "query"
  13271. }
  13272. ],
  13273. "responses": {
  13274. "200": {
  13275. "description": "OK",
  13276. "schema": {
  13277. "type": "array",
  13278. "items": {
  13279. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13280. }
  13281. }
  13282. },
  13283. "500": {
  13284. "description": "Internal Server Error",
  13285. "schema": {
  13286. "$ref": "#/definitions/app.Response"
  13287. }
  13288. }
  13289. }
  13290. }
  13291. },
  13292. "/WrTrade2/QueryWrOrderDetail": {
  13293. "get": {
  13294. "security": [
  13295. {
  13296. "ApiKeyAuth": []
  13297. }
  13298. ],
  13299. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  13300. "produces": [
  13301. "application/json"
  13302. ],
  13303. "tags": [
  13304. "仓单贸易v2"
  13305. ],
  13306. "summary": "查询仓单委托单(挂单)",
  13307. "parameters": [
  13308. {
  13309. "type": "integer",
  13310. "description": "页码",
  13311. "name": "page",
  13312. "in": "query"
  13313. },
  13314. {
  13315. "type": "integer",
  13316. "description": "每页条数",
  13317. "name": "pagesize",
  13318. "in": "query"
  13319. },
  13320. {
  13321. "type": "integer",
  13322. "description": "用户id",
  13323. "name": "userid",
  13324. "in": "query",
  13325. "required": true
  13326. },
  13327. {
  13328. "type": "integer",
  13329. "description": "仓单贸易市场id",
  13330. "name": "marketid",
  13331. "in": "query"
  13332. },
  13333. {
  13334. "type": "integer",
  13335. "description": "0:仓单预售 1:仓单贸易",
  13336. "name": "haswr",
  13337. "in": "query",
  13338. "required": true
  13339. },
  13340. {
  13341. "type": "string",
  13342. "description": "开始交易日(yyyymmdd)",
  13343. "name": "begindate",
  13344. "in": "query"
  13345. },
  13346. {
  13347. "type": "string",
  13348. "description": "结束交易日(yyyymmdd)",
  13349. "name": "enddate",
  13350. "in": "query"
  13351. }
  13352. ],
  13353. "responses": {
  13354. "200": {
  13355. "description": "OK",
  13356. "schema": {
  13357. "type": "array",
  13358. "items": {
  13359. "$ref": "#/definitions/models.WrOrderDetail"
  13360. }
  13361. }
  13362. },
  13363. "500": {
  13364. "description": "Internal Server Error",
  13365. "schema": {
  13366. "$ref": "#/definitions/app.Response"
  13367. }
  13368. }
  13369. }
  13370. }
  13371. },
  13372. "/WrTrade2/QueryWrOutInApply": {
  13373. "get": {
  13374. "security": [
  13375. {
  13376. "ApiKeyAuth": []
  13377. }
  13378. ],
  13379. "produces": [
  13380. "application/json"
  13381. ],
  13382. "tags": [
  13383. "仓单贸易v2"
  13384. ],
  13385. "summary": "查询提货申请",
  13386. "parameters": [
  13387. {
  13388. "type": "integer",
  13389. "description": "用户id",
  13390. "name": "userid",
  13391. "in": "query",
  13392. "required": true
  13393. },
  13394. {
  13395. "type": "string",
  13396. "description": "开始交易日(yyyymmdd)",
  13397. "name": "begindate",
  13398. "in": "query"
  13399. },
  13400. {
  13401. "type": "string",
  13402. "description": "结束交易日(yyyymmdd)",
  13403. "name": "enddate",
  13404. "in": "query"
  13405. }
  13406. ],
  13407. "responses": {
  13408. "200": {
  13409. "description": "OK",
  13410. "schema": {
  13411. "type": "array",
  13412. "items": {
  13413. "$ref": "#/definitions/models.WrOutInApply"
  13414. }
  13415. }
  13416. },
  13417. "500": {
  13418. "description": "Internal Server Error",
  13419. "schema": {
  13420. "$ref": "#/definitions/app.Response"
  13421. }
  13422. }
  13423. }
  13424. }
  13425. },
  13426. "/WrTrade2/QueryWrPerformancePlanStep": {
  13427. "get": {
  13428. "security": [
  13429. {
  13430. "ApiKeyAuth": []
  13431. }
  13432. ],
  13433. "produces": [
  13434. "application/json"
  13435. ],
  13436. "tags": [
  13437. "仓单贸易v2"
  13438. ],
  13439. "summary": "查询履约信息详情",
  13440. "parameters": [
  13441. {
  13442. "type": "integer",
  13443. "description": "履约计划id(performanceplanid)",
  13444. "name": "planid",
  13445. "in": "query",
  13446. "required": true
  13447. },
  13448. {
  13449. "type": "integer",
  13450. "description": "当前步骤id",
  13451. "name": "curstepid",
  13452. "in": "query"
  13453. }
  13454. ],
  13455. "responses": {
  13456. "200": {
  13457. "description": "OK",
  13458. "schema": {
  13459. "type": "array",
  13460. "items": {
  13461. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13462. }
  13463. }
  13464. },
  13465. "500": {
  13466. "description": "Internal Server Error",
  13467. "schema": {
  13468. "$ref": "#/definitions/app.Response"
  13469. }
  13470. }
  13471. }
  13472. }
  13473. },
  13474. "/WrTrade2/QueryWrPerformanceStepType": {
  13475. "get": {
  13476. "security": [
  13477. {
  13478. "ApiKeyAuth": []
  13479. }
  13480. ],
  13481. "produces": [
  13482. "application/json"
  13483. ],
  13484. "tags": [
  13485. "仓单贸易v2"
  13486. ],
  13487. "summary": "查询履约步骤枚举",
  13488. "responses": {
  13489. "200": {
  13490. "description": "OK",
  13491. "schema": {
  13492. "type": "array",
  13493. "items": {
  13494. "$ref": "#/definitions/models.WrPerformanceStepType"
  13495. }
  13496. }
  13497. },
  13498. "500": {
  13499. "description": "Internal Server Error",
  13500. "schema": {
  13501. "$ref": "#/definitions/app.Response"
  13502. }
  13503. }
  13504. }
  13505. }
  13506. },
  13507. "/WrTrade2/QueryWrPosition": {
  13508. "get": {
  13509. "security": [
  13510. {
  13511. "ApiKeyAuth": []
  13512. }
  13513. ],
  13514. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13515. "produces": [
  13516. "application/json"
  13517. ],
  13518. "tags": [
  13519. "仓单贸易v2"
  13520. ],
  13521. "summary": "查询现货(预售)仓单持仓",
  13522. "parameters": [
  13523. {
  13524. "type": "integer",
  13525. "description": "用户id",
  13526. "name": "userid",
  13527. "in": "query",
  13528. "required": true
  13529. },
  13530. {
  13531. "type": "integer",
  13532. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13533. "name": "querytype",
  13534. "in": "query",
  13535. "required": true
  13536. },
  13537. {
  13538. "type": "integer",
  13539. "description": "0:仓单预售 1:仓单贸易",
  13540. "name": "haswr",
  13541. "in": "query",
  13542. "required": true
  13543. },
  13544. {
  13545. "type": "string",
  13546. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13547. "name": "dgitemname",
  13548. "in": "query"
  13549. },
  13550. {
  13551. "type": "integer",
  13552. "description": "仓库id(筛选条件)",
  13553. "name": "warehouseid",
  13554. "in": "query"
  13555. },
  13556. {
  13557. "type": "integer",
  13558. "description": "品种id",
  13559. "name": "deliverygoodsid",
  13560. "in": "query"
  13561. },
  13562. {
  13563. "type": "integer",
  13564. "description": "品类id",
  13565. "name": "wrstandardid",
  13566. "in": "query"
  13567. }
  13568. ],
  13569. "responses": {
  13570. "200": {
  13571. "description": "OK",
  13572. "schema": {
  13573. "type": "array",
  13574. "items": {
  13575. "$ref": "#/definitions/models.WrPosition"
  13576. }
  13577. }
  13578. },
  13579. "500": {
  13580. "description": "Internal Server Error",
  13581. "schema": {
  13582. "$ref": "#/definitions/app.Response"
  13583. }
  13584. }
  13585. }
  13586. }
  13587. },
  13588. "/WrTrade2/QueryWrScfContract": {
  13589. "get": {
  13590. "security": [
  13591. {
  13592. "ApiKeyAuth": []
  13593. }
  13594. ],
  13595. "produces": [
  13596. "application/json"
  13597. ],
  13598. "tags": [
  13599. "仓单贸易v2"
  13600. ],
  13601. "summary": "查询仓单贸易融资合同",
  13602. "parameters": [
  13603. {
  13604. "type": "integer",
  13605. "description": "用户id",
  13606. "name": "userid",
  13607. "in": "query",
  13608. "required": true
  13609. },
  13610. {
  13611. "type": "integer",
  13612. "description": "融资合同id",
  13613. "name": "scfcontractid",
  13614. "in": "query"
  13615. }
  13616. ],
  13617. "responses": {
  13618. "200": {
  13619. "description": "OK",
  13620. "schema": {
  13621. "type": "array",
  13622. "items": {
  13623. "$ref": "#/definitions/models.WrScfContract"
  13624. }
  13625. }
  13626. },
  13627. "500": {
  13628. "description": "Internal Server Error",
  13629. "schema": {
  13630. "$ref": "#/definitions/app.Response"
  13631. }
  13632. }
  13633. }
  13634. }
  13635. },
  13636. "/WrTrade2/QueryWrScfContractInterest": {
  13637. "get": {
  13638. "security": [
  13639. {
  13640. "ApiKeyAuth": []
  13641. }
  13642. ],
  13643. "produces": [
  13644. "application/json"
  13645. ],
  13646. "tags": [
  13647. "仓单贸易v2"
  13648. ],
  13649. "summary": "查询融资合同费用明细",
  13650. "parameters": [
  13651. {
  13652. "type": "integer",
  13653. "description": "融资合同id",
  13654. "name": "scfcontractid",
  13655. "in": "query"
  13656. }
  13657. ],
  13658. "responses": {
  13659. "200": {
  13660. "description": "OK",
  13661. "schema": {
  13662. "type": "array",
  13663. "items": {
  13664. "$ref": "#/definitions/models.WrScfContractInterest"
  13665. }
  13666. }
  13667. },
  13668. "500": {
  13669. "description": "Internal Server Error",
  13670. "schema": {
  13671. "$ref": "#/definitions/app.Response"
  13672. }
  13673. }
  13674. }
  13675. }
  13676. },
  13677. "/WrTrade2/QueryWrSpecialMatchOrder": {
  13678. "get": {
  13679. "security": [
  13680. {
  13681. "ApiKeyAuth": []
  13682. }
  13683. ],
  13684. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  13685. "produces": [
  13686. "application/json"
  13687. ],
  13688. "tags": [
  13689. "仓单贸易v2"
  13690. ],
  13691. "summary": "查询指定成交",
  13692. "parameters": [
  13693. {
  13694. "type": "integer",
  13695. "description": "页码",
  13696. "name": "page",
  13697. "in": "query"
  13698. },
  13699. {
  13700. "type": "integer",
  13701. "description": "每页条数",
  13702. "name": "pagesize",
  13703. "in": "query"
  13704. },
  13705. {
  13706. "type": "integer",
  13707. "description": "用户id",
  13708. "name": "userid",
  13709. "in": "query",
  13710. "required": true
  13711. },
  13712. {
  13713. "type": "integer",
  13714. "description": "仓单贸易市场id",
  13715. "name": "marketid",
  13716. "in": "query"
  13717. },
  13718. {
  13719. "type": "integer",
  13720. "description": "0:仓单预售 1:仓单贸易",
  13721. "name": "haswr",
  13722. "in": "query",
  13723. "required": true
  13724. },
  13725. {
  13726. "type": "integer",
  13727. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  13728. "name": "isspecified",
  13729. "in": "query"
  13730. }
  13731. ],
  13732. "responses": {
  13733. "200": {
  13734. "description": "OK",
  13735. "schema": {
  13736. "type": "array",
  13737. "items": {
  13738. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  13739. }
  13740. }
  13741. },
  13742. "500": {
  13743. "description": "Internal Server Error",
  13744. "schema": {
  13745. "$ref": "#/definitions/app.Response"
  13746. }
  13747. }
  13748. }
  13749. }
  13750. },
  13751. "/WrTrade2/QueryWrStandardFactoryItem": {
  13752. "get": {
  13753. "security": [
  13754. {
  13755. "ApiKeyAuth": []
  13756. }
  13757. ],
  13758. "produces": [
  13759. "application/json"
  13760. ],
  13761. "tags": [
  13762. "仓单贸易v2"
  13763. ],
  13764. "summary": "查询品类要素定义项",
  13765. "parameters": [
  13766. {
  13767. "type": "integer",
  13768. "description": "品类id",
  13769. "name": "wrstandardid",
  13770. "in": "query",
  13771. "required": true
  13772. }
  13773. ],
  13774. "responses": {
  13775. "200": {
  13776. "description": "OK",
  13777. "schema": {
  13778. "type": "array",
  13779. "items": {
  13780. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  13781. }
  13782. }
  13783. },
  13784. "500": {
  13785. "description": "Internal Server Error",
  13786. "schema": {
  13787. "$ref": "#/definitions/app.Response"
  13788. }
  13789. }
  13790. }
  13791. }
  13792. },
  13793. "/WrTrade2/QueryWrTradeBargainApply": {
  13794. "get": {
  13795. "security": [
  13796. {
  13797. "ApiKeyAuth": []
  13798. }
  13799. ],
  13800. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  13801. "produces": [
  13802. "application/json"
  13803. ],
  13804. "tags": [
  13805. "仓单贸易v2"
  13806. ],
  13807. "summary": "查询议价单",
  13808. "parameters": [
  13809. {
  13810. "type": "integer",
  13811. "description": "议价人id(摘牌方)",
  13812. "name": "userid",
  13813. "in": "query"
  13814. },
  13815. {
  13816. "type": "integer",
  13817. "description": "挂牌方id(查对方议价时,填写此项)",
  13818. "name": "matchuserid",
  13819. "in": "query"
  13820. },
  13821. {
  13822. "type": "integer",
  13823. "description": "关联委托单id",
  13824. "name": "wrtradeorderid",
  13825. "in": "query"
  13826. },
  13827. {
  13828. "type": "integer",
  13829. "description": "0:仓单预售 1:仓单贸易",
  13830. "name": "haswr",
  13831. "in": "query",
  13832. "required": true
  13833. },
  13834. {
  13835. "type": "string",
  13836. "description": "开始交易日(yyyymmdd)",
  13837. "name": "begindate",
  13838. "in": "query"
  13839. },
  13840. {
  13841. "type": "string",
  13842. "description": "结束交易日(yyyymmdd)",
  13843. "name": "enddate",
  13844. "in": "query"
  13845. }
  13846. ],
  13847. "responses": {
  13848. "200": {
  13849. "description": "OK",
  13850. "schema": {
  13851. "type": "array",
  13852. "items": {
  13853. "$ref": "#/definitions/models.WRTradeBargainApply"
  13854. }
  13855. }
  13856. },
  13857. "500": {
  13858. "description": "Internal Server Error",
  13859. "schema": {
  13860. "$ref": "#/definitions/app.Response"
  13861. }
  13862. }
  13863. }
  13864. }
  13865. },
  13866. "/WrTrade2/QueryWrTradeDetail": {
  13867. "get": {
  13868. "security": [
  13869. {
  13870. "ApiKeyAuth": []
  13871. }
  13872. ],
  13873. "produces": [
  13874. "application/json"
  13875. ],
  13876. "tags": [
  13877. "仓单贸易v2"
  13878. ],
  13879. "summary": "查询仓单成交明细",
  13880. "parameters": [
  13881. {
  13882. "type": "integer",
  13883. "description": "页码",
  13884. "name": "page",
  13885. "in": "query"
  13886. },
  13887. {
  13888. "type": "integer",
  13889. "description": "每页条数",
  13890. "name": "pagesize",
  13891. "in": "query"
  13892. },
  13893. {
  13894. "type": "integer",
  13895. "description": "用户id",
  13896. "name": "userid",
  13897. "in": "query",
  13898. "required": true
  13899. },
  13900. {
  13901. "type": "integer",
  13902. "description": "仓单贸易市场id",
  13903. "name": "marketid",
  13904. "in": "query"
  13905. },
  13906. {
  13907. "type": "integer",
  13908. "description": "0:仓单预售 1:仓单贸易",
  13909. "name": "haswr",
  13910. "in": "query",
  13911. "required": true
  13912. },
  13913. {
  13914. "type": "string",
  13915. "description": "开始交易日(yyyymmdd)",
  13916. "name": "begindate",
  13917. "in": "query"
  13918. },
  13919. {
  13920. "type": "string",
  13921. "description": "结束交易日(yyyymmdd)",
  13922. "name": "enddate",
  13923. "in": "query"
  13924. }
  13925. ],
  13926. "responses": {
  13927. "200": {
  13928. "description": "OK",
  13929. "schema": {
  13930. "type": "array",
  13931. "items": {
  13932. "$ref": "#/definitions/models.WrTradeDetail"
  13933. }
  13934. }
  13935. },
  13936. "500": {
  13937. "description": "Internal Server Error",
  13938. "schema": {
  13939. "$ref": "#/definitions/app.Response"
  13940. }
  13941. }
  13942. }
  13943. }
  13944. },
  13945. "/WrTrade2/QueryWrTradeOrderDetail": {
  13946. "get": {
  13947. "security": [
  13948. {
  13949. "ApiKeyAuth": []
  13950. }
  13951. ],
  13952. "produces": [
  13953. "application/json"
  13954. ],
  13955. "tags": [
  13956. "仓单贸易v2"
  13957. ],
  13958. "summary": "查询合约交易买卖大厅",
  13959. "parameters": [
  13960. {
  13961. "type": "integer",
  13962. "description": "页码",
  13963. "name": "page",
  13964. "in": "query"
  13965. },
  13966. {
  13967. "type": "integer",
  13968. "description": "每页条数",
  13969. "name": "pagesize",
  13970. "in": "query"
  13971. },
  13972. {
  13973. "type": "integer",
  13974. "description": "商品id",
  13975. "name": "goodsid",
  13976. "in": "query",
  13977. "required": true
  13978. },
  13979. {
  13980. "type": "integer",
  13981. "description": "买卖方向 0-买 1-卖",
  13982. "name": "buyorsell",
  13983. "in": "query",
  13984. "required": true
  13985. }
  13986. ],
  13987. "responses": {
  13988. "200": {
  13989. "description": "OK",
  13990. "schema": {
  13991. "type": "array",
  13992. "items": {
  13993. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13994. }
  13995. }
  13996. },
  13997. "500": {
  13998. "description": "Internal Server Error",
  13999. "schema": {
  14000. "$ref": "#/definitions/app.Response"
  14001. }
  14002. }
  14003. }
  14004. }
  14005. },
  14006. "/WrTrade2/QueryWrUserFriend": {
  14007. "get": {
  14008. "security": [
  14009. {
  14010. "ApiKeyAuth": []
  14011. }
  14012. ],
  14013. "produces": [
  14014. "application/json"
  14015. ],
  14016. "tags": [
  14017. "仓单贸易v2"
  14018. ],
  14019. "summary": "查询我的朋友",
  14020. "parameters": [
  14021. {
  14022. "type": "integer",
  14023. "description": "用户id",
  14024. "name": "userid",
  14025. "in": "query",
  14026. "required": true
  14027. },
  14028. {
  14029. "type": "integer",
  14030. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  14031. "name": "newuserid",
  14032. "in": "query"
  14033. }
  14034. ],
  14035. "responses": {
  14036. "200": {
  14037. "description": "OK",
  14038. "schema": {
  14039. "type": "array",
  14040. "items": {
  14041. "$ref": "#/definitions/models.WrUserFriend"
  14042. }
  14043. }
  14044. },
  14045. "500": {
  14046. "description": "Internal Server Error",
  14047. "schema": {
  14048. "$ref": "#/definitions/app.Response"
  14049. }
  14050. }
  14051. }
  14052. }
  14053. },
  14054. "/WrTrade2/QueryWrUserReceiptInfo": {
  14055. "get": {
  14056. "security": [
  14057. {
  14058. "ApiKeyAuth": []
  14059. }
  14060. ],
  14061. "produces": [
  14062. "application/json"
  14063. ],
  14064. "tags": [
  14065. "仓单贸易v2"
  14066. ],
  14067. "summary": "查询发票信息",
  14068. "parameters": [
  14069. {
  14070. "type": "integer",
  14071. "description": "用户id",
  14072. "name": "userid",
  14073. "in": "query"
  14074. },
  14075. {
  14076. "type": "integer",
  14077. "description": "发票类型 - 1:个人 2:企业",
  14078. "name": "receipttype",
  14079. "in": "query"
  14080. }
  14081. ],
  14082. "responses": {
  14083. "200": {
  14084. "description": "OK",
  14085. "schema": {
  14086. "type": "array",
  14087. "items": {
  14088. "$ref": "#/definitions/models.WrUserReceiptInfo"
  14089. }
  14090. }
  14091. },
  14092. "500": {
  14093. "description": "Internal Server Error",
  14094. "schema": {
  14095. "$ref": "#/definitions/app.Response"
  14096. }
  14097. }
  14098. }
  14099. }
  14100. },
  14101. "/ZJ/GetBankTip": {
  14102. "get": {
  14103. "produces": [
  14104. "application/json"
  14105. ],
  14106. "tags": [
  14107. "中江"
  14108. ],
  14109. "summary": "获取中江网银端出入金提示信息",
  14110. "responses": {
  14111. "200": {
  14112. "description": "OK",
  14113. "schema": {
  14114. "type": "string"
  14115. }
  14116. },
  14117. "500": {
  14118. "description": "Internal Server Error",
  14119. "schema": {
  14120. "$ref": "#/definitions/app.Response"
  14121. }
  14122. }
  14123. }
  14124. }
  14125. },
  14126. "/ZJ/GetCusBankChannels": {
  14127. "get": {
  14128. "produces": [
  14129. "application/json"
  14130. ],
  14131. "tags": [
  14132. "中江"
  14133. ],
  14134. "summary": "获取中江出入金渠道显示列表",
  14135. "responses": {
  14136. "200": {
  14137. "description": "OK",
  14138. "schema": {
  14139. "type": "array",
  14140. "items": {
  14141. "type": "string"
  14142. }
  14143. }
  14144. },
  14145. "500": {
  14146. "description": "Internal Server Error",
  14147. "schema": {
  14148. "$ref": "#/definitions/app.Response"
  14149. }
  14150. }
  14151. }
  14152. }
  14153. }
  14154. },
  14155. "definitions": {
  14156. "app.Response": {
  14157. "type": "object",
  14158. "properties": {
  14159. "code": {
  14160. "type": "integer"
  14161. },
  14162. "data": {
  14163. "type": "object"
  14164. },
  14165. "msg": {
  14166. "type": "string"
  14167. },
  14168. "page": {
  14169. "description": "页码",
  14170. "type": "integer"
  14171. },
  14172. "pagesize": {
  14173. "description": "每页条数",
  14174. "type": "integer"
  14175. },
  14176. "total": {
  14177. "description": "总条数",
  14178. "type": "integer"
  14179. }
  14180. }
  14181. },
  14182. "common.ClientMenu": {
  14183. "type": "object",
  14184. "properties": {
  14185. "children": {
  14186. "description": "子菜单列表",
  14187. "type": "array",
  14188. "items": {
  14189. "$ref": "#/definitions/common.ClientMenu"
  14190. }
  14191. },
  14192. "code": {
  14193. "description": "ID",
  14194. "type": "string"
  14195. },
  14196. "isshow": {
  14197. "description": "是否显示",
  14198. "type": "boolean"
  14199. },
  14200. "remark": {
  14201. "description": "备注",
  14202. "type": "string"
  14203. },
  14204. "rulekey": {
  14205. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  14206. "type": "string"
  14207. },
  14208. "sort": {
  14209. "description": "排序",
  14210. "type": "integer"
  14211. },
  14212. "title": {
  14213. "description": "标题",
  14214. "type": "string"
  14215. },
  14216. "type": {
  14217. "description": "类型,1:菜单 2:按钮",
  14218. "type": "integer"
  14219. },
  14220. "url": {
  14221. "description": "URL",
  14222. "type": "string"
  14223. }
  14224. }
  14225. },
  14226. "common.PCWebMenu": {
  14227. "type": "object",
  14228. "properties": {
  14229. "auth": {
  14230. "description": "页面权限列表",
  14231. "type": "array",
  14232. "items": {
  14233. "$ref": "#/definitions/common.PCWebMenuAuth"
  14234. }
  14235. },
  14236. "children": {
  14237. "description": "子菜单列表",
  14238. "type": "array",
  14239. "items": {
  14240. "$ref": "#/definitions/common.PCWebMenu"
  14241. }
  14242. },
  14243. "code": {
  14244. "description": "ID,新版本中权限KEY也是这个字段",
  14245. "type": "string"
  14246. },
  14247. "component": {
  14248. "description": "路由组件",
  14249. "type": "string"
  14250. },
  14251. "isshow": {
  14252. "description": "是否显示",
  14253. "type": "boolean"
  14254. },
  14255. "path": {
  14256. "description": "路由路径",
  14257. "type": "string"
  14258. },
  14259. "remark": {
  14260. "description": "备注",
  14261. "type": "string"
  14262. },
  14263. "rulekey": {
  14264. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14265. "type": "string"
  14266. },
  14267. "sort": {
  14268. "description": "排序",
  14269. "type": "integer"
  14270. },
  14271. "title": {
  14272. "description": "标题",
  14273. "type": "string"
  14274. },
  14275. "url": {
  14276. "description": "URL",
  14277. "type": "string"
  14278. }
  14279. }
  14280. },
  14281. "common.PCWebMenuAuth": {
  14282. "type": "object",
  14283. "properties": {
  14284. "code": {
  14285. "description": "ID,新版本中权限KEY也是这个字段",
  14286. "type": "string"
  14287. },
  14288. "isshow": {
  14289. "description": "是否显示",
  14290. "type": "boolean"
  14291. },
  14292. "label": {
  14293. "description": "标题",
  14294. "type": "string"
  14295. },
  14296. "remark": {
  14297. "description": "备注",
  14298. "type": "string"
  14299. },
  14300. "rulekey": {
  14301. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14302. "type": "string"
  14303. }
  14304. }
  14305. },
  14306. "common.QueryImageConfigsRsp": {
  14307. "type": "object",
  14308. "required": [
  14309. "configid"
  14310. ],
  14311. "properties": {
  14312. "areauserid": {
  14313. "description": "所属机构ID",
  14314. "type": "integer"
  14315. },
  14316. "configid": {
  14317. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14318. "type": "integer"
  14319. },
  14320. "createdate": {
  14321. "description": "创建时间",
  14322. "type": "string"
  14323. },
  14324. "creatorid": {
  14325. "description": "创建人",
  14326. "type": "integer"
  14327. },
  14328. "imagepath": {
  14329. "description": "图片",
  14330. "type": "string"
  14331. },
  14332. "imagetype": {
  14333. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14334. "type": "integer"
  14335. },
  14336. "isshow": {
  14337. "description": "是否展示 - 0:不展示 1:展示",
  14338. "type": "integer"
  14339. },
  14340. "marketid": {
  14341. "description": "市场ID",
  14342. "type": "integer"
  14343. },
  14344. "modifierid": {
  14345. "description": "操作人",
  14346. "type": "integer"
  14347. },
  14348. "sort": {
  14349. "description": "排序",
  14350. "type": "integer"
  14351. },
  14352. "title": {
  14353. "description": "标题",
  14354. "type": "string"
  14355. },
  14356. "trademode": {
  14357. "description": "交易模式",
  14358. "type": "integer"
  14359. },
  14360. "updatedate": {
  14361. "description": "修改时间",
  14362. "type": "string"
  14363. },
  14364. "url": {
  14365. "description": "链接(地址或商品ID)",
  14366. "type": "string"
  14367. },
  14368. "urltype": {
  14369. "description": "链接类型 - 1:直接地址 2:商品ID",
  14370. "type": "integer"
  14371. }
  14372. }
  14373. },
  14374. "common.QueryNoticeRsp": {
  14375. "type": "object",
  14376. "required": [
  14377. "autoid"
  14378. ],
  14379. "properties": {
  14380. "auditoruserid": {
  14381. "description": "审核人",
  14382. "type": "integer"
  14383. },
  14384. "auditremark": {
  14385. "description": "审核备注",
  14386. "type": "string"
  14387. },
  14388. "audittime": {
  14389. "description": "审核日期",
  14390. "type": "string"
  14391. },
  14392. "autoid": {
  14393. "description": "自增ID",
  14394. "type": "integer"
  14395. },
  14396. "content": {
  14397. "description": "内容",
  14398. "type": "string"
  14399. },
  14400. "createtime": {
  14401. "description": "创建时间",
  14402. "type": "string"
  14403. },
  14404. "creatorid": {
  14405. "description": "建仓人",
  14406. "type": "integer"
  14407. },
  14408. "endtime": {
  14409. "description": "结束时间",
  14410. "type": "string"
  14411. },
  14412. "istop": {
  14413. "description": "是否置顶 - 0:不置顶 1:置顶",
  14414. "type": "integer"
  14415. },
  14416. "msgiconurl": {
  14417. "description": "消息图标Url",
  14418. "type": "string"
  14419. },
  14420. "msgtype": {
  14421. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  14422. "type": "integer"
  14423. },
  14424. "publisher": {
  14425. "description": "消息发布者",
  14426. "type": "string"
  14427. },
  14428. "readed": {
  14429. "description": "是否已读",
  14430. "type": "boolean"
  14431. },
  14432. "scheduletime": {
  14433. "description": "计划发送时间",
  14434. "type": "string"
  14435. },
  14436. "sendtype": {
  14437. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  14438. "type": "integer"
  14439. },
  14440. "sentstatus": {
  14441. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  14442. "type": "integer"
  14443. },
  14444. "title": {
  14445. "description": "标题",
  14446. "type": "string"
  14447. },
  14448. "userid": {
  14449. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  14450. "type": "integer"
  14451. }
  14452. }
  14453. },
  14454. "common.QueryProvincesAndCitiesRsp": {
  14455. "type": "object",
  14456. "properties": {
  14457. "cities": {
  14458. "description": "市",
  14459. "type": "array",
  14460. "items": {
  14461. "$ref": "#/definitions/models.Division"
  14462. }
  14463. },
  14464. "province": {
  14465. "description": "省",
  14466. "$ref": "#/definitions/models.Division"
  14467. }
  14468. }
  14469. },
  14470. "common.QueryTableDefineRsp": {
  14471. "type": "object",
  14472. "required": [
  14473. "tablekey"
  14474. ],
  14475. "properties": {
  14476. "columns": {
  14477. "description": "列头信息数组",
  14478. "type": "array",
  14479. "items": {
  14480. "$ref": "#/definitions/models.Tablecolumnconfig"
  14481. }
  14482. },
  14483. "remark": {
  14484. "description": "Remark",
  14485. "type": "string"
  14486. },
  14487. "tabelmenu": {
  14488. "description": "列表菜单",
  14489. "type": "string"
  14490. },
  14491. "tablekey": {
  14492. "description": "列表Key",
  14493. "type": "string"
  14494. },
  14495. "tablename": {
  14496. "description": "列表名称",
  14497. "type": "string"
  14498. },
  14499. "tabletype": {
  14500. "description": "列表类型 - 1:管理端 2:终端",
  14501. "type": "integer"
  14502. }
  14503. }
  14504. },
  14505. "common.QueryTraderMenuRsp": {
  14506. "type": "object",
  14507. "properties": {
  14508. "OperationMenu": {
  14509. "description": "功能菜单",
  14510. "type": "array",
  14511. "items": {
  14512. "$ref": "#/definitions/models.OperationPrimaryMenu"
  14513. }
  14514. },
  14515. "QuoteMenu": {
  14516. "description": "报价牌分类菜单",
  14517. "type": "array",
  14518. "items": {
  14519. "$ref": "#/definitions/models.QuotePrimaryMenu"
  14520. }
  14521. }
  14522. }
  14523. },
  14524. "cptrade.Cptradepositioncancel": {
  14525. "type": "object",
  14526. "required": [
  14527. "cancelid"
  14528. ],
  14529. "properties": {
  14530. "accountid": {
  14531. "description": "申请人账户ID",
  14532. "type": "integer"
  14533. },
  14534. "applystatus": {
  14535. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14536. "type": "integer"
  14537. },
  14538. "applytime": {
  14539. "description": "申请时间",
  14540. "type": "string"
  14541. },
  14542. "cancelid": {
  14543. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  14544. "type": "integer"
  14545. },
  14546. "cancelqty": {
  14547. "description": "注销数量",
  14548. "type": "integer"
  14549. },
  14550. "createtime": {
  14551. "description": "创建时间",
  14552. "type": "string"
  14553. },
  14554. "creatorid": {
  14555. "description": "创建人ID",
  14556. "type": "integer"
  14557. },
  14558. "creatorname": {
  14559. "description": "创建人",
  14560. "type": "string"
  14561. },
  14562. "goodscode": {
  14563. "description": "订单商品代码",
  14564. "type": "string"
  14565. },
  14566. "goodsid": {
  14567. "description": "商品ID",
  14568. "type": "integer"
  14569. },
  14570. "goodsname": {
  14571. "description": "订单商品名称",
  14572. "type": "string"
  14573. },
  14574. "goodunit": {
  14575. "description": "报价单位",
  14576. "type": "string"
  14577. },
  14578. "handlestatus": {
  14579. "description": "处理状态",
  14580. "type": "integer"
  14581. },
  14582. "marketid": {
  14583. "description": "市场ID",
  14584. "type": "integer"
  14585. },
  14586. "marketname": {
  14587. "description": "市场名称",
  14588. "type": "string"
  14589. },
  14590. "tradedate": {
  14591. "description": "交易日(yyyyMMdd)",
  14592. "type": "string"
  14593. },
  14594. "userid": {
  14595. "description": "申请人ID",
  14596. "type": "integer"
  14597. }
  14598. }
  14599. },
  14600. "cptrade.Cptradepresaleapply": {
  14601. "type": "object",
  14602. "required": [
  14603. "applyid"
  14604. ],
  14605. "properties": {
  14606. "accountid": {
  14607. "description": "申请人账户ID",
  14608. "type": "integer"
  14609. },
  14610. "applyid": {
  14611. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  14612. "type": "integer"
  14613. },
  14614. "applyremark": {
  14615. "description": "申请备注",
  14616. "type": "string"
  14617. },
  14618. "applystatus": {
  14619. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14620. "type": "integer"
  14621. },
  14622. "applytime": {
  14623. "description": "申请时间",
  14624. "type": "string"
  14625. },
  14626. "attachmenturl": {
  14627. "description": "附件地址",
  14628. "type": "string"
  14629. },
  14630. "endtime": {
  14631. "description": "预售结束时间",
  14632. "type": "string"
  14633. },
  14634. "goodscode": {
  14635. "description": "商品代码",
  14636. "type": "string"
  14637. },
  14638. "goodsid": {
  14639. "description": "商品ID",
  14640. "type": "integer"
  14641. },
  14642. "goodsname": {
  14643. "description": "商品名称",
  14644. "type": "string"
  14645. },
  14646. "goodunit": {
  14647. "description": "报价单位",
  14648. "type": "string"
  14649. },
  14650. "handlestatus": {
  14651. "description": "处理状态",
  14652. "type": "integer"
  14653. },
  14654. "marketid": {
  14655. "description": "预售市场ID",
  14656. "type": "integer"
  14657. },
  14658. "marketname": {
  14659. "description": "预售市场名称",
  14660. "type": "string"
  14661. },
  14662. "presaleqty": {
  14663. "description": "预售数量",
  14664. "type": "integer"
  14665. },
  14666. "relatedgoodscode": {
  14667. "description": "关联交易合约代码",
  14668. "type": "string"
  14669. },
  14670. "relatedgoodsid": {
  14671. "description": "关联交易合约ID",
  14672. "type": "integer"
  14673. },
  14674. "relatedgoodsname": {
  14675. "description": "关联交易合约名称",
  14676. "type": "string"
  14677. },
  14678. "starttime": {
  14679. "description": "预售开始时间",
  14680. "type": "string"
  14681. },
  14682. "tradedate": {
  14683. "description": "交易日(yyyyMMdd)",
  14684. "type": "string"
  14685. },
  14686. "trademode": {
  14687. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  14688. "type": "integer"
  14689. },
  14690. "userid": {
  14691. "description": "申请人ID",
  14692. "type": "integer"
  14693. }
  14694. }
  14695. },
  14696. "cptrade.Cptradeusergoodsdata": {
  14697. "type": "object",
  14698. "required": [
  14699. "accountid",
  14700. "goodsid"
  14701. ],
  14702. "properties": {
  14703. "EnabledQty": {
  14704. "description": "可用量",
  14705. "type": "integer"
  14706. },
  14707. "GoodsCode": {
  14708. "description": "订单商品代码",
  14709. "type": "string"
  14710. },
  14711. "GoodsName": {
  14712. "description": "订单商品名称",
  14713. "type": "string"
  14714. },
  14715. "WRStandardCode": {
  14716. "description": "仓单标准代码",
  14717. "type": "string"
  14718. },
  14719. "WRStandardName": {
  14720. "description": "仓单标准名称",
  14721. "type": "string"
  14722. },
  14723. "accountid": {
  14724. "description": "账户ID",
  14725. "type": "integer"
  14726. },
  14727. "cancelqty": {
  14728. "description": "注销量",
  14729. "type": "integer"
  14730. },
  14731. "curpresaleqty": {
  14732. "description": "当前预售量",
  14733. "type": "integer"
  14734. },
  14735. "deliveryqty": {
  14736. "description": "交割量",
  14737. "type": "integer"
  14738. },
  14739. "freezeamount": {
  14740. "description": "冻结金额",
  14741. "type": "number"
  14742. },
  14743. "goodsid": {
  14744. "description": "商品ID",
  14745. "type": "integer"
  14746. },
  14747. "goodunit": {
  14748. "description": "报价单位",
  14749. "type": "string"
  14750. },
  14751. "hasspotfreeze": {
  14752. "description": "是否有现货冻结 - 0:否 1:有",
  14753. "type": "integer"
  14754. },
  14755. "inqty": {
  14756. "description": "转入量(总数量)",
  14757. "type": "integer"
  14758. },
  14759. "marketid": {
  14760. "description": "市场ID",
  14761. "type": "integer"
  14762. },
  14763. "presaledamount": {
  14764. "description": "已预售总金额",
  14765. "type": "integer"
  14766. },
  14767. "presaledqty": {
  14768. "description": "已预售量",
  14769. "type": "integer"
  14770. },
  14771. "userid": {
  14772. "description": "用户ID",
  14773. "type": "integer"
  14774. },
  14775. "wrstandardid": {
  14776. "description": "仓单标准ID",
  14777. "type": "integer"
  14778. }
  14779. }
  14780. },
  14781. "cptrade.QueryCPTradeMyBidRsp": {
  14782. "type": "object",
  14783. "required": [
  14784. "accountid",
  14785. "goodsid",
  14786. "marketid",
  14787. "orderid",
  14788. "orderqty",
  14789. "ordertime",
  14790. "tradeprice",
  14791. "tradeqty"
  14792. ],
  14793. "properties": {
  14794. "accountid": {
  14795. "description": "账户ID[报价币种]",
  14796. "type": "integer"
  14797. },
  14798. "goodsid": {
  14799. "description": "商品ID",
  14800. "type": "integer"
  14801. },
  14802. "goodunit": {
  14803. "description": "报价单位",
  14804. "type": "string"
  14805. },
  14806. "marketid": {
  14807. "description": "市场ID",
  14808. "type": "integer"
  14809. },
  14810. "orderid": {
  14811. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14812. "type": "integer"
  14813. },
  14814. "orderprice": {
  14815. "description": "委托价格",
  14816. "type": "number"
  14817. },
  14818. "orderqty": {
  14819. "description": "委托数量",
  14820. "type": "integer"
  14821. },
  14822. "ordertime": {
  14823. "description": "委托时间",
  14824. "type": "string"
  14825. },
  14826. "ordertotalprice": {
  14827. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  14828. "type": "number"
  14829. },
  14830. "ordertotalweight": {
  14831. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  14832. "type": "integer"
  14833. },
  14834. "totaltotalprice": {
  14835. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  14836. "type": "number"
  14837. },
  14838. "tradeprice": {
  14839. "description": "成交价格",
  14840. "type": "number"
  14841. },
  14842. "tradeqty": {
  14843. "description": "成交数量",
  14844. "type": "integer"
  14845. }
  14846. }
  14847. },
  14848. "cptrade.QueryCPTradeOrderDetailRsq": {
  14849. "type": "object",
  14850. "required": [
  14851. "accountid",
  14852. "buildtype",
  14853. "buyorsell",
  14854. "goodsid",
  14855. "marketid",
  14856. "memberuserid",
  14857. "operatetype",
  14858. "orderqty",
  14859. "ordertime",
  14860. "pricemode",
  14861. "strorderid",
  14862. "tradedate",
  14863. "validtype"
  14864. ],
  14865. "properties": {
  14866. "accountid": {
  14867. "description": "账户ID[报价币种]",
  14868. "type": "integer"
  14869. },
  14870. "buildtype": {
  14871. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14872. "type": "integer"
  14873. },
  14874. "buyorsell": {
  14875. "description": "买卖 - 0:买 1:卖",
  14876. "type": "integer"
  14877. },
  14878. "cancelorderid": {
  14879. "description": "撤单单号(撤单时填写)",
  14880. "type": "integer"
  14881. },
  14882. "cancelqty": {
  14883. "description": "撤单数量",
  14884. "type": "integer"
  14885. },
  14886. "clientordertime": {
  14887. "description": "客户端委托时间",
  14888. "type": "string"
  14889. },
  14890. "clientticket": {
  14891. "description": "客户端流水号",
  14892. "type": "string"
  14893. },
  14894. "clienttype": {
  14895. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14896. "type": "integer"
  14897. },
  14898. "closeexchagechargevalue": {
  14899. "description": "平仓交易所手续费设置值",
  14900. "type": "number"
  14901. },
  14902. "closefeealgorithm": {
  14903. "description": "平仓手续费收取方式 1:比率 2:固定",
  14904. "type": "integer"
  14905. },
  14906. "closefreezecharge": {
  14907. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14908. "type": "number"
  14909. },
  14910. "closememberchargevalue": {
  14911. "description": "平仓会员手续费设置值",
  14912. "type": "number"
  14913. },
  14914. "closeqty": {
  14915. "description": "平仓数量(先建后平操作 需要记录)",
  14916. "type": "integer"
  14917. },
  14918. "closetradeqty": {
  14919. "description": "平仓成交数量(先建后平操作,需要记录)",
  14920. "type": "integer"
  14921. },
  14922. "closeunfreezecharge": {
  14923. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14924. "type": "number"
  14925. },
  14926. "delistingtype": {
  14927. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14928. "type": "integer"
  14929. },
  14930. "freezecharge": {
  14931. "description": "冻结手续费",
  14932. "type": "number"
  14933. },
  14934. "freezemargin": {
  14935. "description": "冻结保证金(冻结交易金额)",
  14936. "type": "number"
  14937. },
  14938. "gcaccountid": {
  14939. "description": "账户ID[合约币种]",
  14940. "type": "integer"
  14941. },
  14942. "goodsid": {
  14943. "description": "商品ID",
  14944. "type": "integer"
  14945. },
  14946. "isconfirmexercise": {
  14947. "description": "是否确认行权- 0:否 1:是",
  14948. "type": "integer"
  14949. },
  14950. "ispreexercise": {
  14951. "description": "是否预申报- 0:否 1:是",
  14952. "type": "integer"
  14953. },
  14954. "listingselecttype": {
  14955. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14956. "type": "integer"
  14957. },
  14958. "marginalgorithm": {
  14959. "description": "保证金收取方式 1:比率 2:固定",
  14960. "type": "integer"
  14961. },
  14962. "marginvalue": {
  14963. "description": "即市保证金设置值",
  14964. "type": "number"
  14965. },
  14966. "marketid": {
  14967. "description": "市场ID",
  14968. "type": "integer"
  14969. },
  14970. "marketmaxsub": {
  14971. "description": "市价最大偏移范围",
  14972. "type": "number"
  14973. },
  14974. "memberuserid": {
  14975. "description": "所属会员UserID",
  14976. "type": "integer"
  14977. },
  14978. "openexchagechargevalue": {
  14979. "description": "建仓交易所手续费设置值",
  14980. "type": "number"
  14981. },
  14982. "openfeealgorithm": {
  14983. "description": "建仓手续费收取方式 1:比率 2:固定",
  14984. "type": "integer"
  14985. },
  14986. "openfreezecharge": {
  14987. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14988. "type": "number"
  14989. },
  14990. "openmemberchargevalue": {
  14991. "description": "建仓会员手续费设置值",
  14992. "type": "number"
  14993. },
  14994. "openqty": {
  14995. "description": "开仓数量(先建后平操作,需要记录)",
  14996. "type": "integer"
  14997. },
  14998. "opentradeqty": {
  14999. "description": "开仓成交数量(先建后平操作,需要记录)",
  15000. "type": "integer"
  15001. },
  15002. "openunfreezecharge": {
  15003. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15004. "type": "number"
  15005. },
  15006. "operatetype": {
  15007. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15008. "type": "integer"
  15009. },
  15010. "operatorid": {
  15011. "description": "登录账号(LoginID)",
  15012. "type": "integer"
  15013. },
  15014. "optiontype": {
  15015. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15016. "type": "integer"
  15017. },
  15018. "orderprice": {
  15019. "description": "委托价格",
  15020. "type": "number"
  15021. },
  15022. "orderqty": {
  15023. "description": "委托数量",
  15024. "type": "integer"
  15025. },
  15026. "ordersrc": {
  15027. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15028. "type": "integer"
  15029. },
  15030. "orderstatus": {
  15031. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15032. "type": "integer"
  15033. },
  15034. "ordertime": {
  15035. "description": "委托时间",
  15036. "type": "string"
  15037. },
  15038. "preexerciseprice": {
  15039. "description": "预申报价格",
  15040. "type": "number"
  15041. },
  15042. "premium": {
  15043. "description": "权利金",
  15044. "type": "number"
  15045. },
  15046. "preorderid": {
  15047. "description": "关联预埋单号(止盈止损单时填写)",
  15048. "type": "integer"
  15049. },
  15050. "pricemode": {
  15051. "description": "取价方式 - 1:市价 2: 限价",
  15052. "type": "integer"
  15053. },
  15054. "quoteid": {
  15055. "description": "报价单ID",
  15056. "type": "integer"
  15057. },
  15058. "relatedid": {
  15059. "description": "关联单号(交割单)",
  15060. "type": "integer"
  15061. },
  15062. "retcode": {
  15063. "description": "错误代码",
  15064. "type": "integer"
  15065. },
  15066. "sessionid": {
  15067. "description": "会话ID",
  15068. "type": "integer"
  15069. },
  15070. "strorderid": {
  15071. "description": "委托单号",
  15072. "type": "string"
  15073. },
  15074. "tradedate": {
  15075. "description": "交易日(yyyyMMdd)",
  15076. "type": "string"
  15077. },
  15078. "tradeproperty": {
  15079. "description": "交易属性",
  15080. "type": "integer"
  15081. },
  15082. "tradeqty": {
  15083. "description": "成交数量",
  15084. "type": "integer"
  15085. },
  15086. "unfreezecharge": {
  15087. "description": "解冻手续费",
  15088. "type": "number"
  15089. },
  15090. "unfreezemargin": {
  15091. "description": "解冻保证金",
  15092. "type": "number"
  15093. },
  15094. "updatetime": {
  15095. "description": "更新时间",
  15096. "type": "string"
  15097. },
  15098. "uuid": {
  15099. "description": "发起端唯一id",
  15100. "type": "string"
  15101. },
  15102. "validtime": {
  15103. "description": "有效期限",
  15104. "type": "string"
  15105. },
  15106. "validtype": {
  15107. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15108. "type": "integer"
  15109. },
  15110. "volumetype": {
  15111. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15112. "type": "integer"
  15113. }
  15114. }
  15115. },
  15116. "cptrade.QueryMyCPTradeGoodsRsp": {
  15117. "type": "object",
  15118. "required": [
  15119. "goodscode",
  15120. "goodsid",
  15121. "goodsname",
  15122. "marketid",
  15123. "relatedgoodscode",
  15124. "relatedgoodsname"
  15125. ],
  15126. "properties": {
  15127. "accountid": {
  15128. "description": "卖方账户ID",
  15129. "type": "integer"
  15130. },
  15131. "agreeunit": {
  15132. "description": "合约单位",
  15133. "type": "number"
  15134. },
  15135. "applyid": {
  15136. "description": "关联申请ID",
  15137. "type": "integer"
  15138. },
  15139. "attachmenturl": {
  15140. "description": "附件地址",
  15141. "type": "string"
  15142. },
  15143. "createtime": {
  15144. "description": "创建时间",
  15145. "type": "string"
  15146. },
  15147. "currencyid": {
  15148. "description": "报价货币ID",
  15149. "type": "integer"
  15150. },
  15151. "decimalplace": {
  15152. "description": "报价小数位",
  15153. "type": "integer"
  15154. },
  15155. "endtime": {
  15156. "description": "预售结束时间",
  15157. "type": "string"
  15158. },
  15159. "floorprice": {
  15160. "description": "底价[大宗式竞拍]",
  15161. "type": "number"
  15162. },
  15163. "goodscode": {
  15164. "description": "商品代码(预售)",
  15165. "type": "string"
  15166. },
  15167. "goodsdetail": {
  15168. "description": "详情[大宗]",
  15169. "type": "string"
  15170. },
  15171. "goodsid": {
  15172. "description": "商品ID(自增ID SEQ_GOODS)",
  15173. "type": "integer"
  15174. },
  15175. "goodsname": {
  15176. "description": "商品名称(预售)",
  15177. "type": "string"
  15178. },
  15179. "goodunit": {
  15180. "description": "报价单位",
  15181. "type": "string"
  15182. },
  15183. "goodunitid": {
  15184. "description": "报价单位ID",
  15185. "type": "integer"
  15186. },
  15187. "marketid": {
  15188. "description": "所属市场ID",
  15189. "type": "integer"
  15190. },
  15191. "marketname": {
  15192. "description": "预售市场名称",
  15193. "type": "string"
  15194. },
  15195. "presaledamount": {
  15196. "description": "已预售总金额(预售结束时更新)",
  15197. "type": "number"
  15198. },
  15199. "presaledqty": {
  15200. "description": "已预售量(预售结束时更新)",
  15201. "type": "integer"
  15202. },
  15203. "presalemode": {
  15204. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15205. "type": "integer"
  15206. },
  15207. "presaleqty": {
  15208. "description": "预售数量",
  15209. "type": "integer"
  15210. },
  15211. "refprice": {
  15212. "description": "参考价格[一口价]",
  15213. "type": "number"
  15214. },
  15215. "relatedgoodscode": {
  15216. "description": "商品代码(订单)",
  15217. "type": "string"
  15218. },
  15219. "relatedgoodsid": {
  15220. "description": "关联交易合约ID",
  15221. "type": "integer"
  15222. },
  15223. "relatedgoodsname": {
  15224. "description": "商品名称(订单)",
  15225. "type": "string"
  15226. },
  15227. "relatedmarketid": {
  15228. "description": "关联交易合约市场ID",
  15229. "type": "integer"
  15230. },
  15231. "sellstatus": {
  15232. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15233. "type": "integer"
  15234. },
  15235. "startprice": {
  15236. "description": "起拍价[大宗式竞拍]",
  15237. "type": "number"
  15238. },
  15239. "starttime": {
  15240. "description": "预售开始时间",
  15241. "type": "string"
  15242. },
  15243. "tradedate": {
  15244. "description": "交易日(yyyyMMdd)",
  15245. "type": "string"
  15246. },
  15247. "tradeprice": {
  15248. "description": "成交价[大宗]",
  15249. "type": "number"
  15250. },
  15251. "userid": {
  15252. "description": "卖方用户ID",
  15253. "type": "integer"
  15254. }
  15255. }
  15256. },
  15257. "cptrade.QueryPresaleGoodsExRsp": {
  15258. "type": "object",
  15259. "required": [
  15260. "goodsid"
  15261. ],
  15262. "properties": {
  15263. "attachmenturl": {
  15264. "description": "附件地址",
  15265. "type": "string"
  15266. },
  15267. "createtime": {
  15268. "description": "创建时间",
  15269. "type": "string"
  15270. },
  15271. "endtime": {
  15272. "description": "预售结束时间",
  15273. "type": "string"
  15274. },
  15275. "floorprice": {
  15276. "description": "底价[大宗式竞拍]",
  15277. "type": "number"
  15278. },
  15279. "goodsdetail": {
  15280. "description": "详情[大宗]",
  15281. "type": "string"
  15282. },
  15283. "goodsid": {
  15284. "description": "商品ID(预售)",
  15285. "type": "integer"
  15286. },
  15287. "goodunit": {
  15288. "description": "报价单位",
  15289. "type": "string"
  15290. },
  15291. "marketid": {
  15292. "description": "预售市场ID - 根据预售模式选择市场",
  15293. "type": "integer"
  15294. },
  15295. "presaledamount": {
  15296. "description": "已预售总金额(预售结束时更新)",
  15297. "type": "number"
  15298. },
  15299. "presaledqty": {
  15300. "description": "已预售量(预售结束时更新)",
  15301. "type": "integer"
  15302. },
  15303. "presalemode": {
  15304. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15305. "type": "integer"
  15306. },
  15307. "presaleqty": {
  15308. "description": "预售数量",
  15309. "type": "integer"
  15310. },
  15311. "refprice": {
  15312. "description": "参考价格[一口价]",
  15313. "type": "number"
  15314. },
  15315. "relatedgoodsid": {
  15316. "description": "关联交易合约ID",
  15317. "type": "integer"
  15318. },
  15319. "relatedmarketid": {
  15320. "description": "关联交易合约市场ID",
  15321. "type": "integer"
  15322. },
  15323. "sellstatus": {
  15324. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15325. "type": "integer"
  15326. },
  15327. "startprice": {
  15328. "description": "起拍价[大宗式竞拍]",
  15329. "type": "number"
  15330. },
  15331. "starttime": {
  15332. "description": "预售开始时间",
  15333. "type": "string"
  15334. },
  15335. "tradedate": {
  15336. "description": "交易日(yyyyMMdd)",
  15337. "type": "string"
  15338. },
  15339. "tradeprice": {
  15340. "description": "成交价[大宗]",
  15341. "type": "number"
  15342. }
  15343. }
  15344. },
  15345. "delivery.QueryDeliveryRelationRsp": {
  15346. "type": "object",
  15347. "required": [
  15348. "begindate",
  15349. "enddate",
  15350. "goodsid",
  15351. "mindeliveryqty",
  15352. "xdeliveryratio"
  15353. ],
  15354. "properties": {
  15355. "begindate": {
  15356. "description": "起始日期(yyyyMMdd)",
  15357. "type": "string"
  15358. },
  15359. "buytemplateid": {
  15360. "description": "买履约计划模板ID",
  15361. "type": "integer"
  15362. },
  15363. "deliverygoodscode": {
  15364. "description": "品种代码",
  15365. "type": "string"
  15366. },
  15367. "deliverygoodsid": {
  15368. "description": "交割商品",
  15369. "type": "integer"
  15370. },
  15371. "deliverygoodsname": {
  15372. "description": "品种名称",
  15373. "type": "string"
  15374. },
  15375. "deliverymode": {
  15376. "description": "交割方式 - 1:点选式 2:申报式",
  15377. "type": "integer"
  15378. },
  15379. "deliverypricerule": {
  15380. "description": "交割价规则- 1:行情价 2:建仓价",
  15381. "type": "integer"
  15382. },
  15383. "deliverytype": {
  15384. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15385. "type": "integer"
  15386. },
  15387. "enddate": {
  15388. "description": "结束日期(yyyyMMdd)",
  15389. "type": "string"
  15390. },
  15391. "enumdicname": {
  15392. "description": "品类单位名称",
  15393. "type": "string"
  15394. },
  15395. "goodscode": {
  15396. "description": "商品代码",
  15397. "type": "string"
  15398. },
  15399. "goodsid": {
  15400. "description": "交易合约ID",
  15401. "type": "integer"
  15402. },
  15403. "goodsname": {
  15404. "description": "商品名称",
  15405. "type": "string"
  15406. },
  15407. "marketid": {
  15408. "description": "市场ID",
  15409. "type": "integer"
  15410. },
  15411. "mindeliveryqty": {
  15412. "description": "最小交割系数(K)",
  15413. "type": "integer"
  15414. },
  15415. "p2deliveryprice": {
  15416. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  15417. "type": "number"
  15418. },
  15419. "p2deliveryratio": {
  15420. "description": "P2合约系数(p)",
  15421. "type": "integer"
  15422. },
  15423. "p2goodsid": {
  15424. "description": "P2合约ID",
  15425. "type": "integer"
  15426. },
  15427. "p2pricemode": {
  15428. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  15429. "type": "integer"
  15430. },
  15431. "pdeliveryprice": {
  15432. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  15433. "type": "number"
  15434. },
  15435. "pdeliveryratio": {
  15436. "description": "P合约系数(n)",
  15437. "type": "integer"
  15438. },
  15439. "pgoodscode": {
  15440. "description": "p合约代码",
  15441. "type": "string"
  15442. },
  15443. "pgoodsid": {
  15444. "description": "P合约ID",
  15445. "type": "integer"
  15446. },
  15447. "ppricemode": {
  15448. "description": "P合约价格方式 - 1:商品价 2:固定值",
  15449. "type": "integer"
  15450. },
  15451. "rratio": {
  15452. "description": "兑换系数(R)",
  15453. "type": "integer"
  15454. },
  15455. "rratio1": {
  15456. "description": "兑换系数(交易合约)(R1)",
  15457. "type": "integer"
  15458. },
  15459. "rratio2": {
  15460. "description": "兑换系数(仓单标准)(R2)",
  15461. "type": "integer"
  15462. },
  15463. "selltemplateid": {
  15464. "description": "卖履约计划模板ID",
  15465. "type": "integer"
  15466. },
  15467. "wrstandardid": {
  15468. "description": "仓单标准ID",
  15469. "type": "integer"
  15470. },
  15471. "xdeliveryratio": {
  15472. "description": "交易合约系数(m)",
  15473. "type": "integer"
  15474. }
  15475. }
  15476. },
  15477. "ermcp.ExposureDetailRsp": {
  15478. "type": "object",
  15479. "properties": {
  15480. "areauserid": {
  15481. "description": "机构ID",
  15482. "type": "integer"
  15483. },
  15484. "changeQty": {
  15485. "description": "套保变动量",
  15486. "type": "number"
  15487. },
  15488. "contracttype": {
  15489. "description": "现货合同类型 - 1:采购 -1:销售",
  15490. "type": "integer"
  15491. },
  15492. "convertfactor": {
  15493. "description": "标仓系数",
  15494. "type": "number"
  15495. },
  15496. "convertratio": {
  15497. "description": "套保系数",
  15498. "type": "number"
  15499. },
  15500. "createtime": {
  15501. "description": "时间",
  15502. "type": "string"
  15503. },
  15504. "enumdicname": {
  15505. "description": "现货商品单位名称",
  15506. "type": "string"
  15507. },
  15508. "logtype": {
  15509. "description": "类型 - 1:套保计划 2:现货合同",
  15510. "type": "integer"
  15511. },
  15512. "middlegoodsId": {
  15513. "description": "套保商品id",
  15514. "type": "integer"
  15515. },
  15516. "middlegoodscode": {
  15517. "description": "套保商品代码",
  15518. "type": "string"
  15519. },
  15520. "middlegoodsname": {
  15521. "description": "套保商品名称",
  15522. "type": "string"
  15523. },
  15524. "qty": {
  15525. "description": "数量",
  15526. "type": "number"
  15527. },
  15528. "relateNo": {
  15529. "description": "现货合同/套保计划编号",
  15530. "type": "string"
  15531. },
  15532. "wrstandardcode": {
  15533. "description": "现货商品代码",
  15534. "type": "string"
  15535. },
  15536. "wrstandardid": {
  15537. "description": "现货商品ID",
  15538. "type": "integer"
  15539. },
  15540. "wrstandardname": {
  15541. "description": "现货商品名称",
  15542. "type": "string"
  15543. }
  15544. }
  15545. },
  15546. "ermcp.ExposureHedgePosDetailRsp": {
  15547. "type": "object",
  15548. "properties": {
  15549. "buyorsell": {
  15550. "description": "买卖方向 0-买 1-卖",
  15551. "type": "integer"
  15552. },
  15553. "channelbuildtype": {
  15554. "description": "开平方向 1-建仓 2-平仓",
  15555. "type": "integer"
  15556. },
  15557. "goodscode": {
  15558. "description": "商品代码",
  15559. "type": "string"
  15560. },
  15561. "goodsname": {
  15562. "description": "商品名称",
  15563. "type": "string"
  15564. },
  15565. "hedgegoodsid": {
  15566. "description": "商品id",
  15567. "type": "integer"
  15568. },
  15569. "tradeqty": {
  15570. "description": "数量(成交数量)",
  15571. "type": "integer"
  15572. },
  15573. "tradetime": {
  15574. "description": "时间(成交时间)",
  15575. "type": "string"
  15576. }
  15577. }
  15578. },
  15579. "ermcp.ExposureHedgePositionRsp": {
  15580. "type": "object",
  15581. "properties": {
  15582. "accountid": {
  15583. "description": "资金账号[外部母账户]",
  15584. "type": "integer"
  15585. },
  15586. "curbuyposition": {
  15587. "description": "期末买头寸",
  15588. "type": "integer"
  15589. },
  15590. "cursellposition": {
  15591. "description": "期末卖头寸",
  15592. "type": "integer"
  15593. },
  15594. "curtdbuyposition": {
  15595. "description": "期末今日买头寸",
  15596. "type": "integer"
  15597. },
  15598. "curtdsellposition": {
  15599. "description": "期末今日卖头寸",
  15600. "type": "integer"
  15601. },
  15602. "curydbuyposition": {
  15603. "description": "期末上日买头寸",
  15604. "type": "integer"
  15605. },
  15606. "curydsellposition": {
  15607. "description": "期末上日卖头寸",
  15608. "type": "integer"
  15609. },
  15610. "decreaseqty": {
  15611. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15612. "type": "integer"
  15613. },
  15614. "fretdbuyposition": {
  15615. "description": "冻结今日买头寸",
  15616. "type": "integer"
  15617. },
  15618. "fretdsellposition": {
  15619. "description": "冻结今日卖头寸",
  15620. "type": "integer"
  15621. },
  15622. "freydbuyposition": {
  15623. "description": "冻结上日买头寸",
  15624. "type": "integer"
  15625. },
  15626. "freydsellposition": {
  15627. "description": "冻结上日卖头寸",
  15628. "type": "integer"
  15629. },
  15630. "goodscode": {
  15631. "description": "商品代码",
  15632. "type": "string"
  15633. },
  15634. "goodsid": {
  15635. "description": "商品id",
  15636. "type": "integer"
  15637. },
  15638. "goodsname": {
  15639. "description": "商品名称",
  15640. "type": "string"
  15641. },
  15642. "hedgeaccountcode": {
  15643. "description": "对冲账号",
  15644. "type": "string"
  15645. },
  15646. "hedgegoodsid": {
  15647. "description": "对冲合约ID",
  15648. "type": "integer"
  15649. },
  15650. "increaseqty": {
  15651. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15652. "type": "integer"
  15653. },
  15654. "marketid": {
  15655. "description": "市场ID",
  15656. "type": "integer"
  15657. },
  15658. "relateduserid": {
  15659. "description": "关联用户id",
  15660. "type": "integer"
  15661. },
  15662. "totalcurqty": {
  15663. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15664. "type": "integer"
  15665. },
  15666. "totalydqty": {
  15667. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15668. "type": "integer"
  15669. },
  15670. "tradedate": {
  15671. "description": "交易日(yyyyMMdd)",
  15672. "type": "string"
  15673. },
  15674. "ydbuyposition": {
  15675. "description": "期初买头寸",
  15676. "type": "integer"
  15677. },
  15678. "ydsellposition": {
  15679. "description": "期初卖头寸",
  15680. "type": "integer"
  15681. }
  15682. }
  15683. },
  15684. "ermcp.ExposureSpotDetailRsp": {
  15685. "type": "object",
  15686. "properties": {
  15687. "contracttype": {
  15688. "description": "合同类型 1-采购 -1-销售",
  15689. "type": "integer"
  15690. },
  15691. "createtime": {
  15692. "description": "创建时间",
  15693. "type": "string"
  15694. },
  15695. "enumdicname": {
  15696. "description": "现货商品单位名称",
  15697. "type": "string"
  15698. },
  15699. "logtype": {
  15700. "description": "记录类型 1-套保 2-现货合同",
  15701. "type": "integer"
  15702. },
  15703. "qty": {
  15704. "description": "数量",
  15705. "type": "number"
  15706. },
  15707. "recordname": {
  15708. "description": "类型名称",
  15709. "type": "string"
  15710. },
  15711. "relatedid": {
  15712. "description": "套保计划ID/现货合同ID",
  15713. "type": "string"
  15714. },
  15715. "relatedno": {
  15716. "description": "编号",
  15717. "type": "string"
  15718. },
  15719. "strtime": {
  15720. "description": "时间",
  15721. "type": "string"
  15722. },
  15723. "wrstandardcode": {
  15724. "description": "现货商品代码",
  15725. "type": "string"
  15726. },
  15727. "wrstandardname": {
  15728. "description": "现货商品名称",
  15729. "type": "string"
  15730. }
  15731. }
  15732. },
  15733. "ermcp.ExposureSpotRsp": {
  15734. "type": "object",
  15735. "properties": {
  15736. "areauserid": {
  15737. "description": "所属机构",
  15738. "type": "integer"
  15739. },
  15740. "decreaseqty": {
  15741. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15742. "type": "number"
  15743. },
  15744. "increaseqty": {
  15745. "description": "增加数量=销售计划数量+采购已定价数量",
  15746. "type": "number"
  15747. },
  15748. "oritoalspotqty": {
  15749. "description": "昨日数量",
  15750. "type": "number"
  15751. },
  15752. "totalspotqty": {
  15753. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15754. "type": "number"
  15755. },
  15756. "updatetime": {
  15757. "description": "更新时间",
  15758. "type": "string"
  15759. },
  15760. "wrstandardcode": {
  15761. "description": "现货品种代码",
  15762. "type": "string"
  15763. },
  15764. "wrstandardid": {
  15765. "description": "现货商品ID",
  15766. "type": "integer"
  15767. },
  15768. "wrstandardname": {
  15769. "description": "现货品种",
  15770. "type": "string"
  15771. }
  15772. }
  15773. },
  15774. "ermcp.HisExposureRsp": {
  15775. "type": "object",
  15776. "properties": {
  15777. "data": {
  15778. "description": "历史敞口",
  15779. "type": "array",
  15780. "items": {
  15781. "$ref": "#/definitions/models.ErmcpHisExposure"
  15782. }
  15783. },
  15784. "enumdicname": {
  15785. "description": "单位名称",
  15786. "type": "string"
  15787. },
  15788. "middlegoodscode": {
  15789. "description": "套保品种代码",
  15790. "type": "string"
  15791. },
  15792. "middlegoodsid": {
  15793. "description": "套保品种ID",
  15794. "type": "integer"
  15795. },
  15796. "middlegoodsname": {
  15797. "description": "套保品种名称",
  15798. "type": "string"
  15799. }
  15800. }
  15801. },
  15802. "ermcp.PendingAuditCntRsp": {
  15803. "type": "object",
  15804. "properties": {
  15805. "areastockqty": {
  15806. "description": "待审核数量: 库存申请",
  15807. "type": "integer"
  15808. },
  15809. "businessdjqty": {
  15810. "description": "待审核数量: 点价",
  15811. "type": "integer"
  15812. },
  15813. "businessfpqty": {
  15814. "description": "待审核数量: 发票",
  15815. "type": "integer"
  15816. },
  15817. "businessjsqty": {
  15818. "description": "待审核数量: 结算",
  15819. "type": "integer"
  15820. },
  15821. "businesskxqty": {
  15822. "description": "待审核数量: 款项",
  15823. "type": "integer"
  15824. },
  15825. "hedgeplanqty": {
  15826. "description": "待审核数量: 套保计划",
  15827. "type": "integer"
  15828. },
  15829. "spotcontractqty": {
  15830. "description": "待审核数量: 现货合同",
  15831. "type": "integer"
  15832. },
  15833. "userqty": {
  15834. "description": "待审核数量: 用户",
  15835. "type": "integer"
  15836. }
  15837. }
  15838. },
  15839. "ermcp.QryAvalidGPRsp": {
  15840. "type": "object",
  15841. "properties": {
  15842. "goodsgroupid": {
  15843. "description": "期货品种id",
  15844. "type": "integer"
  15845. },
  15846. "goodsgroupname": {
  15847. "description": "期货品种名称",
  15848. "type": "string"
  15849. },
  15850. "goodunitid": {
  15851. "description": "品种单位id",
  15852. "type": "integer"
  15853. },
  15854. "goodunitname": {
  15855. "description": "品种单位名称",
  15856. "type": "string"
  15857. },
  15858. "outergroupcode": {
  15859. "description": "期货品种代码",
  15860. "type": "string"
  15861. }
  15862. }
  15863. },
  15864. "ermcp.QryBusinessDjRsp": {
  15865. "type": "object",
  15866. "properties": {
  15867. "amount": {
  15868. "description": "点价金额=(点价价格+升贴水)*点价数量",
  15869. "type": "number"
  15870. },
  15871. "applyid": {
  15872. "description": "申请人",
  15873. "type": "string"
  15874. },
  15875. "applyname": {
  15876. "description": "申请人名称",
  15877. "type": "string"
  15878. },
  15879. "applystatus": {
  15880. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15881. "type": "integer"
  15882. },
  15883. "applytime": {
  15884. "description": "申请时间",
  15885. "type": "string"
  15886. },
  15887. "attachurl": {
  15888. "description": "附件",
  15889. "type": "string"
  15890. },
  15891. "auditid": {
  15892. "description": "审核人ID",
  15893. "type": "string"
  15894. },
  15895. "auditname": {
  15896. "description": "审核人名称",
  15897. "type": "string"
  15898. },
  15899. "auditremark": {
  15900. "description": "审核备注",
  15901. "type": "string"
  15902. },
  15903. "audittime": {
  15904. "description": "审核时间",
  15905. "type": "string"
  15906. },
  15907. "buyusername": {
  15908. "description": "采购方名称",
  15909. "type": "string"
  15910. },
  15911. "contractno": {
  15912. "description": "合同编号",
  15913. "type": "string"
  15914. },
  15915. "contractstatus": {
  15916. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15917. "type": "integer"
  15918. },
  15919. "contracttype": {
  15920. "description": "现货合同类型 - 1:采购 -1:销售",
  15921. "type": "integer"
  15922. },
  15923. "deliverygoodscode": {
  15924. "description": "现货品种代码",
  15925. "type": "string"
  15926. },
  15927. "deliverygoodsid": {
  15928. "description": "现货商品ID",
  15929. "type": "integer"
  15930. },
  15931. "deliverygoodsname": {
  15932. "description": "现货品种名称",
  15933. "type": "string"
  15934. },
  15935. "enumdicname": {
  15936. "description": "单位名称",
  15937. "type": "string"
  15938. },
  15939. "goodscode": {
  15940. "description": "点价合约",
  15941. "type": "string"
  15942. },
  15943. "goodsname": {
  15944. "description": "商品名称",
  15945. "type": "string"
  15946. },
  15947. "operateapplyid": {
  15948. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15949. "type": "string"
  15950. },
  15951. "operateapplytype": {
  15952. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15953. "type": "integer"
  15954. },
  15955. "pricedPrice": {
  15956. "description": "点价价格(非必填)",
  15957. "type": "number"
  15958. },
  15959. "pricedQty": {
  15960. "description": "点价数量(非必填)",
  15961. "type": "number"
  15962. },
  15963. "pricemove": {
  15964. "description": "升贴水",
  15965. "type": "number"
  15966. },
  15967. "pricetype": {
  15968. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15969. "type": "integer"
  15970. },
  15971. "relatedid": {
  15972. "description": "现货合同ID",
  15973. "type": "string"
  15974. },
  15975. "sellusername": {
  15976. "description": "销售方名字",
  15977. "type": "string"
  15978. },
  15979. "userid": {
  15980. "description": "用户ID",
  15981. "type": "integer"
  15982. },
  15983. "wrstandardcode": {
  15984. "description": "品类代码",
  15985. "type": "string"
  15986. },
  15987. "wrstandardid": {
  15988. "description": "品类id",
  15989. "type": "integer"
  15990. },
  15991. "wrstandardname": {
  15992. "description": "品类名称",
  15993. "type": "string"
  15994. }
  15995. }
  15996. },
  15997. "ermcp.QryBussinessFpRsp": {
  15998. "type": "object",
  15999. "properties": {
  16000. "applyid": {
  16001. "description": "申请人",
  16002. "type": "string"
  16003. },
  16004. "applyname": {
  16005. "description": "申请人名称",
  16006. "type": "string"
  16007. },
  16008. "applystatus": {
  16009. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16010. "type": "integer"
  16011. },
  16012. "applytime": {
  16013. "description": "申请时间",
  16014. "type": "string"
  16015. },
  16016. "attachurl": {
  16017. "description": "附件",
  16018. "type": "string"
  16019. },
  16020. "auditid": {
  16021. "description": "审核人ID",
  16022. "type": "string"
  16023. },
  16024. "auditname": {
  16025. "description": "审核人名称",
  16026. "type": "string"
  16027. },
  16028. "auditremark": {
  16029. "description": "审核备注",
  16030. "type": "string"
  16031. },
  16032. "audittime": {
  16033. "description": "审核时间",
  16034. "type": "string"
  16035. },
  16036. "buyusername": {
  16037. "description": "采购方名称",
  16038. "type": "string"
  16039. },
  16040. "contractno": {
  16041. "description": "合同编号",
  16042. "type": "string"
  16043. },
  16044. "contractstatus": {
  16045. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16046. "type": "integer"
  16047. },
  16048. "contracttype": {
  16049. "description": "现货合同类型 - 1:采购 -1:销售",
  16050. "type": "integer"
  16051. },
  16052. "deliverygoodscode": {
  16053. "description": "现货品种代码",
  16054. "type": "string"
  16055. },
  16056. "deliverygoodsid": {
  16057. "description": "现货商品ID",
  16058. "type": "integer"
  16059. },
  16060. "deliverygoodsname": {
  16061. "description": "现货品种名称",
  16062. "type": "string"
  16063. },
  16064. "enumdicname": {
  16065. "description": "单位名称",
  16066. "type": "string"
  16067. },
  16068. "goodscode": {
  16069. "description": "点价合约",
  16070. "type": "string"
  16071. },
  16072. "goodsname": {
  16073. "description": "商品名称",
  16074. "type": "string"
  16075. },
  16076. "invoiceAmount": {
  16077. "description": "已开收票金额(销售为开票,采购为收票)",
  16078. "type": "number"
  16079. },
  16080. "operateapplyid": {
  16081. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16082. "type": "string"
  16083. },
  16084. "operateapplytype": {
  16085. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16086. "type": "integer"
  16087. },
  16088. "pricemove": {
  16089. "description": "升贴水",
  16090. "type": "number"
  16091. },
  16092. "pricetype": {
  16093. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16094. "type": "integer"
  16095. },
  16096. "relatedid": {
  16097. "description": "现货合同ID",
  16098. "type": "string"
  16099. },
  16100. "sellusername": {
  16101. "description": "销售方名字",
  16102. "type": "string"
  16103. },
  16104. "userid": {
  16105. "description": "用户ID",
  16106. "type": "integer"
  16107. },
  16108. "wrstandardcode": {
  16109. "description": "品类代码",
  16110. "type": "string"
  16111. },
  16112. "wrstandardid": {
  16113. "description": "品类id",
  16114. "type": "integer"
  16115. },
  16116. "wrstandardname": {
  16117. "description": "品类名称",
  16118. "type": "string"
  16119. }
  16120. }
  16121. },
  16122. "ermcp.QryBussinessJsExRsp": {
  16123. "type": "object",
  16124. "properties": {
  16125. "applyid": {
  16126. "description": "申请人",
  16127. "type": "string"
  16128. },
  16129. "applyname": {
  16130. "description": "申请人名称",
  16131. "type": "string"
  16132. },
  16133. "applystatus": {
  16134. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16135. "type": "integer"
  16136. },
  16137. "applytime": {
  16138. "description": "申请时间",
  16139. "type": "string"
  16140. },
  16141. "attachurl": {
  16142. "description": "附件",
  16143. "type": "string"
  16144. },
  16145. "auditid": {
  16146. "description": "审核人ID",
  16147. "type": "string"
  16148. },
  16149. "auditname": {
  16150. "description": "审核人名称",
  16151. "type": "string"
  16152. },
  16153. "auditremark": {
  16154. "description": "审核备注",
  16155. "type": "string"
  16156. },
  16157. "audittime": {
  16158. "description": "审核时间",
  16159. "type": "string"
  16160. },
  16161. "buyusername": {
  16162. "description": "采购方名称",
  16163. "type": "string"
  16164. },
  16165. "contractno": {
  16166. "description": "合同编号",
  16167. "type": "string"
  16168. },
  16169. "contractstatus": {
  16170. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16171. "type": "integer"
  16172. },
  16173. "contracttype": {
  16174. "description": "现货合同类型 - 1:采购 -1:销售",
  16175. "type": "integer"
  16176. },
  16177. "deliverygoodscode": {
  16178. "description": "现货品种代码",
  16179. "type": "string"
  16180. },
  16181. "deliverygoodsid": {
  16182. "description": "现货商品ID",
  16183. "type": "integer"
  16184. },
  16185. "deliverygoodsname": {
  16186. "description": "现货品种名称",
  16187. "type": "string"
  16188. },
  16189. "enumdicname": {
  16190. "description": "单位名称",
  16191. "type": "string"
  16192. },
  16193. "goodscode": {
  16194. "description": "点价合约",
  16195. "type": "string"
  16196. },
  16197. "goodsname": {
  16198. "description": "商品名称",
  16199. "type": "string"
  16200. },
  16201. "operateapplyid": {
  16202. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16203. "type": "string"
  16204. },
  16205. "operateapplytype": {
  16206. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16207. "type": "integer"
  16208. },
  16209. "pricemove": {
  16210. "description": "升贴水",
  16211. "type": "number"
  16212. },
  16213. "pricetype": {
  16214. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16215. "type": "integer"
  16216. },
  16217. "reckontype": {
  16218. "description": "结算类型",
  16219. "type": "string"
  16220. },
  16221. "reckonvalue": {
  16222. "description": "值",
  16223. "type": "number"
  16224. },
  16225. "relatedid": {
  16226. "description": "现货合同ID",
  16227. "type": "string"
  16228. },
  16229. "sellusername": {
  16230. "description": "销售方名字",
  16231. "type": "string"
  16232. },
  16233. "userid": {
  16234. "description": "用户ID",
  16235. "type": "integer"
  16236. },
  16237. "wrstandardcode": {
  16238. "description": "品类代码",
  16239. "type": "string"
  16240. },
  16241. "wrstandardid": {
  16242. "description": "品类id",
  16243. "type": "integer"
  16244. },
  16245. "wrstandardname": {
  16246. "description": "品类名称",
  16247. "type": "string"
  16248. }
  16249. }
  16250. },
  16251. "ermcp.QryBussinessJsRsp": {
  16252. "type": "object",
  16253. "properties": {
  16254. "addmargin": {
  16255. "description": "追加保证金(非必填)",
  16256. "type": "number"
  16257. },
  16258. "applyid": {
  16259. "description": "申请人",
  16260. "type": "string"
  16261. },
  16262. "applyname": {
  16263. "description": "申请人名称",
  16264. "type": "string"
  16265. },
  16266. "applystatus": {
  16267. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16268. "type": "integer"
  16269. },
  16270. "applytime": {
  16271. "description": "申请时间",
  16272. "type": "string"
  16273. },
  16274. "attachurl": {
  16275. "description": "附件",
  16276. "type": "string"
  16277. },
  16278. "auditid": {
  16279. "description": "审核人ID",
  16280. "type": "string"
  16281. },
  16282. "auditname": {
  16283. "description": "审核人名称",
  16284. "type": "string"
  16285. },
  16286. "auditremark": {
  16287. "description": "审核备注",
  16288. "type": "string"
  16289. },
  16290. "audittime": {
  16291. "description": "审核时间",
  16292. "type": "string"
  16293. },
  16294. "buyusername": {
  16295. "description": "采购方名称",
  16296. "type": "string"
  16297. },
  16298. "contractno": {
  16299. "description": "合同编号",
  16300. "type": "string"
  16301. },
  16302. "contractstatus": {
  16303. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16304. "type": "integer"
  16305. },
  16306. "contracttype": {
  16307. "description": "现货合同类型 - 1:采购 -1:销售",
  16308. "type": "integer"
  16309. },
  16310. "decmargin": {
  16311. "description": "减少保证金(非必填)",
  16312. "type": "number"
  16313. },
  16314. "deliverygoodscode": {
  16315. "description": "现货品种代码",
  16316. "type": "string"
  16317. },
  16318. "deliverygoodsid": {
  16319. "description": "现货商品ID",
  16320. "type": "integer"
  16321. },
  16322. "deliverygoodsname": {
  16323. "description": "现货品种名称",
  16324. "type": "string"
  16325. },
  16326. "enumdicname": {
  16327. "description": "单位名称",
  16328. "type": "string"
  16329. },
  16330. "goodscode": {
  16331. "description": "点价合约",
  16332. "type": "string"
  16333. },
  16334. "goodsname": {
  16335. "description": "商品名称",
  16336. "type": "string"
  16337. },
  16338. "operateapplyid": {
  16339. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16340. "type": "string"
  16341. },
  16342. "operateapplytype": {
  16343. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16344. "type": "integer"
  16345. },
  16346. "pricemove": {
  16347. "description": "升贴水",
  16348. "type": "number"
  16349. },
  16350. "pricetype": {
  16351. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16352. "type": "integer"
  16353. },
  16354. "reckonadjustamount": {
  16355. "description": "结算调整金额(非必填)",
  16356. "type": "number"
  16357. },
  16358. "reckonosamount": {
  16359. "description": "结算溢短金额(非必填)",
  16360. "type": "number"
  16361. },
  16362. "reckonotheramount": {
  16363. "description": "结算其他费用(非必填)",
  16364. "type": "number"
  16365. },
  16366. "reckonrealqty": {
  16367. "description": "结算实际数量(非必填)",
  16368. "type": "number"
  16369. },
  16370. "relatedid": {
  16371. "description": "现货合同ID",
  16372. "type": "string"
  16373. },
  16374. "sellusername": {
  16375. "description": "销售方名字",
  16376. "type": "string"
  16377. },
  16378. "userid": {
  16379. "description": "用户ID",
  16380. "type": "integer"
  16381. },
  16382. "wrstandardcode": {
  16383. "description": "品类代码",
  16384. "type": "string"
  16385. },
  16386. "wrstandardid": {
  16387. "description": "品类id",
  16388. "type": "integer"
  16389. },
  16390. "wrstandardname": {
  16391. "description": "品类名称",
  16392. "type": "string"
  16393. }
  16394. }
  16395. },
  16396. "ermcp.QryBussinessKxRsp": {
  16397. "type": "object",
  16398. "properties": {
  16399. "applyid": {
  16400. "description": "申请人",
  16401. "type": "string"
  16402. },
  16403. "applyname": {
  16404. "description": "申请人名称",
  16405. "type": "string"
  16406. },
  16407. "applystatus": {
  16408. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16409. "type": "integer"
  16410. },
  16411. "applytime": {
  16412. "description": "申请时间",
  16413. "type": "string"
  16414. },
  16415. "attachurl": {
  16416. "description": "附件",
  16417. "type": "string"
  16418. },
  16419. "auditid": {
  16420. "description": "审核人ID",
  16421. "type": "string"
  16422. },
  16423. "auditname": {
  16424. "description": "审核人名称",
  16425. "type": "string"
  16426. },
  16427. "auditremark": {
  16428. "description": "审核备注",
  16429. "type": "string"
  16430. },
  16431. "audittime": {
  16432. "description": "审核时间",
  16433. "type": "string"
  16434. },
  16435. "buyusername": {
  16436. "description": "采购方名称",
  16437. "type": "string"
  16438. },
  16439. "contractno": {
  16440. "description": "合同编号",
  16441. "type": "string"
  16442. },
  16443. "contractstatus": {
  16444. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16445. "type": "integer"
  16446. },
  16447. "contracttype": {
  16448. "description": "现货合同类型 - 1:采购 -1:销售",
  16449. "type": "integer"
  16450. },
  16451. "deductamount": {
  16452. "description": "退款(非必填)",
  16453. "type": "number"
  16454. },
  16455. "deliverygoodscode": {
  16456. "description": "现货品种代码",
  16457. "type": "string"
  16458. },
  16459. "deliverygoodsid": {
  16460. "description": "现货商品ID",
  16461. "type": "integer"
  16462. },
  16463. "deliverygoodsname": {
  16464. "description": "现货品种名称",
  16465. "type": "string"
  16466. },
  16467. "enumdicname": {
  16468. "description": "单位名称",
  16469. "type": "string"
  16470. },
  16471. "goodscode": {
  16472. "description": "点价合约",
  16473. "type": "string"
  16474. },
  16475. "goodsname": {
  16476. "description": "商品名称",
  16477. "type": "string"
  16478. },
  16479. "kxtype": {
  16480. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  16481. "type": "integer"
  16482. },
  16483. "operateapplyid": {
  16484. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16485. "type": "string"
  16486. },
  16487. "operateapplytype": {
  16488. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16489. "type": "integer"
  16490. },
  16491. "payamount": {
  16492. "description": "收付款(非必填)",
  16493. "type": "number"
  16494. },
  16495. "pricemove": {
  16496. "description": "升贴水",
  16497. "type": "number"
  16498. },
  16499. "pricetype": {
  16500. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16501. "type": "integer"
  16502. },
  16503. "relatedid": {
  16504. "description": "现货合同ID",
  16505. "type": "string"
  16506. },
  16507. "sellusername": {
  16508. "description": "销售方名字",
  16509. "type": "string"
  16510. },
  16511. "userid": {
  16512. "description": "用户ID",
  16513. "type": "integer"
  16514. },
  16515. "wrstandardcode": {
  16516. "description": "品类代码",
  16517. "type": "string"
  16518. },
  16519. "wrstandardid": {
  16520. "description": "品类id",
  16521. "type": "integer"
  16522. },
  16523. "wrstandardname": {
  16524. "description": "品类名称",
  16525. "type": "string"
  16526. }
  16527. }
  16528. },
  16529. "ermcp.QryGGCovertCfgRsp": {
  16530. "type": "object",
  16531. "properties": {
  16532. "convertratio": {
  16533. "description": "折算系数",
  16534. "type": "number"
  16535. },
  16536. "destgoodsgroupid": {
  16537. "description": "目标品种ID",
  16538. "type": "integer"
  16539. },
  16540. "dstcode": {
  16541. "description": "目录品种代码",
  16542. "type": "string"
  16543. },
  16544. "dstexchangecode": {
  16545. "description": "目标期货交易所",
  16546. "type": "string"
  16547. },
  16548. "dstname": {
  16549. "description": "目标品种名称",
  16550. "type": "string"
  16551. },
  16552. "dstunitid": {
  16553. "description": "目标品种单位ID",
  16554. "type": "integer"
  16555. },
  16556. "dstunitidname": {
  16557. "description": "目标品种单位名称",
  16558. "type": "string"
  16559. },
  16560. "modifytime": {
  16561. "description": "修改时间",
  16562. "type": "string"
  16563. },
  16564. "srccode": {
  16565. "description": "源品种代码",
  16566. "type": "string"
  16567. },
  16568. "srcexchangecode": {
  16569. "description": "源期货交易所",
  16570. "type": "string"
  16571. },
  16572. "srcgoodsgroupid": {
  16573. "description": "源品种ID",
  16574. "type": "integer"
  16575. },
  16576. "srcname": {
  16577. "description": "源品种名称",
  16578. "type": "string"
  16579. },
  16580. "srcunitid": {
  16581. "description": "源品种单位ID",
  16582. "type": "integer"
  16583. },
  16584. "srcunitidname": {
  16585. "description": "源品种单位名称",
  16586. "type": "string"
  16587. }
  16588. }
  16589. },
  16590. "ermcp.QryMGChangeLogRsp": {
  16591. "type": "object",
  16592. "properties": {
  16593. "aftervalue": {
  16594. "description": "变更后",
  16595. "type": "number"
  16596. },
  16597. "applyid": {
  16598. "description": "操作人",
  16599. "type": "integer"
  16600. },
  16601. "applyname": {
  16602. "description": "操作人名称",
  16603. "type": "string"
  16604. },
  16605. "applysrc": {
  16606. "description": "操作来源 - 1:管理端 2:终端",
  16607. "type": "integer"
  16608. },
  16609. "beforevalue": {
  16610. "description": "变更前",
  16611. "type": "number"
  16612. },
  16613. "changelogtype": {
  16614. "description": "变更流水类型 - 1:套保比率变更",
  16615. "type": "integer"
  16616. },
  16617. "handlestatus": {
  16618. "description": "处理状态",
  16619. "type": "integer"
  16620. },
  16621. "logdatetime": {
  16622. "description": "流水日期",
  16623. "type": "string"
  16624. },
  16625. "logid": {
  16626. "description": "流水ID",
  16627. "type": "integer"
  16628. },
  16629. "logremark": {
  16630. "description": "流水备注",
  16631. "type": "string"
  16632. },
  16633. "middlegoodsid": {
  16634. "description": "套保品种ID",
  16635. "type": "integer"
  16636. },
  16637. "tradedate": {
  16638. "description": "交易日(yyyyMMdd)",
  16639. "type": "string"
  16640. },
  16641. "updatetime": {
  16642. "description": "更新时间",
  16643. "type": "string"
  16644. }
  16645. }
  16646. },
  16647. "ermcp.QryMiddleGoodsDetailRsp": {
  16648. "type": "object",
  16649. "properties": {
  16650. "cvList": {
  16651. "description": "期货品种折算列表",
  16652. "type": "array",
  16653. "items": {
  16654. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16655. }
  16656. },
  16657. "mg": {
  16658. "description": "套保品种基本信息",
  16659. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16660. },
  16661. "wrcList": {
  16662. "description": "现货品种列表(现货商品折算配置)",
  16663. "type": "array",
  16664. "items": {
  16665. "$ref": "#/definitions/models.WRSConverTDetail"
  16666. }
  16667. }
  16668. }
  16669. },
  16670. "ermcp.QryMiddleGoodsRsp": {
  16671. "type": "object",
  16672. "properties": {
  16673. "areauserid": {
  16674. "description": "机构用户ID",
  16675. "type": "integer"
  16676. },
  16677. "createtime": {
  16678. "description": "修改时间",
  16679. "type": "string"
  16680. },
  16681. "enumdicname": {
  16682. "description": "单位名称",
  16683. "type": "string"
  16684. },
  16685. "evaluateratio": {
  16686. "description": "估价系数",
  16687. "type": "number"
  16688. },
  16689. "goodsgroupid": {
  16690. "description": "关联期货品种ID",
  16691. "type": "integer"
  16692. },
  16693. "goodsunitid": {
  16694. "description": "单位ID",
  16695. "type": "integer"
  16696. },
  16697. "isvalid": {
  16698. "description": "状态 0-无效(停用) 1-有效(正常)",
  16699. "type": "integer"
  16700. },
  16701. "middlegoodscode": {
  16702. "description": "套保品种代码",
  16703. "type": "string"
  16704. },
  16705. "middlegoodsid": {
  16706. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16707. "type": "integer"
  16708. },
  16709. "middlegoodsname": {
  16710. "description": "套保品种名称",
  16711. "type": "string"
  16712. },
  16713. "modifytime": {
  16714. "description": "修改时间",
  16715. "type": "string"
  16716. },
  16717. "needarbitrageratio": {
  16718. "description": "套利比例",
  16719. "type": "number"
  16720. },
  16721. "needhedgeratio": {
  16722. "description": "套保比率",
  16723. "type": "number"
  16724. },
  16725. "qtydecimalplace": {
  16726. "description": "数量小数位",
  16727. "type": "integer"
  16728. },
  16729. "relatedgoodsid": {
  16730. "description": "关联交易商品ID",
  16731. "type": "integer"
  16732. },
  16733. "relatedgoodstype": {
  16734. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16735. "type": "integer"
  16736. },
  16737. "remark": {
  16738. "description": "备注",
  16739. "type": "string"
  16740. }
  16741. }
  16742. },
  16743. "ermcp.QryOPLogRsp": {
  16744. "type": "object",
  16745. "properties": {
  16746. "aftervalue": {
  16747. "description": "变更后",
  16748. "type": "number"
  16749. },
  16750. "applyid": {
  16751. "description": "操作人ID",
  16752. "type": "string"
  16753. },
  16754. "applyname": {
  16755. "description": "操作人名称",
  16756. "type": "string"
  16757. },
  16758. "beforevalue": {
  16759. "description": "变更前",
  16760. "type": "number"
  16761. },
  16762. "biztype": {
  16763. "description": "业务类型 - 1:套保计划 2:现货合同",
  16764. "type": "integer"
  16765. },
  16766. "contracttype": {
  16767. "description": "现货合同类型 - 1:采购 -1:销售",
  16768. "type": "integer"
  16769. },
  16770. "logvalue": {
  16771. "description": "数值",
  16772. "type": "number"
  16773. },
  16774. "operatelogtype": {
  16775. "description": "操作流水类型",
  16776. "type": "integer"
  16777. },
  16778. "operatelogtypedesc": {
  16779. "description": "操作流水类型名称",
  16780. "type": "string"
  16781. },
  16782. "relatedid": {
  16783. "description": "现货合同ID\\套保计划",
  16784. "type": "string"
  16785. },
  16786. "updatetime": {
  16787. "description": "更新时间",
  16788. "type": "string"
  16789. }
  16790. }
  16791. },
  16792. "ermcp.QryUserInfoRsp": {
  16793. "type": "object",
  16794. "properties": {
  16795. "address": {
  16796. "description": "通讯地址",
  16797. "type": "string"
  16798. },
  16799. "attachment1": {
  16800. "description": "附件1",
  16801. "type": "string"
  16802. },
  16803. "audittime": {
  16804. "description": "审核时间",
  16805. "type": "string"
  16806. },
  16807. "cardbackphotourl": {
  16808. "description": "证件反面图片地址",
  16809. "type": "string"
  16810. },
  16811. "cardfrontphotourl": {
  16812. "description": "证件正面图片地址",
  16813. "type": "string"
  16814. },
  16815. "cardnum": {
  16816. "description": "证件号码",
  16817. "type": "string"
  16818. },
  16819. "cardtype": {
  16820. "description": "证件类型",
  16821. "type": "integer"
  16822. },
  16823. "cardtypename": {
  16824. "description": "证件类型名称",
  16825. "type": "string"
  16826. },
  16827. "cityid": {
  16828. "description": "市",
  16829. "type": "integer"
  16830. },
  16831. "contactname": {
  16832. "description": "联系人",
  16833. "type": "string"
  16834. },
  16835. "countryid": {
  16836. "description": "国家",
  16837. "type": "integer"
  16838. },
  16839. "createtime": {
  16840. "description": "创建时间",
  16841. "type": "string"
  16842. },
  16843. "customername": {
  16844. "description": "企业名称",
  16845. "type": "string"
  16846. },
  16847. "districtid": {
  16848. "description": "区域",
  16849. "type": "integer"
  16850. },
  16851. "email": {
  16852. "description": "邮件",
  16853. "type": "string"
  16854. },
  16855. "legalpersonname": {
  16856. "description": "法人姓名(企业)",
  16857. "type": "string"
  16858. },
  16859. "memberuserid": {
  16860. "description": "所属机构ID",
  16861. "type": "integer"
  16862. },
  16863. "mobile": {
  16864. "description": "手机号码",
  16865. "type": "string"
  16866. },
  16867. "modifytime": {
  16868. "description": "修改时间",
  16869. "type": "string"
  16870. },
  16871. "nickname": {
  16872. "description": "昵称",
  16873. "type": "string"
  16874. },
  16875. "provinceid": {
  16876. "description": "省",
  16877. "type": "integer"
  16878. },
  16879. "remark": {
  16880. "description": "备注",
  16881. "type": "string"
  16882. },
  16883. "status": {
  16884. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16885. "type": "integer"
  16886. },
  16887. "statusdesc": {
  16888. "description": "账户状态中文描述",
  16889. "type": "string"
  16890. },
  16891. "taxpayernum": {
  16892. "description": "纳税人识别号",
  16893. "type": "string"
  16894. },
  16895. "telphone": {
  16896. "description": "联系电话",
  16897. "type": "string"
  16898. },
  16899. "userid": {
  16900. "description": "用户ID",
  16901. "type": "integer"
  16902. },
  16903. "userinfotype": {
  16904. "description": "客户类型",
  16905. "type": "string"
  16906. }
  16907. }
  16908. },
  16909. "ermcp.QryWarehouseRsp": {
  16910. "type": "object",
  16911. "properties": {
  16912. "address": {
  16913. "description": "详细地址",
  16914. "type": "string"
  16915. },
  16916. "areauserid": {
  16917. "description": "所属机构",
  16918. "type": "integer"
  16919. },
  16920. "autoid": {
  16921. "description": "自增ID(仓库ID)",
  16922. "type": "integer"
  16923. },
  16924. "cityid": {
  16925. "description": "市",
  16926. "type": "integer"
  16927. },
  16928. "contactname": {
  16929. "description": "联系人",
  16930. "type": "string"
  16931. },
  16932. "contactnum": {
  16933. "description": "联系电话",
  16934. "type": "string"
  16935. },
  16936. "countryid": {
  16937. "description": "国家",
  16938. "type": "integer"
  16939. },
  16940. "createtime": {
  16941. "description": "创建时间",
  16942. "type": "string"
  16943. },
  16944. "districtid": {
  16945. "description": "区",
  16946. "type": "integer"
  16947. },
  16948. "hasvideo": {
  16949. "description": "是否有视频 - 0:无 1:有",
  16950. "type": "integer"
  16951. },
  16952. "provinceid": {
  16953. "description": "省",
  16954. "type": "integer"
  16955. },
  16956. "remark": {
  16957. "description": "审核备注",
  16958. "type": "string"
  16959. },
  16960. "videourl": {
  16961. "description": "视频地址",
  16962. "type": "string"
  16963. },
  16964. "warehousecode": {
  16965. "description": "仓库代码",
  16966. "type": "string"
  16967. },
  16968. "warehousename": {
  16969. "description": "仓库名称",
  16970. "type": "string"
  16971. },
  16972. "warehousestatus": {
  16973. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16974. "type": "integer"
  16975. },
  16976. "warehousetype": {
  16977. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16978. "type": "integer"
  16979. }
  16980. }
  16981. },
  16982. "ermcp.QueryErmcpTradePositionRsp": {
  16983. "type": "object",
  16984. "properties": {
  16985. "agreeunit": {
  16986. "description": "合约单位",
  16987. "type": "number"
  16988. },
  16989. "buyorsell": {
  16990. "description": "方向 - 0:买 1:卖",
  16991. "type": "integer"
  16992. },
  16993. "curpositionqty": {
  16994. "description": "持仓(总仓数量, 期末头寸)",
  16995. "type": "integer"
  16996. },
  16997. "curtdposition": {
  16998. "description": "今仓数量(期末今日头寸)",
  16999. "type": "integer"
  17000. },
  17001. "curtdpositionenabled": {
  17002. "description": "今仓可用",
  17003. "type": "integer"
  17004. },
  17005. "decimalplace": {
  17006. "description": "报价小数位",
  17007. "type": "integer"
  17008. },
  17009. "enableqty": {
  17010. "description": "可用(总仓可用)",
  17011. "type": "integer"
  17012. },
  17013. "exexchangename": {
  17014. "description": "外部交易所名称",
  17015. "type": "string"
  17016. },
  17017. "exexehangecode": {
  17018. "description": "外部交易所代码",
  17019. "type": "string"
  17020. },
  17021. "exexehangeid": {
  17022. "description": "外部交易所id",
  17023. "type": "integer"
  17024. },
  17025. "goodscode": {
  17026. "description": "商品代码(内部)",
  17027. "type": "string"
  17028. },
  17029. "goodsid": {
  17030. "description": "商品ID(自增ID SEQ_GOODS)",
  17031. "type": "integer"
  17032. },
  17033. "goodsname": {
  17034. "description": "商品名称",
  17035. "type": "string"
  17036. },
  17037. "last": {
  17038. "description": "现价",
  17039. "type": "number"
  17040. },
  17041. "marketid": {
  17042. "description": "所属市场ID",
  17043. "type": "integer"
  17044. },
  17045. "openaverageprice": {
  17046. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  17047. "type": "number"
  17048. },
  17049. "opencost": {
  17050. "description": "开仓成本",
  17051. "type": "number"
  17052. },
  17053. "openpl": {
  17054. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17055. "type": "number"
  17056. },
  17057. "outgoodscode": {
  17058. "description": "商品代码(外部)",
  17059. "type": "string"
  17060. },
  17061. "positionaverageprice": {
  17062. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  17063. "type": "number"
  17064. },
  17065. "positioncost": {
  17066. "description": "持仓成本",
  17067. "type": "number"
  17068. },
  17069. "positionpl": {
  17070. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17071. "type": "number"
  17072. },
  17073. "positionplrate": {
  17074. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  17075. "type": "number"
  17076. },
  17077. "usedmargin": {
  17078. "description": "占用保证金",
  17079. "type": "number"
  17080. }
  17081. }
  17082. },
  17083. "ermcp.RealtimeExposurePositionRsp": {
  17084. "type": "object",
  17085. "properties": {
  17086. "agreeunit": {
  17087. "description": "合约单位",
  17088. "type": "string"
  17089. },
  17090. "areauserid": {
  17091. "description": "所属机构id",
  17092. "type": "integer"
  17093. },
  17094. "convertratio": {
  17095. "description": "期货品种系数(折算系数)",
  17096. "type": "number"
  17097. },
  17098. "curqty": {
  17099. "description": "当前持仓",
  17100. "type": "integer"
  17101. },
  17102. "diffhedgeqty": {
  17103. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  17104. "type": "number"
  17105. },
  17106. "diffqty": {
  17107. "description": "持仓变动量=当前持仓-昨日持仓",
  17108. "type": "integer"
  17109. },
  17110. "goodscode": {
  17111. "description": "商品代码",
  17112. "type": "string"
  17113. },
  17114. "goodsid": {
  17115. "description": "商品id",
  17116. "type": "integer"
  17117. },
  17118. "goodsname": {
  17119. "description": "商品名称",
  17120. "type": "string"
  17121. },
  17122. "middlegoodsid": {
  17123. "description": "套保商品id",
  17124. "type": "integer"
  17125. },
  17126. "ydqty": {
  17127. "description": "昨日持仓",
  17128. "type": "integer"
  17129. }
  17130. }
  17131. },
  17132. "ermcp.RealtimeExposureRsp": {
  17133. "type": "object",
  17134. "properties": {
  17135. "AreaUserID": {
  17136. "description": "所属机构",
  17137. "type": "integer"
  17138. },
  17139. "BuyFutureQty": {
  17140. "description": "买入期货数量",
  17141. "type": "number"
  17142. },
  17143. "BuyPlanQty": {
  17144. "description": "采购计划数量",
  17145. "type": "number"
  17146. },
  17147. "BuyPricedQty": {
  17148. "description": "采购合同已定价数量",
  17149. "type": "number"
  17150. },
  17151. "MiddleGoodsCode": {
  17152. "description": "套保品种代码",
  17153. "type": "string"
  17154. },
  17155. "MiddleGoodsHedgeRatio": {
  17156. "description": "套保比例",
  17157. "type": "number"
  17158. },
  17159. "MiddleGoodsID": {
  17160. "description": "套保品种",
  17161. "type": "integer"
  17162. },
  17163. "MiddleGoodsName": {
  17164. "description": "套保品种名称",
  17165. "type": "string"
  17166. },
  17167. "NeedHedgeExposoure": {
  17168. "description": "应套保敞口(套保敞口)",
  17169. "type": "number"
  17170. },
  17171. "NeedHedgeRatio": {
  17172. "description": "应套保敞口比例",
  17173. "type": "number"
  17174. },
  17175. "OriBuyFutureQty": {
  17176. "description": "期初买入期货数量",
  17177. "type": "number"
  17178. },
  17179. "OriBuyPlanQty": {
  17180. "description": "期初采购计划数量",
  17181. "type": "number"
  17182. },
  17183. "OriBuyPricedQty": {
  17184. "description": "期初采购合同已定价数量",
  17185. "type": "number"
  17186. },
  17187. "OriSellFutureQty": {
  17188. "description": "期初卖出期货数量",
  17189. "type": "number"
  17190. },
  17191. "OriSellPlanQty": {
  17192. "description": "期初销售计划数量",
  17193. "type": "number"
  17194. },
  17195. "OriSellPricedQty": {
  17196. "description": "期初销售合同已定价数量",
  17197. "type": "number"
  17198. },
  17199. "SellFutureQty": {
  17200. "description": "卖出期货数量",
  17201. "type": "number"
  17202. },
  17203. "SellPlanQty": {
  17204. "description": "销售计划数量",
  17205. "type": "number"
  17206. },
  17207. "SellPricedQty": {
  17208. "description": "销售合同已定价数量",
  17209. "type": "number"
  17210. },
  17211. "TotalExposure": {
  17212. "description": "总敞口 平安:净敞口",
  17213. "type": "number"
  17214. },
  17215. "TotalFutureQty": {
  17216. "description": "期货总量 平安:保值净持仓量",
  17217. "type": "number"
  17218. },
  17219. "TotalHedgeRatio": {
  17220. "description": "敞口比例",
  17221. "type": "number"
  17222. },
  17223. "TotalNeedHedgeQty": {
  17224. "description": "应套保总量(现货应套保总量)",
  17225. "type": "number"
  17226. },
  17227. "TotalSpotQty": {
  17228. "description": "现货总量 平安:采销定价净值",
  17229. "type": "number"
  17230. },
  17231. "arbitrageqty": {
  17232. "description": "套利量",
  17233. "type": "number"
  17234. },
  17235. "diffArbitrageQty": {
  17236. "description": "套利变动量",
  17237. "type": "number"
  17238. },
  17239. "diffExposoureQty": {
  17240. "description": "变动量(套保敞口)",
  17241. "type": "number"
  17242. },
  17243. "diffFutuQty": {
  17244. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  17245. "type": "number"
  17246. },
  17247. "diffHedgeQty": {
  17248. "description": "套保变动量",
  17249. "type": "number"
  17250. },
  17251. "diffQty": {
  17252. "description": "变动量(总敞口) 平安:净敞口今日变动",
  17253. "type": "number"
  17254. },
  17255. "diffSpotHedgeQty": {
  17256. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  17257. "type": "number"
  17258. },
  17259. "diffSpotQty": {
  17260. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  17261. "type": "number"
  17262. },
  17263. "enumdicname": {
  17264. "description": "单位名称",
  17265. "type": "string"
  17266. },
  17267. "hedgeqty": {
  17268. "description": "套保量",
  17269. "type": "number"
  17270. },
  17271. "needarbitrageqty": {
  17272. "description": "应套利量",
  17273. "type": "number"
  17274. },
  17275. "needarbitrageratio": {
  17276. "description": "套利比例",
  17277. "type": "number"
  17278. },
  17279. "needhedgeqty": {
  17280. "description": "应套保量",
  17281. "type": "number"
  17282. },
  17283. "oriTotalFutuQty": {
  17284. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17285. "type": "number"
  17286. },
  17287. "oriTotalSpotQty": {
  17288. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17289. "type": "number"
  17290. },
  17291. "oriarbitrageqty": {
  17292. "description": "期初套利量",
  17293. "type": "number"
  17294. },
  17295. "orihedgeqty": {
  17296. "description": "期初套保量",
  17297. "type": "number"
  17298. },
  17299. "orineedhedgeexposoure": {
  17300. "description": "期初套保敞口",
  17301. "type": "number"
  17302. },
  17303. "oritotalexposure": {
  17304. "description": "期初总敞口",
  17305. "type": "number"
  17306. },
  17307. "oritotalfutureqty": {
  17308. "description": "期初期货总量",
  17309. "type": "number"
  17310. },
  17311. "oritotalneedhedgeqty": {
  17312. "description": "期初现货应套保量",
  17313. "type": "number"
  17314. }
  17315. }
  17316. },
  17317. "erms2.QueryArbitrageStrategyRsp": {
  17318. "type": "object",
  17319. "required": [
  17320. "asapplyid"
  17321. ],
  17322. "properties": {
  17323. "applybasis": {
  17324. "description": "申请基差",
  17325. "type": "number"
  17326. },
  17327. "asapplyid": {
  17328. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  17329. "type": "string"
  17330. },
  17331. "asname": {
  17332. "description": "策略名称",
  17333. "type": "string"
  17334. },
  17335. "asno": {
  17336. "description": "策略编号",
  17337. "type": "string"
  17338. },
  17339. "basischangepl": {
  17340. "description": "基差变动损益[结算更新]",
  17341. "type": "number"
  17342. },
  17343. "biztype": {
  17344. "description": "业务类型 - 1:正向套利 -1:反向套利",
  17345. "type": "integer"
  17346. },
  17347. "closetradedate": {
  17348. "description": "完结交易日(yyyyMMdd)",
  17349. "type": "string"
  17350. },
  17351. "curbasis": {
  17352. "description": "当前基差[结算更新]",
  17353. "type": "number"
  17354. },
  17355. "deliverygoodsid": {
  17356. "description": "现货品种ID",
  17357. "type": "integer"
  17358. },
  17359. "futureavgprice": {
  17360. "description": "期货建仓均价",
  17361. "type": "number"
  17362. },
  17363. "futurecloseamount": {
  17364. "description": "期货平仓金额",
  17365. "type": "number"
  17366. },
  17367. "futurecloseqty": {
  17368. "description": "期货平仓数量",
  17369. "type": "number"
  17370. },
  17371. "futureopenamount": {
  17372. "description": "期货开仓金额",
  17373. "type": "number"
  17374. },
  17375. "futureopenqty": {
  17376. "description": "期货开仓数量",
  17377. "type": "number"
  17378. },
  17379. "futurepl": {
  17380. "description": "期货总盈亏[结算更新]",
  17381. "type": "number"
  17382. },
  17383. "futureqty": {
  17384. "description": "期货持仓数量",
  17385. "type": "number"
  17386. },
  17387. "futurequote": {
  17388. "description": "期货额度",
  17389. "type": "number"
  17390. },
  17391. "goodsgroupid": {
  17392. "description": "期货品种ID",
  17393. "type": "integer"
  17394. },
  17395. "marketid": {
  17396. "description": "市场ID",
  17397. "type": "integer"
  17398. },
  17399. "netexposure": {
  17400. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17401. "type": "number"
  17402. },
  17403. "netexposurepl": {
  17404. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17405. "type": "number"
  17406. },
  17407. "netexposurerate": {
  17408. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17409. "type": "number"
  17410. },
  17411. "openbasis": {
  17412. "description": "建仓基差",
  17413. "type": "number"
  17414. },
  17415. "pricedspotqty": {
  17416. "description": "已定价现货数量",
  17417. "type": "number"
  17418. },
  17419. "pricedspotqtynotax": {
  17420. "description": "已定价现货不含税数量",
  17421. "type": "number"
  17422. },
  17423. "remark": {
  17424. "description": "备注",
  17425. "type": "string"
  17426. },
  17427. "spotavgprice": {
  17428. "description": "现货均价",
  17429. "type": "number"
  17430. },
  17431. "spotbuyamount": {
  17432. "description": "现货采购金额",
  17433. "type": "number"
  17434. },
  17435. "spotbuyqty": {
  17436. "description": "现货采购数量",
  17437. "type": "number"
  17438. },
  17439. "spotpl": {
  17440. "description": "现货总盈亏[结算更新]",
  17441. "type": "number"
  17442. },
  17443. "spotquota": {
  17444. "description": "现货额度",
  17445. "type": "number"
  17446. },
  17447. "spotsellamount": {
  17448. "description": "现货销售金额",
  17449. "type": "number"
  17450. },
  17451. "spotsellqty": {
  17452. "description": "现货销售数量",
  17453. "type": "number"
  17454. },
  17455. "spotusedquota": {
  17456. "description": "现货占用资金",
  17457. "type": "number"
  17458. },
  17459. "strategystatus": {
  17460. "description": "策略状态 - 0:未结束 1:已结束",
  17461. "type": "integer"
  17462. },
  17463. "totalpl": {
  17464. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17465. "type": "number"
  17466. },
  17467. "tradedate": {
  17468. "description": "交易日(yyyyMMdd)",
  17469. "type": "string"
  17470. },
  17471. "updatetime": {
  17472. "description": "更新时间",
  17473. "type": "string"
  17474. },
  17475. "usedquota": {
  17476. "description": "已占用资金",
  17477. "type": "number"
  17478. },
  17479. "userid": {
  17480. "description": "所属机构",
  17481. "type": "integer"
  17482. }
  17483. }
  17484. },
  17485. "erms2.QueryInnerTradeDetailRsp": {
  17486. "type": "object",
  17487. "required": [
  17488. "asapplyid",
  17489. "buyorsell",
  17490. "goodscode",
  17491. "goodsgroupid",
  17492. "goodsgroupname",
  17493. "goodsname",
  17494. "tradeid"
  17495. ],
  17496. "properties": {
  17497. "accountid": {
  17498. "description": "账号ID",
  17499. "type": "integer"
  17500. },
  17501. "agreeunit": {
  17502. "description": "合约单位",
  17503. "type": "number"
  17504. },
  17505. "asapplyid": {
  17506. "description": "策略申请ID",
  17507. "type": "integer"
  17508. },
  17509. "asname": {
  17510. "description": "策略名称",
  17511. "type": "string"
  17512. },
  17513. "asno": {
  17514. "description": "策略编号",
  17515. "type": "string"
  17516. },
  17517. "buyorsell": {
  17518. "description": "方向 - 0:买 1:卖",
  17519. "type": "integer"
  17520. },
  17521. "channelbuildtype": {
  17522. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  17523. "type": "integer"
  17524. },
  17525. "closetype": {
  17526. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17527. "type": "integer"
  17528. },
  17529. "decimalplace": {
  17530. "description": "报价小数位",
  17531. "type": "integer"
  17532. },
  17533. "detailtype": {
  17534. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  17535. "type": "integer"
  17536. },
  17537. "exexchangecode": {
  17538. "description": "外部交易所代码",
  17539. "type": "string"
  17540. },
  17541. "exexchangename": {
  17542. "description": "外部交易所名称",
  17543. "type": "string"
  17544. },
  17545. "goodscode": {
  17546. "description": "商品代码(合约)",
  17547. "type": "string"
  17548. },
  17549. "goodsgroupid": {
  17550. "description": "商品组ID(品种ID)",
  17551. "type": "integer"
  17552. },
  17553. "goodsgroupname": {
  17554. "description": "商品组名称(品种)",
  17555. "type": "string"
  17556. },
  17557. "goodsid": {
  17558. "description": "商品ID",
  17559. "type": "integer"
  17560. },
  17561. "goodsname": {
  17562. "description": "商品名称(合约)",
  17563. "type": "string"
  17564. },
  17565. "goodunit": {
  17566. "description": "报价单位",
  17567. "type": "string"
  17568. },
  17569. "marketid": {
  17570. "description": "市场ID",
  17571. "type": "integer"
  17572. },
  17573. "orderid": {
  17574. "description": "委托单号",
  17575. "type": "string"
  17576. },
  17577. "outgoodscode": {
  17578. "description": "商品代码(外部)",
  17579. "type": "string"
  17580. },
  17581. "relatedouttradeid": {
  17582. "description": "关联外部成交单ID",
  17583. "type": "string"
  17584. },
  17585. "remark": {
  17586. "description": "备注",
  17587. "type": "string"
  17588. },
  17589. "spotcontractid": {
  17590. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  17591. "type": "integer"
  17592. },
  17593. "spotcontractno": {
  17594. "description": "现货合同编号",
  17595. "type": "string"
  17596. },
  17597. "tradeid": {
  17598. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17599. "type": "string"
  17600. },
  17601. "tradeprice": {
  17602. "description": "成交价格",
  17603. "type": "number"
  17604. },
  17605. "tradeqty": {
  17606. "description": "成交数量",
  17607. "type": "integer"
  17608. },
  17609. "tradetime": {
  17610. "description": "成交时间",
  17611. "type": "string"
  17612. },
  17613. "updatetime": {
  17614. "description": "更新时间",
  17615. "type": "string"
  17616. }
  17617. }
  17618. },
  17619. "erms2.QuerySpotContractRsp": {
  17620. "type": "object",
  17621. "required": [
  17622. "spotcontractid"
  17623. ],
  17624. "properties": {
  17625. "accountid": {
  17626. "description": "资金账户ID",
  17627. "type": "integer"
  17628. },
  17629. "areauserid": {
  17630. "description": "所属机构",
  17631. "type": "integer"
  17632. },
  17633. "closedate": {
  17634. "description": "终止日期",
  17635. "type": "string"
  17636. },
  17637. "closeremark": {
  17638. "description": "结束备注",
  17639. "type": "string"
  17640. },
  17641. "closetradedate": {
  17642. "description": "完结交易日(yyyyMMdd)",
  17643. "type": "string"
  17644. },
  17645. "closetype": {
  17646. "description": "终止类型 - 1:违约 2:提前终止",
  17647. "type": "integer"
  17648. },
  17649. "contractamount": {
  17650. "description": "合同金额",
  17651. "type": "number"
  17652. },
  17653. "contractattachment": {
  17654. "description": "合同附件",
  17655. "type": "string"
  17656. },
  17657. "contractno": {
  17658. "description": "现货合同编号",
  17659. "type": "string"
  17660. },
  17661. "contractqty": {
  17662. "description": "合同数量(数值) (用于计算)",
  17663. "type": "number"
  17664. },
  17665. "contractqtychar": {
  17666. "description": "合同数量\\已订价数量 (用于显示)",
  17667. "type": "string"
  17668. },
  17669. "contractstatus": {
  17670. "description": "合同状态 - 0:未结束 1:已结束",
  17671. "type": "integer"
  17672. },
  17673. "contracttype": {
  17674. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  17675. "type": "integer"
  17676. },
  17677. "customeraccountid": {
  17678. "description": "客户资金账户ID",
  17679. "type": "integer"
  17680. },
  17681. "customeruserid": {
  17682. "description": "客户ID",
  17683. "type": "integer"
  17684. },
  17685. "deliverygoodsdesc": {
  17686. "description": "品种说明",
  17687. "type": "string"
  17688. },
  17689. "deliverygoodsid": {
  17690. "description": "现货品种ID",
  17691. "type": "integer"
  17692. },
  17693. "handlestatus": {
  17694. "description": "处理状态",
  17695. "type": "integer"
  17696. },
  17697. "invoiceatt": {
  17698. "description": "发票附件",
  17699. "type": "string"
  17700. },
  17701. "invoicedatetime": {
  17702. "description": "开收票更新时间",
  17703. "type": "string"
  17704. },
  17705. "invoiceopentime": {
  17706. "description": "开票时间",
  17707. "type": "string"
  17708. },
  17709. "invoiceremark": {
  17710. "description": "发票备注",
  17711. "type": "string"
  17712. },
  17713. "invoicestatus": {
  17714. "description": "开收票状态 - 0:未开票 1:已开票",
  17715. "type": "integer"
  17716. },
  17717. "lastdate": {
  17718. "description": "交货时间",
  17719. "type": "string"
  17720. },
  17721. "marketid": {
  17722. "description": "市场ID",
  17723. "type": "integer"
  17724. },
  17725. "paydatetime": {
  17726. "description": "收付款更新时间",
  17727. "type": "string"
  17728. },
  17729. "payremark": {
  17730. "description": "收付款备注",
  17731. "type": "string"
  17732. },
  17733. "paystatus": {
  17734. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17735. "type": "integer"
  17736. },
  17737. "positionqty": {
  17738. "description": "头寸数量 - 合同数量去小数部分",
  17739. "type": "integer"
  17740. },
  17741. "producttype": {
  17742. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17743. "type": "integer"
  17744. },
  17745. "relatedqty": {
  17746. "description": "已关联数量",
  17747. "type": "number"
  17748. },
  17749. "relatedstatus": {
  17750. "description": "关联完结状态 - 0:未结束 1:已结束",
  17751. "type": "integer"
  17752. },
  17753. "remark": {
  17754. "description": "备注",
  17755. "type": "string"
  17756. },
  17757. "signdate": {
  17758. "description": "签订日期",
  17759. "type": "string"
  17760. },
  17761. "spotcontractid": {
  17762. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17763. "type": "string"
  17764. },
  17765. "spotdatetime": {
  17766. "description": "收发货更新时间",
  17767. "type": "string"
  17768. },
  17769. "spotprice": {
  17770. "description": "价格",
  17771. "type": "number"
  17772. },
  17773. "spotremark": {
  17774. "description": "收发货备注",
  17775. "type": "string"
  17776. },
  17777. "spotstatus": {
  17778. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17779. "type": "integer"
  17780. },
  17781. "tradedate": {
  17782. "description": "交易日(yyyyMMdd)",
  17783. "type": "string"
  17784. },
  17785. "userid": {
  17786. "description": "业务员用户ID",
  17787. "type": "integer"
  17788. },
  17789. "warehouseid": {
  17790. "description": "仓库ID",
  17791. "type": "integer"
  17792. },
  17793. "wrfactortypeid": {
  17794. "description": "仓单要素类型ID",
  17795. "type": "integer"
  17796. },
  17797. "wrstandardid": {
  17798. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17799. "type": "integer"
  17800. }
  17801. }
  17802. },
  17803. "erms3.AddErms2ASApplyReq": {
  17804. "type": "object",
  17805. "required": [
  17806. "asapplyid"
  17807. ],
  17808. "properties": {
  17809. "applybasis": {
  17810. "description": "申请基差",
  17811. "type": "number"
  17812. },
  17813. "applystatus": {
  17814. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17815. "type": "integer"
  17816. },
  17817. "asapplyid": {
  17818. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  17819. "type": "integer"
  17820. },
  17821. "asname": {
  17822. "description": "策略名称",
  17823. "type": "string"
  17824. },
  17825. "asno": {
  17826. "description": "策略编号",
  17827. "type": "string"
  17828. },
  17829. "auditid": {
  17830. "description": "审核人",
  17831. "type": "integer"
  17832. },
  17833. "auditremark": {
  17834. "description": "审核备注",
  17835. "type": "string"
  17836. },
  17837. "audittime": {
  17838. "description": "审核时间",
  17839. "type": "string"
  17840. },
  17841. "biztype": {
  17842. "description": "业务类型 - 1:正向套利 2:反向套利",
  17843. "type": "integer"
  17844. },
  17845. "createtime": {
  17846. "description": "创建时间",
  17847. "type": "string"
  17848. },
  17849. "creatorid": {
  17850. "description": "创建人",
  17851. "type": "integer"
  17852. },
  17853. "deliverygoodsid": {
  17854. "description": "现货品种ID",
  17855. "type": "integer"
  17856. },
  17857. "futurequote": {
  17858. "description": "期货额度",
  17859. "type": "number"
  17860. },
  17861. "goodsgroupid": {
  17862. "description": "期货品种ID",
  17863. "type": "integer"
  17864. },
  17865. "marketid": {
  17866. "description": "市场ID",
  17867. "type": "integer"
  17868. },
  17869. "remark": {
  17870. "description": "备注",
  17871. "type": "string"
  17872. },
  17873. "spotquota": {
  17874. "description": "现货额度",
  17875. "type": "number"
  17876. },
  17877. "tradedate": {
  17878. "description": "交易日(yyyyMMdd)",
  17879. "type": "string"
  17880. },
  17881. "userid": {
  17882. "description": "所属机构",
  17883. "type": "integer"
  17884. }
  17885. }
  17886. },
  17887. "erms3.AddErms2SpotTradeApplyReq": {
  17888. "type": "object",
  17889. "required": [
  17890. "spottradeid"
  17891. ],
  17892. "properties": {
  17893. "applyjsondetail": {
  17894. "description": "申请明细(JSON)",
  17895. "type": "string"
  17896. },
  17897. "applystatus": {
  17898. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17899. "type": "integer"
  17900. },
  17901. "areauserid": {
  17902. "description": "所属机构",
  17903. "type": "integer"
  17904. },
  17905. "auditid": {
  17906. "description": "审核人",
  17907. "type": "integer"
  17908. },
  17909. "auditremark": {
  17910. "description": "审核备注",
  17911. "type": "string"
  17912. },
  17913. "audittime": {
  17914. "description": "审核时间",
  17915. "type": "string"
  17916. },
  17917. "createtime": {
  17918. "description": "创建时间",
  17919. "type": "string"
  17920. },
  17921. "creatorid": {
  17922. "description": "创建人",
  17923. "type": "integer"
  17924. },
  17925. "deliverygoodsid": {
  17926. "description": "现货品种ID",
  17927. "type": "integer"
  17928. },
  17929. "futureaccountid": {
  17930. "description": "期货资金账户",
  17931. "type": "integer"
  17932. },
  17933. "goodsgroupid": {
  17934. "description": "期货品种",
  17935. "type": "integer"
  17936. },
  17937. "marketid": {
  17938. "description": "市场ID",
  17939. "type": "integer"
  17940. },
  17941. "remark": {
  17942. "description": "备注",
  17943. "type": "string"
  17944. },
  17945. "spotaccountid": {
  17946. "description": "现货资金账户",
  17947. "type": "integer"
  17948. },
  17949. "spottradeid": {
  17950. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17951. "type": "integer"
  17952. },
  17953. "spottradename": {
  17954. "description": "业务名称",
  17955. "type": "string"
  17956. },
  17957. "spottradeno": {
  17958. "description": "业务编号",
  17959. "type": "string"
  17960. },
  17961. "tradedate": {
  17962. "description": "交易日(yyyyMMdd)",
  17963. "type": "string"
  17964. },
  17965. "wrstandardid": {
  17966. "description": "仓单标准ID",
  17967. "type": "integer"
  17968. }
  17969. }
  17970. },
  17971. "erms3.AddSpotContractApplyReq": {
  17972. "type": "object",
  17973. "required": [
  17974. "accountid",
  17975. "areauserid",
  17976. "contractno",
  17977. "contracttype",
  17978. "customeraccountid",
  17979. "customeruserid",
  17980. "details",
  17981. "orimargin",
  17982. "signdate"
  17983. ],
  17984. "properties": {
  17985. "accountid": {
  17986. "description": "资金账户ID",
  17987. "type": "integer"
  17988. },
  17989. "areauserid": {
  17990. "description": "所属机构",
  17991. "type": "integer"
  17992. },
  17993. "contractattachment": {
  17994. "description": "合同附件",
  17995. "type": "string"
  17996. },
  17997. "contractno": {
  17998. "description": "现货合同编号",
  17999. "type": "string"
  18000. },
  18001. "contracttype": {
  18002. "description": "现货合同类型 - 1:采购 -1:销售",
  18003. "type": "integer"
  18004. },
  18005. "creatorid": {
  18006. "description": "申请人",
  18007. "type": "integer"
  18008. },
  18009. "customeraccountid": {
  18010. "description": "客户资金账户ID",
  18011. "type": "integer"
  18012. },
  18013. "customeruserid": {
  18014. "description": "客户ID",
  18015. "type": "integer"
  18016. },
  18017. "details": {
  18018. "description": "明细",
  18019. "type": "array",
  18020. "items": {
  18021. "$ref": "#/definitions/erms3.SoptContractDetail"
  18022. }
  18023. },
  18024. "orimargin": {
  18025. "description": "初始保证金",
  18026. "type": "number"
  18027. },
  18028. "remark": {
  18029. "description": "备注",
  18030. "type": "string"
  18031. },
  18032. "signdate": {
  18033. "description": "签订日期",
  18034. "type": "string"
  18035. }
  18036. }
  18037. },
  18038. "erms3.AddSpotContractApplyRsp": {
  18039. "type": "object",
  18040. "required": [
  18041. "contractno"
  18042. ],
  18043. "properties": {
  18044. "contractno": {
  18045. "description": "现货合同编号",
  18046. "type": "string"
  18047. },
  18048. "spotcontractid": {
  18049. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  18050. "type": "integer"
  18051. }
  18052. }
  18053. },
  18054. "erms3.AddUserInfoApplyReq": {
  18055. "type": "object",
  18056. "required": [
  18057. "userid"
  18058. ],
  18059. "properties": {
  18060. "accountid": {
  18061. "description": "交易系统帐号Id (加密存储)",
  18062. "type": "integer"
  18063. },
  18064. "areacode": {
  18065. "description": "机构代码",
  18066. "type": "string"
  18067. },
  18068. "areaid": {
  18069. "description": "机构Id",
  18070. "type": "integer"
  18071. },
  18072. "attachment1": {
  18073. "description": "附件1",
  18074. "type": "string"
  18075. },
  18076. "attachment2": {
  18077. "description": "附件2",
  18078. "type": "string"
  18079. },
  18080. "attachment3": {
  18081. "description": "附件3",
  18082. "type": "string"
  18083. },
  18084. "attachment4": {
  18085. "description": "附件4",
  18086. "type": "string"
  18087. },
  18088. "attachment5": {
  18089. "description": "附件5",
  18090. "type": "string"
  18091. },
  18092. "auditedby": {
  18093. "description": "审核人",
  18094. "type": "string"
  18095. },
  18096. "auditime": {
  18097. "description": "审核时间",
  18098. "type": "string"
  18099. },
  18100. "auditsrc": {
  18101. "description": "审核来源 - 1:管理端 2:终端",
  18102. "type": "integer"
  18103. },
  18104. "bankaccount": {
  18105. "description": "银行帐号 (加密存储)",
  18106. "type": "string"
  18107. },
  18108. "bankaccountname": {
  18109. "description": "收款人名称",
  18110. "type": "string"
  18111. },
  18112. "bankcardbackphotourl": {
  18113. "description": "银行卡背面照地址",
  18114. "type": "string"
  18115. },
  18116. "bankcardfrontphotourl": {
  18117. "description": "银行卡正面照地址",
  18118. "type": "string"
  18119. },
  18120. "bankid": {
  18121. "description": "银行编码",
  18122. "type": "string"
  18123. },
  18124. "bankname": {
  18125. "description": "银行名称",
  18126. "type": "string"
  18127. },
  18128. "bankpictureurl": {
  18129. "description": "银行卡正面地址",
  18130. "type": "string"
  18131. },
  18132. "biznature": {
  18133. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18134. "type": "integer"
  18135. },
  18136. "bizscope": {
  18137. "description": "企业经营范围(企业)",
  18138. "type": "string"
  18139. },
  18140. "biztype": {
  18141. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18142. "type": "integer"
  18143. },
  18144. "brokerid": {
  18145. "description": "经纪人ID(加密存储)",
  18146. "type": "string"
  18147. },
  18148. "cardaddress": {
  18149. "description": "证件地址 (加密存储)",
  18150. "type": "string"
  18151. },
  18152. "cardbackphotourl": {
  18153. "description": "背面证件照地址",
  18154. "type": "string"
  18155. },
  18156. "cardfrontphotourl": {
  18157. "description": "正面证件照地址",
  18158. "type": "string"
  18159. },
  18160. "cardnum": {
  18161. "description": "证件号码 (加密存储)",
  18162. "type": "string"
  18163. },
  18164. "cardtype": {
  18165. "description": "证件类型",
  18166. "type": "integer"
  18167. },
  18168. "cityid": {
  18169. "description": "市",
  18170. "type": "integer"
  18171. },
  18172. "company": {
  18173. "description": "公司(个人)",
  18174. "type": "string"
  18175. },
  18176. "contactcardbackphotourl": {
  18177. "description": "联系人证件背面图片地址",
  18178. "type": "string"
  18179. },
  18180. "contactcardfrontphotourl": {
  18181. "description": "联系人证件正面图片地址",
  18182. "type": "string"
  18183. },
  18184. "contactname": {
  18185. "description": "联系人",
  18186. "type": "string"
  18187. },
  18188. "countryid": {
  18189. "description": "国家",
  18190. "type": "integer"
  18191. },
  18192. "createtime": {
  18193. "description": "开户申请时间",
  18194. "type": "string"
  18195. },
  18196. "cusbankid": {
  18197. "description": "签约类型",
  18198. "type": "string"
  18199. },
  18200. "cusbankname": {
  18201. "description": "签约类型名称",
  18202. "type": "string"
  18203. },
  18204. "customername": {
  18205. "description": "客户名称(企业名称)",
  18206. "type": "string"
  18207. },
  18208. "districtid": {
  18209. "description": "地区",
  18210. "type": "integer"
  18211. },
  18212. "email": {
  18213. "description": "Email地址(加密存储)",
  18214. "type": "string"
  18215. },
  18216. "halfbodyphotourl": {
  18217. "description": "半身照地址",
  18218. "type": "string"
  18219. },
  18220. "headurl": {
  18221. "description": "头像地址",
  18222. "type": "string"
  18223. },
  18224. "ipaddress": {
  18225. "description": "IP地址",
  18226. "type": "string"
  18227. },
  18228. "isvalidate": {
  18229. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18230. "type": "string"
  18231. },
  18232. "legalcardbackphotourl": {
  18233. "description": "法人身份证背面照地址",
  18234. "type": "string"
  18235. },
  18236. "legalcardfrontphotourl": {
  18237. "description": "法人身份证正面照地址",
  18238. "type": "string"
  18239. },
  18240. "legalpersonname": {
  18241. "description": "法人姓名(企业)",
  18242. "type": "string"
  18243. },
  18244. "logincode": {
  18245. "description": "登录帐号 (加密存储)",
  18246. "type": "string"
  18247. },
  18248. "memberareaid": {
  18249. "description": "所属会员ID",
  18250. "type": "integer"
  18251. },
  18252. "mobile2": {
  18253. "description": "手机号码[明文-尚志]",
  18254. "type": "string"
  18255. },
  18256. "mobilephone": {
  18257. "description": "手机号码 (加密存储)",
  18258. "type": "string"
  18259. },
  18260. "modifiedby": {
  18261. "description": "修改人帐号",
  18262. "type": "integer"
  18263. },
  18264. "modifiedtime": {
  18265. "description": "修改时间",
  18266. "type": "string"
  18267. },
  18268. "nickname": {
  18269. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18270. "type": "string"
  18271. },
  18272. "openmode": {
  18273. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18274. "type": "integer"
  18275. },
  18276. "otherurl": {
  18277. "description": "其它图片地址[使用分号分隔]",
  18278. "type": "string"
  18279. },
  18280. "postalcode": {
  18281. "description": "邮政编码",
  18282. "type": "string"
  18283. },
  18284. "provinceid": {
  18285. "description": "省",
  18286. "type": "integer"
  18287. },
  18288. "proxystatementurl": {
  18289. "description": "授权委托书",
  18290. "type": "string"
  18291. },
  18292. "qq": {
  18293. "description": "QQ(加密存储",
  18294. "type": "string"
  18295. },
  18296. "referral": {
  18297. "description": "推荐人编码",
  18298. "type": "string"
  18299. },
  18300. "remark": {
  18301. "description": "备注",
  18302. "type": "string"
  18303. },
  18304. "removebeforestatus": {
  18305. "description": "REMOVEBEFORESTATUS",
  18306. "type": "integer"
  18307. },
  18308. "sex": {
  18309. "description": "性别 - 0:女 1:男",
  18310. "type": "integer"
  18311. },
  18312. "signedstatus": {
  18313. "description": "账户一号签签约状态",
  18314. "type": "integer"
  18315. },
  18316. "signpdfurl": {
  18317. "description": "签约pdf文件",
  18318. "type": "string"
  18319. },
  18320. "subbranch": {
  18321. "description": "开户支行",
  18322. "type": "string"
  18323. },
  18324. "taxpayernum": {
  18325. "description": "纳税人识别号",
  18326. "type": "string"
  18327. },
  18328. "telphone": {
  18329. "description": "联系电话(加密存储)",
  18330. "type": "string"
  18331. },
  18332. "userid": {
  18333. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18334. "type": "integer"
  18335. },
  18336. "userinfotype": {
  18337. "description": "用户信息类型 - 1:个人 2:企业",
  18338. "type": "integer"
  18339. },
  18340. "username": {
  18341. "description": "用户姓名",
  18342. "type": "string"
  18343. },
  18344. "userstate": {
  18345. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18346. "type": "integer"
  18347. },
  18348. "usertype": {
  18349. "description": "用户类型 - 1:投资者 2:机构",
  18350. "type": "integer"
  18351. },
  18352. "videourl": {
  18353. "description": "视频地址",
  18354. "type": "string"
  18355. },
  18356. "wechat": {
  18357. "description": "微信号 (加密存储)",
  18358. "type": "string"
  18359. }
  18360. }
  18361. },
  18362. "erms3.CustomerInfo": {
  18363. "type": "object",
  18364. "required": [
  18365. "userid"
  18366. ],
  18367. "properties": {
  18368. "accountids": {
  18369. "description": "资金账户ID列表",
  18370. "type": "array",
  18371. "items": {
  18372. "type": "integer"
  18373. }
  18374. },
  18375. "customername": {
  18376. "description": "名称(企业名称)",
  18377. "type": "string"
  18378. },
  18379. "mobile": {
  18380. "description": "手机号码",
  18381. "type": "string"
  18382. },
  18383. "userid": {
  18384. "description": "用户ID",
  18385. "type": "integer"
  18386. }
  18387. }
  18388. },
  18389. "erms3.ModifyUserInfoApplyReq": {
  18390. "type": "object",
  18391. "required": [
  18392. "userid"
  18393. ],
  18394. "properties": {
  18395. "accountid": {
  18396. "description": "交易系统帐号Id (加密存储)",
  18397. "type": "integer"
  18398. },
  18399. "areacode": {
  18400. "description": "机构代码",
  18401. "type": "string"
  18402. },
  18403. "areaid": {
  18404. "description": "机构Id",
  18405. "type": "integer"
  18406. },
  18407. "attachment1": {
  18408. "description": "附件1",
  18409. "type": "string"
  18410. },
  18411. "attachment2": {
  18412. "description": "附件2",
  18413. "type": "string"
  18414. },
  18415. "attachment3": {
  18416. "description": "附件3",
  18417. "type": "string"
  18418. },
  18419. "attachment4": {
  18420. "description": "附件4",
  18421. "type": "string"
  18422. },
  18423. "attachment5": {
  18424. "description": "附件5",
  18425. "type": "string"
  18426. },
  18427. "auditedby": {
  18428. "description": "审核人",
  18429. "type": "string"
  18430. },
  18431. "auditime": {
  18432. "description": "审核时间",
  18433. "type": "string"
  18434. },
  18435. "auditsrc": {
  18436. "description": "审核来源 - 1:管理端 2:终端",
  18437. "type": "integer"
  18438. },
  18439. "bankaccount": {
  18440. "description": "银行帐号 (加密存储)",
  18441. "type": "string"
  18442. },
  18443. "bankaccountname": {
  18444. "description": "收款人名称",
  18445. "type": "string"
  18446. },
  18447. "bankcardbackphotourl": {
  18448. "description": "银行卡背面照地址",
  18449. "type": "string"
  18450. },
  18451. "bankcardfrontphotourl": {
  18452. "description": "银行卡正面照地址",
  18453. "type": "string"
  18454. },
  18455. "bankid": {
  18456. "description": "银行编码",
  18457. "type": "string"
  18458. },
  18459. "bankname": {
  18460. "description": "银行名称",
  18461. "type": "string"
  18462. },
  18463. "bankpictureurl": {
  18464. "description": "银行卡正面地址",
  18465. "type": "string"
  18466. },
  18467. "biznature": {
  18468. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18469. "type": "integer"
  18470. },
  18471. "bizscope": {
  18472. "description": "企业经营范围(企业)",
  18473. "type": "string"
  18474. },
  18475. "biztype": {
  18476. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18477. "type": "integer"
  18478. },
  18479. "brokerid": {
  18480. "description": "经纪人ID(加密存储)",
  18481. "type": "string"
  18482. },
  18483. "cardaddress": {
  18484. "description": "证件地址 (加密存储)",
  18485. "type": "string"
  18486. },
  18487. "cardbackphotourl": {
  18488. "description": "背面证件照地址",
  18489. "type": "string"
  18490. },
  18491. "cardfrontphotourl": {
  18492. "description": "正面证件照地址",
  18493. "type": "string"
  18494. },
  18495. "cardnum": {
  18496. "description": "证件号码 (加密存储)",
  18497. "type": "string"
  18498. },
  18499. "cardtype": {
  18500. "description": "证件类型",
  18501. "type": "integer"
  18502. },
  18503. "cityid": {
  18504. "description": "市",
  18505. "type": "integer"
  18506. },
  18507. "company": {
  18508. "description": "公司(个人)",
  18509. "type": "string"
  18510. },
  18511. "contactcardbackphotourl": {
  18512. "description": "联系人证件背面图片地址",
  18513. "type": "string"
  18514. },
  18515. "contactcardfrontphotourl": {
  18516. "description": "联系人证件正面图片地址",
  18517. "type": "string"
  18518. },
  18519. "contactname": {
  18520. "description": "联系人",
  18521. "type": "string"
  18522. },
  18523. "countryid": {
  18524. "description": "国家",
  18525. "type": "integer"
  18526. },
  18527. "createtime": {
  18528. "description": "开户申请时间",
  18529. "type": "string"
  18530. },
  18531. "cusbankid": {
  18532. "description": "签约类型",
  18533. "type": "string"
  18534. },
  18535. "cusbankname": {
  18536. "description": "签约类型名称",
  18537. "type": "string"
  18538. },
  18539. "customername": {
  18540. "description": "客户名称(企业名称)",
  18541. "type": "string"
  18542. },
  18543. "districtid": {
  18544. "description": "地区",
  18545. "type": "integer"
  18546. },
  18547. "email": {
  18548. "description": "Email地址(加密存储)",
  18549. "type": "string"
  18550. },
  18551. "halfbodyphotourl": {
  18552. "description": "半身照地址",
  18553. "type": "string"
  18554. },
  18555. "headurl": {
  18556. "description": "头像地址",
  18557. "type": "string"
  18558. },
  18559. "ipaddress": {
  18560. "description": "IP地址",
  18561. "type": "string"
  18562. },
  18563. "isvalidate": {
  18564. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18565. "type": "string"
  18566. },
  18567. "legalcardbackphotourl": {
  18568. "description": "法人身份证背面照地址",
  18569. "type": "string"
  18570. },
  18571. "legalcardfrontphotourl": {
  18572. "description": "法人身份证正面照地址",
  18573. "type": "string"
  18574. },
  18575. "legalpersonname": {
  18576. "description": "法人姓名(企业)",
  18577. "type": "string"
  18578. },
  18579. "logincode": {
  18580. "description": "登录帐号 (加密存储)",
  18581. "type": "string"
  18582. },
  18583. "memberareaid": {
  18584. "description": "所属会员ID",
  18585. "type": "integer"
  18586. },
  18587. "mobile2": {
  18588. "description": "手机号码[明文-尚志]",
  18589. "type": "string"
  18590. },
  18591. "mobilephone": {
  18592. "description": "手机号码 (加密存储)",
  18593. "type": "string"
  18594. },
  18595. "modifiedby": {
  18596. "description": "修改人帐号",
  18597. "type": "integer"
  18598. },
  18599. "modifiedtime": {
  18600. "description": "修改时间",
  18601. "type": "string"
  18602. },
  18603. "nickname": {
  18604. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18605. "type": "string"
  18606. },
  18607. "openmode": {
  18608. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18609. "type": "integer"
  18610. },
  18611. "otherurl": {
  18612. "description": "其它图片地址[使用分号分隔]",
  18613. "type": "string"
  18614. },
  18615. "postalcode": {
  18616. "description": "邮政编码",
  18617. "type": "string"
  18618. },
  18619. "provinceid": {
  18620. "description": "省",
  18621. "type": "integer"
  18622. },
  18623. "proxystatementurl": {
  18624. "description": "授权委托书",
  18625. "type": "string"
  18626. },
  18627. "qq": {
  18628. "description": "QQ(加密存储",
  18629. "type": "string"
  18630. },
  18631. "referral": {
  18632. "description": "推荐人编码",
  18633. "type": "string"
  18634. },
  18635. "remark": {
  18636. "description": "备注",
  18637. "type": "string"
  18638. },
  18639. "removebeforestatus": {
  18640. "description": "REMOVEBEFORESTATUS",
  18641. "type": "integer"
  18642. },
  18643. "sex": {
  18644. "description": "性别 - 0:女 1:男",
  18645. "type": "integer"
  18646. },
  18647. "signedstatus": {
  18648. "description": "账户一号签签约状态",
  18649. "type": "integer"
  18650. },
  18651. "signpdfurl": {
  18652. "description": "签约pdf文件",
  18653. "type": "string"
  18654. },
  18655. "subbranch": {
  18656. "description": "开户支行",
  18657. "type": "string"
  18658. },
  18659. "taxpayernum": {
  18660. "description": "纳税人识别号",
  18661. "type": "string"
  18662. },
  18663. "telphone": {
  18664. "description": "联系电话(加密存储)",
  18665. "type": "string"
  18666. },
  18667. "userid": {
  18668. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18669. "type": "integer"
  18670. },
  18671. "userinfotype": {
  18672. "description": "用户信息类型 - 1:个人 2:企业",
  18673. "type": "integer"
  18674. },
  18675. "username": {
  18676. "description": "用户姓名",
  18677. "type": "string"
  18678. },
  18679. "userstate": {
  18680. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18681. "type": "integer"
  18682. },
  18683. "usertype": {
  18684. "description": "用户类型 - 1:投资者 2:机构",
  18685. "type": "integer"
  18686. },
  18687. "videourl": {
  18688. "description": "视频地址",
  18689. "type": "string"
  18690. },
  18691. "wechat": {
  18692. "description": "微信号 (加密存储)",
  18693. "type": "string"
  18694. }
  18695. }
  18696. },
  18697. "erms3.QryAuditContractRsp": {
  18698. "type": "object",
  18699. "required": [
  18700. "matchcustomername",
  18701. "spotcontractid"
  18702. ],
  18703. "properties": {
  18704. "accountid": {
  18705. "description": "交易员ID",
  18706. "type": "string"
  18707. },
  18708. "applystatus": {
  18709. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18710. "type": "integer"
  18711. },
  18712. "curdeliveryqty": {
  18713. "description": "未交收量",
  18714. "type": "integer"
  18715. },
  18716. "customername": {
  18717. "description": "采购方ID",
  18718. "type": "string"
  18719. },
  18720. "deliverygoodsid": {
  18721. "description": "品种ID",
  18722. "type": "string"
  18723. },
  18724. "deliveryqty": {
  18725. "description": "交收量",
  18726. "type": "integer"
  18727. },
  18728. "enumdicname": {
  18729. "description": "单位名称",
  18730. "type": "string"
  18731. },
  18732. "matchaccountid": {
  18733. "description": "业务员ID",
  18734. "type": "string"
  18735. },
  18736. "matchcustomername": {
  18737. "description": "销售方ID",
  18738. "type": "string"
  18739. },
  18740. "pricedqty": {
  18741. "description": "定价量",
  18742. "type": "number"
  18743. },
  18744. "signdate": {
  18745. "description": "签订日期",
  18746. "type": "string"
  18747. },
  18748. "spotcontractid": {
  18749. "description": "合同ID",
  18750. "type": "string"
  18751. },
  18752. "totaldqty": {
  18753. "description": "合同量",
  18754. "type": "number"
  18755. },
  18756. "unpricedqty": {
  18757. "description": "未定价量",
  18758. "type": "number"
  18759. },
  18760. "wrstandardname": {
  18761. "description": "商品名称",
  18762. "type": "string"
  18763. }
  18764. }
  18765. },
  18766. "erms3.QryPendingBizRsp": {
  18767. "type": "object",
  18768. "properties": {
  18769. "accountid": {
  18770. "description": "现货账户",
  18771. "type": "string"
  18772. },
  18773. "areaname": {
  18774. "description": "所属部门",
  18775. "type": "string"
  18776. },
  18777. "bizid": {
  18778. "description": "业务ID",
  18779. "type": "string"
  18780. },
  18781. "bizname": {
  18782. "description": "业务名称",
  18783. "type": "string"
  18784. },
  18785. "status": {
  18786. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18787. "type": "integer"
  18788. },
  18789. "type": {
  18790. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18791. "type": "integer"
  18792. }
  18793. }
  18794. },
  18795. "erms3.QueryBusinessInfoRsp": {
  18796. "type": "object",
  18797. "properties": {
  18798. "businessid": {
  18799. "description": "业务ID.",
  18800. "type": "integer"
  18801. },
  18802. "buyamount": {
  18803. "description": "采购额.",
  18804. "type": "number"
  18805. },
  18806. "buyqty": {
  18807. "description": "采购量.",
  18808. "type": "string"
  18809. },
  18810. "futurepl": {
  18811. "description": "期货盈亏.",
  18812. "type": "number"
  18813. },
  18814. "futureqty": {
  18815. "description": "期货敞口.",
  18816. "type": "string"
  18817. },
  18818. "goodsid": {
  18819. "description": "商品名称/商品代码.",
  18820. "type": "string"
  18821. },
  18822. "hedgingqty": {
  18823. "description": "套保量.",
  18824. "type": "string"
  18825. },
  18826. "sellamount": {
  18827. "description": "销售额.",
  18828. "type": "number"
  18829. },
  18830. "sellqty": {
  18831. "description": "销售量.",
  18832. "type": "string"
  18833. },
  18834. "spotmarketvalue": {
  18835. "description": "现货市值.",
  18836. "type": "number"
  18837. },
  18838. "spotpl": {
  18839. "description": "浮动权益.",
  18840. "type": "number"
  18841. },
  18842. "spotqty": {
  18843. "description": "现货量.",
  18844. "type": "string"
  18845. },
  18846. "statu": {
  18847. "description": "状态,0-未结束 1-已结束.",
  18848. "type": "integer"
  18849. },
  18850. "totalpl": {
  18851. "description": "总盈亏.",
  18852. "type": "number"
  18853. },
  18854. "totalqty": {
  18855. "description": "总敞口.",
  18856. "type": "string"
  18857. },
  18858. "type": {
  18859. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  18860. "type": "integer"
  18861. }
  18862. }
  18863. },
  18864. "erms3.QuerySpotContractAppleFormRsp": {
  18865. "type": "object",
  18866. "properties": {
  18867. "goodses": {
  18868. "description": "合约列表",
  18869. "type": "array",
  18870. "items": {
  18871. "$ref": "#/definitions/models.GoodsIDAndName"
  18872. }
  18873. },
  18874. "oppositeusers": {
  18875. "description": "对方账号列表",
  18876. "type": "array",
  18877. "items": {
  18878. "$ref": "#/definitions/erms3.CustomerInfo"
  18879. }
  18880. },
  18881. "ouruser": {
  18882. "description": "我方账号",
  18883. "$ref": "#/definitions/erms3.CustomerInfo"
  18884. },
  18885. "warehouseinfos": {
  18886. "description": "仓库信息列表",
  18887. "type": "array",
  18888. "items": {
  18889. "$ref": "#/definitions/models.Warehouseinfo"
  18890. }
  18891. },
  18892. "wrstandards": {
  18893. "description": "仓单标准列表",
  18894. "type": "array",
  18895. "items": {
  18896. "$ref": "#/definitions/models.WRStandardInfo"
  18897. }
  18898. }
  18899. }
  18900. },
  18901. "erms3.QuerySpotContractInfoRsp": {
  18902. "type": "object",
  18903. "properties": {
  18904. "accountid": {
  18905. "description": "表示交易员ID.",
  18906. "type": "integer"
  18907. },
  18908. "curdeliveryqty": {
  18909. "description": "表示未交收量.",
  18910. "type": "number"
  18911. },
  18912. "customername": {
  18913. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18914. "type": "string"
  18915. },
  18916. "deliverygoodsid": {
  18917. "description": "表示品种ID.",
  18918. "type": "string"
  18919. },
  18920. "deliveryqty": {
  18921. "description": "表示交收量.",
  18922. "type": "number"
  18923. },
  18924. "matchaccountid": {
  18925. "description": "表示业务员ID.",
  18926. "type": "integer"
  18927. },
  18928. "matchcustomername": {
  18929. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18930. "type": "string"
  18931. },
  18932. "priceqty": {
  18933. "description": "表示定价量.",
  18934. "type": "number"
  18935. },
  18936. "relatedbizid": {
  18937. "description": "表示业务ID.",
  18938. "type": "string"
  18939. },
  18940. "signdate": {
  18941. "description": "表示签订日期.",
  18942. "type": "string"
  18943. },
  18944. "spotcontractid": {
  18945. "description": "合同ID",
  18946. "type": "string"
  18947. },
  18948. "status": {
  18949. "description": "表示状态,0-履约中 1-已完成.",
  18950. "type": "integer"
  18951. },
  18952. "totalqty": {
  18953. "description": "表示合同量.",
  18954. "type": "number"
  18955. },
  18956. "unpricedqty": {
  18957. "description": "表示未定价量.",
  18958. "type": "number"
  18959. },
  18960. "wrstandardname": {
  18961. "description": "表示商品ID.",
  18962. "type": "string"
  18963. }
  18964. }
  18965. },
  18966. "erms3.QueryUserInfoAppliesRsp": {
  18967. "type": "object",
  18968. "required": [
  18969. "userid"
  18970. ],
  18971. "properties": {
  18972. "biznature": {
  18973. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18974. "type": "integer"
  18975. },
  18976. "contactname": {
  18977. "description": "联系人",
  18978. "type": "string"
  18979. },
  18980. "createtime": {
  18981. "description": "开户申请时间",
  18982. "type": "string"
  18983. },
  18984. "userid": {
  18985. "description": "用户ID(自增ID)",
  18986. "type": "integer"
  18987. },
  18988. "userinfotype": {
  18989. "description": "用户信息类型 - 1:个人 2:企业",
  18990. "type": "integer"
  18991. },
  18992. "username": {
  18993. "description": "用户姓名",
  18994. "type": "string"
  18995. },
  18996. "userstate": {
  18997. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18998. "type": "integer"
  18999. }
  19000. }
  19001. },
  19002. "erms3.QueryUserInfosRsp": {
  19003. "type": "object",
  19004. "required": [
  19005. "userid"
  19006. ],
  19007. "properties": {
  19008. "biznature": {
  19009. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19010. "type": "integer"
  19011. },
  19012. "contactname": {
  19013. "description": "联系人",
  19014. "type": "string"
  19015. },
  19016. "customername": {
  19017. "description": "客户名称(企业名称)",
  19018. "type": "string"
  19019. },
  19020. "userid": {
  19021. "description": "用户ID",
  19022. "type": "integer"
  19023. },
  19024. "userinfotype": {
  19025. "description": "用户信息类型 - 1:个人 2:企业",
  19026. "type": "integer"
  19027. },
  19028. "userstatus": {
  19029. "description": "用户状态 - 1:正常 2:注销",
  19030. "type": "integer"
  19031. }
  19032. }
  19033. },
  19034. "erms3.SoptContractDetail": {
  19035. "type": "object",
  19036. "required": [
  19037. "deliverygoodsid",
  19038. "producttype",
  19039. "unitname",
  19040. "warehouseid",
  19041. "wrstandardid",
  19042. "wrstandardname"
  19043. ],
  19044. "properties": {
  19045. "deliverygoodsdesc": {
  19046. "description": "现货品种说明",
  19047. "type": "string"
  19048. },
  19049. "deliverygoodsid": {
  19050. "description": "现货品种ID",
  19051. "type": "integer"
  19052. },
  19053. "deliverygoodsname": {
  19054. "description": "现货品种名称",
  19055. "type": "string"
  19056. },
  19057. "pointdesc": {
  19058. "description": "点价描述",
  19059. "type": "string"
  19060. },
  19061. "producttype": {
  19062. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  19063. "type": "integer"
  19064. },
  19065. "producttypename": {
  19066. "description": "产品类型名称",
  19067. "type": "string"
  19068. },
  19069. "spotPointOrderVoList": {
  19070. "description": "点价列表",
  19071. "type": "array",
  19072. "items": {
  19073. "$ref": "#/definitions/erms3.SpotPointOrder"
  19074. }
  19075. },
  19076. "spotPriceOrderList": {
  19077. "description": "定价列表",
  19078. "type": "array",
  19079. "items": {
  19080. "$ref": "#/definitions/erms3.SpotPriceOrder"
  19081. }
  19082. },
  19083. "unitname": {
  19084. "description": "单位名称",
  19085. "type": "string"
  19086. },
  19087. "warehouseid": {
  19088. "description": "仓库ID",
  19089. "type": "integer"
  19090. },
  19091. "warehousename": {
  19092. "description": "仓库名称",
  19093. "type": "string"
  19094. },
  19095. "wrstandardid": {
  19096. "description": "交易标的ID",
  19097. "type": "integer"
  19098. },
  19099. "wrstandardname": {
  19100. "description": "交易标的名称",
  19101. "type": "string"
  19102. }
  19103. }
  19104. },
  19105. "erms3.SpotPointOrder": {
  19106. "type": "object",
  19107. "required": [
  19108. "basic",
  19109. "goodsid",
  19110. "qty"
  19111. ],
  19112. "properties": {
  19113. "basic": {
  19114. "description": "基差",
  19115. "type": "number"
  19116. },
  19117. "deliveryenddate": {
  19118. "description": "交收结束日期",
  19119. "type": "string"
  19120. },
  19121. "deliverystartdate": {
  19122. "description": "交收开始日期",
  19123. "type": "string"
  19124. },
  19125. "enddate": {
  19126. "description": "点价结束日期",
  19127. "type": "string"
  19128. },
  19129. "goodsid": {
  19130. "description": "商品ID",
  19131. "type": "integer"
  19132. },
  19133. "goodsname": {
  19134. "description": "商品名称",
  19135. "type": "string"
  19136. },
  19137. "qty": {
  19138. "description": "数量",
  19139. "type": "number"
  19140. },
  19141. "startdate": {
  19142. "description": "点价开始日期",
  19143. "type": "string"
  19144. }
  19145. }
  19146. },
  19147. "erms3.SpotPriceOrder": {
  19148. "type": "object",
  19149. "required": [
  19150. "amount",
  19151. "price",
  19152. "qty"
  19153. ],
  19154. "properties": {
  19155. "amount": {
  19156. "description": "金额",
  19157. "type": "number"
  19158. },
  19159. "deliveryenddate": {
  19160. "description": "交收结束日期",
  19161. "type": "string"
  19162. },
  19163. "deliverystartdate": {
  19164. "description": "交收开始日期",
  19165. "type": "string"
  19166. },
  19167. "price": {
  19168. "description": "价格",
  19169. "type": "number"
  19170. },
  19171. "qty": {
  19172. "description": "数量",
  19173. "type": "number"
  19174. }
  19175. }
  19176. },
  19177. "hsby.GetHsbyMyCountRsp": {
  19178. "type": "object",
  19179. "properties": {
  19180. "myCouponCount": {
  19181. "description": "我的优惠卷数量",
  19182. "type": "integer"
  19183. },
  19184. "myOrderDetailListingCount": {
  19185. "description": "我的订单求购中数量",
  19186. "type": "integer"
  19187. },
  19188. "myOrderDetailPreCount": {
  19189. "description": "我的订单抢购中数量",
  19190. "type": "integer"
  19191. },
  19192. "myPackageUnReceiveCount": {
  19193. "description": "我的包裹待收货数量",
  19194. "type": "integer"
  19195. },
  19196. "myPackageUnSendCount": {
  19197. "description": "我的包裹待发货数量",
  19198. "type": "integer"
  19199. },
  19200. "myPayOrderCount": {
  19201. "description": "我的订单待付款数量",
  19202. "type": "integer"
  19203. }
  19204. }
  19205. },
  19206. "hsby.QueryProvincesAndCitiesRsp": {
  19207. "type": "object",
  19208. "properties": {
  19209. "cities": {
  19210. "description": "市",
  19211. "type": "array",
  19212. "items": {
  19213. "$ref": "#/definitions/models.Division"
  19214. }
  19215. },
  19216. "province": {
  19217. "description": "省",
  19218. "$ref": "#/definitions/models.Division"
  19219. }
  19220. }
  19221. },
  19222. "models.Arearole": {
  19223. "type": "object",
  19224. "required": [
  19225. "roletype",
  19226. "userid"
  19227. ],
  19228. "properties": {
  19229. "createtime": {
  19230. "description": "创建时间",
  19231. "type": "string"
  19232. },
  19233. "creatorid": {
  19234. "description": "创建人ID",
  19235. "type": "integer"
  19236. },
  19237. "fromuserid": {
  19238. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  19239. "type": "integer"
  19240. },
  19241. "isreturnscore": {
  19242. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  19243. "type": "integer"
  19244. },
  19245. "modifierid": {
  19246. "description": "修改人ID",
  19247. "type": "integer"
  19248. },
  19249. "modifytime": {
  19250. "description": "修改时间",
  19251. "type": "string"
  19252. },
  19253. "orgtype": {
  19254. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  19255. "type": "integer"
  19256. },
  19257. "outuserid": {
  19258. "description": "外部账户[场外期权做市商]",
  19259. "type": "string"
  19260. },
  19261. "parentuserid": {
  19262. "description": "上级组织机构(组织机构)",
  19263. "type": "integer"
  19264. },
  19265. "roletype": {
  19266. "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:门店",
  19267. "type": "integer"
  19268. },
  19269. "rootuserid": {
  19270. "description": "顶级组织机构用户ID(组织机构)",
  19271. "type": "integer"
  19272. },
  19273. "shoppassword": {
  19274. "description": "商城店铺登陆密码(商城店铺角色使用)",
  19275. "type": "string"
  19276. },
  19277. "sublevelpath": {
  19278. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  19279. "type": "string"
  19280. },
  19281. "suborgtype": {
  19282. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  19283. "type": "integer"
  19284. },
  19285. "tradeaccountid": {
  19286. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  19287. "type": "integer"
  19288. },
  19289. "transurl": {
  19290. "description": "物流地址(物流机构)",
  19291. "type": "string"
  19292. },
  19293. "userid": {
  19294. "description": "机构用户ID其他做市关系,都设置为 1",
  19295. "type": "integer"
  19296. }
  19297. }
  19298. },
  19299. "models.Clientfixedadconfig": {
  19300. "type": "object",
  19301. "required": [
  19302. "adsort",
  19303. "adtype"
  19304. ],
  19305. "properties": {
  19306. "adsort": {
  19307. "description": "排序",
  19308. "type": "integer"
  19309. },
  19310. "adtype": {
  19311. "description": "广告位类型 - 1:新品抢购(HSBY)",
  19312. "type": "integer"
  19313. },
  19314. "areauserid": {
  19315. "description": "所属机构ID",
  19316. "type": "integer"
  19317. },
  19318. "createdate": {
  19319. "description": "创建时间",
  19320. "type": "string"
  19321. },
  19322. "creatorid": {
  19323. "description": "创建人",
  19324. "type": "integer"
  19325. },
  19326. "imagepath": {
  19327. "description": "图片",
  19328. "type": "string"
  19329. },
  19330. "isshow": {
  19331. "description": "是否展示 - 0:不展示 1:展示",
  19332. "type": "integer"
  19333. },
  19334. "modifierid": {
  19335. "description": "操作人",
  19336. "type": "integer"
  19337. },
  19338. "recsize": {
  19339. "description": "推荐尺寸",
  19340. "type": "string"
  19341. },
  19342. "title": {
  19343. "description": "标题",
  19344. "type": "string"
  19345. },
  19346. "updatedate": {
  19347. "description": "更新时间",
  19348. "type": "string"
  19349. },
  19350. "urlcontent": {
  19351. "description": "链接(地址或商品ID)",
  19352. "type": "string"
  19353. },
  19354. "urltype": {
  19355. "description": "链接类型 - 1:直接地址 2:商品ID",
  19356. "type": "integer"
  19357. }
  19358. }
  19359. },
  19360. "models.Division": {
  19361. "type": "object",
  19362. "required": [
  19363. "autoid",
  19364. "divisioncode"
  19365. ],
  19366. "properties": {
  19367. "autoid": {
  19368. "description": "自增ID",
  19369. "type": "integer"
  19370. },
  19371. "divisioncode": {
  19372. "description": "行政代码",
  19373. "type": "string"
  19374. },
  19375. "divisionlevel": {
  19376. "description": "行政级别",
  19377. "type": "string"
  19378. },
  19379. "divisionname": {
  19380. "description": "行政名称",
  19381. "type": "string"
  19382. },
  19383. "modifierid": {
  19384. "description": "修改人",
  19385. "type": "integer"
  19386. },
  19387. "modifytime": {
  19388. "description": "修改时间",
  19389. "type": "string"
  19390. },
  19391. "parentcode": {
  19392. "description": "上级行政代码",
  19393. "type": "string"
  19394. },
  19395. "pathname": {
  19396. "description": "路径名称",
  19397. "type": "string"
  19398. },
  19399. "postcode": {
  19400. "description": "邮政编码",
  19401. "type": "string"
  19402. },
  19403. "separablename": {
  19404. "description": "可拆分的全称",
  19405. "type": "string"
  19406. },
  19407. "shortcode": {
  19408. "description": "地区简码",
  19409. "type": "string"
  19410. }
  19411. }
  19412. },
  19413. "models.Enumdicitem": {
  19414. "type": "object",
  19415. "required": [
  19416. "autoid",
  19417. "enumdiccode",
  19418. "enumdicid",
  19419. "enumitemname"
  19420. ],
  19421. "properties": {
  19422. "autoid": {
  19423. "description": "自增ID",
  19424. "type": "integer"
  19425. },
  19426. "bankmappedvalue": {
  19427. "description": "银行服务对应值",
  19428. "type": "string"
  19429. },
  19430. "enumdiccode": {
  19431. "description": "所属枚举代码",
  19432. "type": "string"
  19433. },
  19434. "enumdicid": {
  19435. "description": "所属枚举ID",
  19436. "type": "integer"
  19437. },
  19438. "enumdicname": {
  19439. "description": "枚举项名称",
  19440. "type": "string"
  19441. },
  19442. "enumitemname": {
  19443. "description": "枚举项值",
  19444. "type": "integer"
  19445. },
  19446. "enumitemstatus": {
  19447. "description": "枚举项状态 - 1.启用 2.不启用",
  19448. "type": "integer"
  19449. },
  19450. "enumitemvalue": {
  19451. "description": "通用值 - [币种通用简写]",
  19452. "type": "string"
  19453. },
  19454. "param1": {
  19455. "description": "参数1[币种:币种小数位]",
  19456. "type": "string"
  19457. },
  19458. "param2": {
  19459. "description": "参数1[币种:币种显示单位]",
  19460. "type": "string"
  19461. },
  19462. "remark": {
  19463. "description": "备注",
  19464. "type": "string"
  19465. }
  19466. }
  19467. },
  19468. "models.Ermcp3AreaSpot": {
  19469. "type": "object",
  19470. "properties": {
  19471. "areauserid": {
  19472. "description": "所属机构",
  19473. "type": "integer"
  19474. },
  19475. "convertratio": {
  19476. "description": "套保系数",
  19477. "type": "number"
  19478. },
  19479. "decreaseqty": {
  19480. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19481. "type": "number"
  19482. },
  19483. "enumdicname": {
  19484. "description": "单位名称",
  19485. "type": "string"
  19486. },
  19487. "increaseqty": {
  19488. "description": "增加数量=销售计划数量+采购已定价数量",
  19489. "type": "number"
  19490. },
  19491. "oritoalspotqty": {
  19492. "description": "昨日数量",
  19493. "type": "number"
  19494. },
  19495. "totalspotqty": {
  19496. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19497. "type": "number"
  19498. },
  19499. "unitid": {
  19500. "description": "现货商品单位id",
  19501. "type": "integer"
  19502. },
  19503. "updatetime": {
  19504. "description": "更新时间",
  19505. "type": "string"
  19506. },
  19507. "wrstandardcode": {
  19508. "description": "现货商品代码",
  19509. "type": "string"
  19510. },
  19511. "wrstandardid": {
  19512. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19513. "type": "integer"
  19514. },
  19515. "wrstandardname": {
  19516. "description": "现货商品名称",
  19517. "type": "string"
  19518. }
  19519. }
  19520. },
  19521. "models.Ermcp3AreaSpotDetail": {
  19522. "type": "object",
  19523. "properties": {
  19524. "contracttype": {
  19525. "description": "合同类型 1-采购 -1-销售",
  19526. "type": "integer"
  19527. },
  19528. "createtime": {
  19529. "description": "创建时间",
  19530. "type": "string"
  19531. },
  19532. "enumdicname": {
  19533. "description": "现货商品单位名称",
  19534. "type": "string"
  19535. },
  19536. "logtype": {
  19537. "description": "记录类型 1-套保 2-现货合同",
  19538. "type": "integer"
  19539. },
  19540. "qty": {
  19541. "description": "数量",
  19542. "type": "number"
  19543. },
  19544. "recordname": {
  19545. "description": "类型名称",
  19546. "type": "string"
  19547. },
  19548. "relatedid": {
  19549. "description": "套保计划ID/现货合同ID",
  19550. "type": "string"
  19551. },
  19552. "relatedno": {
  19553. "description": "编号",
  19554. "type": "string"
  19555. },
  19556. "strtime": {
  19557. "description": "时间",
  19558. "type": "string"
  19559. },
  19560. "wrstandardcode": {
  19561. "description": "现货商品代码",
  19562. "type": "string"
  19563. },
  19564. "wrstandardid": {
  19565. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19566. "type": "integer"
  19567. },
  19568. "wrstandardname": {
  19569. "description": "现货商品名称",
  19570. "type": "string"
  19571. }
  19572. }
  19573. },
  19574. "models.Ermcp3AreaSpotPLReport": {
  19575. "type": "object",
  19576. "properties": {
  19577. "accountid": {
  19578. "description": "期货账户ID (作废, 默认为0)",
  19579. "type": "integer"
  19580. },
  19581. "accountname": {
  19582. "description": "机构名称",
  19583. "type": "string"
  19584. },
  19585. "actualpl": {
  19586. "description": "现货损益",
  19587. "type": "number"
  19588. },
  19589. "areauserid": {
  19590. "description": "所属机构\\交易用户ID",
  19591. "type": "integer"
  19592. },
  19593. "begindate": {
  19594. "description": "开始交易日",
  19595. "type": "string"
  19596. },
  19597. "biztype": {
  19598. "description": "业务类型 - 1:套保 2:套利",
  19599. "type": "integer"
  19600. },
  19601. "brandname": {
  19602. "description": "品牌名称",
  19603. "type": "string"
  19604. },
  19605. "curamount": {
  19606. "description": "期末额",
  19607. "type": "number"
  19608. },
  19609. "curaverageprice": {
  19610. "description": "期末均价",
  19611. "type": "number"
  19612. },
  19613. "curbuyamount": {
  19614. "description": "期末采购总额",
  19615. "type": "number"
  19616. },
  19617. "curbuyqty": {
  19618. "description": "期末采购总量",
  19619. "type": "number"
  19620. },
  19621. "curmarketvalue": {
  19622. "description": "参考市值(期末市值)",
  19623. "type": "number"
  19624. },
  19625. "curqty": {
  19626. "description": "期末量",
  19627. "type": "number"
  19628. },
  19629. "currencyid": {
  19630. "description": "结算币种ID【原值】",
  19631. "type": "integer"
  19632. },
  19633. "currencyname": {
  19634. "description": "币种名称",
  19635. "type": "string"
  19636. },
  19637. "cursellamount": {
  19638. "description": "期末销售总额",
  19639. "type": "number"
  19640. },
  19641. "cursellqty": {
  19642. "description": "期末销售总量",
  19643. "type": "number"
  19644. },
  19645. "curspotprice": {
  19646. "description": "参考市价(最新价)",
  19647. "type": "number"
  19648. },
  19649. "cycletime": {
  19650. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19651. "type": "string"
  19652. },
  19653. "cycletype": {
  19654. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19655. "type": "integer"
  19656. },
  19657. "deliverygoodscode": {
  19658. "description": "现货商品代码",
  19659. "type": "string"
  19660. },
  19661. "deliverygoodsid": {
  19662. "description": "现货品种ID",
  19663. "type": "integer"
  19664. },
  19665. "deliverygoodsname": {
  19666. "description": "现货商品名称",
  19667. "type": "string"
  19668. },
  19669. "enddate": {
  19670. "description": "结束交易日",
  19671. "type": "string"
  19672. },
  19673. "enumdicname": {
  19674. "description": "现货商品单位名称",
  19675. "type": "string"
  19676. },
  19677. "floatpl": {
  19678. "description": "浮动损益",
  19679. "type": "number"
  19680. },
  19681. "goodsunitid": {
  19682. "description": "现货商品单位id",
  19683. "type": "integer"
  19684. },
  19685. "oriamount": {
  19686. "description": "期初额",
  19687. "type": "number"
  19688. },
  19689. "oriaverageprice": {
  19690. "description": "期初均价",
  19691. "type": "number"
  19692. },
  19693. "oribuyamount": {
  19694. "description": "期初采购总额",
  19695. "type": "number"
  19696. },
  19697. "oribuyqty": {
  19698. "description": "期初采购总量",
  19699. "type": "number"
  19700. },
  19701. "oriqty": {
  19702. "description": "期初量",
  19703. "type": "number"
  19704. },
  19705. "orisellamount": {
  19706. "description": "期初销售总额",
  19707. "type": "number"
  19708. },
  19709. "orisellqty": {
  19710. "description": "期初销售总量",
  19711. "type": "number"
  19712. },
  19713. "reckondate": {
  19714. "description": "日照时期(yyyyMMdd)",
  19715. "type": "string"
  19716. },
  19717. "spotgoodsbrandid": {
  19718. "description": "现货品牌ID",
  19719. "type": "integer"
  19720. },
  19721. "todaybuyamount": {
  19722. "description": "今日采购额(今采购额)",
  19723. "type": "number"
  19724. },
  19725. "todaybuyaverageprice": {
  19726. "description": "今日采购均价",
  19727. "type": "number"
  19728. },
  19729. "todaybuyqty": {
  19730. "description": "今日采购量(今采购量)",
  19731. "type": "number"
  19732. },
  19733. "todayinqty": {
  19734. "description": "今日入库量(今入库量)",
  19735. "type": "number"
  19736. },
  19737. "todayoutqty": {
  19738. "description": "今日出库量(今出库量)",
  19739. "type": "number"
  19740. },
  19741. "todaysellamount": {
  19742. "description": "今日销售额(今销售额)",
  19743. "type": "number"
  19744. },
  19745. "todaysellaverageprice": {
  19746. "description": "今日销售均价",
  19747. "type": "number"
  19748. },
  19749. "todaysellqty": {
  19750. "description": "今日销售量(今销售量)",
  19751. "type": "number"
  19752. },
  19753. "unitid": {
  19754. "description": "品类单位id",
  19755. "type": "integer"
  19756. },
  19757. "unitidname": {
  19758. "description": "品类单位名称",
  19759. "type": "string"
  19760. },
  19761. "updatetime": {
  19762. "description": "更新时间",
  19763. "type": "string"
  19764. },
  19765. "wrfactortypeid": {
  19766. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19767. "type": "integer"
  19768. },
  19769. "wrstandardcode": {
  19770. "description": "品类代码",
  19771. "type": "string"
  19772. },
  19773. "wrstandardid": {
  19774. "description": "现货品类ID",
  19775. "type": "integer"
  19776. },
  19777. "wrstandardname": {
  19778. "description": "品类名称",
  19779. "type": "string"
  19780. }
  19781. }
  19782. },
  19783. "models.Ermcp3AreaStock": {
  19784. "type": "object",
  19785. "required": [
  19786. "userid"
  19787. ],
  19788. "properties": {
  19789. "brandname": {
  19790. "description": "品牌名称",
  19791. "type": "string"
  19792. },
  19793. "curstock": {
  19794. "description": "期末库存量(今日量)",
  19795. "type": "number"
  19796. },
  19797. "deliverygoodscode": {
  19798. "description": "现货品种代码",
  19799. "type": "string"
  19800. },
  19801. "deliverygoodsid": {
  19802. "description": "现货品种id",
  19803. "type": "integer"
  19804. },
  19805. "deliverygoodsname": {
  19806. "description": "现货品种名称",
  19807. "type": "string"
  19808. },
  19809. "enumdicname": {
  19810. "description": "单位名称",
  19811. "type": "string"
  19812. },
  19813. "goodsunitid": {
  19814. "description": "现货商品单位id",
  19815. "type": "integer"
  19816. },
  19817. "oristock": {
  19818. "description": "期初库存量(昨日量)",
  19819. "type": "number"
  19820. },
  19821. "spotgoodsbrandid": {
  19822. "description": "现货品牌ID",
  19823. "type": "integer"
  19824. },
  19825. "todaybuyinqty": {
  19826. "description": "今日采购入库量",
  19827. "type": "number"
  19828. },
  19829. "todayproduceinqty": {
  19830. "description": "今日生产入库量",
  19831. "type": "number"
  19832. },
  19833. "todayproduceoutqty": {
  19834. "description": "今日生产出库量",
  19835. "type": "number"
  19836. },
  19837. "todayselloutqty": {
  19838. "description": "今日销售出库量",
  19839. "type": "number"
  19840. },
  19841. "unitid": {
  19842. "description": "单位id",
  19843. "type": "integer"
  19844. },
  19845. "updatetime": {
  19846. "description": "更新时间",
  19847. "type": "string"
  19848. },
  19849. "userid": {
  19850. "description": "机构ID",
  19851. "type": "integer"
  19852. },
  19853. "username": {
  19854. "description": "机构名称",
  19855. "type": "string"
  19856. },
  19857. "warehousecode": {
  19858. "description": "仓库代码",
  19859. "type": "string"
  19860. },
  19861. "warehouseinfoid": {
  19862. "description": "仓库ID",
  19863. "type": "string"
  19864. },
  19865. "warehousename": {
  19866. "description": "仓库名称",
  19867. "type": "string"
  19868. },
  19869. "warehousetype": {
  19870. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19871. "type": "integer"
  19872. },
  19873. "wrstandardcode": {
  19874. "description": "品类代码",
  19875. "type": "string"
  19876. },
  19877. "wrstandardid": {
  19878. "description": "品类ID",
  19879. "type": "string"
  19880. },
  19881. "wrstandardname": {
  19882. "description": "品类名称",
  19883. "type": "string"
  19884. }
  19885. }
  19886. },
  19887. "models.Ermcp3AreaStockApply": {
  19888. "type": "object",
  19889. "properties": {
  19890. "applyid": {
  19891. "description": "申请人",
  19892. "type": "integer"
  19893. },
  19894. "applyname": {
  19895. "description": "申请人名称",
  19896. "type": "string"
  19897. },
  19898. "applyremark": {
  19899. "description": "申请备注",
  19900. "type": "string"
  19901. },
  19902. "applysrc": {
  19903. "description": "申请来源 - 1:管理端 2:终端",
  19904. "type": "integer"
  19905. },
  19906. "applystatus": {
  19907. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19908. "type": "integer"
  19909. },
  19910. "applytime": {
  19911. "description": "申请时间",
  19912. "type": "string"
  19913. },
  19914. "auditid": {
  19915. "description": "审核人",
  19916. "type": "integer"
  19917. },
  19918. "auditname": {
  19919. "description": "审核人名称",
  19920. "type": "string"
  19921. },
  19922. "auditremark": {
  19923. "description": "审核备注",
  19924. "type": "string"
  19925. },
  19926. "auditsrc": {
  19927. "description": "审核来源 - 1:管理端 2:终端",
  19928. "type": "integer"
  19929. },
  19930. "audittime": {
  19931. "description": "审核时间",
  19932. "type": "string"
  19933. },
  19934. "audittradedate": {
  19935. "description": "审核交易日(yyyyMMdd)",
  19936. "type": "string"
  19937. },
  19938. "brandname": {
  19939. "description": "品牌名称",
  19940. "type": "string"
  19941. },
  19942. "buynickname": {
  19943. "description": "采购方昵称",
  19944. "type": "string"
  19945. },
  19946. "buyuserid": {
  19947. "description": "采购方userid",
  19948. "type": "integer"
  19949. },
  19950. "buyusername": {
  19951. "description": "采购方名称",
  19952. "type": "string"
  19953. },
  19954. "contractno": {
  19955. "description": "合同编号",
  19956. "type": "string"
  19957. },
  19958. "contractqty": {
  19959. "description": "合同量",
  19960. "type": "number"
  19961. },
  19962. "contracttype": {
  19963. "description": "现货合同类型 - 1:采购 -1:销售",
  19964. "type": "integer"
  19965. },
  19966. "deliverygoodscode": {
  19967. "description": "现货品种代码",
  19968. "type": "string"
  19969. },
  19970. "deliverygoodsid": {
  19971. "description": "现货品种id",
  19972. "type": "integer"
  19973. },
  19974. "deliverygoodsname": {
  19975. "description": "现货品种名称",
  19976. "type": "string"
  19977. },
  19978. "detailjson": {
  19979. "description": "明细数据",
  19980. "type": "string"
  19981. },
  19982. "enumdicname": {
  19983. "description": "现货商品单位名称",
  19984. "type": "string"
  19985. },
  19986. "inoutapplyid": {
  19987. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  19988. "type": "string"
  19989. },
  19990. "inouttype": {
  19991. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19992. "type": "integer"
  19993. },
  19994. "pricetype": {
  19995. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19996. "type": "integer"
  19997. },
  19998. "qty": {
  19999. "description": "数量",
  20000. "type": "number"
  20001. },
  20002. "sellnickname": {
  20003. "description": "销售方昵称",
  20004. "type": "string"
  20005. },
  20006. "selluserid": {
  20007. "description": "销售方userid",
  20008. "type": "integer"
  20009. },
  20010. "sellusername": {
  20011. "description": "销售方名称",
  20012. "type": "string"
  20013. },
  20014. "spotcontractid": {
  20015. "description": "关联现货合同ID",
  20016. "type": "string"
  20017. },
  20018. "spotgoodsbrandid": {
  20019. "description": "现货品牌ID",
  20020. "type": "integer"
  20021. },
  20022. "unitid": {
  20023. "description": "单位id",
  20024. "type": "integer"
  20025. },
  20026. "userid": {
  20027. "description": "机构ID",
  20028. "type": "integer"
  20029. },
  20030. "warehousecode": {
  20031. "description": "仓库代码",
  20032. "type": "string"
  20033. },
  20034. "warehouseinfoid": {
  20035. "description": "现货仓库ID",
  20036. "type": "string"
  20037. },
  20038. "warehousename": {
  20039. "description": "仓库名称",
  20040. "type": "string"
  20041. },
  20042. "warehousetype": {
  20043. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20044. "type": "integer"
  20045. },
  20046. "wrstandardcode": {
  20047. "description": "品类代码",
  20048. "type": "string"
  20049. },
  20050. "wrstandardid": {
  20051. "description": "品类ID",
  20052. "type": "integer"
  20053. },
  20054. "wrstandardname": {
  20055. "description": "品类名称",
  20056. "type": "string"
  20057. }
  20058. }
  20059. },
  20060. "models.Ermcp3AreaStockApplySum": {
  20061. "type": "object",
  20062. "properties": {
  20063. "brandname": {
  20064. "description": "品牌名称",
  20065. "type": "string"
  20066. },
  20067. "inouttype": {
  20068. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20069. "type": "integer"
  20070. },
  20071. "spotcontractid": {
  20072. "description": "关联现货合同ID",
  20073. "type": "string"
  20074. },
  20075. "spotgoodsbrandid": {
  20076. "description": "品牌id",
  20077. "type": "integer"
  20078. },
  20079. "totalqty": {
  20080. "description": "总数量",
  20081. "type": "number"
  20082. },
  20083. "wrstandardid": {
  20084. "description": "品类id",
  20085. "type": "integer"
  20086. },
  20087. "wrstandardname": {
  20088. "description": "品类名称",
  20089. "type": "string"
  20090. }
  20091. }
  20092. },
  20093. "models.Ermcp3AreaStockReportEx": {
  20094. "type": "object",
  20095. "properties": {
  20096. "begindate": {
  20097. "description": "开始交易日",
  20098. "type": "string"
  20099. },
  20100. "brandname": {
  20101. "description": "品牌名称",
  20102. "type": "string"
  20103. },
  20104. "curstock": {
  20105. "description": "期末库存量",
  20106. "type": "number"
  20107. },
  20108. "cycletime": {
  20109. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20110. "type": "string"
  20111. },
  20112. "cycletype": {
  20113. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20114. "type": "integer"
  20115. },
  20116. "deliverygoodscode": {
  20117. "description": "现货品种代码",
  20118. "type": "string"
  20119. },
  20120. "deliverygoodsid": {
  20121. "description": "现货品种id",
  20122. "type": "integer"
  20123. },
  20124. "deliverygoodsname": {
  20125. "description": "现货品种名称",
  20126. "type": "string"
  20127. },
  20128. "diffqty": {
  20129. "description": "库存变化量 = 期末 - 期初",
  20130. "type": "number"
  20131. },
  20132. "enddate": {
  20133. "description": "结束交易日",
  20134. "type": "string"
  20135. },
  20136. "enumdicname": {
  20137. "description": "单位名称",
  20138. "type": "string"
  20139. },
  20140. "goodsunitid": {
  20141. "description": "现货单位id",
  20142. "type": "integer"
  20143. },
  20144. "oristock": {
  20145. "description": "期初库存量",
  20146. "type": "number"
  20147. },
  20148. "reckondate": {
  20149. "description": "日照时期(yyyyMMdd)",
  20150. "type": "string"
  20151. },
  20152. "spotgoodsbrandid": {
  20153. "description": "现货品牌ID",
  20154. "type": "integer"
  20155. },
  20156. "todaybuyinqty": {
  20157. "description": "今采购入库量",
  20158. "type": "number"
  20159. },
  20160. "todayproduceinqty": {
  20161. "description": "今内部入库量",
  20162. "type": "number"
  20163. },
  20164. "todayproduceoutqty": {
  20165. "description": "今内部出库量",
  20166. "type": "number"
  20167. },
  20168. "todayselloutqty": {
  20169. "description": "今销售出库量",
  20170. "type": "number"
  20171. },
  20172. "unbuyinqty": {
  20173. "description": "采购未入库量(数据库未找到相关字段?)",
  20174. "type": "number"
  20175. },
  20176. "unitid": {
  20177. "description": "品类单位id",
  20178. "type": "integer"
  20179. },
  20180. "unselloutqty": {
  20181. "description": "销售未出库量(数据库未找到相关字段?)",
  20182. "type": "number"
  20183. },
  20184. "updatetime": {
  20185. "description": "更新时间",
  20186. "type": "string"
  20187. },
  20188. "userid": {
  20189. "description": "机构ID",
  20190. "type": "integer"
  20191. },
  20192. "username": {
  20193. "description": "机构名称",
  20194. "type": "string"
  20195. },
  20196. "warehousecode": {
  20197. "description": "仓库代码",
  20198. "type": "string"
  20199. },
  20200. "warehouseinfoid": {
  20201. "description": "仓库ID",
  20202. "type": "string"
  20203. },
  20204. "warehousename": {
  20205. "description": "仓库名称",
  20206. "type": "string"
  20207. },
  20208. "warehousetype": {
  20209. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20210. "type": "integer"
  20211. },
  20212. "wrstandardcode": {
  20213. "description": "品类代码",
  20214. "type": "string"
  20215. },
  20216. "wrstandardid": {
  20217. "description": "品类ID",
  20218. "type": "integer"
  20219. },
  20220. "wrstandardname": {
  20221. "description": "品类名称",
  20222. "type": "string"
  20223. }
  20224. }
  20225. },
  20226. "models.Ermcp3ArealSumPL": {
  20227. "type": "object",
  20228. "properties": {
  20229. "accountname": {
  20230. "description": "机构名称",
  20231. "type": "string"
  20232. },
  20233. "areauserid": {
  20234. "description": "所属机构\\交易用户ID",
  20235. "type": "integer"
  20236. },
  20237. "begindate": {
  20238. "description": "开始交易日",
  20239. "type": "string"
  20240. },
  20241. "currencyid": {
  20242. "description": "结算币种ID",
  20243. "type": "integer"
  20244. },
  20245. "currencyname": {
  20246. "description": "币种名称",
  20247. "type": "string"
  20248. },
  20249. "cycletime": {
  20250. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20251. "type": "string"
  20252. },
  20253. "cycletype": {
  20254. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20255. "type": "integer"
  20256. },
  20257. "enddate": {
  20258. "description": "结束交易日",
  20259. "type": "string"
  20260. },
  20261. "enumdicname": {
  20262. "description": "单位名称(套保品种)",
  20263. "type": "string"
  20264. },
  20265. "futureactualpl": {
  20266. "description": "期货损益",
  20267. "type": "number"
  20268. },
  20269. "futurefloatpl": {
  20270. "description": "期货浮动损益",
  20271. "type": "number"
  20272. },
  20273. "futurespotratio": {
  20274. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20275. "type": "number"
  20276. },
  20277. "goodsunitid": {
  20278. "description": "套保品种单位id",
  20279. "type": "integer"
  20280. },
  20281. "hedgeexposurepl": {
  20282. "description": "套保敞口损益",
  20283. "type": "number"
  20284. },
  20285. "middlegoodscode": {
  20286. "description": "套保品种代码",
  20287. "type": "string"
  20288. },
  20289. "middlegoodsid": {
  20290. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20291. "type": "integer"
  20292. },
  20293. "middlegoodsname": {
  20294. "description": "套保品种名称",
  20295. "type": "string"
  20296. },
  20297. "reckondate": {
  20298. "description": "日照时期(yyyyMMdd)",
  20299. "type": "string"
  20300. },
  20301. "spotactualpl": {
  20302. "description": "现货损益",
  20303. "type": "number"
  20304. },
  20305. "spotfloatpl": {
  20306. "description": "现货浮动损益",
  20307. "type": "number"
  20308. },
  20309. "sumactualpl": {
  20310. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20311. "type": "number"
  20312. },
  20313. "sumpl": {
  20314. "description": "总敞口损益 | 汇总损益",
  20315. "type": "number"
  20316. },
  20317. "totalfutureqty": {
  20318. "description": "期货头寸总量",
  20319. "type": "number"
  20320. },
  20321. "totalneedhedgeqty": {
  20322. "description": "应套保总量",
  20323. "type": "number"
  20324. },
  20325. "totalspotqty": {
  20326. "description": "现货头寸总量",
  20327. "type": "number"
  20328. },
  20329. "updatetime": {
  20330. "description": "更新时间",
  20331. "type": "string"
  20332. }
  20333. }
  20334. },
  20335. "models.Ermcp3Brand": {
  20336. "type": "object",
  20337. "properties": {
  20338. "areauserid": {
  20339. "description": "用户id",
  20340. "type": "integer"
  20341. },
  20342. "brandid": {
  20343. "description": "品牌id",
  20344. "type": "integer"
  20345. },
  20346. "brandname": {
  20347. "description": "品牌名称",
  20348. "type": "string"
  20349. },
  20350. "deliverygoodsid": {
  20351. "description": "品种ID",
  20352. "type": "integer"
  20353. },
  20354. "isvalid": {
  20355. "description": "是否有效",
  20356. "type": "integer"
  20357. }
  20358. }
  20359. },
  20360. "models.Ermcp3Contract": {
  20361. "type": "object",
  20362. "properties": {
  20363. "accountid": {
  20364. "description": "期货账户id",
  20365. "type": "string"
  20366. },
  20367. "amount": {
  20368. "description": "金额 [1:一口价、3:暂定价]",
  20369. "type": "number"
  20370. },
  20371. "attachment": {
  20372. "description": "附件",
  20373. "type": "string"
  20374. },
  20375. "auditremark": {
  20376. "description": "审核意见",
  20377. "type": "string"
  20378. },
  20379. "audittime": {
  20380. "description": "审核时间",
  20381. "type": "string"
  20382. },
  20383. "biztype": {
  20384. "description": "业务类型 1-套保 2-套利",
  20385. "type": "integer"
  20386. },
  20387. "brandname": {
  20388. "description": "品牌名称",
  20389. "type": "string"
  20390. },
  20391. "buynickname": {
  20392. "description": "销售方昵称",
  20393. "type": "string"
  20394. },
  20395. "buyuserid": {
  20396. "description": "采购方ID",
  20397. "type": "integer"
  20398. },
  20399. "buyusername": {
  20400. "description": "采购方名称",
  20401. "type": "string"
  20402. },
  20403. "contracctstatus": {
  20404. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20405. "type": "integer"
  20406. },
  20407. "contractmargin": {
  20408. "description": "合同保证金",
  20409. "type": "number"
  20410. },
  20411. "contractno": {
  20412. "description": "现货合同编号",
  20413. "type": "string"
  20414. },
  20415. "contracttype": {
  20416. "description": "现货合同类型 - 1:采购 -1:销售",
  20417. "type": "integer"
  20418. },
  20419. "convertfactor": {
  20420. "description": "标仓系数(品类)",
  20421. "type": "number"
  20422. },
  20423. "createtime": {
  20424. "description": "创建时间",
  20425. "type": "string"
  20426. },
  20427. "currencyid": {
  20428. "description": "币种id",
  20429. "type": "integer"
  20430. },
  20431. "currencyname": {
  20432. "description": "币种名称",
  20433. "type": "string"
  20434. },
  20435. "deliveryenddate": {
  20436. "description": "交收期(结束)",
  20437. "type": "string"
  20438. },
  20439. "deliverygoodscode": {
  20440. "description": "现货品种代码",
  20441. "type": "string"
  20442. },
  20443. "deliverygoodsid": {
  20444. "description": "现货品种ID",
  20445. "type": "integer"
  20446. },
  20447. "deliverygoodsname": {
  20448. "description": "现货品种名称",
  20449. "type": "string"
  20450. },
  20451. "deliverystartdate": {
  20452. "description": "交收期(开始)",
  20453. "type": "string"
  20454. },
  20455. "enddate": {
  20456. "description": "点价结束日期 [2:点价 3:暂定价]",
  20457. "type": "string"
  20458. },
  20459. "enumdicname": {
  20460. "description": "单位名称",
  20461. "type": "string"
  20462. },
  20463. "goodscode": {
  20464. "description": "点价合约代码",
  20465. "type": "string"
  20466. },
  20467. "goodsid": {
  20468. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20469. "type": "integer"
  20470. },
  20471. "goodsname": {
  20472. "description": "点价商品名称",
  20473. "type": "string"
  20474. },
  20475. "margin": {
  20476. "description": "当前保证金",
  20477. "type": "number"
  20478. },
  20479. "meruserid": {
  20480. "description": "跟单员id",
  20481. "type": "integer"
  20482. },
  20483. "meruserlogincode": {
  20484. "description": "跟单员登录代码",
  20485. "type": "string"
  20486. },
  20487. "merusername": {
  20488. "description": "跟单员名称",
  20489. "type": "string"
  20490. },
  20491. "price": {
  20492. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20493. "type": "number"
  20494. },
  20495. "pricemove": {
  20496. "description": "升贴水 [2:点价 3:暂定价]",
  20497. "type": "number"
  20498. },
  20499. "pricetype": {
  20500. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20501. "type": "integer"
  20502. },
  20503. "producttype": {
  20504. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20505. "type": "integer"
  20506. },
  20507. "qty": {
  20508. "description": "数量",
  20509. "type": "number"
  20510. },
  20511. "remark": {
  20512. "description": "备注",
  20513. "type": "string"
  20514. },
  20515. "saleuserid": {
  20516. "description": "业务员id",
  20517. "type": "integer"
  20518. },
  20519. "saleuserlogincode": {
  20520. "description": "业务员登录代码",
  20521. "type": "string"
  20522. },
  20523. "saleusername": {
  20524. "description": "业务员名称",
  20525. "type": "string"
  20526. },
  20527. "sellnickname": {
  20528. "description": "采购方昵称",
  20529. "type": "string"
  20530. },
  20531. "selluserid": {
  20532. "description": "销售方ID",
  20533. "type": "integer"
  20534. },
  20535. "sellusername": {
  20536. "description": "销售方名称",
  20537. "type": "string"
  20538. },
  20539. "spotcontractid": {
  20540. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20541. "type": "string"
  20542. },
  20543. "spotgoodsbrandid": {
  20544. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20545. "type": "integer"
  20546. },
  20547. "spotgoodsdesc": {
  20548. "description": "商品型号",
  20549. "type": "string"
  20550. },
  20551. "startdate": {
  20552. "description": "点价开始日期 [2:点价 3:暂定价]",
  20553. "type": "string"
  20554. },
  20555. "subjectid": {
  20556. "description": "交易主体ID",
  20557. "type": "integer"
  20558. },
  20559. "subjectname": {
  20560. "description": "交易主体名称",
  20561. "type": "string"
  20562. },
  20563. "tradeuserid": {
  20564. "description": "交易员id",
  20565. "type": "integer"
  20566. },
  20567. "tradeuserlogincode": {
  20568. "description": "交易员登录代码",
  20569. "type": "string"
  20570. },
  20571. "tradeusername": {
  20572. "description": "交易员名称",
  20573. "type": "string"
  20574. },
  20575. "unitid": {
  20576. "description": "单位id(取品类上的单位id)",
  20577. "type": "integer"
  20578. },
  20579. "updatetime": {
  20580. "description": "更新时间",
  20581. "type": "string"
  20582. },
  20583. "userid": {
  20584. "description": "所属机构ID",
  20585. "type": "integer"
  20586. },
  20587. "vatrate": {
  20588. "description": "增值税率",
  20589. "type": "number"
  20590. },
  20591. "wrstandardcode": {
  20592. "description": "品类代码",
  20593. "type": "string"
  20594. },
  20595. "wrstandardid": {
  20596. "description": "品类ID",
  20597. "type": "integer"
  20598. },
  20599. "wrstandardname": {
  20600. "description": "品类名称",
  20601. "type": "string"
  20602. }
  20603. }
  20604. },
  20605. "models.Ermcp3ExposureContractDetail": {
  20606. "type": "object",
  20607. "properties": {
  20608. "biztype": {
  20609. "description": "业务类型 1-套保 2-套利",
  20610. "type": "integer"
  20611. },
  20612. "brandname": {
  20613. "description": "品牌名称",
  20614. "type": "string"
  20615. },
  20616. "buyuserid": {
  20617. "description": "采购方id",
  20618. "type": "integer"
  20619. },
  20620. "buyusername": {
  20621. "description": "采购方名称",
  20622. "type": "string"
  20623. },
  20624. "contractno": {
  20625. "description": "合同编号",
  20626. "type": "string"
  20627. },
  20628. "contracttype": {
  20629. "description": "现货合同类型 - 1:采购 -1:销售",
  20630. "type": "integer"
  20631. },
  20632. "convertfactor": {
  20633. "description": "标仓系数",
  20634. "type": "number"
  20635. },
  20636. "convertratio": {
  20637. "description": "折算系数(套保品种)",
  20638. "type": "number"
  20639. },
  20640. "curqty": {
  20641. "description": "今定价量",
  20642. "type": "number"
  20643. },
  20644. "deliverygoodscode": {
  20645. "description": "现货商品代码",
  20646. "type": "string"
  20647. },
  20648. "deliverygoodsid": {
  20649. "description": "现货商品id",
  20650. "type": "integer"
  20651. },
  20652. "deliverygoodsname": {
  20653. "description": "现货商品名称",
  20654. "type": "string"
  20655. },
  20656. "diffhedgeqty": {
  20657. "description": "套保变动量",
  20658. "type": "number"
  20659. },
  20660. "diffneedhedgeqty": {
  20661. "description": "应套保变动量",
  20662. "type": "number"
  20663. },
  20664. "diffqty": {
  20665. "description": "套保品种今变动量",
  20666. "type": "number"
  20667. },
  20668. "enumdicname": {
  20669. "description": "单位名称",
  20670. "type": "string"
  20671. },
  20672. "mgunitname": {
  20673. "description": "套保品种单位名称",
  20674. "type": "string"
  20675. },
  20676. "middlegoodscode": {
  20677. "description": "套保品种代码",
  20678. "type": "string"
  20679. },
  20680. "middlegoodsid": {
  20681. "description": "套保品种id",
  20682. "type": "integer"
  20683. },
  20684. "middlegoodsname": {
  20685. "description": "套保品种名称",
  20686. "type": "string"
  20687. },
  20688. "needarbitrageratio": {
  20689. "description": "应套利比例",
  20690. "type": "number"
  20691. },
  20692. "needhedgeratio": {
  20693. "description": "应套保比例",
  20694. "type": "number"
  20695. },
  20696. "pricedqty": {
  20697. "description": "已定价量",
  20698. "type": "number"
  20699. },
  20700. "qty": {
  20701. "description": "合同量",
  20702. "type": "number"
  20703. },
  20704. "selluserid": {
  20705. "description": "销售方id",
  20706. "type": "integer"
  20707. },
  20708. "sellusername": {
  20709. "description": "销售方名称",
  20710. "type": "string"
  20711. },
  20712. "spotcontractid": {
  20713. "description": "合同id",
  20714. "type": "string"
  20715. },
  20716. "todaypricedqty": {
  20717. "description": "今定价量",
  20718. "type": "number"
  20719. },
  20720. "tradedate": {
  20721. "description": "交易日",
  20722. "type": "string"
  20723. },
  20724. "unitid": {
  20725. "description": "品类单位id",
  20726. "type": "integer"
  20727. },
  20728. "userid": {
  20729. "description": "机构id",
  20730. "type": "integer"
  20731. },
  20732. "username": {
  20733. "description": "交易用户",
  20734. "type": "string"
  20735. },
  20736. "wrstandardcode": {
  20737. "description": "品类代码",
  20738. "type": "string"
  20739. },
  20740. "wrstandardid": {
  20741. "description": "品类id",
  20742. "type": "integer"
  20743. },
  20744. "wrstandardname": {
  20745. "description": "品类名称",
  20746. "type": "string"
  20747. }
  20748. }
  20749. },
  20750. "models.Ermcp3ExposureDetail": {
  20751. "type": "object",
  20752. "properties": {
  20753. "areauserid": {
  20754. "description": "机构ID",
  20755. "type": "integer"
  20756. },
  20757. "changeQty": {
  20758. "description": "套保变动量",
  20759. "type": "number"
  20760. },
  20761. "contracttype": {
  20762. "description": "现货合同类型 - 1:采购 -1:销售",
  20763. "type": "integer"
  20764. },
  20765. "convertfactor": {
  20766. "description": "标仓系数",
  20767. "type": "number"
  20768. },
  20769. "convertratio": {
  20770. "description": "折算系数",
  20771. "type": "number"
  20772. },
  20773. "createtime": {
  20774. "description": "时间",
  20775. "type": "string"
  20776. },
  20777. "enumdicname": {
  20778. "description": "现货商品单位名称",
  20779. "type": "string"
  20780. },
  20781. "logtype": {
  20782. "description": "类型 - 1:套保计划 2:现货合同",
  20783. "type": "integer"
  20784. },
  20785. "mgunitid": {
  20786. "description": "套保品种单位id",
  20787. "type": "integer"
  20788. },
  20789. "mgunitidname": {
  20790. "description": "套保品种单位名称",
  20791. "type": "string"
  20792. },
  20793. "middlegoodsId": {
  20794. "description": "套保商品id",
  20795. "type": "integer"
  20796. },
  20797. "middlegoodscode": {
  20798. "description": "套保商品代码",
  20799. "type": "string"
  20800. },
  20801. "middlegoodsname": {
  20802. "description": "套保商品名称",
  20803. "type": "string"
  20804. },
  20805. "qty": {
  20806. "description": "数量",
  20807. "type": "number"
  20808. },
  20809. "relateNo": {
  20810. "description": "现货合同/套保计划编号",
  20811. "type": "string"
  20812. },
  20813. "unitid": {
  20814. "description": "现货商品单位id",
  20815. "type": "integer"
  20816. },
  20817. "wrstandardcode": {
  20818. "description": "现货商品代码",
  20819. "type": "string"
  20820. },
  20821. "wrstandardid": {
  20822. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20823. "type": "integer"
  20824. },
  20825. "wrstandardname": {
  20826. "description": "现货商品名称",
  20827. "type": "string"
  20828. }
  20829. }
  20830. },
  20831. "models.Ermcp3ExposureFutuDetail": {
  20832. "type": "object",
  20833. "properties": {
  20834. "accountid": {
  20835. "description": "交易账户id",
  20836. "type": "integer"
  20837. },
  20838. "accountname": {
  20839. "description": "交易账户",
  20840. "type": "string"
  20841. },
  20842. "begindate": {
  20843. "description": "开始交易日",
  20844. "type": "string"
  20845. },
  20846. "buyorsell": {
  20847. "description": "方向 0-买 1-卖",
  20848. "type": "integer"
  20849. },
  20850. "diffmgqty": {
  20851. "description": "套保品种今变化量",
  20852. "type": "number"
  20853. },
  20854. "diffneedqty": {
  20855. "description": "应套保总量变化量",
  20856. "type": "number"
  20857. },
  20858. "difftradeqty": {
  20859. "description": "交易品种今变化量",
  20860. "type": "number"
  20861. },
  20862. "enddate": {
  20863. "description": "结束交易日",
  20864. "type": "string"
  20865. },
  20866. "enumdicname": {
  20867. "description": "单位名称",
  20868. "type": "string"
  20869. },
  20870. "goodscode": {
  20871. "description": "商品代码",
  20872. "type": "string"
  20873. },
  20874. "goodsid": {
  20875. "description": "商品id",
  20876. "type": "integer"
  20877. },
  20878. "goodsname": {
  20879. "description": "商品名称",
  20880. "type": "string"
  20881. },
  20882. "holdqty": {
  20883. "description": "期末持仓量",
  20884. "type": "number"
  20885. },
  20886. "middlegoodscode": {
  20887. "description": "套保商品代码",
  20888. "type": "string"
  20889. },
  20890. "middlegoodsid": {
  20891. "description": "套保商品id",
  20892. "type": "integer"
  20893. },
  20894. "middlegoodsname": {
  20895. "description": "套保商品名称",
  20896. "type": "string"
  20897. },
  20898. "oriholdqty": {
  20899. "description": "期初持仓量",
  20900. "type": "number"
  20901. },
  20902. "todaycloseqty": {
  20903. "description": "今平仓量",
  20904. "type": "number"
  20905. },
  20906. "todayopenqty": {
  20907. "description": "今开仓量",
  20908. "type": "number"
  20909. },
  20910. "tradedate": {
  20911. "description": "交易日",
  20912. "type": "string"
  20913. },
  20914. "username": {
  20915. "description": "用户名称(交易用户)",
  20916. "type": "string"
  20917. }
  20918. }
  20919. },
  20920. "models.Ermcp3ExposureHedgeplanDetail": {
  20921. "type": "object",
  20922. "properties": {
  20923. "biztype": {
  20924. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20925. "type": "integer"
  20926. },
  20927. "changqty": {
  20928. "description": "应套保总量变化量",
  20929. "type": "number"
  20930. },
  20931. "contracttype": {
  20932. "description": "计划类型 - 1:采购 -1:销售",
  20933. "type": "integer"
  20934. },
  20935. "convertratio": {
  20936. "description": "折算系数(套保品种)",
  20937. "type": "number"
  20938. },
  20939. "deliverygoodscode": {
  20940. "description": "现货商品代码",
  20941. "type": "string"
  20942. },
  20943. "deliverygoodsid": {
  20944. "description": "现货商品id",
  20945. "type": "integer"
  20946. },
  20947. "deliverygoodsname": {
  20948. "description": "现货商吕名称",
  20949. "type": "string"
  20950. },
  20951. "dgunitid": {
  20952. "description": "现货商品单位id",
  20953. "type": "integer"
  20954. },
  20955. "dgunitidname": {
  20956. "description": "单位名称(现货商品)",
  20957. "type": "string"
  20958. },
  20959. "diffqty": {
  20960. "description": "套保品种今变动量",
  20961. "type": "number"
  20962. },
  20963. "enumdicname": {
  20964. "description": "单位名称(品类)",
  20965. "type": "string"
  20966. },
  20967. "hedgeplanid": {
  20968. "description": "套保计划id",
  20969. "type": "string"
  20970. },
  20971. "hedgeplanno": {
  20972. "description": "套保计划名称",
  20973. "type": "string"
  20974. },
  20975. "hedgeplanstatus": {
  20976. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20977. "type": "integer"
  20978. },
  20979. "mgunitidname": {
  20980. "description": "单位名称(套保商品)",
  20981. "type": "string"
  20982. },
  20983. "middlegoodscode": {
  20984. "description": "套保品种代码",
  20985. "type": "string"
  20986. },
  20987. "middlegoodsid": {
  20988. "description": "套保品种id",
  20989. "type": "integer"
  20990. },
  20991. "middlegoodsname": {
  20992. "description": "套保品种名称",
  20993. "type": "string"
  20994. },
  20995. "needarbitrageratio": {
  20996. "description": "应套利比例",
  20997. "type": "number"
  20998. },
  20999. "needhedgeratio": {
  21000. "description": "应套保比例",
  21001. "type": "number"
  21002. },
  21003. "pricedqty": {
  21004. "description": "已定价量",
  21005. "type": "number"
  21006. },
  21007. "qty": {
  21008. "description": "合同量",
  21009. "type": "number"
  21010. },
  21011. "tradedate": {
  21012. "description": "交易日(登记日)",
  21013. "type": "string"
  21014. },
  21015. "unitid": {
  21016. "description": "品类单位id",
  21017. "type": "integer"
  21018. },
  21019. "userid": {
  21020. "description": "机构id",
  21021. "type": "integer"
  21022. },
  21023. "wrstandardcode": {
  21024. "description": "品类代码",
  21025. "type": "string"
  21026. },
  21027. "wrstandardid": {
  21028. "description": "品类id",
  21029. "type": "integer"
  21030. },
  21031. "wrstandardname": {
  21032. "description": "品类名称",
  21033. "type": "string"
  21034. }
  21035. }
  21036. },
  21037. "models.Ermcp3ExposureParamChLog": {
  21038. "type": "object",
  21039. "properties": {
  21040. "accountid": {
  21041. "description": "期货账户ID (作废, 默认为0)",
  21042. "type": "integer"
  21043. },
  21044. "aftervalue": {
  21045. "description": "应套保\\套利量变更后(调整后应套保总量)",
  21046. "type": "number"
  21047. },
  21048. "areauserid": {
  21049. "description": "所属机构\\交易用户ID",
  21050. "type": "integer"
  21051. },
  21052. "beforevalue": {
  21053. "description": "应套保\\套利量变更前(调整前应套保总量)",
  21054. "type": "number"
  21055. },
  21056. "begindate": {
  21057. "description": "开始交易日",
  21058. "type": "string"
  21059. },
  21060. "changelogtype": {
  21061. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  21062. "type": "integer"
  21063. },
  21064. "curvalue": {
  21065. "description": "当前套保\\套利量(套保总量|套利总量)",
  21066. "type": "number"
  21067. },
  21068. "diffvalue": {
  21069. "description": "应套保总量变化量",
  21070. "type": "number"
  21071. },
  21072. "enddate": {
  21073. "description": "结束交易日",
  21074. "type": "string"
  21075. },
  21076. "logdatetime": {
  21077. "description": "流水日期",
  21078. "type": "string"
  21079. },
  21080. "logid": {
  21081. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  21082. "type": "string"
  21083. },
  21084. "middlegoodscode": {
  21085. "description": "套保品种代码",
  21086. "type": "string"
  21087. },
  21088. "middlegoodsid": {
  21089. "description": "套保品种",
  21090. "type": "integer"
  21091. },
  21092. "middlegoodsname": {
  21093. "description": "套保品种名称",
  21094. "type": "string"
  21095. },
  21096. "paramaftervalue": {
  21097. "description": "参数变更后(调整后参数值)",
  21098. "type": "number"
  21099. },
  21100. "parambeforevalue": {
  21101. "description": "参数变更前(调整前参数值)",
  21102. "type": "number"
  21103. },
  21104. "tradedate": {
  21105. "description": "交易日(yyyyMMdd)",
  21106. "type": "string"
  21107. }
  21108. }
  21109. },
  21110. "models.Ermcp3ExpourseReport": {
  21111. "type": "object",
  21112. "properties": {
  21113. "accountid": {
  21114. "description": "期货账户ID (作废, 默认为0)",
  21115. "type": "integer"
  21116. },
  21117. "accountname": {
  21118. "description": "机构名称",
  21119. "type": "string"
  21120. },
  21121. "arbitrageqty": {
  21122. "description": "套利量",
  21123. "type": "number"
  21124. },
  21125. "areauserid": {
  21126. "description": "所属机构\\交易用户ID",
  21127. "type": "integer"
  21128. },
  21129. "begindate": {
  21130. "description": "开始交易日",
  21131. "type": "string"
  21132. },
  21133. "buyfutureqty": {
  21134. "description": "买入期货数量",
  21135. "type": "number"
  21136. },
  21137. "buyplanqty": {
  21138. "description": "采购计划数量",
  21139. "type": "number"
  21140. },
  21141. "buypricedqty": {
  21142. "description": "采购合同已定价数量",
  21143. "type": "number"
  21144. },
  21145. "cycletime": {
  21146. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21147. "type": "string"
  21148. },
  21149. "cycletype": {
  21150. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21151. "type": "integer"
  21152. },
  21153. "diffexposure": {
  21154. "description": "变动量(套保敞口)",
  21155. "type": "number"
  21156. },
  21157. "difffutuqty": {
  21158. "description": "变动量(期货)",
  21159. "type": "number"
  21160. },
  21161. "diffhedgeqty": {
  21162. "description": "变动量(现货应套保总量)",
  21163. "type": "number"
  21164. },
  21165. "diffmgqtya": {
  21166. "description": "套保变动量",
  21167. "type": "number"
  21168. },
  21169. "diffmgqtyb": {
  21170. "description": "套利变动量",
  21171. "type": "number"
  21172. },
  21173. "diffqty": {
  21174. "description": "变动量(总敞口)",
  21175. "type": "number"
  21176. },
  21177. "diffspotqty": {
  21178. "description": "变动量(现货)",
  21179. "type": "number"
  21180. },
  21181. "enddate": {
  21182. "description": "结束交易日",
  21183. "type": "string"
  21184. },
  21185. "enumdicname": {
  21186. "description": "单位名称",
  21187. "type": "string"
  21188. },
  21189. "hedgeqty": {
  21190. "description": "套保量",
  21191. "type": "number"
  21192. },
  21193. "mgneedhedgeratio": {
  21194. "description": "套保比例(套保品的)",
  21195. "type": "number"
  21196. },
  21197. "middlegoodsid": {
  21198. "description": "套保品种ID",
  21199. "type": "integer"
  21200. },
  21201. "middlegoodsname": {
  21202. "description": "套保商品名称",
  21203. "type": "string"
  21204. },
  21205. "middlgoodscode": {
  21206. "description": "套保商品代码",
  21207. "type": "string"
  21208. },
  21209. "needarbitrageqty": {
  21210. "description": "应套利量",
  21211. "type": "number"
  21212. },
  21213. "needarbitrageratio": {
  21214. "description": "套利比例(套保品的)",
  21215. "type": "number"
  21216. },
  21217. "needhedgeexposoure": {
  21218. "description": "应套保敞口(套保敞口)",
  21219. "type": "number"
  21220. },
  21221. "needhedgeqty": {
  21222. "description": "应套保量",
  21223. "type": "number"
  21224. },
  21225. "needhedgeratio": {
  21226. "description": "应套保敞口比例",
  21227. "type": "number"
  21228. },
  21229. "oriarbitrageqty": {
  21230. "description": "期初套利量",
  21231. "type": "number"
  21232. },
  21233. "oribuyfutureqty": {
  21234. "description": "期初买入期货数量",
  21235. "type": "number"
  21236. },
  21237. "oribuyplanqty": {
  21238. "description": "期初采购计划数量",
  21239. "type": "number"
  21240. },
  21241. "oribuypricedqty": {
  21242. "description": "期初采购合同已定价数量",
  21243. "type": "number"
  21244. },
  21245. "orihedgeqty": {
  21246. "description": "期初套保量",
  21247. "type": "number"
  21248. },
  21249. "orineedarbitrageqty": {
  21250. "description": "期初应套利量",
  21251. "type": "number"
  21252. },
  21253. "orineedhedgeexposoure": {
  21254. "description": "期初应套保敞口",
  21255. "type": "number"
  21256. },
  21257. "orineedhedgeqty": {
  21258. "description": "期初应套保量",
  21259. "type": "number"
  21260. },
  21261. "orisellfutureqty": {
  21262. "description": "期初卖出期货数量",
  21263. "type": "number"
  21264. },
  21265. "orisellplanqty": {
  21266. "description": "期初销售计划数量",
  21267. "type": "number"
  21268. },
  21269. "orisellpricedqty": {
  21270. "description": "期初销售合同已定价数量",
  21271. "type": "number"
  21272. },
  21273. "oritotalexposure": {
  21274. "description": "期初实时总敞口",
  21275. "type": "number"
  21276. },
  21277. "oritotalfutureqty": {
  21278. "description": "期初期货头寸总量",
  21279. "type": "number"
  21280. },
  21281. "oritotalneedhedgeqty": {
  21282. "description": "期初应套保总量",
  21283. "type": "number"
  21284. },
  21285. "oritotalspotqty": {
  21286. "description": "期初现货头寸总量",
  21287. "type": "number"
  21288. },
  21289. "reckondate": {
  21290. "description": "日照时期(yyyyMMdd)",
  21291. "type": "string"
  21292. },
  21293. "sellfutureqty": {
  21294. "description": "卖出期货数量",
  21295. "type": "number"
  21296. },
  21297. "sellplanqty": {
  21298. "description": "销售计划数量",
  21299. "type": "number"
  21300. },
  21301. "sellpricedqty": {
  21302. "description": "销售合同已定价数量",
  21303. "type": "number"
  21304. },
  21305. "totalexposure": {
  21306. "description": "实时总敞口(总敞口)",
  21307. "type": "number"
  21308. },
  21309. "totalfutureqty": {
  21310. "description": "期货头寸总量(期货总量)",
  21311. "type": "number"
  21312. },
  21313. "totalhedgeratio": {
  21314. "description": "敞口比例",
  21315. "type": "number"
  21316. },
  21317. "totalneedhedgeqty": {
  21318. "description": "应套保总量(现货应套保总量)",
  21319. "type": "number"
  21320. },
  21321. "totalspotqty": {
  21322. "description": "现货头寸总量",
  21323. "type": "number"
  21324. },
  21325. "unitid": {
  21326. "description": "单位id",
  21327. "type": "integer"
  21328. },
  21329. "updatetime": {
  21330. "description": "更新时间",
  21331. "type": "string"
  21332. }
  21333. }
  21334. },
  21335. "models.Ermcp3FinanceReport": {
  21336. "type": "object",
  21337. "properties": {
  21338. "accountname": {
  21339. "description": "机构名称",
  21340. "type": "string"
  21341. },
  21342. "areauserid": {
  21343. "description": "所属机构\\交易用户ID",
  21344. "type": "integer"
  21345. },
  21346. "begindate": {
  21347. "description": "开始交易日",
  21348. "type": "string"
  21349. },
  21350. "biztype": {
  21351. "description": "业务类型 - 1:套保 2:套利",
  21352. "type": "integer"
  21353. },
  21354. "brandname": {
  21355. "description": "品牌名称",
  21356. "type": "string"
  21357. },
  21358. "buypreinvoicedamount": {
  21359. "description": "采购预收票额(预收票额)",
  21360. "type": "number"
  21361. },
  21362. "buyprepaidamount": {
  21363. "description": "采购预付款额(预付货款额)",
  21364. "type": "number"
  21365. },
  21366. "buytodayinvoiceamount": {
  21367. "description": "采购今收票额(今收票额)",
  21368. "type": "number"
  21369. },
  21370. "buytodayrefundamount": {
  21371. "description": "采购今收退款额(今收退款额)",
  21372. "type": "number"
  21373. },
  21374. "buytodaysettleamount": {
  21375. "description": "采购今付款额(今付货款额)",
  21376. "type": "number"
  21377. },
  21378. "buyuninvoicedamount": {
  21379. "description": "采购应收票额(应收票额)",
  21380. "type": "number"
  21381. },
  21382. "buyunpaidamount": {
  21383. "description": "采购应付款额(应付货款额)",
  21384. "type": "number"
  21385. },
  21386. "currencyid": {
  21387. "description": "结算币种ID",
  21388. "type": "integer"
  21389. },
  21390. "currencyname": {
  21391. "description": "币种名称",
  21392. "type": "string"
  21393. },
  21394. "cycletime": {
  21395. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21396. "type": "string"
  21397. },
  21398. "cycletype": {
  21399. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21400. "type": "integer"
  21401. },
  21402. "deliverygoodscode": {
  21403. "description": "现货品种代码",
  21404. "type": "string"
  21405. },
  21406. "deliverygoodsid": {
  21407. "description": "现货品种ID",
  21408. "type": "integer"
  21409. },
  21410. "deliverygoodsname": {
  21411. "description": "现货品种名称",
  21412. "type": "string"
  21413. },
  21414. "enddate": {
  21415. "description": "结束交易日",
  21416. "type": "string"
  21417. },
  21418. "reckondate": {
  21419. "description": "日照时期(yyyyMMdd)",
  21420. "type": "string"
  21421. },
  21422. "sellpreinvoicedamount": {
  21423. "description": "销售预开票额(预开票额)",
  21424. "type": "number"
  21425. },
  21426. "sellprepaidamount": {
  21427. "description": "销售预收款额(预收货款额)",
  21428. "type": "number"
  21429. },
  21430. "selltodayinvoiceamount": {
  21431. "description": "销售今开票额(今开票额)",
  21432. "type": "number"
  21433. },
  21434. "selltodayrefundamount": {
  21435. "description": "销售今付退款额(今付退款额)",
  21436. "type": "number"
  21437. },
  21438. "selltodaysettleamount": {
  21439. "description": "销售今收款额(今收货款额)",
  21440. "type": "number"
  21441. },
  21442. "selluninvoicedamount": {
  21443. "description": "销售应开票额(应开票额)",
  21444. "type": "number"
  21445. },
  21446. "sellunpaidamount": {
  21447. "description": "销售应收款额(应收货款额)",
  21448. "type": "number"
  21449. },
  21450. "spotgoodsbrandid": {
  21451. "description": "现货品牌ID",
  21452. "type": "integer"
  21453. },
  21454. "todaypaysum": {
  21455. "description": "今付款合计",
  21456. "type": "number"
  21457. },
  21458. "todayreceivesum": {
  21459. "description": "今收款合计",
  21460. "type": "number"
  21461. },
  21462. "updatetime": {
  21463. "description": "更新时间",
  21464. "type": "string"
  21465. },
  21466. "wrfactortypeid": {
  21467. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21468. "type": "integer"
  21469. },
  21470. "wrstandardcode": {
  21471. "description": "品类代码",
  21472. "type": "string"
  21473. },
  21474. "wrstandardid": {
  21475. "description": "现货商品ID",
  21476. "type": "integer"
  21477. },
  21478. "wrstandardname": {
  21479. "description": "品类名称",
  21480. "type": "string"
  21481. }
  21482. }
  21483. },
  21484. "models.Ermcp3GoodsGroup": {
  21485. "type": "object",
  21486. "required": [
  21487. "areauserid"
  21488. ],
  21489. "properties": {
  21490. "agreeunit": {
  21491. "description": "合约单位",
  21492. "type": "number"
  21493. },
  21494. "areauserid": {
  21495. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21496. "type": "integer"
  21497. },
  21498. "canshort": {
  21499. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21500. "type": "integer"
  21501. },
  21502. "closepricemode": {
  21503. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21504. "type": "integer"
  21505. },
  21506. "createtime": {
  21507. "description": "创建时间",
  21508. "type": "string"
  21509. },
  21510. "creatorid": {
  21511. "description": "创建人",
  21512. "type": "integer"
  21513. },
  21514. "currencyid": {
  21515. "description": "报价货币ID",
  21516. "type": "integer"
  21517. },
  21518. "decimalplace": {
  21519. "description": "报价小数位",
  21520. "type": "integer"
  21521. },
  21522. "enumdicname": {
  21523. "description": "单位名称",
  21524. "type": "string"
  21525. },
  21526. "exchangefullname": {
  21527. "description": "交易所全称",
  21528. "type": "string"
  21529. },
  21530. "excludecfg": {
  21531. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21532. "type": "integer"
  21533. },
  21534. "exexchangecode": {
  21535. "description": "交易所代码",
  21536. "type": "string"
  21537. },
  21538. "exexchangeid": {
  21539. "description": "外部交易所ID[通道交易]",
  21540. "type": "integer"
  21541. },
  21542. "exexchangename": {
  21543. "description": "交易所名称",
  21544. "type": "string"
  21545. },
  21546. "goodsgroupid": {
  21547. "description": "商品组ID(自增ID)",
  21548. "type": "integer"
  21549. },
  21550. "goodsgroupname": {
  21551. "description": "商品组名称",
  21552. "type": "string"
  21553. },
  21554. "goodsgroupstatus": {
  21555. "description": "商品组状态 - 1:正常 2:注销",
  21556. "type": "integer"
  21557. },
  21558. "goodunitid": {
  21559. "description": "报价单位ID",
  21560. "type": "integer"
  21561. },
  21562. "groupcategroyid": {
  21563. "description": "品种分类ID",
  21564. "type": "integer"
  21565. },
  21566. "innerdealmode": {
  21567. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21568. "type": "integer"
  21569. },
  21570. "marketid": {
  21571. "description": "所属市场ID",
  21572. "type": "integer"
  21573. },
  21574. "modifierid": {
  21575. "description": "修改人",
  21576. "type": "integer"
  21577. },
  21578. "modifytime": {
  21579. "description": "修改时间",
  21580. "type": "string"
  21581. },
  21582. "outerdealmode": {
  21583. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21584. "type": "integer"
  21585. },
  21586. "outergroupcode": {
  21587. "description": "外部商品组代码[通道交易]",
  21588. "type": "string"
  21589. },
  21590. "quoteminunit": {
  21591. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21592. "type": "integer"
  21593. },
  21594. "quotesourcegroupid": {
  21595. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21596. "type": "integer"
  21597. },
  21598. "syncgoodsqty": {
  21599. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21600. "type": "integer"
  21601. }
  21602. }
  21603. },
  21604. "models.Ermcp3HedgePlan": {
  21605. "type": "object",
  21606. "properties": {
  21607. "accountid": {
  21608. "description": "资金账号",
  21609. "type": "integer"
  21610. },
  21611. "areauserid": {
  21612. "description": "用户ID",
  21613. "type": "integer"
  21614. },
  21615. "auditid": {
  21616. "description": "审核id",
  21617. "type": "integer"
  21618. },
  21619. "auditname": {
  21620. "description": "审核人名称",
  21621. "type": "string"
  21622. },
  21623. "auditremark": {
  21624. "description": "审核备注",
  21625. "type": "string"
  21626. },
  21627. "auditsrc": {
  21628. "description": "审核来源 1-管理端 2-终端",
  21629. "type": "integer"
  21630. },
  21631. "audittime": {
  21632. "description": "审核时间",
  21633. "type": "string"
  21634. },
  21635. "contracttype": {
  21636. "description": "计划类型 - 1:采购 -1:销售",
  21637. "type": "integer"
  21638. },
  21639. "convertfactor": {
  21640. "description": "标仓系数",
  21641. "type": "number"
  21642. },
  21643. "createtime": {
  21644. "description": "创建时间",
  21645. "type": "string"
  21646. },
  21647. "currencyid": {
  21648. "description": "币种id",
  21649. "type": "integer"
  21650. },
  21651. "currencyname": {
  21652. "description": "币种名称",
  21653. "type": "string"
  21654. },
  21655. "deliverygoodscode": {
  21656. "description": "现货品种代码",
  21657. "type": "string"
  21658. },
  21659. "deliverygoodsid": {
  21660. "description": "现货品种ID",
  21661. "type": "integer"
  21662. },
  21663. "deliverygoodsname": {
  21664. "description": "现货品种名称",
  21665. "type": "string"
  21666. },
  21667. "enumdicname": {
  21668. "description": "单位名称(现货商品)",
  21669. "type": "string"
  21670. },
  21671. "hedgeplanid": {
  21672. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21673. "type": "string"
  21674. },
  21675. "hedgeplanno": {
  21676. "description": "套保计划编号(名称)",
  21677. "type": "string"
  21678. },
  21679. "hedgeplanstatus": {
  21680. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21681. "type": "integer"
  21682. },
  21683. "planqty": {
  21684. "description": "计划数量",
  21685. "type": "number"
  21686. },
  21687. "plantime": {
  21688. "description": "计划时间",
  21689. "type": "string"
  21690. },
  21691. "producttype": {
  21692. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21693. "type": "integer"
  21694. },
  21695. "remark": {
  21696. "description": "备注",
  21697. "type": "string"
  21698. },
  21699. "spotgoodsdesc": {
  21700. "description": "商品型号",
  21701. "type": "string"
  21702. },
  21703. "taaccountname": {
  21704. "description": "资金账号名称",
  21705. "type": "string"
  21706. },
  21707. "tradeuserid": {
  21708. "description": "交易用户id",
  21709. "type": "integer"
  21710. },
  21711. "tradeusername": {
  21712. "description": "交易用户名称",
  21713. "type": "string"
  21714. },
  21715. "unitid": {
  21716. "description": "单位id(现货商品)",
  21717. "type": "integer"
  21718. },
  21719. "updatetime": {
  21720. "description": "更新时间",
  21721. "type": "string"
  21722. },
  21723. "vatrate": {
  21724. "description": "增值税率",
  21725. "type": "number"
  21726. },
  21727. "wrstandardcode": {
  21728. "description": "品类代码",
  21729. "type": "string"
  21730. },
  21731. "wrstandardid": {
  21732. "description": "品类id",
  21733. "type": "integer"
  21734. },
  21735. "wrstandardname": {
  21736. "description": "品类名称",
  21737. "type": "string"
  21738. },
  21739. "wrunitid": {
  21740. "description": "品类单位id",
  21741. "type": "integer"
  21742. },
  21743. "wrunitidame": {
  21744. "description": "品类单位名称",
  21745. "type": "string"
  21746. }
  21747. }
  21748. },
  21749. "models.Ermcp3InnerTradeLink": {
  21750. "type": "object",
  21751. "properties": {
  21752. "accountid": {
  21753. "description": "期货账号代码 | 资金账号ID",
  21754. "type": "integer"
  21755. },
  21756. "buyorsell": {
  21757. "description": "方向 - 0:买 1:卖",
  21758. "type": "integer"
  21759. },
  21760. "channelbuildtype": {
  21761. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21762. "type": "integer"
  21763. },
  21764. "currencyid": {
  21765. "description": "币种id",
  21766. "type": "integer"
  21767. },
  21768. "currencyname": {
  21769. "description": "结算币种 名称",
  21770. "type": "string"
  21771. },
  21772. "goodscode": {
  21773. "description": "商品代码",
  21774. "type": "string"
  21775. },
  21776. "goodsid": {
  21777. "description": "商品ID",
  21778. "type": "integer"
  21779. },
  21780. "goodsname": {
  21781. "description": "商品名称",
  21782. "type": "string"
  21783. },
  21784. "outtradeid": {
  21785. "description": "外部成交单号",
  21786. "type": "string"
  21787. },
  21788. "taname": {
  21789. "description": "期货账户名称",
  21790. "type": "string"
  21791. },
  21792. "tradeid": {
  21793. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21794. "type": "string"
  21795. },
  21796. "tradeprice": {
  21797. "description": "成交价格",
  21798. "type": "number"
  21799. },
  21800. "tradeqty": {
  21801. "description": "期货成交数量",
  21802. "type": "integer"
  21803. },
  21804. "tradetime": {
  21805. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21806. "type": "string"
  21807. },
  21808. "username": {
  21809. "description": "用户名称",
  21810. "type": "string"
  21811. }
  21812. }
  21813. },
  21814. "models.Ermcp3OutTradeLink": {
  21815. "type": "object",
  21816. "properties": {
  21817. "buyorsell": {
  21818. "description": "买卖方向 - 0:买 1:卖",
  21819. "type": "integer"
  21820. },
  21821. "channelbuildtype": {
  21822. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21823. "type": "integer"
  21824. },
  21825. "currencyname": {
  21826. "description": "币种名称",
  21827. "type": "string"
  21828. },
  21829. "exexchangecode": {
  21830. "description": "交易所代码",
  21831. "type": "string"
  21832. },
  21833. "exexchangename": {
  21834. "description": "交易所名称",
  21835. "type": "string"
  21836. },
  21837. "goodscode": {
  21838. "description": "合约代码",
  21839. "type": "string"
  21840. },
  21841. "goodsid": {
  21842. "description": "合约id",
  21843. "type": "integer"
  21844. },
  21845. "goodsname": {
  21846. "description": "合约名称",
  21847. "type": "string"
  21848. },
  21849. "hasinnerorder": {
  21850. "description": "是否有内部单关联 - 0:无 1:有",
  21851. "type": "integer"
  21852. },
  21853. "hedgeaccountcode": {
  21854. "description": "外部账号 | 对冲账号",
  21855. "type": "string"
  21856. },
  21857. "outtradeid": {
  21858. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21859. "type": "string"
  21860. },
  21861. "tradeprice": {
  21862. "description": "成交价格",
  21863. "type": "number"
  21864. },
  21865. "tradeqty": {
  21866. "description": "成交数量",
  21867. "type": "integer"
  21868. },
  21869. "tradetime": {
  21870. "description": "成交时间",
  21871. "type": "string"
  21872. }
  21873. }
  21874. },
  21875. "models.Ermcp3PaAreaAuditCfg": {
  21876. "type": "object",
  21877. "properties": {
  21878. "areauserid": {
  21879. "description": "用户ID",
  21880. "type": "integer"
  21881. },
  21882. "buyinauditflag": {
  21883. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  21884. "type": "integer"
  21885. },
  21886. "costratioauditflag": {
  21887. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  21888. "type": "integer"
  21889. },
  21890. "customerauditflag": {
  21891. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  21892. "type": "integer"
  21893. },
  21894. "deliveryauditflag": {
  21895. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  21896. "type": "integer"
  21897. },
  21898. "invoiceauditflag": {
  21899. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  21900. "type": "integer"
  21901. },
  21902. "mgneedhedgeratioauditflag": {
  21903. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  21904. "type": "integer"
  21905. },
  21906. "moneyauditflag": {
  21907. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  21908. "type": "integer"
  21909. },
  21910. "operatorid": {
  21911. "description": "操作人",
  21912. "type": "integer"
  21913. },
  21914. "operatorsrc": {
  21915. "description": "操作来源 - 1:管理端 2:终端",
  21916. "type": "integer"
  21917. },
  21918. "pointpriceauditflag": {
  21919. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  21920. "type": "integer"
  21921. },
  21922. "produceinauditflag": {
  21923. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  21924. "type": "integer"
  21925. },
  21926. "produceoutauditflag": {
  21927. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  21928. "type": "integer"
  21929. },
  21930. "selloutauditflag": {
  21931. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  21932. "type": "integer"
  21933. },
  21934. "sgconvertratioauditflag": {
  21935. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  21936. "type": "integer"
  21937. },
  21938. "sgvtaratioauditflag": {
  21939. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  21940. "type": "integer"
  21941. },
  21942. "spotcontractauditflag": {
  21943. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  21944. "type": "integer"
  21945. },
  21946. "updatetime": {
  21947. "description": "更新时间",
  21948. "type": "string"
  21949. }
  21950. }
  21951. },
  21952. "models.Ermcp3PaAreaSubject": {
  21953. "type": "object",
  21954. "properties": {
  21955. "areauserid": {
  21956. "description": "所属机构",
  21957. "type": "integer"
  21958. },
  21959. "canmodify": {
  21960. "description": "是否可修改 - 0:否 1:是",
  21961. "type": "integer"
  21962. },
  21963. "createtime": {
  21964. "description": "创建时间",
  21965. "type": "string"
  21966. },
  21967. "creatorid": {
  21968. "description": "创建人ID",
  21969. "type": "string"
  21970. },
  21971. "creatorsrc": {
  21972. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  21973. "type": "integer"
  21974. },
  21975. "modifierid": {
  21976. "description": "修改人",
  21977. "type": "string"
  21978. },
  21979. "modifiersrc": {
  21980. "description": "修改人来源 - 1:管理端 2:终端",
  21981. "type": "integer"
  21982. },
  21983. "modifytime": {
  21984. "description": "修改时间",
  21985. "type": "string"
  21986. },
  21987. "parentsubjectid": {
  21988. "description": "上级主体ID",
  21989. "type": "string"
  21990. },
  21991. "remark": {
  21992. "description": "备注",
  21993. "type": "string"
  21994. },
  21995. "subjectid": {
  21996. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  21997. "type": "integer"
  21998. },
  21999. "subjectname": {
  22000. "description": "主体名称",
  22001. "type": "string"
  22002. },
  22003. "subjectstatus": {
  22004. "description": "主体状态 - 1:正常 2: 停用",
  22005. "type": "integer"
  22006. },
  22007. "subjecttype": {
  22008. "description": "主体类型 - 1:交易主体 2:业务部门",
  22009. "type": "integer"
  22010. }
  22011. }
  22012. },
  22013. "models.Ermcp3PaTradeLink": {
  22014. "type": "object",
  22015. "properties": {
  22016. "accountid": {
  22017. "description": "期货账户代码 | 账号ID",
  22018. "type": "integer"
  22019. },
  22020. "agreeunit": {
  22021. "description": "合约乘数",
  22022. "type": "number"
  22023. },
  22024. "buyorsell": {
  22025. "description": "方向 - 0:买 1:卖",
  22026. "type": "integer"
  22027. },
  22028. "channelbuildtype": {
  22029. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22030. "type": "integer"
  22031. },
  22032. "charge": {
  22033. "description": "手续费",
  22034. "type": "number"
  22035. },
  22036. "closepl": {
  22037. "description": "平仓盈亏",
  22038. "type": "number"
  22039. },
  22040. "closetype": {
  22041. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22042. "type": "integer"
  22043. },
  22044. "convertratio": {
  22045. "description": "折算系数",
  22046. "type": "number"
  22047. },
  22048. "enumdicname": {
  22049. "description": "单位名称",
  22050. "type": "string"
  22051. },
  22052. "executeprice": {
  22053. "description": "执行价 [期权]",
  22054. "type": "integer"
  22055. },
  22056. "goodscode": {
  22057. "description": "合约代码",
  22058. "type": "string"
  22059. },
  22060. "goodsgroupid": {
  22061. "description": "对冲品种ID[期货合约商品组ID]",
  22062. "type": "integer"
  22063. },
  22064. "goodsid": {
  22065. "description": "商品ID",
  22066. "type": "integer"
  22067. },
  22068. "goodsname": {
  22069. "description": "合约名称",
  22070. "type": "string"
  22071. },
  22072. "goodunitid": {
  22073. "description": "单位id",
  22074. "type": "integer"
  22075. },
  22076. "hedgeflag": {
  22077. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22078. "type": "integer"
  22079. },
  22080. "marketid": {
  22081. "description": "市场ID",
  22082. "type": "integer"
  22083. },
  22084. "middlegoodsid": {
  22085. "description": "套保品种ID",
  22086. "type": "integer"
  22087. },
  22088. "middlegoodsqty": {
  22089. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  22090. "type": "number"
  22091. },
  22092. "optioncode": {
  22093. "description": "期权代码 [期权]",
  22094. "type": "string"
  22095. },
  22096. "ordertype": {
  22097. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  22098. "type": "integer"
  22099. },
  22100. "ordertypename": {
  22101. "description": "订单类型",
  22102. "type": "string"
  22103. },
  22104. "parentaccountid": {
  22105. "description": "所属母账户",
  22106. "type": "integer"
  22107. },
  22108. "premium": {
  22109. "description": "权利金 [期权]",
  22110. "type": "number"
  22111. },
  22112. "relatedlot": {
  22113. "description": "已关联数量(已关联数量手) | db:关联手数",
  22114. "type": "number"
  22115. },
  22116. "relatedouttradeid": {
  22117. "description": "关联外部成交单ID",
  22118. "type": "string"
  22119. },
  22120. "relatedqty": {
  22121. "description": "关联数量",
  22122. "type": "number"
  22123. },
  22124. "spotcontractid": {
  22125. "description": "现货合同ID [4:套期保值\\10\\11]",
  22126. "type": "string"
  22127. },
  22128. "taname": {
  22129. "description": "期货账户名称",
  22130. "type": "string"
  22131. },
  22132. "tradeamount": {
  22133. "description": "成交金额(账户)",
  22134. "type": "number"
  22135. },
  22136. "tradedate": {
  22137. "description": "交易日(yyyyMMdd)",
  22138. "type": "string"
  22139. },
  22140. "tradeid": {
  22141. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22142. "type": "string"
  22143. },
  22144. "tradelot": {
  22145. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  22146. "type": "integer"
  22147. },
  22148. "tradeprice": {
  22149. "description": "成交价格",
  22150. "type": "number"
  22151. },
  22152. "tradetime": {
  22153. "description": "时间 | db:成交时间",
  22154. "type": "string"
  22155. },
  22156. "tradetype": {
  22157. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22158. "type": "integer"
  22159. },
  22160. "userid": {
  22161. "description": "所属机构 - 所属母账户的UserID",
  22162. "type": "string"
  22163. },
  22164. "username": {
  22165. "description": "用户名称",
  22166. "type": "string"
  22167. }
  22168. }
  22169. },
  22170. "models.Ermcp3ParamChangeApp": {
  22171. "type": "object",
  22172. "properties": {
  22173. "aftervalue": {
  22174. "description": "变更后",
  22175. "type": "number"
  22176. },
  22177. "applicationid": {
  22178. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22179. "type": "string"
  22180. },
  22181. "applyid": {
  22182. "description": "申请人",
  22183. "type": "string"
  22184. },
  22185. "applyname": {
  22186. "description": "申请人名称(代码)",
  22187. "type": "string"
  22188. },
  22189. "applyremark": {
  22190. "description": "申请备注",
  22191. "type": "string"
  22192. },
  22193. "applysrc": {
  22194. "description": "申请来源 - 1:管理端 2:终端",
  22195. "type": "integer"
  22196. },
  22197. "applystatus": {
  22198. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22199. "type": "integer"
  22200. },
  22201. "applytime": {
  22202. "description": "申请时间",
  22203. "type": "string"
  22204. },
  22205. "areauserid": {
  22206. "description": "所属机构用户ID",
  22207. "type": "integer"
  22208. },
  22209. "auditid": {
  22210. "description": "审核人",
  22211. "type": "string"
  22212. },
  22213. "auditname": {
  22214. "description": "审核人名称(代码)",
  22215. "type": "string"
  22216. },
  22217. "auditremark": {
  22218. "description": "审核备注",
  22219. "type": "string"
  22220. },
  22221. "auditsrc": {
  22222. "description": "审核来源 - 1:管理端 2:终端",
  22223. "type": "integer"
  22224. },
  22225. "audittime": {
  22226. "description": "审核时间",
  22227. "type": "string"
  22228. },
  22229. "audittradedate": {
  22230. "description": "审核交易日(yyyyMMdd)",
  22231. "type": "string"
  22232. },
  22233. "beforevalue": {
  22234. "description": "变更前",
  22235. "type": "number"
  22236. },
  22237. "deliverygoodscode": {
  22238. "description": "品种代码",
  22239. "type": "string"
  22240. },
  22241. "deliverygoodsid": {
  22242. "description": "品种id",
  22243. "type": "integer"
  22244. },
  22245. "deliverygoodsname": {
  22246. "description": "品种名称",
  22247. "type": "string"
  22248. },
  22249. "middlegoodscode": {
  22250. "description": "套保品种代码",
  22251. "type": "string"
  22252. },
  22253. "middlegoodsid": {
  22254. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22255. "type": "integer"
  22256. },
  22257. "middlegoodsname": {
  22258. "description": "套保品种名称",
  22259. "type": "string"
  22260. },
  22261. "operatetype": {
  22262. "description": "操作类型 - 1:新增 2:修改",
  22263. "type": "integer"
  22264. },
  22265. "paramchangetype": {
  22266. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22267. "type": "integer"
  22268. },
  22269. "wrstandardcode": {
  22270. "description": "现货商品代码",
  22271. "type": "string"
  22272. },
  22273. "wrstandardid": {
  22274. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22275. "type": "integer"
  22276. },
  22277. "wrstandardname": {
  22278. "description": "现货商品名称",
  22279. "type": "string"
  22280. }
  22281. }
  22282. },
  22283. "models.Ermcp3RootUserAccount": {
  22284. "type": "object",
  22285. "properties": {
  22286. "accountname": {
  22287. "description": "账户名称(机构名称)",
  22288. "type": "string"
  22289. },
  22290. "accountstatus": {
  22291. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22292. "type": "integer"
  22293. },
  22294. "applysrc": {
  22295. "description": "申请来源 - 1:管理端 2:终端",
  22296. "type": "integer"
  22297. },
  22298. "auditremark": {
  22299. "description": "审核备注",
  22300. "type": "string"
  22301. },
  22302. "auditsrc": {
  22303. "description": "审核来源 - 1:管理端 2:终端",
  22304. "type": "integer"
  22305. },
  22306. "audittime": {
  22307. "description": "审核时间",
  22308. "type": "string"
  22309. },
  22310. "audituserid": {
  22311. "description": "审核人",
  22312. "type": "integer"
  22313. },
  22314. "broker": {
  22315. "description": "所属经纪人ID",
  22316. "type": "integer"
  22317. },
  22318. "canceltime": {
  22319. "description": "销户时间",
  22320. "type": "string"
  22321. },
  22322. "canceluserid": {
  22323. "description": "销户人",
  22324. "type": "integer"
  22325. },
  22326. "canrecommend": {
  22327. "description": "是否可推荐 - 0:不可 1;可",
  22328. "type": "integer"
  22329. },
  22330. "createtime": {
  22331. "description": "创建时间",
  22332. "type": "string"
  22333. },
  22334. "creatorid": {
  22335. "description": "创建人",
  22336. "type": "integer"
  22337. },
  22338. "hasauth": {
  22339. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22340. "type": "integer"
  22341. },
  22342. "isanonymous": {
  22343. "description": "是否匿名下单 - 0:否 1:是",
  22344. "type": "integer"
  22345. },
  22346. "maxinvestornum": {
  22347. "description": "最大用户数(经纪会员下投资者个数)",
  22348. "type": "integer"
  22349. },
  22350. "memberuserid": {
  22351. "description": "所属会员ID",
  22352. "type": "integer"
  22353. },
  22354. "modifierid": {
  22355. "description": "修改人",
  22356. "type": "integer"
  22357. },
  22358. "modifyremark": {
  22359. "description": "变更备注",
  22360. "type": "string"
  22361. },
  22362. "modifystatus": {
  22363. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22364. "type": "integer"
  22365. },
  22366. "modifytime": {
  22367. "description": "修改时间",
  22368. "type": "string"
  22369. },
  22370. "parenttopuser": {
  22371. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22372. "type": "string"
  22373. },
  22374. "parentuserid": {
  22375. "description": "所属机构ID",
  22376. "type": "integer"
  22377. },
  22378. "reckonaccountid": {
  22379. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22380. "type": "integer"
  22381. },
  22382. "refercount": {
  22383. "description": "推荐总人数",
  22384. "type": "integer"
  22385. },
  22386. "refereeuserid": {
  22387. "description": "推荐人ID",
  22388. "type": "integer"
  22389. },
  22390. "refernum": {
  22391. "description": "推荐码",
  22392. "type": "string"
  22393. },
  22394. "rootuserid": {
  22395. "description": "根用户ID",
  22396. "type": "integer"
  22397. },
  22398. "subaccountlevel": {
  22399. "description": "子账户层数",
  22400. "type": "integer"
  22401. },
  22402. "subarealevelpath": {
  22403. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22404. "type": "string"
  22405. },
  22406. "userid": {
  22407. "description": "用户ID",
  22408. "type": "integer"
  22409. },
  22410. "usertype": {
  22411. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22412. "type": "integer"
  22413. }
  22414. }
  22415. },
  22416. "models.Ermcp3SCMiddleGoods": {
  22417. "type": "object",
  22418. "properties": {
  22419. "biztype": {
  22420. "description": "业务类型 1:套保 2:套利",
  22421. "type": "integer"
  22422. },
  22423. "contractno": {
  22424. "description": "合同编号",
  22425. "type": "string"
  22426. },
  22427. "contracttype": {
  22428. "description": "合同类型 1:采购 -1:销售",
  22429. "type": "integer"
  22430. },
  22431. "convertratio": {
  22432. "description": "折算系数",
  22433. "type": "number"
  22434. },
  22435. "customername": {
  22436. "description": "对手手名称",
  22437. "type": "string"
  22438. },
  22439. "customeruserid": {
  22440. "description": "对手id",
  22441. "type": "integer"
  22442. },
  22443. "deliverygoodscode": {
  22444. "description": "现货品种代码",
  22445. "type": "string"
  22446. },
  22447. "deliverygoodsid": {
  22448. "description": "现货品种ID",
  22449. "type": "integer"
  22450. },
  22451. "deliverygoodsname": {
  22452. "description": "现货品种名称",
  22453. "type": "string"
  22454. },
  22455. "enumdicname": {
  22456. "description": "现货单位名称",
  22457. "type": "string"
  22458. },
  22459. "middlegoodsid": {
  22460. "description": "套保品种ID",
  22461. "type": "integer"
  22462. },
  22463. "middlegoodspricedqty3": {
  22464. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22465. "type": "number"
  22466. },
  22467. "needhedgeratio": {
  22468. "description": "套保比例",
  22469. "type": "number"
  22470. },
  22471. "pricedqty": {
  22472. "description": "已定价量",
  22473. "type": "number"
  22474. },
  22475. "relatedmiddlegoodsqty": {
  22476. "description": "已关联量(套保品种)(期货)",
  22477. "type": "number"
  22478. },
  22479. "spotcontractid": {
  22480. "description": "合同编号",
  22481. "type": "string"
  22482. },
  22483. "unitid": {
  22484. "description": "现货单位id",
  22485. "type": "integer"
  22486. },
  22487. "userid": {
  22488. "description": "用户id",
  22489. "type": "integer"
  22490. },
  22491. "vatrate": {
  22492. "description": "增值税率",
  22493. "type": "number"
  22494. },
  22495. "wrstandardcode": {
  22496. "description": "现货商品代码",
  22497. "type": "string"
  22498. },
  22499. "wrstandardid": {
  22500. "description": "现货商品id",
  22501. "type": "integer"
  22502. },
  22503. "wrstandardname": {
  22504. "description": "现货商品名称",
  22505. "type": "string"
  22506. }
  22507. }
  22508. },
  22509. "models.Ermcp3SCMiddleGoodsReport": {
  22510. "type": "object",
  22511. "properties": {
  22512. "begindate": {
  22513. "description": "开始交易日",
  22514. "type": "string"
  22515. },
  22516. "contractno": {
  22517. "description": "合同编号",
  22518. "type": "string"
  22519. },
  22520. "contracttype": {
  22521. "description": "合同类型 1:采购 -1:销售",
  22522. "type": "integer"
  22523. },
  22524. "convertratio": {
  22525. "description": "折算系数",
  22526. "type": "number"
  22527. },
  22528. "cycletime": {
  22529. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22530. "type": "string"
  22531. },
  22532. "cycletype": {
  22533. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22534. "type": "integer"
  22535. },
  22536. "deliverygoodscode": {
  22537. "description": "品种代码",
  22538. "type": "string"
  22539. },
  22540. "deliverygoodsid": {
  22541. "description": "现货品种ID",
  22542. "type": "integer"
  22543. },
  22544. "deliverygoodsname": {
  22545. "description": "品种名称",
  22546. "type": "string"
  22547. },
  22548. "diffprice": {
  22549. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  22550. "type": "number"
  22551. },
  22552. "diffqty": {
  22553. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  22554. "type": "number"
  22555. },
  22556. "enddate": {
  22557. "description": "结束交易日",
  22558. "type": "string"
  22559. },
  22560. "hedgeplanqty": {
  22561. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  22562. "type": "number"
  22563. },
  22564. "matchname": {
  22565. "description": "交易对手方(个人:用户名称 企业:简称)",
  22566. "type": "string"
  22567. },
  22568. "middlegoodscode": {
  22569. "description": "套保品种代码",
  22570. "type": "string"
  22571. },
  22572. "middlegoodsid": {
  22573. "description": "套保品种ID",
  22574. "type": "integer"
  22575. },
  22576. "middlegoodsname": {
  22577. "description": "套保品种名称",
  22578. "type": "string"
  22579. },
  22580. "middlegoodspricedqty": {
  22581. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  22582. "type": "number"
  22583. },
  22584. "middlegoodspricedqty2": {
  22585. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  22586. "type": "number"
  22587. },
  22588. "middlegoodspricedqty3": {
  22589. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22590. "type": "number"
  22591. },
  22592. "needhedgeratio": {
  22593. "description": "套保系数",
  22594. "type": "number"
  22595. },
  22596. "pricedamount": {
  22597. "description": "已定价额(现货)",
  22598. "type": "number"
  22599. },
  22600. "pricedamount2": {
  22601. "description": "已定价额(现货-基价额)",
  22602. "type": "number"
  22603. },
  22604. "pricedqty": {
  22605. "description": "已定价量(现货)",
  22606. "type": "number"
  22607. },
  22608. "reckondate": {
  22609. "description": "日照时期(yyyyMMdd)",
  22610. "type": "string"
  22611. },
  22612. "relatedmiddlegoodsamount": {
  22613. "description": "已关联额(期货)",
  22614. "type": "number"
  22615. },
  22616. "relatedmiddlegoodsqty": {
  22617. "description": "已关联量(套保品种)(期货)",
  22618. "type": "number"
  22619. },
  22620. "spotcontractid": {
  22621. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22622. "type": "string"
  22623. },
  22624. "todayavgfutuprice": {
  22625. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  22626. "type": "number"
  22627. },
  22628. "todayavgprice": {
  22629. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  22630. "type": "number"
  22631. },
  22632. "todayavgprice2": {
  22633. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  22634. "type": "number"
  22635. },
  22636. "todaypricedamount": {
  22637. "description": "今日定价额(现货)",
  22638. "type": "number"
  22639. },
  22640. "todaypricedamount2": {
  22641. "description": "今日定价额(现货-基价额)",
  22642. "type": "number"
  22643. },
  22644. "todaypricedqty": {
  22645. "description": "今日定价量(现货)",
  22646. "type": "number"
  22647. },
  22648. "todayrelatedfutureqty": {
  22649. "description": "今日关联量(期货)",
  22650. "type": "number"
  22651. },
  22652. "todayrelatedmiddlegoodsamount": {
  22653. "description": "今日关联额(期货)",
  22654. "type": "number"
  22655. },
  22656. "todayrelatedmiddlegoodsqty": {
  22657. "description": "今日关联量(套保品-期货)",
  22658. "type": "number"
  22659. },
  22660. "updatetime": {
  22661. "description": "更新时间",
  22662. "type": "string"
  22663. },
  22664. "userid": {
  22665. "description": "合同所属用户id",
  22666. "type": "integer"
  22667. },
  22668. "vatrate": {
  22669. "description": "增值税率",
  22670. "type": "number"
  22671. },
  22672. "wrstandardcode": {
  22673. "description": "商品(品类) 代码",
  22674. "type": "string"
  22675. },
  22676. "wrstandardid": {
  22677. "description": "现货商品ID",
  22678. "type": "integer"
  22679. },
  22680. "wrstandardname": {
  22681. "description": "商品(品类) 名称",
  22682. "type": "string"
  22683. }
  22684. }
  22685. },
  22686. "models.Ermcp3SellBuyContract": {
  22687. "type": "object",
  22688. "properties": {
  22689. "accountid": {
  22690. "description": "期货账户id",
  22691. "type": "string"
  22692. },
  22693. "accountname": {
  22694. "description": "账户名称",
  22695. "type": "string"
  22696. },
  22697. "attachment": {
  22698. "description": "附件",
  22699. "type": "string"
  22700. },
  22701. "audittime": {
  22702. "description": "审核时间",
  22703. "type": "string"
  22704. },
  22705. "biztype": {
  22706. "description": "业务类型 1-套保 2-套利",
  22707. "type": "integer"
  22708. },
  22709. "brandname": {
  22710. "description": "品牌名称",
  22711. "type": "string"
  22712. },
  22713. "contracctstatus": {
  22714. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22715. "type": "integer"
  22716. },
  22717. "contractmargin": {
  22718. "description": "合同保证金",
  22719. "type": "number"
  22720. },
  22721. "contractno": {
  22722. "description": "合同编号",
  22723. "type": "string"
  22724. },
  22725. "contracttype": {
  22726. "description": "合同类型 1-采购, -1-销售",
  22727. "type": "integer"
  22728. },
  22729. "convertfactor": {
  22730. "description": "标仓系数(品类)",
  22731. "type": "number"
  22732. },
  22733. "createtime": {
  22734. "description": "创建时间",
  22735. "type": "string"
  22736. },
  22737. "currencyid": {
  22738. "description": "币种id",
  22739. "type": "integer"
  22740. },
  22741. "currencyname": {
  22742. "description": "币种名称",
  22743. "type": "string"
  22744. },
  22745. "daikaiamount": {
  22746. "description": "应收(开)票额",
  22747. "type": "number"
  22748. },
  22749. "deliveryenddate": {
  22750. "description": "交割结束日",
  22751. "type": "string"
  22752. },
  22753. "deliverygoodscode": {
  22754. "description": "现货品种代码",
  22755. "type": "string"
  22756. },
  22757. "deliverygoodsid": {
  22758. "description": "现货商品ID",
  22759. "type": "integer"
  22760. },
  22761. "deliverygoodsname": {
  22762. "description": "现货品种名称",
  22763. "type": "string"
  22764. },
  22765. "deliverystartdate": {
  22766. "description": "交割开始日",
  22767. "type": "string"
  22768. },
  22769. "enddate": {
  22770. "description": "点价结束日",
  22771. "type": "string"
  22772. },
  22773. "enumdicname": {
  22774. "description": "单位名称",
  22775. "type": "string"
  22776. },
  22777. "goodscode": {
  22778. "description": "点价商品代码",
  22779. "type": "string"
  22780. },
  22781. "goodsid": {
  22782. "description": "点价商品ID",
  22783. "type": "integer"
  22784. },
  22785. "goodsname": {
  22786. "description": "点价商品名称",
  22787. "type": "string"
  22788. },
  22789. "invoiceamount": {
  22790. "description": "已开票额",
  22791. "type": "number"
  22792. },
  22793. "loanamount": {
  22794. "description": "贷款总额=已定价额+调整金额",
  22795. "type": "number"
  22796. },
  22797. "margin": {
  22798. "description": "保证金",
  22799. "type": "number"
  22800. },
  22801. "meruserid": {
  22802. "description": "跟单员id",
  22803. "type": "integer"
  22804. },
  22805. "meruserlogincode": {
  22806. "description": "跟单员登录代码",
  22807. "type": "string"
  22808. },
  22809. "merusername": {
  22810. "description": "跟单员名称",
  22811. "type": "string"
  22812. },
  22813. "nickname": {
  22814. "description": "账户昵称",
  22815. "type": "string"
  22816. },
  22817. "payamount": {
  22818. "description": "已收付额(收款或付款)",
  22819. "type": "number"
  22820. },
  22821. "preinvoiceamount": {
  22822. "description": "预收(开)票额",
  22823. "type": "number"
  22824. },
  22825. "prepayamount": {
  22826. "description": "预收付额",
  22827. "type": "number"
  22828. },
  22829. "price": {
  22830. "description": "价格",
  22831. "type": "number"
  22832. },
  22833. "pricedamount": {
  22834. "description": "已定价额",
  22835. "type": "number"
  22836. },
  22837. "pricedavg": {
  22838. "description": "已点均价",
  22839. "type": "number"
  22840. },
  22841. "pricedqty": {
  22842. "description": "已定价量",
  22843. "type": "number"
  22844. },
  22845. "pricemove": {
  22846. "description": "升贴水",
  22847. "type": "number"
  22848. },
  22849. "pricetype": {
  22850. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22851. "type": "integer"
  22852. },
  22853. "producttype": {
  22854. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22855. "type": "integer"
  22856. },
  22857. "qty": {
  22858. "description": "合同量",
  22859. "type": "number"
  22860. },
  22861. "reckonadjustamount": {
  22862. "description": "调整金额",
  22863. "type": "number"
  22864. },
  22865. "reckonedamount": {
  22866. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  22867. "type": "number"
  22868. },
  22869. "reckonotheramount": {
  22870. "description": "其它费用",
  22871. "type": "number"
  22872. },
  22873. "reckonrealqty": {
  22874. "description": "已确定量",
  22875. "type": "number"
  22876. },
  22877. "remark": {
  22878. "description": "备注",
  22879. "type": "string"
  22880. },
  22881. "saleuserid": {
  22882. "description": "业务员id",
  22883. "type": "integer"
  22884. },
  22885. "saleuserlogincode": {
  22886. "description": "业务员登录代码",
  22887. "type": "string"
  22888. },
  22889. "saleusername": {
  22890. "description": "业务员名称",
  22891. "type": "string"
  22892. },
  22893. "spotcontractid": {
  22894. "description": "合同ID",
  22895. "type": "string"
  22896. },
  22897. "spotgoodsbrandid": {
  22898. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22899. "type": "integer"
  22900. },
  22901. "spotgoodsdesc": {
  22902. "description": "商品型号(商品规格)",
  22903. "type": "string"
  22904. },
  22905. "startdate": {
  22906. "description": "点价开始日",
  22907. "type": "string"
  22908. },
  22909. "subjectid": {
  22910. "description": "交易主体ID",
  22911. "type": "integer"
  22912. },
  22913. "subjectname": {
  22914. "description": "交易主体名称",
  22915. "type": "string"
  22916. },
  22917. "totalamount": {
  22918. "description": "合计总额",
  22919. "type": "number"
  22920. },
  22921. "tradeuserid": {
  22922. "description": "交易员id",
  22923. "type": "integer"
  22924. },
  22925. "tradeuserlogincode": {
  22926. "description": "交易员登录代码",
  22927. "type": "string"
  22928. },
  22929. "tradeusername": {
  22930. "description": "交易员名称",
  22931. "type": "string"
  22932. },
  22933. "unpayamount": {
  22934. "description": "应收付款额(应支付或应收款)",
  22935. "type": "number"
  22936. },
  22937. "unpricedqty": {
  22938. "description": "未定价量",
  22939. "type": "number"
  22940. },
  22941. "unsureqty": {
  22942. "description": "未确定量",
  22943. "type": "number"
  22944. },
  22945. "userid": {
  22946. "description": "机构ID",
  22947. "type": "integer"
  22948. },
  22949. "vatrate": {
  22950. "description": "增值税率",
  22951. "type": "number"
  22952. },
  22953. "wrstandardcode": {
  22954. "description": "品类代码",
  22955. "type": "string"
  22956. },
  22957. "wrstandardid": {
  22958. "description": "品类ID",
  22959. "type": "integer"
  22960. },
  22961. "wrstandardname": {
  22962. "description": "品类名称",
  22963. "type": "string"
  22964. }
  22965. }
  22966. },
  22967. "models.Ermcp3SpotGoodsPrice": {
  22968. "type": "object",
  22969. "properties": {
  22970. "areauserid": {
  22971. "description": "所属机构id",
  22972. "type": "integer"
  22973. },
  22974. "brandname": {
  22975. "description": "品牌名称",
  22976. "type": "string"
  22977. },
  22978. "currencyid": {
  22979. "description": "报价货币ID",
  22980. "type": "integer"
  22981. },
  22982. "currencyname": {
  22983. "description": "币种名称",
  22984. "type": "string"
  22985. },
  22986. "deliverygoodscode": {
  22987. "description": "现货商品代码",
  22988. "type": "string"
  22989. },
  22990. "deliverygoodsid": {
  22991. "description": "现货商品id",
  22992. "type": "integer"
  22993. },
  22994. "deliverygoodsname": {
  22995. "description": "现货商品名称",
  22996. "type": "string"
  22997. },
  22998. "enumdicname": {
  22999. "description": "现货商品单位名称",
  23000. "type": "string"
  23001. },
  23002. "gbenumdicname": {
  23003. "description": "品类单位名称",
  23004. "type": "string"
  23005. },
  23006. "gmunitid": {
  23007. "description": "品类单位id",
  23008. "type": "integer"
  23009. },
  23010. "isvalid": {
  23011. "description": "是否有效 - 0:无效 1:有效",
  23012. "type": "integer"
  23013. },
  23014. "operateid": {
  23015. "description": "最后操作人",
  23016. "type": "integer"
  23017. },
  23018. "operatesrc": {
  23019. "description": "最后操作来源 - 1:管理端 2:终端",
  23020. "type": "integer"
  23021. },
  23022. "operatetime": {
  23023. "description": "最后操作时间",
  23024. "type": "string"
  23025. },
  23026. "operatorname": {
  23027. "description": "操作人名称",
  23028. "type": "string"
  23029. },
  23030. "spotgoodsbrandid": {
  23031. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23032. "type": "integer"
  23033. },
  23034. "spotgoodsprice": {
  23035. "description": "现货价格",
  23036. "type": "number"
  23037. },
  23038. "tradedate": {
  23039. "description": "交易日(yyyyMMdd)",
  23040. "type": "string"
  23041. },
  23042. "unitid": {
  23043. "description": "现货商品单位id",
  23044. "type": "integer"
  23045. },
  23046. "wrstandardcode": {
  23047. "description": "品类代码",
  23048. "type": "string"
  23049. },
  23050. "wrstandardid": {
  23051. "description": "现货品类ID(通用则为0)",
  23052. "type": "integer"
  23053. },
  23054. "wrstandardname": {
  23055. "description": "品类名称",
  23056. "type": "string"
  23057. }
  23058. }
  23059. },
  23060. "models.Ermcp3SpotGoodsPriceLog": {
  23061. "type": "object",
  23062. "properties": {
  23063. "areauserid": {
  23064. "description": "所属机构id",
  23065. "type": "integer"
  23066. },
  23067. "brandname": {
  23068. "description": "品牌名称",
  23069. "type": "string"
  23070. },
  23071. "currencyid": {
  23072. "description": "报价货币ID",
  23073. "type": "integer"
  23074. },
  23075. "deliverygoodscode": {
  23076. "description": "现货商品代码",
  23077. "type": "string"
  23078. },
  23079. "deliverygoodsid": {
  23080. "description": "现货商品id",
  23081. "type": "integer"
  23082. },
  23083. "deliverygoodsname": {
  23084. "description": "现货商品名称",
  23085. "type": "string"
  23086. },
  23087. "enumdicname": {
  23088. "description": "现货商品单位名称",
  23089. "type": "string"
  23090. },
  23091. "gbenumdicname": {
  23092. "description": "品类单位名称",
  23093. "type": "string"
  23094. },
  23095. "gmunitid": {
  23096. "description": "品类单位id",
  23097. "type": "integer"
  23098. },
  23099. "logid": {
  23100. "description": "日志id",
  23101. "type": "integer"
  23102. },
  23103. "operateid": {
  23104. "description": "最后操作人",
  23105. "type": "integer"
  23106. },
  23107. "operatesrc": {
  23108. "description": "最后操作来源 - 1:管理端 2:终端",
  23109. "type": "integer"
  23110. },
  23111. "operatetime": {
  23112. "description": "最后操作时间",
  23113. "type": "string"
  23114. },
  23115. "operatorname": {
  23116. "description": "操作人名称",
  23117. "type": "string"
  23118. },
  23119. "spotgoodsbrandid": {
  23120. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23121. "type": "integer"
  23122. },
  23123. "spotgoodsprice": {
  23124. "description": "现货价格",
  23125. "type": "number"
  23126. },
  23127. "tradedate": {
  23128. "description": "交易日(yyyyMMdd)",
  23129. "type": "string"
  23130. },
  23131. "unitid": {
  23132. "description": "现货商品单位id",
  23133. "type": "integer"
  23134. },
  23135. "wrstandardcode": {
  23136. "description": "品类代码",
  23137. "type": "string"
  23138. },
  23139. "wrstandardid": {
  23140. "description": "现货品类ID(通用则为0)",
  23141. "type": "integer"
  23142. },
  23143. "wrstandardname": {
  23144. "description": "品类名称",
  23145. "type": "string"
  23146. }
  23147. }
  23148. },
  23149. "models.Ermcp3SubTaaccount": {
  23150. "type": "object",
  23151. "properties": {
  23152. "accountid": {
  23153. "description": "资金账户ID",
  23154. "type": "integer"
  23155. },
  23156. "parentaccountcode": {
  23157. "description": "所属根账号代码(母账号代码)",
  23158. "type": "string"
  23159. },
  23160. "parentaccountid": {
  23161. "description": "所属根账号(母账号)",
  23162. "type": "integer"
  23163. },
  23164. "taname": {
  23165. "description": "资金账号名称",
  23166. "type": "string"
  23167. },
  23168. "tradestatus": {
  23169. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  23170. "type": "integer"
  23171. },
  23172. "username": {
  23173. "description": "交易用户",
  23174. "type": "string"
  23175. }
  23176. }
  23177. },
  23178. "models.Ermcp3TaFutuReDataReport": {
  23179. "type": "object",
  23180. "properties": {
  23181. "accountid": {
  23182. "description": "交易账户",
  23183. "type": "integer"
  23184. },
  23185. "accountname": {
  23186. "description": "交易账号名称",
  23187. "type": "string"
  23188. },
  23189. "agreeunit": {
  23190. "description": "商品合约单位",
  23191. "type": "number"
  23192. },
  23193. "begindate": {
  23194. "description": "开始交易日",
  23195. "type": "string"
  23196. },
  23197. "buyorsell": {
  23198. "description": "持仓方向",
  23199. "type": "integer"
  23200. },
  23201. "charge": {
  23202. "description": "手续费",
  23203. "type": "number"
  23204. },
  23205. "closeavgprice": {
  23206. "description": "平仓均价",
  23207. "type": "number"
  23208. },
  23209. "closepl": {
  23210. "description": "平仓损益",
  23211. "type": "number"
  23212. },
  23213. "currencyid": {
  23214. "description": "结算币种ID",
  23215. "type": "integer"
  23216. },
  23217. "currencyname": {
  23218. "description": "币种名称",
  23219. "type": "string"
  23220. },
  23221. "cycletime": {
  23222. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23223. "type": "string"
  23224. },
  23225. "cycletype": {
  23226. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23227. "type": "integer"
  23228. },
  23229. "enddate": {
  23230. "description": "结束交易日",
  23231. "type": "string"
  23232. },
  23233. "enumdicname": {
  23234. "description": "单位名称",
  23235. "type": "string"
  23236. },
  23237. "floatpl": {
  23238. "description": "浮动损益",
  23239. "type": "number"
  23240. },
  23241. "goodscode": {
  23242. "description": "交易合约代码",
  23243. "type": "string"
  23244. },
  23245. "goodsgroupid": {
  23246. "description": "交易品种",
  23247. "type": "integer"
  23248. },
  23249. "goodsgroupname": {
  23250. "description": "交易品种名称",
  23251. "type": "string"
  23252. },
  23253. "goodsgroupspotqty": {
  23254. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23255. "type": "number"
  23256. },
  23257. "goodsid": {
  23258. "description": "交易合约",
  23259. "type": "integer"
  23260. },
  23261. "goodsname": {
  23262. "description": "交易合约名称",
  23263. "type": "string"
  23264. },
  23265. "goodunitid": {
  23266. "description": "交易合约单位id",
  23267. "type": "integer"
  23268. },
  23269. "holdamount": {
  23270. "description": "期末持仓额",
  23271. "type": "number"
  23272. },
  23273. "holdqty": {
  23274. "description": "期末持仓量",
  23275. "type": "number"
  23276. },
  23277. "lastholdamount": {
  23278. "description": "当前持仓额",
  23279. "type": "number"
  23280. },
  23281. "lastprice": {
  23282. "description": "最新价",
  23283. "type": "number"
  23284. },
  23285. "middlegoodsid": {
  23286. "description": "套保品种id",
  23287. "type": "integer"
  23288. },
  23289. "middlegoodsname": {
  23290. "description": "套保商品名称",
  23291. "type": "string"
  23292. },
  23293. "middlegoodsqty": {
  23294. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23295. "type": "number"
  23296. },
  23297. "middlgoodscode": {
  23298. "description": "套保商品代码",
  23299. "type": "string"
  23300. },
  23301. "openamount": {
  23302. "description": "期末开仓额",
  23303. "type": "number"
  23304. },
  23305. "openavgprice": {
  23306. "description": "开仓均价",
  23307. "type": "number"
  23308. },
  23309. "oriholdamount": {
  23310. "description": "期初持仓额",
  23311. "type": "number"
  23312. },
  23313. "oriholdqty": {
  23314. "description": "期初持仓量",
  23315. "type": "number"
  23316. },
  23317. "oriopenamount": {
  23318. "description": "期初开仓额",
  23319. "type": "number"
  23320. },
  23321. "outergroupcode": {
  23322. "description": "交易品种代码",
  23323. "type": "string"
  23324. },
  23325. "qtydecimalplace": {
  23326. "description": "成交量小数位",
  23327. "type": "integer"
  23328. },
  23329. "reckondate": {
  23330. "description": "日照时期(yyyyMMdd)",
  23331. "type": "string"
  23332. },
  23333. "reckonholdamount": {
  23334. "description": "结算持仓额",
  23335. "type": "number"
  23336. },
  23337. "reckonpl": {
  23338. "description": "结算损益",
  23339. "type": "number"
  23340. },
  23341. "reckonpl2": {
  23342. "description": "结算逐笔盈亏",
  23343. "type": "number"
  23344. },
  23345. "reckonprice": {
  23346. "description": "结算价",
  23347. "type": "number"
  23348. },
  23349. "relateduserid": {
  23350. "description": "账户关联用户ID",
  23351. "type": "integer"
  23352. },
  23353. "todaycloseamount": {
  23354. "description": "今平仓额",
  23355. "type": "number"
  23356. },
  23357. "todaycloseqty": {
  23358. "description": "今平仓量",
  23359. "type": "number"
  23360. },
  23361. "todaygoodsgroupspotqty": {
  23362. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23363. "type": "number"
  23364. },
  23365. "todaymiddlegoodsqty": {
  23366. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23367. "type": "number"
  23368. },
  23369. "todayopenamount": {
  23370. "description": "今开仓额",
  23371. "type": "number"
  23372. },
  23373. "todayopenqty": {
  23374. "description": "今开仓量",
  23375. "type": "number"
  23376. },
  23377. "userid": {
  23378. "description": "账户所属用户ID",
  23379. "type": "integer"
  23380. }
  23381. }
  23382. },
  23383. "models.Ermcp3TradeLinkDetail": {
  23384. "type": "object",
  23385. "properties": {
  23386. "accountid": {
  23387. "description": "资金账号",
  23388. "type": "integer"
  23389. },
  23390. "agreeunit": {
  23391. "description": "合约乘数",
  23392. "type": "number"
  23393. },
  23394. "areauserid": {
  23395. "description": "所属机构",
  23396. "type": "string"
  23397. },
  23398. "bizsubjectid": {
  23399. "description": "归属业务部门ID - SubjectID",
  23400. "type": "string"
  23401. },
  23402. "buyorsell": {
  23403. "description": "方向 - 0:买 1:卖",
  23404. "type": "integer"
  23405. },
  23406. "channelbuildtype": {
  23407. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23408. "type": "integer"
  23409. },
  23410. "contractno": {
  23411. "description": "现货编号 (合同编号)",
  23412. "type": "string"
  23413. },
  23414. "convertratio": {
  23415. "description": "折算系数",
  23416. "type": "number"
  23417. },
  23418. "createtime": {
  23419. "description": "关联时间 | 创建时间",
  23420. "type": "string"
  23421. },
  23422. "creatorid": {
  23423. "description": "创建人ID",
  23424. "type": "string"
  23425. },
  23426. "creatorsrc": {
  23427. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23428. "type": "integer"
  23429. },
  23430. "enumdicname": {
  23431. "description": "单位名称",
  23432. "type": "string"
  23433. },
  23434. "goodscode": {
  23435. "description": "合约代码",
  23436. "type": "string"
  23437. },
  23438. "goodsgroupid": {
  23439. "description": "对冲品种ID[期货合约商品组ID]",
  23440. "type": "integer"
  23441. },
  23442. "goodsid": {
  23443. "description": "商品ID",
  23444. "type": "integer"
  23445. },
  23446. "goodsname": {
  23447. "description": "合约名称",
  23448. "type": "string"
  23449. },
  23450. "hedgeflag": {
  23451. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23452. "type": "integer"
  23453. },
  23454. "linkdetailid": {
  23455. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23456. "type": "string"
  23457. },
  23458. "linkstatus": {
  23459. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  23460. "type": "integer"
  23461. },
  23462. "middlegoodscode": {
  23463. "description": "套保品种代码",
  23464. "type": "string"
  23465. },
  23466. "middlegoodsid": {
  23467. "description": "套保品种ID",
  23468. "type": "integer"
  23469. },
  23470. "middlegoodsname": {
  23471. "description": "套保品种名称",
  23472. "type": "string"
  23473. },
  23474. "relatedlot": {
  23475. "description": "关联手数",
  23476. "type": "number"
  23477. },
  23478. "relatedmode": {
  23479. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23480. "type": "integer"
  23481. },
  23482. "relatedqty": {
  23483. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23484. "type": "number"
  23485. },
  23486. "retcode": {
  23487. "description": "返回码",
  23488. "type": "integer"
  23489. },
  23490. "saleuserid": {
  23491. "description": "业务员ID",
  23492. "type": "string"
  23493. },
  23494. "spotcontractid": {
  23495. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23496. "type": "string"
  23497. },
  23498. "taname": {
  23499. "description": "期货账户",
  23500. "type": "string"
  23501. },
  23502. "tradedate": {
  23503. "description": "关联交易日(yyyyMMdd)",
  23504. "type": "string"
  23505. },
  23506. "tradeid": {
  23507. "description": "期货订单号 | 内部成交单ID",
  23508. "type": "string"
  23509. },
  23510. "tradelot": {
  23511. "description": "成交数量 | 成交手数",
  23512. "type": "integer"
  23513. },
  23514. "tradeprice": {
  23515. "description": "成交价格",
  23516. "type": "number"
  23517. },
  23518. "tradetime": {
  23519. "description": "期货成交时间",
  23520. "type": "string"
  23521. },
  23522. "tradetradedate": {
  23523. "description": "成交交易日(yyyyMMdd)",
  23524. "type": "string"
  23525. },
  23526. "username": {
  23527. "description": "用户名称",
  23528. "type": "string"
  23529. }
  23530. }
  23531. },
  23532. "models.Ermcp3Wrstandard": {
  23533. "type": "object",
  23534. "properties": {
  23535. "areauserid": {
  23536. "description": "所属机构",
  23537. "type": "integer"
  23538. },
  23539. "cantrade": {
  23540. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23541. "type": "integer"
  23542. },
  23543. "convertfactor": {
  23544. "description": "标仓系数",
  23545. "type": "number"
  23546. },
  23547. "createtime": {
  23548. "description": "创建时间",
  23549. "type": "string"
  23550. },
  23551. "creatorid": {
  23552. "description": "创建人",
  23553. "type": "integer"
  23554. },
  23555. "deliverygoodsid": {
  23556. "description": "现货品种ID",
  23557. "type": "integer"
  23558. },
  23559. "enumdicname": {
  23560. "description": "品类单位名称",
  23561. "type": "string"
  23562. },
  23563. "isvalid": {
  23564. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23565. "type": "integer"
  23566. },
  23567. "minivalue": {
  23568. "description": "最小变动值",
  23569. "type": "integer"
  23570. },
  23571. "minivaluedp": {
  23572. "description": "最小变动值小数位",
  23573. "type": "integer"
  23574. },
  23575. "realminivalue": {
  23576. "description": "实际最小变动值",
  23577. "type": "integer"
  23578. },
  23579. "realminivaluedp": {
  23580. "description": "实际最小变动值小数位",
  23581. "type": "integer"
  23582. },
  23583. "remark": {
  23584. "description": "备注",
  23585. "type": "string"
  23586. },
  23587. "unitid": {
  23588. "description": "品类单位ID",
  23589. "type": "integer"
  23590. },
  23591. "updatetime": {
  23592. "description": "更新时间",
  23593. "type": "string"
  23594. },
  23595. "wrstandardcode": {
  23596. "description": "品类代码",
  23597. "type": "string"
  23598. },
  23599. "wrstandardid": {
  23600. "description": "品类ID(SEQ_WRSTANDARD)",
  23601. "type": "integer"
  23602. },
  23603. "wrstandardname": {
  23604. "description": "品类名称",
  23605. "type": "string"
  23606. }
  23607. }
  23608. },
  23609. "models.ErmcpBizGroupEx": {
  23610. "type": "object",
  23611. "properties": {
  23612. "acclist": {
  23613. "description": "账号列表",
  23614. "type": "array",
  23615. "items": {
  23616. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  23617. }
  23618. },
  23619. "bizgroupid": {
  23620. "description": "业务分组id",
  23621. "type": "integer"
  23622. },
  23623. "biztype": {
  23624. "description": "业务类型 1-套保 2-套利",
  23625. "type": "integer"
  23626. },
  23627. "wrlist": {
  23628. "description": "现货商品表",
  23629. "type": "array",
  23630. "items": {
  23631. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  23632. }
  23633. }
  23634. }
  23635. },
  23636. "models.ErmcpBizGroupSpotGoods": {
  23637. "type": "object",
  23638. "properties": {
  23639. "areauserid": {
  23640. "description": "所属机构id",
  23641. "type": "integer"
  23642. },
  23643. "bizgroupid": {
  23644. "description": "分组id",
  23645. "type": "integer"
  23646. },
  23647. "biztype": {
  23648. "description": "业务类型 1-套保 2-套利",
  23649. "type": "integer"
  23650. },
  23651. "deliverygoodscode": {
  23652. "description": "现货商品代码",
  23653. "type": "string"
  23654. },
  23655. "deliverygoodsid": {
  23656. "description": "现货商品id",
  23657. "type": "integer"
  23658. },
  23659. "deliverygoodsname": {
  23660. "description": "现货商品名称",
  23661. "type": "string"
  23662. },
  23663. "unitid": {
  23664. "description": "现货商品单位id",
  23665. "type": "integer"
  23666. }
  23667. }
  23668. },
  23669. "models.ErmcpBizGroupTaAccount": {
  23670. "type": "object",
  23671. "properties": {
  23672. "accountid": {
  23673. "description": "账号id",
  23674. "type": "integer"
  23675. },
  23676. "accountname": {
  23677. "description": "账号名称",
  23678. "type": "string"
  23679. },
  23680. "areauserid": {
  23681. "description": "所属机构id",
  23682. "type": "integer"
  23683. },
  23684. "bizgroupid": {
  23685. "description": "业务分组id",
  23686. "type": "integer"
  23687. },
  23688. "ismain": {
  23689. "description": "是否主账号 1-是 0-否",
  23690. "type": "integer"
  23691. }
  23692. }
  23693. },
  23694. "models.ErmcpDGFactoryItem": {
  23695. "type": "object",
  23696. "properties": {
  23697. "areauserid": {
  23698. "description": "用户id",
  23699. "type": "integer"
  23700. },
  23701. "deliverygoodsid": {
  23702. "description": "现货品种ID",
  23703. "type": "integer"
  23704. },
  23705. "dgfactoryitemid": {
  23706. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  23707. "type": "integer"
  23708. },
  23709. "dgfactoryitemtypeid": {
  23710. "description": "要素项类型",
  23711. "type": "integer"
  23712. },
  23713. "dgfactoryitemvalue": {
  23714. "description": "要素项值(类型为仓库时填写仓库名称)",
  23715. "type": "string"
  23716. },
  23717. "isvalid": {
  23718. "description": "是否有效 - 0:无效 1:有效",
  23719. "type": "integer"
  23720. },
  23721. "orderindex": {
  23722. "description": "顺序",
  23723. "type": "integer"
  23724. },
  23725. "warehouseid": {
  23726. "description": "仓库ID(类型为仓库时填写)",
  23727. "type": "integer"
  23728. }
  23729. }
  23730. },
  23731. "models.ErmcpDeliveryGoods": {
  23732. "type": "object",
  23733. "properties": {
  23734. "agreeunit": {
  23735. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  23736. "type": "integer"
  23737. },
  23738. "areauserid": {
  23739. "description": "所属机构",
  23740. "type": "integer"
  23741. },
  23742. "auditflag": {
  23743. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  23744. "type": "integer"
  23745. },
  23746. "categoryid": {
  23747. "description": "类别ID(SEQ_WRCATEGORY)",
  23748. "type": "integer"
  23749. },
  23750. "deliverygoodscode": {
  23751. "description": "现货品种代码",
  23752. "type": "string"
  23753. },
  23754. "deliverygoodsid": {
  23755. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  23756. "type": "integer"
  23757. },
  23758. "deliverygoodsname": {
  23759. "description": "现货品种名称",
  23760. "type": "string"
  23761. },
  23762. "deliverygoodstype": {
  23763. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  23764. "type": "integer"
  23765. },
  23766. "dgstatus": {
  23767. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  23768. "type": "integer"
  23769. },
  23770. "enumdicname": {
  23771. "description": "现货品种单位名称",
  23772. "type": "string"
  23773. },
  23774. "goodsunitid": {
  23775. "description": "现货品种单位ID",
  23776. "type": "integer"
  23777. },
  23778. "isvalid": {
  23779. "description": "是否有效 - 0:无效 1:有效",
  23780. "type": "integer"
  23781. },
  23782. "qtydecimalplace": {
  23783. "description": "成交量小数位",
  23784. "type": "integer"
  23785. },
  23786. "remark": {
  23787. "description": "备注",
  23788. "type": "string"
  23789. },
  23790. "standardqty": {
  23791. "description": "标准数量(库位数量) [标准品特有]",
  23792. "type": "integer"
  23793. },
  23794. "standardqtyrange": {
  23795. "description": "标准数量偏差范围 [标准品特有]",
  23796. "type": "integer"
  23797. }
  23798. }
  23799. },
  23800. "models.ErmcpFuturesCompany": {
  23801. "type": "object",
  23802. "properties": {
  23803. "brokerid": {
  23804. "description": "经纪公司代码",
  23805. "type": "string"
  23806. },
  23807. "channeladdress": {
  23808. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  23809. "type": "string"
  23810. },
  23811. "channelid": {
  23812. "description": "对冲渠道ID",
  23813. "type": "string"
  23814. },
  23815. "createtime": {
  23816. "description": "创建时间",
  23817. "type": "string"
  23818. },
  23819. "creatorid": {
  23820. "description": "创建人",
  23821. "type": "string"
  23822. },
  23823. "fcid": {
  23824. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  23825. "type": "integer"
  23826. },
  23827. "fcname": {
  23828. "description": "期货公司名称",
  23829. "type": "string"
  23830. },
  23831. "isvalid": {
  23832. "description": "是否有效 - 0:无效 1:有效",
  23833. "type": "integer"
  23834. },
  23835. "mhpaddress": {
  23836. "description": "MHP服务地址(IP:Port)",
  23837. "type": "string"
  23838. },
  23839. "riskrulegroupid": {
  23840. "description": "风控规则组ID",
  23841. "type": "string"
  23842. },
  23843. "tradefeetmpid": {
  23844. "description": "手续费模板ID[TradeConfigTmpType为2]",
  23845. "type": "string"
  23846. },
  23847. "trademargintmpid": {
  23848. "description": "保证金模板ID [TradeConfigTmpType为1]",
  23849. "type": "string"
  23850. },
  23851. "traderatetmpid": {
  23852. "description": "汇率模板ID[TradeConfigTmpType为3]",
  23853. "type": "string"
  23854. },
  23855. "updatetime": {
  23856. "description": "更新时间",
  23857. "type": "string"
  23858. },
  23859. "updatorid": {
  23860. "description": "更新人",
  23861. "type": "string"
  23862. }
  23863. }
  23864. },
  23865. "models.ErmcpGGConvertCfg": {
  23866. "type": "object",
  23867. "properties": {
  23868. "convertratio": {
  23869. "description": "折算系数",
  23870. "type": "number"
  23871. },
  23872. "destgoodsgroupid": {
  23873. "description": "目标品种ID",
  23874. "type": "integer"
  23875. },
  23876. "dstcode": {
  23877. "description": "目录品种代码",
  23878. "type": "string"
  23879. },
  23880. "dstexchangecode": {
  23881. "description": "目标期货交易所",
  23882. "type": "string"
  23883. },
  23884. "dstname": {
  23885. "description": "目标品种名称",
  23886. "type": "string"
  23887. },
  23888. "dstunitid": {
  23889. "description": "目标品种单位ID",
  23890. "type": "integer"
  23891. },
  23892. "dstunitidname": {
  23893. "description": "目标品种单位名称",
  23894. "type": "string"
  23895. },
  23896. "modifytime": {
  23897. "description": "修改时间",
  23898. "type": "string"
  23899. },
  23900. "srccode": {
  23901. "description": "源品种代码",
  23902. "type": "string"
  23903. },
  23904. "srcexchangecode": {
  23905. "description": "源期货交易所",
  23906. "type": "string"
  23907. },
  23908. "srcgoodsgroupid": {
  23909. "description": "源品种ID",
  23910. "type": "integer"
  23911. },
  23912. "srcname": {
  23913. "description": "源品种名称",
  23914. "type": "string"
  23915. },
  23916. "srcunitid": {
  23917. "description": "源品种单位ID",
  23918. "type": "integer"
  23919. },
  23920. "srcunitidname": {
  23921. "description": "源品种单位名称",
  23922. "type": "string"
  23923. }
  23924. }
  23925. },
  23926. "models.ErmcpGoods": {
  23927. "type": "object",
  23928. "required": [
  23929. "goodscode",
  23930. "goodsid",
  23931. "goodsname",
  23932. "marketid"
  23933. ],
  23934. "properties": {
  23935. "agreeunit": {
  23936. "description": "合约单位",
  23937. "type": "number"
  23938. },
  23939. "areauserid": {
  23940. "description": "所属机构",
  23941. "type": "integer"
  23942. },
  23943. "auditaccountid": {
  23944. "description": "审核操作员账号",
  23945. "type": "integer"
  23946. },
  23947. "audittime": {
  23948. "description": "审核时间",
  23949. "type": "string"
  23950. },
  23951. "cancelaccountid": {
  23952. "description": "注销操作员账号",
  23953. "type": "integer"
  23954. },
  23955. "canceltime": {
  23956. "description": "注销时间",
  23957. "type": "string"
  23958. },
  23959. "closepricemode": {
  23960. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23961. "type": "integer"
  23962. },
  23963. "closepriceparam": {
  23964. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23965. "type": "number"
  23966. },
  23967. "createtime": {
  23968. "description": "创建时间",
  23969. "type": "string"
  23970. },
  23971. "creatorid": {
  23972. "description": "创建人",
  23973. "type": "integer"
  23974. },
  23975. "currencyid": {
  23976. "description": "报价货币ID",
  23977. "type": "integer"
  23978. },
  23979. "cutmode": {
  23980. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  23981. "type": "integer"
  23982. },
  23983. "decimalplace": {
  23984. "description": "报价小数位",
  23985. "type": "integer"
  23986. },
  23987. "delistingdate": {
  23988. "description": "商品退市时间(状态:退市) -- 已作废",
  23989. "type": "string"
  23990. },
  23991. "delistingmode": {
  23992. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  23993. "type": "integer"
  23994. },
  23995. "deliveryflag": {
  23996. "description": "交割标志 - 0:不可交割 1:可交割",
  23997. "type": "integer"
  23998. },
  23999. "enumdicname": {
  24000. "description": "单位名称",
  24001. "type": "string"
  24002. },
  24003. "forceclosemode": {
  24004. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24005. "type": "integer"
  24006. },
  24007. "forceclosevalue": {
  24008. "description": "定期强平参数 [收益权]",
  24009. "type": "integer"
  24010. },
  24011. "goodscode": {
  24012. "description": "商品代码(内部)",
  24013. "type": "string"
  24014. },
  24015. "goodscurrencyid": {
  24016. "description": "合约货币ID",
  24017. "type": "integer"
  24018. },
  24019. "goodsgroupid": {
  24020. "description": "所属商品组ID",
  24021. "type": "integer"
  24022. },
  24023. "goodsid": {
  24024. "description": "商品ID(自增ID SEQ_GOODS)",
  24025. "type": "integer"
  24026. },
  24027. "goodsname": {
  24028. "description": "商品名称",
  24029. "type": "string"
  24030. },
  24031. "goodsquotetype": {
  24032. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24033. "type": "integer"
  24034. },
  24035. "goodsstatus": {
  24036. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24037. "type": "integer"
  24038. },
  24039. "goodstradetype": {
  24040. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24041. "type": "integer"
  24042. },
  24043. "goodunitid": {
  24044. "description": "报价单位ID",
  24045. "type": "integer"
  24046. },
  24047. "hasquoter": {
  24048. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24049. "type": "integer"
  24050. },
  24051. "hqprotecttime": {
  24052. "description": "行情保护时间(秒)",
  24053. "type": "integer"
  24054. },
  24055. "innerdealmode": {
  24056. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24057. "type": "integer"
  24058. },
  24059. "isbuylimited": {
  24060. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24061. "type": "integer"
  24062. },
  24063. "isvisible": {
  24064. "description": "游客是否可见 - 0:不可见 1:可见",
  24065. "type": "integer"
  24066. },
  24067. "lasttradedate": {
  24068. "description": "最后交易日期(状态:待退市)",
  24069. "type": "string"
  24070. },
  24071. "listingdate": {
  24072. "description": "交易开始日期",
  24073. "type": "string"
  24074. },
  24075. "marketid": {
  24076. "description": "所属市场ID",
  24077. "type": "integer"
  24078. },
  24079. "modifierid": {
  24080. "description": "修改人",
  24081. "type": "integer"
  24082. },
  24083. "modifystatus": {
  24084. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24085. "type": "integer"
  24086. },
  24087. "modifytime": {
  24088. "description": "修改时间",
  24089. "type": "string"
  24090. },
  24091. "outerdealmode": {
  24092. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24093. "type": "integer"
  24094. },
  24095. "outgoodscode": {
  24096. "description": "商品代码(外部)",
  24097. "type": "string"
  24098. },
  24099. "pictureurl": {
  24100. "description": "商品图片",
  24101. "type": "string"
  24102. },
  24103. "qtydecimalplace": {
  24104. "description": "成交量小数位",
  24105. "type": "integer"
  24106. },
  24107. "quotegear": {
  24108. "description": "行情档位(1-10)",
  24109. "type": "integer"
  24110. },
  24111. "quoteminunit": {
  24112. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24113. "type": "integer"
  24114. },
  24115. "quoteshowtype": {
  24116. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24117. "type": "integer"
  24118. },
  24119. "quoteshowtypeinterval": {
  24120. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24121. "type": "integer"
  24122. },
  24123. "relatedgoodsid": {
  24124. "description": "关联参考商品ID",
  24125. "type": "integer"
  24126. },
  24127. "remark": {
  24128. "description": "备注",
  24129. "type": "string"
  24130. },
  24131. "trademode": {
  24132. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24133. "type": "integer"
  24134. }
  24135. }
  24136. },
  24137. "models.ErmcpGoodsBrand": {
  24138. "type": "object",
  24139. "properties": {
  24140. "areauserid": {
  24141. "description": "所属机构",
  24142. "type": "integer"
  24143. },
  24144. "brandid": {
  24145. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  24146. "type": "integer"
  24147. },
  24148. "brandname": {
  24149. "description": "品牌名称",
  24150. "type": "string"
  24151. },
  24152. "createtime": {
  24153. "description": "创建时间",
  24154. "type": "string"
  24155. },
  24156. "creatorid": {
  24157. "description": "创建人",
  24158. "type": "integer"
  24159. },
  24160. "creatorsrc": {
  24161. "description": "创建人来源 - 1:管理端 2:终端",
  24162. "type": "integer"
  24163. },
  24164. "deliverygoodsid": {
  24165. "description": "现货品种ID",
  24166. "type": "integer"
  24167. },
  24168. "isvalid": {
  24169. "description": "是否有效 - 0:无效 1:有效",
  24170. "type": "integer"
  24171. },
  24172. "updatetime": {
  24173. "description": "更新时间",
  24174. "type": "string"
  24175. },
  24176. "updatorid": {
  24177. "description": "更新人",
  24178. "type": "integer"
  24179. },
  24180. "updatorsrc": {
  24181. "description": "更新人来源 - 1:管理端 2:终端",
  24182. "type": "integer"
  24183. },
  24184. "wrstandardid": {
  24185. "description": "现货商品ID",
  24186. "type": "integer"
  24187. }
  24188. }
  24189. },
  24190. "models.ErmcpGoodsModel": {
  24191. "type": "object",
  24192. "properties": {
  24193. "areauserid": {
  24194. "description": "所属机构",
  24195. "type": "integer"
  24196. },
  24197. "convertfactor": {
  24198. "description": "标仓系数",
  24199. "type": "number"
  24200. },
  24201. "createtime": {
  24202. "description": "创建时间",
  24203. "type": "string"
  24204. },
  24205. "creatorid": {
  24206. "description": "创建人",
  24207. "type": "integer"
  24208. },
  24209. "creatorsrc": {
  24210. "description": "创建人来源 - 1:管理端 2:终端",
  24211. "type": "integer"
  24212. },
  24213. "deliverygoodsid": {
  24214. "description": "现货品种ID",
  24215. "type": "integer"
  24216. },
  24217. "isvalid": {
  24218. "description": "是否有效 - 0:无效 1:有效",
  24219. "type": "integer"
  24220. },
  24221. "modelid": {
  24222. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24223. "type": "integer"
  24224. },
  24225. "modelname": {
  24226. "description": "型号名称",
  24227. "type": "string"
  24228. },
  24229. "updatetime": {
  24230. "description": "更新时间",
  24231. "type": "string"
  24232. },
  24233. "updatorid": {
  24234. "description": "更新人",
  24235. "type": "integer"
  24236. },
  24237. "updatorsrc": {
  24238. "description": "更新人来源 - 1:管理端 2:终端",
  24239. "type": "integer"
  24240. },
  24241. "wrstandardid": {
  24242. "description": "现货商品ID",
  24243. "type": "integer"
  24244. }
  24245. }
  24246. },
  24247. "models.ErmcpHisExposure": {
  24248. "type": "object",
  24249. "properties": {
  24250. "needhedgeexposoure": {
  24251. "description": "应套保敞口",
  24252. "type": "number"
  24253. },
  24254. "reckondate": {
  24255. "description": "日照时期(yyyyMMdd)",
  24256. "type": "string"
  24257. },
  24258. "totalexposure": {
  24259. "description": "总敞口",
  24260. "type": "number"
  24261. }
  24262. }
  24263. },
  24264. "models.ErmcpLoginTaAccount": {
  24265. "type": "object",
  24266. "properties": {
  24267. "accountid": {
  24268. "description": "账号id",
  24269. "type": "integer"
  24270. },
  24271. "accountname": {
  24272. "description": "账号名称",
  24273. "type": "string"
  24274. }
  24275. }
  24276. },
  24277. "models.ErmcpLoginUser": {
  24278. "type": "object",
  24279. "properties": {
  24280. "acclist": {
  24281. "description": "关联资金账号",
  24282. "type": "array",
  24283. "items": {
  24284. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24285. }
  24286. },
  24287. "accountname": {
  24288. "description": "用户名称",
  24289. "type": "string"
  24290. },
  24291. "clientroleid": {
  24292. "description": "角色id(usertype=2)",
  24293. "type": "integer"
  24294. },
  24295. "createtime": {
  24296. "description": "创建时间",
  24297. "type": "string"
  24298. },
  24299. "logincode": {
  24300. "description": "登录代码",
  24301. "type": "string"
  24302. },
  24303. "loginid": {
  24304. "description": "登录id(LOGINID)",
  24305. "type": "integer"
  24306. },
  24307. "loginname": {
  24308. "description": "登录名称(loginaccount表中的accountname字段)",
  24309. "type": "string"
  24310. },
  24311. "loginstatus": {
  24312. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24313. "type": "integer"
  24314. },
  24315. "memberuserid": {
  24316. "description": "所属会员id",
  24317. "type": "integer"
  24318. },
  24319. "mobile": {
  24320. "description": "手机号",
  24321. "type": "string"
  24322. },
  24323. "modifytime": {
  24324. "description": "修改时间",
  24325. "type": "string"
  24326. },
  24327. "password": {
  24328. "description": "密码(不可解密)",
  24329. "type": "string"
  24330. },
  24331. "rolename": {
  24332. "description": "角色名称",
  24333. "type": "string"
  24334. },
  24335. "rolestatus": {
  24336. "description": "角色状态 1-启用 2-停用",
  24337. "type": "integer"
  24338. },
  24339. "roletype": {
  24340. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  24341. "type": "string"
  24342. },
  24343. "userid": {
  24344. "description": "用户id",
  24345. "type": "integer"
  24346. },
  24347. "usertype": {
  24348. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24349. "type": "integer"
  24350. }
  24351. }
  24352. },
  24353. "models.ErmcpLoginUserEx": {
  24354. "type": "object",
  24355. "properties": {
  24356. "accountstatus": {
  24357. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24358. "type": "integer"
  24359. },
  24360. "mobile": {
  24361. "description": "手机号",
  24362. "type": "string"
  24363. },
  24364. "querytype": {
  24365. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  24366. "type": "integer"
  24367. },
  24368. "roleid": {
  24369. "description": "角色id(交易账户-\u003e用户id)",
  24370. "type": "integer"
  24371. },
  24372. "rolename": {
  24373. "description": "角色名称(交易账户-\u003e用户名称)",
  24374. "type": "string"
  24375. },
  24376. "userlist": {
  24377. "description": "用户列表",
  24378. "type": "array",
  24379. "items": {
  24380. "$ref": "#/definitions/models.ErmcpLoginUser"
  24381. }
  24382. },
  24383. "usertype": {
  24384. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24385. "type": "integer"
  24386. }
  24387. }
  24388. },
  24389. "models.ErmcpMiddleGoodsModel": {
  24390. "type": "object",
  24391. "properties": {
  24392. "areauserid": {
  24393. "description": "机构用户ID",
  24394. "type": "integer"
  24395. },
  24396. "createtime": {
  24397. "description": "修改时间",
  24398. "type": "string"
  24399. },
  24400. "enumdicname": {
  24401. "description": "单位名称",
  24402. "type": "string"
  24403. },
  24404. "evaluateratio": {
  24405. "description": "估价系数",
  24406. "type": "number"
  24407. },
  24408. "goodsgroupid": {
  24409. "description": "关联期货品种ID",
  24410. "type": "integer"
  24411. },
  24412. "goodsunitid": {
  24413. "description": "单位ID",
  24414. "type": "integer"
  24415. },
  24416. "isvalid": {
  24417. "description": "状态 0-无效(停用) 1-有效(正常)",
  24418. "type": "integer"
  24419. },
  24420. "middlegoodscode": {
  24421. "description": "套保品种代码",
  24422. "type": "string"
  24423. },
  24424. "middlegoodsid": {
  24425. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24426. "type": "integer"
  24427. },
  24428. "middlegoodsname": {
  24429. "description": "套保品种名称",
  24430. "type": "string"
  24431. },
  24432. "modifytime": {
  24433. "description": "修改时间",
  24434. "type": "string"
  24435. },
  24436. "needarbitrageratio": {
  24437. "description": "套利比例",
  24438. "type": "number"
  24439. },
  24440. "needhedgeratio": {
  24441. "description": "套保比率",
  24442. "type": "number"
  24443. },
  24444. "qtydecimalplace": {
  24445. "description": "数量小数位",
  24446. "type": "integer"
  24447. },
  24448. "relatedgoodsid": {
  24449. "description": "关联交易商品ID",
  24450. "type": "integer"
  24451. },
  24452. "relatedgoodstype": {
  24453. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  24454. "type": "integer"
  24455. },
  24456. "remark": {
  24457. "description": "备注",
  24458. "type": "string"
  24459. }
  24460. }
  24461. },
  24462. "models.ErmcpMiddlegoodsRelateGoods": {
  24463. "type": "object",
  24464. "properties": {
  24465. "agreeunit": {
  24466. "description": "合约乘数",
  24467. "type": "number"
  24468. },
  24469. "convertratio": {
  24470. "description": "折算系数",
  24471. "type": "number"
  24472. },
  24473. "enumdicname": {
  24474. "description": "单位名称(交易商品)",
  24475. "type": "string"
  24476. },
  24477. "goodscode": {
  24478. "description": "交易商品代码",
  24479. "type": "string"
  24480. },
  24481. "goodsgroupid": {
  24482. "description": "交易品种id",
  24483. "type": "integer"
  24484. },
  24485. "goodsid": {
  24486. "description": "商品Id",
  24487. "type": "integer"
  24488. },
  24489. "goodsname": {
  24490. "description": "交易商品名称",
  24491. "type": "string"
  24492. },
  24493. "goodunitid": {
  24494. "description": "交易商品单位id",
  24495. "type": "integer"
  24496. },
  24497. "middlegoodsid": {
  24498. "description": "套保商品id",
  24499. "type": "integer"
  24500. },
  24501. "middlegoodsname": {
  24502. "description": "套保商品名称",
  24503. "type": "string"
  24504. },
  24505. "middlegoodsswcode": {
  24506. "description": "套保商品代码",
  24507. "type": "string"
  24508. },
  24509. "needarbitrageratio": {
  24510. "description": "应套利比例",
  24511. "type": "number"
  24512. },
  24513. "needhedgeratio": {
  24514. "description": "应套保比例",
  24515. "type": "number"
  24516. }
  24517. }
  24518. },
  24519. "models.ErmcpRole": {
  24520. "type": "object",
  24521. "properties": {
  24522. "areauserid": {
  24523. "description": "所属机构",
  24524. "type": "integer"
  24525. },
  24526. "autoid": {
  24527. "description": "角色ID(自增ID)",
  24528. "type": "integer"
  24529. },
  24530. "modifierid": {
  24531. "description": "修改人(创建人)",
  24532. "type": "integer"
  24533. },
  24534. "modifiername": {
  24535. "description": "修改人名称",
  24536. "type": "string"
  24537. },
  24538. "modifytime": {
  24539. "description": "修改时间(创建时间)",
  24540. "type": "string"
  24541. },
  24542. "rolename": {
  24543. "description": "角色名称",
  24544. "type": "string"
  24545. },
  24546. "rolestatus": {
  24547. "description": "角色状态 - 1:启用 2:停用",
  24548. "type": "integer"
  24549. },
  24550. "roletype": {
  24551. "description": "角色类型 - 1- 管理端 2- 交易端",
  24552. "type": "integer"
  24553. }
  24554. }
  24555. },
  24556. "models.ErmcpRoleMenu": {
  24557. "type": "object",
  24558. "properties": {
  24559. "iconame": {
  24560. "description": "菜单图标",
  24561. "type": "string"
  24562. },
  24563. "ishadrole": {
  24564. "description": "是否有权限",
  24565. "type": "boolean"
  24566. },
  24567. "menutype": {
  24568. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  24569. "type": "integer"
  24570. },
  24571. "parentcode": {
  24572. "description": "上级资源代码",
  24573. "type": "string"
  24574. },
  24575. "remark": {
  24576. "description": "菜单备注",
  24577. "type": "string"
  24578. },
  24579. "resourcecode": {
  24580. "description": "菜单代码",
  24581. "type": "string"
  24582. },
  24583. "resourcelevel": {
  24584. "description": "级别",
  24585. "type": "integer"
  24586. },
  24587. "resourcename": {
  24588. "description": "菜单名称",
  24589. "type": "string"
  24590. },
  24591. "roleid": {
  24592. "description": "角色id",
  24593. "type": "integer"
  24594. },
  24595. "sort": {
  24596. "description": "排序",
  24597. "type": "integer"
  24598. },
  24599. "url": {
  24600. "description": "URL",
  24601. "type": "string"
  24602. },
  24603. "userid": {
  24604. "description": "用户id",
  24605. "type": "integer"
  24606. }
  24607. }
  24608. },
  24609. "models.ErmcpRoleMenuEx": {
  24610. "type": "object",
  24611. "properties": {
  24612. "menu": {
  24613. "description": "父级菜单",
  24614. "$ref": "#/definitions/models.ErmcpRoleMenu"
  24615. },
  24616. "subMenu": {
  24617. "description": "子级菜单",
  24618. "type": "array",
  24619. "items": {
  24620. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  24621. }
  24622. }
  24623. }
  24624. },
  24625. "models.ErmcpTaAccount": {
  24626. "type": "object",
  24627. "properties": {
  24628. "accountid": {
  24629. "description": "账户id",
  24630. "type": "integer"
  24631. },
  24632. "accountname": {
  24633. "description": "账户名称",
  24634. "type": "string"
  24635. },
  24636. "currencyid": {
  24637. "description": "币种id",
  24638. "type": "integer"
  24639. },
  24640. "hedgeaccountcode": {
  24641. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24642. "type": "string"
  24643. },
  24644. "ismain": {
  24645. "description": "是否主账户 0-否 1-是",
  24646. "type": "integer"
  24647. },
  24648. "parentaccountid": {
  24649. "description": "父账户id",
  24650. "type": "integer"
  24651. },
  24652. "relateduserid": {
  24653. "description": "关联userid",
  24654. "type": "integer"
  24655. },
  24656. "tradefeetmpid": {
  24657. "description": "手续费模板id",
  24658. "type": "integer"
  24659. },
  24660. "tradefeetmpname": {
  24661. "description": "手续费模板名称",
  24662. "type": "string"
  24663. },
  24664. "trademargintmpid": {
  24665. "description": "保证金模板id",
  24666. "type": "integer"
  24667. },
  24668. "trademargintmpname": {
  24669. "description": "保证金模板名称",
  24670. "type": "string"
  24671. },
  24672. "traderatetmpid": {
  24673. "description": "汇率模板id",
  24674. "type": "integer"
  24675. },
  24676. "traderatetmpname": {
  24677. "description": "汇率模板名称",
  24678. "type": "string"
  24679. },
  24680. "tradestatus": {
  24681. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24682. "type": "integer"
  24683. },
  24684. "userid": {
  24685. "description": "用户id",
  24686. "type": "integer"
  24687. }
  24688. }
  24689. },
  24690. "models.ErmcpTaAccountEx": {
  24691. "type": "object",
  24692. "properties": {
  24693. "mainAcc": {
  24694. "description": "主账号",
  24695. "$ref": "#/definitions/models.ErmcpTaAccountM"
  24696. },
  24697. "subacclist": {
  24698. "description": "子账号列表",
  24699. "type": "array",
  24700. "items": {
  24701. "$ref": "#/definitions/models.ErmcpTaAccount"
  24702. }
  24703. }
  24704. }
  24705. },
  24706. "models.ErmcpTaAccountInfo": {
  24707. "type": "object",
  24708. "properties": {
  24709. "accountid": {
  24710. "description": "资金账户ID",
  24711. "type": "integer"
  24712. },
  24713. "accountname": {
  24714. "description": "账户名称",
  24715. "type": "string"
  24716. },
  24717. "balance": {
  24718. "description": "期初余额",
  24719. "type": "number"
  24720. },
  24721. "capitalbalance": {
  24722. "description": "本金余额[外部子账户实际出入金余额]",
  24723. "type": "number"
  24724. },
  24725. "closepl": {
  24726. "description": "今日平仓盈亏",
  24727. "type": "number"
  24728. },
  24729. "creditdecrease": {
  24730. "description": "今日授信减少",
  24731. "type": "number"
  24732. },
  24733. "creditincrease": {
  24734. "description": "今日授信增加",
  24735. "type": "number"
  24736. },
  24737. "curdebt": {
  24738. "description": "期末欠款",
  24739. "type": "number"
  24740. },
  24741. "currencyid": {
  24742. "description": "货币ID",
  24743. "type": "integer"
  24744. },
  24745. "currentbalance": {
  24746. "description": "期末余额",
  24747. "type": "number"
  24748. },
  24749. "freezecharge": {
  24750. "description": "手续费冻结",
  24751. "type": "number"
  24752. },
  24753. "freezemargin": {
  24754. "description": "冻结保证金",
  24755. "type": "number"
  24756. },
  24757. "fromaccountid": {
  24758. "description": "所属上级账户",
  24759. "type": "integer"
  24760. },
  24761. "inamount": {
  24762. "description": "今日入金金额(包括三方入金)",
  24763. "type": "number"
  24764. },
  24765. "ismain": {
  24766. "description": "是否母账号 0:不是母账户 1:是母账户",
  24767. "type": "integer"
  24768. },
  24769. "mortgagecredit": {
  24770. "description": "授信金额",
  24771. "type": "number"
  24772. },
  24773. "oridebt": {
  24774. "description": "期初欠款",
  24775. "type": "number"
  24776. },
  24777. "orifreezecharge": {
  24778. "description": "期初手续费冻结",
  24779. "type": "number"
  24780. },
  24781. "orifreezemargin": {
  24782. "description": "期初冻结保证金",
  24783. "type": "number"
  24784. },
  24785. "orimortgagecredit": {
  24786. "description": "期初授信金额",
  24787. "type": "number"
  24788. },
  24789. "oriothercredit": {
  24790. "description": "期初其它授信金额",
  24791. "type": "number"
  24792. },
  24793. "oriotherfreezemargin": {
  24794. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  24795. "type": "number"
  24796. },
  24797. "orioutamountfreeze": {
  24798. "description": "期初出金冻结",
  24799. "type": "number"
  24800. },
  24801. "oriusedmargin": {
  24802. "description": "期初占用保证金",
  24803. "type": "number"
  24804. },
  24805. "othercredit": {
  24806. "description": "其它授信金额",
  24807. "type": "number"
  24808. },
  24809. "othercreditdecrease": {
  24810. "description": "今日其它授信减少",
  24811. "type": "number"
  24812. },
  24813. "othercreditincrease": {
  24814. "description": "今日其它授信增加",
  24815. "type": "number"
  24816. },
  24817. "otherfreezemargin": {
  24818. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24819. "type": "number"
  24820. },
  24821. "outamount": {
  24822. "description": "今日出金金额(包括三方出金)",
  24823. "type": "number"
  24824. },
  24825. "outamountfreeze": {
  24826. "description": "出金冻结",
  24827. "type": "number"
  24828. },
  24829. "outthreshold": {
  24830. "description": "出金阈值",
  24831. "type": "number"
  24832. },
  24833. "parentaccountid": {
  24834. "description": "所属根账号",
  24835. "type": "integer"
  24836. },
  24837. "paycharge": {
  24838. "description": "今日手续费支出",
  24839. "type": "number"
  24840. },
  24841. "relateduserid": {
  24842. "description": "关联用户",
  24843. "type": "integer"
  24844. },
  24845. "signstatus": {
  24846. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  24847. "type": "integer"
  24848. },
  24849. "sublevelpath": {
  24850. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  24851. "type": "string"
  24852. },
  24853. "taaccounttype": {
  24854. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  24855. "type": "integer"
  24856. },
  24857. "thirdinamount": {
  24858. "description": "今日三方入金",
  24859. "type": "number"
  24860. },
  24861. "thirdoutamount": {
  24862. "description": "今日三方出金",
  24863. "type": "number"
  24864. },
  24865. "tradestatus": {
  24866. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24867. "type": "integer"
  24868. },
  24869. "transferamount": {
  24870. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  24871. "type": "number"
  24872. },
  24873. "usedmargin": {
  24874. "description": "占用保证金",
  24875. "type": "number"
  24876. },
  24877. "userid": {
  24878. "description": "用户ID",
  24879. "type": "integer"
  24880. }
  24881. }
  24882. },
  24883. "models.ErmcpTaAccountM": {
  24884. "type": "object",
  24885. "properties": {
  24886. "accountid": {
  24887. "description": "账户id",
  24888. "type": "integer"
  24889. },
  24890. "accountname": {
  24891. "description": "账户名称",
  24892. "type": "string"
  24893. },
  24894. "currencyid": {
  24895. "description": "币种id",
  24896. "type": "integer"
  24897. },
  24898. "fcid": {
  24899. "description": "期货公司id",
  24900. "type": "integer"
  24901. },
  24902. "fcname": {
  24903. "description": "期货公司代码",
  24904. "type": "string"
  24905. },
  24906. "hedgeaccountcode": {
  24907. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24908. "type": "string"
  24909. },
  24910. "ismain": {
  24911. "description": "是否主账户 0-否 1-是",
  24912. "type": "integer"
  24913. },
  24914. "parentaccountid": {
  24915. "description": "父账户id",
  24916. "type": "integer"
  24917. },
  24918. "relateduserid": {
  24919. "description": "关联userid",
  24920. "type": "integer"
  24921. },
  24922. "tradefeetmpid": {
  24923. "description": "手续费模板id",
  24924. "type": "integer"
  24925. },
  24926. "tradefeetmpname": {
  24927. "description": "手续费模板名称",
  24928. "type": "string"
  24929. },
  24930. "trademargintmpid": {
  24931. "description": "保证金模板id",
  24932. "type": "integer"
  24933. },
  24934. "trademargintmpname": {
  24935. "description": "保证金模板名称",
  24936. "type": "string"
  24937. },
  24938. "traderatetmpid": {
  24939. "description": "汇率模板id",
  24940. "type": "integer"
  24941. },
  24942. "traderatetmpname": {
  24943. "description": "汇率模板名称",
  24944. "type": "string"
  24945. },
  24946. "tradestatus": {
  24947. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24948. "type": "integer"
  24949. },
  24950. "userid": {
  24951. "description": "用户id",
  24952. "type": "integer"
  24953. }
  24954. }
  24955. },
  24956. "models.ErmcpTradeConfigTMP": {
  24957. "type": "object",
  24958. "properties": {
  24959. "areauserid": {
  24960. "description": "所属机构",
  24961. "type": "integer"
  24962. },
  24963. "basiccurrencyid": {
  24964. "description": "基本币种ID[汇率] - 目标币种",
  24965. "type": "integer"
  24966. },
  24967. "mainaccountid": {
  24968. "description": "主账户ID",
  24969. "type": "integer"
  24970. },
  24971. "modifierid": {
  24972. "description": "修改人",
  24973. "type": "integer"
  24974. },
  24975. "remark": {
  24976. "description": "备注",
  24977. "type": "string"
  24978. },
  24979. "tradeconfigtmpid": {
  24980. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  24981. "type": "integer"
  24982. },
  24983. "tradeconfigtmpname": {
  24984. "description": "交易配置模板名称",
  24985. "type": "string"
  24986. },
  24987. "tradeconfigtmptype": {
  24988. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  24989. "type": "integer"
  24990. },
  24991. "updatetime": {
  24992. "description": "更新时间",
  24993. "type": "string"
  24994. }
  24995. }
  24996. },
  24997. "models.Externalexchange": {
  24998. "type": "object",
  24999. "required": [
  25000. "autoid"
  25001. ],
  25002. "properties": {
  25003. "autoid": {
  25004. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  25005. "type": "integer"
  25006. },
  25007. "exchangefullname": {
  25008. "description": "外部交易所全称",
  25009. "type": "string"
  25010. },
  25011. "exexchangecode": {
  25012. "description": "外部交易所代码",
  25013. "type": "string"
  25014. },
  25015. "exexchangename": {
  25016. "description": "外部交易所名称(简称)",
  25017. "type": "string"
  25018. },
  25019. "ismarketprice": {
  25020. "description": "是否支持市价 - 0:不支持 1:支持",
  25021. "type": "integer"
  25022. },
  25023. "quotegear": {
  25024. "description": "行情档位(1-10)",
  25025. "type": "integer"
  25026. },
  25027. "showbrokerflag": {
  25028. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  25029. "type": "integer"
  25030. },
  25031. "updatetime": {
  25032. "description": "更新时间",
  25033. "type": "string"
  25034. }
  25035. }
  25036. },
  25037. "models.Funcmenulist": {
  25038. "type": "object",
  25039. "required": [
  25040. "resourcecode"
  25041. ],
  25042. "properties": {
  25043. "iconame": {
  25044. "description": "菜单图标",
  25045. "type": "string"
  25046. },
  25047. "menutype": {
  25048. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  25049. "type": "integer"
  25050. },
  25051. "parentcode": {
  25052. "description": "上级资源代码",
  25053. "type": "string"
  25054. },
  25055. "remark": {
  25056. "description": "备注",
  25057. "type": "string"
  25058. },
  25059. "resourcecode": {
  25060. "description": "资源代码",
  25061. "type": "string"
  25062. },
  25063. "resourcelevel": {
  25064. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  25065. "type": "integer"
  25066. },
  25067. "resourcename": {
  25068. "description": "资源名",
  25069. "type": "string"
  25070. },
  25071. "sort": {
  25072. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  25073. "type": "integer"
  25074. },
  25075. "url": {
  25076. "description": "URL",
  25077. "type": "string"
  25078. }
  25079. }
  25080. },
  25081. "models.Goods": {
  25082. "type": "object",
  25083. "required": [
  25084. "goodscode",
  25085. "goodsid",
  25086. "goodsname",
  25087. "marketid"
  25088. ],
  25089. "properties": {
  25090. "agreeunit": {
  25091. "description": "合约单位",
  25092. "type": "number"
  25093. },
  25094. "areauserid": {
  25095. "description": "所属机构",
  25096. "type": "integer"
  25097. },
  25098. "auditaccountid": {
  25099. "description": "审核操作员账号",
  25100. "type": "integer"
  25101. },
  25102. "audittime": {
  25103. "description": "审核时间",
  25104. "type": "string"
  25105. },
  25106. "cancelaccountid": {
  25107. "description": "注销操作员账号",
  25108. "type": "integer"
  25109. },
  25110. "canceltime": {
  25111. "description": "注销时间",
  25112. "type": "string"
  25113. },
  25114. "closepricemode": {
  25115. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25116. "type": "integer"
  25117. },
  25118. "closepriceparam": {
  25119. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  25120. "type": "number"
  25121. },
  25122. "createtime": {
  25123. "description": "创建时间",
  25124. "type": "string"
  25125. },
  25126. "creatorid": {
  25127. "description": "创建人",
  25128. "type": "integer"
  25129. },
  25130. "currencyid": {
  25131. "description": "报价货币ID",
  25132. "type": "integer"
  25133. },
  25134. "cutmode": {
  25135. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  25136. "type": "integer"
  25137. },
  25138. "decimalplace": {
  25139. "description": "报价小数位",
  25140. "type": "integer"
  25141. },
  25142. "delistingdate": {
  25143. "description": "商品退市时间(状态:退市) -- 已作废",
  25144. "type": "string"
  25145. },
  25146. "delistingmode": {
  25147. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  25148. "type": "integer"
  25149. },
  25150. "deliveryflag": {
  25151. "description": "交割标志 - 0:不可交割 1:可交割",
  25152. "type": "integer"
  25153. },
  25154. "forceclosemode": {
  25155. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  25156. "type": "integer"
  25157. },
  25158. "forceclosevalue": {
  25159. "description": "定期强平参数 [收益权]",
  25160. "type": "integer"
  25161. },
  25162. "goodscode": {
  25163. "description": "商品代码(内部)",
  25164. "type": "string"
  25165. },
  25166. "goodscurrencyid": {
  25167. "description": "合约货币ID",
  25168. "type": "integer"
  25169. },
  25170. "goodsgroupid": {
  25171. "description": "所属商品组ID",
  25172. "type": "integer"
  25173. },
  25174. "goodsid": {
  25175. "description": "商品ID(自增ID SEQ_GOODS)",
  25176. "type": "integer"
  25177. },
  25178. "goodsname": {
  25179. "description": "商品名称",
  25180. "type": "string"
  25181. },
  25182. "goodsquotetype": {
  25183. "description": "合约报价类型: 1-直接报价 2-间接报价",
  25184. "type": "integer"
  25185. },
  25186. "goodsstatus": {
  25187. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25188. "type": "integer"
  25189. },
  25190. "goodstradetype": {
  25191. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25192. "type": "integer"
  25193. },
  25194. "goodunitid": {
  25195. "description": "报价单位ID",
  25196. "type": "integer"
  25197. },
  25198. "hasquoter": {
  25199. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25200. "type": "integer"
  25201. },
  25202. "hqprotecttime": {
  25203. "description": "行情保护时间(秒)",
  25204. "type": "integer"
  25205. },
  25206. "innerdealmode": {
  25207. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25208. "type": "integer"
  25209. },
  25210. "isbuylimited": {
  25211. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25212. "type": "integer"
  25213. },
  25214. "isvisible": {
  25215. "description": "游客是否可见 - 0:不可见 1:可见",
  25216. "type": "integer"
  25217. },
  25218. "lasttradedate": {
  25219. "description": "最后交易日期(状态:待退市)",
  25220. "type": "string"
  25221. },
  25222. "listingdate": {
  25223. "description": "交易开始日期",
  25224. "type": "string"
  25225. },
  25226. "marketid": {
  25227. "description": "所属市场ID",
  25228. "type": "integer"
  25229. },
  25230. "modifierid": {
  25231. "description": "修改人",
  25232. "type": "integer"
  25233. },
  25234. "modifystatus": {
  25235. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25236. "type": "integer"
  25237. },
  25238. "modifytime": {
  25239. "description": "修改时间",
  25240. "type": "string"
  25241. },
  25242. "outerdealmode": {
  25243. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25244. "type": "integer"
  25245. },
  25246. "outgoodscode": {
  25247. "description": "商品代码(外部)",
  25248. "type": "string"
  25249. },
  25250. "pictureurl": {
  25251. "description": "商品图片",
  25252. "type": "string"
  25253. },
  25254. "qtydecimalplace": {
  25255. "description": "成交量小数位",
  25256. "type": "integer"
  25257. },
  25258. "quotegear": {
  25259. "description": "行情档位(1-10)",
  25260. "type": "integer"
  25261. },
  25262. "quoteminunit": {
  25263. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25264. "type": "integer"
  25265. },
  25266. "quoteshowtype": {
  25267. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25268. "type": "integer"
  25269. },
  25270. "quoteshowtypeinterval": {
  25271. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25272. "type": "integer"
  25273. },
  25274. "remark": {
  25275. "description": "备注",
  25276. "type": "string"
  25277. }
  25278. }
  25279. },
  25280. "models.GoodsIDAndName": {
  25281. "type": "object",
  25282. "required": [
  25283. "goodscode",
  25284. "goodsid",
  25285. "goodsname",
  25286. "marketid"
  25287. ],
  25288. "properties": {
  25289. "goodscode": {
  25290. "description": "商品代码(内部)",
  25291. "type": "string"
  25292. },
  25293. "goodsid": {
  25294. "description": "商品ID(自增ID SEQ_GOODS)",
  25295. "type": "integer"
  25296. },
  25297. "goodsname": {
  25298. "description": "商品名称",
  25299. "type": "string"
  25300. },
  25301. "marketid": {
  25302. "description": "所属市场ID",
  25303. "type": "integer"
  25304. }
  25305. }
  25306. },
  25307. "models.Goodsgroup": {
  25308. "type": "object",
  25309. "required": [
  25310. "goodsgroupid",
  25311. "goodsgroupname",
  25312. "goodsgroupstatus",
  25313. "marketid"
  25314. ],
  25315. "properties": {
  25316. "agreeunit": {
  25317. "description": "合约单位",
  25318. "type": "number"
  25319. },
  25320. "canshort": {
  25321. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25322. "type": "integer"
  25323. },
  25324. "closepricemode": {
  25325. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25326. "type": "integer"
  25327. },
  25328. "closepriceparam": {
  25329. "description": "强平最新价浮动比例 - 方式为2时使用",
  25330. "type": "number"
  25331. },
  25332. "createtime": {
  25333. "description": "创建时间",
  25334. "type": "string"
  25335. },
  25336. "creatorid": {
  25337. "description": "创建人",
  25338. "type": "integer"
  25339. },
  25340. "currencyid": {
  25341. "description": "报价货币ID",
  25342. "type": "integer"
  25343. },
  25344. "decimalplace": {
  25345. "description": "报价小数位",
  25346. "type": "integer"
  25347. },
  25348. "exercisetype": {
  25349. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  25350. "type": "integer"
  25351. },
  25352. "exexchangeid": {
  25353. "description": "外部交易所ID[通道交易]",
  25354. "type": "integer"
  25355. },
  25356. "goodsgroupid": {
  25357. "description": "商品组ID(自增ID)",
  25358. "type": "integer"
  25359. },
  25360. "goodsgroupname": {
  25361. "description": "商品组名称",
  25362. "type": "string"
  25363. },
  25364. "goodsgroupstatus": {
  25365. "description": "商品组状态 - 1:正常 2:注销",
  25366. "type": "integer"
  25367. },
  25368. "goodunitid": {
  25369. "description": "报价单位ID",
  25370. "type": "integer"
  25371. },
  25372. "innerdealmode": {
  25373. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25374. "type": "integer"
  25375. },
  25376. "isbuylimited": {
  25377. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25378. "type": "integer"
  25379. },
  25380. "marketid": {
  25381. "description": "所属市场ID",
  25382. "type": "integer"
  25383. },
  25384. "modifierid": {
  25385. "description": "修改人",
  25386. "type": "integer"
  25387. },
  25388. "modifytime": {
  25389. "description": "修改时间",
  25390. "type": "string"
  25391. },
  25392. "outerdealmode": {
  25393. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25394. "type": "integer"
  25395. },
  25396. "outergroupcode": {
  25397. "description": "外部商品组代码[通道交易]",
  25398. "type": "string"
  25399. },
  25400. "premiumdecimalplace": {
  25401. "description": "权利金小数位[场外期权]",
  25402. "type": "integer"
  25403. },
  25404. "premiumspreadalgorithm": {
  25405. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  25406. "type": "integer"
  25407. },
  25408. "premiumspreadvalue": {
  25409. "description": "权利金点差值[场外期权]",
  25410. "type": "number"
  25411. },
  25412. "qtydecimalplace": {
  25413. "description": "成交量小数位",
  25414. "type": "integer"
  25415. },
  25416. "quotegear": {
  25417. "description": "行情档位(1-10)",
  25418. "type": "integer"
  25419. },
  25420. "quoteminunit": {
  25421. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25422. "type": "integer"
  25423. },
  25424. "quoterid": {
  25425. "description": "报价商ID[场外期权]",
  25426. "type": "integer"
  25427. },
  25428. "quotesourcegroupid": {
  25429. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25430. "type": "integer"
  25431. },
  25432. "syncgoodsqty": {
  25433. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25434. "type": "integer"
  25435. }
  25436. }
  25437. },
  25438. "models.Goodssortbypreposition": {
  25439. "type": "object",
  25440. "required": [
  25441. "goodscode",
  25442. "tradedate"
  25443. ],
  25444. "properties": {
  25445. "goodscode": {
  25446. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  25447. "type": "string"
  25448. },
  25449. "goodsgroupcode": {
  25450. "description": "品种代码",
  25451. "type": "string"
  25452. },
  25453. "prepositionqty": {
  25454. "description": "昨持仓量",
  25455. "type": "integer"
  25456. },
  25457. "sortindex": {
  25458. "description": "排序",
  25459. "type": "integer"
  25460. },
  25461. "tradedate": {
  25462. "description": "交易日",
  25463. "type": "string"
  25464. },
  25465. "updatetime": {
  25466. "description": "更新时间",
  25467. "type": "string"
  25468. }
  25469. }
  25470. },
  25471. "models.Hedgeinnerholderdetail": {
  25472. "type": "object",
  25473. "required": [
  25474. "buyorsell",
  25475. "tradeid"
  25476. ],
  25477. "properties": {
  25478. "accountid": {
  25479. "description": "账号ID",
  25480. "type": "integer"
  25481. },
  25482. "buyorsell": {
  25483. "description": "方向 - 0:买 1:卖",
  25484. "type": "integer"
  25485. },
  25486. "freezeqty": {
  25487. "description": "冻结数量 - 按单平使用",
  25488. "type": "integer"
  25489. },
  25490. "goodsid": {
  25491. "description": "商品ID",
  25492. "type": "integer"
  25493. },
  25494. "holderamount": {
  25495. "description": "持仓金额 [商品币种]",
  25496. "type": "number"
  25497. },
  25498. "holderdays": {
  25499. "description": "剩余冻结天数",
  25500. "type": "integer"
  25501. },
  25502. "holderprice": {
  25503. "description": "持仓价格",
  25504. "type": "number"
  25505. },
  25506. "holderqty": {
  25507. "description": "持仓数量",
  25508. "type": "integer"
  25509. },
  25510. "marketid": {
  25511. "description": "市场ID",
  25512. "type": "integer"
  25513. },
  25514. "openprice": {
  25515. "description": "建仓价格",
  25516. "type": "number"
  25517. },
  25518. "openqty": {
  25519. "description": "建仓数量",
  25520. "type": "integer"
  25521. },
  25522. "parentaccountid": {
  25523. "description": "所属母账户",
  25524. "type": "integer"
  25525. },
  25526. "releaseamount": {
  25527. "description": "释放持仓金额[商品币种]",
  25528. "type": "number"
  25529. },
  25530. "tradeamount": {
  25531. "description": "成交金额[账户]",
  25532. "type": "number"
  25533. },
  25534. "tradedate": {
  25535. "description": "交易日(yyyyMMdd)",
  25536. "type": "string"
  25537. },
  25538. "tradeid": {
  25539. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25540. "type": "string"
  25541. },
  25542. "tradetime": {
  25543. "description": "交易时间",
  25544. "type": "string"
  25545. }
  25546. }
  25547. },
  25548. "models.Hedgemarketopenlog": {
  25549. "type": "object",
  25550. "required": [
  25551. "accountid"
  25552. ],
  25553. "properties": {
  25554. "accountid": {
  25555. "description": "资金账号[外部母账户]",
  25556. "type": "integer"
  25557. },
  25558. "fcname": {
  25559. "description": "期货公司名称",
  25560. "type": "string"
  25561. },
  25562. "handlestatus": {
  25563. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  25564. "type": "integer"
  25565. },
  25566. "marketid": {
  25567. "description": "市场ID",
  25568. "type": "integer"
  25569. },
  25570. "status": {
  25571. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  25572. "type": "integer"
  25573. },
  25574. "tradedate": {
  25575. "description": "交易日(yyyyMMdd)",
  25576. "type": "string"
  25577. },
  25578. "updatetime": {
  25579. "description": "更新时间",
  25580. "type": "string"
  25581. }
  25582. }
  25583. },
  25584. "models.HsbyBuyMyPayOrder": {
  25585. "type": "object",
  25586. "required": [
  25587. "goodscode",
  25588. "goodsname",
  25589. "tradeid",
  25590. "trademode"
  25591. ],
  25592. "properties": {
  25593. "agreeunit": {
  25594. "description": "合约单位",
  25595. "type": "number"
  25596. },
  25597. "buyaccountid": {
  25598. "description": "买方账号ID[报价币种]",
  25599. "type": "integer"
  25600. },
  25601. "buyorderid": {
  25602. "description": "买方委托单号",
  25603. "type": "string"
  25604. },
  25605. "createtime": {
  25606. "description": "创建时间",
  25607. "type": "string"
  25608. },
  25609. "currencysign": {
  25610. "description": "货币符号",
  25611. "type": "string"
  25612. },
  25613. "decimalplace": {
  25614. "description": "报价小数位",
  25615. "type": "integer"
  25616. },
  25617. "goodscode": {
  25618. "description": "商品代码(内部)",
  25619. "type": "string"
  25620. },
  25621. "goodsid": {
  25622. "description": "商品ID",
  25623. "type": "integer"
  25624. },
  25625. "goodsname": {
  25626. "description": "商品名称",
  25627. "type": "string"
  25628. },
  25629. "marketid": {
  25630. "description": "市场ID",
  25631. "type": "integer"
  25632. },
  25633. "offamount": {
  25634. "description": "优惠金额",
  25635. "type": "number"
  25636. },
  25637. "originalamount": {
  25638. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  25639. "type": "number"
  25640. },
  25641. "payamount": {
  25642. "description": "支付金额 = TradeAmount + TradeCharge",
  25643. "type": "number"
  25644. },
  25645. "payflag": {
  25646. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25647. "type": "integer"
  25648. },
  25649. "paylimitedtime": {
  25650. "description": "支付期限",
  25651. "type": "string"
  25652. },
  25653. "paytime": {
  25654. "description": "付款时间",
  25655. "type": "string"
  25656. },
  25657. "picurls1": {
  25658. "description": "预售商品介绍图片[多张用逗号分隔]",
  25659. "type": "string"
  25660. },
  25661. "picurls2": {
  25662. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25663. "type": "string"
  25664. },
  25665. "sellaccountid": {
  25666. "description": "卖方账号ID[报价币种]",
  25667. "type": "integer"
  25668. },
  25669. "sellorderid": {
  25670. "description": "卖方委托单号",
  25671. "type": "string"
  25672. },
  25673. "tradeamount": {
  25674. "description": "成交金额",
  25675. "type": "number"
  25676. },
  25677. "tradecharge": {
  25678. "description": "成交手续费(买方)",
  25679. "type": "number"
  25680. },
  25681. "tradedate": {
  25682. "description": "交易日(yyyyMMdd)",
  25683. "type": "string"
  25684. },
  25685. "tradeid": {
  25686. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25687. "type": "string"
  25688. },
  25689. "trademode": {
  25690. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25691. "type": "integer"
  25692. },
  25693. "tradeprice": {
  25694. "description": "成交价格",
  25695. "type": "number"
  25696. },
  25697. "tradeqty": {
  25698. "description": "成交数量",
  25699. "type": "integer"
  25700. },
  25701. "vendorname1": {
  25702. "description": "预售商品供应商名称",
  25703. "type": "string"
  25704. },
  25705. "vendorname2": {
  25706. "description": "挂牌商品供应商名称",
  25707. "type": "string"
  25708. }
  25709. }
  25710. },
  25711. "models.HsbyBuyMyTradeDetail": {
  25712. "type": "object",
  25713. "required": [
  25714. "accountid",
  25715. "buyorsell",
  25716. "goodscode",
  25717. "goodsid",
  25718. "goodsname",
  25719. "marketid",
  25720. "orderid",
  25721. "qty",
  25722. "time",
  25723. "trademode"
  25724. ],
  25725. "properties": {
  25726. "accountid": {
  25727. "description": "账户ID[报价币种]",
  25728. "type": "integer"
  25729. },
  25730. "agreeunit": {
  25731. "description": "合约单位",
  25732. "type": "number"
  25733. },
  25734. "amount": {
  25735. "description": "金额 = 价格 * 数量 * 合约单位",
  25736. "type": "number"
  25737. },
  25738. "buyorsell": {
  25739. "description": "买卖 - 0:买 1:卖",
  25740. "type": "integer"
  25741. },
  25742. "currencysign": {
  25743. "description": "货币符号",
  25744. "type": "string"
  25745. },
  25746. "decimalplace": {
  25747. "description": "报价小数位",
  25748. "type": "integer"
  25749. },
  25750. "goodscode": {
  25751. "description": "商品代码(内部)",
  25752. "type": "string"
  25753. },
  25754. "goodsid": {
  25755. "description": "商品ID",
  25756. "type": "integer"
  25757. },
  25758. "goodsname": {
  25759. "description": "商品名称",
  25760. "type": "string"
  25761. },
  25762. "marketid": {
  25763. "description": "市场ID",
  25764. "type": "integer"
  25765. },
  25766. "orderamount": {
  25767. "description": "委托金额",
  25768. "type": "number"
  25769. },
  25770. "orderid": {
  25771. "description": "单号(成交单号)",
  25772. "type": "string"
  25773. },
  25774. "picurls1": {
  25775. "description": "预售商品介绍图片[多张用逗号分隔]",
  25776. "type": "string"
  25777. },
  25778. "picurls2": {
  25779. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25780. "type": "string"
  25781. },
  25782. "price": {
  25783. "description": "价格",
  25784. "type": "number"
  25785. },
  25786. "qty": {
  25787. "description": "数量",
  25788. "type": "integer"
  25789. },
  25790. "time": {
  25791. "description": "时间",
  25792. "type": "string"
  25793. },
  25794. "trademode": {
  25795. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25796. "type": "integer"
  25797. },
  25798. "vendorname1": {
  25799. "description": "预售商品供应商名称",
  25800. "type": "string"
  25801. },
  25802. "vendorname2": {
  25803. "description": "挂牌商品供应商名称",
  25804. "type": "string"
  25805. }
  25806. }
  25807. },
  25808. "models.HsbyGoodsOrderDetail": {
  25809. "type": "object",
  25810. "required": [
  25811. "buyorsell",
  25812. "orderid",
  25813. "ordertime"
  25814. ],
  25815. "properties": {
  25816. "buyorsell": {
  25817. "description": "买卖 - 0:买 1:卖",
  25818. "type": "integer"
  25819. },
  25820. "currencysign": {
  25821. "description": "货币符号",
  25822. "type": "string"
  25823. },
  25824. "customername": {
  25825. "description": "客户名称(企业名称),已脱敏",
  25826. "type": "string"
  25827. },
  25828. "enableqty": {
  25829. "description": "可用数量",
  25830. "type": "integer"
  25831. },
  25832. "goodunit": {
  25833. "description": "报价单位",
  25834. "type": "string"
  25835. },
  25836. "orderid": {
  25837. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25838. "type": "string"
  25839. },
  25840. "orderprice": {
  25841. "description": "委托价格",
  25842. "type": "number"
  25843. },
  25844. "ordertime": {
  25845. "description": "委托时间",
  25846. "type": "string"
  25847. }
  25848. }
  25849. },
  25850. "models.HsbyListingGoodsDetail": {
  25851. "type": "object",
  25852. "required": [
  25853. "goodscode",
  25854. "goodsid",
  25855. "goodsname",
  25856. "marketid",
  25857. "trademode"
  25858. ],
  25859. "properties": {
  25860. "agreeunit": {
  25861. "description": "合约单位",
  25862. "type": "number"
  25863. },
  25864. "buymaxqty": {
  25865. "description": "购买上限 [71] - 0为不限",
  25866. "type": "integer"
  25867. },
  25868. "currency": {
  25869. "description": "货币",
  25870. "type": "string"
  25871. },
  25872. "currencysign": {
  25873. "description": "货币符号",
  25874. "type": "string"
  25875. },
  25876. "decimalplace": {
  25877. "description": "报价小数位",
  25878. "type": "integer"
  25879. },
  25880. "desccityid": {
  25881. "description": "目的地(市)ID",
  25882. "type": "integer"
  25883. },
  25884. "descprovinceid": {
  25885. "description": "目的地(省)ID",
  25886. "type": "integer"
  25887. },
  25888. "goodscode": {
  25889. "description": "商品代码(内部)",
  25890. "type": "string"
  25891. },
  25892. "goodsdesc": {
  25893. "description": "商品详情",
  25894. "type": "string"
  25895. },
  25896. "goodsid": {
  25897. "description": "商品ID(自增ID SEQ_GOODS)",
  25898. "type": "integer"
  25899. },
  25900. "goodsname": {
  25901. "description": "商品名称",
  25902. "type": "string"
  25903. },
  25904. "goodsprice": {
  25905. "description": "商品价格",
  25906. "type": "number"
  25907. },
  25908. "hotindex": {
  25909. "description": "景点热度",
  25910. "type": "integer"
  25911. },
  25912. "last": {
  25913. "description": "现价",
  25914. "type": "number"
  25915. },
  25916. "limitdown": {
  25917. "description": "跌停价",
  25918. "type": "number"
  25919. },
  25920. "limitup": {
  25921. "description": "涨停价",
  25922. "type": "number"
  25923. },
  25924. "lotsize": {
  25925. "description": "手数最小变动单位",
  25926. "type": "integer"
  25927. },
  25928. "marketid": {
  25929. "description": "所属市场ID",
  25930. "type": "integer"
  25931. },
  25932. "picurls": {
  25933. "description": "介绍图片[多张用逗号分隔]",
  25934. "type": "string"
  25935. },
  25936. "quoteminunit": {
  25937. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25938. "type": "integer"
  25939. },
  25940. "stepvalue": {
  25941. "description": "价格最小变动单位",
  25942. "type": "number"
  25943. },
  25944. "trademode": {
  25945. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25946. "type": "integer"
  25947. },
  25948. "vendorattr": {
  25949. "description": "供应商附件(多张,逗号分隔)",
  25950. "type": "string"
  25951. },
  25952. "vendorname": {
  25953. "description": "供应商名称",
  25954. "type": "string"
  25955. },
  25956. "vendorphone": {
  25957. "description": "供应商客服电话",
  25958. "type": "string"
  25959. },
  25960. "videourls": {
  25961. "description": "介绍视频[多张用逗号分隔]",
  25962. "type": "string"
  25963. }
  25964. }
  25965. },
  25966. "models.HsbyMarketGoods": {
  25967. "type": "object",
  25968. "required": [
  25969. "accountid",
  25970. "buyorsell",
  25971. "goodscode",
  25972. "goodsid",
  25973. "goodsname",
  25974. "marketid",
  25975. "orderid",
  25976. "trademode"
  25977. ],
  25978. "properties": {
  25979. "accountid": {
  25980. "description": "账户ID[报价币种]",
  25981. "type": "integer"
  25982. },
  25983. "agreeunit": {
  25984. "description": "合约单位",
  25985. "type": "number"
  25986. },
  25987. "buyorsell": {
  25988. "description": "买卖 - 0:买 1:卖",
  25989. "type": "integer"
  25990. },
  25991. "categoryid": {
  25992. "description": "类别ID(WRCATEGORY)",
  25993. "type": "integer"
  25994. },
  25995. "currency": {
  25996. "description": "货币",
  25997. "type": "string"
  25998. },
  25999. "currencysign": {
  26000. "description": "货币符号",
  26001. "type": "string"
  26002. },
  26003. "customername": {
  26004. "description": "卖家名称",
  26005. "type": "string"
  26006. },
  26007. "decimalplace": {
  26008. "description": "报价小数位",
  26009. "type": "integer"
  26010. },
  26011. "goodscode": {
  26012. "description": "商品代码(内部)",
  26013. "type": "string"
  26014. },
  26015. "goodsid": {
  26016. "description": "商品ID",
  26017. "type": "integer"
  26018. },
  26019. "goodsname": {
  26020. "description": "商品名称",
  26021. "type": "string"
  26022. },
  26023. "goodsprice": {
  26024. "description": "商品价格",
  26025. "type": "number"
  26026. },
  26027. "hascoupon": {
  26028. "description": "是否可用优惠卷",
  26029. "type": "boolean"
  26030. },
  26031. "hotindex": {
  26032. "description": "景点热度",
  26033. "type": "integer"
  26034. },
  26035. "marketid": {
  26036. "description": "市场ID",
  26037. "type": "integer"
  26038. },
  26039. "orderid": {
  26040. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26041. "type": "string"
  26042. },
  26043. "orderprice": {
  26044. "description": "委托价格",
  26045. "type": "number"
  26046. },
  26047. "orderstatus": {
  26048. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26049. "type": "integer"
  26050. },
  26051. "picurls": {
  26052. "description": "介绍图片[多张用逗号分隔]",
  26053. "type": "string"
  26054. },
  26055. "quoteminunit": {
  26056. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26057. "type": "integer"
  26058. },
  26059. "sellUserID": {
  26060. "description": "卖方UserID",
  26061. "type": "integer"
  26062. },
  26063. "trademode": {
  26064. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26065. "type": "integer"
  26066. },
  26067. "videourls": {
  26068. "description": "介绍视频[多张用逗号分隔]",
  26069. "type": "string"
  26070. }
  26071. }
  26072. },
  26073. "models.HsbyMarketGoodsDetail": {
  26074. "type": "object",
  26075. "required": [
  26076. "accountid",
  26077. "buyorsell",
  26078. "goodscode",
  26079. "goodsid",
  26080. "goodsname",
  26081. "marketid",
  26082. "orderid",
  26083. "orderqty",
  26084. "trademode"
  26085. ],
  26086. "properties": {
  26087. "accountid": {
  26088. "description": "账户ID[报价币种]",
  26089. "type": "integer"
  26090. },
  26091. "agreeunit": {
  26092. "description": "合约单位",
  26093. "type": "number"
  26094. },
  26095. "buymaxqty": {
  26096. "description": "购买上限 [71] - 0为不限",
  26097. "type": "integer"
  26098. },
  26099. "buyorsell": {
  26100. "description": "买卖 - 0:买 1:卖",
  26101. "type": "integer"
  26102. },
  26103. "cancelqty": {
  26104. "description": "撤单数量",
  26105. "type": "integer"
  26106. },
  26107. "categoryid": {
  26108. "description": "类别ID(WRCATEGORY)",
  26109. "type": "integer"
  26110. },
  26111. "currency": {
  26112. "description": "货币",
  26113. "type": "string"
  26114. },
  26115. "currencysign": {
  26116. "description": "货币符号",
  26117. "type": "string"
  26118. },
  26119. "customername": {
  26120. "description": "卖家名称",
  26121. "type": "string"
  26122. },
  26123. "decimalplace": {
  26124. "description": "报价小数位",
  26125. "type": "integer"
  26126. },
  26127. "goodscode": {
  26128. "description": "商品代码(内部)",
  26129. "type": "string"
  26130. },
  26131. "goodsdesc": {
  26132. "description": "商品详情",
  26133. "type": "string"
  26134. },
  26135. "goodsid": {
  26136. "description": "商品ID",
  26137. "type": "integer"
  26138. },
  26139. "goodsname": {
  26140. "description": "商品名称",
  26141. "type": "string"
  26142. },
  26143. "goodsprice": {
  26144. "description": "商品价格",
  26145. "type": "number"
  26146. },
  26147. "hotindex": {
  26148. "description": "景点热度",
  26149. "type": "integer"
  26150. },
  26151. "lotsize": {
  26152. "description": "手数最小变动单位",
  26153. "type": "integer"
  26154. },
  26155. "marketid": {
  26156. "description": "市场ID",
  26157. "type": "integer"
  26158. },
  26159. "orderid": {
  26160. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26161. "type": "string"
  26162. },
  26163. "orderprice": {
  26164. "description": "委托价格",
  26165. "type": "number"
  26166. },
  26167. "orderqty": {
  26168. "description": "委托数量",
  26169. "type": "integer"
  26170. },
  26171. "orderstatus": {
  26172. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26173. "type": "integer"
  26174. },
  26175. "picurls": {
  26176. "description": "介绍图片[多张用逗号分隔]",
  26177. "type": "string"
  26178. },
  26179. "quoteminunit": {
  26180. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26181. "type": "integer"
  26182. },
  26183. "sellUserID": {
  26184. "description": "卖方UserID",
  26185. "type": "integer"
  26186. },
  26187. "trademode": {
  26188. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26189. "type": "integer"
  26190. },
  26191. "tradeqty": {
  26192. "description": "成交数量",
  26193. "type": "integer"
  26194. },
  26195. "vendorattr": {
  26196. "description": "供应商附件(多张,逗号分隔)",
  26197. "type": "string"
  26198. },
  26199. "vendorname": {
  26200. "description": "供应商名称",
  26201. "type": "string"
  26202. },
  26203. "vendorphone": {
  26204. "description": "供应商客服电话",
  26205. "type": "string"
  26206. },
  26207. "videourls": {
  26208. "description": "介绍视频[多张用逗号分隔]",
  26209. "type": "string"
  26210. }
  26211. }
  26212. },
  26213. "models.HsbyMarketInfo": {
  26214. "type": "object",
  26215. "required": [
  26216. "marketid",
  26217. "marketstatus",
  26218. "trademode"
  26219. ],
  26220. "properties": {
  26221. "marketid": {
  26222. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26223. "type": "integer"
  26224. },
  26225. "marketname": {
  26226. "description": "市场名称",
  26227. "type": "string"
  26228. },
  26229. "marketstatus": {
  26230. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26231. "type": "integer"
  26232. },
  26233. "trademode": {
  26234. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26235. "type": "integer"
  26236. }
  26237. }
  26238. },
  26239. "models.HsbyMyGoods": {
  26240. "type": "object",
  26241. "required": [
  26242. "accountid",
  26243. "goodscode",
  26244. "goodsid",
  26245. "goodsname",
  26246. "marketid",
  26247. "trademode"
  26248. ],
  26249. "properties": {
  26250. "accountid": {
  26251. "description": "账号Id",
  26252. "type": "integer"
  26253. },
  26254. "agreeunit": {
  26255. "description": "合约单位",
  26256. "type": "number"
  26257. },
  26258. "buyaverageprice": {
  26259. "description": "持仓均价",
  26260. "type": "number"
  26261. },
  26262. "buycurholderamount": {
  26263. "description": "买当前持仓总金额[商品币种]",
  26264. "type": "number"
  26265. },
  26266. "buycurpositionqty": {
  26267. "description": "买当前持仓总数量",
  26268. "type": "integer"
  26269. },
  26270. "buymaxqty": {
  26271. "description": "购买上限 [71] - 0为不限",
  26272. "type": "integer"
  26273. },
  26274. "currencysign": {
  26275. "description": "货币符号",
  26276. "type": "string"
  26277. },
  26278. "decimalplace": {
  26279. "description": "报价小数位",
  26280. "type": "integer"
  26281. },
  26282. "enableqty": {
  26283. "description": "可用数量",
  26284. "type": "integer"
  26285. },
  26286. "goodscode": {
  26287. "description": "商品代码(内部)",
  26288. "type": "string"
  26289. },
  26290. "goodsid": {
  26291. "description": "商品Id",
  26292. "type": "integer"
  26293. },
  26294. "goodsname": {
  26295. "description": "商品名称",
  26296. "type": "string"
  26297. },
  26298. "goodsprice": {
  26299. "description": "商品价格",
  26300. "type": "number"
  26301. },
  26302. "goodsstatus": {
  26303. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26304. "type": "integer"
  26305. },
  26306. "last": {
  26307. "description": "现价(仅使用于挂牌点选)",
  26308. "type": "number"
  26309. },
  26310. "limitdown": {
  26311. "description": "跌停价(仅使用于挂牌点选)",
  26312. "type": "number"
  26313. },
  26314. "limitup": {
  26315. "description": "涨停价(仅使用于挂牌点选)",
  26316. "type": "number"
  26317. },
  26318. "lotsize": {
  26319. "description": "手数最小变动单位",
  26320. "type": "integer"
  26321. },
  26322. "marketid": {
  26323. "description": "所属市场ID",
  26324. "type": "integer"
  26325. },
  26326. "picurls": {
  26327. "description": "介绍图片[多张用逗号分隔]",
  26328. "type": "string"
  26329. },
  26330. "quoteminunit": {
  26331. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26332. "type": "integer"
  26333. },
  26334. "stepvalue": {
  26335. "description": "价格最小变动单位",
  26336. "type": "number"
  26337. },
  26338. "trademode": {
  26339. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26340. "type": "integer"
  26341. }
  26342. }
  26343. },
  26344. "models.HsbyMyPackage": {
  26345. "type": "object",
  26346. "required": [
  26347. "goodscode",
  26348. "goodsname",
  26349. "takeorderid",
  26350. "trademode"
  26351. ],
  26352. "properties": {
  26353. "accountid": {
  26354. "description": "账户ID",
  26355. "type": "integer"
  26356. },
  26357. "address": {
  26358. "description": "提货人详细地址",
  26359. "type": "string"
  26360. },
  26361. "agreeunit": {
  26362. "description": "合约单位",
  26363. "type": "number"
  26364. },
  26365. "amount": {
  26366. "description": "提货金额",
  26367. "type": "number"
  26368. },
  26369. "auditer": {
  26370. "description": "审核人",
  26371. "type": "integer"
  26372. },
  26373. "audittime": {
  26374. "description": "审核时间",
  26375. "type": "string"
  26376. },
  26377. "averageprice": {
  26378. "description": "均价",
  26379. "type": "number"
  26380. },
  26381. "cardnum": {
  26382. "description": "提货人证件号码",
  26383. "type": "string"
  26384. },
  26385. "cardtypeid": {
  26386. "description": "提货人证件类型",
  26387. "type": "integer"
  26388. },
  26389. "checkremark": {
  26390. "description": "审核备注",
  26391. "type": "string"
  26392. },
  26393. "currencysign": {
  26394. "description": "货币符号",
  26395. "type": "string"
  26396. },
  26397. "decimalplace": {
  26398. "description": "报价小数位",
  26399. "type": "integer"
  26400. },
  26401. "goodscode": {
  26402. "description": "商品代码(内部)",
  26403. "type": "string"
  26404. },
  26405. "goodsid": {
  26406. "description": "商品ID",
  26407. "type": "integer"
  26408. },
  26409. "goodsname": {
  26410. "description": "商品名称",
  26411. "type": "string"
  26412. },
  26413. "handlestatus": {
  26414. "description": "处理状态",
  26415. "type": "integer"
  26416. },
  26417. "marketid": {
  26418. "description": "市场ID",
  26419. "type": "integer"
  26420. },
  26421. "phonenum": {
  26422. "description": "提货人联系方式",
  26423. "type": "string"
  26424. },
  26425. "picurls": {
  26426. "description": "介绍图片[多张用逗号分隔]",
  26427. "type": "string"
  26428. },
  26429. "qty": {
  26430. "description": "提货数量",
  26431. "type": "number"
  26432. },
  26433. "recivername": {
  26434. "description": "提货人姓名",
  26435. "type": "string"
  26436. },
  26437. "reqtime": {
  26438. "description": "更新时间",
  26439. "type": "string"
  26440. },
  26441. "takemode": {
  26442. "description": "提货方式 - 2:自提 3:配送",
  26443. "type": "integer"
  26444. },
  26445. "takeorderid": {
  26446. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26447. "type": "string"
  26448. },
  26449. "takeorderstatus": {
  26450. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26451. "type": "integer"
  26452. },
  26453. "takeremark": {
  26454. "description": "提货备注",
  26455. "type": "string"
  26456. },
  26457. "tradedate": {
  26458. "description": "交易日(yyyyMMdd)",
  26459. "type": "string"
  26460. },
  26461. "trademode": {
  26462. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26463. "type": "integer"
  26464. },
  26465. "userid": {
  26466. "description": "用户ID",
  26467. "type": "integer"
  26468. },
  26469. "vendorname": {
  26470. "description": "供应商名称",
  26471. "type": "string"
  26472. }
  26473. }
  26474. },
  26475. "models.HsbyPreGoods": {
  26476. "type": "object",
  26477. "required": [
  26478. "goodscode",
  26479. "goodsid",
  26480. "goodsname",
  26481. "marketid",
  26482. "trademode"
  26483. ],
  26484. "properties": {
  26485. "agreeunit": {
  26486. "description": "合约单位",
  26487. "type": "number"
  26488. },
  26489. "currency": {
  26490. "description": "货币",
  26491. "type": "string"
  26492. },
  26493. "currencysign": {
  26494. "description": "货币符号",
  26495. "type": "string"
  26496. },
  26497. "decimalplace": {
  26498. "description": "报价小数位",
  26499. "type": "integer"
  26500. },
  26501. "desccityid": {
  26502. "description": "目的地(市)",
  26503. "type": "integer"
  26504. },
  26505. "descprovinceid": {
  26506. "description": "目的地(省)",
  26507. "type": "integer"
  26508. },
  26509. "enableqty": {
  26510. "description": "剩余数量",
  26511. "type": "integer"
  26512. },
  26513. "goodscode": {
  26514. "description": "商品代码(内部)",
  26515. "type": "string"
  26516. },
  26517. "goodsid": {
  26518. "description": "商品ID(自增ID SEQ_GOODS)",
  26519. "type": "integer"
  26520. },
  26521. "goodsname": {
  26522. "description": "商品名称",
  26523. "type": "string"
  26524. },
  26525. "goodsstatus": {
  26526. "description": "商品状态- 2:未上市 3:上市",
  26527. "type": "integer"
  26528. },
  26529. "lasttradedate": {
  26530. "description": "最后交易日期(状态:待退市)",
  26531. "type": "string"
  26532. },
  26533. "listingdate": {
  26534. "description": "交易开始日期",
  26535. "type": "string"
  26536. },
  26537. "marketid": {
  26538. "description": "所属市场ID",
  26539. "type": "integer"
  26540. },
  26541. "picurls": {
  26542. "description": "介绍图片[多张用逗号分隔]",
  26543. "type": "string"
  26544. },
  26545. "presaledqty": {
  26546. "description": "已预售量(预售结束时更新)",
  26547. "type": "integer"
  26548. },
  26549. "presaleqty": {
  26550. "description": "预售数量",
  26551. "type": "integer"
  26552. },
  26553. "quoteminunit": {
  26554. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26555. "type": "integer"
  26556. },
  26557. "refprice": {
  26558. "description": "参考价格[一口价]",
  26559. "type": "number"
  26560. },
  26561. "relatedgoodsid": {
  26562. "description": "关联交易合约ID",
  26563. "type": "integer"
  26564. },
  26565. "trademode": {
  26566. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26567. "type": "integer"
  26568. },
  26569. "videourls": {
  26570. "description": "介绍视频[多张用逗号分隔]",
  26571. "type": "string"
  26572. }
  26573. }
  26574. },
  26575. "models.HsbyPreGoodsDetail": {
  26576. "type": "object",
  26577. "required": [
  26578. "goodscode",
  26579. "goodsid",
  26580. "goodsname",
  26581. "marketid",
  26582. "trademode"
  26583. ],
  26584. "properties": {
  26585. "agreeunit": {
  26586. "description": "合约单位",
  26587. "type": "number"
  26588. },
  26589. "buymaxqty": {
  26590. "description": "购买上限 [71] - 0为不限",
  26591. "type": "integer"
  26592. },
  26593. "currency": {
  26594. "description": "货币",
  26595. "type": "string"
  26596. },
  26597. "currencysign": {
  26598. "description": "货币符号",
  26599. "type": "string"
  26600. },
  26601. "customername": {
  26602. "description": "发行单位",
  26603. "type": "string"
  26604. },
  26605. "decimalplace": {
  26606. "description": "报价小数位",
  26607. "type": "integer"
  26608. },
  26609. "desccityid": {
  26610. "description": "目的地(市)ID",
  26611. "type": "integer"
  26612. },
  26613. "descprovinceid": {
  26614. "description": "目的地(省)ID",
  26615. "type": "integer"
  26616. },
  26617. "enableqty": {
  26618. "description": "剩余数量",
  26619. "type": "integer"
  26620. },
  26621. "goodscode": {
  26622. "description": "商品代码(内部)",
  26623. "type": "string"
  26624. },
  26625. "goodsdesc": {
  26626. "description": "商品详情",
  26627. "type": "string"
  26628. },
  26629. "goodsid": {
  26630. "description": "商品ID(自增ID SEQ_GOODS)",
  26631. "type": "integer"
  26632. },
  26633. "goodsname": {
  26634. "description": "商品名称",
  26635. "type": "string"
  26636. },
  26637. "goodsstatus": {
  26638. "description": "商品状态- 2:未上市 3:上市",
  26639. "type": "integer"
  26640. },
  26641. "goodunit": {
  26642. "description": "报价单位",
  26643. "type": "string"
  26644. },
  26645. "lasttradedate": {
  26646. "description": "最后交易日期(状态:待退市)",
  26647. "type": "string"
  26648. },
  26649. "listingdate": {
  26650. "description": "交易开始日期",
  26651. "type": "string"
  26652. },
  26653. "lotsize": {
  26654. "description": "手数最小变动单位",
  26655. "type": "integer"
  26656. },
  26657. "marketid": {
  26658. "description": "所属市场ID",
  26659. "type": "integer"
  26660. },
  26661. "picurls": {
  26662. "description": "介绍图片[多张用逗号分隔]",
  26663. "type": "string"
  26664. },
  26665. "presaledqty": {
  26666. "description": "已预售量(预售结束时更新)",
  26667. "type": "integer"
  26668. },
  26669. "presaleqty": {
  26670. "description": "预售数量",
  26671. "type": "integer"
  26672. },
  26673. "quoteminunit": {
  26674. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26675. "type": "integer"
  26676. },
  26677. "refprice": {
  26678. "description": "参考价格[一口价]",
  26679. "type": "number"
  26680. },
  26681. "relatedgoodsid": {
  26682. "description": "关联交易合约ID",
  26683. "type": "integer"
  26684. },
  26685. "stepvalue": {
  26686. "description": "价格最小变动单位",
  26687. "type": "number"
  26688. },
  26689. "trademode": {
  26690. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26691. "type": "integer"
  26692. },
  26693. "vendorattr": {
  26694. "description": "供应商附件(多张,逗号分隔)",
  26695. "type": "string"
  26696. },
  26697. "vendorname": {
  26698. "description": "供应商名称",
  26699. "type": "string"
  26700. },
  26701. "vendorphone": {
  26702. "description": "供应商客服电话",
  26703. "type": "string"
  26704. },
  26705. "videourls": {
  26706. "description": "介绍视频[多张用逗号分隔]",
  26707. "type": "string"
  26708. }
  26709. }
  26710. },
  26711. "models.HsbySellCollectionOrder": {
  26712. "type": "object",
  26713. "required": [
  26714. "goodscode",
  26715. "goodsname",
  26716. "tradeid",
  26717. "trademode"
  26718. ],
  26719. "properties": {
  26720. "agreeunit": {
  26721. "description": "合约单位",
  26722. "type": "number"
  26723. },
  26724. "buyaccountid": {
  26725. "description": "买方账号ID[报价币种]",
  26726. "type": "integer"
  26727. },
  26728. "buyorderid": {
  26729. "description": "买方委托单号",
  26730. "type": "string"
  26731. },
  26732. "createtime": {
  26733. "description": "创建时间",
  26734. "type": "string"
  26735. },
  26736. "currencysign": {
  26737. "description": "货币符号",
  26738. "type": "string"
  26739. },
  26740. "decimalplace": {
  26741. "description": "报价小数位",
  26742. "type": "integer"
  26743. },
  26744. "goodscode": {
  26745. "description": "商品代码(内部)",
  26746. "type": "string"
  26747. },
  26748. "goodsid": {
  26749. "description": "商品ID",
  26750. "type": "integer"
  26751. },
  26752. "goodsname": {
  26753. "description": "商品名称",
  26754. "type": "string"
  26755. },
  26756. "marketid": {
  26757. "description": "市场ID",
  26758. "type": "integer"
  26759. },
  26760. "offamount": {
  26761. "description": "优惠金额",
  26762. "type": "number"
  26763. },
  26764. "payamount": {
  26765. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  26766. "type": "number"
  26767. },
  26768. "payflag": {
  26769. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26770. "type": "integer"
  26771. },
  26772. "paylimitedtime": {
  26773. "description": "支付期限",
  26774. "type": "string"
  26775. },
  26776. "paytime": {
  26777. "description": "付款时间",
  26778. "type": "string"
  26779. },
  26780. "picurls": {
  26781. "description": "商品介绍图片[多张用逗号分隔]",
  26782. "type": "string"
  26783. },
  26784. "sellaccountid": {
  26785. "description": "卖方账号ID[报价币种]",
  26786. "type": "integer"
  26787. },
  26788. "sellorderid": {
  26789. "description": "卖方委托单号",
  26790. "type": "string"
  26791. },
  26792. "tradeamount": {
  26793. "description": "成交金额",
  26794. "type": "number"
  26795. },
  26796. "tradecharge": {
  26797. "description": "成交手续费(买方)",
  26798. "type": "number"
  26799. },
  26800. "tradedate": {
  26801. "description": "交易日(yyyyMMdd)",
  26802. "type": "string"
  26803. },
  26804. "tradeid": {
  26805. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26806. "type": "string"
  26807. },
  26808. "trademode": {
  26809. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26810. "type": "integer"
  26811. },
  26812. "tradeprice": {
  26813. "description": "成交价格",
  26814. "type": "number"
  26815. },
  26816. "tradeqty": {
  26817. "description": "成交数量",
  26818. "type": "integer"
  26819. }
  26820. }
  26821. },
  26822. "models.HsbySellMyDetail": {
  26823. "type": "object",
  26824. "required": [
  26825. "accountid",
  26826. "buyorsell",
  26827. "goodscode",
  26828. "goodsid",
  26829. "goodsname",
  26830. "marketid",
  26831. "orderid",
  26832. "time",
  26833. "trademode"
  26834. ],
  26835. "properties": {
  26836. "accountid": {
  26837. "description": "账户ID[报价币种]",
  26838. "type": "integer"
  26839. },
  26840. "agreeunit": {
  26841. "description": "合约单位",
  26842. "type": "number"
  26843. },
  26844. "buyorsell": {
  26845. "description": "买卖 - 0:买 1:卖",
  26846. "type": "integer"
  26847. },
  26848. "currencysign": {
  26849. "description": "货币符号",
  26850. "type": "string"
  26851. },
  26852. "decimalplace": {
  26853. "description": "报价小数位",
  26854. "type": "integer"
  26855. },
  26856. "goodscode": {
  26857. "description": "商品代码(内部)",
  26858. "type": "string"
  26859. },
  26860. "goodsid": {
  26861. "description": "商品ID",
  26862. "type": "integer"
  26863. },
  26864. "goodsname": {
  26865. "description": "商品名称",
  26866. "type": "string"
  26867. },
  26868. "marketid": {
  26869. "description": "市场ID",
  26870. "type": "integer"
  26871. },
  26872. "orderid": {
  26873. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  26874. "type": "string"
  26875. },
  26876. "ordertype": {
  26877. "description": "单据类型:0 - 发布中, 1 - 已完成",
  26878. "type": "integer"
  26879. },
  26880. "picurls": {
  26881. "description": "介绍图片[多张用逗号分隔]",
  26882. "type": "string"
  26883. },
  26884. "price": {
  26885. "description": "价格",
  26886. "type": "number"
  26887. },
  26888. "qty": {
  26889. "description": "数量",
  26890. "type": "integer"
  26891. },
  26892. "time": {
  26893. "description": "时间",
  26894. "type": "string"
  26895. },
  26896. "trademode": {
  26897. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26898. "type": "integer"
  26899. },
  26900. "vendorname": {
  26901. "description": "供应商名称",
  26902. "type": "string"
  26903. }
  26904. }
  26905. },
  26906. "models.HsbyTopGoods": {
  26907. "type": "object",
  26908. "required": [
  26909. "goodscode",
  26910. "goodsid",
  26911. "goodsname",
  26912. "marketid",
  26913. "trademode"
  26914. ],
  26915. "properties": {
  26916. "agreeunit": {
  26917. "description": "合约单位",
  26918. "type": "number"
  26919. },
  26920. "currency": {
  26921. "description": "货币",
  26922. "type": "string"
  26923. },
  26924. "currencysign": {
  26925. "description": "货币符号",
  26926. "type": "string"
  26927. },
  26928. "decimalplace": {
  26929. "description": "报价小数位",
  26930. "type": "integer"
  26931. },
  26932. "desccityid": {
  26933. "description": "目的地(市)",
  26934. "type": "integer"
  26935. },
  26936. "descprovinceid": {
  26937. "description": "目的地(省)",
  26938. "type": "integer"
  26939. },
  26940. "goodscode": {
  26941. "description": "商品代码(内部)",
  26942. "type": "string"
  26943. },
  26944. "goodsid": {
  26945. "description": "商品ID(自增ID SEQ_GOODS)",
  26946. "type": "integer"
  26947. },
  26948. "goodsname": {
  26949. "description": "商品名称",
  26950. "type": "string"
  26951. },
  26952. "hotindex": {
  26953. "description": "景点热度",
  26954. "type": "integer"
  26955. },
  26956. "last": {
  26957. "description": "现价",
  26958. "type": "number"
  26959. },
  26960. "marketid": {
  26961. "description": "所属市场ID",
  26962. "type": "integer"
  26963. },
  26964. "picurls": {
  26965. "description": "介绍图片[多张用逗号分隔]",
  26966. "type": "string"
  26967. },
  26968. "quoteminunit": {
  26969. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26970. "type": "integer"
  26971. },
  26972. "trademode": {
  26973. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26974. "type": "integer"
  26975. },
  26976. "videourls": {
  26977. "description": "介绍视频[多张用逗号分隔]",
  26978. "type": "string"
  26979. }
  26980. }
  26981. },
  26982. "models.HybsMyBuyOrderDetail": {
  26983. "type": "object",
  26984. "required": [
  26985. "accountid",
  26986. "buyorsell",
  26987. "goodscode",
  26988. "goodsid",
  26989. "goodsname",
  26990. "marketid",
  26991. "orderid",
  26992. "orderqty",
  26993. "ordertime",
  26994. "trademode"
  26995. ],
  26996. "properties": {
  26997. "accountid": {
  26998. "description": "账户ID[报价币种]",
  26999. "type": "integer"
  27000. },
  27001. "agreeunit": {
  27002. "description": "合约单位",
  27003. "type": "number"
  27004. },
  27005. "buyorsell": {
  27006. "description": "买卖 - 0:买 1:卖",
  27007. "type": "integer"
  27008. },
  27009. "cancelqty": {
  27010. "description": "撤单数量",
  27011. "type": "integer"
  27012. },
  27013. "currencysign": {
  27014. "description": "货币符号",
  27015. "type": "string"
  27016. },
  27017. "decimalplace": {
  27018. "description": "报价小数位",
  27019. "type": "integer"
  27020. },
  27021. "goodscode": {
  27022. "description": "商品代码(内部)",
  27023. "type": "string"
  27024. },
  27025. "goodsid": {
  27026. "description": "商品ID",
  27027. "type": "integer"
  27028. },
  27029. "goodsname": {
  27030. "description": "商品名称",
  27031. "type": "string"
  27032. },
  27033. "listingselecttype": {
  27034. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27035. "type": "integer"
  27036. },
  27037. "marketid": {
  27038. "description": "市场ID",
  27039. "type": "integer"
  27040. },
  27041. "mybuystatus": {
  27042. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  27043. "type": "integer"
  27044. },
  27045. "orderamount": {
  27046. "description": "委托金额",
  27047. "type": "number"
  27048. },
  27049. "orderid": {
  27050. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27051. "type": "string"
  27052. },
  27053. "orderprice": {
  27054. "description": "委托价格",
  27055. "type": "number"
  27056. },
  27057. "orderqty": {
  27058. "description": "委托数量",
  27059. "type": "integer"
  27060. },
  27061. "orderstatus": {
  27062. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27063. "type": "integer"
  27064. },
  27065. "ordertime": {
  27066. "description": "委托时间",
  27067. "type": "string"
  27068. },
  27069. "picurls1": {
  27070. "description": "预售商品介绍图片[多张用逗号分隔]",
  27071. "type": "string"
  27072. },
  27073. "picurls2": {
  27074. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  27075. "type": "string"
  27076. },
  27077. "trademode": {
  27078. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27079. "type": "integer"
  27080. },
  27081. "tradeqty": {
  27082. "description": "成交数量",
  27083. "type": "integer"
  27084. },
  27085. "vendorname1": {
  27086. "description": "预售商品供应商名称",
  27087. "type": "string"
  27088. },
  27089. "vendorname2": {
  27090. "description": "挂牌商品供应商名称",
  27091. "type": "string"
  27092. }
  27093. }
  27094. },
  27095. "models.Loginaccount": {
  27096. "type": "object",
  27097. "required": [
  27098. "loginid"
  27099. ],
  27100. "properties": {
  27101. "accountname": {
  27102. "description": "账户名称",
  27103. "type": "string"
  27104. },
  27105. "canoutin": {
  27106. "description": "是否可出入金 - 0:不可 1:可",
  27107. "type": "integer"
  27108. },
  27109. "clientroleid": {
  27110. "description": "终端角色ID",
  27111. "type": "integer"
  27112. },
  27113. "haslogined": {
  27114. "description": "是否已登录 - 0:未登录 1:已登录",
  27115. "type": "integer"
  27116. },
  27117. "hasupdatedpwd": {
  27118. "description": "是否已更改密码 - 0:未修改 1:已修改",
  27119. "type": "integer"
  27120. },
  27121. "lastloginip": {
  27122. "description": "最新登录地址",
  27123. "type": "string"
  27124. },
  27125. "lastloginmode": {
  27126. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27127. "type": "integer"
  27128. },
  27129. "lastloginremark": {
  27130. "description": "最新登录描述",
  27131. "type": "string"
  27132. },
  27133. "lastlogintime": {
  27134. "description": "最新登录时间",
  27135. "type": "string"
  27136. },
  27137. "logincode": {
  27138. "description": "登录代码",
  27139. "type": "string"
  27140. },
  27141. "loginfailnum": {
  27142. "description": "连续登录失败次数(登录成功时清零)",
  27143. "type": "integer"
  27144. },
  27145. "loginid": {
  27146. "description": "登陆账号",
  27147. "type": "integer"
  27148. },
  27149. "loginport": {
  27150. "description": "最新登录端口",
  27151. "type": "integer"
  27152. },
  27153. "loginstatus": {
  27154. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  27155. "type": "integer"
  27156. },
  27157. "loginusertype": {
  27158. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  27159. "type": "integer"
  27160. },
  27161. "mobile": {
  27162. "description": "手机号码(加密存储)",
  27163. "type": "string"
  27164. },
  27165. "modifierid": {
  27166. "description": "修改人",
  27167. "type": "integer"
  27168. },
  27169. "modifysrc": {
  27170. "description": "审核来源 - 1:管理端 2:终端",
  27171. "type": "integer"
  27172. },
  27173. "modifytime": {
  27174. "description": "修改时间",
  27175. "type": "string"
  27176. },
  27177. "password": {
  27178. "description": "登陆密码",
  27179. "type": "string"
  27180. },
  27181. "pwdwrongcount": {
  27182. "description": "密码错误次数",
  27183. "type": "integer"
  27184. },
  27185. "relateduserid": {
  27186. "description": "关联用户ID(机构)",
  27187. "type": "integer"
  27188. },
  27189. "taaccountrighttype": {
  27190. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27191. "type": "integer"
  27192. },
  27193. "unfreezetime": {
  27194. "description": "账户解冻时间",
  27195. "type": "string"
  27196. },
  27197. "userid": {
  27198. "description": "用户ID",
  27199. "type": "integer"
  27200. }
  27201. }
  27202. },
  27203. "models.MainAccountInfo": {
  27204. "type": "object",
  27205. "properties": {
  27206. "accountid": {
  27207. "description": "账号id",
  27208. "type": "integer"
  27209. },
  27210. "accountname": {
  27211. "description": "账号名称(taaccount表中的名称)",
  27212. "type": "string"
  27213. },
  27214. "appid": {
  27215. "description": "AppID",
  27216. "type": "string"
  27217. },
  27218. "authcode": {
  27219. "description": "授权码",
  27220. "type": "string"
  27221. },
  27222. "brokerid": {
  27223. "description": "经纪商id",
  27224. "type": "string"
  27225. },
  27226. "fcid": {
  27227. "description": "期货公司id",
  27228. "type": "integer"
  27229. },
  27230. "fcname": {
  27231. "description": "期货公司代码",
  27232. "type": "string"
  27233. },
  27234. "hedgeaccountcode": {
  27235. "description": "外部账号代码(主账号登录代码)",
  27236. "type": "string"
  27237. },
  27238. "hedgeaccountpwd": {
  27239. "description": "密码",
  27240. "type": "string"
  27241. },
  27242. "ismain": {
  27243. "description": "是否主账号",
  27244. "type": "integer"
  27245. },
  27246. "relateduserid": {
  27247. "description": "关联用户id",
  27248. "type": "integer"
  27249. },
  27250. "userid": {
  27251. "description": "关联用户id",
  27252. "type": "integer"
  27253. }
  27254. }
  27255. },
  27256. "models.Market": {
  27257. "type": "object",
  27258. "required": [
  27259. "marketid",
  27260. "marketstatus",
  27261. "openmethod",
  27262. "reckonpricealgorithm",
  27263. "trademode",
  27264. "tradeproperty"
  27265. ],
  27266. "properties": {
  27267. "auctionwrtype": {
  27268. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27269. "type": "integer"
  27270. },
  27271. "canacceptquote": {
  27272. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27273. "type": "integer"
  27274. },
  27275. "cangoodsexercise": {
  27276. "description": "[期权]是否可现货行权- 0:否 1:是",
  27277. "type": "integer"
  27278. },
  27279. "cangoodsexercisetype": {
  27280. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27281. "type": "integer"
  27282. },
  27283. "canmanualquotestrike": {
  27284. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27285. "type": "integer"
  27286. },
  27287. "canmutistage": {
  27288. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27289. "type": "integer"
  27290. },
  27291. "canpreexercise": {
  27292. "description": "[期权]是否可预申报- 0:否 1:是",
  27293. "type": "integer"
  27294. },
  27295. "clearinterval": {
  27296. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27297. "type": "integer"
  27298. },
  27299. "contracttmp": {
  27300. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27301. "type": "string"
  27302. },
  27303. "exchareaid": {
  27304. "description": "所属交易所,可以没有",
  27305. "type": "integer"
  27306. },
  27307. "goodstype": {
  27308. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27309. "type": "integer"
  27310. },
  27311. "hasrebate": {
  27312. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27313. "type": "integer"
  27314. },
  27315. "hastradecredit": {
  27316. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27317. "type": "integer"
  27318. },
  27319. "haswr": {
  27320. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27321. "type": "integer"
  27322. },
  27323. "isdeductmargin": {
  27324. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27325. "type": "integer"
  27326. },
  27327. "isrecordsource": {
  27328. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27329. "type": "integer"
  27330. },
  27331. "isreleasemargin": {
  27332. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27333. "type": "integer"
  27334. },
  27335. "marginformula": {
  27336. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27337. "type": "integer"
  27338. },
  27339. "marginformula2": {
  27340. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27341. "type": "integer"
  27342. },
  27343. "marketid": {
  27344. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27345. "type": "integer"
  27346. },
  27347. "marketname": {
  27348. "description": "市场名称",
  27349. "type": "string"
  27350. },
  27351. "marketserviceid": {
  27352. "description": "市场服务ID",
  27353. "type": "integer"
  27354. },
  27355. "marketstatus": {
  27356. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27357. "type": "integer"
  27358. },
  27359. "markettype": {
  27360. "description": "市场类型- 1:非交易服务 2:交易服务",
  27361. "type": "integer"
  27362. },
  27363. "matchermode": {
  27364. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27365. "type": "integer"
  27366. },
  27367. "openmethod": {
  27368. "description": "开盘模式 - 0 自动 1手动",
  27369. "type": "integer"
  27370. },
  27371. "otcuserid": {
  27372. "description": "场外期权做市商[场外期权]",
  27373. "type": "integer"
  27374. },
  27375. "outersynctime": {
  27376. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27377. "type": "string"
  27378. },
  27379. "pendingflag": {
  27380. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27381. "type": "integer"
  27382. },
  27383. "pendingtime": {
  27384. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27385. "type": "string"
  27386. },
  27387. "performancetempid": {
  27388. "description": "履约计划模板ID - 作废",
  27389. "type": "integer"
  27390. },
  27391. "premiumquotemode": {
  27392. "description": "权利金报价方式 - 1:自动 2:手动",
  27393. "type": "integer"
  27394. },
  27395. "rebateratio": {
  27396. "description": "返利比率[竞价式]",
  27397. "type": "number"
  27398. },
  27399. "reckonorder": {
  27400. "description": "结算顺序",
  27401. "type": "integer"
  27402. },
  27403. "reckonpricealgorithm": {
  27404. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27405. "type": "integer"
  27406. },
  27407. "reckonpriceparam": {
  27408. "description": "结算价参数",
  27409. "type": "integer"
  27410. },
  27411. "reckontime": {
  27412. "description": "结算时间[通道交易-对冲](HH:mm)",
  27413. "type": "string"
  27414. },
  27415. "roleprioritytype": {
  27416. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27417. "type": "integer"
  27418. },
  27419. "selllistingauditflag": {
  27420. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27421. "type": "integer"
  27422. },
  27423. "trademarkettype": {
  27424. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27425. "type": "integer"
  27426. },
  27427. "trademode": {
  27428. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27429. "type": "integer"
  27430. },
  27431. "tradeproperty": {
  27432. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27433. "type": "integer"
  27434. },
  27435. "tradetype": {
  27436. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27437. "type": "integer"
  27438. }
  27439. }
  27440. },
  27441. "models.Marketrun": {
  27442. "type": "object",
  27443. "required": [
  27444. "marketid",
  27445. "nexttradedate",
  27446. "reckonflag",
  27447. "runstatus",
  27448. "tradedate",
  27449. "tradedate2"
  27450. ],
  27451. "properties": {
  27452. "afternexttradedate": {
  27453. "description": "下下交易日",
  27454. "type": "string"
  27455. },
  27456. "clearquoteflag": {
  27457. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27458. "type": "integer"
  27459. },
  27460. "lastreckondate": {
  27461. "description": "最新交易日(结算成功)",
  27462. "type": "string"
  27463. },
  27464. "machinedate": {
  27465. "description": "机器时间",
  27466. "type": "string"
  27467. },
  27468. "manualflag": {
  27469. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27470. "type": "integer"
  27471. },
  27472. "marketid": {
  27473. "description": "市场ID",
  27474. "type": "integer"
  27475. },
  27476. "nexttradedate": {
  27477. "description": "下一交易日",
  27478. "type": "string"
  27479. },
  27480. "pretradedate": {
  27481. "description": "上一交易日",
  27482. "type": "string"
  27483. },
  27484. "reckonflag": {
  27485. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27486. "type": "integer"
  27487. },
  27488. "runstatus": {
  27489. "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.今日免清算",
  27490. "type": "integer"
  27491. },
  27492. "sectionid": {
  27493. "description": "时间段号[多时段时用]",
  27494. "type": "integer"
  27495. },
  27496. "tradedate": {
  27497. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27498. "type": "string"
  27499. },
  27500. "tradedate2": {
  27501. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27502. "type": "string"
  27503. },
  27504. "updatetime": {
  27505. "description": "更新时间",
  27506. "type": "string"
  27507. }
  27508. }
  27509. },
  27510. "models.Messageboard": {
  27511. "type": "object",
  27512. "required": [
  27513. "messageboardid"
  27514. ],
  27515. "properties": {
  27516. "contactnum": {
  27517. "description": "联系电话",
  27518. "type": "string"
  27519. },
  27520. "createtime": {
  27521. "description": "创建时间",
  27522. "type": "string"
  27523. },
  27524. "message": {
  27525. "description": "留言信息",
  27526. "type": "string"
  27527. },
  27528. "messageboardid": {
  27529. "description": "留言簿ID(SEQ_MessageBoard)",
  27530. "type": "integer"
  27531. },
  27532. "userid": {
  27533. "description": "用户ID",
  27534. "type": "integer"
  27535. }
  27536. }
  27537. },
  27538. "models.MyCoupon": {
  27539. "type": "object",
  27540. "required": [
  27541. "accountid",
  27542. "coupontypeid"
  27543. ],
  27544. "properties": {
  27545. "accountid": {
  27546. "description": "资金账户ID",
  27547. "type": "integer"
  27548. },
  27549. "areauserid": {
  27550. "description": "所属机构",
  27551. "type": "integer"
  27552. },
  27553. "conditionvalue": {
  27554. "description": "条件阈值(可为0)",
  27555. "type": "number"
  27556. },
  27557. "couponcategroy": {
  27558. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  27559. "type": "integer"
  27560. },
  27561. "couponname": {
  27562. "description": "优惠券名称",
  27563. "type": "string"
  27564. },
  27565. "coupontypeid": {
  27566. "description": "优惠券类型ID",
  27567. "type": "string"
  27568. },
  27569. "couponvalue": {
  27570. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27571. "type": "number"
  27572. },
  27573. "curfreezeqty": {
  27574. "description": "期末冻结数量",
  27575. "type": "integer"
  27576. },
  27577. "curqty": {
  27578. "description": "期末数量",
  27579. "type": "integer"
  27580. },
  27581. "isgeneral": {
  27582. "description": "是否通用券 - 0:否 1:是",
  27583. "type": "integer"
  27584. },
  27585. "isunusable": {
  27586. "description": "是否不可用",
  27587. "type": "boolean"
  27588. },
  27589. "limitedflag": {
  27590. "description": "是否指定商品 - 0:不限 1:限制",
  27591. "type": "integer"
  27592. },
  27593. "limitedgoodsids": {
  27594. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  27595. "type": "string"
  27596. },
  27597. "orifreezeqty": {
  27598. "description": "期初冻结数量",
  27599. "type": "integer"
  27600. },
  27601. "oriqty": {
  27602. "description": "期初数量",
  27603. "type": "integer"
  27604. },
  27605. "reasontype": {
  27606. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  27607. "type": "integer"
  27608. },
  27609. "todaydecrease": {
  27610. "description": "今日减少",
  27611. "type": "integer"
  27612. },
  27613. "todayincrease": {
  27614. "description": "今日增加",
  27615. "type": "integer"
  27616. },
  27617. "userid": {
  27618. "description": "用户ID",
  27619. "type": "integer"
  27620. },
  27621. "userscope": {
  27622. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  27623. "type": "string"
  27624. }
  27625. }
  27626. },
  27627. "models.MyCouponHold": {
  27628. "type": "object",
  27629. "required": [
  27630. "couponholdid"
  27631. ],
  27632. "properties": {
  27633. "accountid": {
  27634. "description": "资金账户ID",
  27635. "type": "integer"
  27636. },
  27637. "conditionvalue": {
  27638. "description": "条件阈值(可为0)",
  27639. "type": "number"
  27640. },
  27641. "couponcategroy": {
  27642. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  27643. "type": "integer"
  27644. },
  27645. "couponholdid": {
  27646. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  27647. "type": "string"
  27648. },
  27649. "couponname": {
  27650. "description": "优惠券名称",
  27651. "type": "string"
  27652. },
  27653. "coupontypeid": {
  27654. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  27655. "type": "string"
  27656. },
  27657. "couponvalue": {
  27658. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27659. "type": "number"
  27660. },
  27661. "createtime": {
  27662. "description": "创建时间",
  27663. "type": "string"
  27664. },
  27665. "enddate": {
  27666. "description": "结束日期",
  27667. "type": "string"
  27668. },
  27669. "giveapplyid": {
  27670. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  27671. "type": "integer"
  27672. },
  27673. "holdstatus": {
  27674. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  27675. "type": "integer"
  27676. },
  27677. "isgeneral": {
  27678. "description": "是否通用券 - 0:否 1:是",
  27679. "type": "integer"
  27680. },
  27681. "limitedflag": {
  27682. "description": "是否指定商品 - 0:不限 1:限制",
  27683. "type": "integer"
  27684. },
  27685. "limitedgoodsids": {
  27686. "description": "指定商品IDs[逗号分隔]",
  27687. "type": "string"
  27688. },
  27689. "qty": {
  27690. "description": "数量(按1平铺)",
  27691. "type": "integer"
  27692. },
  27693. "startdate": {
  27694. "description": "开始日期",
  27695. "type": "string"
  27696. },
  27697. "userid": {
  27698. "description": "用户ID",
  27699. "type": "integer"
  27700. },
  27701. "userscope": {
  27702. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  27703. "type": "string"
  27704. }
  27705. }
  27706. },
  27707. "models.MyUsedCoupon": {
  27708. "type": "object",
  27709. "required": [
  27710. "coupontypeid",
  27711. "orderid"
  27712. ],
  27713. "properties": {
  27714. "accountid": {
  27715. "description": "资金账户ID(买方)",
  27716. "type": "integer"
  27717. },
  27718. "conditionvalue": {
  27719. "description": "条件阈值(可为0)",
  27720. "type": "number"
  27721. },
  27722. "couponcategroy": {
  27723. "description": "种类 - 1:现金券 2:折扣券",
  27724. "type": "integer"
  27725. },
  27726. "couponname": {
  27727. "description": "优惠券名称",
  27728. "type": "string"
  27729. },
  27730. "coupontypeid": {
  27731. "description": "优惠券类型ID(买方)",
  27732. "type": "string"
  27733. },
  27734. "couponvalue": {
  27735. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  27736. "type": "number"
  27737. },
  27738. "createtime": {
  27739. "description": "创建时间",
  27740. "type": "string"
  27741. },
  27742. "goodsid": {
  27743. "description": "商品ID",
  27744. "type": "integer"
  27745. },
  27746. "handlestatus": {
  27747. "description": "处理状态",
  27748. "type": "integer"
  27749. },
  27750. "marketid": {
  27751. "description": "市场ID",
  27752. "type": "integer"
  27753. },
  27754. "offamount": {
  27755. "description": "优惠金额",
  27756. "type": "number"
  27757. },
  27758. "orderid": {
  27759. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27760. "type": "string"
  27761. },
  27762. "sellaccountid": {
  27763. "description": "资金账户ID(卖方)",
  27764. "type": "integer"
  27765. },
  27766. "tradeamount": {
  27767. "description": "成交金额",
  27768. "type": "number"
  27769. },
  27770. "tradeid": {
  27771. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27772. "type": "string"
  27773. },
  27774. "usedqty": {
  27775. "description": "使用数量",
  27776. "type": "integer"
  27777. }
  27778. }
  27779. },
  27780. "models.OperationPrimaryMenu": {
  27781. "type": "object",
  27782. "properties": {
  27783. "Children": {
  27784. "description": "二级功能菜单",
  27785. "type": "array",
  27786. "items": {
  27787. "$ref": "#/definitions/models.OperationSecondaryMenu"
  27788. }
  27789. },
  27790. "Key": {
  27791. "description": "菜单KEY",
  27792. "type": "string"
  27793. },
  27794. "Label": {
  27795. "description": "菜单标题",
  27796. "type": "string"
  27797. }
  27798. }
  27799. },
  27800. "models.OperationSecondaryMenu": {
  27801. "type": "object",
  27802. "properties": {
  27803. "Key": {
  27804. "description": "菜单KEY",
  27805. "type": "string"
  27806. },
  27807. "Label": {
  27808. "description": "菜单标题",
  27809. "type": "string"
  27810. },
  27811. "TabList": {
  27812. "description": "三级功能菜单",
  27813. "type": "array",
  27814. "items": {
  27815. "$ref": "#/definitions/models.OperationTabMenu"
  27816. }
  27817. }
  27818. }
  27819. },
  27820. "models.OperationTabMenu": {
  27821. "type": "object",
  27822. "properties": {
  27823. "Key": {
  27824. "description": "菜单KEY",
  27825. "type": "string"
  27826. },
  27827. "Label": {
  27828. "description": "菜单标题",
  27829. "type": "string"
  27830. }
  27831. }
  27832. },
  27833. "models.QhjAccountOutInApply": {
  27834. "type": "object",
  27835. "properties": {
  27836. "accountcode": {
  27837. "description": "资金账号",
  27838. "type": "string"
  27839. },
  27840. "accountname": {
  27841. "description": "用户名称(名称)",
  27842. "type": "string"
  27843. },
  27844. "accountpwd": {
  27845. "description": "资金密码",
  27846. "type": "string"
  27847. },
  27848. "accountticket": {
  27849. "description": "最新账户服务流水号",
  27850. "type": "string"
  27851. },
  27852. "amount": {
  27853. "description": "金额",
  27854. "type": "number"
  27855. },
  27856. "applyremark": {
  27857. "description": "申请备注",
  27858. "type": "string"
  27859. },
  27860. "applystatus": {
  27861. "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: 复审通过,账户冻结金额检查中;",
  27862. "type": "integer"
  27863. },
  27864. "auditid": {
  27865. "description": "审核人",
  27866. "type": "integer"
  27867. },
  27868. "audittime": {
  27869. "description": "审核时间",
  27870. "type": "string"
  27871. },
  27872. "bank_apply_ticket": {
  27873. "description": "银行申请流水",
  27874. "type": "string"
  27875. },
  27876. "bankaccountname": {
  27877. "description": "银行账户名",
  27878. "type": "string"
  27879. },
  27880. "bankaccountno": {
  27881. "description": "银行卡号",
  27882. "type": "string"
  27883. },
  27884. "bankid": {
  27885. "description": "银行编号",
  27886. "type": "string"
  27887. },
  27888. "bankticket": {
  27889. "description": "银行流水",
  27890. "type": "string"
  27891. },
  27892. "branchbankid": {
  27893. "description": "银行支行号",
  27894. "type": "string"
  27895. },
  27896. "branchbankname": {
  27897. "description": "银行支行名称",
  27898. "type": "string"
  27899. },
  27900. "capamountout": {
  27901. "description": "出金(劣后本金) - 外部子账户",
  27902. "type": "number"
  27903. },
  27904. "certificatephotourl": {
  27905. "description": "凭证地址",
  27906. "type": "string"
  27907. },
  27908. "charge": {
  27909. "description": "手续费",
  27910. "type": "number"
  27911. },
  27912. "checkerrorflag": {
  27913. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27914. "type": "integer"
  27915. },
  27916. "currency": {
  27917. "description": "币种",
  27918. "type": "string"
  27919. },
  27920. "cusbankid": {
  27921. "description": "托管银行编号",
  27922. "type": "string"
  27923. },
  27924. "exchticket": {
  27925. "description": "银行服务流水号",
  27926. "type": "string"
  27927. },
  27928. "executetype": {
  27929. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27930. "type": "integer"
  27931. },
  27932. "extendinfo": {
  27933. "description": "扩展信息",
  27934. "type": "string"
  27935. },
  27936. "extoperateid": {
  27937. "description": "交易服务流水号",
  27938. "type": "integer"
  27939. },
  27940. "infamount": {
  27941. "description": "劣后金额(自有)",
  27942. "type": "number"
  27943. },
  27944. "logincode": {
  27945. "description": "登录账号(账号)",
  27946. "type": "string"
  27947. },
  27948. "netaddr": {
  27949. "description": "调转网址",
  27950. "type": "string"
  27951. },
  27952. "priamount": {
  27953. "description": "优先金额(授信)",
  27954. "type": "number"
  27955. },
  27956. "reauditid": {
  27957. "description": "复审人",
  27958. "type": "integer"
  27959. },
  27960. "reauditremark": {
  27961. "description": "复审备注",
  27962. "type": "string"
  27963. },
  27964. "reaudittime": {
  27965. "description": "复审时间",
  27966. "type": "string"
  27967. },
  27968. "relatedorderid": {
  27969. "description": "三方关联ID",
  27970. "type": "string"
  27971. },
  27972. "remark": {
  27973. "description": "备注",
  27974. "type": "string"
  27975. },
  27976. "remark2": {
  27977. "description": "备注(失败原因)",
  27978. "type": "string"
  27979. },
  27980. "soucreamount": {
  27981. "description": "原始出入金金额",
  27982. "type": "number"
  27983. },
  27984. "soucrecurrencyid": {
  27985. "description": "原始出入金币种",
  27986. "type": "integer"
  27987. },
  27988. "tradedate": {
  27989. "description": "交易日(yyyyMMdd)",
  27990. "type": "string"
  27991. },
  27992. "updatetime": {
  27993. "description": "更新时间(申请时间)",
  27994. "type": "string"
  27995. },
  27996. "userid": {
  27997. "description": "用户id",
  27998. "type": "integer"
  27999. },
  28000. "userinfotype": {
  28001. "description": "账户类型 1-个人 2-企业",
  28002. "type": "integer"
  28003. }
  28004. }
  28005. },
  28006. "models.QhjAgreementChangeLog": {
  28007. "type": "object",
  28008. "properties": {
  28009. "agreementcontent": {
  28010. "description": "协议内容",
  28011. "type": "string"
  28012. },
  28013. "agreementfrequency": {
  28014. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28015. "type": "integer"
  28016. },
  28017. "agreementid": {
  28018. "description": "协议ID",
  28019. "type": "integer"
  28020. },
  28021. "agreementname": {
  28022. "description": "协议名称",
  28023. "type": "string"
  28024. },
  28025. "agreementno": {
  28026. "description": "协议编号",
  28027. "type": "string"
  28028. },
  28029. "agreementtype": {
  28030. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28031. "type": "integer"
  28032. },
  28033. "agreementversion": {
  28034. "description": "协议版本号",
  28035. "type": "integer"
  28036. },
  28037. "logid": {
  28038. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  28039. "type": "integer"
  28040. },
  28041. "reviserid": {
  28042. "description": "修改人",
  28043. "type": "integer"
  28044. },
  28045. "revisersrc": {
  28046. "description": "修改来源 - 1:管理端 2:终端",
  28047. "type": "integer"
  28048. },
  28049. "updatetime": {
  28050. "description": "更新时间",
  28051. "type": "string"
  28052. }
  28053. }
  28054. },
  28055. "models.QhjAgreementConfig": {
  28056. "type": "object",
  28057. "properties": {
  28058. "agreementcontent": {
  28059. "description": "协议内容",
  28060. "type": "string"
  28061. },
  28062. "agreementfrequency": {
  28063. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28064. "type": "integer"
  28065. },
  28066. "agreementid": {
  28067. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  28068. "type": "integer"
  28069. },
  28070. "agreementname": {
  28071. "description": "协议名称",
  28072. "type": "string"
  28073. },
  28074. "agreementno": {
  28075. "description": "协议编号",
  28076. "type": "string"
  28077. },
  28078. "agreementtype": {
  28079. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28080. "type": "integer"
  28081. },
  28082. "agreementversion": {
  28083. "description": "协议版本号(从1开始每次修改加1)",
  28084. "type": "integer"
  28085. },
  28086. "createtime": {
  28087. "description": "创建时间",
  28088. "type": "string"
  28089. },
  28090. "creatorid": {
  28091. "description": "创建人",
  28092. "type": "integer"
  28093. },
  28094. "creatorsrc": {
  28095. "description": "创建来源 - 1:管理端 2:终端",
  28096. "type": "integer"
  28097. },
  28098. "isvalid": {
  28099. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  28100. "type": "integer"
  28101. },
  28102. "reviserid": {
  28103. "description": "修改人",
  28104. "type": "integer"
  28105. },
  28106. "revisersrc": {
  28107. "description": "修改来源 - 1:管理端 2:终端",
  28108. "type": "integer"
  28109. },
  28110. "updatetime": {
  28111. "description": "更新时间",
  28112. "type": "string"
  28113. }
  28114. }
  28115. },
  28116. "models.QhjAreaFinanceConfig": {
  28117. "type": "object",
  28118. "properties": {
  28119. "additionalratio": {
  28120. "description": "追加款比例",
  28121. "type": "number"
  28122. },
  28123. "advanceratio": {
  28124. "description": "预付款比例",
  28125. "type": "number"
  28126. },
  28127. "alarmratio": {
  28128. "description": "告警比例",
  28129. "type": "number"
  28130. },
  28131. "consumptiondirectreward": {
  28132. "description": "消费直推奖励值",
  28133. "type": "number"
  28134. },
  28135. "consumptionenabled": {
  28136. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  28137. "type": "integer"
  28138. },
  28139. "consumptionindirectreward": {
  28140. "description": "消费间推奖励值",
  28141. "type": "number"
  28142. },
  28143. "consumptionmodel": {
  28144. "description": "消费奖励方式 - 1:比率 2:固定",
  28145. "type": "integer"
  28146. },
  28147. "customerservicenum": {
  28148. "description": "客服电话",
  28149. "type": "string"
  28150. },
  28151. "dayinterestrate": {
  28152. "description": "日利率",
  28153. "type": "number"
  28154. },
  28155. "disableconsumptiontips": {
  28156. "description": "关闭消费奖励提示",
  28157. "type": "string"
  28158. },
  28159. "modifierid": {
  28160. "description": "修改人ID",
  28161. "type": "integer"
  28162. },
  28163. "modifysrc": {
  28164. "description": "审核来源 - 1:管理端 2:终端",
  28165. "type": "integer"
  28166. },
  28167. "modifytime": {
  28168. "description": "修改时间",
  28169. "type": "string"
  28170. },
  28171. "promotionvalue": {
  28172. "description": "推广奖励值(固定)",
  28173. "type": "number"
  28174. },
  28175. "scoreconfigvalue1": {
  28176. "description": "提货积分配置1",
  28177. "type": "integer"
  28178. },
  28179. "scoreconfigvalue2": {
  28180. "description": "提货积分配置2",
  28181. "type": "integer"
  28182. },
  28183. "userid": {
  28184. "description": "机构用户ID其他做市关系,都设置为 1",
  28185. "type": "integer"
  28186. },
  28187. "username": {
  28188. "description": "用户名称",
  28189. "type": "string"
  28190. }
  28191. }
  28192. },
  28193. "models.QhjBankAccountSign": {
  28194. "type": "object",
  28195. "properties": {
  28196. "accountcode": {
  28197. "description": "资金账号",
  28198. "type": "string"
  28199. },
  28200. "accountname": {
  28201. "description": "资金账号对应的账号名(UserName)",
  28202. "type": "string"
  28203. },
  28204. "accountname2": {
  28205. "description": "资金账号对应的账号名(UserName) - 密文",
  28206. "type": "string"
  28207. },
  28208. "accounttype": {
  28209. "description": "账户类型(UserType)",
  28210. "type": "integer"
  28211. },
  28212. "applicationtime": {
  28213. "description": "最后一次更新的时间",
  28214. "type": "string"
  28215. },
  28216. "applyexchticket": {
  28217. "description": "申请流水",
  28218. "type": "string"
  28219. },
  28220. "auditid": {
  28221. "description": "审核人",
  28222. "type": "integer"
  28223. },
  28224. "audittime": {
  28225. "description": "审核时间",
  28226. "type": "string"
  28227. },
  28228. "bankaccountname": {
  28229. "description": "签约银行卡账号名",
  28230. "type": "string"
  28231. },
  28232. "bankaccountname2": {
  28233. "description": "签约银行卡账号名 - 密文",
  28234. "type": "string"
  28235. },
  28236. "bankaccountno": {
  28237. "description": "银行卡号",
  28238. "type": "string"
  28239. },
  28240. "bankaccountno2": {
  28241. "description": "银行卡号 - 密文",
  28242. "type": "string"
  28243. },
  28244. "bankaccounttype": {
  28245. "description": "银行账户类型 - 1-对私; 2-对公",
  28246. "type": "integer"
  28247. },
  28248. "bankcardtype": {
  28249. "description": "银行卡类型",
  28250. "type": "integer"
  28251. },
  28252. "bankchildaccount": {
  28253. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  28254. "type": "string"
  28255. },
  28256. "bankcity": {
  28257. "description": "开户行城市",
  28258. "type": "string"
  28259. },
  28260. "bankid": {
  28261. "description": "签约银行ID",
  28262. "type": "string"
  28263. },
  28264. "bankname": {
  28265. "description": "签约银行名称",
  28266. "type": "string"
  28267. },
  28268. "bankprovince": {
  28269. "description": "开户行省份",
  28270. "type": "string"
  28271. },
  28272. "branchbankid": {
  28273. "description": "签约银行支行号",
  28274. "type": "string"
  28275. },
  28276. "branchbankname": {
  28277. "description": "签约银行支行名称",
  28278. "type": "string"
  28279. },
  28280. "cardno": {
  28281. "description": "证件号码",
  28282. "type": "string"
  28283. },
  28284. "cardno2": {
  28285. "description": "证件号码 - 密文",
  28286. "type": "string"
  28287. },
  28288. "cardtype": {
  28289. "description": "证件类型",
  28290. "type": "string"
  28291. },
  28292. "currency": {
  28293. "description": "币种",
  28294. "type": "string"
  28295. },
  28296. "cusbankid": {
  28297. "description": "托管银行编号",
  28298. "type": "string"
  28299. },
  28300. "direct": {
  28301. "description": "方向(可以判断那方先发起的签约)",
  28302. "type": "integer"
  28303. },
  28304. "exchticket": {
  28305. "description": "最后一次签约成功的流水号",
  28306. "type": "string"
  28307. },
  28308. "extendinfo": {
  28309. "description": "扩展信息(JSON字符串)",
  28310. "type": "string"
  28311. },
  28312. "mobilephone": {
  28313. "description": "手机号",
  28314. "type": "string"
  28315. },
  28316. "mobilephone2": {
  28317. "description": "手机号 - 密文",
  28318. "type": "string"
  28319. },
  28320. "netaddr": {
  28321. "description": "调转网址",
  28322. "type": "string"
  28323. },
  28324. "relateduserid": {
  28325. "description": "关联使用者userid",
  28326. "type": "integer"
  28327. },
  28328. "signstatus": {
  28329. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  28330. "type": "integer"
  28331. },
  28332. "updatetime": {
  28333. "description": "更新时间(签解约更新时间)",
  28334. "type": "string"
  28335. }
  28336. }
  28337. },
  28338. "models.QhjBankInfo": {
  28339. "type": "object",
  28340. "properties": {
  28341. "bankid": {
  28342. "description": "银行ID",
  28343. "type": "string"
  28344. },
  28345. "bankname": {
  28346. "description": "银行名称",
  28347. "type": "string"
  28348. },
  28349. "clearbankno": {
  28350. "description": "清算系统银行编号",
  28351. "type": "string"
  28352. },
  28353. "orderindex": {
  28354. "description": "排序顺序",
  28355. "type": "integer"
  28356. },
  28357. "status": {
  28358. "description": "状态 - 0:正常 1:注销",
  28359. "type": "integer"
  28360. }
  28361. }
  28362. },
  28363. "models.QhjBrokerApply": {
  28364. "type": "object",
  28365. "properties": {
  28366. "applicantid": {
  28367. "description": "申请人",
  28368. "type": "integer"
  28369. },
  28370. "applysrc": {
  28371. "description": "申请来源 - 1:管理端 2:终端",
  28372. "type": "integer"
  28373. },
  28374. "applystatus": {
  28375. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28376. "type": "integer"
  28377. },
  28378. "applytime": {
  28379. "description": "申请时间",
  28380. "type": "string"
  28381. },
  28382. "auditorid": {
  28383. "description": "审核人",
  28384. "type": "integer"
  28385. },
  28386. "auditremark": {
  28387. "description": "审核备注",
  28388. "type": "string"
  28389. },
  28390. "auditsrc": {
  28391. "description": "审核来源 - 1:管理端 2:终端",
  28392. "type": "integer"
  28393. },
  28394. "audittime": {
  28395. "description": "审核时间",
  28396. "type": "string"
  28397. },
  28398. "audittradedate": {
  28399. "description": "审核交易日(yyyyMMdd)",
  28400. "type": "string"
  28401. },
  28402. "brokerapplyid": {
  28403. "description": "申请ID(SEQ_BROKERAPPLY)",
  28404. "type": "integer"
  28405. },
  28406. "cardbackphotourl": {
  28407. "description": "证件背面图片地址",
  28408. "type": "string"
  28409. },
  28410. "cardfrontphotourl": {
  28411. "description": "证件正面图片地址",
  28412. "type": "string"
  28413. },
  28414. "cardnum": {
  28415. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28416. "type": "string"
  28417. },
  28418. "customername": {
  28419. "description": "姓名",
  28420. "type": "string"
  28421. },
  28422. "logincode": {
  28423. "description": "登录代码",
  28424. "type": "string"
  28425. },
  28426. "mobile": {
  28427. "description": "手机号码",
  28428. "type": "string"
  28429. },
  28430. "parentuserid": {
  28431. "description": "所属机构id",
  28432. "type": "integer"
  28433. },
  28434. "parentusername": {
  28435. "description": "所属机构名称",
  28436. "type": "string"
  28437. },
  28438. "refereeuserid": {
  28439. "description": "推荐人id(经纪人)",
  28440. "type": "integer"
  28441. },
  28442. "refernum": {
  28443. "description": "推荐码",
  28444. "type": "string"
  28445. },
  28446. "remark": {
  28447. "description": "备注",
  28448. "type": "string"
  28449. },
  28450. "subarealevelpath": {
  28451. "description": "层级路径",
  28452. "type": "string"
  28453. },
  28454. "tradedate": {
  28455. "description": "交易日(yyyyMMdd)",
  28456. "type": "string"
  28457. },
  28458. "userid": {
  28459. "description": "申请人用户ID",
  28460. "type": "integer"
  28461. },
  28462. "userinfotype": {
  28463. "description": "用户类型 1-个人 2-企业",
  28464. "type": "integer"
  28465. },
  28466. "username": {
  28467. "description": "用户名称",
  28468. "type": "string"
  28469. }
  28470. }
  28471. },
  28472. "models.QhjBrokerApplyEx": {
  28473. "type": "object",
  28474. "properties": {
  28475. "applylist": {
  28476. "description": "经纪人申请记录(只返回最新一条)",
  28477. "type": "array",
  28478. "items": {
  28479. "$ref": "#/definitions/models.QhjBrokerApply"
  28480. }
  28481. },
  28482. "canrecommend": {
  28483. "description": "是否经纪人 0-不是 1-是",
  28484. "type": "integer"
  28485. },
  28486. "refernum": {
  28487. "description": "推荐码",
  28488. "type": "string"
  28489. },
  28490. "userid": {
  28491. "description": "用户id",
  28492. "type": "integer"
  28493. },
  28494. "userinfotype": {
  28495. "description": "用户类型 1-个人 2-企业",
  28496. "type": "integer"
  28497. }
  28498. }
  28499. },
  28500. "models.QhjBrokerRewardLog": {
  28501. "type": "object",
  28502. "properties": {
  28503. "accountid": {
  28504. "description": "资金账号ID",
  28505. "type": "integer"
  28506. },
  28507. "createtime": {
  28508. "description": "创建时间(时间)",
  28509. "type": "string"
  28510. },
  28511. "handlestatus": {
  28512. "description": "处理状态",
  28513. "type": "integer"
  28514. },
  28515. "logid": {
  28516. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28517. "type": "string"
  28518. },
  28519. "marketid": {
  28520. "description": "市场ID",
  28521. "type": "integer"
  28522. },
  28523. "mmaccountid": {
  28524. "description": "做市商资金账号ID",
  28525. "type": "string"
  28526. },
  28527. "mmuserid": {
  28528. "description": "做市商用户ID",
  28529. "type": "string"
  28530. },
  28531. "rewardamount": {
  28532. "description": "奖励金额",
  28533. "type": "number"
  28534. },
  28535. "rewardmodel": {
  28536. "description": "消费奖励方式 - 1:比率 2:固定",
  28537. "type": "integer"
  28538. },
  28539. "rewardtype": {
  28540. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  28541. "type": "integer"
  28542. },
  28543. "rewardvalue": {
  28544. "description": "配置奖励值",
  28545. "type": "number"
  28546. },
  28547. "srcamount": {
  28548. "description": "成交金额 [消费奖励] (金额)",
  28549. "type": "number"
  28550. },
  28551. "srcgoodsid": {
  28552. "description": "来源商品ID [消费奖励]",
  28553. "type": "string"
  28554. },
  28555. "srctime": {
  28556. "description": "来源时间 (成交时间) [消费奖励]",
  28557. "type": "string"
  28558. },
  28559. "srctradeid": {
  28560. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  28561. "type": "string"
  28562. },
  28563. "srcuserid": {
  28564. "description": "来源用户ID(推广账户)",
  28565. "type": "string"
  28566. },
  28567. "srcusername": {
  28568. "description": "推广账户名称",
  28569. "type": "string"
  28570. },
  28571. "tradedate": {
  28572. "description": "交易日(yyyyMMdd)",
  28573. "type": "string"
  28574. },
  28575. "userid": {
  28576. "description": "经纪人用户ID",
  28577. "type": "integer"
  28578. }
  28579. }
  28580. },
  28581. "models.QhjContract": {
  28582. "type": "object",
  28583. "properties": {
  28584. "contractconfirmtime": {
  28585. "description": "合同确认时间(时间)",
  28586. "type": "string"
  28587. },
  28588. "currisklevel": {
  28589. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28590. "type": "integer"
  28591. },
  28592. "decimalplace": {
  28593. "description": "商品报价小数位",
  28594. "type": "integer"
  28595. },
  28596. "enumdicname": {
  28597. "description": "单位名称",
  28598. "type": "string"
  28599. },
  28600. "goodscode": {
  28601. "description": "商品代码",
  28602. "type": "string"
  28603. },
  28604. "goodsid": {
  28605. "description": "商品ID [5:融资单]",
  28606. "type": "integer"
  28607. },
  28608. "goodsname": {
  28609. "description": "商品名称",
  28610. "type": "string"
  28611. },
  28612. "goodunitid": {
  28613. "description": "商品单位id",
  28614. "type": "integer"
  28615. },
  28616. "initmargin": {
  28617. "description": "初始保证金(首付款)",
  28618. "type": "number"
  28619. },
  28620. "lenderamount": {
  28621. "description": "贷款金额(总额|订单总额)",
  28622. "type": "number"
  28623. },
  28624. "marginratio": {
  28625. "description": "保证金比率(首付比例)",
  28626. "type": "number"
  28627. },
  28628. "payamount": {
  28629. "description": "已付(已付货款)",
  28630. "type": "number"
  28631. },
  28632. "reckonrecovermargin": {
  28633. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28634. "type": "number"
  28635. },
  28636. "recoveredmargin": {
  28637. "description": "已追缴保证金",
  28638. "type": "number"
  28639. },
  28640. "remainamount": {
  28641. "description": "合同剩余金额(融资额)",
  28642. "type": "number"
  28643. },
  28644. "scfcontractid": {
  28645. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28646. "type": "string"
  28647. },
  28648. "scfcontractstatus": {
  28649. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28650. "type": "integer"
  28651. },
  28652. "scfcontracttype": {
  28653. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28654. "type": "integer"
  28655. },
  28656. "totalinterest": {
  28657. "description": "已计总利息(利息)",
  28658. "type": "number"
  28659. },
  28660. "tradeprice": {
  28661. "description": "成交价格(成本价格)",
  28662. "type": "number"
  28663. },
  28664. "userid": {
  28665. "description": "用户ID",
  28666. "type": "integer"
  28667. },
  28668. "username": {
  28669. "description": "用户名称",
  28670. "type": "string"
  28671. },
  28672. "wrqty": {
  28673. "description": "仓单数量(数量)",
  28674. "type": "number"
  28675. }
  28676. }
  28677. },
  28678. "models.QhjContractLog": {
  28679. "type": "object",
  28680. "properties": {
  28681. "amount": {
  28682. "description": "支付金额",
  28683. "type": "number"
  28684. },
  28685. "amounttype": {
  28686. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  28687. "type": "integer"
  28688. },
  28689. "logid": {
  28690. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28691. "type": "string"
  28692. },
  28693. "remainamount": {
  28694. "description": "剩余货款",
  28695. "type": "number"
  28696. },
  28697. "scfcontractid": {
  28698. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28699. "type": "integer"
  28700. },
  28701. "updatetime": {
  28702. "description": "更新时间",
  28703. "type": "string"
  28704. }
  28705. }
  28706. },
  28707. "models.QhjCusBankSignBankEx": {
  28708. "type": "object",
  28709. "properties": {
  28710. "banklst": {
  28711. "description": "银行列表",
  28712. "type": "array",
  28713. "items": {
  28714. "$ref": "#/definitions/models.QhjBankInfo"
  28715. }
  28716. },
  28717. "canallot": {
  28718. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  28719. "type": "integer"
  28720. },
  28721. "canallotquery": {
  28722. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  28723. "type": "integer"
  28724. },
  28725. "canbindcard": {
  28726. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  28727. "type": "integer"
  28728. },
  28729. "caninamount": {
  28730. "description": "是否可入金 - 0:不可 1:可以",
  28731. "type": "integer"
  28732. },
  28733. "caninamount2": {
  28734. "description": "是否可入金(网银端) - 0:不可 1:可以",
  28735. "type": "integer"
  28736. },
  28737. "canmodifybankcard": {
  28738. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  28739. "type": "integer"
  28740. },
  28741. "canmodifyphone": {
  28742. "description": "是否可修改手机号 - 0:不可 1:可以",
  28743. "type": "integer"
  28744. },
  28745. "canmodifysigninfo": {
  28746. "description": "是否可修改签约信息 - 0:不可 1:可以",
  28747. "type": "integer"
  28748. },
  28749. "canoutamount": {
  28750. "description": "是否可出金 - 0:不可 1:可以",
  28751. "type": "integer"
  28752. },
  28753. "canoutamount2": {
  28754. "description": "是否可出金(网银端) - 0:不可 1:可以",
  28755. "type": "integer"
  28756. },
  28757. "canrelease": {
  28758. "description": "是否可解约 - 0:不可 1:可以",
  28759. "type": "integer"
  28760. },
  28761. "canrelease2": {
  28762. "description": "是否可解约(网银端) - 0:不可 1:可以",
  28763. "type": "integer"
  28764. },
  28765. "cansign": {
  28766. "description": "是否可签约 - 0:不可 1:可以",
  28767. "type": "integer"
  28768. },
  28769. "cansign2": {
  28770. "description": "是否可签约(网银端) - 0:不可 1:可以",
  28771. "type": "integer"
  28772. },
  28773. "currency": {
  28774. "description": "币种",
  28775. "type": "string"
  28776. },
  28777. "cusbankid": {
  28778. "description": "托管银行编号(对应清算中心TRAN_NO)",
  28779. "type": "string"
  28780. },
  28781. "cusbankname": {
  28782. "description": "银行业务名称",
  28783. "type": "string"
  28784. },
  28785. "cusbankshortname": {
  28786. "description": "银行业务简称",
  28787. "type": "string"
  28788. },
  28789. "exchbankid": {
  28790. "description": "交易所开户银行ID",
  28791. "type": "string"
  28792. },
  28793. "exchpaybankaccname": {
  28794. "description": "交易所支出结算账户户名",
  28795. "type": "string"
  28796. },
  28797. "exchpaybankaccno": {
  28798. "description": "交易所支出结算账户",
  28799. "type": "string"
  28800. },
  28801. "isneedcheck": {
  28802. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  28803. "type": "integer"
  28804. },
  28805. "isneedclear": {
  28806. "description": "是否需要清算 - 0:不需要 1:需要",
  28807. "type": "integer"
  28808. },
  28809. "lastcheckstatus": {
  28810. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  28811. "type": "integer"
  28812. },
  28813. "lastchecktime": {
  28814. "description": "最后对账时间",
  28815. "type": "string"
  28816. },
  28817. "lastclearstatus": {
  28818. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  28819. "type": "integer"
  28820. },
  28821. "lastcleartime": {
  28822. "description": "最后清算时间",
  28823. "type": "string"
  28824. },
  28825. "lastsignintime": {
  28826. "description": "最后签到时间",
  28827. "type": "string"
  28828. },
  28829. "lastsignouttime": {
  28830. "description": "最后签退时间",
  28831. "type": "string"
  28832. },
  28833. "riskinfo": {
  28834. "description": "签约风险提示书",
  28835. "type": "string"
  28836. },
  28837. "signstatus": {
  28838. "description": "当前签到/签退状态 - 1:签到 2:签退",
  28839. "type": "integer"
  28840. },
  28841. "tradedate": {
  28842. "description": "交易日(yyyyMMdd)",
  28843. "type": "string"
  28844. },
  28845. "updatetime": {
  28846. "description": "当前签到/签退更新时间",
  28847. "type": "string"
  28848. }
  28849. }
  28850. },
  28851. "models.QhjCustomer": {
  28852. "type": "object",
  28853. "properties": {
  28854. "address": {
  28855. "description": "通讯地址",
  28856. "type": "string"
  28857. },
  28858. "attachment1": {
  28859. "description": "附件1",
  28860. "type": "string"
  28861. },
  28862. "attachment2": {
  28863. "description": "附件2",
  28864. "type": "string"
  28865. },
  28866. "audittime": {
  28867. "description": "审核时间",
  28868. "type": "string"
  28869. },
  28870. "cardbackphotourl": {
  28871. "description": "证件反面图片地址",
  28872. "type": "string"
  28873. },
  28874. "cardfrontphotourl": {
  28875. "description": "证件正面图片地址",
  28876. "type": "string"
  28877. },
  28878. "cardnum": {
  28879. "description": "证件号码",
  28880. "type": "string"
  28881. },
  28882. "cardtype": {
  28883. "description": "证件类型",
  28884. "type": "integer"
  28885. },
  28886. "cardtypename": {
  28887. "description": "证件类型名称",
  28888. "type": "string"
  28889. },
  28890. "cityid": {
  28891. "description": "市",
  28892. "type": "integer"
  28893. },
  28894. "cityname": {
  28895. "description": "城市名称",
  28896. "type": "string"
  28897. },
  28898. "contactname": {
  28899. "description": "联系人",
  28900. "type": "string"
  28901. },
  28902. "countryid": {
  28903. "description": "国家",
  28904. "type": "integer"
  28905. },
  28906. "countryname": {
  28907. "description": "国家名称",
  28908. "type": "string"
  28909. },
  28910. "createtime": {
  28911. "description": "创建时间",
  28912. "type": "string"
  28913. },
  28914. "customername": {
  28915. "description": "客户名称",
  28916. "type": "string"
  28917. },
  28918. "districtid": {
  28919. "description": "区域",
  28920. "type": "integer"
  28921. },
  28922. "districtname": {
  28923. "description": "地区名称",
  28924. "type": "string"
  28925. },
  28926. "email": {
  28927. "description": "邮件",
  28928. "type": "string"
  28929. },
  28930. "legalpersonname": {
  28931. "description": "法人姓名(企业)",
  28932. "type": "string"
  28933. },
  28934. "logincode": {
  28935. "description": "登录账号(代码)",
  28936. "type": "string"
  28937. },
  28938. "memberuserid": {
  28939. "description": "所属机构ID(所属会员)",
  28940. "type": "integer"
  28941. },
  28942. "memberusername": {
  28943. "description": "所属会员名称",
  28944. "type": "string"
  28945. },
  28946. "mobile": {
  28947. "description": "手机号码",
  28948. "type": "string"
  28949. },
  28950. "modifytime": {
  28951. "description": "修改时间",
  28952. "type": "string"
  28953. },
  28954. "nickname": {
  28955. "description": "昵称",
  28956. "type": "string"
  28957. },
  28958. "parentuserid": {
  28959. "description": "上级机构(所属机构)",
  28960. "type": "integer"
  28961. },
  28962. "parentusername": {
  28963. "description": "所属机构名称",
  28964. "type": "string"
  28965. },
  28966. "provinceid": {
  28967. "description": "省",
  28968. "type": "integer"
  28969. },
  28970. "provincename": {
  28971. "description": "省名称",
  28972. "type": "string"
  28973. },
  28974. "proxystatementurl": {
  28975. "description": "授权委托书",
  28976. "type": "string"
  28977. },
  28978. "remark": {
  28979. "description": "备注",
  28980. "type": "string"
  28981. },
  28982. "status": {
  28983. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  28984. "type": "integer"
  28985. },
  28986. "statusdesc": {
  28987. "description": "账户状态中文描述",
  28988. "type": "string"
  28989. },
  28990. "taxpayernum": {
  28991. "description": "纳税人识别号",
  28992. "type": "string"
  28993. },
  28994. "telphone": {
  28995. "description": "联系电话",
  28996. "type": "string"
  28997. },
  28998. "userid": {
  28999. "description": "用户ID",
  29000. "type": "integer"
  29001. },
  29002. "userinfotype": {
  29003. "description": "客户类型 1-个人 2-企业",
  29004. "type": "integer"
  29005. },
  29006. "username": {
  29007. "description": "用户名称",
  29008. "type": "string"
  29009. }
  29010. }
  29011. },
  29012. "models.QhjCustomerSignLog": {
  29013. "type": "object",
  29014. "properties": {
  29015. "agreementcontent": {
  29016. "description": "协议内容",
  29017. "type": "string"
  29018. },
  29019. "agreementid": {
  29020. "description": "协议ID",
  29021. "type": "integer"
  29022. },
  29023. "agreementname": {
  29024. "description": "协议名称",
  29025. "type": "string"
  29026. },
  29027. "agreementno": {
  29028. "description": "协议编号",
  29029. "type": "string"
  29030. },
  29031. "agreementtype": {
  29032. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29033. "type": "integer"
  29034. },
  29035. "agreementversion": {
  29036. "description": "协议版本号",
  29037. "type": "integer"
  29038. },
  29039. "createtime": {
  29040. "description": "创建时间",
  29041. "type": "string"
  29042. },
  29043. "goodscode": {
  29044. "description": "商品代码",
  29045. "type": "string"
  29046. },
  29047. "goodsid": {
  29048. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29049. "type": "integer"
  29050. },
  29051. "goodsname": {
  29052. "description": "商品名称",
  29053. "type": "string"
  29054. },
  29055. "logid": {
  29056. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  29057. "type": "integer"
  29058. },
  29059. "nodetype": {
  29060. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29061. "type": "integer"
  29062. },
  29063. "signadressurl": {
  29064. "description": "签约文件地址",
  29065. "type": "string"
  29066. },
  29067. "signtimestamp": {
  29068. "description": "签约状态时间戳",
  29069. "type": "string"
  29070. },
  29071. "userid": {
  29072. "description": "客户ID",
  29073. "type": "integer"
  29074. },
  29075. "username": {
  29076. "description": "客户名称",
  29077. "type": "string"
  29078. }
  29079. }
  29080. },
  29081. "models.QhjCustomerSignStatus": {
  29082. "type": "object",
  29083. "properties": {
  29084. "createtime": {
  29085. "description": "创建时间",
  29086. "type": "string"
  29087. },
  29088. "goodscode": {
  29089. "description": "商品代码",
  29090. "type": "string"
  29091. },
  29092. "goodsid": {
  29093. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29094. "type": "integer"
  29095. },
  29096. "goodsname": {
  29097. "description": "商品名称",
  29098. "type": "string"
  29099. },
  29100. "nodetype": {
  29101. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  29102. "type": "integer"
  29103. },
  29104. "signtimestamp": {
  29105. "description": "签约状态时间戳",
  29106. "type": "string"
  29107. },
  29108. "tradedate": {
  29109. "description": "创建交易日(yyyyMMdd)",
  29110. "type": "string"
  29111. },
  29112. "updatetime": {
  29113. "description": "更新时间",
  29114. "type": "string"
  29115. },
  29116. "userid": {
  29117. "description": "客户ID",
  29118. "type": "integer"
  29119. },
  29120. "username": {
  29121. "description": "客户名称",
  29122. "type": "string"
  29123. }
  29124. }
  29125. },
  29126. "models.QhjMgrAccountOutInApply": {
  29127. "type": "object",
  29128. "properties": {
  29129. "accountcode": {
  29130. "description": "资金账号",
  29131. "type": "string"
  29132. },
  29133. "accountname": {
  29134. "description": "用户名称(名称)",
  29135. "type": "string"
  29136. },
  29137. "accountpwd": {
  29138. "description": "资金密码",
  29139. "type": "string"
  29140. },
  29141. "accountticket": {
  29142. "description": "最新账户服务流水号",
  29143. "type": "string"
  29144. },
  29145. "amount": {
  29146. "description": "金额",
  29147. "type": "number"
  29148. },
  29149. "applyremark": {
  29150. "description": "申请备注",
  29151. "type": "string"
  29152. },
  29153. "applystatus": {
  29154. "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: 复审通过,账户冻结金额检查中;",
  29155. "type": "integer"
  29156. },
  29157. "auditid": {
  29158. "description": "审核人",
  29159. "type": "integer"
  29160. },
  29161. "audittime": {
  29162. "description": "审核时间",
  29163. "type": "string"
  29164. },
  29165. "bank_apply_ticket": {
  29166. "description": "银行申请流水",
  29167. "type": "string"
  29168. },
  29169. "bankaccountname": {
  29170. "description": "银行账户名",
  29171. "type": "string"
  29172. },
  29173. "bankaccountno": {
  29174. "description": "银行卡号",
  29175. "type": "string"
  29176. },
  29177. "bankid": {
  29178. "description": "银行编号",
  29179. "type": "string"
  29180. },
  29181. "bankname": {
  29182. "description": "银行名称",
  29183. "type": "string"
  29184. },
  29185. "bankticket": {
  29186. "description": "银行流水",
  29187. "type": "string"
  29188. },
  29189. "branchbankid": {
  29190. "description": "银行支行号",
  29191. "type": "string"
  29192. },
  29193. "branchbankname": {
  29194. "description": "银行支行名称",
  29195. "type": "string"
  29196. },
  29197. "capamountout": {
  29198. "description": "出金(劣后本金) - 外部子账户",
  29199. "type": "number"
  29200. },
  29201. "certificatephotourl": {
  29202. "description": "凭证地址",
  29203. "type": "string"
  29204. },
  29205. "charge": {
  29206. "description": "手续费",
  29207. "type": "number"
  29208. },
  29209. "checkerrorflag": {
  29210. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  29211. "type": "integer"
  29212. },
  29213. "currency": {
  29214. "description": "币种",
  29215. "type": "string"
  29216. },
  29217. "cusbankid": {
  29218. "description": "托管银行编号",
  29219. "type": "string"
  29220. },
  29221. "exchticket": {
  29222. "description": "银行服务流水号",
  29223. "type": "string"
  29224. },
  29225. "executetype": {
  29226. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29227. "type": "integer"
  29228. },
  29229. "extendinfo": {
  29230. "description": "扩展信息",
  29231. "type": "string"
  29232. },
  29233. "extoperateid": {
  29234. "description": "交易服务流水号",
  29235. "type": "integer"
  29236. },
  29237. "infamount": {
  29238. "description": "劣后金额(自有)",
  29239. "type": "number"
  29240. },
  29241. "logincode": {
  29242. "description": "登录账号(账号)",
  29243. "type": "string"
  29244. },
  29245. "netaddr": {
  29246. "description": "调转网址",
  29247. "type": "string"
  29248. },
  29249. "priamount": {
  29250. "description": "优先金额(授信)",
  29251. "type": "number"
  29252. },
  29253. "reauditid": {
  29254. "description": "复审人",
  29255. "type": "integer"
  29256. },
  29257. "reauditremark": {
  29258. "description": "复审备注",
  29259. "type": "string"
  29260. },
  29261. "reaudittime": {
  29262. "description": "复审时间",
  29263. "type": "string"
  29264. },
  29265. "relatedorderid": {
  29266. "description": "三方关联ID",
  29267. "type": "string"
  29268. },
  29269. "remark": {
  29270. "description": "备注",
  29271. "type": "string"
  29272. },
  29273. "remark2": {
  29274. "description": "备注(失败原因)",
  29275. "type": "string"
  29276. },
  29277. "soucreamount": {
  29278. "description": "原始出入金金额",
  29279. "type": "number"
  29280. },
  29281. "soucrecurrencyid": {
  29282. "description": "原始出入金币种",
  29283. "type": "integer"
  29284. },
  29285. "tradedate": {
  29286. "description": "交易日(yyyyMMdd)",
  29287. "type": "string"
  29288. },
  29289. "updatetime": {
  29290. "description": "更新时间(申请时间)",
  29291. "type": "string"
  29292. },
  29293. "userid": {
  29294. "description": "用户id",
  29295. "type": "integer"
  29296. },
  29297. "userinfotype": {
  29298. "description": "账户类型 1-个人 2-企业",
  29299. "type": "integer"
  29300. }
  29301. }
  29302. },
  29303. "models.QhjMgrBrokerApply": {
  29304. "type": "object",
  29305. "properties": {
  29306. "applicantid": {
  29307. "description": "申请人",
  29308. "type": "integer"
  29309. },
  29310. "applysrc": {
  29311. "description": "申请来源 - 1:管理端 2:终端",
  29312. "type": "integer"
  29313. },
  29314. "applystatus": {
  29315. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  29316. "type": "integer"
  29317. },
  29318. "applytime": {
  29319. "description": "申请时间",
  29320. "type": "string"
  29321. },
  29322. "auditorid": {
  29323. "description": "审核人",
  29324. "type": "integer"
  29325. },
  29326. "auditremark": {
  29327. "description": "审核备注",
  29328. "type": "string"
  29329. },
  29330. "auditsrc": {
  29331. "description": "审核来源 - 1:管理端 2:终端",
  29332. "type": "integer"
  29333. },
  29334. "audittime": {
  29335. "description": "审核时间",
  29336. "type": "string"
  29337. },
  29338. "audittradedate": {
  29339. "description": "审核交易日(yyyyMMdd)",
  29340. "type": "string"
  29341. },
  29342. "brokerapplyid": {
  29343. "description": "申请ID(SEQ_BROKERAPPLY)",
  29344. "type": "integer"
  29345. },
  29346. "cardbackphotourl": {
  29347. "description": "证件背面图片地址",
  29348. "type": "string"
  29349. },
  29350. "cardfrontphotourl": {
  29351. "description": "证件正面图片地址",
  29352. "type": "string"
  29353. },
  29354. "cardnum": {
  29355. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  29356. "type": "string"
  29357. },
  29358. "customername": {
  29359. "description": "姓名",
  29360. "type": "string"
  29361. },
  29362. "filterstatus": {
  29363. "description": "筛选条件",
  29364. "type": "string"
  29365. },
  29366. "logincode": {
  29367. "description": "登录代码",
  29368. "type": "string"
  29369. },
  29370. "mobile": {
  29371. "description": "手机号码",
  29372. "type": "string"
  29373. },
  29374. "parentuserid": {
  29375. "description": "所属机构id",
  29376. "type": "integer"
  29377. },
  29378. "parentusername": {
  29379. "description": "所属机构名称",
  29380. "type": "string"
  29381. },
  29382. "refereeuserid": {
  29383. "description": "推荐人id(经纪人)",
  29384. "type": "integer"
  29385. },
  29386. "refernum": {
  29387. "description": "推荐码",
  29388. "type": "string"
  29389. },
  29390. "remark": {
  29391. "description": "备注",
  29392. "type": "string"
  29393. },
  29394. "subarealevelpath": {
  29395. "description": "层级路径",
  29396. "type": "string"
  29397. },
  29398. "tradedate": {
  29399. "description": "交易日(yyyyMMdd)",
  29400. "type": "string"
  29401. },
  29402. "userid": {
  29403. "description": "申请人用户ID",
  29404. "type": "integer"
  29405. },
  29406. "userinfotype": {
  29407. "description": "用户类型 1-个人 2-企业",
  29408. "type": "integer"
  29409. },
  29410. "username": {
  29411. "description": "用户名称",
  29412. "type": "string"
  29413. }
  29414. }
  29415. },
  29416. "models.QhjMgrBrokerRewardReport": {
  29417. "type": "object",
  29418. "properties": {
  29419. "createtime": {
  29420. "description": "创建时间(注册时间)",
  29421. "type": "string"
  29422. },
  29423. "cycletime": {
  29424. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  29425. "type": "string"
  29426. },
  29427. "cycletype": {
  29428. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  29429. "type": "integer"
  29430. },
  29431. "directtotalnum": {
  29432. "description": "直推总人数【期末】",
  29433. "type": "integer"
  29434. },
  29435. "indirecttotalnum": {
  29436. "description": "间推总人数【期末】",
  29437. "type": "integer"
  29438. },
  29439. "mobile": {
  29440. "description": "电话号码",
  29441. "type": "string"
  29442. },
  29443. "refereeuserid": {
  29444. "description": "推荐人id(经纪人id)",
  29445. "type": "integer"
  29446. },
  29447. "refereeusername": {
  29448. "description": "推荐人名称(经纪人) 上级经纪人名称",
  29449. "type": "string"
  29450. },
  29451. "refernum": {
  29452. "description": "推荐码",
  29453. "type": "string"
  29454. },
  29455. "subarealevelpath": {
  29456. "description": "用户层级路径",
  29457. "type": "string"
  29458. },
  29459. "todayrewardamount": {
  29460. "description": "奖励总金额【汇总】",
  29461. "type": "number"
  29462. },
  29463. "updatetime": {
  29464. "description": "更新时间",
  29465. "type": "string"
  29466. },
  29467. "userid": {
  29468. "description": "经纪人用户ID",
  29469. "type": "integer"
  29470. },
  29471. "userinfotype": {
  29472. "description": "用户类型 1-个人 2-企业",
  29473. "type": "integer"
  29474. },
  29475. "username": {
  29476. "description": "用户名称",
  29477. "type": "string"
  29478. }
  29479. }
  29480. },
  29481. "models.QhjMgrContract": {
  29482. "type": "object",
  29483. "properties": {
  29484. "contractconfirmtime": {
  29485. "description": "合同确认时间(时间)",
  29486. "type": "string"
  29487. },
  29488. "currisklevel": {
  29489. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29490. "type": "integer"
  29491. },
  29492. "decimalplace": {
  29493. "description": "商品报价小数位",
  29494. "type": "integer"
  29495. },
  29496. "enumdicname": {
  29497. "description": "单位名称",
  29498. "type": "string"
  29499. },
  29500. "goodscode": {
  29501. "description": "商品代码",
  29502. "type": "string"
  29503. },
  29504. "goodsid": {
  29505. "description": "商品ID [5:融资单]",
  29506. "type": "integer"
  29507. },
  29508. "goodsname": {
  29509. "description": "商品名称",
  29510. "type": "string"
  29511. },
  29512. "goodunitid": {
  29513. "description": "商品单位id",
  29514. "type": "integer"
  29515. },
  29516. "initmargin": {
  29517. "description": "初始保证金(首付款)",
  29518. "type": "number"
  29519. },
  29520. "lenderamount": {
  29521. "description": "贷款金额(总额|订单总额)",
  29522. "type": "number"
  29523. },
  29524. "logincode": {
  29525. "description": "账号(登录代码)",
  29526. "type": "string"
  29527. },
  29528. "marginratio": {
  29529. "description": "保证金比率(首付比例)",
  29530. "type": "number"
  29531. },
  29532. "mobile": {
  29533. "description": "电话号码(用户资料里的电话)",
  29534. "type": "string"
  29535. },
  29536. "payamount": {
  29537. "description": "已付(已付货款)",
  29538. "type": "number"
  29539. },
  29540. "reckonrecovermargin": {
  29541. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29542. "type": "number"
  29543. },
  29544. "recoveredmargin": {
  29545. "description": "已追缴保证金",
  29546. "type": "number"
  29547. },
  29548. "remainamount": {
  29549. "description": "合同剩余金额(融资额)",
  29550. "type": "number"
  29551. },
  29552. "scfcontractid": {
  29553. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29554. "type": "string"
  29555. },
  29556. "scfcontractstatus": {
  29557. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29558. "type": "integer"
  29559. },
  29560. "scfcontracttype": {
  29561. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29562. "type": "integer"
  29563. },
  29564. "totalinterest": {
  29565. "description": "已计总利息(利息)",
  29566. "type": "number"
  29567. },
  29568. "tradedate": {
  29569. "description": "交易日",
  29570. "type": "string"
  29571. },
  29572. "tradeprice": {
  29573. "description": "成交价格(成本价格)",
  29574. "type": "number"
  29575. },
  29576. "userid": {
  29577. "description": "用户ID",
  29578. "type": "integer"
  29579. },
  29580. "userinfotype": {
  29581. "description": "用户类型 1-个人 2-企业",
  29582. "type": "integer"
  29583. },
  29584. "username": {
  29585. "description": "用户名称",
  29586. "type": "string"
  29587. },
  29588. "wrqty": {
  29589. "description": "仓单数量(数量)",
  29590. "type": "number"
  29591. }
  29592. }
  29593. },
  29594. "models.QhjMgrCustomer": {
  29595. "type": "object",
  29596. "properties": {
  29597. "address": {
  29598. "description": "通讯地址",
  29599. "type": "string"
  29600. },
  29601. "attachment1": {
  29602. "description": "附件1",
  29603. "type": "string"
  29604. },
  29605. "audittime": {
  29606. "description": "审核时间",
  29607. "type": "string"
  29608. },
  29609. "birthday": {
  29610. "description": "生日",
  29611. "type": "string"
  29612. },
  29613. "brokerid": {
  29614. "description": "所属客户经理id",
  29615. "type": "integer"
  29616. },
  29617. "brokername": {
  29618. "description": "所属客户经理名称",
  29619. "type": "string"
  29620. },
  29621. "cardbackphotourl": {
  29622. "description": "证件反面图片地址",
  29623. "type": "string"
  29624. },
  29625. "cardfrontphotourl": {
  29626. "description": "证件正面图片地址",
  29627. "type": "string"
  29628. },
  29629. "cardnum": {
  29630. "description": "证件号码",
  29631. "type": "string"
  29632. },
  29633. "cardtype": {
  29634. "description": "证件类型",
  29635. "type": "integer"
  29636. },
  29637. "cardtypename": {
  29638. "description": "证件类型名称",
  29639. "type": "string"
  29640. },
  29641. "cityid": {
  29642. "description": "市",
  29643. "type": "integer"
  29644. },
  29645. "cityname": {
  29646. "description": "城市名称",
  29647. "type": "string"
  29648. },
  29649. "contactname": {
  29650. "description": "联系人",
  29651. "type": "string"
  29652. },
  29653. "countryid": {
  29654. "description": "国家",
  29655. "type": "integer"
  29656. },
  29657. "countryname": {
  29658. "description": "国家名称",
  29659. "type": "string"
  29660. },
  29661. "createtime": {
  29662. "description": "创建时间",
  29663. "type": "string"
  29664. },
  29665. "customername": {
  29666. "description": "客户名称",
  29667. "type": "string"
  29668. },
  29669. "districtid": {
  29670. "description": "区域",
  29671. "type": "integer"
  29672. },
  29673. "districtname": {
  29674. "description": "地区名称",
  29675. "type": "string"
  29676. },
  29677. "email": {
  29678. "description": "邮件",
  29679. "type": "string"
  29680. },
  29681. "legalpersonname": {
  29682. "description": "法人姓名(企业)",
  29683. "type": "string"
  29684. },
  29685. "logincode": {
  29686. "description": "登录账号(代码)",
  29687. "type": "string"
  29688. },
  29689. "memberuserid": {
  29690. "description": "所属机构ID(所属会员)",
  29691. "type": "integer"
  29692. },
  29693. "memberusername": {
  29694. "description": "所属会员名称",
  29695. "type": "string"
  29696. },
  29697. "mobile": {
  29698. "description": "手机号码",
  29699. "type": "string"
  29700. },
  29701. "modifytime": {
  29702. "description": "修改时间",
  29703. "type": "string"
  29704. },
  29705. "nickname": {
  29706. "description": "昵称",
  29707. "type": "string"
  29708. },
  29709. "parentuserid": {
  29710. "description": "上级机构(所属机构)",
  29711. "type": "integer"
  29712. },
  29713. "parentusername": {
  29714. "description": "所属机构名称",
  29715. "type": "string"
  29716. },
  29717. "provinceid": {
  29718. "description": "省",
  29719. "type": "integer"
  29720. },
  29721. "provincename": {
  29722. "description": "省名称",
  29723. "type": "string"
  29724. },
  29725. "proxystatementurl": {
  29726. "description": "授权委托书",
  29727. "type": "string"
  29728. },
  29729. "querytype": {
  29730. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  29731. "type": "integer"
  29732. },
  29733. "remark": {
  29734. "description": "备注",
  29735. "type": "string"
  29736. },
  29737. "sex": {
  29738. "description": "性别 0-女 1-男",
  29739. "type": "integer"
  29740. },
  29741. "status": {
  29742. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29743. "type": "integer"
  29744. },
  29745. "statusdesc": {
  29746. "description": "账户状态中文描述",
  29747. "type": "string"
  29748. },
  29749. "taxpayernum": {
  29750. "description": "纳税人识别号",
  29751. "type": "string"
  29752. },
  29753. "telphone": {
  29754. "description": "联系电话",
  29755. "type": "string"
  29756. },
  29757. "userid": {
  29758. "description": "用户ID",
  29759. "type": "integer"
  29760. },
  29761. "userinfotype": {
  29762. "description": "客户类型 1-个人 2-企业",
  29763. "type": "integer"
  29764. },
  29765. "username": {
  29766. "description": "用户名称",
  29767. "type": "string"
  29768. }
  29769. }
  29770. },
  29771. "models.QhjMgrPickGoods": {
  29772. "type": "object",
  29773. "properties": {
  29774. "enumdicname": {
  29775. "description": "单位名称(提货商品)",
  29776. "type": "string"
  29777. },
  29778. "goodsid": {
  29779. "description": "商品id",
  29780. "type": "integer"
  29781. },
  29782. "imageaddress": {
  29783. "description": "图片",
  29784. "type": "string"
  29785. },
  29786. "modifierid": {
  29787. "description": "修改人",
  29788. "type": "integer"
  29789. },
  29790. "modifiername": {
  29791. "description": "修改人名称",
  29792. "type": "string"
  29793. },
  29794. "modifysrc": {
  29795. "description": "修改来源 - 1:管理端 2:终端",
  29796. "type": "integer"
  29797. },
  29798. "pickupgoodsagreeunit": {
  29799. "description": "合约乘数",
  29800. "type": "number"
  29801. },
  29802. "pickupgoodsdesc": {
  29803. "description": "描述",
  29804. "type": "string"
  29805. },
  29806. "pickupgoodsid": {
  29807. "description": "提货商品ID",
  29808. "type": "string"
  29809. },
  29810. "pickupgoodsname": {
  29811. "description": "提货商品名称",
  29812. "type": "string"
  29813. },
  29814. "pickupgoodsstatus": {
  29815. "description": "状态 - 1:正常 2:停用 3:注销",
  29816. "type": "integer"
  29817. },
  29818. "pickupgoodsunitid": {
  29819. "description": "单位ID",
  29820. "type": "integer"
  29821. },
  29822. "pickupratio": {
  29823. "description": "提货系数",
  29824. "type": "number"
  29825. },
  29826. "preparedays": {
  29827. "description": "备货期(天)",
  29828. "type": "integer"
  29829. },
  29830. "remark": {
  29831. "description": "备注",
  29832. "type": "string"
  29833. },
  29834. "updatetime": {
  29835. "description": "更新时间",
  29836. "type": "string"
  29837. }
  29838. }
  29839. },
  29840. "models.QhjMgrPositionRsp": {
  29841. "type": "object",
  29842. "properties": {
  29843. "accountid": {
  29844. "description": "账号Id",
  29845. "type": "integer"
  29846. },
  29847. "accountname": {
  29848. "description": "用户名称",
  29849. "type": "string"
  29850. },
  29851. "agreeunit": {
  29852. "description": "合约乘数",
  29853. "type": "number"
  29854. },
  29855. "averageprice": {
  29856. "description": "均价",
  29857. "type": "number"
  29858. },
  29859. "avialqty": {
  29860. "description": "可用数量",
  29861. "type": "number"
  29862. },
  29863. "decimalplace": {
  29864. "description": "报价小数位",
  29865. "type": "integer"
  29866. },
  29867. "enumdicname": {
  29868. "description": "单位名称(商品)",
  29869. "type": "string"
  29870. },
  29871. "frozenqty": {
  29872. "description": "冻结数量",
  29873. "type": "number"
  29874. },
  29875. "goodscode": {
  29876. "description": "商品代码(内部)",
  29877. "type": "string"
  29878. },
  29879. "goodsid": {
  29880. "description": "商品Id",
  29881. "type": "integer"
  29882. },
  29883. "goodsname": {
  29884. "description": "商品名称",
  29885. "type": "string"
  29886. },
  29887. "goodunitid": {
  29888. "description": "报价单位ID",
  29889. "type": "integer"
  29890. },
  29891. "holderamount": {
  29892. "description": "金额",
  29893. "type": "number"
  29894. },
  29895. "holderqty": {
  29896. "description": "持有数量",
  29897. "type": "number"
  29898. },
  29899. "holdertype": {
  29900. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  29901. "type": "integer"
  29902. },
  29903. "logincode": {
  29904. "description": "登录代码(账户)",
  29905. "type": "string"
  29906. },
  29907. "marketid": {
  29908. "description": "市场id",
  29909. "type": "integer"
  29910. },
  29911. "qtydecimalplace": {
  29912. "description": "成交量小数位",
  29913. "type": "integer"
  29914. },
  29915. "trademode": {
  29916. "description": "交易模式",
  29917. "type": "integer"
  29918. },
  29919. "userid": {
  29920. "description": "用户id",
  29921. "type": "integer"
  29922. },
  29923. "userinfotype": {
  29924. "description": "账户类型 1-个人 2-企业",
  29925. "type": "integer"
  29926. }
  29927. }
  29928. },
  29929. "models.QhjMgrSubArea": {
  29930. "type": "object",
  29931. "properties": {
  29932. "accountname": {
  29933. "description": "账户名称(机构名称)",
  29934. "type": "string"
  29935. },
  29936. "memberuserid": {
  29937. "description": "所属会员ID",
  29938. "type": "integer"
  29939. },
  29940. "parenttopuser": {
  29941. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29942. "type": "string"
  29943. },
  29944. "parentuserid": {
  29945. "description": "所属机构ID",
  29946. "type": "integer"
  29947. },
  29948. "rootuserid": {
  29949. "description": "根用户ID",
  29950. "type": "string"
  29951. },
  29952. "subaccountlevel": {
  29953. "description": "子账户层数",
  29954. "type": "integer"
  29955. },
  29956. "subarealevelpath": {
  29957. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29958. "type": "string"
  29959. },
  29960. "userid": {
  29961. "description": "用户ID",
  29962. "type": "integer"
  29963. },
  29964. "usertype": {
  29965. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29966. "type": "integer"
  29967. }
  29968. }
  29969. },
  29970. "models.QhjMgrTradeDetailRsp": {
  29971. "type": "object",
  29972. "properties": {
  29973. "accountid": {
  29974. "description": "资金账号",
  29975. "type": "integer"
  29976. },
  29977. "accountname": {
  29978. "description": "用户名称",
  29979. "type": "string"
  29980. },
  29981. "agreeunit": {
  29982. "description": "合约乘数",
  29983. "type": "number"
  29984. },
  29985. "buyorsell": {
  29986. "description": "成交类型(方向) 0:买 1:卖",
  29987. "type": "integer"
  29988. },
  29989. "decimalplace": {
  29990. "description": "报价小数位",
  29991. "type": "integer"
  29992. },
  29993. "enumdicname": {
  29994. "description": "单位名称(商品)",
  29995. "type": "string"
  29996. },
  29997. "goodscode": {
  29998. "description": "商品代码(内部)",
  29999. "type": "string"
  30000. },
  30001. "goodsid": {
  30002. "description": "商品id",
  30003. "type": "integer"
  30004. },
  30005. "goodsname": {
  30006. "description": "商品名称",
  30007. "type": "string"
  30008. },
  30009. "goodunitid": {
  30010. "description": "报价单位ID",
  30011. "type": "integer"
  30012. },
  30013. "logincode": {
  30014. "description": "登录代码(账户)",
  30015. "type": "string"
  30016. },
  30017. "marketid": {
  30018. "description": "市场id",
  30019. "type": "integer"
  30020. },
  30021. "orderid": {
  30022. "description": "关联委托单号",
  30023. "type": "string"
  30024. },
  30025. "qtydecimalplace": {
  30026. "description": "成交量小数位",
  30027. "type": "integer"
  30028. },
  30029. "tradeamount": {
  30030. "description": "金额",
  30031. "type": "number"
  30032. },
  30033. "tradedate": {
  30034. "description": "交易日",
  30035. "type": "string"
  30036. },
  30037. "tradeid": {
  30038. "description": "成交单号",
  30039. "type": "string"
  30040. },
  30041. "trademode": {
  30042. "description": "交易模式",
  30043. "type": "integer"
  30044. },
  30045. "tradeprice": {
  30046. "description": "价格",
  30047. "type": "number"
  30048. },
  30049. "tradeqty": {
  30050. "description": "数量",
  30051. "type": "number"
  30052. },
  30053. "tradetime": {
  30054. "description": "成交时间",
  30055. "type": "string"
  30056. },
  30057. "userid": {
  30058. "description": "用户id",
  30059. "type": "integer"
  30060. },
  30061. "userinfotype": {
  30062. "description": "账户类型 1-个人 2-企业",
  30063. "type": "integer"
  30064. }
  30065. }
  30066. },
  30067. "models.QhjMgrTradeOrderDetailRsp": {
  30068. "type": "object",
  30069. "properties": {
  30070. "accountid": {
  30071. "description": "资金账号",
  30072. "type": "integer"
  30073. },
  30074. "accountname": {
  30075. "description": "用户名称",
  30076. "type": "string"
  30077. },
  30078. "agreeunit": {
  30079. "description": "合约乘数",
  30080. "type": "number"
  30081. },
  30082. "amount": {
  30083. "description": "金额",
  30084. "type": "number"
  30085. },
  30086. "decimalplace": {
  30087. "description": "报价小数位",
  30088. "type": "integer"
  30089. },
  30090. "enumdicname": {
  30091. "description": "单位名称(商品)",
  30092. "type": "string"
  30093. },
  30094. "goodscode": {
  30095. "description": "商品代码(内部)",
  30096. "type": "string"
  30097. },
  30098. "goodsid": {
  30099. "description": "商品id",
  30100. "type": "integer"
  30101. },
  30102. "goodsname": {
  30103. "description": "商品名称",
  30104. "type": "string"
  30105. },
  30106. "goodunitid": {
  30107. "description": "报价单位ID",
  30108. "type": "integer"
  30109. },
  30110. "logincode": {
  30111. "description": "登录代码(账户)",
  30112. "type": "string"
  30113. },
  30114. "marketid": {
  30115. "description": "市场id",
  30116. "type": "integer"
  30117. },
  30118. "orderid": {
  30119. "description": "关联委托单号",
  30120. "type": "string"
  30121. },
  30122. "orderprice": {
  30123. "description": "价格",
  30124. "type": "number"
  30125. },
  30126. "orderqty": {
  30127. "description": "数量",
  30128. "type": "number"
  30129. },
  30130. "orderstatus": {
  30131. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30132. "type": "integer"
  30133. },
  30134. "ordertime": {
  30135. "description": "委托时间",
  30136. "type": "string"
  30137. },
  30138. "qtydecimalplace": {
  30139. "description": "成交量小数位",
  30140. "type": "integer"
  30141. },
  30142. "tradedate": {
  30143. "description": "交易日",
  30144. "type": "string"
  30145. },
  30146. "trademode": {
  30147. "description": "交易模式",
  30148. "type": "integer"
  30149. },
  30150. "userid": {
  30151. "description": "用户id",
  30152. "type": "integer"
  30153. },
  30154. "userinfotype": {
  30155. "description": "账户类型 1-个人 2-企业",
  30156. "type": "integer"
  30157. }
  30158. }
  30159. },
  30160. "models.QhjMgrTradePayOrder": {
  30161. "type": "object",
  30162. "properties": {
  30163. "accountname": {
  30164. "description": "用户名称",
  30165. "type": "string"
  30166. },
  30167. "advanceratio": {
  30168. "description": "首付比率",
  30169. "type": "number"
  30170. },
  30171. "agreeunit": {
  30172. "description": "合约乘数",
  30173. "type": "number"
  30174. },
  30175. "buyaccountid": {
  30176. "description": "买方账号ID[报价币种]",
  30177. "type": "integer"
  30178. },
  30179. "buyorderid": {
  30180. "description": "买方委托单号(关联单号)",
  30181. "type": "string"
  30182. },
  30183. "createtime": {
  30184. "description": "创建时间",
  30185. "type": "string"
  30186. },
  30187. "decimalplace": {
  30188. "description": "报价小数位",
  30189. "type": "integer"
  30190. },
  30191. "enumdicname": {
  30192. "description": "单位名称(商品)",
  30193. "type": "string"
  30194. },
  30195. "goodscode": {
  30196. "description": "商品代码(内部)",
  30197. "type": "string"
  30198. },
  30199. "goodsid": {
  30200. "description": "商品ID",
  30201. "type": "integer"
  30202. },
  30203. "goodsname": {
  30204. "description": "商品名称",
  30205. "type": "string"
  30206. },
  30207. "goodunitid": {
  30208. "description": "报价单位ID",
  30209. "type": "integer"
  30210. },
  30211. "logincode": {
  30212. "description": "登录代码(账户)",
  30213. "type": "string"
  30214. },
  30215. "marketid": {
  30216. "description": "市场id",
  30217. "type": "integer"
  30218. },
  30219. "offamount": {
  30220. "description": "优惠金额",
  30221. "type": "number"
  30222. },
  30223. "operatetype": {
  30224. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30225. "type": "integer"
  30226. },
  30227. "payamount": {
  30228. "description": "支付金额(金额)",
  30229. "type": "number"
  30230. },
  30231. "payflag": {
  30232. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30233. "type": "integer"
  30234. },
  30235. "paylimitedtime": {
  30236. "description": "支付期限",
  30237. "type": "string"
  30238. },
  30239. "paytime": {
  30240. "description": "付款时间",
  30241. "type": "string"
  30242. },
  30243. "qtydecimalplace": {
  30244. "description": "成交量小数位",
  30245. "type": "integer"
  30246. },
  30247. "sellaccountid": {
  30248. "description": "卖方账号ID[报价币种]",
  30249. "type": "integer"
  30250. },
  30251. "sellorderid": {
  30252. "description": "卖方委托单号",
  30253. "type": "string"
  30254. },
  30255. "tradeamount": {
  30256. "description": "成交金额(优惠后金额)",
  30257. "type": "number"
  30258. },
  30259. "tradecharge": {
  30260. "description": "成交手续费(买方)",
  30261. "type": "number"
  30262. },
  30263. "tradedate": {
  30264. "description": "交易日(yyyyMMdd)",
  30265. "type": "string"
  30266. },
  30267. "tradeid": {
  30268. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30269. "type": "string"
  30270. },
  30271. "trademode": {
  30272. "description": "交易模式",
  30273. "type": "integer"
  30274. },
  30275. "tradeprice": {
  30276. "description": "成交价格(价格)",
  30277. "type": "number"
  30278. },
  30279. "tradeqty": {
  30280. "description": "成交数量(数量)",
  30281. "type": "number"
  30282. },
  30283. "tradetime": {
  30284. "description": "成交时间",
  30285. "type": "string"
  30286. },
  30287. "userid": {
  30288. "description": "用户id",
  30289. "type": "integer"
  30290. },
  30291. "userinfotype": {
  30292. "description": "账户类型 1-个人 2-企业",
  30293. "type": "integer"
  30294. }
  30295. }
  30296. },
  30297. "models.QhjMyTeamEx": {
  30298. "type": "object",
  30299. "properties": {
  30300. "accountname": {
  30301. "description": "用户名称",
  30302. "type": "string"
  30303. },
  30304. "accountstatus": {
  30305. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30306. "type": "integer"
  30307. },
  30308. "createtime": {
  30309. "description": "创建时间",
  30310. "type": "string"
  30311. },
  30312. "mobile": {
  30313. "description": "手机号码",
  30314. "type": "string"
  30315. },
  30316. "refereeuserid": {
  30317. "description": "推荐人id",
  30318. "type": "integer"
  30319. },
  30320. "refernum": {
  30321. "description": "推荐码",
  30322. "type": "string"
  30323. },
  30324. "subList": {
  30325. "type": "array",
  30326. "items": {
  30327. "$ref": "#/definitions/models.QhjMyTeamEx"
  30328. }
  30329. },
  30330. "userid": {
  30331. "description": "用户id",
  30332. "type": "integer"
  30333. },
  30334. "userinfotype": {
  30335. "description": "用户类型 1-个人 2-企业",
  30336. "type": "integer"
  30337. }
  30338. }
  30339. },
  30340. "models.QhjNodeAgreementConfig": {
  30341. "type": "object",
  30342. "properties": {
  30343. "agreementcontent": {
  30344. "description": "协议内容",
  30345. "type": "string"
  30346. },
  30347. "agreementid": {
  30348. "description": "协议ID",
  30349. "type": "integer"
  30350. },
  30351. "agreementname": {
  30352. "description": "协议名称",
  30353. "type": "string"
  30354. },
  30355. "agreementno": {
  30356. "description": "协议编号",
  30357. "type": "string"
  30358. },
  30359. "agreementtype": {
  30360. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30361. "type": "integer"
  30362. },
  30363. "agreementversion": {
  30364. "description": "协议版本号",
  30365. "type": "integer"
  30366. },
  30367. "configid": {
  30368. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  30369. "type": "integer"
  30370. },
  30371. "createtime": {
  30372. "description": "创建时间",
  30373. "type": "string"
  30374. },
  30375. "goodsid": {
  30376. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30377. "type": "integer"
  30378. },
  30379. "nodetype": {
  30380. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30381. "type": "integer"
  30382. }
  30383. }
  30384. },
  30385. "models.QhjParentAreaList": {
  30386. "type": "object",
  30387. "properties": {
  30388. "accountname": {
  30389. "description": "账户名称(机构名称)",
  30390. "type": "string"
  30391. },
  30392. "userid": {
  30393. "description": "用户ID",
  30394. "type": "integer"
  30395. },
  30396. "usertype": {
  30397. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30398. "type": "integer"
  30399. }
  30400. }
  30401. },
  30402. "models.QhjPayOrder": {
  30403. "type": "object",
  30404. "properties": {
  30405. "advanceratio": {
  30406. "description": "首付比率",
  30407. "type": "number"
  30408. },
  30409. "buyaccountid": {
  30410. "description": "买方账号ID[报价币种]",
  30411. "type": "integer"
  30412. },
  30413. "buyorderid": {
  30414. "description": "买方委托单号",
  30415. "type": "string"
  30416. },
  30417. "createtime": {
  30418. "description": "创建时间",
  30419. "type": "string"
  30420. },
  30421. "decimalplace": {
  30422. "description": "商品报价小数位",
  30423. "type": "integer"
  30424. },
  30425. "enumdicname": {
  30426. "description": "单位名称",
  30427. "type": "string"
  30428. },
  30429. "goodscode": {
  30430. "description": "商品代码",
  30431. "type": "string"
  30432. },
  30433. "goodsid": {
  30434. "description": "商品ID",
  30435. "type": "integer"
  30436. },
  30437. "goodsname": {
  30438. "description": "商品名称",
  30439. "type": "string"
  30440. },
  30441. "goodunitid": {
  30442. "description": "商品单位id",
  30443. "type": "integer"
  30444. },
  30445. "marketid": {
  30446. "description": "市场ID",
  30447. "type": "integer"
  30448. },
  30449. "offamount": {
  30450. "description": "优惠金额",
  30451. "type": "number"
  30452. },
  30453. "operatetype": {
  30454. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30455. "type": "integer"
  30456. },
  30457. "payamount": {
  30458. "description": "支付金额",
  30459. "type": "number"
  30460. },
  30461. "payflag": {
  30462. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30463. "type": "integer"
  30464. },
  30465. "paylimitedtime": {
  30466. "description": "支付期限",
  30467. "type": "string"
  30468. },
  30469. "paytime": {
  30470. "description": "付款时间",
  30471. "type": "string"
  30472. },
  30473. "qtydecimalplace": {
  30474. "description": "成交量小数位",
  30475. "type": "integer"
  30476. },
  30477. "sellaccountid": {
  30478. "description": "卖方账号ID[报价币种]",
  30479. "type": "integer"
  30480. },
  30481. "sellorderid": {
  30482. "description": "卖方委托单号",
  30483. "type": "string"
  30484. },
  30485. "tradeamount": {
  30486. "description": "成交金额(优惠后金额)",
  30487. "type": "number"
  30488. },
  30489. "tradecharge": {
  30490. "description": "成交手续费(买方)",
  30491. "type": "number"
  30492. },
  30493. "tradedate": {
  30494. "description": "交易日(yyyyMMdd)",
  30495. "type": "string"
  30496. },
  30497. "tradeid": {
  30498. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30499. "type": "string"
  30500. },
  30501. "tradeprice": {
  30502. "description": "成交价格",
  30503. "type": "number"
  30504. },
  30505. "tradeqty": {
  30506. "description": "成交数量",
  30507. "type": "number"
  30508. }
  30509. }
  30510. },
  30511. "models.QhjPickArea": {
  30512. "type": "object",
  30513. "properties": {
  30514. "address": {
  30515. "description": "详细地址",
  30516. "type": "string"
  30517. },
  30518. "cityid": {
  30519. "description": "市",
  30520. "type": "integer"
  30521. },
  30522. "cityname": {
  30523. "description": "城市名称",
  30524. "type": "string"
  30525. },
  30526. "countryid": {
  30527. "description": "国家",
  30528. "type": "integer"
  30529. },
  30530. "countryname": {
  30531. "description": "国家名称",
  30532. "type": "string"
  30533. },
  30534. "districtid": {
  30535. "description": "地区",
  30536. "type": "integer"
  30537. },
  30538. "districtname": {
  30539. "description": "地区名称",
  30540. "type": "string"
  30541. },
  30542. "fromuserid": {
  30543. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  30544. "type": "integer"
  30545. },
  30546. "fromusername": {
  30547. "description": "所属机构名称",
  30548. "type": "string"
  30549. },
  30550. "provinceid": {
  30551. "description": "省",
  30552. "type": "integer"
  30553. },
  30554. "provincename": {
  30555. "description": "省名称",
  30556. "type": "string"
  30557. },
  30558. "suborgtype": {
  30559. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  30560. "type": "integer"
  30561. },
  30562. "userid": {
  30563. "description": "机构用户ID 其他做市关系,都设置为 1",
  30564. "type": "integer"
  30565. },
  30566. "username": {
  30567. "description": "机构用户名称(门店门称)",
  30568. "type": "string"
  30569. }
  30570. }
  30571. },
  30572. "models.QhjPickGoods": {
  30573. "type": "object",
  30574. "properties": {
  30575. "enumdicname": {
  30576. "description": "单位名称(提货商品)",
  30577. "type": "string"
  30578. },
  30579. "goodsid": {
  30580. "description": "商品id",
  30581. "type": "integer"
  30582. },
  30583. "imageaddress": {
  30584. "description": "图片",
  30585. "type": "string"
  30586. },
  30587. "modifierid": {
  30588. "description": "修改人",
  30589. "type": "integer"
  30590. },
  30591. "modifiername": {
  30592. "description": "修改人名称",
  30593. "type": "string"
  30594. },
  30595. "modifysrc": {
  30596. "description": "修改来源 - 1:管理端 2:终端",
  30597. "type": "integer"
  30598. },
  30599. "pickupgoodsagreeunit": {
  30600. "description": "合约乘数",
  30601. "type": "number"
  30602. },
  30603. "pickupgoodsdesc": {
  30604. "description": "描述",
  30605. "type": "string"
  30606. },
  30607. "pickupgoodsid": {
  30608. "description": "提货商品ID",
  30609. "type": "string"
  30610. },
  30611. "pickupgoodsname": {
  30612. "description": "提货商品名称",
  30613. "type": "string"
  30614. },
  30615. "pickupgoodsstatus": {
  30616. "description": "状态 - 1:正常 2:停用 3:注销",
  30617. "type": "integer"
  30618. },
  30619. "pickupgoodsunitid": {
  30620. "description": "单位ID",
  30621. "type": "integer"
  30622. },
  30623. "pickupratio": {
  30624. "description": "提货系数",
  30625. "type": "number"
  30626. },
  30627. "preparedays": {
  30628. "description": "备货期(天)",
  30629. "type": "integer"
  30630. },
  30631. "remark": {
  30632. "description": "备注",
  30633. "type": "string"
  30634. },
  30635. "updatetime": {
  30636. "description": "更新时间",
  30637. "type": "string"
  30638. }
  30639. }
  30640. },
  30641. "models.QhjRSTriggerLog": {
  30642. "type": "object",
  30643. "properties": {
  30644. "accountid": {
  30645. "description": "用户资金账户",
  30646. "type": "integer"
  30647. },
  30648. "accountname": {
  30649. "description": "账号名称(ACCOUNTID对应的名称)",
  30650. "type": "string"
  30651. },
  30652. "currencyid": {
  30653. "description": "币种id",
  30654. "type": "integer"
  30655. },
  30656. "currencyname": {
  30657. "description": "币种名称",
  30658. "type": "string"
  30659. },
  30660. "decimalplace": {
  30661. "description": "商品报价小数位",
  30662. "type": "integer"
  30663. },
  30664. "enumdicname": {
  30665. "description": "单位名称",
  30666. "type": "string"
  30667. },
  30668. "goodscode": {
  30669. "description": "定投商品代码",
  30670. "type": "string"
  30671. },
  30672. "goodsid": {
  30673. "description": "定投商品ID",
  30674. "type": "integer"
  30675. },
  30676. "goodsname": {
  30677. "description": "定投商品名称",
  30678. "type": "string"
  30679. },
  30680. "goodunitid": {
  30681. "description": "定投商品单位id",
  30682. "type": "integer"
  30683. },
  30684. "logid": {
  30685. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  30686. "type": "string"
  30687. },
  30688. "logincode": {
  30689. "description": "账号(登录代码)",
  30690. "type": "string"
  30691. },
  30692. "qtydecimalplace": {
  30693. "description": "成交量小数位",
  30694. "type": "integer"
  30695. },
  30696. "regularlycycle": {
  30697. "description": "定投频率 - 1:每周 2:每月",
  30698. "type": "integer"
  30699. },
  30700. "regularlycyclevalue": {
  30701. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30702. "type": "string"
  30703. },
  30704. "regularlymode": {
  30705. "description": "定投方式 - 1:按数量 2:按金额",
  30706. "type": "integer"
  30707. },
  30708. "regularlymodevalue": {
  30709. "description": "定投方式值 - 数量或金额",
  30710. "type": "number"
  30711. },
  30712. "regularlystrategyid": {
  30713. "description": "定投策略ID",
  30714. "type": "integer"
  30715. },
  30716. "retcode": {
  30717. "description": "错误码",
  30718. "type": "string"
  30719. },
  30720. "tradeid": {
  30721. "description": "成交单ID",
  30722. "type": "string"
  30723. },
  30724. "triggeramount": {
  30725. "description": "触发金额",
  30726. "type": "number"
  30727. },
  30728. "triggerqty": {
  30729. "description": "触发数量",
  30730. "type": "number"
  30731. },
  30732. "triggerstatus": {
  30733. "description": "触发状态 - 1:成功 2:失败",
  30734. "type": "integer"
  30735. },
  30736. "triggertime": {
  30737. "description": "触发时间",
  30738. "type": "string"
  30739. },
  30740. "triggertradedate": {
  30741. "description": "触发交易日",
  30742. "type": "string"
  30743. },
  30744. "userid": {
  30745. "description": "所属用户ID",
  30746. "type": "integer"
  30747. },
  30748. "userinfotype": {
  30749. "description": "用户类型 1-个人 2-企业",
  30750. "type": "integer"
  30751. },
  30752. "username": {
  30753. "description": "用户名称(userid对应的名称)",
  30754. "type": "string"
  30755. }
  30756. }
  30757. },
  30758. "models.QhjRStrategy": {
  30759. "type": "object",
  30760. "properties": {
  30761. "accountid": {
  30762. "description": "用户资金账户",
  30763. "type": "integer"
  30764. },
  30765. "accountname": {
  30766. "description": "账号名称(ACCOUNTID对应的名称)",
  30767. "type": "string"
  30768. },
  30769. "currencyid": {
  30770. "description": "币种id",
  30771. "type": "integer"
  30772. },
  30773. "currencyname": {
  30774. "description": "币种名称",
  30775. "type": "string"
  30776. },
  30777. "decimalplace": {
  30778. "description": "商品报价小数位",
  30779. "type": "integer"
  30780. },
  30781. "enumdicname": {
  30782. "description": "单位名称",
  30783. "type": "string"
  30784. },
  30785. "goodscode": {
  30786. "description": "定投商品代码",
  30787. "type": "string"
  30788. },
  30789. "goodsid": {
  30790. "description": "定投商品ID",
  30791. "type": "integer"
  30792. },
  30793. "goodsname": {
  30794. "description": "定投商品名称",
  30795. "type": "string"
  30796. },
  30797. "goodunitid": {
  30798. "description": "定投商品单位id",
  30799. "type": "integer"
  30800. },
  30801. "lasteffecttradedate": {
  30802. "description": "最新生效交易日",
  30803. "type": "string"
  30804. },
  30805. "laststoptradedate": {
  30806. "description": "最新暂停交易日",
  30807. "type": "string"
  30808. },
  30809. "lasttriggertradedate": {
  30810. "description": "最新触发交易日",
  30811. "type": "string"
  30812. },
  30813. "logincode": {
  30814. "description": "账号(登录代码)",
  30815. "type": "string"
  30816. },
  30817. "nexttriggeramount": {
  30818. "description": "下次触发金额",
  30819. "type": "number"
  30820. },
  30821. "nexttriggerdate": {
  30822. "description": "下次触发日期",
  30823. "type": "string"
  30824. },
  30825. "nexttriggerqty": {
  30826. "description": "下次触发数量 [按小数位放大值]",
  30827. "type": "number"
  30828. },
  30829. "qtydecimalplace": {
  30830. "description": "成交量小数位",
  30831. "type": "integer"
  30832. },
  30833. "regularlycycle": {
  30834. "description": "定投频率 - 1:每周 2:每月",
  30835. "type": "integer"
  30836. },
  30837. "regularlycyclevalue": {
  30838. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30839. "type": "string"
  30840. },
  30841. "regularlymode": {
  30842. "description": "定投方式 - 1:按数量 2:按金额",
  30843. "type": "integer"
  30844. },
  30845. "regularlymodevalue": {
  30846. "description": "定投方式值 - 数量或金额",
  30847. "type": "number"
  30848. },
  30849. "regularlystrategyid": {
  30850. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  30851. "type": "integer"
  30852. },
  30853. "regularlystrategystatus": {
  30854. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  30855. "type": "integer"
  30856. },
  30857. "remark": {
  30858. "description": "备注",
  30859. "type": "string"
  30860. },
  30861. "triggersuccesstimes": {
  30862. "description": "累计定投成功次数",
  30863. "type": "string"
  30864. },
  30865. "triggertotalamount": {
  30866. "description": "累计定投金额(成功)",
  30867. "type": "number"
  30868. },
  30869. "triggertotalqty": {
  30870. "description": "累计定投数量(成功) [按小数位放大值]",
  30871. "type": "number"
  30872. },
  30873. "triggertotaltimes": {
  30874. "description": "累计定投总次数",
  30875. "type": "string"
  30876. },
  30877. "updatesrc": {
  30878. "description": "更新来源 - 1:管理端 2:终端",
  30879. "type": "integer"
  30880. },
  30881. "updatetime": {
  30882. "description": "更新时间",
  30883. "type": "string"
  30884. },
  30885. "updatorid": {
  30886. "description": "更新人",
  30887. "type": "string"
  30888. },
  30889. "userid": {
  30890. "description": "所属用户ID",
  30891. "type": "integer"
  30892. },
  30893. "userinfotype": {
  30894. "description": "用户类型 1-个人 2-企业",
  30895. "type": "integer"
  30896. },
  30897. "username": {
  30898. "description": "用户名称(userid对应的名称)",
  30899. "type": "string"
  30900. }
  30901. }
  30902. },
  30903. "models.QhjReckonPriceLog": {
  30904. "type": "object",
  30905. "properties": {
  30906. "decimalplace": {
  30907. "description": "商品报价小数位",
  30908. "type": "integer"
  30909. },
  30910. "goodscode": {
  30911. "description": "商品代码",
  30912. "type": "string"
  30913. },
  30914. "goodsid": {
  30915. "description": "商品ID",
  30916. "type": "integer"
  30917. },
  30918. "goodsname": {
  30919. "description": "商品名称",
  30920. "type": "string"
  30921. },
  30922. "lastreckonprice": {
  30923. "description": "上日结算价",
  30924. "type": "number"
  30925. },
  30926. "nextdnlimitprice": {
  30927. "description": "下个交易日跌停价",
  30928. "type": "number"
  30929. },
  30930. "nexttrade": {
  30931. "description": "下个交易日",
  30932. "type": "string"
  30933. },
  30934. "nextuplimitprice": {
  30935. "description": "下个交易日涨停价",
  30936. "type": "number"
  30937. },
  30938. "reckonprice": {
  30939. "description": "今日结算价(定投价)",
  30940. "type": "number"
  30941. },
  30942. "reckontime": {
  30943. "description": "结算时间",
  30944. "type": "string"
  30945. },
  30946. "totalholderqty": {
  30947. "description": "总持仓数",
  30948. "type": "integer"
  30949. },
  30950. "totalstock": {
  30951. "description": "总库存",
  30952. "type": "integer"
  30953. },
  30954. "tradedate": {
  30955. "description": "交易日",
  30956. "type": "string"
  30957. },
  30958. "updowncount": {
  30959. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  30960. "type": "integer"
  30961. },
  30962. "updownflag": {
  30963. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  30964. "type": "integer"
  30965. },
  30966. "updownrate": {
  30967. "description": "今日涨跌幅",
  30968. "type": "number"
  30969. },
  30970. "updownrate_2d": {
  30971. "description": "连续两日涨跌幅",
  30972. "type": "number"
  30973. },
  30974. "updownrate_3d": {
  30975. "description": "连续三日涨跌幅",
  30976. "type": "number"
  30977. }
  30978. }
  30979. },
  30980. "models.QhjScoreLog": {
  30981. "type": "object",
  30982. "properties": {
  30983. "accountid": {
  30984. "description": "账户ID",
  30985. "type": "integer"
  30986. },
  30987. "createtime": {
  30988. "description": "创建时间(时间)",
  30989. "type": "string"
  30990. },
  30991. "goodsid": {
  30992. "description": "商品ID",
  30993. "type": "integer"
  30994. },
  30995. "hasuploaded": {
  30996. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  30997. "type": "integer"
  30998. },
  30999. "logid": {
  31000. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31001. "type": "string"
  31002. },
  31003. "marketid": {
  31004. "description": "市场ID",
  31005. "type": "integer"
  31006. },
  31007. "relatedamount": {
  31008. "description": "关联金额",
  31009. "type": "number"
  31010. },
  31011. "relatedorderid": {
  31012. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  31013. "type": "string"
  31014. },
  31015. "scoreconfigvalue1": {
  31016. "description": "积分配置1",
  31017. "type": "integer"
  31018. },
  31019. "scoreconfigvalue2": {
  31020. "description": "积分配置1",
  31021. "type": "integer"
  31022. },
  31023. "scoretype": {
  31024. "description": "积分类型 - 1:提货积分",
  31025. "type": "integer"
  31026. },
  31027. "scorevalue": {
  31028. "description": "积分",
  31029. "type": "number"
  31030. },
  31031. "tradedate": {
  31032. "description": "交易日(yyyyMMdd)",
  31033. "type": "string"
  31034. },
  31035. "uploadedtime": {
  31036. "description": "同步时间",
  31037. "type": "string"
  31038. },
  31039. "userid": {
  31040. "description": "用户ID",
  31041. "type": "integer"
  31042. }
  31043. }
  31044. },
  31045. "models.QhjSiteColumnDetail": {
  31046. "type": "object",
  31047. "properties": {
  31048. "author": {
  31049. "description": "作者",
  31050. "type": "string"
  31051. },
  31052. "brief": {
  31053. "description": "简介",
  31054. "type": "string"
  31055. },
  31056. "columnid": {
  31057. "description": "所属栏目",
  31058. "type": "integer"
  31059. },
  31060. "context": {
  31061. "description": "内容",
  31062. "type": "string"
  31063. },
  31064. "coverimage": {
  31065. "description": "封面图片",
  31066. "type": "string"
  31067. },
  31068. "creaedate": {
  31069. "description": "创建时间",
  31070. "type": "string"
  31071. },
  31072. "creatorid": {
  31073. "description": "创建人",
  31074. "type": "integer"
  31075. },
  31076. "hits": {
  31077. "description": "点击数",
  31078. "type": "integer"
  31079. },
  31080. "id": {
  31081. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  31082. "type": "integer"
  31083. },
  31084. "isshow": {
  31085. "description": "是否展示 - 0:不展示 1:展示",
  31086. "type": "integer"
  31087. },
  31088. "istop": {
  31089. "description": "是否置顶 - 0:不置 1:置顶",
  31090. "type": "integer"
  31091. },
  31092. "modifierid": {
  31093. "description": "操作人",
  31094. "type": "integer"
  31095. },
  31096. "publishdate": {
  31097. "description": "发布日期",
  31098. "type": "string"
  31099. },
  31100. "status": {
  31101. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  31102. "type": "integer"
  31103. },
  31104. "title": {
  31105. "description": "标题",
  31106. "type": "string"
  31107. },
  31108. "updatedate": {
  31109. "description": "修改时间",
  31110. "type": "string"
  31111. },
  31112. "userid": {
  31113. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  31114. "type": "integer"
  31115. },
  31116. "username": {
  31117. "description": "用户名称",
  31118. "type": "string"
  31119. }
  31120. }
  31121. },
  31122. "models.QhjTeamOrder": {
  31123. "type": "object",
  31124. "properties": {
  31125. "accountid": {
  31126. "description": "账户ID[报价币种]",
  31127. "type": "integer"
  31128. },
  31129. "accountname": {
  31130. "description": "账户名称",
  31131. "type": "string"
  31132. },
  31133. "agreeunit": {
  31134. "description": "合约乘数",
  31135. "type": "number"
  31136. },
  31137. "buyorsell": {
  31138. "description": "方向 - 0:买 1:卖",
  31139. "type": "integer"
  31140. },
  31141. "decimalplace": {
  31142. "description": "报价小数位",
  31143. "type": "integer"
  31144. },
  31145. "enumdicname": {
  31146. "description": "单位名称",
  31147. "type": "string"
  31148. },
  31149. "goodscode": {
  31150. "description": "商品代码(内部)",
  31151. "type": "string"
  31152. },
  31153. "goodsid": {
  31154. "description": "商品ID",
  31155. "type": "integer"
  31156. },
  31157. "goodsname": {
  31158. "description": "商品名称",
  31159. "type": "string"
  31160. },
  31161. "goodunitid": {
  31162. "description": "报价单位ID",
  31163. "type": "integer"
  31164. },
  31165. "marketid": {
  31166. "description": "市场ID",
  31167. "type": "integer"
  31168. },
  31169. "marketname": {
  31170. "description": "市场名称",
  31171. "type": "string"
  31172. },
  31173. "qtydecimalplace": {
  31174. "description": "成交量小数位",
  31175. "type": "integer"
  31176. },
  31177. "refereeuserid": {
  31178. "description": "推荐人ID",
  31179. "type": "integer"
  31180. },
  31181. "tradeamount": {
  31182. "description": "成交金额[账户币种,用于所有权]",
  31183. "type": "number"
  31184. },
  31185. "tradedate": {
  31186. "description": "交易日(yyyyMMdd)",
  31187. "type": "string"
  31188. },
  31189. "trademode": {
  31190. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31191. "type": "integer"
  31192. },
  31193. "tradeprice": {
  31194. "description": "成交价格",
  31195. "type": "number"
  31196. },
  31197. "tradeqty": {
  31198. "description": "成交数量",
  31199. "type": "number"
  31200. },
  31201. "tradetime": {
  31202. "description": "成交时间",
  31203. "type": "string"
  31204. },
  31205. "userid": {
  31206. "description": "用户ID",
  31207. "type": "integer"
  31208. }
  31209. }
  31210. },
  31211. "models.QhjTradeGoodsPickup": {
  31212. "type": "object",
  31213. "properties": {
  31214. "accountid": {
  31215. "description": "账户ID",
  31216. "type": "integer"
  31217. },
  31218. "address": {
  31219. "description": "提货人详细地址",
  31220. "type": "string"
  31221. },
  31222. "amount": {
  31223. "description": "提货金额",
  31224. "type": "number"
  31225. },
  31226. "artradedate": {
  31227. "description": "自动收货交易日(yyyyMMdd)",
  31228. "type": "string"
  31229. },
  31230. "auditer": {
  31231. "description": "审核人",
  31232. "type": "integer"
  31233. },
  31234. "auditsrc": {
  31235. "description": "更新来源 - 1:管理端 2:终端",
  31236. "type": "integer"
  31237. },
  31238. "audittime": {
  31239. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  31240. "type": "string"
  31241. },
  31242. "audittradedate": {
  31243. "description": "审核交易日(yyyyMMdd)",
  31244. "type": "string"
  31245. },
  31246. "cardnum": {
  31247. "description": "提货人证件号码",
  31248. "type": "string"
  31249. },
  31250. "cardtypeid": {
  31251. "description": "提货人证件类型",
  31252. "type": "integer"
  31253. },
  31254. "checkremark": {
  31255. "description": "审核备注",
  31256. "type": "string"
  31257. },
  31258. "cityid": {
  31259. "description": "市",
  31260. "type": "integer"
  31261. },
  31262. "cityname": {
  31263. "description": "城市名称",
  31264. "type": "string"
  31265. },
  31266. "confirmtime": {
  31267. "description": "取货时间 或 收货时间",
  31268. "type": "string"
  31269. },
  31270. "countryid": {
  31271. "description": "国家",
  31272. "type": "integer"
  31273. },
  31274. "countryname": {
  31275. "description": "国家名称",
  31276. "type": "string"
  31277. },
  31278. "decimalplace": {
  31279. "description": "商品报价小数位",
  31280. "type": "integer"
  31281. },
  31282. "districtid": {
  31283. "description": "地区",
  31284. "type": "integer"
  31285. },
  31286. "districtname": {
  31287. "description": "地区名称",
  31288. "type": "string"
  31289. },
  31290. "enumdicname": {
  31291. "description": "单位名称(提货商品)",
  31292. "type": "string"
  31293. },
  31294. "expresscompany": {
  31295. "description": "物流公司",
  31296. "type": "string"
  31297. },
  31298. "expressnum": {
  31299. "description": "物流单号",
  31300. "type": "string"
  31301. },
  31302. "goodsagreeunit": {
  31303. "description": "交易商品乘数",
  31304. "type": "number"
  31305. },
  31306. "goodscode": {
  31307. "description": "商品代码",
  31308. "type": "string"
  31309. },
  31310. "goodsid": {
  31311. "description": "商品ID",
  31312. "type": "integer"
  31313. },
  31314. "goodsname": {
  31315. "description": "商品名称",
  31316. "type": "string"
  31317. },
  31318. "goodsqty": {
  31319. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  31320. "type": "number"
  31321. },
  31322. "handlestatus": {
  31323. "description": "处理状态",
  31324. "type": "integer"
  31325. },
  31326. "logincode": {
  31327. "description": "账号(登录代码, 有可能为空)",
  31328. "type": "string"
  31329. },
  31330. "marketid": {
  31331. "description": "市场ID",
  31332. "type": "integer"
  31333. },
  31334. "phonenum": {
  31335. "description": "提货人联系方式",
  31336. "type": "string"
  31337. },
  31338. "pickupgoodsagreeunit": {
  31339. "description": "提货商品合约乘数",
  31340. "type": "number"
  31341. },
  31342. "pickupgoodsid": {
  31343. "description": "提货商品ID",
  31344. "type": "string"
  31345. },
  31346. "pickupgoodsname": {
  31347. "description": "提货商品名称",
  31348. "type": "string"
  31349. },
  31350. "pickupgoodsqty": {
  31351. "description": "提货商品手数(数量)",
  31352. "type": "number"
  31353. },
  31354. "pickupgoodsunitid": {
  31355. "description": "单位ID(提货商品)",
  31356. "type": "integer"
  31357. },
  31358. "pickupratio": {
  31359. "description": "提货系数",
  31360. "type": "number"
  31361. },
  31362. "preparedays": {
  31363. "description": "备货期(天)-提货单明细表",
  31364. "type": "integer"
  31365. },
  31366. "provinceid": {
  31367. "description": "省",
  31368. "type": "integer"
  31369. },
  31370. "provincename": {
  31371. "description": "省名称",
  31372. "type": "string"
  31373. },
  31374. "qty": {
  31375. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  31376. "type": "number"
  31377. },
  31378. "qtydecimalplace": {
  31379. "description": "商品数量小数位",
  31380. "type": "integer"
  31381. },
  31382. "recivername": {
  31383. "description": "提货人姓名",
  31384. "type": "string"
  31385. },
  31386. "reqtime": {
  31387. "description": "提货申请时间",
  31388. "type": "string"
  31389. },
  31390. "storeuserid": {
  31391. "description": "门店用户ID (千海金)",
  31392. "type": "integer"
  31393. },
  31394. "storeusername": {
  31395. "description": "门店用户名称",
  31396. "type": "string"
  31397. },
  31398. "takemode": {
  31399. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  31400. "type": "integer"
  31401. },
  31402. "takeorderid": {
  31403. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  31404. "type": "string"
  31405. },
  31406. "takeorderstatus": {
  31407. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  31408. "type": "integer"
  31409. },
  31410. "takeremark": {
  31411. "description": "提货备注",
  31412. "type": "string"
  31413. },
  31414. "tradedate": {
  31415. "description": "交易日(yyyyMMdd)",
  31416. "type": "string"
  31417. },
  31418. "updatetime": {
  31419. "description": "更新时间",
  31420. "type": "string"
  31421. },
  31422. "userid": {
  31423. "description": "用户ID",
  31424. "type": "integer"
  31425. },
  31426. "userinfotype": {
  31427. "description": "客户类型 1-个人 2-企业",
  31428. "type": "integer"
  31429. },
  31430. "username": {
  31431. "description": "用户名称",
  31432. "type": "string"
  31433. }
  31434. }
  31435. },
  31436. "models.QhjUserNodeCfgAndStatus": {
  31437. "type": "object",
  31438. "properties": {
  31439. "agreementcontent": {
  31440. "description": "协议内容",
  31441. "type": "string"
  31442. },
  31443. "agreementid": {
  31444. "description": "协议ID",
  31445. "type": "integer"
  31446. },
  31447. "agreementname": {
  31448. "description": "协议名称",
  31449. "type": "string"
  31450. },
  31451. "agreementno": {
  31452. "description": "协议编号",
  31453. "type": "string"
  31454. },
  31455. "agreementtype": {
  31456. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31457. "type": "integer"
  31458. },
  31459. "agreementversion": {
  31460. "description": "协议版本号",
  31461. "type": "integer"
  31462. },
  31463. "configid": {
  31464. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31465. "type": "integer"
  31466. },
  31467. "createtime": {
  31468. "description": "创建时间",
  31469. "type": "string"
  31470. },
  31471. "goodsid": {
  31472. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31473. "type": "integer"
  31474. },
  31475. "nodetype": {
  31476. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31477. "type": "integer"
  31478. },
  31479. "signtimestamp": {
  31480. "description": "签约状态时间戳(最近一次)",
  31481. "type": "string"
  31482. },
  31483. "tradedate": {
  31484. "description": "签约交易日(yyyyMMdd)",
  31485. "type": "string"
  31486. },
  31487. "userid": {
  31488. "description": "客户ID",
  31489. "type": "integer"
  31490. }
  31491. }
  31492. },
  31493. "models.Qhjgoodsex": {
  31494. "type": "object",
  31495. "properties": {
  31496. "canfinance": {
  31497. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  31498. "type": "integer"
  31499. },
  31500. "canregularlybuy": {
  31501. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  31502. "type": "integer"
  31503. },
  31504. "defaulttradeuserid": {
  31505. "description": "默认交易用户ID",
  31506. "type": "integer"
  31507. },
  31508. "deliverygoodsid": {
  31509. "description": "现货品种ID",
  31510. "type": "integer"
  31511. },
  31512. "goodsid": {
  31513. "description": "商品ID(自增ID SEQ_GOODS)",
  31514. "type": "integer"
  31515. },
  31516. "minamount": {
  31517. "description": "最小购买金额",
  31518. "type": "number"
  31519. },
  31520. "regularlybuyminamount": {
  31521. "description": "定投最小金额",
  31522. "type": "number"
  31523. },
  31524. "regularlybuyminqty": {
  31525. "description": "定投最小数量",
  31526. "type": "number"
  31527. },
  31528. "spotgoodsbrandid": {
  31529. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  31530. "type": "integer"
  31531. },
  31532. "visibilityforenterprise": {
  31533. "description": "企业客户是否可见 - 0:不可见 1:可见",
  31534. "type": "integer"
  31535. },
  31536. "visibilityforpersonal": {
  31537. "description": "个人客户是否可见 - 0:不可见 1:可见",
  31538. "type": "integer"
  31539. },
  31540. "wrstandardid": {
  31541. "description": "现货商品ID",
  31542. "type": "integer"
  31543. }
  31544. }
  31545. },
  31546. "models.QueryErrorInfosRsp": {
  31547. "type": "object",
  31548. "required": [
  31549. "errorid"
  31550. ],
  31551. "properties": {
  31552. "description": {
  31553. "description": "异常描述",
  31554. "type": "string"
  31555. },
  31556. "errorcode": {
  31557. "description": "异常代码",
  31558. "type": "string"
  31559. },
  31560. "errorid": {
  31561. "description": "异常ID",
  31562. "type": "integer"
  31563. },
  31564. "modulecode": {
  31565. "description": "所属模块",
  31566. "type": "string"
  31567. },
  31568. "operatecode": {
  31569. "description": "所属操作",
  31570. "type": "string"
  31571. },
  31572. "rownumber": {
  31573. "description": "行号",
  31574. "type": "string"
  31575. }
  31576. }
  31577. },
  31578. "models.QueryHedgeOrderDetailRsp": {
  31579. "type": "object",
  31580. "properties": {
  31581. "accountid": {
  31582. "description": "账户ID",
  31583. "type": "integer"
  31584. },
  31585. "buyorsell": {
  31586. "description": "买卖 - 0:买 1:卖",
  31587. "type": "integer"
  31588. },
  31589. "cancellogincode": {
  31590. "description": "撤单人",
  31591. "type": "string"
  31592. },
  31593. "channelbuildtype": {
  31594. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  31595. "type": "integer"
  31596. },
  31597. "channelinnerorderstatus": {
  31598. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  31599. "type": "integer"
  31600. },
  31601. "channeloperatetype": {
  31602. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  31603. "type": "integer"
  31604. },
  31605. "closetype": {
  31606. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31607. "type": "integer"
  31608. },
  31609. "curexchangerate": {
  31610. "description": "当前汇率",
  31611. "type": "number"
  31612. },
  31613. "exchangefullname": {
  31614. "description": "外部交易所全称",
  31615. "type": "string"
  31616. },
  31617. "goodscode": {
  31618. "description": "商品代码(内部)",
  31619. "type": "string"
  31620. },
  31621. "goodsid": {
  31622. "description": "商品ID",
  31623. "type": "integer"
  31624. },
  31625. "goodsname": {
  31626. "description": "商品名称",
  31627. "type": "string"
  31628. },
  31629. "marketid": {
  31630. "description": "市场ID",
  31631. "type": "integer"
  31632. },
  31633. "openfreezemargin": {
  31634. "description": "冻结保证金(冻结交易金额)",
  31635. "type": "number"
  31636. },
  31637. "orderid": {
  31638. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31639. "type": "string"
  31640. },
  31641. "orderlogincode": {
  31642. "description": "委托人",
  31643. "type": "string"
  31644. },
  31645. "orderprice": {
  31646. "description": "委托价格(账户)",
  31647. "type": "number"
  31648. },
  31649. "orderqty": {
  31650. "description": "委托数量",
  31651. "type": "integer"
  31652. },
  31653. "ordertime": {
  31654. "description": "委托时间",
  31655. "type": "string"
  31656. },
  31657. "pricemode": {
  31658. "description": "取价方式 - 1:市价 2: 限价",
  31659. "type": "integer"
  31660. },
  31661. "tradedate": {
  31662. "description": "交易日(yyyyMMdd)",
  31663. "type": "string"
  31664. },
  31665. "tradeqty": {
  31666. "description": "成交数量",
  31667. "type": "integer"
  31668. }
  31669. }
  31670. },
  31671. "models.QueryHedgeTradeDetailRsp": {
  31672. "type": "object",
  31673. "properties": {
  31674. "accountid": {
  31675. "description": "账号ID",
  31676. "type": "integer"
  31677. },
  31678. "buyorsell": {
  31679. "description": "方向 - 0:买 1:卖",
  31680. "type": "integer"
  31681. },
  31682. "channelbuildtype": {
  31683. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31684. "type": "integer"
  31685. },
  31686. "closecharge": {
  31687. "description": "平仓手续费(账户)",
  31688. "type": "number"
  31689. },
  31690. "closecharge2": {
  31691. "description": "平仓手续费(商品)",
  31692. "type": "number"
  31693. },
  31694. "closepl": {
  31695. "description": "平仓盈亏(账户)",
  31696. "type": "number"
  31697. },
  31698. "closepl2": {
  31699. "description": "平仓盈亏(商品)",
  31700. "type": "number"
  31701. },
  31702. "closepl3": {
  31703. "description": "平仓盈亏(账户)(逐笔)",
  31704. "type": "number"
  31705. },
  31706. "closepl4": {
  31707. "description": "平仓盈亏(商品)(逐笔)",
  31708. "type": "number"
  31709. },
  31710. "closetype": {
  31711. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31712. "type": "integer"
  31713. },
  31714. "curexchangerate": {
  31715. "description": "当前汇率",
  31716. "type": "number"
  31717. },
  31718. "exchangefullname": {
  31719. "description": "外部交易所全称",
  31720. "type": "string"
  31721. },
  31722. "goodscode": {
  31723. "description": "商品代码(内部)",
  31724. "type": "string"
  31725. },
  31726. "goodsid": {
  31727. "description": "商品ID",
  31728. "type": "integer"
  31729. },
  31730. "goodsname": {
  31731. "description": "商品名称",
  31732. "type": "string"
  31733. },
  31734. "marketid": {
  31735. "description": "市场ID",
  31736. "type": "integer"
  31737. },
  31738. "opencharge": {
  31739. "description": "建仓手续费(账户)",
  31740. "type": "number"
  31741. },
  31742. "opencharge2": {
  31743. "description": "建仓手续费(商品)",
  31744. "type": "number"
  31745. },
  31746. "orderid": {
  31747. "description": "委托单号",
  31748. "type": "string"
  31749. },
  31750. "orderlogincode": {
  31751. "description": "委托人",
  31752. "type": "string"
  31753. },
  31754. "tradeamount": {
  31755. "description": "成交金额(账户)",
  31756. "type": "number"
  31757. },
  31758. "tradedate": {
  31759. "description": "交易日(yyyyMMdd)",
  31760. "type": "string"
  31761. },
  31762. "tradeid": {
  31763. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31764. "type": "string"
  31765. },
  31766. "tradeprice": {
  31767. "description": "成交价格",
  31768. "type": "number"
  31769. },
  31770. "tradeqty": {
  31771. "description": "成交数量",
  31772. "type": "integer"
  31773. },
  31774. "tradetime": {
  31775. "description": "成交时间",
  31776. "type": "string"
  31777. },
  31778. "tradetype": {
  31779. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  31780. "type": "integer"
  31781. }
  31782. }
  31783. },
  31784. "models.QuotePrimaryMenu": {
  31785. "type": "object",
  31786. "properties": {
  31787. "Index": {
  31788. "description": "序号",
  31789. "type": "integer"
  31790. },
  31791. "Key": {
  31792. "description": "键名",
  31793. "type": "string"
  31794. },
  31795. "Name": {
  31796. "description": "菜单名称",
  31797. "type": "string"
  31798. },
  31799. "SubMenus": {
  31800. "description": "子菜单",
  31801. "type": "array",
  31802. "items": {
  31803. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  31804. }
  31805. },
  31806. "SubTitleType": {
  31807. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  31808. "type": "integer"
  31809. },
  31810. "TradeModes": {
  31811. "description": "包含市场交易类型",
  31812. "type": "string"
  31813. }
  31814. }
  31815. },
  31816. "models.QuoteSecondaryMenu": {
  31817. "type": "object",
  31818. "properties": {
  31819. "ExExchangeCode": {
  31820. "description": "外部交易所代码",
  31821. "type": "string"
  31822. },
  31823. "ExExchangeID": {
  31824. "description": "外部交易所ID",
  31825. "type": "integer"
  31826. },
  31827. "GoodsGroupIDs": {
  31828. "description": "商品组ID列表",
  31829. "type": "array",
  31830. "items": {
  31831. "type": "integer"
  31832. }
  31833. },
  31834. "Index": {
  31835. "description": "序号",
  31836. "type": "integer"
  31837. },
  31838. "MarketID": {
  31839. "description": "市场ID",
  31840. "type": "integer"
  31841. },
  31842. "MenuTitle": {
  31843. "description": "菜单标题(市场名称或外部交易所名称)",
  31844. "type": "string"
  31845. },
  31846. "TradeMode": {
  31847. "description": "交易模式",
  31848. "type": "integer"
  31849. }
  31850. }
  31851. },
  31852. "models.RoleMenu": {
  31853. "type": "object",
  31854. "properties": {
  31855. "hasright": {
  31856. "description": "是否有权限 0-没有权限 1-有权限",
  31857. "type": "integer"
  31858. },
  31859. "iconame": {
  31860. "description": "菜单图标",
  31861. "type": "string"
  31862. },
  31863. "menutype": {
  31864. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  31865. "type": "integer"
  31866. },
  31867. "parentcode": {
  31868. "description": "上级资源代码",
  31869. "type": "string"
  31870. },
  31871. "remark": {
  31872. "description": "菜单备注",
  31873. "type": "string"
  31874. },
  31875. "resourcecode": {
  31876. "description": "菜单代码",
  31877. "type": "string"
  31878. },
  31879. "resourcelevel": {
  31880. "description": "级别",
  31881. "type": "integer"
  31882. },
  31883. "resourcename": {
  31884. "description": "菜单名称",
  31885. "type": "string"
  31886. },
  31887. "roleid": {
  31888. "description": "角色id",
  31889. "type": "integer"
  31890. },
  31891. "sort": {
  31892. "description": "排序",
  31893. "type": "integer"
  31894. },
  31895. "subMenu": {
  31896. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  31897. "type": "array",
  31898. "items": {
  31899. "$ref": "#/definitions/models.RoleMenu"
  31900. }
  31901. },
  31902. "url": {
  31903. "description": "URL",
  31904. "type": "string"
  31905. },
  31906. "userid": {
  31907. "description": "用户id",
  31908. "type": "integer"
  31909. }
  31910. }
  31911. },
  31912. "models.SearchGoods": {
  31913. "type": "object",
  31914. "required": [
  31915. "goodscode",
  31916. "goodsid",
  31917. "goodsname",
  31918. "marketid",
  31919. "trademode"
  31920. ],
  31921. "properties": {
  31922. "goodscode": {
  31923. "description": "商品代码(内部)",
  31924. "type": "string"
  31925. },
  31926. "goodsid": {
  31927. "description": "商品ID(自增ID SEQ_GOODS)",
  31928. "type": "integer"
  31929. },
  31930. "goodsname": {
  31931. "description": "商品名称",
  31932. "type": "string"
  31933. },
  31934. "marketid": {
  31935. "description": "所属市场ID",
  31936. "type": "integer"
  31937. },
  31938. "marketname": {
  31939. "description": "市场名称",
  31940. "type": "string"
  31941. },
  31942. "trademode": {
  31943. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31944. "type": "integer"
  31945. }
  31946. }
  31947. },
  31948. "models.Systemparam": {
  31949. "type": "object",
  31950. "required": [
  31951. "paramcode"
  31952. ],
  31953. "properties": {
  31954. "loginid": {
  31955. "description": "更新用户账号,登录账号",
  31956. "type": "string"
  31957. },
  31958. "modifyflag": {
  31959. "description": "修改标志0 不允许修改 1 允许修改",
  31960. "type": "integer"
  31961. },
  31962. "paramcode": {
  31963. "description": "参数代码",
  31964. "type": "string"
  31965. },
  31966. "paramname": {
  31967. "description": "参数名",
  31968. "type": "string"
  31969. },
  31970. "paramtype": {
  31971. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  31972. "type": "integer"
  31973. },
  31974. "paramvalue": {
  31975. "description": "参数值",
  31976. "type": "string"
  31977. },
  31978. "paramvalue2": {
  31979. "description": "参数值(CLOB)",
  31980. "type": "string"
  31981. },
  31982. "regexpress": {
  31983. "description": "正则表达式",
  31984. "type": "string"
  31985. },
  31986. "remark": {
  31987. "description": "备注",
  31988. "type": "string"
  31989. },
  31990. "serverip": {
  31991. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  31992. "type": "string"
  31993. },
  31994. "showflag": {
  31995. "description": "是否显示0 不显示 1 显示",
  31996. "type": "integer"
  31997. },
  31998. "updatetime": {
  31999. "description": "更新时间",
  32000. "type": "string"
  32001. },
  32002. "userid": {
  32003. "description": "更新用户ID",
  32004. "type": "integer"
  32005. }
  32006. }
  32007. },
  32008. "models.Szdz3convertconfig": {
  32009. "type": "object",
  32010. "required": [
  32011. "converttype",
  32012. "innergoodsid",
  32013. "outergoodscode"
  32014. ],
  32015. "properties": {
  32016. "canin": {
  32017. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  32018. "type": "integer"
  32019. },
  32020. "canout": {
  32021. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  32022. "type": "integer"
  32023. },
  32024. "converttype": {
  32025. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  32026. "type": "integer"
  32027. },
  32028. "createtime": {
  32029. "description": "创建时间",
  32030. "type": "string"
  32031. },
  32032. "creatorid": {
  32033. "description": "创建人",
  32034. "type": "integer"
  32035. },
  32036. "daymaxvalue": {
  32037. "description": "当日最大转入限制",
  32038. "type": "number"
  32039. },
  32040. "freezedays": {
  32041. "description": "冻结天数 [5:花生米转交易]",
  32042. "type": "integer"
  32043. },
  32044. "innergoodsid": {
  32045. "description": "内部商品ID[交易]",
  32046. "type": "integer"
  32047. },
  32048. "inratio": {
  32049. "description": "目标值",
  32050. "type": "integer"
  32051. },
  32052. "modifierid": {
  32053. "description": "修改人",
  32054. "type": "integer"
  32055. },
  32056. "modifytime": {
  32057. "description": "修改时间",
  32058. "type": "string"
  32059. },
  32060. "outergoodscode": {
  32061. "description": "外部商品代码[JD\\PD]",
  32062. "type": "string"
  32063. },
  32064. "outratio": {
  32065. "description": "源值",
  32066. "type": "integer"
  32067. },
  32068. "pddecimalplace": {
  32069. "description": "PD小数位",
  32070. "type": "integer"
  32071. },
  32072. "timemaxvalue": {
  32073. "description": "单次最大转入限制",
  32074. "type": "number"
  32075. },
  32076. "timeminvalue": {
  32077. "description": "单次最小转入限制",
  32078. "type": "number"
  32079. }
  32080. }
  32081. },
  32082. "models.Szdz3searchwhitelist": {
  32083. "type": "object",
  32084. "required": [
  32085. "userid"
  32086. ],
  32087. "properties": {
  32088. "createtime": {
  32089. "description": "创建时间",
  32090. "type": "string"
  32091. },
  32092. "creatorid": {
  32093. "description": "创建人",
  32094. "type": "integer"
  32095. },
  32096. "modifierid": {
  32097. "description": "修改人",
  32098. "type": "integer"
  32099. },
  32100. "modifytime": {
  32101. "description": "修改时间",
  32102. "type": "string"
  32103. },
  32104. "userid": {
  32105. "description": "用户ID",
  32106. "type": "integer"
  32107. }
  32108. }
  32109. },
  32110. "models.TBGoods": {
  32111. "type": "object",
  32112. "properties": {
  32113. "agreeunit": {
  32114. "description": "合约乘数",
  32115. "type": "number"
  32116. },
  32117. "enumdicname": {
  32118. "description": "单位名称",
  32119. "type": "string"
  32120. },
  32121. "goodscode": {
  32122. "description": "商品代码(内部)",
  32123. "type": "string"
  32124. },
  32125. "goodsid": {
  32126. "description": "商品ID(自增ID SEQ_GOODS)",
  32127. "type": "integer"
  32128. },
  32129. "goodsname": {
  32130. "description": "商品名称",
  32131. "type": "string"
  32132. }
  32133. }
  32134. },
  32135. "models.TBGoodsGroup": {
  32136. "type": "object",
  32137. "properties": {
  32138. "GDLST": {
  32139. "description": "商品列表",
  32140. "type": "array",
  32141. "items": {
  32142. "$ref": "#/definitions/models.TBGoods"
  32143. }
  32144. },
  32145. "convertratio": {
  32146. "description": "折算系数",
  32147. "type": "number"
  32148. },
  32149. "enumdicname": {
  32150. "description": "单位名称",
  32151. "type": "string"
  32152. },
  32153. "exexchangecode": {
  32154. "description": "交易所代码",
  32155. "type": "string"
  32156. },
  32157. "exexchangename": {
  32158. "description": "交易所名称",
  32159. "type": "string"
  32160. },
  32161. "goodsgroupid": {
  32162. "description": "商品组ID(自增ID)",
  32163. "type": "integer"
  32164. },
  32165. "goodsgroupname": {
  32166. "description": "商品组名称",
  32167. "type": "string"
  32168. },
  32169. "goodunitid": {
  32170. "description": "报价单位ID",
  32171. "type": "integer"
  32172. }
  32173. }
  32174. },
  32175. "models.TBMiddleGoods": {
  32176. "type": "object",
  32177. "properties": {
  32178. "GPLST": {
  32179. "description": "期货品种列表",
  32180. "type": "array",
  32181. "items": {
  32182. "$ref": "#/definitions/models.TBGoodsGroup"
  32183. }
  32184. },
  32185. "WDLST": {
  32186. "description": "商品信息列表(现货品类)",
  32187. "type": "array",
  32188. "items": {
  32189. "$ref": "#/definitions/models.TBWrstandard"
  32190. }
  32191. },
  32192. "areauserid": {
  32193. "description": "机构用户ID",
  32194. "type": "integer"
  32195. },
  32196. "enumdicname": {
  32197. "description": "单位名称",
  32198. "type": "string"
  32199. },
  32200. "goodsunitid": {
  32201. "description": "套保品种单位id",
  32202. "type": "integer"
  32203. },
  32204. "middlegoodscode": {
  32205. "description": "套保品种代码",
  32206. "type": "string"
  32207. },
  32208. "middlegoodsid": {
  32209. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  32210. "type": "integer"
  32211. },
  32212. "middlegoodsname": {
  32213. "description": "套保品种名称",
  32214. "type": "string"
  32215. },
  32216. "needarbitrageratio": {
  32217. "description": "套利比率",
  32218. "type": "number"
  32219. },
  32220. "needhedgeratio": {
  32221. "description": "套保比率",
  32222. "type": "number"
  32223. }
  32224. }
  32225. },
  32226. "models.TBWrstandard": {
  32227. "type": "object",
  32228. "properties": {
  32229. "convertratio": {
  32230. "description": "折算系数",
  32231. "type": "number"
  32232. },
  32233. "deliverygoodsname": {
  32234. "description": "品种名称",
  32235. "type": "string"
  32236. },
  32237. "enumdicname": {
  32238. "description": "单位名称",
  32239. "type": "string"
  32240. },
  32241. "vatrate": {
  32242. "description": "增值税率",
  32243. "type": "number"
  32244. },
  32245. "wrstandardcode": {
  32246. "description": "现货商品代码",
  32247. "type": "string"
  32248. },
  32249. "wrstandardid": {
  32250. "description": "现货商品ID(SEQ_WRSTANDARD)",
  32251. "type": "integer"
  32252. },
  32253. "wrstandardname": {
  32254. "description": "现货商品名称",
  32255. "type": "string"
  32256. }
  32257. }
  32258. },
  32259. "models.Taaccount": {
  32260. "type": "object",
  32261. "required": [
  32262. "accountid",
  32263. "userid"
  32264. ],
  32265. "properties": {
  32266. "accountflag": {
  32267. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  32268. "type": "integer"
  32269. },
  32270. "accountid": {
  32271. "description": "资金账户ID",
  32272. "type": "integer"
  32273. },
  32274. "accountname": {
  32275. "description": "账户名称",
  32276. "type": "string"
  32277. },
  32278. "balance": {
  32279. "description": "期初余额",
  32280. "type": "number"
  32281. },
  32282. "capitalbalance": {
  32283. "description": "本金余额[外部子账户实际出入金余额]",
  32284. "type": "number"
  32285. },
  32286. "changeflag": {
  32287. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  32288. "type": "integer"
  32289. },
  32290. "changetime": {
  32291. "description": "账户状态变更时间",
  32292. "type": "string"
  32293. },
  32294. "closepl": {
  32295. "description": "今日平仓盈亏",
  32296. "type": "number"
  32297. },
  32298. "creditdecrease": {
  32299. "description": "今日授信减少",
  32300. "type": "number"
  32301. },
  32302. "creditincrease": {
  32303. "description": "今日授信增加",
  32304. "type": "number"
  32305. },
  32306. "curamount": {
  32307. "description": "总市值(从持仓中统计)",
  32308. "type": "number"
  32309. },
  32310. "currencyid": {
  32311. "description": "货币ID",
  32312. "type": "integer"
  32313. },
  32314. "currentbalance": {
  32315. "description": "期末余额",
  32316. "type": "number"
  32317. },
  32318. "freezecharge": {
  32319. "description": "手续费冻结",
  32320. "type": "number"
  32321. },
  32322. "freezemargin": {
  32323. "description": "冻结保证金",
  32324. "type": "number"
  32325. },
  32326. "fromaccountid": {
  32327. "description": "所属上级账户",
  32328. "type": "integer"
  32329. },
  32330. "inamount": {
  32331. "description": "今日入金金额(包括三方入金)",
  32332. "type": "number"
  32333. },
  32334. "ismain": {
  32335. "description": "是否母账号 0:不是母账户 1:是母账户",
  32336. "type": "integer"
  32337. },
  32338. "ismarketaccount": {
  32339. "description": "是否机构接单账号 0:不是 1:是",
  32340. "type": "integer"
  32341. },
  32342. "isreckonaccount": {
  32343. "description": "是否机构分润账号 0:不是 1:是",
  32344. "type": "integer"
  32345. },
  32346. "mortgagecredit": {
  32347. "description": "授信金额",
  32348. "type": "number"
  32349. },
  32350. "orifreezecharge": {
  32351. "description": "期初手续费冻结",
  32352. "type": "number"
  32353. },
  32354. "orifreezemargin": {
  32355. "description": "期初冻结保证金",
  32356. "type": "number"
  32357. },
  32358. "orimortgagecredit": {
  32359. "description": "期初授信金额",
  32360. "type": "number"
  32361. },
  32362. "oriothercredit": {
  32363. "description": "期初其它授信金额",
  32364. "type": "number"
  32365. },
  32366. "oriotherfreezemargin": {
  32367. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  32368. "type": "number"
  32369. },
  32370. "orioutamountfreeze": {
  32371. "description": "期初出金冻结",
  32372. "type": "number"
  32373. },
  32374. "oriusedmargin": {
  32375. "description": "期初占用保证金",
  32376. "type": "number"
  32377. },
  32378. "othercredit": {
  32379. "description": "其它授信金额",
  32380. "type": "number"
  32381. },
  32382. "othercreditdecrease": {
  32383. "description": "今日其它授信减少",
  32384. "type": "number"
  32385. },
  32386. "othercreditincrease": {
  32387. "description": "今日其它授信增加",
  32388. "type": "number"
  32389. },
  32390. "otherfreezemargin": {
  32391. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  32392. "type": "number"
  32393. },
  32394. "otherincome": {
  32395. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  32396. "type": "number"
  32397. },
  32398. "otherpay": {
  32399. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  32400. "type": "number"
  32401. },
  32402. "outamount": {
  32403. "description": "今日出金金额(包括三方出金)",
  32404. "type": "number"
  32405. },
  32406. "outamountfreeze": {
  32407. "description": "出金冻结",
  32408. "type": "number"
  32409. },
  32410. "outthreshold": {
  32411. "description": "出金阈值",
  32412. "type": "number"
  32413. },
  32414. "parentaccountid": {
  32415. "description": "所属根账号",
  32416. "type": "integer"
  32417. },
  32418. "paycharge": {
  32419. "description": "今日手续费支出",
  32420. "type": "number"
  32421. },
  32422. "relatedaccountstatus": {
  32423. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  32424. "type": "integer"
  32425. },
  32426. "relateduserid": {
  32427. "description": "关联用户",
  32428. "type": "integer"
  32429. },
  32430. "remainamount": {
  32431. "description": "融资额(从融资合同中统计)",
  32432. "type": "number"
  32433. },
  32434. "serivcegroup": {
  32435. "description": "服务分组",
  32436. "type": "integer"
  32437. },
  32438. "signstatus": {
  32439. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  32440. "type": "integer"
  32441. },
  32442. "sublevelpath": {
  32443. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  32444. "type": "string"
  32445. },
  32446. "taaccounttype": {
  32447. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  32448. "type": "integer"
  32449. },
  32450. "thirdinamount": {
  32451. "description": "今日三方入金",
  32452. "type": "number"
  32453. },
  32454. "thirdoutamount": {
  32455. "description": "今日三方出金",
  32456. "type": "number"
  32457. },
  32458. "tradestatus": {
  32459. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  32460. "type": "integer"
  32461. },
  32462. "tradestatuschangetime": {
  32463. "description": "激活时间",
  32464. "type": "string"
  32465. },
  32466. "transferamount": {
  32467. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  32468. "type": "number"
  32469. },
  32470. "usedmargin": {
  32471. "description": "占用保证金",
  32472. "type": "number"
  32473. },
  32474. "userid": {
  32475. "description": "用户ID",
  32476. "type": "integer"
  32477. }
  32478. }
  32479. },
  32480. "models.Tablecolumnconfig": {
  32481. "type": "object",
  32482. "required": [
  32483. "autoid"
  32484. ],
  32485. "properties": {
  32486. "aligntype": {
  32487. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  32488. "type": "integer"
  32489. },
  32490. "autoid": {
  32491. "description": "AutoID",
  32492. "type": "integer"
  32493. },
  32494. "columnfield": {
  32495. "description": "列字段",
  32496. "type": "string"
  32497. },
  32498. "columntitle": {
  32499. "description": "列Title",
  32500. "type": "string"
  32501. },
  32502. "columnwidth": {
  32503. "description": "列宽",
  32504. "type": "string"
  32505. },
  32506. "formatterstring": {
  32507. "description": "格式化字符",
  32508. "type": "string"
  32509. },
  32510. "formattertype": {
  32511. "description": "格式化类型",
  32512. "type": "string"
  32513. },
  32514. "groupname": {
  32515. "description": "表头分组名称",
  32516. "type": "string"
  32517. },
  32518. "isshow": {
  32519. "description": "是否显示 - 0:不显示 1:显示",
  32520. "type": "integer"
  32521. },
  32522. "needsummary": {
  32523. "description": "是否需要汇总 - 0:不需要 1:需要",
  32524. "type": "integer"
  32525. },
  32526. "orderindex": {
  32527. "description": "顺序",
  32528. "type": "integer"
  32529. },
  32530. "remark": {
  32531. "description": "备注",
  32532. "type": "string"
  32533. },
  32534. "summarytype": {
  32535. "description": "汇总类型 - 1:加总 2:最后一个",
  32536. "type": "integer"
  32537. },
  32538. "tablekey": {
  32539. "description": "列表Key",
  32540. "type": "string"
  32541. }
  32542. }
  32543. },
  32544. "models.TjmdMarketSection": {
  32545. "type": "object",
  32546. "properties": {
  32547. "marketsectionid": {
  32548. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32549. "type": "integer"
  32550. },
  32551. "marketsectionname": {
  32552. "description": "市场版块名称",
  32553. "type": "string"
  32554. },
  32555. "mlist": {
  32556. "description": "市场列表(板块下面有多少个市场)",
  32557. "type": "array",
  32558. "items": {
  32559. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  32560. }
  32561. },
  32562. "orderindex": {
  32563. "description": "排序",
  32564. "type": "integer"
  32565. },
  32566. "pictureurl": {
  32567. "description": "图片url, 规格(90*90)",
  32568. "type": "string"
  32569. },
  32570. "remark": {
  32571. "description": "备注",
  32572. "type": "string"
  32573. }
  32574. }
  32575. },
  32576. "models.TjmdMarketSectionConfig": {
  32577. "type": "object",
  32578. "properties": {
  32579. "auctionwrtype": {
  32580. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  32581. "type": "integer"
  32582. },
  32583. "canacceptquote": {
  32584. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  32585. "type": "integer"
  32586. },
  32587. "cangoodsexercise": {
  32588. "description": "[期权]是否可现货行权- 0:否 1:是",
  32589. "type": "integer"
  32590. },
  32591. "cangoodsexercisetype": {
  32592. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  32593. "type": "integer"
  32594. },
  32595. "canmanualquotestrike": {
  32596. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  32597. "type": "integer"
  32598. },
  32599. "canmutistage": {
  32600. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  32601. "type": "integer"
  32602. },
  32603. "canpreexercise": {
  32604. "description": "[期权]是否可预申报- 0:否 1:是",
  32605. "type": "integer"
  32606. },
  32607. "clearinterval": {
  32608. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  32609. "type": "integer"
  32610. },
  32611. "contracttmp": {
  32612. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  32613. "type": "string"
  32614. },
  32615. "exchareaid": {
  32616. "description": "所属交易所,可以没有",
  32617. "type": "integer"
  32618. },
  32619. "financemarketid": {
  32620. "description": "融资回购市场ID [仓单贸易]",
  32621. "type": "integer"
  32622. },
  32623. "goodstype": {
  32624. "description": "商品类型 - 1:交易商品 2:仓单商品",
  32625. "type": "integer"
  32626. },
  32627. "hasrebate": {
  32628. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  32629. "type": "integer"
  32630. },
  32631. "hastradecredit": {
  32632. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  32633. "type": "integer"
  32634. },
  32635. "haswr": {
  32636. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  32637. "type": "integer"
  32638. },
  32639. "isdeductmargin": {
  32640. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  32641. "type": "integer"
  32642. },
  32643. "isrecordsource": {
  32644. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  32645. "type": "integer"
  32646. },
  32647. "isreleasemargin": {
  32648. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  32649. "type": "integer"
  32650. },
  32651. "isupdatereckonprice": {
  32652. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  32653. "type": "integer"
  32654. },
  32655. "listingmode": {
  32656. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  32657. "type": "integer"
  32658. },
  32659. "marginformula": {
  32660. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32661. "type": "integer"
  32662. },
  32663. "marginformula2": {
  32664. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32665. "type": "integer"
  32666. },
  32667. "marketid": {
  32668. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  32669. "type": "integer"
  32670. },
  32671. "marketname": {
  32672. "description": "市场名称",
  32673. "type": "string"
  32674. },
  32675. "marketsectionid": {
  32676. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32677. "type": "integer"
  32678. },
  32679. "marketserviceid": {
  32680. "description": "市场服务ID",
  32681. "type": "integer"
  32682. },
  32683. "marketstatus": {
  32684. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  32685. "type": "integer"
  32686. },
  32687. "markettype": {
  32688. "description": "市场类型- 1:非交易服务 2:交易服务",
  32689. "type": "integer"
  32690. },
  32691. "matchermode": {
  32692. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  32693. "type": "integer"
  32694. },
  32695. "nowrquotaflag": {
  32696. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  32697. "type": "integer"
  32698. },
  32699. "openmethod": {
  32700. "description": "开盘模式 - 0 自动 1手动",
  32701. "type": "integer"
  32702. },
  32703. "orderindex": {
  32704. "description": "排序",
  32705. "type": "integer"
  32706. },
  32707. "otcuserid": {
  32708. "description": "场外期权做市商[场外期权]",
  32709. "type": "integer"
  32710. },
  32711. "outersynctime": {
  32712. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  32713. "type": "string"
  32714. },
  32715. "paylaterflag": {
  32716. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  32717. "type": "integer"
  32718. },
  32719. "pendingflag": {
  32720. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  32721. "type": "integer"
  32722. },
  32723. "pendingtime": {
  32724. "description": "待开市时间[通道交易-对冲](HH:mm)",
  32725. "type": "string"
  32726. },
  32727. "performancetempid": {
  32728. "description": "履约计划模板ID - 作废",
  32729. "type": "integer"
  32730. },
  32731. "premiumquotemode": {
  32732. "description": "权利金报价方式 - 1:自动 2:手动",
  32733. "type": "integer"
  32734. },
  32735. "rebateratio": {
  32736. "description": "返利比率[竞价式]",
  32737. "type": "number"
  32738. },
  32739. "reckonorder": {
  32740. "description": "结算顺序",
  32741. "type": "integer"
  32742. },
  32743. "reckonpricealgorithm": {
  32744. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  32745. "type": "integer"
  32746. },
  32747. "reckonpriceparam": {
  32748. "description": "结算价参数",
  32749. "type": "integer"
  32750. },
  32751. "reckontime": {
  32752. "description": "结算时间[通道交易-对冲](HH:mm)",
  32753. "type": "string"
  32754. },
  32755. "roleprioritytype": {
  32756. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  32757. "type": "integer"
  32758. },
  32759. "selllistingauditflag": {
  32760. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  32761. "type": "integer"
  32762. },
  32763. "trademarkettype": {
  32764. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  32765. "type": "integer"
  32766. },
  32767. "trademode": {
  32768. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32769. "type": "integer"
  32770. },
  32771. "tradeproperty": {
  32772. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  32773. "type": "integer"
  32774. },
  32775. "tradetype": {
  32776. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  32777. "type": "integer"
  32778. },
  32779. "updatereckonpriceinterval": {
  32780. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  32781. "type": "integer"
  32782. }
  32783. }
  32784. },
  32785. "models.TjmdQuoteGoods": {
  32786. "type": "object",
  32787. "properties": {
  32788. "buyqty": {
  32789. "description": "买量(暂不做, 无值, 保留字段)",
  32790. "type": "number"
  32791. },
  32792. "goodscode": {
  32793. "description": "合约代码",
  32794. "type": "string"
  32795. },
  32796. "goodsgroupid": {
  32797. "description": "商品组ID(自增ID)",
  32798. "type": "integer"
  32799. },
  32800. "goodsgroupname": {
  32801. "description": "商品组名称",
  32802. "type": "string"
  32803. },
  32804. "goodsid": {
  32805. "description": "合约id",
  32806. "type": "integer"
  32807. },
  32808. "goodsname": {
  32809. "description": "合约名称",
  32810. "type": "string"
  32811. },
  32812. "refgoodscode": {
  32813. "description": "标的合约代码",
  32814. "type": "string"
  32815. },
  32816. "refgoodsid": {
  32817. "description": "标的合约id",
  32818. "type": "integer"
  32819. },
  32820. "refgoodsname": {
  32821. "description": "标的合约名称",
  32822. "type": "string"
  32823. },
  32824. "sellqty": {
  32825. "description": "卖量(暂不做, 无值, 保留字段)",
  32826. "type": "number"
  32827. }
  32828. }
  32829. },
  32830. "models.TjmdTodayAccountMargin": {
  32831. "type": "object",
  32832. "properties": {
  32833. "accountid": {
  32834. "description": "账号ID",
  32835. "type": "integer"
  32836. },
  32837. "goodsid": {
  32838. "description": "商品ID",
  32839. "type": "integer"
  32840. },
  32841. "infoc": {
  32842. "description": "配置参数",
  32843. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  32844. },
  32845. "marketid": {
  32846. "description": "市场ID",
  32847. "type": "integer"
  32848. }
  32849. }
  32850. },
  32851. "models.TjmdTradeOrderDetail": {
  32852. "type": "object",
  32853. "properties": {
  32854. "buyorsell": {
  32855. "description": "买卖方向 0-买 1-卖",
  32856. "type": "integer"
  32857. },
  32858. "goodsid": {
  32859. "description": "商品id",
  32860. "type": "integer"
  32861. },
  32862. "marketmaxsub": {
  32863. "description": "市价最大偏移范围 [浮动价 - 点差]",
  32864. "type": "number"
  32865. },
  32866. "orderid": {
  32867. "description": "委托单号",
  32868. "type": "string"
  32869. },
  32870. "orderprice": {
  32871. "description": "委托价格",
  32872. "type": "number"
  32873. },
  32874. "orderqty": {
  32875. "description": "委托数量",
  32876. "type": "integer"
  32877. },
  32878. "pricemode": {
  32879. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  32880. "type": "integer"
  32881. },
  32882. "userid": {
  32883. "description": "用户id",
  32884. "type": "integer"
  32885. },
  32886. "username": {
  32887. "description": "用户名称(已脱敏)",
  32888. "type": "string"
  32889. }
  32890. }
  32891. },
  32892. "models.TjmdTransferApply": {
  32893. "type": "object",
  32894. "properties": {
  32895. "applyid": {
  32896. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  32897. "type": "integer"
  32898. },
  32899. "applystatus": {
  32900. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  32901. "type": "integer"
  32902. },
  32903. "applytime": {
  32904. "description": "申请时间(时间)",
  32905. "type": "string"
  32906. },
  32907. "auditremark": {
  32908. "description": "审核备注(拒绝原因?)",
  32909. "type": "string"
  32910. },
  32911. "begindate": {
  32912. "description": "开始交易日(yyyymmdd)",
  32913. "type": "string"
  32914. },
  32915. "buyorsell": {
  32916. "description": "买卖 - 0:买 1:卖",
  32917. "type": "integer"
  32918. },
  32919. "enddate": {
  32920. "description": "结束交易日(yyyymmdd)",
  32921. "type": "string"
  32922. },
  32923. "goodscode": {
  32924. "description": "商品代码",
  32925. "type": "string"
  32926. },
  32927. "goodsid": {
  32928. "description": "商品ID",
  32929. "type": "integer"
  32930. },
  32931. "goodsname": {
  32932. "description": "商品名称",
  32933. "type": "string"
  32934. },
  32935. "marketid": {
  32936. "description": "市场ID",
  32937. "type": "integer"
  32938. },
  32939. "qty": {
  32940. "description": "转让数量(数量)",
  32941. "type": "number"
  32942. },
  32943. "tradeid": {
  32944. "description": "成交单号(关联持仓)",
  32945. "type": "string"
  32946. },
  32947. "transferamount": {
  32948. "description": "转让总金额(金额)",
  32949. "type": "number"
  32950. },
  32951. "transferprice": {
  32952. "description": "转让价格(协议价格)",
  32953. "type": "number"
  32954. }
  32955. }
  32956. },
  32957. "models.TradeHolderDetail": {
  32958. "type": "object",
  32959. "properties": {
  32960. "accountid": {
  32961. "description": "账号ID",
  32962. "type": "integer"
  32963. },
  32964. "agreeunit": {
  32965. "description": "合约乘数",
  32966. "type": "number"
  32967. },
  32968. "buyorsell": {
  32969. "description": "方向 - 0:买 1:卖",
  32970. "type": "integer"
  32971. },
  32972. "currencyid": {
  32973. "description": "商品币种id",
  32974. "type": "integer"
  32975. },
  32976. "currencyname": {
  32977. "description": "币种名称",
  32978. "type": "string"
  32979. },
  32980. "decimalplace": {
  32981. "description": "商品价格小数位",
  32982. "type": "integer"
  32983. },
  32984. "enumdicname": {
  32985. "description": "商品单位名称",
  32986. "type": "string"
  32987. },
  32988. "expirecycle": {
  32989. "description": "行权周期(天) - 1:滚动行权时填写",
  32990. "type": "integer"
  32991. },
  32992. "expiredate": {
  32993. "description": "行权日(yyyyMMdd) - 到期日",
  32994. "type": "string"
  32995. },
  32996. "expiretype": {
  32997. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  32998. "type": "integer"
  32999. },
  33000. "freezeqty": {
  33001. "description": "冻结数量",
  33002. "type": "number"
  33003. },
  33004. "goodscode": {
  33005. "description": "商品代码",
  33006. "type": "string"
  33007. },
  33008. "goodsid": {
  33009. "description": "商品ID",
  33010. "type": "integer"
  33011. },
  33012. "goodsname": {
  33013. "description": "商品名称",
  33014. "type": "string"
  33015. },
  33016. "goodunitid": {
  33017. "description": "商品单位id",
  33018. "type": "integer"
  33019. },
  33020. "holderamount": {
  33021. "description": "持仓金额",
  33022. "type": "number"
  33023. },
  33024. "holdercredit": {
  33025. "description": "持仓授信金额",
  33026. "type": "number"
  33027. },
  33028. "holderdays": {
  33029. "description": "剩余冻结天数",
  33030. "type": "integer"
  33031. },
  33032. "holderprice": {
  33033. "description": "持仓价格",
  33034. "type": "number"
  33035. },
  33036. "holderqty": {
  33037. "description": "持仓数量",
  33038. "type": "number"
  33039. },
  33040. "isconfirmexercise": {
  33041. "description": "是否确认行权- 0:否 1:是",
  33042. "type": "integer"
  33043. },
  33044. "ispreexercise": {
  33045. "description": "是否预申报- 0:否 1:是 2:不可行权",
  33046. "type": "integer"
  33047. },
  33048. "marketid": {
  33049. "description": "市场id",
  33050. "type": "integer"
  33051. },
  33052. "marketname": {
  33053. "description": "市场名称",
  33054. "type": "string"
  33055. },
  33056. "openprice": {
  33057. "description": "建仓价格",
  33058. "type": "number"
  33059. },
  33060. "openqty": {
  33061. "description": "建仓数量",
  33062. "type": "number"
  33063. },
  33064. "optiontype": {
  33065. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33066. "type": "integer"
  33067. },
  33068. "preexerciseprice": {
  33069. "description": "预申报价格",
  33070. "type": "number"
  33071. },
  33072. "premium": {
  33073. "description": "权利金",
  33074. "type": "number"
  33075. },
  33076. "qtydecimalplace": {
  33077. "description": "商品成交量小数位",
  33078. "type": "integer"
  33079. },
  33080. "refgoodscode": {
  33081. "description": "标的合约代码",
  33082. "type": "string"
  33083. },
  33084. "refgoodsid": {
  33085. "description": "标的合约id",
  33086. "type": "integer"
  33087. },
  33088. "releaseamount": {
  33089. "description": "释放持仓金额",
  33090. "type": "number"
  33091. },
  33092. "releaseholdercredit": {
  33093. "description": "释放持仓授信金额",
  33094. "type": "number"
  33095. },
  33096. "taname": {
  33097. "description": "资金账号名称",
  33098. "type": "string"
  33099. },
  33100. "tradeamount": {
  33101. "description": "成交金额",
  33102. "type": "number"
  33103. },
  33104. "tradedate": {
  33105. "description": "交易日(yyyyMMdd)",
  33106. "type": "string"
  33107. },
  33108. "tradeid": {
  33109. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33110. "type": "string"
  33111. },
  33112. "trademode": {
  33113. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  33114. "type": "integer"
  33115. },
  33116. "tradeproperty": {
  33117. "description": "交易属性",
  33118. "type": "integer"
  33119. },
  33120. "tradetime": {
  33121. "description": "交易时间",
  33122. "type": "string"
  33123. },
  33124. "userid": {
  33125. "description": "用户id",
  33126. "type": "integer"
  33127. },
  33128. "username": {
  33129. "description": "用户名称",
  33130. "type": "string"
  33131. }
  33132. }
  33133. },
  33134. "models.UserCollectConfig": {
  33135. "type": "object",
  33136. "properties": {
  33137. "accountstatus": {
  33138. "description": "账户状态 - 1:正常 2:停用 3:注销",
  33139. "type": "integer"
  33140. },
  33141. "collectaccountname": {
  33142. "description": "收款人账户名称",
  33143. "type": "string"
  33144. },
  33145. "collectaccountno": {
  33146. "description": "收款人账户",
  33147. "type": "string"
  33148. },
  33149. "collectbankname": {
  33150. "description": "收款人开户行",
  33151. "type": "string"
  33152. },
  33153. "collectbranchbankname": {
  33154. "description": "收款人开户支行",
  33155. "type": "string"
  33156. },
  33157. "collectconfigid": {
  33158. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  33159. "type": "string"
  33160. },
  33161. "remark": {
  33162. "description": "备注",
  33163. "type": "string"
  33164. },
  33165. "userid": {
  33166. "description": "收款人用户ID",
  33167. "type": "integer"
  33168. }
  33169. }
  33170. },
  33171. "models.UserReceiveInfo": {
  33172. "type": "object",
  33173. "properties": {
  33174. "address": {
  33175. "description": "提货人详细地址",
  33176. "type": "string"
  33177. },
  33178. "autoid": {
  33179. "description": "AutoID",
  33180. "type": "integer"
  33181. },
  33182. "cardnum": {
  33183. "description": "证件号码(加密存储)",
  33184. "type": "string"
  33185. },
  33186. "cardtypeid": {
  33187. "description": "证件类型",
  33188. "type": "integer"
  33189. },
  33190. "cityid": {
  33191. "description": "市",
  33192. "type": "integer"
  33193. },
  33194. "cityname": {
  33195. "description": "城市名称",
  33196. "type": "string"
  33197. },
  33198. "countryid": {
  33199. "description": "国家",
  33200. "type": "integer"
  33201. },
  33202. "countryname": {
  33203. "description": "国家名称",
  33204. "type": "string"
  33205. },
  33206. "districtid": {
  33207. "description": "地区",
  33208. "type": "integer"
  33209. },
  33210. "districtname": {
  33211. "description": "地区名称",
  33212. "type": "string"
  33213. },
  33214. "hasencrypt": {
  33215. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33216. "type": "integer"
  33217. },
  33218. "isdefault": {
  33219. "description": "是否默认地址 - 0:否 1:是",
  33220. "type": "integer"
  33221. },
  33222. "phonenum": {
  33223. "description": "提货人联系方式(加密存储)",
  33224. "type": "string"
  33225. },
  33226. "provinceid": {
  33227. "description": "省",
  33228. "type": "integer"
  33229. },
  33230. "provincename": {
  33231. "description": "省名称",
  33232. "type": "string"
  33233. },
  33234. "receivername": {
  33235. "description": "提货人姓名",
  33236. "type": "string"
  33237. },
  33238. "takeremark": {
  33239. "description": "提货备注",
  33240. "type": "string"
  33241. },
  33242. "userid": {
  33243. "description": "用户ID",
  33244. "type": "integer"
  33245. }
  33246. }
  33247. },
  33248. "models.Useraccount": {
  33249. "type": "object",
  33250. "required": [
  33251. "userid"
  33252. ],
  33253. "properties": {
  33254. "accountname": {
  33255. "description": "账户名称(机构名称)",
  33256. "type": "string"
  33257. },
  33258. "accountstatus": {
  33259. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33260. "type": "integer"
  33261. },
  33262. "applysrc": {
  33263. "description": "申请来源 - 1:管理端 2:终端",
  33264. "type": "integer"
  33265. },
  33266. "auditremark": {
  33267. "description": "审核备注",
  33268. "type": "string"
  33269. },
  33270. "auditsrc": {
  33271. "description": "审核来源 - 1:管理端 2:终端",
  33272. "type": "integer"
  33273. },
  33274. "audittime": {
  33275. "description": "审核时间",
  33276. "type": "string"
  33277. },
  33278. "audituserid": {
  33279. "description": "审核人",
  33280. "type": "integer"
  33281. },
  33282. "broker": {
  33283. "description": "所属经纪人ID",
  33284. "type": "integer"
  33285. },
  33286. "canceltime": {
  33287. "description": "销户时间",
  33288. "type": "string"
  33289. },
  33290. "canceluserid": {
  33291. "description": "销户人",
  33292. "type": "integer"
  33293. },
  33294. "canrecommend": {
  33295. "description": "是否可推荐 - 0:不可 1;可",
  33296. "type": "integer"
  33297. },
  33298. "createtime": {
  33299. "description": "创建时间",
  33300. "type": "string"
  33301. },
  33302. "creatorid": {
  33303. "description": "创建人",
  33304. "type": "integer"
  33305. },
  33306. "hasauth": {
  33307. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  33308. "type": "integer"
  33309. },
  33310. "isanonymous": {
  33311. "description": "是否匿名下单 - 0:否 1:是",
  33312. "type": "integer"
  33313. },
  33314. "maxinvestornum": {
  33315. "description": "最大用户数(经纪会员下投资者个数)",
  33316. "type": "integer"
  33317. },
  33318. "memberuserid": {
  33319. "description": "所属会员ID",
  33320. "type": "integer"
  33321. },
  33322. "modifierid": {
  33323. "description": "修改人",
  33324. "type": "integer"
  33325. },
  33326. "modifyremark": {
  33327. "description": "变更备注",
  33328. "type": "string"
  33329. },
  33330. "modifystatus": {
  33331. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  33332. "type": "integer"
  33333. },
  33334. "modifytime": {
  33335. "description": "修改时间",
  33336. "type": "string"
  33337. },
  33338. "parenttopuser": {
  33339. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  33340. "type": "string"
  33341. },
  33342. "parentuserid": {
  33343. "description": "所属机构ID",
  33344. "type": "integer"
  33345. },
  33346. "reckonaccountid": {
  33347. "description": "默认结算资金账号ID(机构分润使用) 作废",
  33348. "type": "integer"
  33349. },
  33350. "refercount": {
  33351. "description": "推荐总人数",
  33352. "type": "integer"
  33353. },
  33354. "refereeuserid": {
  33355. "description": "推荐人ID",
  33356. "type": "integer"
  33357. },
  33358. "refernum": {
  33359. "description": "推荐码",
  33360. "type": "string"
  33361. },
  33362. "rootuserid": {
  33363. "description": "根用户ID",
  33364. "type": "integer"
  33365. },
  33366. "subaccountlevel": {
  33367. "description": "子账户层数",
  33368. "type": "integer"
  33369. },
  33370. "subarealevelpath": {
  33371. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  33372. "type": "string"
  33373. },
  33374. "userid": {
  33375. "description": "用户ID",
  33376. "type": "integer"
  33377. },
  33378. "usertype": {
  33379. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  33380. "type": "integer"
  33381. }
  33382. }
  33383. },
  33384. "models.Userfavoritegoods": {
  33385. "type": "object",
  33386. "required": [
  33387. "goodsid"
  33388. ],
  33389. "properties": {
  33390. "goodsid": {
  33391. "description": "商品ID",
  33392. "type": "integer"
  33393. }
  33394. }
  33395. },
  33396. "models.Userinfo": {
  33397. "type": "object",
  33398. "required": [
  33399. "userid"
  33400. ],
  33401. "properties": {
  33402. "address": {
  33403. "description": "地址",
  33404. "type": "string"
  33405. },
  33406. "attachment1": {
  33407. "description": "附件1",
  33408. "type": "string"
  33409. },
  33410. "attachment2": {
  33411. "description": "附件2",
  33412. "type": "string"
  33413. },
  33414. "bankaccount": {
  33415. "description": "银行帐号 (加密存储)",
  33416. "type": "string"
  33417. },
  33418. "bankaccountname": {
  33419. "description": "收款人名称",
  33420. "type": "string"
  33421. },
  33422. "bankcardfrontphotourl": {
  33423. "description": "银行卡正面照地址",
  33424. "type": "string"
  33425. },
  33426. "bankid": {
  33427. "description": "银行编码",
  33428. "type": "string"
  33429. },
  33430. "bankname": {
  33431. "description": "银行名称",
  33432. "type": "string"
  33433. },
  33434. "biznature": {
  33435. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  33436. "type": "integer"
  33437. },
  33438. "bizscope": {
  33439. "description": "企业经营范围(企业)",
  33440. "type": "string"
  33441. },
  33442. "cardbackphotourl": {
  33443. "description": "证件背面图片地址",
  33444. "type": "string"
  33445. },
  33446. "cardfrontphotourl": {
  33447. "description": "证件正面图片地址",
  33448. "type": "string"
  33449. },
  33450. "cardnum": {
  33451. "description": "证件号码(加密存储)",
  33452. "type": "string"
  33453. },
  33454. "cardtypeid": {
  33455. "description": "证件类型ID",
  33456. "type": "integer"
  33457. },
  33458. "cityid": {
  33459. "description": "市",
  33460. "type": "integer"
  33461. },
  33462. "company": {
  33463. "description": "公司(个人)",
  33464. "type": "string"
  33465. },
  33466. "contactname": {
  33467. "description": "联系人",
  33468. "type": "string"
  33469. },
  33470. "countryid": {
  33471. "description": "国家",
  33472. "type": "integer"
  33473. },
  33474. "createtime": {
  33475. "description": "创建时间",
  33476. "type": "string"
  33477. },
  33478. "creatorid": {
  33479. "description": "创建人",
  33480. "type": "integer"
  33481. },
  33482. "customername": {
  33483. "description": "客户名称(企业名称)",
  33484. "type": "string"
  33485. },
  33486. "districtid": {
  33487. "description": "地区",
  33488. "type": "integer"
  33489. },
  33490. "email": {
  33491. "description": "邮件(加密存储)",
  33492. "type": "string"
  33493. },
  33494. "fax": {
  33495. "description": "传真(加密存储)",
  33496. "type": "string"
  33497. },
  33498. "halfbodyphotourl": {
  33499. "description": "半身照地址",
  33500. "type": "string"
  33501. },
  33502. "hasencrypt": {
  33503. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33504. "type": "integer"
  33505. },
  33506. "headurl": {
  33507. "description": "头像地址",
  33508. "type": "string"
  33509. },
  33510. "legalcardbackphotourl": {
  33511. "description": "法人身份证背面照地址",
  33512. "type": "string"
  33513. },
  33514. "legalcardfrontphotourl": {
  33515. "description": "法人身份证正面照地址",
  33516. "type": "string"
  33517. },
  33518. "legalpersonname": {
  33519. "description": "法人姓名(企业)",
  33520. "type": "string"
  33521. },
  33522. "mobile": {
  33523. "description": "手机号码(加密存储)",
  33524. "type": "string"
  33525. },
  33526. "mobile2": {
  33527. "description": "手机号码[明文-尚志]",
  33528. "type": "string"
  33529. },
  33530. "modifierid": {
  33531. "description": "修改人",
  33532. "type": "integer"
  33533. },
  33534. "modifiertime": {
  33535. "description": "修改时间",
  33536. "type": "string"
  33537. },
  33538. "needinvoice": {
  33539. "description": "是否需要发票 - 0:不需要 1:需要",
  33540. "type": "integer"
  33541. },
  33542. "nickname": {
  33543. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  33544. "type": "string"
  33545. },
  33546. "openmode": {
  33547. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  33548. "type": "integer"
  33549. },
  33550. "otherurl": {
  33551. "description": "其它图片地址[使用分号分隔]",
  33552. "type": "string"
  33553. },
  33554. "postalcode": {
  33555. "description": "邮政编码",
  33556. "type": "string"
  33557. },
  33558. "provinceid": {
  33559. "description": "省",
  33560. "type": "integer"
  33561. },
  33562. "qq": {
  33563. "description": "QQ(加密存储",
  33564. "type": "string"
  33565. },
  33566. "remark": {
  33567. "description": "备注",
  33568. "type": "string"
  33569. },
  33570. "sex": {
  33571. "description": "用户性别 0: 女 1: 男",
  33572. "type": "integer"
  33573. },
  33574. "signpdfurl": {
  33575. "description": "签约pdf文件",
  33576. "type": "string"
  33577. },
  33578. "telphone": {
  33579. "description": "联系电话(加密存储)",
  33580. "type": "string"
  33581. },
  33582. "userid": {
  33583. "description": "用户ID",
  33584. "type": "integer"
  33585. },
  33586. "userinfotype": {
  33587. "description": "用户信息类型 - 1:个人 2:企业",
  33588. "type": "integer"
  33589. },
  33590. "userstatus": {
  33591. "description": "用户状态 - 1:正常 2:注销",
  33592. "type": "integer"
  33593. },
  33594. "usertype": {
  33595. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  33596. "type": "integer"
  33597. },
  33598. "wechat": {
  33599. "description": "微信(加密存储)",
  33600. "type": "string"
  33601. },
  33602. "wskhinfo": {
  33603. "description": "开户申请信息(JSON)",
  33604. "type": "string"
  33605. }
  33606. }
  33607. },
  33608. "models.WRSConverTDetail": {
  33609. "type": "object",
  33610. "properties": {
  33611. "convertratio": {
  33612. "description": "套保系数",
  33613. "type": "number"
  33614. },
  33615. "deliverygoodscode": {
  33616. "description": "现货商品代码",
  33617. "type": "string"
  33618. },
  33619. "deliverygoodsid": {
  33620. "description": "现货品种ID",
  33621. "type": "integer"
  33622. },
  33623. "deliverygoodsname": {
  33624. "description": "现货商品名称",
  33625. "type": "string"
  33626. },
  33627. "enumdicname": {
  33628. "description": "单位名称",
  33629. "type": "string"
  33630. },
  33631. "goodsunitid": {
  33632. "description": "套保品种单位id",
  33633. "type": "integer"
  33634. },
  33635. "middlegoodscode": {
  33636. "description": "套保品种代码",
  33637. "type": "string"
  33638. },
  33639. "middlegoodsid": {
  33640. "description": "套保品种ID",
  33641. "type": "integer"
  33642. },
  33643. "middlegoodsname": {
  33644. "description": "套保品种名称",
  33645. "type": "string"
  33646. },
  33647. "modifytime": {
  33648. "description": "修改时间",
  33649. "type": "string"
  33650. },
  33651. "wrstandardid": {
  33652. "description": "品类ID",
  33653. "type": "integer"
  33654. }
  33655. }
  33656. },
  33657. "models.WRStandardInfo": {
  33658. "type": "object",
  33659. "required": [
  33660. "wrstandardid"
  33661. ],
  33662. "properties": {
  33663. "areauserid": {
  33664. "description": "所属机构",
  33665. "type": "integer"
  33666. },
  33667. "convertfactor": {
  33668. "description": "标仓系数",
  33669. "type": "number"
  33670. },
  33671. "createtime": {
  33672. "description": "创建时间",
  33673. "type": "string"
  33674. },
  33675. "creatorid": {
  33676. "description": "创建人",
  33677. "type": "integer"
  33678. },
  33679. "deliverygoodsid": {
  33680. "description": "品种ID",
  33681. "type": "integer"
  33682. },
  33683. "deliverygoodsname": {
  33684. "description": "交割商品名称",
  33685. "type": "string"
  33686. },
  33687. "factoryitemjson": {
  33688. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  33689. "type": "string"
  33690. },
  33691. "isvalid": {
  33692. "description": "是否有效 - 0:无效 1:有效",
  33693. "type": "integer"
  33694. },
  33695. "minivalue": {
  33696. "description": "最小变动值",
  33697. "type": "integer"
  33698. },
  33699. "minivaluedp": {
  33700. "description": "最小变动值小数位",
  33701. "type": "integer"
  33702. },
  33703. "realminivalue": {
  33704. "description": "实际最小变动值",
  33705. "type": "integer"
  33706. },
  33707. "realminivaluedp": {
  33708. "description": "实际最小变动值小数位",
  33709. "type": "integer"
  33710. },
  33711. "remark": {
  33712. "description": "备注",
  33713. "type": "string"
  33714. },
  33715. "unitid": {
  33716. "description": "单位ID",
  33717. "type": "integer"
  33718. },
  33719. "unitname": {
  33720. "description": "单位",
  33721. "type": "string"
  33722. },
  33723. "updatetime": {
  33724. "description": "更新时间",
  33725. "type": "string"
  33726. },
  33727. "updatorid": {
  33728. "description": "更新人",
  33729. "type": "integer"
  33730. },
  33731. "wrsstatus": {
  33732. "description": "状态 - 作废 - 0:未激活 1:正常",
  33733. "type": "integer"
  33734. },
  33735. "wrstandardcode": {
  33736. "description": "现货品类代码",
  33737. "type": "string"
  33738. },
  33739. "wrstandardid": {
  33740. "description": "现货品类ID(SEQ_WRSTANDARD)",
  33741. "type": "integer"
  33742. },
  33743. "wrstandardname": {
  33744. "description": "现货品类名称",
  33745. "type": "string"
  33746. }
  33747. }
  33748. },
  33749. "models.WRTradeBargainApply": {
  33750. "type": "object",
  33751. "properties": {
  33752. "accountid": {
  33753. "description": "摘牌资金账号",
  33754. "type": "integer"
  33755. },
  33756. "applyprice": {
  33757. "description": "申请价格(议价价格)",
  33758. "type": "string"
  33759. },
  33760. "applyqty": {
  33761. "description": "摘牌数量(议价数量)",
  33762. "type": "number"
  33763. },
  33764. "applyremark": {
  33765. "description": "申请备注",
  33766. "type": "string"
  33767. },
  33768. "applystatus": {
  33769. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  33770. "type": "integer"
  33771. },
  33772. "applytime": {
  33773. "description": "申请时间(议价时间)",
  33774. "type": "string"
  33775. },
  33776. "begindate": {
  33777. "description": "开始交易日(yyyymmdd)",
  33778. "type": "string"
  33779. },
  33780. "buyorsell": {
  33781. "description": "买卖(挂牌类型) - 0:买 1:卖",
  33782. "type": "integer"
  33783. },
  33784. "confirmremark": {
  33785. "description": "确认备注",
  33786. "type": "string"
  33787. },
  33788. "confirmtime": {
  33789. "description": "确认时间",
  33790. "type": "string"
  33791. },
  33792. "confirmuserid": {
  33793. "description": "确认人",
  33794. "type": "integer"
  33795. },
  33796. "deliverygoodscode": {
  33797. "description": "品种代码",
  33798. "type": "string"
  33799. },
  33800. "deliverygoodsid": {
  33801. "description": "品种ID",
  33802. "type": "integer"
  33803. },
  33804. "deliverygoodsname": {
  33805. "description": "品种名称",
  33806. "type": "string"
  33807. },
  33808. "deliverymonth": {
  33809. "description": "交收月",
  33810. "type": "string"
  33811. },
  33812. "enddate": {
  33813. "description": "结束交易日(yyyymmdd)",
  33814. "type": "string"
  33815. },
  33816. "enumdicname": {
  33817. "description": "单位名称",
  33818. "type": "string"
  33819. },
  33820. "fixedprice": {
  33821. "description": "挂牌价格",
  33822. "type": "number"
  33823. },
  33824. "handlestatus": {
  33825. "description": "处理状态",
  33826. "type": "integer"
  33827. },
  33828. "marginvalue": {
  33829. "description": "履约保证金比例",
  33830. "type": "number"
  33831. },
  33832. "marketid": {
  33833. "description": "市场ID",
  33834. "type": "integer"
  33835. },
  33836. "matchaccountid": {
  33837. "description": "挂牌方资金账号",
  33838. "type": "integer"
  33839. },
  33840. "matchuserid": {
  33841. "description": "挂牌方用户id",
  33842. "type": "integer"
  33843. },
  33844. "matchusername": {
  33845. "description": "挂牌方用户名称(已脱敏)",
  33846. "type": "string"
  33847. },
  33848. "minivalue": {
  33849. "description": "现货商品最小变动值",
  33850. "type": "integer"
  33851. },
  33852. "optioncompare": {
  33853. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33854. "type": "string"
  33855. },
  33856. "orderqty": {
  33857. "description": "挂牌数量",
  33858. "type": "integer"
  33859. },
  33860. "refprice": {
  33861. "description": "参考价格",
  33862. "type": "string"
  33863. },
  33864. "retcode": {
  33865. "description": "委托返回代码",
  33866. "type": "integer"
  33867. },
  33868. "templatename": {
  33869. "description": "履约方式(履约模板名称)",
  33870. "type": "string"
  33871. },
  33872. "tradedate": {
  33873. "description": "交易日(yyyyMMdd)",
  33874. "type": "string"
  33875. },
  33876. "userid": {
  33877. "description": "摘牌人用户ID(议价人ID)",
  33878. "type": "integer"
  33879. },
  33880. "username": {
  33881. "description": "议价人名字(已脱敏)",
  33882. "type": "string"
  33883. },
  33884. "validtime": {
  33885. "description": "有效期限",
  33886. "type": "string"
  33887. },
  33888. "warehouseid": {
  33889. "description": "仓库ID",
  33890. "type": "integer"
  33891. },
  33892. "warehousename": {
  33893. "description": "仓库名称",
  33894. "type": "string"
  33895. },
  33896. "wrbargainid": {
  33897. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  33898. "type": "string"
  33899. },
  33900. "wrfactortypeid": {
  33901. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33902. "type": "string"
  33903. },
  33904. "wrfactortypename": {
  33905. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33906. "type": "string"
  33907. },
  33908. "wrstandardcode": {
  33909. "description": "现货商品代码",
  33910. "type": "string"
  33911. },
  33912. "wrstandardid": {
  33913. "description": "现货商品ID",
  33914. "type": "integer"
  33915. },
  33916. "wrstandardname": {
  33917. "description": "商品名称",
  33918. "type": "string"
  33919. },
  33920. "wrtradeorderid": {
  33921. "description": "关联委托单ID",
  33922. "type": "string"
  33923. },
  33924. "wrtypename": {
  33925. "description": "商品",
  33926. "type": "string"
  33927. }
  33928. }
  33929. },
  33930. "models.Warehouseinfo": {
  33931. "type": "object",
  33932. "required": [
  33933. "autoid",
  33934. "warehousecode"
  33935. ],
  33936. "properties": {
  33937. "address": {
  33938. "description": "详细地址",
  33939. "type": "string"
  33940. },
  33941. "areauserid": {
  33942. "description": "所属机构",
  33943. "type": "integer"
  33944. },
  33945. "autoid": {
  33946. "description": "自增ID",
  33947. "type": "integer"
  33948. },
  33949. "cityid": {
  33950. "description": "市",
  33951. "type": "integer"
  33952. },
  33953. "contactname": {
  33954. "description": "联系人",
  33955. "type": "string"
  33956. },
  33957. "contactnum": {
  33958. "description": "联系电话",
  33959. "type": "string"
  33960. },
  33961. "countryid": {
  33962. "description": "国家",
  33963. "type": "integer"
  33964. },
  33965. "createtime": {
  33966. "description": "创建时间",
  33967. "type": "string"
  33968. },
  33969. "districtid": {
  33970. "description": "区",
  33971. "type": "integer"
  33972. },
  33973. "hasvideo": {
  33974. "description": "是否有视频 - 0:无 1:有",
  33975. "type": "integer"
  33976. },
  33977. "provinceid": {
  33978. "description": "省",
  33979. "type": "integer"
  33980. },
  33981. "remark": {
  33982. "description": "审核备注",
  33983. "type": "string"
  33984. },
  33985. "videourl": {
  33986. "description": "视频地址",
  33987. "type": "string"
  33988. },
  33989. "warehousecode": {
  33990. "description": "仓库代码",
  33991. "type": "string"
  33992. },
  33993. "warehousename": {
  33994. "description": "仓库名称",
  33995. "type": "string"
  33996. },
  33997. "warehousestatus": {
  33998. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  33999. "type": "integer"
  34000. },
  34001. "warehousetype": {
  34002. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  34003. "type": "integer"
  34004. }
  34005. }
  34006. },
  34007. "models.WrAverageTradePrice": {
  34008. "type": "object",
  34009. "properties": {
  34010. "averageprice": {
  34011. "description": "成交均价",
  34012. "type": "number"
  34013. },
  34014. "tradedate": {
  34015. "description": "交易日yyyymm",
  34016. "type": "string"
  34017. }
  34018. }
  34019. },
  34020. "models.WrBsGoodsInfo": {
  34021. "type": "object",
  34022. "properties": {
  34023. "buyorsell": {
  34024. "description": "买卖方向 0-买 1-卖",
  34025. "type": "integer"
  34026. },
  34027. "goodsid": {
  34028. "description": "交易合约ID",
  34029. "type": "integer"
  34030. },
  34031. "lstitem": {
  34032. "description": "商品信息项",
  34033. "type": "array",
  34034. "items": {
  34035. "$ref": "#/definitions/models.WrTypeItem"
  34036. }
  34037. },
  34038. "lststep": {
  34039. "description": "履约规则",
  34040. "type": "array",
  34041. "items": {
  34042. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34043. }
  34044. }
  34045. }
  34046. },
  34047. "models.WrBuybackDetail": {
  34048. "type": "object",
  34049. "properties": {
  34050. "buybackamount": {
  34051. "description": "回购金额",
  34052. "type": "number"
  34053. },
  34054. "buybackqty": {
  34055. "description": "回购数量",
  34056. "type": "number"
  34057. },
  34058. "buybackreleasemargin": {
  34059. "description": "回购释放保证金",
  34060. "type": "number"
  34061. },
  34062. "buybacktime": {
  34063. "description": "回购时间",
  34064. "type": "string"
  34065. },
  34066. "errordesc": {
  34067. "description": "错误描述",
  34068. "type": "string"
  34069. },
  34070. "handlestatus": {
  34071. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  34072. "type": "integer"
  34073. },
  34074. "relatedwrid": {
  34075. "description": "关联仓单ID",
  34076. "type": "integer"
  34077. },
  34078. "scfcontractid": {
  34079. "description": "SCF合同ID",
  34080. "type": "string"
  34081. },
  34082. "scfwrbuybackid": {
  34083. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  34084. "type": "integer"
  34085. },
  34086. "tradedate": {
  34087. "description": "交易日(yyyyMMdd)",
  34088. "type": "string"
  34089. }
  34090. }
  34091. },
  34092. "models.WrDeliveryAvalidHoldLB": {
  34093. "type": "object",
  34094. "properties": {
  34095. "accountid": {
  34096. "description": "资金账号",
  34097. "type": "integer"
  34098. },
  34099. "avalidqty": {
  34100. "description": "数量(可点选数量)",
  34101. "type": "number"
  34102. },
  34103. "deliverygoodsid": {
  34104. "description": "品种id",
  34105. "type": "integer"
  34106. },
  34107. "enumdicname": {
  34108. "description": "单位名称",
  34109. "type": "string"
  34110. },
  34111. "goodsid": {
  34112. "description": "x合约商品id",
  34113. "type": "integer"
  34114. },
  34115. "ladingbillid": {
  34116. "description": "提单id",
  34117. "type": "string"
  34118. },
  34119. "pgoodscode": {
  34120. "description": "p商品代码(点价合约)",
  34121. "type": "string"
  34122. },
  34123. "pgoodsid": {
  34124. "description": "p商品id(点价合约)",
  34125. "type": "integer"
  34126. },
  34127. "pgoodsname": {
  34128. "description": "p商品名称(点价合约)",
  34129. "type": "string"
  34130. },
  34131. "pricemove": {
  34132. "description": "升贴水",
  34133. "type": "number"
  34134. },
  34135. "subnum": {
  34136. "description": "提单子id",
  34137. "type": "integer"
  34138. },
  34139. "userid": {
  34140. "description": "用户id",
  34141. "type": "integer"
  34142. },
  34143. "username": {
  34144. "description": "仓单持有人",
  34145. "type": "string"
  34146. },
  34147. "warehousecode": {
  34148. "description": "仓库代码",
  34149. "type": "string"
  34150. },
  34151. "warehouseid": {
  34152. "description": "仓库id",
  34153. "type": "integer"
  34154. },
  34155. "warehousename": {
  34156. "description": "仓库名称",
  34157. "type": "string"
  34158. },
  34159. "wrfactortypeid": {
  34160. "description": "仓单要素id",
  34161. "type": "string"
  34162. },
  34163. "wrstandardcode": {
  34164. "description": "品代码",
  34165. "type": "string"
  34166. },
  34167. "wrstandardid": {
  34168. "description": "品类d",
  34169. "type": "integer"
  34170. },
  34171. "wrstandardname": {
  34172. "description": "品类名称",
  34173. "type": "string"
  34174. },
  34175. "wrtypename": {
  34176. "description": "商品",
  34177. "type": "string"
  34178. },
  34179. "xgoodscode": {
  34180. "description": "x合约代码",
  34181. "type": "string"
  34182. },
  34183. "xgoodsname": {
  34184. "description": "x合约名称",
  34185. "type": "string"
  34186. }
  34187. }
  34188. },
  34189. "models.WrDeliveryDetail": {
  34190. "type": "object",
  34191. "properties": {
  34192. "accountid": {
  34193. "description": "账号ID",
  34194. "type": "integer"
  34195. },
  34196. "averageprice": {
  34197. "description": "交割均价 = 交割金额 / 交割数量",
  34198. "type": "number"
  34199. },
  34200. "begindate": {
  34201. "description": "开始交易日(yyyymmdd)",
  34202. "type": "string"
  34203. },
  34204. "buyorsell": {
  34205. "description": "方向 - 0:买 1:卖",
  34206. "type": "integer"
  34207. },
  34208. "deliveryamount": {
  34209. "description": "货款金额(X总货款+P总货款)",
  34210. "type": "number"
  34211. },
  34212. "deliveryid": {
  34213. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  34214. "type": "string"
  34215. },
  34216. "deliveryorderid": {
  34217. "description": "申报单号",
  34218. "type": "string"
  34219. },
  34220. "deliverypricemove": {
  34221. "description": "升贴水(升贴水总额)",
  34222. "type": "number"
  34223. },
  34224. "deliveryqty": {
  34225. "description": "交收数量(点选数量)",
  34226. "type": "number"
  34227. },
  34228. "deliverystatus": {
  34229. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  34230. "type": "integer"
  34231. },
  34232. "deliverytime": {
  34233. "description": "交割时间",
  34234. "type": "string"
  34235. },
  34236. "deliverytotalamount": {
  34237. "description": "交收金额",
  34238. "type": "number"
  34239. },
  34240. "enddate": {
  34241. "description": "结束交易日(yyyymmdd)",
  34242. "type": "string"
  34243. },
  34244. "enumdicname": {
  34245. "description": "单位名称",
  34246. "type": "string"
  34247. },
  34248. "matchaccountid": {
  34249. "description": "对手账号ID",
  34250. "type": "integer"
  34251. },
  34252. "matchusername": {
  34253. "description": "对手方名称(仓单持有人)",
  34254. "type": "string"
  34255. },
  34256. "p1goodsremainamount": {
  34257. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34258. "type": "number"
  34259. },
  34260. "pdeliverycloseqty": {
  34261. "description": "p合约平仓数量",
  34262. "type": "number"
  34263. },
  34264. "pdeliveryprice": {
  34265. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34266. "type": "number"
  34267. },
  34268. "pgoodscode": {
  34269. "description": "商品代码",
  34270. "type": "string"
  34271. },
  34272. "pgoodsid": {
  34273. "description": "p点选合约id",
  34274. "type": "integer"
  34275. },
  34276. "pgoodsname": {
  34277. "description": "商品名称",
  34278. "type": "string"
  34279. },
  34280. "ppricemode": {
  34281. "description": "点价价格方式 - 1:商品价 2:固定值",
  34282. "type": "integer"
  34283. },
  34284. "tradedate": {
  34285. "description": "交易日(yyyymmdd)",
  34286. "type": "string"
  34287. },
  34288. "userid": {
  34289. "description": "用户id",
  34290. "type": "integer"
  34291. },
  34292. "username": {
  34293. "description": "用户名称",
  34294. "type": "string"
  34295. },
  34296. "warehousename": {
  34297. "description": "仓库名称",
  34298. "type": "string"
  34299. },
  34300. "wrfactortypeid": {
  34301. "description": "仓单要素类型ID",
  34302. "type": "string"
  34303. },
  34304. "wrtypename": {
  34305. "description": "商品",
  34306. "type": "string"
  34307. },
  34308. "xdeliverycloseqty": {
  34309. "description": "合约数量",
  34310. "type": "number"
  34311. },
  34312. "xgoodsamount": {
  34313. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  34314. "type": "number"
  34315. },
  34316. "xgoodscode": {
  34317. "description": "商品代码",
  34318. "type": "string"
  34319. },
  34320. "xgoodsid": {
  34321. "description": "x交易合约ID",
  34322. "type": "integer"
  34323. },
  34324. "xgoodsname": {
  34325. "description": "商品名称",
  34326. "type": "string"
  34327. }
  34328. }
  34329. },
  34330. "models.WrDeliveryGoodsSection": {
  34331. "type": "object",
  34332. "properties": {
  34333. "dglst": {
  34334. "description": "板块商品列表",
  34335. "type": "array",
  34336. "items": {
  34337. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  34338. }
  34339. },
  34340. "imagepath": {
  34341. "description": "图片地址",
  34342. "type": "string"
  34343. },
  34344. "orderindex": {
  34345. "description": "排序",
  34346. "type": "integer"
  34347. },
  34348. "sectionid": {
  34349. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  34350. "type": "integer"
  34351. },
  34352. "sectionname": {
  34353. "description": "版块名称",
  34354. "type": "string"
  34355. },
  34356. "sectiontype": {
  34357. "description": "版块类型 - 1:指数版块 2:普通版块",
  34358. "type": "integer"
  34359. }
  34360. }
  34361. },
  34362. "models.WrDeliveryGoodsSectionConfig": {
  34363. "type": "object",
  34364. "properties": {
  34365. "deliverygoodscode": {
  34366. "description": "现货商品代码",
  34367. "type": "string"
  34368. },
  34369. "deliverygoodsid": {
  34370. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  34371. "type": "integer"
  34372. },
  34373. "deliverygoodsname": {
  34374. "description": "现货商品名称",
  34375. "type": "string"
  34376. },
  34377. "orderindex": {
  34378. "description": "排序",
  34379. "type": "integer"
  34380. }
  34381. }
  34382. },
  34383. "models.WrFAProductDetail": {
  34384. "type": "object",
  34385. "properties": {
  34386. "accountid": {
  34387. "description": "资金账号",
  34388. "type": "integer"
  34389. },
  34390. "areauserid": {
  34391. "description": "金融机构ID",
  34392. "type": "integer"
  34393. },
  34394. "financingdays": {
  34395. "description": "天数(天)",
  34396. "type": "integer"
  34397. },
  34398. "interestminlen": {
  34399. "description": "最小起息天数",
  34400. "type": "integer"
  34401. },
  34402. "interestrate": {
  34403. "description": "利率",
  34404. "type": "number"
  34405. },
  34406. "interestratemode": {
  34407. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34408. "type": "integer"
  34409. },
  34410. "interestsettlemode": {
  34411. "description": "结息方式 - 1:按日结息 3:按月结息",
  34412. "type": "integer"
  34413. },
  34414. "interestsettlevalue": {
  34415. "description": "结息方式值",
  34416. "type": "integer"
  34417. },
  34418. "isautoloan": {
  34419. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  34420. "type": "integer"
  34421. },
  34422. "loantag": {
  34423. "description": "放款标识: \"放款快\" 或者为空",
  34424. "type": "string"
  34425. },
  34426. "marginratio": {
  34427. "description": "保证金比率质押率 - [仓单质押]",
  34428. "type": "number"
  34429. },
  34430. "productdetailid": {
  34431. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  34432. "type": "integer"
  34433. },
  34434. "productid": {
  34435. "description": "金融产品ID",
  34436. "type": "integer"
  34437. },
  34438. "productname": {
  34439. "description": "产品名称",
  34440. "type": "string"
  34441. },
  34442. "updatetime": {
  34443. "description": "更新时间",
  34444. "type": "string"
  34445. },
  34446. "username": {
  34447. "description": "融出方",
  34448. "type": "string"
  34449. }
  34450. }
  34451. },
  34452. "models.WrFactorTypeInfo": {
  34453. "type": "object",
  34454. "properties": {
  34455. "deliverygoodscode": {
  34456. "description": "品种代码",
  34457. "type": "string"
  34458. },
  34459. "deliverygoodsname": {
  34460. "description": "品种名称",
  34461. "type": "string"
  34462. },
  34463. "dgfactoryitemid": {
  34464. "description": "选择项id",
  34465. "type": "integer"
  34466. },
  34467. "dgfactoryitemtypeid": {
  34468. "description": "要素选择项ID (1-仓库 2-品牌)",
  34469. "type": "integer"
  34470. },
  34471. "dgfactoryitemvalue": {
  34472. "description": "要素项值",
  34473. "type": "string"
  34474. },
  34475. "itemtypename": {
  34476. "description": "要素项名称",
  34477. "type": "string"
  34478. },
  34479. "optioncompare": {
  34480. "description": "选择比较串",
  34481. "type": "string"
  34482. },
  34483. "warehouseid": {
  34484. "description": "仓库id",
  34485. "type": "integer"
  34486. },
  34487. "wrfactortypeid": {
  34488. "description": "仓单要素ID",
  34489. "type": "string"
  34490. },
  34491. "wrfactortypename": {
  34492. "description": "要素名称",
  34493. "type": "string"
  34494. },
  34495. "wrfactortypename2": {
  34496. "description": "要素名称(不含仓库)",
  34497. "type": "string"
  34498. },
  34499. "wrstandardcode": {
  34500. "description": "品类代码",
  34501. "type": "string"
  34502. },
  34503. "wrstandardid": {
  34504. "description": "品类id",
  34505. "type": "integer"
  34506. },
  34507. "wrstandardname": {
  34508. "description": "品类名称",
  34509. "type": "string"
  34510. }
  34511. }
  34512. },
  34513. "models.WrFilterItem": {
  34514. "type": "object",
  34515. "properties": {
  34516. "itemcode": {
  34517. "description": "代码",
  34518. "type": "string"
  34519. },
  34520. "itemid": {
  34521. "description": "项id",
  34522. "type": "integer"
  34523. },
  34524. "itemname": {
  34525. "description": "名称",
  34526. "type": "string"
  34527. },
  34528. "itemtype": {
  34529. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  34530. "type": "integer"
  34531. }
  34532. }
  34533. },
  34534. "models.WrFinanceBuyApply": {
  34535. "type": "object",
  34536. "properties": {
  34537. "applydate": {
  34538. "description": "申请时间",
  34539. "type": "string"
  34540. },
  34541. "applystatus": {
  34542. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  34543. "type": "integer"
  34544. },
  34545. "applyuserid": {
  34546. "description": "申请人",
  34547. "type": "integer"
  34548. },
  34549. "auditdate": {
  34550. "description": "审核时间",
  34551. "type": "string"
  34552. },
  34553. "auditremark": {
  34554. "description": "审核备注",
  34555. "type": "string"
  34556. },
  34557. "audituserid": {
  34558. "description": "审核人",
  34559. "type": "integer"
  34560. },
  34561. "buyaccountid": {
  34562. "description": "买方资金账号",
  34563. "type": "integer"
  34564. },
  34565. "buyorsell": {
  34566. "description": "买卖 - 0:买 1:卖",
  34567. "type": "integer"
  34568. },
  34569. "buyuserid": {
  34570. "description": "买方用户ID",
  34571. "type": "integer"
  34572. },
  34573. "buyusername": {
  34574. "description": "买方名称",
  34575. "type": "string"
  34576. },
  34577. "buywrtradeorderid": {
  34578. "description": "融资方买委托单ID",
  34579. "type": "string"
  34580. },
  34581. "deliverygoodscode": {
  34582. "description": "品种代码",
  34583. "type": "string"
  34584. },
  34585. "deliverygoodsid": {
  34586. "description": "品种ID",
  34587. "type": "integer"
  34588. },
  34589. "deliverygoodsname": {
  34590. "description": "品种名称",
  34591. "type": "string"
  34592. },
  34593. "deliverymonth": {
  34594. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  34595. "type": "string"
  34596. },
  34597. "enumdicname": {
  34598. "description": "单位名称",
  34599. "type": "string"
  34600. },
  34601. "financeaccountid": {
  34602. "description": "融资方资金帐户ID",
  34603. "type": "integer"
  34604. },
  34605. "financeapplyid": {
  34606. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34607. "type": "string"
  34608. },
  34609. "financeareauserid": {
  34610. "description": "融资方用户ID",
  34611. "type": "string"
  34612. },
  34613. "financename": {
  34614. "description": "融出方名称",
  34615. "type": "string"
  34616. },
  34617. "financetype": {
  34618. "description": "融资类型 1-融资回购",
  34619. "type": "integer"
  34620. },
  34621. "financingdays": {
  34622. "description": "天数(天)",
  34623. "type": "integer"
  34624. },
  34625. "freezebuymargin": {
  34626. "description": "冻结融资保证金(买方)",
  34627. "type": "number"
  34628. },
  34629. "handleremark": {
  34630. "description": "处理备注",
  34631. "type": "string"
  34632. },
  34633. "handlestatus": {
  34634. "description": "处理状态",
  34635. "type": "integer"
  34636. },
  34637. "interestminlen": {
  34638. "description": "最小起息天数",
  34639. "type": "integer"
  34640. },
  34641. "interestrate": {
  34642. "description": "利率",
  34643. "type": "number"
  34644. },
  34645. "interestratemode": {
  34646. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34647. "type": "integer"
  34648. },
  34649. "interestsettlemode": {
  34650. "description": "结息方式 - 1:按日结息 3:按月结息",
  34651. "type": "integer"
  34652. },
  34653. "interestsettlevalue": {
  34654. "description": "结息方式值",
  34655. "type": "integer"
  34656. },
  34657. "isautoloan": {
  34658. "description": "是否自动放款 - 0:手动 1:自动",
  34659. "type": "integer"
  34660. },
  34661. "marginratio": {
  34662. "description": "保证金比率质押率 - [仓单质押]",
  34663. "type": "number"
  34664. },
  34665. "marketid": {
  34666. "description": "市场ID",
  34667. "type": "integer"
  34668. },
  34669. "minivalue": {
  34670. "description": "现货商品最小变动值",
  34671. "type": "integer"
  34672. },
  34673. "optioncompare": {
  34674. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34675. "type": "string"
  34676. },
  34677. "orderqty": {
  34678. "description": "委托数量(商品数量)",
  34679. "type": "number"
  34680. },
  34681. "productdetailid": {
  34682. "description": "产品组合ID",
  34683. "type": "integer"
  34684. },
  34685. "productid": {
  34686. "description": "金融产品ID",
  34687. "type": "integer"
  34688. },
  34689. "productname": {
  34690. "description": "产品名称",
  34691. "type": "string"
  34692. },
  34693. "remark": {
  34694. "description": "备注",
  34695. "type": "string"
  34696. },
  34697. "scfcontractid": {
  34698. "description": "仓单回购合同ID",
  34699. "type": "string"
  34700. },
  34701. "sellaccountid": {
  34702. "description": "卖方资金账号",
  34703. "type": "integer"
  34704. },
  34705. "selluserid": {
  34706. "description": "卖方用户ID",
  34707. "type": "integer"
  34708. },
  34709. "sellwrtradeorderid": {
  34710. "description": "卖方委托单ID",
  34711. "type": "string"
  34712. },
  34713. "tradeamount": {
  34714. "description": "成交金额(借款金额)",
  34715. "type": "number"
  34716. },
  34717. "tradedate": {
  34718. "description": "交易日(yyyyMMdd)",
  34719. "type": "string"
  34720. },
  34721. "tradeprice": {
  34722. "description": "成交价格",
  34723. "type": "number"
  34724. },
  34725. "warehouseid": {
  34726. "description": "仓库ID",
  34727. "type": "integer"
  34728. },
  34729. "warehousename": {
  34730. "description": "仓库名称",
  34731. "type": "string"
  34732. },
  34733. "wrfactortypeid": {
  34734. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34735. "type": "string"
  34736. },
  34737. "wrfactortypename": {
  34738. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34739. "type": "string"
  34740. },
  34741. "wrpricetype": {
  34742. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  34743. "type": "integer"
  34744. },
  34745. "wrstandardcode": {
  34746. "description": "现货商品代码",
  34747. "type": "string"
  34748. },
  34749. "wrstandardid": {
  34750. "description": "现货商品ID",
  34751. "type": "integer"
  34752. },
  34753. "wrstandardname": {
  34754. "description": "商品名称",
  34755. "type": "string"
  34756. },
  34757. "wrtypename": {
  34758. "description": "商品",
  34759. "type": "string"
  34760. }
  34761. }
  34762. },
  34763. "models.WrFriendApply": {
  34764. "type": "object",
  34765. "properties": {
  34766. "applicantid": {
  34767. "description": "申请人",
  34768. "type": "integer"
  34769. },
  34770. "applyname": {
  34771. "description": "申请人名称",
  34772. "type": "string"
  34773. },
  34774. "applysrc": {
  34775. "description": "申请来源 - 1:管理端 2:终端",
  34776. "type": "integer"
  34777. },
  34778. "applystatus": {
  34779. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34780. "type": "integer"
  34781. },
  34782. "applytime": {
  34783. "description": "申请时间",
  34784. "type": "string"
  34785. },
  34786. "auditname": {
  34787. "description": "审核人名称",
  34788. "type": "string"
  34789. },
  34790. "auditorid": {
  34791. "description": "审核人",
  34792. "type": "integer"
  34793. },
  34794. "auditremark": {
  34795. "description": "审核备注",
  34796. "type": "string"
  34797. },
  34798. "auditsrc": {
  34799. "description": "审核来源 - 1:管理端 2:终端",
  34800. "type": "integer"
  34801. },
  34802. "audittime": {
  34803. "description": "审核时间",
  34804. "type": "string"
  34805. },
  34806. "friendapplyid": {
  34807. "description": "申请ID(SEQ_FRIENDAPPLY)",
  34808. "type": "string"
  34809. },
  34810. "friendname": {
  34811. "description": "好友名字(已脱敏)",
  34812. "type": "string"
  34813. },
  34814. "frienduserid": {
  34815. "description": "好友用户ID",
  34816. "type": "string"
  34817. },
  34818. "remark": {
  34819. "description": "备注",
  34820. "type": "string"
  34821. },
  34822. "userid": {
  34823. "description": "申请人用户ID",
  34824. "type": "integer"
  34825. }
  34826. }
  34827. },
  34828. "models.WrFtDeliveryGoods": {
  34829. "type": "object",
  34830. "properties": {
  34831. "deliverygoodscode": {
  34832. "description": "品种代码",
  34833. "type": "string"
  34834. },
  34835. "deliverygoodsid": {
  34836. "description": "品种ID",
  34837. "type": "integer"
  34838. },
  34839. "deliverygoodsname": {
  34840. "description": "品种名称",
  34841. "type": "string"
  34842. },
  34843. "wdlst": {
  34844. "description": "商品列表",
  34845. "type": "array",
  34846. "items": {
  34847. "$ref": "#/definitions/models.WrFtWrstandard"
  34848. }
  34849. }
  34850. }
  34851. },
  34852. "models.WrFtWrstandard": {
  34853. "type": "object",
  34854. "properties": {
  34855. "enumdicname": {
  34856. "description": "单位名称",
  34857. "type": "string"
  34858. },
  34859. "minivalue": {
  34860. "description": "最小变动值",
  34861. "type": "integer"
  34862. },
  34863. "wrstandardcode": {
  34864. "description": "现货商品代码",
  34865. "type": "string"
  34866. },
  34867. "wrstandardid": {
  34868. "description": "现货商品ID",
  34869. "type": "integer"
  34870. },
  34871. "wrstandardname": {
  34872. "description": "商品名称",
  34873. "type": "string"
  34874. }
  34875. }
  34876. },
  34877. "models.WrGoodsInfo": {
  34878. "type": "object",
  34879. "properties": {
  34880. "haswr": {
  34881. "description": "0:仓单预售 1:仓单贸易",
  34882. "type": "integer"
  34883. },
  34884. "lstitem": {
  34885. "description": "商品信息项",
  34886. "type": "array",
  34887. "items": {
  34888. "$ref": "#/definitions/models.WrTypeItem"
  34889. }
  34890. },
  34891. "lststep": {
  34892. "description": "履约规则",
  34893. "type": "array",
  34894. "items": {
  34895. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34896. }
  34897. },
  34898. "marketid": {
  34899. "description": "市场id",
  34900. "type": "integer"
  34901. }
  34902. }
  34903. },
  34904. "models.WrGoodsPerformanceStep": {
  34905. "type": "object",
  34906. "properties": {
  34907. "autoid": {
  34908. "description": "AutoID",
  34909. "type": "integer"
  34910. },
  34911. "isauto": {
  34912. "description": "是否自动 - 0:不自动 1:自动",
  34913. "type": "integer"
  34914. },
  34915. "remark": {
  34916. "description": "备注",
  34917. "type": "string"
  34918. },
  34919. "stepdate": {
  34920. "description": "天数信息(T+N)",
  34921. "type": "string"
  34922. },
  34923. "stepdays": {
  34924. "description": "距离上一步天数",
  34925. "type": "integer"
  34926. },
  34927. "stepindex": {
  34928. "description": "步骤序号",
  34929. "type": "integer"
  34930. },
  34931. "stepinfo": {
  34932. "description": "步骤信息(步骤名称+步骤值)",
  34933. "type": "string"
  34934. },
  34935. "steptypeid": {
  34936. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34937. "type": "integer"
  34938. },
  34939. "steptypename": {
  34940. "description": "步骤名称",
  34941. "type": "string"
  34942. },
  34943. "stepvalue": {
  34944. "description": "步骤值",
  34945. "type": "number"
  34946. },
  34947. "templateid": {
  34948. "description": "履约计划模板ID",
  34949. "type": "integer"
  34950. }
  34951. }
  34952. },
  34953. "models.WrHoldLB": {
  34954. "type": "object",
  34955. "properties": {
  34956. "accountid": {
  34957. "description": "持有人帐户ID",
  34958. "type": "integer"
  34959. },
  34960. "createtime": {
  34961. "description": "创建时间(过户时间)",
  34962. "type": "string"
  34963. },
  34964. "deliverygoodscode": {
  34965. "description": "品种代码",
  34966. "type": "string"
  34967. },
  34968. "deliverygoodsid": {
  34969. "description": "品种ID",
  34970. "type": "integer"
  34971. },
  34972. "deliverygoodsname": {
  34973. "description": "品种名称",
  34974. "type": "string"
  34975. },
  34976. "enableqty": {
  34977. "description": "可用数量",
  34978. "type": "number"
  34979. },
  34980. "enumdicname": {
  34981. "description": "单位名称",
  34982. "type": "string"
  34983. },
  34984. "freezerqty": {
  34985. "description": "冻结数量",
  34986. "type": "number"
  34987. },
  34988. "ladingbillid": {
  34989. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34990. "type": "string"
  34991. },
  34992. "minivalue": {
  34993. "description": "现货商品最小变动值",
  34994. "type": "integer"
  34995. },
  34996. "optioncompare": {
  34997. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34998. "type": "string"
  34999. },
  35000. "parentsubnum": {
  35001. "description": "拆分父子单号",
  35002. "type": "integer"
  35003. },
  35004. "pledgeqty": {
  35005. "description": "质押数量",
  35006. "type": "number"
  35007. },
  35008. "qty": {
  35009. "description": "数量",
  35010. "type": "number"
  35011. },
  35012. "subnum": {
  35013. "description": "提单子单号",
  35014. "type": "integer"
  35015. },
  35016. "tradedate": {
  35017. "description": "交易日(yyyyMMdd)",
  35018. "type": "string"
  35019. },
  35020. "userid": {
  35021. "description": "持有人ID",
  35022. "type": "integer"
  35023. },
  35024. "warehouseid": {
  35025. "description": "仓库ID",
  35026. "type": "integer"
  35027. },
  35028. "warehousename": {
  35029. "description": "仓库名称",
  35030. "type": "string"
  35031. },
  35032. "wrfactortypeid": {
  35033. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35034. "type": "string"
  35035. },
  35036. "wrfactortypename": {
  35037. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35038. "type": "string"
  35039. },
  35040. "wrholdeno": {
  35041. "description": "仓单编号",
  35042. "type": "string"
  35043. },
  35044. "wrid": {
  35045. "description": "仓单变更ID",
  35046. "type": "string"
  35047. },
  35048. "wrstandardcode": {
  35049. "description": "现货商品代码",
  35050. "type": "string"
  35051. },
  35052. "wrstandardid": {
  35053. "description": "现货商品ID",
  35054. "type": "integer"
  35055. },
  35056. "wrstandardname": {
  35057. "description": "商品名称",
  35058. "type": "string"
  35059. },
  35060. "wrtypename": {
  35061. "description": "商品",
  35062. "type": "string"
  35063. }
  35064. }
  35065. },
  35066. "models.WrMarketTradeConfig": {
  35067. "type": "object",
  35068. "properties": {
  35069. "basisdownratio": {
  35070. "description": "浮动价基差下限比例(仓单贸易)",
  35071. "type": "number"
  35072. },
  35073. "basisupratio": {
  35074. "description": "浮动价基差上限比例(仓单贸易)",
  35075. "type": "number"
  35076. },
  35077. "buychargealgorithm": {
  35078. "description": "买方手续费收取方式 1:比率 2:固定",
  35079. "type": "integer"
  35080. },
  35081. "buychargealgorithm2": {
  35082. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35083. "type": "integer"
  35084. },
  35085. "buychargealgorithmvalue": {
  35086. "description": "买方手续费设置值(交易所部分)",
  35087. "type": "number"
  35088. },
  35089. "buychargealgorithmvalue2": {
  35090. "description": "买方手续费设置值(会员部分)",
  35091. "type": "number"
  35092. },
  35093. "buychargealgorithmvalue3": {
  35094. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  35095. "type": "number"
  35096. },
  35097. "buychargealgorithmvalue4": {
  35098. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  35099. "type": "number"
  35100. },
  35101. "buyfirstmarginalgorithm": {
  35102. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  35103. "type": "integer"
  35104. },
  35105. "buyfirstmarginvalue": {
  35106. "description": "买方出价保证金设置值 - [竞拍]",
  35107. "type": "number"
  35108. },
  35109. "buymarginalgorithm": {
  35110. "description": "买方保证金方式 - 1:比率 2:固定",
  35111. "type": "integer"
  35112. },
  35113. "buymarginvalue": {
  35114. "description": "买方保证金设置值",
  35115. "type": "number"
  35116. },
  35117. "buyreleaseratio": {
  35118. "description": "买方释放比率[2:分步履约]",
  35119. "type": "number"
  35120. },
  35121. "executemode": {
  35122. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  35123. "type": "integer"
  35124. },
  35125. "executeside": {
  35126. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  35127. "type": "integer"
  35128. },
  35129. "failedchargealgorithm": {
  35130. "description": "流拍手续费收取方式 1:比率 2:固定",
  35131. "type": "integer"
  35132. },
  35133. "failedchargevalue": {
  35134. "description": "流拍手续费设置值",
  35135. "type": "number"
  35136. },
  35137. "failedchargevalue2": {
  35138. "description": "流拍卖方手续费设置值",
  35139. "type": "number"
  35140. },
  35141. "holddays": {
  35142. "description": "合同期限[2:分步履约]",
  35143. "type": "integer"
  35144. },
  35145. "marketid": {
  35146. "description": "市场ID-仓单贸易、竞拍、预售",
  35147. "type": "integer"
  35148. },
  35149. "minqty": {
  35150. "description": "最小执行量[2:分步履约]",
  35151. "type": "number"
  35152. },
  35153. "modifierid": {
  35154. "description": "修改人",
  35155. "type": "integer"
  35156. },
  35157. "performancetempid": {
  35158. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35159. "type": "integer"
  35160. },
  35161. "performancetempid2": {
  35162. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35163. "type": "integer"
  35164. },
  35165. "performancetempid2s": {
  35166. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35167. "type": "string"
  35168. },
  35169. "performancetempids": {
  35170. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35171. "type": "string"
  35172. },
  35173. "performanceway": {
  35174. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  35175. "type": "integer"
  35176. },
  35177. "sellchargealgorithm": {
  35178. "description": "卖方手续费收取方式 1:比率 2:固定",
  35179. "type": "integer"
  35180. },
  35181. "sellchargealgorithm2": {
  35182. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35183. "type": "integer"
  35184. },
  35185. "sellchargealgorithmvalue": {
  35186. "description": "卖方手续费设置值(交易所部分)",
  35187. "type": "number"
  35188. },
  35189. "sellchargealgorithmvalue2": {
  35190. "description": "卖方手续费设置值(会员部分)",
  35191. "type": "number"
  35192. },
  35193. "sellchargealgorithmvalue3": {
  35194. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  35195. "type": "number"
  35196. },
  35197. "sellchargealgorithmvalue4": {
  35198. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  35199. "type": "number"
  35200. },
  35201. "sellmarginalgorithm": {
  35202. "description": "卖方保证金方式 - 1:比率 2:固定",
  35203. "type": "integer"
  35204. },
  35205. "sellmarginvalue": {
  35206. "description": "卖方保证金设置值",
  35207. "type": "number"
  35208. },
  35209. "sellmarginvalue2": {
  35210. "description": "卖方保证金设置值(无仓单)",
  35211. "type": "number"
  35212. },
  35213. "sellreleaseratio": {
  35214. "description": "卖方释放比率[2:分步履约]",
  35215. "type": "number"
  35216. },
  35217. "updatetime": {
  35218. "description": "更新时间",
  35219. "type": "string"
  35220. }
  35221. }
  35222. },
  35223. "models.WrOrderDetail": {
  35224. "type": "object",
  35225. "properties": {
  35226. "accountid": {
  35227. "description": "交易账号(资金账号)",
  35228. "type": "integer"
  35229. },
  35230. "allfriendsflag": {
  35231. "description": "是否全好友可见 - 0:否 1:是",
  35232. "type": "integer"
  35233. },
  35234. "amount": {
  35235. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  35236. "type": "number"
  35237. },
  35238. "begindate": {
  35239. "description": "开始交易日(yyyymmdd)",
  35240. "type": "string"
  35241. },
  35242. "buyorsell": {
  35243. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35244. "type": "integer"
  35245. },
  35246. "canbargain": {
  35247. "description": "是否可议价 - 0:不可 1:可",
  35248. "type": "integer"
  35249. },
  35250. "cancelqty": {
  35251. "description": "撤销数量",
  35252. "type": "number"
  35253. },
  35254. "canpart": {
  35255. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  35256. "type": "integer"
  35257. },
  35258. "delistminqty": {
  35259. "description": "起摘数量",
  35260. "type": "integer"
  35261. },
  35262. "deliverygoodscode": {
  35263. "description": "品种代码",
  35264. "type": "string"
  35265. },
  35266. "deliverygoodsid": {
  35267. "description": "品种ID",
  35268. "type": "integer"
  35269. },
  35270. "deliverygoodsname": {
  35271. "description": "品种名称",
  35272. "type": "string"
  35273. },
  35274. "deliverymonth": {
  35275. "description": "交收月",
  35276. "type": "string"
  35277. },
  35278. "enddate": {
  35279. "description": "结束交易日(yyyymmdd)",
  35280. "type": "string"
  35281. },
  35282. "enumdicname": {
  35283. "description": "单位名称",
  35284. "type": "string"
  35285. },
  35286. "fixedprice": {
  35287. "description": "固定价格 - [挂牌]",
  35288. "type": "number"
  35289. },
  35290. "freezemargin": {
  35291. "description": "冻结保证金(保证金)",
  35292. "type": "number"
  35293. },
  35294. "futupricemove": {
  35295. "description": "期货升贴水",
  35296. "type": "number"
  35297. },
  35298. "futushow": {
  35299. "description": "期货合约/升贴水",
  35300. "type": "string"
  35301. },
  35302. "goodscode": {
  35303. "description": "期货合约",
  35304. "type": "string"
  35305. },
  35306. "goodsid": {
  35307. "description": "期货商品id",
  35308. "type": "integer"
  35309. },
  35310. "goodsname": {
  35311. "description": "商品名称",
  35312. "type": "string"
  35313. },
  35314. "haswr": {
  35315. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35316. "type": "integer"
  35317. },
  35318. "isspecified": {
  35319. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  35320. "type": "integer"
  35321. },
  35322. "ladingbillid": {
  35323. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  35324. "type": "string"
  35325. },
  35326. "marginvalue": {
  35327. "description": "保证金设置值(履约保证金)",
  35328. "type": "number"
  35329. },
  35330. "marketid": {
  35331. "description": "市场ID",
  35332. "type": "integer"
  35333. },
  35334. "matchusername": {
  35335. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  35336. "type": "string"
  35337. },
  35338. "minivalue": {
  35339. "description": "现货商品最小变动值",
  35340. "type": "integer"
  35341. },
  35342. "optioncompare": {
  35343. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35344. "type": "string"
  35345. },
  35346. "orderqty": {
  35347. "description": "委托数量",
  35348. "type": "number"
  35349. },
  35350. "ordertime": {
  35351. "description": "委托时间(挂牌时间)",
  35352. "type": "string"
  35353. },
  35354. "performancetemplateid": {
  35355. "description": "履约模板id",
  35356. "type": "integer"
  35357. },
  35358. "pricemove": {
  35359. "description": "升贴水(浮动价时填写) - [挂牌]",
  35360. "type": "number"
  35361. },
  35362. "taname": {
  35363. "description": "交易用户名称(资金账号名称)",
  35364. "type": "string"
  35365. },
  35366. "tradedate": {
  35367. "description": "交易日(yyyyMMdd)",
  35368. "type": "string"
  35369. },
  35370. "tradeprice": {
  35371. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  35372. "type": "number"
  35373. },
  35374. "tradeqty": {
  35375. "description": "成交数量",
  35376. "type": "number"
  35377. },
  35378. "userid": {
  35379. "description": "用户ID",
  35380. "type": "integer"
  35381. },
  35382. "validtime": {
  35383. "description": "挂牌有效期",
  35384. "type": "string"
  35385. },
  35386. "validtype": {
  35387. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  35388. "type": "integer"
  35389. },
  35390. "warehouseid": {
  35391. "description": "仓库ID",
  35392. "type": "integer"
  35393. },
  35394. "warehousename": {
  35395. "description": "仓库名称",
  35396. "type": "string"
  35397. },
  35398. "wrfactortypeid": {
  35399. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35400. "type": "string"
  35401. },
  35402. "wrfactortypename": {
  35403. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35404. "type": "string"
  35405. },
  35406. "wrpricetype": {
  35407. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  35408. "type": "integer"
  35409. },
  35410. "wrstandardcode": {
  35411. "description": "现货商品代码",
  35412. "type": "string"
  35413. },
  35414. "wrstandardid": {
  35415. "description": "现货商品ID",
  35416. "type": "integer"
  35417. },
  35418. "wrstandardname": {
  35419. "description": "商品名称",
  35420. "type": "string"
  35421. },
  35422. "wrtradeorderid": {
  35423. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35424. "type": "string"
  35425. },
  35426. "wrtradeorderstatus": {
  35427. "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:撤单解冻贷款失败",
  35428. "type": "integer"
  35429. },
  35430. "wrtradetype": {
  35431. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35432. "type": "integer"
  35433. },
  35434. "wrtypename": {
  35435. "description": "商品",
  35436. "type": "string"
  35437. }
  35438. }
  35439. },
  35440. "models.WrOrderQuote": {
  35441. "type": "object",
  35442. "properties": {
  35443. "buyprice": {
  35444. "description": "买价",
  35445. "type": "number"
  35446. },
  35447. "buypricemove": {
  35448. "description": "买升贴水(基差)",
  35449. "type": "number"
  35450. },
  35451. "buyqty": {
  35452. "description": "买量",
  35453. "type": "number"
  35454. },
  35455. "deliverygoodscode": {
  35456. "description": "品种代码",
  35457. "type": "string"
  35458. },
  35459. "deliverygoodsid": {
  35460. "description": "品种id",
  35461. "type": "integer"
  35462. },
  35463. "deliverygoodsname": {
  35464. "description": "品种名称",
  35465. "type": "string"
  35466. },
  35467. "deliverymonth": {
  35468. "description": "交收月",
  35469. "type": "string"
  35470. },
  35471. "enumdicname": {
  35472. "description": "单位名称",
  35473. "type": "string"
  35474. },
  35475. "goodscode": {
  35476. "description": "商品合约(浮动价列表才有)",
  35477. "type": "string"
  35478. },
  35479. "goodsid": {
  35480. "description": "商品id(浮动价列表才有)",
  35481. "type": "integer"
  35482. },
  35483. "minivalue": {
  35484. "description": "现货商品最小变动值",
  35485. "type": "integer"
  35486. },
  35487. "sellprice": {
  35488. "description": "卖价",
  35489. "type": "number"
  35490. },
  35491. "sellpricemove": {
  35492. "description": "卖升贴水(基差)",
  35493. "type": "number"
  35494. },
  35495. "sellqty": {
  35496. "description": "卖量",
  35497. "type": "number"
  35498. },
  35499. "warehousecode": {
  35500. "description": "仓库代码",
  35501. "type": "string"
  35502. },
  35503. "warehouseid": {
  35504. "description": "仓库id",
  35505. "type": "integer"
  35506. },
  35507. "warehousename": {
  35508. "description": "仓库名称",
  35509. "type": "string"
  35510. },
  35511. "wrfactortypeid": {
  35512. "description": "仓单要素id",
  35513. "type": "string"
  35514. },
  35515. "wrfactortypename": {
  35516. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35517. "type": "string"
  35518. },
  35519. "wrgoodsname": {
  35520. "description": "商品(商品名称+仓库要素名称 拼接)",
  35521. "type": "string"
  35522. },
  35523. "wrstandardcode": {
  35524. "description": "商品代码",
  35525. "type": "string"
  35526. },
  35527. "wrstandardid": {
  35528. "description": "商品id",
  35529. "type": "integer"
  35530. },
  35531. "wrstandardname": {
  35532. "description": "商品名称",
  35533. "type": "string"
  35534. }
  35535. }
  35536. },
  35537. "models.WrOrderQuoteDetail": {
  35538. "type": "object",
  35539. "properties": {
  35540. "buyorsell": {
  35541. "description": "买卖 - 0:买 1:卖",
  35542. "type": "integer"
  35543. },
  35544. "delistminqty": {
  35545. "description": "起摘数量",
  35546. "type": "number"
  35547. },
  35548. "deliverymonth": {
  35549. "description": "交收月",
  35550. "type": "string"
  35551. },
  35552. "enumdicname": {
  35553. "description": "单位名称",
  35554. "type": "string"
  35555. },
  35556. "fixedprice": {
  35557. "description": "买(卖)价",
  35558. "type": "number"
  35559. },
  35560. "minivalue": {
  35561. "description": "现货商品最小变动值",
  35562. "type": "integer"
  35563. },
  35564. "orderqty": {
  35565. "description": "买(卖)量(=委托量-成交量)",
  35566. "type": "number"
  35567. },
  35568. "ordertime": {
  35569. "description": "委托时间",
  35570. "type": "string"
  35571. },
  35572. "pricemove": {
  35573. "description": "买(卖)升贴水- 基差",
  35574. "type": "number"
  35575. },
  35576. "userid": {
  35577. "description": "购买方(销售方)用户ID",
  35578. "type": "integer"
  35579. },
  35580. "username": {
  35581. "description": "购买方(销售方)",
  35582. "type": "string"
  35583. },
  35584. "wrtradeorderid": {
  35585. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35586. "type": "string"
  35587. }
  35588. }
  35589. },
  35590. "models.WrOutInApply": {
  35591. "type": "object",
  35592. "properties": {
  35593. "applyid": {
  35594. "description": "申请单id",
  35595. "type": "string"
  35596. },
  35597. "applystatus": {
  35598. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  35599. "type": "integer"
  35600. },
  35601. "applytime": {
  35602. "description": "申请时间",
  35603. "type": "string"
  35604. },
  35605. "applytype": {
  35606. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  35607. "type": "integer"
  35608. },
  35609. "begindate": {
  35610. "description": "开始交易日(yyyymmdd)",
  35611. "type": "string"
  35612. },
  35613. "deliverygoodscode": {
  35614. "description": "品种代码",
  35615. "type": "string"
  35616. },
  35617. "deliverygoodsid": {
  35618. "description": "品种ID",
  35619. "type": "integer"
  35620. },
  35621. "deliverygoodsname": {
  35622. "description": "品种名称",
  35623. "type": "string"
  35624. },
  35625. "enddate": {
  35626. "description": "结束交易日(yyyymmdd)",
  35627. "type": "string"
  35628. },
  35629. "enumdicname": {
  35630. "description": "单位名称",
  35631. "type": "string"
  35632. },
  35633. "expresscompany": {
  35634. "description": "物流公司",
  35635. "type": "string"
  35636. },
  35637. "expressnum": {
  35638. "description": "物流单号",
  35639. "type": "string"
  35640. },
  35641. "minivalue": {
  35642. "description": "现货商品最小变动值",
  35643. "type": "integer"
  35644. },
  35645. "optioncompare": {
  35646. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35647. "type": "string"
  35648. },
  35649. "qty": {
  35650. "description": "数量",
  35651. "type": "integer"
  35652. },
  35653. "userid": {
  35654. "description": "用户id",
  35655. "type": "integer"
  35656. },
  35657. "warehouseid": {
  35658. "description": "仓库ID",
  35659. "type": "integer"
  35660. },
  35661. "warehousename": {
  35662. "description": "仓库名称",
  35663. "type": "string"
  35664. },
  35665. "wrfactortypeid": {
  35666. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35667. "type": "string"
  35668. },
  35669. "wrfactortypename": {
  35670. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35671. "type": "string"
  35672. },
  35673. "wrstandardcode": {
  35674. "description": "现货商品代码",
  35675. "type": "string"
  35676. },
  35677. "wrstandardid": {
  35678. "description": "现货商品ID",
  35679. "type": "integer"
  35680. },
  35681. "wrstandardname": {
  35682. "description": "商品名称",
  35683. "type": "string"
  35684. },
  35685. "wrtypename": {
  35686. "description": "商品",
  35687. "type": "string"
  35688. }
  35689. }
  35690. },
  35691. "models.WrPerformancePlan": {
  35692. "type": "object",
  35693. "required": [
  35694. "userid"
  35695. ],
  35696. "properties": {
  35697. "activatemonth": {
  35698. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  35699. "type": "string"
  35700. },
  35701. "amount": {
  35702. "description": "履约金额(总金额)",
  35703. "type": "number"
  35704. },
  35705. "buyaccountid": {
  35706. "description": "买方账号",
  35707. "type": "integer"
  35708. },
  35709. "buyerfreezeamount": {
  35710. "description": "履约冻结(买履约)",
  35711. "type": "number"
  35712. },
  35713. "buyerfreezeamountremain": {
  35714. "description": "履约冻结剩余(买履约)",
  35715. "type": "number"
  35716. },
  35717. "buyorsell": {
  35718. "description": "买卖方向 0-买 1-卖",
  35719. "type": "integer"
  35720. },
  35721. "buypaidamount": {
  35722. "description": "买方已冻/已扣金额 (已付金额)",
  35723. "type": "number"
  35724. },
  35725. "buyusername": {
  35726. "description": "买方名字",
  35727. "type": "string"
  35728. },
  35729. "contractid": {
  35730. "description": "合同ID",
  35731. "type": "integer"
  35732. },
  35733. "createtime": {
  35734. "description": "创建时间",
  35735. "type": "string"
  35736. },
  35737. "creatorid": {
  35738. "description": "创建人",
  35739. "type": "integer"
  35740. },
  35741. "curstepdeadline": {
  35742. "description": "当前步骤到期时间",
  35743. "type": "string"
  35744. },
  35745. "curstepid": {
  35746. "description": "当前步骤ID",
  35747. "type": "string"
  35748. },
  35749. "curstepname": {
  35750. "description": "当前步骤名称",
  35751. "type": "string"
  35752. },
  35753. "deliverygoodscode": {
  35754. "description": "品种代码",
  35755. "type": "string"
  35756. },
  35757. "deliverygoodsid": {
  35758. "description": "品种ID",
  35759. "type": "integer"
  35760. },
  35761. "deliverygoodsname": {
  35762. "description": "品种名称",
  35763. "type": "string"
  35764. },
  35765. "enumdicname": {
  35766. "description": "单位名称",
  35767. "type": "string"
  35768. },
  35769. "expressfee": {
  35770. "description": "运费",
  35771. "type": "number"
  35772. },
  35773. "expressfeeconfirmed": {
  35774. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  35775. "type": "integer"
  35776. },
  35777. "hasovershort": {
  35778. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  35779. "type": "integer"
  35780. },
  35781. "haswr": {
  35782. "description": "类型 0-仓单预售 1-仓单贸易",
  35783. "type": "integer"
  35784. },
  35785. "marketid": {
  35786. "description": "市场ID",
  35787. "type": "integer"
  35788. },
  35789. "middleaccountid": {
  35790. "description": "中间商资金账号ID",
  35791. "type": "integer"
  35792. },
  35793. "middleuserid": {
  35794. "description": "中间商用户ID",
  35795. "type": "integer"
  35796. },
  35797. "minivalue": {
  35798. "description": "现货商品最小变动值",
  35799. "type": "integer"
  35800. },
  35801. "optioncompare": {
  35802. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35803. "type": "string"
  35804. },
  35805. "overshortamount": {
  35806. "description": "溢短金额",
  35807. "type": "number"
  35808. },
  35809. "overshortqty": {
  35810. "description": "溢短数量",
  35811. "type": "number"
  35812. },
  35813. "paymenttype": {
  35814. "description": "付款方式 - 1:冻结 2:扣款",
  35815. "type": "integer"
  35816. },
  35817. "performanceplanid": {
  35818. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  35819. "type": "string"
  35820. },
  35821. "performancestatus": {
  35822. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  35823. "type": "integer"
  35824. },
  35825. "performancetype": {
  35826. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  35827. "type": "integer"
  35828. },
  35829. "qty": {
  35830. "description": "履约数量",
  35831. "type": "number"
  35832. },
  35833. "relatedorderid": {
  35834. "description": "关联单号(履约类型的关联单号)",
  35835. "type": "string"
  35836. },
  35837. "remark": {
  35838. "description": "备注",
  35839. "type": "string"
  35840. },
  35841. "sellaccountid": {
  35842. "description": "卖方账号",
  35843. "type": "integer"
  35844. },
  35845. "sellerfreezeamount": {
  35846. "description": "履约冻结(卖履约)",
  35847. "type": "number"
  35848. },
  35849. "sellerfreezeamountremain": {
  35850. "description": "履约冻结剩余(卖履约)",
  35851. "type": "number"
  35852. },
  35853. "sellreceivedamount": {
  35854. "description": "卖方已收金额",
  35855. "type": "number"
  35856. },
  35857. "sellusername": {
  35858. "description": "卖方名字",
  35859. "type": "string"
  35860. },
  35861. "shipremark": {
  35862. "description": "发货备注[物流单号]",
  35863. "type": "string"
  35864. },
  35865. "starttime": {
  35866. "description": "开始时间",
  35867. "type": "string"
  35868. },
  35869. "steptypeid": {
  35870. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35871. "type": "integer"
  35872. },
  35873. "typename": {
  35874. "description": "履约类型 名称",
  35875. "type": "string"
  35876. },
  35877. "unpaidamount": {
  35878. "description": "剩余款(待支付金额)",
  35879. "type": "number"
  35880. },
  35881. "userid": {
  35882. "description": "用户id",
  35883. "type": "integer"
  35884. },
  35885. "warehouseid": {
  35886. "description": "仓库ID",
  35887. "type": "integer"
  35888. },
  35889. "warehousename": {
  35890. "description": "仓库名称",
  35891. "type": "string"
  35892. },
  35893. "wrfactortypeid": {
  35894. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35895. "type": "string"
  35896. },
  35897. "wrfactortypename": {
  35898. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35899. "type": "string"
  35900. },
  35901. "wrstandardcode": {
  35902. "description": "现货商品代码",
  35903. "type": "string"
  35904. },
  35905. "wrstandardid": {
  35906. "description": "现货商品ID",
  35907. "type": "integer"
  35908. },
  35909. "wrstandardname": {
  35910. "description": "商品名称",
  35911. "type": "string"
  35912. },
  35913. "wrtransferuserid": {
  35914. "description": "仓单受让用户",
  35915. "type": "integer"
  35916. },
  35917. "wrtypename": {
  35918. "description": "商品",
  35919. "type": "string"
  35920. }
  35921. }
  35922. },
  35923. "models.WrPerformancePlanStep": {
  35924. "type": "object",
  35925. "properties": {
  35926. "delaydays": {
  35927. "description": "延期申请天数",
  35928. "type": "integer"
  35929. },
  35930. "deliverygoodscode": {
  35931. "description": "品种代码",
  35932. "type": "string"
  35933. },
  35934. "deliverygoodsid": {
  35935. "description": "品种ID",
  35936. "type": "integer"
  35937. },
  35938. "deliverygoodsname": {
  35939. "description": "品种名称",
  35940. "type": "string"
  35941. },
  35942. "endtime": {
  35943. "description": "结束日期",
  35944. "type": "string"
  35945. },
  35946. "enumdicname": {
  35947. "description": "单位名称",
  35948. "type": "string"
  35949. },
  35950. "executeside": {
  35951. "description": "步骤执行方 - 1:买方 2:卖方",
  35952. "type": "integer"
  35953. },
  35954. "handlestatus": {
  35955. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  35956. "type": "integer"
  35957. },
  35958. "isauto": {
  35959. "description": "是否自动 - 0:不自动 1:自动",
  35960. "type": "integer"
  35961. },
  35962. "islastreceivestep": {
  35963. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  35964. "type": "integer"
  35965. },
  35966. "minivalue": {
  35967. "description": "现货商品最小变动值",
  35968. "type": "integer"
  35969. },
  35970. "optioncompare": {
  35971. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35972. "type": "string"
  35973. },
  35974. "overdays": {
  35975. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  35976. "type": "integer"
  35977. },
  35978. "performancestepid": {
  35979. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  35980. "type": "string"
  35981. },
  35982. "planid": {
  35983. "description": "所属履约计划ID",
  35984. "type": "string"
  35985. },
  35986. "realamount": {
  35987. "description": "实际完成金额",
  35988. "type": "number"
  35989. },
  35990. "relatedorderid": {
  35991. "description": "关联单号",
  35992. "type": "string"
  35993. },
  35994. "remaindays": {
  35995. "description": "剩余天数",
  35996. "type": "integer"
  35997. },
  35998. "remark": {
  35999. "description": "错误备注",
  36000. "type": "string"
  36001. },
  36002. "starttime": {
  36003. "description": "开始日期",
  36004. "type": "string"
  36005. },
  36006. "stepamount": {
  36007. "description": "步骤金额",
  36008. "type": "number"
  36009. },
  36010. "stepdays": {
  36011. "description": "距离上一步天数(分钟)",
  36012. "type": "integer"
  36013. },
  36014. "stepindex": {
  36015. "description": "步骤序号",
  36016. "type": "integer"
  36017. },
  36018. "steplanchtype": {
  36019. "description": "步骤启动类型 - 1:系统自动 2:手动",
  36020. "type": "integer"
  36021. },
  36022. "stepremark": {
  36023. "description": "步骤备注",
  36024. "type": "string"
  36025. },
  36026. "stepstatus": {
  36027. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  36028. "type": "integer"
  36029. },
  36030. "steptypeid": {
  36031. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  36032. "type": "integer"
  36033. },
  36034. "steptypename": {
  36035. "description": "步骤名称",
  36036. "type": "string"
  36037. },
  36038. "stepvalue": {
  36039. "description": "步骤值",
  36040. "type": "number"
  36041. },
  36042. "warehouseid": {
  36043. "description": "仓库ID",
  36044. "type": "integer"
  36045. },
  36046. "warehousename": {
  36047. "description": "仓库名称",
  36048. "type": "string"
  36049. },
  36050. "wrfactortypeid": {
  36051. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36052. "type": "string"
  36053. },
  36054. "wrfactortypename": {
  36055. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36056. "type": "string"
  36057. },
  36058. "wrstandardcode": {
  36059. "description": "现货商品代码",
  36060. "type": "string"
  36061. },
  36062. "wrstandardid": {
  36063. "description": "现货商品ID",
  36064. "type": "integer"
  36065. },
  36066. "wrstandardname": {
  36067. "description": "商品名称",
  36068. "type": "string"
  36069. },
  36070. "wrtypename": {
  36071. "description": "商品",
  36072. "type": "string"
  36073. }
  36074. }
  36075. },
  36076. "models.WrPerformanceStepType": {
  36077. "type": "object",
  36078. "properties": {
  36079. "canauto": {
  36080. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  36081. "type": "integer"
  36082. },
  36083. "steptypeid": {
  36084. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  36085. "type": "integer"
  36086. },
  36087. "steptypename": {
  36088. "description": "步骤类型名称",
  36089. "type": "string"
  36090. }
  36091. }
  36092. },
  36093. "models.WrPerformanceTemplateEx": {
  36094. "type": "object",
  36095. "properties": {
  36096. "autoid": {
  36097. "description": "AutoID 模板id",
  36098. "type": "integer"
  36099. },
  36100. "createtime": {
  36101. "description": "创建时间",
  36102. "type": "string"
  36103. },
  36104. "creatorid": {
  36105. "description": "创建人",
  36106. "type": "integer"
  36107. },
  36108. "lstStep": {
  36109. "description": "步骤信息列表",
  36110. "type": "array",
  36111. "items": {
  36112. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  36113. }
  36114. },
  36115. "paymenttype": {
  36116. "description": "支付方式 - 1:冻结 2:扣款",
  36117. "type": "integer"
  36118. },
  36119. "takemode": {
  36120. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  36121. "type": "integer"
  36122. },
  36123. "templatename": {
  36124. "description": "模板名称",
  36125. "type": "string"
  36126. },
  36127. "templatetype": {
  36128. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  36129. "type": "integer"
  36130. },
  36131. "userid": {
  36132. "description": "所属用户",
  36133. "type": "integer"
  36134. }
  36135. }
  36136. },
  36137. "models.WrPosition": {
  36138. "type": "object",
  36139. "properties": {
  36140. "accountid": {
  36141. "description": "帐户ID",
  36142. "type": "integer"
  36143. },
  36144. "buyexcuteqty": {
  36145. "description": "采购履约中数量",
  36146. "type": "number"
  36147. },
  36148. "creditcurqty": {
  36149. "description": "授信当前数量(预售仓单:预售当前量)",
  36150. "type": "number"
  36151. },
  36152. "creditenableqty": {
  36153. "description": "授信可用数量(预售仓单: 可用数量)",
  36154. "type": "number"
  36155. },
  36156. "creditfreezeqty": {
  36157. "description": "授信冻结数量(预售仓单: 当前数量)",
  36158. "type": "number"
  36159. },
  36160. "credittotalqty": {
  36161. "description": "授信总数量(预售仓单:预售总量)",
  36162. "type": "number"
  36163. },
  36164. "credittradeqty": {
  36165. "description": "授信成交数量(预售仓单:成交总量)",
  36166. "type": "number"
  36167. },
  36168. "deliverygoodscode": {
  36169. "description": "品种代码",
  36170. "type": "string"
  36171. },
  36172. "deliverygoodsid": {
  36173. "description": "品种ID",
  36174. "type": "integer"
  36175. },
  36176. "deliverygoodsname": {
  36177. "description": "品种名称",
  36178. "type": "string"
  36179. },
  36180. "enalbeqty": {
  36181. "description": "可用数量",
  36182. "type": "number"
  36183. },
  36184. "enumdicname": {
  36185. "description": "单位名称",
  36186. "type": "string"
  36187. },
  36188. "freezeqty": {
  36189. "description": "总冻结数量",
  36190. "type": "number"
  36191. },
  36192. "haswr": {
  36193. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36194. "type": "integer"
  36195. },
  36196. "minivalue": {
  36197. "description": "现货商品最小变动值",
  36198. "type": "integer"
  36199. },
  36200. "modifytime": {
  36201. "description": "修改时间(过户时间)",
  36202. "type": "string"
  36203. },
  36204. "optioncompare": {
  36205. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36206. "type": "string"
  36207. },
  36208. "pledgeqty": {
  36209. "description": "质押数量",
  36210. "type": "number"
  36211. },
  36212. "querytype": {
  36213. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  36214. "type": "integer"
  36215. },
  36216. "sellexcuteqty": {
  36217. "description": "销售履约中数量",
  36218. "type": "number"
  36219. },
  36220. "totalqty": {
  36221. "description": "总数量(库存数量)",
  36222. "type": "number"
  36223. },
  36224. "warehouseid": {
  36225. "description": "仓库ID",
  36226. "type": "integer"
  36227. },
  36228. "warehousename": {
  36229. "description": "仓库名称",
  36230. "type": "string"
  36231. },
  36232. "wrfactortypeid": {
  36233. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36234. "type": "string"
  36235. },
  36236. "wrfactortypename": {
  36237. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36238. "type": "string"
  36239. },
  36240. "wrpositionid": {
  36241. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  36242. "type": "string"
  36243. },
  36244. "wrpositionno": {
  36245. "description": "仓单编号",
  36246. "type": "string"
  36247. },
  36248. "wrstandardcode": {
  36249. "description": "现货商品代码",
  36250. "type": "string"
  36251. },
  36252. "wrstandardid": {
  36253. "description": "现货商品ID",
  36254. "type": "integer"
  36255. },
  36256. "wrstandardname": {
  36257. "description": "商品名称",
  36258. "type": "string"
  36259. },
  36260. "wrtypename": {
  36261. "description": "商品",
  36262. "type": "string"
  36263. },
  36264. "wruserid": {
  36265. "description": "持有人ID",
  36266. "type": "integer"
  36267. }
  36268. }
  36269. },
  36270. "models.WrQuoteOrderMyq": {
  36271. "type": "object",
  36272. "properties": {
  36273. "buyorsell": {
  36274. "description": "买卖 - 0:买 1:卖",
  36275. "type": "integer"
  36276. },
  36277. "canbargain": {
  36278. "description": "是否可议价 - 0:不可 1:可",
  36279. "type": "integer"
  36280. },
  36281. "canpart": {
  36282. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  36283. "type": "integer"
  36284. },
  36285. "delistminqty": {
  36286. "description": "起摘数量",
  36287. "type": "number"
  36288. },
  36289. "deliverygoodscode": {
  36290. "description": "品种代码",
  36291. "type": "string"
  36292. },
  36293. "deliverygoodsid": {
  36294. "description": "品种ID",
  36295. "type": "integer"
  36296. },
  36297. "deliverygoodsname": {
  36298. "description": "品种名称",
  36299. "type": "string"
  36300. },
  36301. "deliverymonth": {
  36302. "description": "交收月",
  36303. "type": "string"
  36304. },
  36305. "enumdicname": {
  36306. "description": "单位名称",
  36307. "type": "string"
  36308. },
  36309. "fixedprice": {
  36310. "description": "买(卖)价",
  36311. "type": "number"
  36312. },
  36313. "goodscode": {
  36314. "description": "商品合约代码",
  36315. "type": "string"
  36316. },
  36317. "marginflag": {
  36318. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  36319. "type": "integer"
  36320. },
  36321. "marginvalue": {
  36322. "description": "保证金设置值",
  36323. "type": "number"
  36324. },
  36325. "minivalue": {
  36326. "description": "现货商品最小变动值",
  36327. "type": "integer"
  36328. },
  36329. "orderqty": {
  36330. "description": "买(卖)量(=委托量-成交量)",
  36331. "type": "number"
  36332. },
  36333. "ordertime": {
  36334. "description": "委托时间",
  36335. "type": "string"
  36336. },
  36337. "performancetemplateid": {
  36338. "description": "履约模板id",
  36339. "type": "integer"
  36340. },
  36341. "pricemove": {
  36342. "description": "买(卖)升贴水- 基差",
  36343. "type": "number"
  36344. },
  36345. "templatename": {
  36346. "description": "履约模板名称",
  36347. "type": "string"
  36348. },
  36349. "userid": {
  36350. "description": "购买方(销售方)用户ID",
  36351. "type": "integer"
  36352. },
  36353. "username": {
  36354. "description": "购买方(销售方)",
  36355. "type": "string"
  36356. },
  36357. "validtime": {
  36358. "description": "有效期限",
  36359. "type": "string"
  36360. },
  36361. "validtype": {
  36362. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  36363. "type": "integer"
  36364. },
  36365. "warehousename": {
  36366. "description": "仓库名称",
  36367. "type": "string"
  36368. },
  36369. "wrfactortypeid": {
  36370. "description": "仓单要素id",
  36371. "type": "string"
  36372. },
  36373. "wrstandardcode": {
  36374. "description": "现货商品代码",
  36375. "type": "string"
  36376. },
  36377. "wrstandardid": {
  36378. "description": "现货商品ID",
  36379. "type": "integer"
  36380. },
  36381. "wrstandardname": {
  36382. "description": "商品名称",
  36383. "type": "string"
  36384. },
  36385. "wrtradeorderid": {
  36386. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36387. "type": "string"
  36388. },
  36389. "wrtypename": {
  36390. "description": "商品",
  36391. "type": "string"
  36392. }
  36393. }
  36394. },
  36395. "models.WrScfContract": {
  36396. "type": "object",
  36397. "properties": {
  36398. "borroweruserid": {
  36399. "description": "借款用户ID",
  36400. "type": "integer"
  36401. },
  36402. "buybackwrpositionqty": {
  36403. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  36404. "type": "number"
  36405. },
  36406. "closeinterest": {
  36407. "description": "已结利息 -\u003e 已结费用",
  36408. "type": "number"
  36409. },
  36410. "currisklevel": {
  36411. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  36412. "type": "integer"
  36413. },
  36414. "deadline": {
  36415. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  36416. "type": "string"
  36417. },
  36418. "deliverygoodscode": {
  36419. "description": "品种代码",
  36420. "type": "string"
  36421. },
  36422. "deliverygoodsid": {
  36423. "description": "品种ID",
  36424. "type": "integer"
  36425. },
  36426. "deliverygoodsname": {
  36427. "description": "品种名称",
  36428. "type": "string"
  36429. },
  36430. "enumdicname": {
  36431. "description": "单位名称",
  36432. "type": "string"
  36433. },
  36434. "financingdays": {
  36435. "description": "天数(天)",
  36436. "type": "integer"
  36437. },
  36438. "initmargin": {
  36439. "description": "保证金 - [仓单回购]",
  36440. "type": "number"
  36441. },
  36442. "interestamount": {
  36443. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  36444. "type": "number"
  36445. },
  36446. "interestdebt": {
  36447. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  36448. "type": "number"
  36449. },
  36450. "interestminlen": {
  36451. "description": "最小起息天数",
  36452. "type": "integer"
  36453. },
  36454. "interestrate": {
  36455. "description": "利率",
  36456. "type": "number"
  36457. },
  36458. "interestratemode": {
  36459. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  36460. "type": "integer"
  36461. },
  36462. "interestsettlemode": {
  36463. "description": "结息方式 - 1:按日结息 3:按月结息",
  36464. "type": "integer"
  36465. },
  36466. "interestsettlevalue": {
  36467. "description": "结息方式值",
  36468. "type": "integer"
  36469. },
  36470. "isautoloan": {
  36471. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  36472. "type": "integer"
  36473. },
  36474. "lastcloseinterestday": {
  36475. "description": "最近结息日(yyyyMMdd)",
  36476. "type": "string"
  36477. },
  36478. "lenderamount": {
  36479. "description": "贷款金额 -\u003e 借款金额",
  36480. "type": "number"
  36481. },
  36482. "lenderuserid": {
  36483. "description": "贷款方用户ID -\u003e 融出方用户ID",
  36484. "type": "integer"
  36485. },
  36486. "lenderusername": {
  36487. "description": "融出方",
  36488. "type": "string"
  36489. },
  36490. "marginratio": {
  36491. "description": "保证金比率质押率 - [仓单质押]",
  36492. "type": "number"
  36493. },
  36494. "marketid": {
  36495. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  36496. "type": "integer"
  36497. },
  36498. "minivalue": {
  36499. "description": "现货商品最小变动值",
  36500. "type": "integer"
  36501. },
  36502. "optioncompare": {
  36503. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36504. "type": "string"
  36505. },
  36506. "pricemove": {
  36507. "description": "估值升贴水值",
  36508. "type": "number"
  36509. },
  36510. "productdetailid": {
  36511. "description": "产品组合ID",
  36512. "type": "integer"
  36513. },
  36514. "productid": {
  36515. "description": "金融产品ID",
  36516. "type": "integer"
  36517. },
  36518. "productname": {
  36519. "description": "产品名称",
  36520. "type": "string"
  36521. },
  36522. "remainamount": {
  36523. "description": "合同剩余金额 -\u003e 剩余金额",
  36524. "type": "number"
  36525. },
  36526. "remainwrpositionqty": {
  36527. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  36528. "type": "number"
  36529. },
  36530. "remark": {
  36531. "description": "备注",
  36532. "type": "string"
  36533. },
  36534. "scfcontractid": {
  36535. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36536. "type": "string"
  36537. },
  36538. "scfcontractstatus": {
  36539. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  36540. "type": "integer"
  36541. },
  36542. "scfcontracttype": {
  36543. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  36544. "type": "integer"
  36545. },
  36546. "startinterestday": {
  36547. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  36548. "type": "string"
  36549. },
  36550. "totalinterest": {
  36551. "description": "已计利息 -\u003e 已计费用",
  36552. "type": "number"
  36553. },
  36554. "unpaidinterest": {
  36555. "description": "未结费用",
  36556. "type": "number"
  36557. },
  36558. "updatetime": {
  36559. "description": "更新时间",
  36560. "type": "string"
  36561. },
  36562. "warehouseid": {
  36563. "description": "仓库ID",
  36564. "type": "integer"
  36565. },
  36566. "warehousename": {
  36567. "description": "仓库名称",
  36568. "type": "string"
  36569. },
  36570. "wrfactortypeid": {
  36571. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36572. "type": "string"
  36573. },
  36574. "wrfactortypename": {
  36575. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36576. "type": "string"
  36577. },
  36578. "wrqty": {
  36579. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  36580. "type": "number"
  36581. },
  36582. "wrstandardcode": {
  36583. "description": "现货商品代码",
  36584. "type": "string"
  36585. },
  36586. "wrstandardid": {
  36587. "description": "现货商品ID",
  36588. "type": "integer"
  36589. },
  36590. "wrstandardname": {
  36591. "description": "商品名称",
  36592. "type": "string"
  36593. },
  36594. "wrtypename": {
  36595. "description": "商品",
  36596. "type": "string"
  36597. }
  36598. }
  36599. },
  36600. "models.WrScfContractInterest": {
  36601. "type": "object",
  36602. "properties": {
  36603. "closeinterest": {
  36604. "description": "已结利息",
  36605. "type": "number"
  36606. },
  36607. "closeintereststatus": {
  36608. "description": "结息状态 - 1:未结 2:已结",
  36609. "type": "integer"
  36610. },
  36611. "closetime": {
  36612. "description": "结息时间",
  36613. "type": "string"
  36614. },
  36615. "closetradedate": {
  36616. "description": "结息交易日",
  36617. "type": "string"
  36618. },
  36619. "creatorid": {
  36620. "description": "操作人ID",
  36621. "type": "integer"
  36622. },
  36623. "dayrate": {
  36624. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  36625. "type": "number"
  36626. },
  36627. "interest": {
  36628. "description": "利息",
  36629. "type": "number"
  36630. },
  36631. "interestamount": {
  36632. "description": "计息金额",
  36633. "type": "number"
  36634. },
  36635. "interestday": {
  36636. "description": "计息日(yyyyMMdd)",
  36637. "type": "string"
  36638. },
  36639. "scfcontractid": {
  36640. "description": "SCF合同ID",
  36641. "type": "string"
  36642. },
  36643. "scfcontractinterestid": {
  36644. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  36645. "type": "integer"
  36646. },
  36647. "updatetime": {
  36648. "description": "更新时间",
  36649. "type": "string"
  36650. }
  36651. }
  36652. },
  36653. "models.WrSiteColumnDetail": {
  36654. "type": "object",
  36655. "properties": {
  36656. "brief": {
  36657. "description": "简介",
  36658. "type": "string"
  36659. },
  36660. "context": {
  36661. "description": "内容",
  36662. "type": "string"
  36663. },
  36664. "coverimage": {
  36665. "description": "封面图片",
  36666. "type": "string"
  36667. },
  36668. "creaedate": {
  36669. "description": "创建时间",
  36670. "type": "string"
  36671. },
  36672. "id": {
  36673. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  36674. "type": "integer"
  36675. },
  36676. "istop": {
  36677. "description": "是否置顶 - 0:不置 1:置顶",
  36678. "type": "integer"
  36679. },
  36680. "publishdate": {
  36681. "description": "发布日期",
  36682. "type": "string"
  36683. },
  36684. "title": {
  36685. "description": "标题",
  36686. "type": "string"
  36687. },
  36688. "updatedate": {
  36689. "description": "修改时间",
  36690. "type": "string"
  36691. }
  36692. }
  36693. },
  36694. "models.WrSpecialMatchOrder": {
  36695. "type": "object",
  36696. "properties": {
  36697. "amount": {
  36698. "description": "金额 = 数量 * 价格",
  36699. "type": "number"
  36700. },
  36701. "buyorsell": {
  36702. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36703. "type": "integer"
  36704. },
  36705. "cancelqty": {
  36706. "description": "撤销数量",
  36707. "type": "number"
  36708. },
  36709. "deliverygoodscode": {
  36710. "description": "品种代码",
  36711. "type": "string"
  36712. },
  36713. "deliverygoodsid": {
  36714. "description": "品种ID",
  36715. "type": "integer"
  36716. },
  36717. "deliverygoodsname": {
  36718. "description": "品种名称",
  36719. "type": "string"
  36720. },
  36721. "enumdicname": {
  36722. "description": "单位名称",
  36723. "type": "string"
  36724. },
  36725. "fixedprice": {
  36726. "description": "固定价格(价格)",
  36727. "type": "number"
  36728. },
  36729. "haswr": {
  36730. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36731. "type": "integer"
  36732. },
  36733. "isspecified": {
  36734. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  36735. "type": "integer"
  36736. },
  36737. "marketid": {
  36738. "description": "市场ID",
  36739. "type": "integer"
  36740. },
  36741. "matchuserid": {
  36742. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  36743. "type": "integer"
  36744. },
  36745. "matchusername": {
  36746. "description": "指定方",
  36747. "type": "string"
  36748. },
  36749. "minivalue": {
  36750. "description": "现货商品最小变动值",
  36751. "type": "integer"
  36752. },
  36753. "optioncompare": {
  36754. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36755. "type": "string"
  36756. },
  36757. "orderqty": {
  36758. "description": "委托数量",
  36759. "type": "number"
  36760. },
  36761. "ordertime": {
  36762. "description": "委托时间",
  36763. "type": "string"
  36764. },
  36765. "pricemove": {
  36766. "description": "升贴水(浮动价时填写) - [挂牌]",
  36767. "type": "number"
  36768. },
  36769. "tradedate": {
  36770. "description": "交易日(yyyyMMdd)",
  36771. "type": "string"
  36772. },
  36773. "tradeprice": {
  36774. "description": "成交价格",
  36775. "type": "number"
  36776. },
  36777. "tradeqty": {
  36778. "description": "成交数量",
  36779. "type": "number"
  36780. },
  36781. "userid": {
  36782. "description": "用户ID",
  36783. "type": "integer"
  36784. },
  36785. "username": {
  36786. "description": "发起方",
  36787. "type": "string"
  36788. },
  36789. "warehouseid": {
  36790. "description": "仓库ID",
  36791. "type": "integer"
  36792. },
  36793. "warehousename": {
  36794. "description": "仓库名称",
  36795. "type": "string"
  36796. },
  36797. "wrfactortypeid": {
  36798. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36799. "type": "string"
  36800. },
  36801. "wrfactortypename": {
  36802. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36803. "type": "string"
  36804. },
  36805. "wrpricetype": {
  36806. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36807. "type": "integer"
  36808. },
  36809. "wrstandardcode": {
  36810. "description": "现货商品代码",
  36811. "type": "string"
  36812. },
  36813. "wrstandardid": {
  36814. "description": "现货商品ID",
  36815. "type": "integer"
  36816. },
  36817. "wrstandardname": {
  36818. "description": "商品名称",
  36819. "type": "string"
  36820. },
  36821. "wrtradeorderid": {
  36822. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36823. "type": "string"
  36824. },
  36825. "wrtradeorderstatus": {
  36826. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  36827. "type": "integer"
  36828. },
  36829. "wrtradetype": {
  36830. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36831. "type": "integer"
  36832. },
  36833. "wrtypename": {
  36834. "description": "商品",
  36835. "type": "string"
  36836. }
  36837. }
  36838. },
  36839. "models.WrSpotGroupTradeSum": {
  36840. "type": "object",
  36841. "properties": {
  36842. "deliverygoodscode": {
  36843. "description": "现货品种代码",
  36844. "type": "string"
  36845. },
  36846. "deliverygoodsid": {
  36847. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36848. "type": "integer"
  36849. },
  36850. "deliverygoodsname": {
  36851. "description": "现货品种名称",
  36852. "type": "string"
  36853. },
  36854. "lastavgprice": {
  36855. "description": "上上个交易日价格(前2天价格)",
  36856. "type": "string"
  36857. },
  36858. "lastreckondate": {
  36859. "description": "上上个交易日(前2天交易日)",
  36860. "type": "string"
  36861. },
  36862. "reckondate": {
  36863. "description": "上个交易日(前1天交易日)",
  36864. "type": "string"
  36865. },
  36866. "todayavgprice": {
  36867. "description": "上个交易日价格(前1天价格)",
  36868. "type": "string"
  36869. },
  36870. "updown": {
  36871. "description": "涨跌",
  36872. "type": "string"
  36873. },
  36874. "updownratio": {
  36875. "description": "涨幅(已格式化, 直接显示即可)",
  36876. "type": "string"
  36877. }
  36878. }
  36879. },
  36880. "models.WrSpotGroupTradeSumDetail": {
  36881. "type": "object",
  36882. "properties": {
  36883. "deliverygoodsid": {
  36884. "description": "现货商品id",
  36885. "type": "integer"
  36886. },
  36887. "price": {
  36888. "description": "价格",
  36889. "type": "number"
  36890. },
  36891. "reckondate": {
  36892. "description": "日期(yyymmdd, 如:20211031)",
  36893. "type": "string"
  36894. }
  36895. }
  36896. },
  36897. "models.WrSpotGroupTradeSumEx": {
  36898. "type": "object",
  36899. "properties": {
  36900. "lst": {
  36901. "description": "指数列表",
  36902. "type": "array",
  36903. "items": {
  36904. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  36905. }
  36906. },
  36907. "prereckondate": {
  36908. "description": "上上个交易日(yyymmdd)",
  36909. "type": "string"
  36910. },
  36911. "reckondate": {
  36912. "description": "上个交易日(yyyymmdd)",
  36913. "type": "string"
  36914. }
  36915. }
  36916. },
  36917. "models.WrStandardFactoryItem": {
  36918. "type": "object",
  36919. "properties": {
  36920. "dgfactoryitemid": {
  36921. "description": "选择项id",
  36922. "type": "integer"
  36923. },
  36924. "dgfactoryitemvalue": {
  36925. "description": "要素项值",
  36926. "type": "string"
  36927. },
  36928. "warehouseid": {
  36929. "description": "仓库id",
  36930. "type": "integer"
  36931. }
  36932. }
  36933. },
  36934. "models.WrStandardFactoryItemEx": {
  36935. "type": "object",
  36936. "properties": {
  36937. "dgfactoryitemtypeid": {
  36938. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  36939. "type": "integer"
  36940. },
  36941. "itemlst": {
  36942. "description": "要素项列表",
  36943. "type": "array",
  36944. "items": {
  36945. "$ref": "#/definitions/models.WrStandardFactoryItem"
  36946. }
  36947. },
  36948. "itemtypename": {
  36949. "description": "要素项类型名称",
  36950. "type": "string"
  36951. },
  36952. "wrstandardid": {
  36953. "description": "品类",
  36954. "type": "integer"
  36955. }
  36956. }
  36957. },
  36958. "models.WrTradeDetail": {
  36959. "type": "object",
  36960. "properties": {
  36961. "accountid": {
  36962. "description": "资金账号",
  36963. "type": "integer"
  36964. },
  36965. "begindate": {
  36966. "description": "开始交易日(yyyymmdd)",
  36967. "type": "string"
  36968. },
  36969. "buyorsell": {
  36970. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36971. "type": "integer"
  36972. },
  36973. "chargevalue": {
  36974. "description": "手续费",
  36975. "type": "number"
  36976. },
  36977. "deliverygoodscode": {
  36978. "description": "品种代码",
  36979. "type": "string"
  36980. },
  36981. "deliverygoodsid": {
  36982. "description": "品种ID",
  36983. "type": "integer"
  36984. },
  36985. "deliverygoodsname": {
  36986. "description": "品种名称",
  36987. "type": "string"
  36988. },
  36989. "deliverymonth": {
  36990. "description": "交收月",
  36991. "type": "string"
  36992. },
  36993. "enddate": {
  36994. "description": "结束交易日(yyyymmdd)",
  36995. "type": "string"
  36996. },
  36997. "enumdicname": {
  36998. "description": "单位名称",
  36999. "type": "string"
  37000. },
  37001. "haswr": {
  37002. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  37003. "type": "integer"
  37004. },
  37005. "marketid": {
  37006. "description": "市场ID",
  37007. "type": "integer"
  37008. },
  37009. "matchaccountid": {
  37010. "description": "对手账号",
  37011. "type": "integer"
  37012. },
  37013. "matchusername": {
  37014. "description": "对手方",
  37015. "type": "string"
  37016. },
  37017. "minivalue": {
  37018. "description": "现货商品最小变动值",
  37019. "type": "integer"
  37020. },
  37021. "optioncompare": {
  37022. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37023. "type": "string"
  37024. },
  37025. "tradedate": {
  37026. "description": "交易日(yyyyMMdd)",
  37027. "type": "string"
  37028. },
  37029. "tradeprice": {
  37030. "description": "成交价格",
  37031. "type": "number"
  37032. },
  37033. "tradeqty": {
  37034. "description": "成交数量",
  37035. "type": "number"
  37036. },
  37037. "tradetime": {
  37038. "description": "成交时间",
  37039. "type": "string"
  37040. },
  37041. "userid": {
  37042. "description": "用户ID",
  37043. "type": "integer"
  37044. },
  37045. "warehouseid": {
  37046. "description": "仓库ID",
  37047. "type": "integer"
  37048. },
  37049. "warehousename": {
  37050. "description": "仓库名称",
  37051. "type": "string"
  37052. },
  37053. "wrfactortypeid": {
  37054. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37055. "type": "string"
  37056. },
  37057. "wrfactortypename": {
  37058. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37059. "type": "string"
  37060. },
  37061. "wrstandardcode": {
  37062. "description": "现货商品代码",
  37063. "type": "string"
  37064. },
  37065. "wrstandardid": {
  37066. "description": "现货商品ID",
  37067. "type": "integer"
  37068. },
  37069. "wrstandardname": {
  37070. "description": "商品名称",
  37071. "type": "string"
  37072. },
  37073. "wrtradedetailid": {
  37074. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  37075. "type": "string"
  37076. },
  37077. "wrtradetype": {
  37078. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  37079. "type": "integer"
  37080. },
  37081. "wrtypename": {
  37082. "description": "商品",
  37083. "type": "string"
  37084. }
  37085. }
  37086. },
  37087. "models.WrTradeOrderDetail": {
  37088. "type": "object",
  37089. "properties": {
  37090. "buyorsell": {
  37091. "description": "买卖方向 0-买 1-卖",
  37092. "type": "integer"
  37093. },
  37094. "goodsid": {
  37095. "description": "商品id",
  37096. "type": "integer"
  37097. },
  37098. "orderid": {
  37099. "description": "委托单号",
  37100. "type": "string"
  37101. },
  37102. "orderprice": {
  37103. "description": "委托价格",
  37104. "type": "number"
  37105. },
  37106. "orderqty": {
  37107. "description": "委托数量",
  37108. "type": "integer"
  37109. },
  37110. "userid": {
  37111. "description": "用户id",
  37112. "type": "integer"
  37113. },
  37114. "username": {
  37115. "description": "用户名称(已脱敏)",
  37116. "type": "string"
  37117. }
  37118. }
  37119. },
  37120. "models.WrTypeItem": {
  37121. "type": "object",
  37122. "properties": {
  37123. "name": {
  37124. "description": "名称",
  37125. "type": "string"
  37126. },
  37127. "value": {
  37128. "description": "值",
  37129. "type": "string"
  37130. }
  37131. }
  37132. },
  37133. "models.WrUserFriend": {
  37134. "type": "object",
  37135. "properties": {
  37136. "friendname": {
  37137. "description": "朋友名称(已脱敏)",
  37138. "type": "string"
  37139. },
  37140. "frienduserid": {
  37141. "description": "朋友id",
  37142. "type": "integer"
  37143. },
  37144. "isfriend": {
  37145. "description": "是否好友 0-不是 1-是",
  37146. "type": "integer"
  37147. },
  37148. "userid": {
  37149. "description": "用户id",
  37150. "type": "integer"
  37151. }
  37152. }
  37153. },
  37154. "models.WrUserReceiptInfo": {
  37155. "type": "object",
  37156. "properties": {
  37157. "address": {
  37158. "description": "地址[发票类型:企业]",
  37159. "type": "string"
  37160. },
  37161. "autoid": {
  37162. "description": "AutoID",
  37163. "type": "integer"
  37164. },
  37165. "contactinfo": {
  37166. "description": "联系方式",
  37167. "type": "string"
  37168. },
  37169. "idnum": {
  37170. "description": "身份证号码[发票类型:个人]",
  37171. "type": "string"
  37172. },
  37173. "isdefault": {
  37174. "description": "是否默认地址 - 0:否 1:是",
  37175. "type": "integer"
  37176. },
  37177. "receiptaccount": {
  37178. "description": "发票帐号[发票类型:企业]",
  37179. "type": "string"
  37180. },
  37181. "receiptbank": {
  37182. "description": "发票开户行[发票类型:企业]",
  37183. "type": "string"
  37184. },
  37185. "receipttype": {
  37186. "description": "发票类型 - 1:个人 2:企业",
  37187. "type": "integer"
  37188. },
  37189. "taxpayerid": {
  37190. "description": "纳税人识别号",
  37191. "type": "string"
  37192. },
  37193. "userid": {
  37194. "description": "用户ID",
  37195. "type": "integer"
  37196. },
  37197. "username": {
  37198. "description": "户名(个人姓名或企业名称)",
  37199. "type": "string"
  37200. }
  37201. }
  37202. },
  37203. "models.XHBRAND": {
  37204. "type": "object",
  37205. "properties": {
  37206. "brandid": {
  37207. "description": "品牌id",
  37208. "type": "integer"
  37209. },
  37210. "brandname": {
  37211. "description": "品牌名称",
  37212. "type": "string"
  37213. },
  37214. "isvalid": {
  37215. "description": "是否有效 0-无效 1-有效",
  37216. "type": "integer"
  37217. }
  37218. }
  37219. },
  37220. "models.XHDeliveryGoods": {
  37221. "type": "object",
  37222. "properties": {
  37223. "areauserid": {
  37224. "description": "所属机构",
  37225. "type": "integer"
  37226. },
  37227. "bdlst": {
  37228. "description": "品牌列表",
  37229. "type": "array",
  37230. "items": {
  37231. "$ref": "#/definitions/models.XHBRAND"
  37232. }
  37233. },
  37234. "deliverygoodscode": {
  37235. "description": "现货品种代码",
  37236. "type": "string"
  37237. },
  37238. "deliverygoodsid": {
  37239. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  37240. "type": "integer"
  37241. },
  37242. "deliverygoodsname": {
  37243. "description": "现货品种名称",
  37244. "type": "string"
  37245. },
  37246. "dgstatus": {
  37247. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  37248. "type": "integer"
  37249. },
  37250. "isvalid": {
  37251. "description": "是否有效 - 0:无效 1:有效",
  37252. "type": "integer"
  37253. },
  37254. "remark": {
  37255. "description": "备注",
  37256. "type": "string"
  37257. },
  37258. "unitid": {
  37259. "description": "单位id(目前看,数据库中是空值)",
  37260. "type": "integer"
  37261. },
  37262. "wdlst": {
  37263. "description": "品类(现货商品)列表",
  37264. "type": "array",
  37265. "items": {
  37266. "$ref": "#/definitions/models.XHWrstandard"
  37267. }
  37268. }
  37269. }
  37270. },
  37271. "models.XHMiddleGoods": {
  37272. "type": "object",
  37273. "properties": {
  37274. "GPLST": {
  37275. "description": "期货品种列表",
  37276. "type": "array",
  37277. "items": {
  37278. "$ref": "#/definitions/models.TBGoodsGroup"
  37279. }
  37280. },
  37281. "convertratio": {
  37282. "description": "拆算系数",
  37283. "type": "number"
  37284. },
  37285. "costratio": {
  37286. "description": "成本权重",
  37287. "type": "number"
  37288. },
  37289. "deliverygoodsid": {
  37290. "description": "现货商品id",
  37291. "type": "integer"
  37292. },
  37293. "enumdicname": {
  37294. "description": "单位名称",
  37295. "type": "string"
  37296. },
  37297. "middlegoodscode": {
  37298. "description": "套保品种代码",
  37299. "type": "string"
  37300. },
  37301. "middlegoodsid": {
  37302. "description": "套保品种id",
  37303. "type": "integer"
  37304. },
  37305. "middlegoodsname": {
  37306. "description": "套保品种名称",
  37307. "type": "string"
  37308. },
  37309. "unitid": {
  37310. "description": "单位id",
  37311. "type": "integer"
  37312. }
  37313. }
  37314. },
  37315. "models.XHWrstandard": {
  37316. "type": "object",
  37317. "properties": {
  37318. "deliverygoodsid": {
  37319. "description": "品种ID",
  37320. "type": "integer"
  37321. },
  37322. "enumdicname": {
  37323. "description": "单位名称",
  37324. "type": "string"
  37325. },
  37326. "mglst": {
  37327. "description": "套保品列表",
  37328. "type": "array",
  37329. "items": {
  37330. "$ref": "#/definitions/models.XHMiddleGoods"
  37331. }
  37332. },
  37333. "unitid": {
  37334. "description": "单位id",
  37335. "type": "integer"
  37336. },
  37337. "vatrate": {
  37338. "description": "增值税率",
  37339. "type": "number"
  37340. },
  37341. "wrstandardcode": {
  37342. "description": "现货商品代码",
  37343. "type": "string"
  37344. },
  37345. "wrstandardid": {
  37346. "description": "现货商品ID(SEQ_WRSTANDARD)",
  37347. "type": "integer"
  37348. },
  37349. "wrstandardname": {
  37350. "description": "现货商品名称",
  37351. "type": "string"
  37352. }
  37353. }
  37354. },
  37355. "order.QueryHisTradeDetailRsp": {
  37356. "type": "object",
  37357. "required": [
  37358. "accountid",
  37359. "buyorsell",
  37360. "goodsid",
  37361. "histradedate",
  37362. "marketid",
  37363. "memberuserid",
  37364. "orderid",
  37365. "tradeamount",
  37366. "tradedate",
  37367. "tradeid",
  37368. "tradeprice",
  37369. "tradeqty",
  37370. "tradetime"
  37371. ],
  37372. "properties": {
  37373. "accountid": {
  37374. "description": "账户ID[报价币种]",
  37375. "type": "integer"
  37376. },
  37377. "advanceratio": {
  37378. "description": "首付比率",
  37379. "type": "number"
  37380. },
  37381. "buildtype": {
  37382. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37383. "type": "integer"
  37384. },
  37385. "buyorsell": {
  37386. "description": "方向 - 0:买 1:卖",
  37387. "type": "integer"
  37388. },
  37389. "charge": {
  37390. "description": "手续费",
  37391. "type": "number"
  37392. },
  37393. "closecharge": {
  37394. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37395. "type": "number"
  37396. },
  37397. "closeexchagechargevalue": {
  37398. "description": "平仓交易所手续费设置值",
  37399. "type": "number"
  37400. },
  37401. "closefeealgorithm": {
  37402. "description": "平仓手续费收取方式 1:比率 2:固定",
  37403. "type": "integer"
  37404. },
  37405. "closememberchargevalue": {
  37406. "description": "平仓会员手续费设置值",
  37407. "type": "number"
  37408. },
  37409. "closepl": {
  37410. "description": "平仓盈亏",
  37411. "type": "number"
  37412. },
  37413. "closepl2": {
  37414. "description": "平仓盈亏[逐笔]",
  37415. "type": "number"
  37416. },
  37417. "closeqty": {
  37418. "description": "平仓数量(先建后平操作 需要记录)",
  37419. "type": "number"
  37420. },
  37421. "creditamount": {
  37422. "description": "授信金额",
  37423. "type": "number"
  37424. },
  37425. "decimalplace": {
  37426. "description": "商品报价小数位",
  37427. "type": "integer"
  37428. },
  37429. "enumdicname": {
  37430. "description": "单位名称",
  37431. "type": "string"
  37432. },
  37433. "gcaccountid": {
  37434. "description": "账户ID[合约币种]",
  37435. "type": "integer"
  37436. },
  37437. "goodscode": {
  37438. "description": "商品代码",
  37439. "type": "string"
  37440. },
  37441. "goodsid": {
  37442. "description": "商品ID",
  37443. "type": "integer"
  37444. },
  37445. "goodsname": {
  37446. "description": "商品名称",
  37447. "type": "string"
  37448. },
  37449. "goodunitid": {
  37450. "description": "商品单位id",
  37451. "type": "integer"
  37452. },
  37453. "histradedate": {
  37454. "description": "历史交易日",
  37455. "type": "string"
  37456. },
  37457. "intclosepl": {
  37458. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37459. "type": "integer"
  37460. },
  37461. "isconfirmexercise": {
  37462. "description": "是否确认行权- 0:否 1:是",
  37463. "type": "integer"
  37464. },
  37465. "ismain": {
  37466. "description": "是否主单 - 0:不是 1:是",
  37467. "type": "integer"
  37468. },
  37469. "ispreexercise": {
  37470. "description": "是否预申报- 0:否 1:是",
  37471. "type": "integer"
  37472. },
  37473. "isreckoned": {
  37474. "description": "是否结算 - 0:未结算 1:已结算",
  37475. "type": "integer"
  37476. },
  37477. "isvaliddata": {
  37478. "description": "是否有效 - 0:无效 1:有效",
  37479. "type": "integer"
  37480. },
  37481. "listingselecttype": {
  37482. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37483. "type": "integer"
  37484. },
  37485. "marketid": {
  37486. "description": "市场ID",
  37487. "type": "integer"
  37488. },
  37489. "marketname": {
  37490. "description": "市场名称",
  37491. "type": "string"
  37492. },
  37493. "matchaccountid": {
  37494. "description": "对手账号id",
  37495. "type": "integer"
  37496. },
  37497. "memberuserid": {
  37498. "description": "会员id 个人投资者 需要填写",
  37499. "type": "integer"
  37500. },
  37501. "opencharge": {
  37502. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37503. "type": "number"
  37504. },
  37505. "openexchagechargevalue": {
  37506. "description": "建仓交易所手续费设置值",
  37507. "type": "number"
  37508. },
  37509. "openfeealgorithm": {
  37510. "description": "建仓手续费收取方式 1:比率 2:固定",
  37511. "type": "integer"
  37512. },
  37513. "openmemberchargevalue": {
  37514. "description": "建仓会员手续费设置值",
  37515. "type": "number"
  37516. },
  37517. "openqty": {
  37518. "description": "开仓数量(先建后平操作 需要记录)",
  37519. "type": "number"
  37520. },
  37521. "optiontype": {
  37522. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37523. "type": "integer"
  37524. },
  37525. "orderid": {
  37526. "description": "委托单号",
  37527. "type": "string"
  37528. },
  37529. "payamount": {
  37530. "description": "支付金额(付款金额)",
  37531. "type": "number"
  37532. },
  37533. "performanceplanid": {
  37534. "description": "履约计划ID[期权]",
  37535. "type": "integer"
  37536. },
  37537. "performancestatus": {
  37538. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37539. "type": "integer"
  37540. },
  37541. "preexerciseprice": {
  37542. "description": "预申报价格",
  37543. "type": "number"
  37544. },
  37545. "premium": {
  37546. "description": "权利金 - [持仓单的权利金]",
  37547. "type": "number"
  37548. },
  37549. "qtydecimalplace": {
  37550. "description": "商品报价小数位",
  37551. "type": "integer"
  37552. },
  37553. "recvamount": {
  37554. "description": "到账金额 = 成交金额 - 手续费",
  37555. "type": "number"
  37556. },
  37557. "relatedouttradeid": {
  37558. "description": "关联外部成交单ID",
  37559. "type": "integer"
  37560. },
  37561. "status": {
  37562. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37563. "type": "integer"
  37564. },
  37565. "totalamount": {
  37566. "description": "订单总额 = 成交金额 + 手续费",
  37567. "type": "number"
  37568. },
  37569. "tradeamount": {
  37570. "description": "成交金额[账户币种,用于所有权]",
  37571. "type": "number"
  37572. },
  37573. "tradedate": {
  37574. "description": "交易日(yyyyMMdd)",
  37575. "type": "string"
  37576. },
  37577. "tradeid": {
  37578. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37579. "type": "string"
  37580. },
  37581. "trademode": {
  37582. "description": "交易模式",
  37583. "type": "integer"
  37584. },
  37585. "tradeprice": {
  37586. "description": "成交价格",
  37587. "type": "number"
  37588. },
  37589. "tradeproperty": {
  37590. "description": "交易属性",
  37591. "type": "integer"
  37592. },
  37593. "tradeqty": {
  37594. "description": "成交数量",
  37595. "type": "number"
  37596. },
  37597. "tradetime": {
  37598. "description": "成交时间",
  37599. "type": "string"
  37600. },
  37601. "tradetype": {
  37602. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37603. "type": "integer"
  37604. }
  37605. }
  37606. },
  37607. "order.QueryHisTradeOrderDetailRsp": {
  37608. "type": "object",
  37609. "required": [
  37610. "accountid",
  37611. "buildtype",
  37612. "buyorsell",
  37613. "goodsid",
  37614. "histradedate",
  37615. "marketid",
  37616. "memberuserid",
  37617. "operatetype",
  37618. "orderid",
  37619. "orderqty",
  37620. "ordertime",
  37621. "pricemode",
  37622. "tradedate",
  37623. "validtype"
  37624. ],
  37625. "properties": {
  37626. "accountid": {
  37627. "description": "账户ID[报价币种]",
  37628. "type": "integer"
  37629. },
  37630. "buildtype": {
  37631. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37632. "type": "integer"
  37633. },
  37634. "buyorsell": {
  37635. "description": "买卖 - 0:买 1:卖",
  37636. "type": "integer"
  37637. },
  37638. "cancelorderid": {
  37639. "description": "撤单单号(撤单时填写)",
  37640. "type": "string"
  37641. },
  37642. "cancelqty": {
  37643. "description": "撤单数量",
  37644. "type": "number"
  37645. },
  37646. "clientordertime": {
  37647. "description": "客户端委托时间",
  37648. "type": "string"
  37649. },
  37650. "clientticket": {
  37651. "description": "客户端流水号",
  37652. "type": "string"
  37653. },
  37654. "clienttype": {
  37655. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37656. "type": "integer"
  37657. },
  37658. "closeexchagechargevalue": {
  37659. "description": "平仓交易所手续费设置值",
  37660. "type": "number"
  37661. },
  37662. "closefeealgorithm": {
  37663. "description": "平仓手续费收取方式 1:比率 2:固定",
  37664. "type": "integer"
  37665. },
  37666. "closefreezecharge": {
  37667. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37668. "type": "number"
  37669. },
  37670. "closememberchargevalue": {
  37671. "description": "平仓会员手续费设置值",
  37672. "type": "number"
  37673. },
  37674. "closeqty": {
  37675. "description": "平仓数量(先建后平操作 需要记录)",
  37676. "type": "number"
  37677. },
  37678. "closetradeqty": {
  37679. "description": "平仓成交数量(先建后平操作,需要记录)",
  37680. "type": "number"
  37681. },
  37682. "closeunfreezecharge": {
  37683. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37684. "type": "number"
  37685. },
  37686. "decimalplace": {
  37687. "description": "商品报价小数位",
  37688. "type": "integer"
  37689. },
  37690. "delistingtype": {
  37691. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37692. "type": "integer"
  37693. },
  37694. "enumdicname": {
  37695. "description": "单位名称",
  37696. "type": "string"
  37697. },
  37698. "freezecharge": {
  37699. "description": "冻结手续费",
  37700. "type": "number"
  37701. },
  37702. "freezemargin": {
  37703. "description": "冻结保证金(冻结交易金额)",
  37704. "type": "number"
  37705. },
  37706. "gcaccountid": {
  37707. "description": "账户ID[合约币种]",
  37708. "type": "integer"
  37709. },
  37710. "goodscode": {
  37711. "description": "商品代码",
  37712. "type": "string"
  37713. },
  37714. "goodsid": {
  37715. "description": "商品ID",
  37716. "type": "integer"
  37717. },
  37718. "goodsname": {
  37719. "description": "商品名称",
  37720. "type": "string"
  37721. },
  37722. "goodunitid": {
  37723. "description": "商品单位id",
  37724. "type": "integer"
  37725. },
  37726. "histradedate": {
  37727. "description": "历史交易日",
  37728. "type": "string"
  37729. },
  37730. "isconfirmexercise": {
  37731. "description": "是否确认行权- 0:否 1:是",
  37732. "type": "integer"
  37733. },
  37734. "ispreexercise": {
  37735. "description": "是否预申报- 0:否 1:是",
  37736. "type": "integer"
  37737. },
  37738. "isvaliddata": {
  37739. "description": "是否有效 - 0:无效 1:有效",
  37740. "type": "integer"
  37741. },
  37742. "listingselecttype": {
  37743. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37744. "type": "integer"
  37745. },
  37746. "marginalgorithm": {
  37747. "description": "保证金收取方式 1:比率 2:固定",
  37748. "type": "integer"
  37749. },
  37750. "marginvalue": {
  37751. "description": "即市保证金设置值",
  37752. "type": "number"
  37753. },
  37754. "marketid": {
  37755. "description": "市场ID",
  37756. "type": "integer"
  37757. },
  37758. "marketmaxsub": {
  37759. "description": "市价最大偏移范围",
  37760. "type": "number"
  37761. },
  37762. "marketname": {
  37763. "description": "市场名称",
  37764. "type": "string"
  37765. },
  37766. "memberuserid": {
  37767. "description": "所属会员UserID",
  37768. "type": "integer"
  37769. },
  37770. "openexchagechargevalue": {
  37771. "description": "建仓交易所手续费设置值",
  37772. "type": "number"
  37773. },
  37774. "openfeealgorithm": {
  37775. "description": "建仓手续费收取方式 1:比率 2:固定",
  37776. "type": "integer"
  37777. },
  37778. "openfreezecharge": {
  37779. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37780. "type": "number"
  37781. },
  37782. "openmemberchargevalue": {
  37783. "description": "建仓会员手续费设置值",
  37784. "type": "number"
  37785. },
  37786. "openqty": {
  37787. "description": "开仓数量(先建后平操作,需要记录)",
  37788. "type": "number"
  37789. },
  37790. "opentradeqty": {
  37791. "description": "开仓成交数量(先建后平操作,需要记录)",
  37792. "type": "number"
  37793. },
  37794. "openunfreezecharge": {
  37795. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37796. "type": "number"
  37797. },
  37798. "operatetype": {
  37799. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37800. "type": "integer"
  37801. },
  37802. "operatorid": {
  37803. "description": "登录账号(LoginID)",
  37804. "type": "integer"
  37805. },
  37806. "optiontype": {
  37807. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37808. "type": "integer"
  37809. },
  37810. "orderid": {
  37811. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37812. "type": "string"
  37813. },
  37814. "orderprice": {
  37815. "description": "委托价格",
  37816. "type": "number"
  37817. },
  37818. "orderqty": {
  37819. "description": "委托数量",
  37820. "type": "number"
  37821. },
  37822. "ordersrc": {
  37823. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37824. "type": "integer"
  37825. },
  37826. "orderstatus": {
  37827. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37828. "type": "integer"
  37829. },
  37830. "ordertime": {
  37831. "description": "委托时间",
  37832. "type": "string"
  37833. },
  37834. "preexerciseprice": {
  37835. "description": "预申报价格",
  37836. "type": "number"
  37837. },
  37838. "premium": {
  37839. "description": "权利金",
  37840. "type": "number"
  37841. },
  37842. "preorderid": {
  37843. "description": "关联预埋单号(止盈止损单时填写)",
  37844. "type": "string"
  37845. },
  37846. "pricemode": {
  37847. "description": "取价方式 - 1:市价 2: 限价",
  37848. "type": "integer"
  37849. },
  37850. "qtydecimalplace": {
  37851. "description": "成交量小数位",
  37852. "type": "integer"
  37853. },
  37854. "quoteid": {
  37855. "description": "报价单ID",
  37856. "type": "integer"
  37857. },
  37858. "relatedid": {
  37859. "description": "关联单号(交割单)",
  37860. "type": "string"
  37861. },
  37862. "retcode": {
  37863. "description": "错误代码",
  37864. "type": "integer"
  37865. },
  37866. "sessionid": {
  37867. "description": "会话ID",
  37868. "type": "integer"
  37869. },
  37870. "tradedate": {
  37871. "description": "交易日(yyyyMMdd)",
  37872. "type": "string"
  37873. },
  37874. "trademode": {
  37875. "description": "交易模式",
  37876. "type": "integer"
  37877. },
  37878. "tradeproperty": {
  37879. "description": "交易属性",
  37880. "type": "integer"
  37881. },
  37882. "tradeqty": {
  37883. "description": "成交数量",
  37884. "type": "number"
  37885. },
  37886. "unfreezecharge": {
  37887. "description": "解冻手续费",
  37888. "type": "number"
  37889. },
  37890. "unfreezemargin": {
  37891. "description": "解冻保证金",
  37892. "type": "number"
  37893. },
  37894. "updatetime": {
  37895. "description": "更新时间",
  37896. "type": "string"
  37897. },
  37898. "uuid": {
  37899. "description": "发起端唯一id",
  37900. "type": "string"
  37901. },
  37902. "validtime": {
  37903. "description": "有效期限",
  37904. "type": "string"
  37905. },
  37906. "validtype": {
  37907. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37908. "type": "integer"
  37909. },
  37910. "volumetype": {
  37911. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37912. "type": "integer"
  37913. }
  37914. }
  37915. },
  37916. "order.QueryTradeDetailRsp": {
  37917. "type": "object",
  37918. "required": [
  37919. "accountid",
  37920. "buyorsell",
  37921. "goodsid",
  37922. "marketid",
  37923. "memberuserid",
  37924. "orderid",
  37925. "tradeamount",
  37926. "tradedate",
  37927. "tradeid",
  37928. "tradeprice",
  37929. "tradeqty",
  37930. "tradetime"
  37931. ],
  37932. "properties": {
  37933. "accountid": {
  37934. "description": "账户ID[报价币种]",
  37935. "type": "integer"
  37936. },
  37937. "advanceratio": {
  37938. "description": "首付比率",
  37939. "type": "number"
  37940. },
  37941. "buildtype": {
  37942. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37943. "type": "integer"
  37944. },
  37945. "buyorsell": {
  37946. "description": "方向 - 0:买 1:卖",
  37947. "type": "integer"
  37948. },
  37949. "charge": {
  37950. "description": "手续费",
  37951. "type": "number"
  37952. },
  37953. "closecharge": {
  37954. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37955. "type": "number"
  37956. },
  37957. "closeexchagechargevalue": {
  37958. "description": "平仓交易所手续费设置值",
  37959. "type": "number"
  37960. },
  37961. "closefeealgorithm": {
  37962. "description": "平仓手续费收取方式 1:比率 2:固定",
  37963. "type": "integer"
  37964. },
  37965. "closememberchargevalue": {
  37966. "description": "平仓会员手续费设置值",
  37967. "type": "number"
  37968. },
  37969. "closepl": {
  37970. "description": "平仓盈亏",
  37971. "type": "number"
  37972. },
  37973. "closepl2": {
  37974. "description": "平仓盈亏[逐笔]",
  37975. "type": "number"
  37976. },
  37977. "closeqty": {
  37978. "description": "平仓数量(先建后平操作 需要记录)",
  37979. "type": "number"
  37980. },
  37981. "creditamount": {
  37982. "description": "授信金额",
  37983. "type": "number"
  37984. },
  37985. "decimalplace": {
  37986. "description": "商品报价小数位",
  37987. "type": "integer"
  37988. },
  37989. "enumdicname": {
  37990. "description": "单位名称",
  37991. "type": "string"
  37992. },
  37993. "gcaccountid": {
  37994. "description": "账户ID[合约币种]",
  37995. "type": "integer"
  37996. },
  37997. "goodscode": {
  37998. "description": "商品代码",
  37999. "type": "string"
  38000. },
  38001. "goodsid": {
  38002. "description": "商品ID",
  38003. "type": "integer"
  38004. },
  38005. "goodsname": {
  38006. "description": "商品名称",
  38007. "type": "string"
  38008. },
  38009. "goodunitid": {
  38010. "description": "商品单位id",
  38011. "type": "integer"
  38012. },
  38013. "intclosepl": {
  38014. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  38015. "type": "integer"
  38016. },
  38017. "isconfirmexercise": {
  38018. "description": "是否确认行权- 0:否 1:是",
  38019. "type": "integer"
  38020. },
  38021. "ismain": {
  38022. "description": "是否主单 - 0:不是 1:是",
  38023. "type": "integer"
  38024. },
  38025. "ispreexercise": {
  38026. "description": "是否预申报- 0:否 1:是",
  38027. "type": "integer"
  38028. },
  38029. "isreckoned": {
  38030. "description": "是否结算 - 0:未结算 1:已结算",
  38031. "type": "integer"
  38032. },
  38033. "listingselecttype": {
  38034. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38035. "type": "integer"
  38036. },
  38037. "marketid": {
  38038. "description": "市场ID",
  38039. "type": "integer"
  38040. },
  38041. "marketname": {
  38042. "description": "市场名称",
  38043. "type": "string"
  38044. },
  38045. "matchaccountid": {
  38046. "description": "对手账号id",
  38047. "type": "integer"
  38048. },
  38049. "memberuserid": {
  38050. "description": "会员id 个人投资者 需要填写",
  38051. "type": "integer"
  38052. },
  38053. "opencharge": {
  38054. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38055. "type": "number"
  38056. },
  38057. "openexchagechargevalue": {
  38058. "description": "建仓交易所手续费设置值",
  38059. "type": "number"
  38060. },
  38061. "openfeealgorithm": {
  38062. "description": "建仓手续费收取方式 1:比率 2:固定",
  38063. "type": "integer"
  38064. },
  38065. "openmemberchargevalue": {
  38066. "description": "建仓会员手续费设置值",
  38067. "type": "number"
  38068. },
  38069. "openqty": {
  38070. "description": "开仓数量(先建后平操作 需要记录)",
  38071. "type": "number"
  38072. },
  38073. "optiontype": {
  38074. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38075. "type": "integer"
  38076. },
  38077. "orderid": {
  38078. "description": "委托单号",
  38079. "type": "string"
  38080. },
  38081. "payamount": {
  38082. "description": "支付金额(付款金额)",
  38083. "type": "number"
  38084. },
  38085. "performanceplanid": {
  38086. "description": "履约计划ID[期权]",
  38087. "type": "integer"
  38088. },
  38089. "performancestatus": {
  38090. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  38091. "type": "integer"
  38092. },
  38093. "preexerciseprice": {
  38094. "description": "预申报价格",
  38095. "type": "number"
  38096. },
  38097. "premium": {
  38098. "description": "权利金 - [持仓单的权利金]",
  38099. "type": "number"
  38100. },
  38101. "qtydecimalplace": {
  38102. "description": "商品报价小数位",
  38103. "type": "integer"
  38104. },
  38105. "recvamount": {
  38106. "description": "到账金额 = 成交金额 - 手续费",
  38107. "type": "number"
  38108. },
  38109. "relatedouttradeid": {
  38110. "description": "关联外部成交单ID",
  38111. "type": "integer"
  38112. },
  38113. "status": {
  38114. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  38115. "type": "integer"
  38116. },
  38117. "totalamount": {
  38118. "description": "订单总额 = 成交金额 + 手续费",
  38119. "type": "number"
  38120. },
  38121. "tradeamount": {
  38122. "description": "成交金额[账户币种,用于所有权]",
  38123. "type": "number"
  38124. },
  38125. "tradedate": {
  38126. "description": "交易日(yyyyMMdd)",
  38127. "type": "string"
  38128. },
  38129. "tradeid": {
  38130. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38131. "type": "string"
  38132. },
  38133. "trademode": {
  38134. "description": "交易模式",
  38135. "type": "integer"
  38136. },
  38137. "tradeprice": {
  38138. "description": "成交价格",
  38139. "type": "number"
  38140. },
  38141. "tradeproperty": {
  38142. "description": "交易属性",
  38143. "type": "integer"
  38144. },
  38145. "tradeqty": {
  38146. "description": "成交数量",
  38147. "type": "number"
  38148. },
  38149. "tradetime": {
  38150. "description": "成交时间",
  38151. "type": "string"
  38152. },
  38153. "tradetype": {
  38154. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  38155. "type": "integer"
  38156. }
  38157. }
  38158. },
  38159. "order.QueryTradeOrderDetailRsp": {
  38160. "type": "object",
  38161. "required": [
  38162. "accountid",
  38163. "buildtype",
  38164. "buyorsell",
  38165. "goodsid",
  38166. "marketid",
  38167. "operatetype",
  38168. "orderqty",
  38169. "ordertime",
  38170. "pricemode",
  38171. "tradedate",
  38172. "validtype"
  38173. ],
  38174. "properties": {
  38175. "accountid": {
  38176. "description": "账户ID[报价币种]",
  38177. "type": "integer"
  38178. },
  38179. "buildtype": {
  38180. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  38181. "type": "integer"
  38182. },
  38183. "buyorsell": {
  38184. "description": "买卖 - 0:买 1:卖",
  38185. "type": "integer"
  38186. },
  38187. "cancelorderid": {
  38188. "description": "撤单单号(撤单时填写)",
  38189. "type": "string"
  38190. },
  38191. "cancelqty": {
  38192. "description": "撤单数量",
  38193. "type": "number"
  38194. },
  38195. "clienttype": {
  38196. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  38197. "type": "integer"
  38198. },
  38199. "closefreezecharge": {
  38200. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  38201. "type": "number"
  38202. },
  38203. "closeqty": {
  38204. "description": "平仓数量(先建后平操作 需要记录)",
  38205. "type": "number"
  38206. },
  38207. "closetradeqty": {
  38208. "description": "平仓成交数量(先建后平操作,需要记录)",
  38209. "type": "number"
  38210. },
  38211. "closeunfreezecharge": {
  38212. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  38213. "type": "number"
  38214. },
  38215. "decimalplace": {
  38216. "description": "商品报价小数位",
  38217. "type": "integer"
  38218. },
  38219. "delistingtype": {
  38220. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  38221. "type": "integer"
  38222. },
  38223. "enableqty": {
  38224. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  38225. "type": "number"
  38226. },
  38227. "enumdicname": {
  38228. "description": "单位名称",
  38229. "type": "string"
  38230. },
  38231. "freezecharge": {
  38232. "description": "冻结手续费",
  38233. "type": "number"
  38234. },
  38235. "freezemargin": {
  38236. "description": "冻结保证金(冻结交易金额)",
  38237. "type": "number"
  38238. },
  38239. "goodscode": {
  38240. "description": "商品代码",
  38241. "type": "string"
  38242. },
  38243. "goodsid": {
  38244. "description": "商品ID",
  38245. "type": "integer"
  38246. },
  38247. "goodsname": {
  38248. "description": "商品名称",
  38249. "type": "string"
  38250. },
  38251. "goodunitid": {
  38252. "description": "商品单位id",
  38253. "type": "integer"
  38254. },
  38255. "listingselecttype": {
  38256. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38257. "type": "integer"
  38258. },
  38259. "marketid": {
  38260. "description": "市场ID",
  38261. "type": "integer"
  38262. },
  38263. "marketname": {
  38264. "description": "市场名称",
  38265. "type": "string"
  38266. },
  38267. "openfreezecharge": {
  38268. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  38269. "type": "number"
  38270. },
  38271. "openqty": {
  38272. "description": "开仓数量(先建后平操作,需要记录)",
  38273. "type": "number"
  38274. },
  38275. "opentradeqty": {
  38276. "description": "开仓成交数量(先建后平操作,需要记录)",
  38277. "type": "number"
  38278. },
  38279. "openunfreezecharge": {
  38280. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  38281. "type": "number"
  38282. },
  38283. "operatetype": {
  38284. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  38285. "type": "integer"
  38286. },
  38287. "operatorid": {
  38288. "description": "登录账号(LoginID)",
  38289. "type": "integer"
  38290. },
  38291. "orderid": {
  38292. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38293. "type": "string"
  38294. },
  38295. "orderprice": {
  38296. "description": "委托价格",
  38297. "type": "number"
  38298. },
  38299. "orderqty": {
  38300. "description": "委托数量",
  38301. "type": "number"
  38302. },
  38303. "ordersrc": {
  38304. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  38305. "type": "integer"
  38306. },
  38307. "orderstatus": {
  38308. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  38309. "type": "integer"
  38310. },
  38311. "ordertime": {
  38312. "description": "委托时间",
  38313. "type": "string"
  38314. },
  38315. "preorderid": {
  38316. "description": "关联预埋单号(止盈止损单时填写)",
  38317. "type": "string"
  38318. },
  38319. "pricemode": {
  38320. "description": "取价方式 - 1:市价 2: 限价",
  38321. "type": "integer"
  38322. },
  38323. "qtydecimalplace": {
  38324. "description": "商品报价小数位",
  38325. "type": "integer"
  38326. },
  38327. "relatedid": {
  38328. "description": "关联单号(交割单)",
  38329. "type": "string"
  38330. },
  38331. "tradedate": {
  38332. "description": "交易日(yyyyMMdd)",
  38333. "type": "string"
  38334. },
  38335. "trademode": {
  38336. "description": "交易模式",
  38337. "type": "integer"
  38338. },
  38339. "tradeqty": {
  38340. "description": "成交数量",
  38341. "type": "number"
  38342. },
  38343. "unfreezecharge": {
  38344. "description": "解冻手续费",
  38345. "type": "number"
  38346. },
  38347. "unfreezemargin": {
  38348. "description": "解冻保证金",
  38349. "type": "number"
  38350. },
  38351. "validtime": {
  38352. "description": "有效期限",
  38353. "type": "string"
  38354. },
  38355. "validtype": {
  38356. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  38357. "type": "integer"
  38358. },
  38359. "volumetype": {
  38360. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  38361. "type": "integer"
  38362. }
  38363. }
  38364. },
  38365. "order.QueryTradePositionRsp": {
  38366. "type": "object",
  38367. "required": [
  38368. "goodsid"
  38369. ],
  38370. "properties": {
  38371. "accountid": {
  38372. "description": "资金账户",
  38373. "type": "integer"
  38374. },
  38375. "agreeunit": {
  38376. "description": "合约单位",
  38377. "type": "number"
  38378. },
  38379. "averageprice": {
  38380. "description": "持仓均价",
  38381. "type": "number"
  38382. },
  38383. "buyorsell": {
  38384. "description": "方向 - 0:买 1:卖",
  38385. "type": "integer"
  38386. },
  38387. "closetotalqty": {
  38388. "description": "平仓总数量",
  38389. "type": "number"
  38390. },
  38391. "curholderamount": {
  38392. "description": "当前持仓总金额[商品币种]",
  38393. "type": "number"
  38394. },
  38395. "curpositionqty": {
  38396. "description": "当前持仓总数量",
  38397. "type": "number"
  38398. },
  38399. "currencyid": {
  38400. "description": "报价货币ID",
  38401. "type": "integer"
  38402. },
  38403. "curtdposition": {
  38404. "description": "期末今日头寸",
  38405. "type": "number"
  38406. },
  38407. "decimalplace": {
  38408. "description": "报价小数位",
  38409. "type": "integer"
  38410. },
  38411. "enableqty": {
  38412. "description": "可用量",
  38413. "type": "number"
  38414. },
  38415. "fretdposition": {
  38416. "description": "冻结今日头寸",
  38417. "type": "number"
  38418. },
  38419. "frozenqty": {
  38420. "description": "持仓冻结数量",
  38421. "type": "number"
  38422. },
  38423. "goodscode": {
  38424. "description": "商品代码",
  38425. "type": "string"
  38426. },
  38427. "goodsid": {
  38428. "description": "商品Id",
  38429. "type": "integer"
  38430. },
  38431. "goodsname": {
  38432. "description": "商品名称",
  38433. "type": "string"
  38434. },
  38435. "goodunit": {
  38436. "description": "报价单位",
  38437. "type": "string"
  38438. },
  38439. "goodunitid": {
  38440. "description": "报价单位ID",
  38441. "type": "integer"
  38442. },
  38443. "holderamount": {
  38444. "description": "期初持仓总金额[商品币种]",
  38445. "type": "number"
  38446. },
  38447. "lastprice": {
  38448. "description": "最新价",
  38449. "type": "number"
  38450. },
  38451. "marketamount": {
  38452. "description": "市值",
  38453. "type": "number"
  38454. },
  38455. "marketid": {
  38456. "description": "所属市场ID",
  38457. "type": "integer"
  38458. },
  38459. "openreqqty": {
  38460. "description": "开仓申请数量(用于比较最大持仓数量)",
  38461. "type": "number"
  38462. },
  38463. "opentotalqty": {
  38464. "description": "开仓总数量",
  38465. "type": "number"
  38466. },
  38467. "otherfrozenqty": {
  38468. "description": "持仓其他冻结数量(交割冻结)",
  38469. "type": "number"
  38470. },
  38471. "positionpl": {
  38472. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  38473. "type": "number"
  38474. },
  38475. "positionplrate": {
  38476. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  38477. "type": "number"
  38478. },
  38479. "positionqty": {
  38480. "description": "期初持仓数量",
  38481. "type": "number"
  38482. },
  38483. "qtydecimalplace": {
  38484. "description": "成交量小数位",
  38485. "type": "integer"
  38486. },
  38487. "refgoodscode": {
  38488. "description": "参考商品代码",
  38489. "type": "string"
  38490. },
  38491. "refgoodsid": {
  38492. "description": "参考商品ID",
  38493. "type": "integer"
  38494. },
  38495. "tnqty": {
  38496. "description": "T+N冻结总量",
  38497. "type": "number"
  38498. },
  38499. "tnusedqty": {
  38500. "description": "T+N使用量(可以使用T+N的冻结数量)",
  38501. "type": "number"
  38502. },
  38503. "trademode": {
  38504. "description": "交易模式",
  38505. "type": "integer"
  38506. },
  38507. "tradeproperty": {
  38508. "description": "交易属性",
  38509. "type": "integer"
  38510. },
  38511. "usedmargin": {
  38512. "description": "占用保证金[商品币种]",
  38513. "type": "number"
  38514. }
  38515. }
  38516. },
  38517. "pb.GoodsMarginCfgStruct": {
  38518. "type": "object",
  38519. "properties": {
  38520. "CustomerTypeID": {
  38521. "description": "投资者客户类型",
  38522. "type": "integer"
  38523. },
  38524. "GoodsID": {
  38525. "description": "商品ID",
  38526. "type": "integer"
  38527. },
  38528. "IsDefault": {
  38529. "description": "是否默认标志位",
  38530. "type": "integer"
  38531. },
  38532. "LockMarginValue": {
  38533. "description": "锁仓保证金",
  38534. "type": "number"
  38535. },
  38536. "MarginAlgorithm": {
  38537. "description": "保证金计算方式",
  38538. "type": "integer"
  38539. },
  38540. "MarketMarginValue": {
  38541. "description": "即市保证金值",
  38542. "type": "number"
  38543. },
  38544. "RealMarginAlgorithm": {
  38545. "description": "实付保证金计算方式",
  38546. "type": "integer"
  38547. },
  38548. "RealMarginValue": {
  38549. "description": "实付比例",
  38550. "type": "number"
  38551. },
  38552. "ReckonMarginValue": {
  38553. "description": "结算保证金值",
  38554. "type": "number"
  38555. }
  38556. }
  38557. },
  38558. "quote.HistoryData": {
  38559. "type": "object",
  38560. "properties": {
  38561. "c": {
  38562. "description": "收盘价",
  38563. "type": "number"
  38564. },
  38565. "f": {
  38566. "description": "是否补充数据",
  38567. "type": "boolean"
  38568. },
  38569. "h": {
  38570. "description": "最高价",
  38571. "type": "number"
  38572. },
  38573. "hv": {
  38574. "description": "持仓量",
  38575. "type": "integer"
  38576. },
  38577. "l": {
  38578. "description": "最低价",
  38579. "type": "number"
  38580. },
  38581. "o": {
  38582. "description": "开盘价",
  38583. "type": "number"
  38584. },
  38585. "s": {
  38586. "description": "结算价,日线周期(包括)以上才有",
  38587. "type": "number"
  38588. },
  38589. "ts": {
  38590. "description": "时间",
  38591. "type": "string"
  38592. },
  38593. "tt": {
  38594. "description": "总金额",
  38595. "type": "number"
  38596. },
  38597. "tv": {
  38598. "description": "总量(成交量)",
  38599. "type": "integer"
  38600. }
  38601. }
  38602. },
  38603. "quote.HistoryTikData": {
  38604. "type": "object",
  38605. "properties": {
  38606. "AV": {
  38607. "description": "卖量",
  38608. "type": "integer"
  38609. },
  38610. "Ask": {
  38611. "description": "卖价",
  38612. "type": "number"
  38613. },
  38614. "BV": {
  38615. "description": "买量",
  38616. "type": "integer"
  38617. },
  38618. "Bid": {
  38619. "description": "买价",
  38620. "type": "number"
  38621. },
  38622. "HI": {
  38623. "description": "单笔持仓",
  38624. "type": "integer"
  38625. },
  38626. "HV": {
  38627. "description": "持仓量",
  38628. "type": "integer"
  38629. },
  38630. "PE": {
  38631. "description": "现价",
  38632. "type": "number"
  38633. },
  38634. "TDR": {
  38635. "description": "交易方向,0:买 1:卖",
  38636. "type": "integer"
  38637. },
  38638. "TK": {
  38639. "description": "交易类型",
  38640. "type": "integer"
  38641. },
  38642. "TS": {
  38643. "description": "行情时间文本",
  38644. "type": "string"
  38645. },
  38646. "TT": {
  38647. "description": "现金额",
  38648. "type": "number"
  38649. },
  38650. "Vol": {
  38651. "description": "现量",
  38652. "type": "integer"
  38653. }
  38654. }
  38655. },
  38656. "quote.QueryQuoteDayRsp": {
  38657. "type": "object",
  38658. "properties": {
  38659. "ask": {
  38660. "description": "卖1",
  38661. "type": "number"
  38662. },
  38663. "ask10": {
  38664. "description": "卖10",
  38665. "type": "number"
  38666. },
  38667. "ask2": {
  38668. "description": "卖2",
  38669. "type": "number"
  38670. },
  38671. "ask3": {
  38672. "description": "卖3",
  38673. "type": "number"
  38674. },
  38675. "ask4": {
  38676. "description": "卖4",
  38677. "type": "number"
  38678. },
  38679. "ask5": {
  38680. "description": "卖5",
  38681. "type": "number"
  38682. },
  38683. "ask6": {
  38684. "description": "卖6",
  38685. "type": "number"
  38686. },
  38687. "ask7": {
  38688. "description": "卖7",
  38689. "type": "number"
  38690. },
  38691. "ask8": {
  38692. "description": "卖8",
  38693. "type": "number"
  38694. },
  38695. "ask9": {
  38696. "description": "卖9",
  38697. "type": "number"
  38698. },
  38699. "askorderid": {
  38700. "description": "卖单号1",
  38701. "type": "integer"
  38702. },
  38703. "askorderid2": {
  38704. "description": "卖单号2",
  38705. "type": "integer"
  38706. },
  38707. "askorderid3": {
  38708. "description": "卖单号3",
  38709. "type": "integer"
  38710. },
  38711. "askorderid4": {
  38712. "description": "卖单号4",
  38713. "type": "integer"
  38714. },
  38715. "askorderid5": {
  38716. "description": "卖单号5",
  38717. "type": "integer"
  38718. },
  38719. "askordervolume": {
  38720. "description": "卖单量1",
  38721. "type": "integer"
  38722. },
  38723. "askordervolume10": {
  38724. "description": "卖单量10",
  38725. "type": "integer"
  38726. },
  38727. "askordervolume2": {
  38728. "description": "卖单量2",
  38729. "type": "integer"
  38730. },
  38731. "askordervolume3": {
  38732. "description": "卖单量3",
  38733. "type": "integer"
  38734. },
  38735. "askordervolume4": {
  38736. "description": "卖单量4",
  38737. "type": "integer"
  38738. },
  38739. "askordervolume5": {
  38740. "description": "卖单量5",
  38741. "type": "integer"
  38742. },
  38743. "askordervolume6": {
  38744. "description": "卖单量6",
  38745. "type": "integer"
  38746. },
  38747. "askordervolume7": {
  38748. "description": "卖单量7",
  38749. "type": "integer"
  38750. },
  38751. "askordervolume8": {
  38752. "description": "卖单量8",
  38753. "type": "integer"
  38754. },
  38755. "askordervolume9": {
  38756. "description": "卖单量9",
  38757. "type": "integer"
  38758. },
  38759. "askqueueinfo": {
  38760. "description": "大利市卖港股用",
  38761. "type": "string"
  38762. },
  38763. "askvolume": {
  38764. "description": "卖量1",
  38765. "type": "integer"
  38766. },
  38767. "askvolume10": {
  38768. "description": "卖量10",
  38769. "type": "integer"
  38770. },
  38771. "askvolume2": {
  38772. "description": "卖量2",
  38773. "type": "integer"
  38774. },
  38775. "askvolume3": {
  38776. "description": "卖量3",
  38777. "type": "integer"
  38778. },
  38779. "askvolume4": {
  38780. "description": "卖量4",
  38781. "type": "integer"
  38782. },
  38783. "askvolume5": {
  38784. "description": "卖量5",
  38785. "type": "integer"
  38786. },
  38787. "askvolume6": {
  38788. "description": "卖量6",
  38789. "type": "integer"
  38790. },
  38791. "askvolume7": {
  38792. "description": "卖量7",
  38793. "type": "integer"
  38794. },
  38795. "askvolume8": {
  38796. "description": "卖量8",
  38797. "type": "integer"
  38798. },
  38799. "askvolume9": {
  38800. "description": "卖量9",
  38801. "type": "integer"
  38802. },
  38803. "averageprice": {
  38804. "description": "均价",
  38805. "type": "number"
  38806. },
  38807. "bid": {
  38808. "description": "买1",
  38809. "type": "number"
  38810. },
  38811. "bid10": {
  38812. "description": "买10",
  38813. "type": "number"
  38814. },
  38815. "bid2": {
  38816. "description": "买2",
  38817. "type": "number"
  38818. },
  38819. "bid3": {
  38820. "description": "买3",
  38821. "type": "number"
  38822. },
  38823. "bid4": {
  38824. "description": "买4",
  38825. "type": "number"
  38826. },
  38827. "bid5": {
  38828. "description": "买5",
  38829. "type": "number"
  38830. },
  38831. "bid6": {
  38832. "description": "买6",
  38833. "type": "number"
  38834. },
  38835. "bid7": {
  38836. "description": "买7",
  38837. "type": "number"
  38838. },
  38839. "bid8": {
  38840. "description": "买8",
  38841. "type": "number"
  38842. },
  38843. "bid9": {
  38844. "description": "买9",
  38845. "type": "number"
  38846. },
  38847. "bidorderid": {
  38848. "description": "买单号1",
  38849. "type": "integer"
  38850. },
  38851. "bidorderid2": {
  38852. "description": "买单号2",
  38853. "type": "integer"
  38854. },
  38855. "bidorderid3": {
  38856. "description": "买单号3",
  38857. "type": "integer"
  38858. },
  38859. "bidorderid4": {
  38860. "description": "买单号4",
  38861. "type": "integer"
  38862. },
  38863. "bidorderid5": {
  38864. "description": "买单号5",
  38865. "type": "integer"
  38866. },
  38867. "bidordervolume": {
  38868. "description": "买单量1",
  38869. "type": "integer"
  38870. },
  38871. "bidordervolume10": {
  38872. "description": "买单量10",
  38873. "type": "integer"
  38874. },
  38875. "bidordervolume2": {
  38876. "description": "买单量2",
  38877. "type": "integer"
  38878. },
  38879. "bidordervolume3": {
  38880. "description": "买单量3",
  38881. "type": "integer"
  38882. },
  38883. "bidordervolume4": {
  38884. "description": "买单量4",
  38885. "type": "integer"
  38886. },
  38887. "bidordervolume5": {
  38888. "description": "买单量5",
  38889. "type": "integer"
  38890. },
  38891. "bidordervolume6": {
  38892. "description": "买单量6",
  38893. "type": "integer"
  38894. },
  38895. "bidordervolume7": {
  38896. "description": "买单量7",
  38897. "type": "integer"
  38898. },
  38899. "bidordervolume8": {
  38900. "description": "买单量8",
  38901. "type": "integer"
  38902. },
  38903. "bidordervolume9": {
  38904. "description": "买单量9",
  38905. "type": "integer"
  38906. },
  38907. "bidqueueinfo": {
  38908. "description": "大利市买港股用",
  38909. "type": "string"
  38910. },
  38911. "bidvolume": {
  38912. "description": "买量1",
  38913. "type": "integer"
  38914. },
  38915. "bidvolume10": {
  38916. "description": "买量10",
  38917. "type": "integer"
  38918. },
  38919. "bidvolume2": {
  38920. "description": "买量2",
  38921. "type": "integer"
  38922. },
  38923. "bidvolume3": {
  38924. "description": "买量3",
  38925. "type": "integer"
  38926. },
  38927. "bidvolume4": {
  38928. "description": "买量4",
  38929. "type": "integer"
  38930. },
  38931. "bidvolume5": {
  38932. "description": "买量5",
  38933. "type": "integer"
  38934. },
  38935. "bidvolume6": {
  38936. "description": "买量6",
  38937. "type": "integer"
  38938. },
  38939. "bidvolume7": {
  38940. "description": "买量7",
  38941. "type": "integer"
  38942. },
  38943. "bidvolume8": {
  38944. "description": "买量8",
  38945. "type": "integer"
  38946. },
  38947. "bidvolume9": {
  38948. "description": "买量9",
  38949. "type": "integer"
  38950. },
  38951. "calloptionpremiums": {
  38952. "description": "认购期权1",
  38953. "type": "integer"
  38954. },
  38955. "calloptionpremiums2": {
  38956. "description": "认购期权2",
  38957. "type": "integer"
  38958. },
  38959. "calloptionpremiums3": {
  38960. "description": "认购期权3",
  38961. "type": "integer"
  38962. },
  38963. "calloptionpremiums4": {
  38964. "description": "认购期权4",
  38965. "type": "integer"
  38966. },
  38967. "calloptionpremiums5": {
  38968. "description": "认购期权5",
  38969. "type": "integer"
  38970. },
  38971. "cleartime": {
  38972. "description": "清盘时间",
  38973. "type": "integer"
  38974. },
  38975. "exchangecode": {
  38976. "description": "交易所代码",
  38977. "type": "integer"
  38978. },
  38979. "exchangedate": {
  38980. "description": "交易日",
  38981. "type": "integer"
  38982. },
  38983. "goodscode": {
  38984. "description": "商品代码",
  38985. "type": "string"
  38986. },
  38987. "grepmarketprice": {
  38988. "description": "暗盘价 港股专用",
  38989. "type": "number"
  38990. },
  38991. "highest": {
  38992. "description": "最高价",
  38993. "type": "number"
  38994. },
  38995. "holdincrement": {
  38996. "description": "单笔持仓",
  38997. "type": "integer"
  38998. },
  38999. "holdvolume": {
  39000. "description": "持仓",
  39001. "type": "integer"
  39002. },
  39003. "iep": {
  39004. "description": "平衡价 港股专用",
  39005. "type": "number"
  39006. },
  39007. "iev": {
  39008. "description": "平衡量 港股专用",
  39009. "type": "number"
  39010. },
  39011. "inventory": {
  39012. "description": "库存",
  39013. "type": "integer"
  39014. },
  39015. "iscleared": {
  39016. "description": "是否清盘标志",
  39017. "type": "integer"
  39018. },
  39019. "issettled": {
  39020. "description": "是否结算标志",
  39021. "type": "integer"
  39022. },
  39023. "last": {
  39024. "description": "最新价",
  39025. "type": "number"
  39026. },
  39027. "lastlot": {
  39028. "description": "最新成交手数",
  39029. "type": "integer"
  39030. },
  39031. "lasttime": {
  39032. "description": "行情时间(只有现价变化行情时间才变化)",
  39033. "type": "string"
  39034. },
  39035. "lastturnover": {
  39036. "description": "最新成交金额",
  39037. "type": "number"
  39038. },
  39039. "lastvolume": {
  39040. "description": "最新成交量",
  39041. "type": "integer"
  39042. },
  39043. "limitdown": {
  39044. "description": "跌停价",
  39045. "type": "number"
  39046. },
  39047. "limitup": {
  39048. "description": "涨停价",
  39049. "type": "number"
  39050. },
  39051. "lowest": {
  39052. "description": "最低价",
  39053. "type": "number"
  39054. },
  39055. "nontotalholdervolume": {
  39056. "description": "非交易持仓量",
  39057. "type": "integer"
  39058. },
  39059. "nontotallot": {
  39060. "description": "非交易总手数",
  39061. "type": "integer"
  39062. },
  39063. "nontotalturnover": {
  39064. "description": "非交易总金额",
  39065. "type": "integer"
  39066. },
  39067. "nontotalvolume": {
  39068. "description": "非交易总量",
  39069. "type": "integer"
  39070. },
  39071. "opened": {
  39072. "description": "开盘价",
  39073. "type": "number"
  39074. },
  39075. "opentime": {
  39076. "description": "开盘时间",
  39077. "type": "string"
  39078. },
  39079. "orderid": {
  39080. "description": "序号",
  39081. "type": "integer"
  39082. },
  39083. "preclose": {
  39084. "description": "昨收",
  39085. "type": "number"
  39086. },
  39087. "preholdvolume": {
  39088. "description": "昨持仓",
  39089. "type": "integer"
  39090. },
  39091. "presettle": {
  39092. "description": "昨结价",
  39093. "type": "number"
  39094. },
  39095. "publictradetype": {
  39096. "description": "公共交易标志类型 港股专用",
  39097. "type": "string"
  39098. },
  39099. "putoptionpremiums": {
  39100. "description": "认沽期权1",
  39101. "type": "integer"
  39102. },
  39103. "putoptionpremiums2": {
  39104. "description": "认沽期权2",
  39105. "type": "integer"
  39106. },
  39107. "putoptionpremiums3": {
  39108. "description": "认沽期权3",
  39109. "type": "integer"
  39110. },
  39111. "putoptionpremiums4": {
  39112. "description": "认沽期权4",
  39113. "type": "integer"
  39114. },
  39115. "putoptionpremiums5": {
  39116. "description": "认沽期权5",
  39117. "type": "integer"
  39118. },
  39119. "settle": {
  39120. "description": "结算价",
  39121. "type": "number"
  39122. },
  39123. "strikeprice": {
  39124. "description": "发行价",
  39125. "type": "number"
  39126. },
  39127. "totalaskvolume": {
  39128. "description": "内盘",
  39129. "type": "integer"
  39130. },
  39131. "totalbidvolume": {
  39132. "description": "外盘",
  39133. "type": "integer"
  39134. },
  39135. "totallot": {
  39136. "description": "总手数",
  39137. "type": "integer"
  39138. },
  39139. "totalturnover": {
  39140. "description": "总金额",
  39141. "type": "number"
  39142. },
  39143. "totalvolume": {
  39144. "description": "总量",
  39145. "type": "integer"
  39146. },
  39147. "utclasttime": {
  39148. "description": "utc的行情时间",
  39149. "type": "string"
  39150. }
  39151. }
  39152. },
  39153. "quote.QueryTSDataRsp": {
  39154. "type": "object",
  39155. "properties": {
  39156. "Count": {
  39157. "description": "交易日应有数据个数",
  39158. "type": "integer"
  39159. },
  39160. "decimalPlace": {
  39161. "description": "小数位",
  39162. "type": "integer"
  39163. },
  39164. "endTime": {
  39165. "description": "结束时间",
  39166. "type": "string"
  39167. },
  39168. "goodsCode": {
  39169. "description": "商品代码",
  39170. "type": "string"
  39171. },
  39172. "historyDatas": {
  39173. "description": "历史数据",
  39174. "type": "array",
  39175. "items": {
  39176. "$ref": "#/definitions/quote.HistoryData"
  39177. }
  39178. },
  39179. "outGoodsCode": {
  39180. "description": "外部商品代码",
  39181. "type": "string"
  39182. },
  39183. "preSettle": {
  39184. "description": "昨结价",
  39185. "type": "number"
  39186. },
  39187. "runSteps": {
  39188. "description": "交易日开休市计划",
  39189. "type": "array",
  39190. "items": {
  39191. "$ref": "#/definitions/quote.TSDataRunStep"
  39192. }
  39193. },
  39194. "startTime": {
  39195. "description": "开始时间",
  39196. "type": "string"
  39197. },
  39198. "tradeDate": {
  39199. "description": "交易日",
  39200. "type": "string"
  39201. }
  39202. }
  39203. },
  39204. "quote.TSDataRunStep": {
  39205. "type": "object",
  39206. "properties": {
  39207. "end": {
  39208. "description": "真实结束时间",
  39209. "type": "string"
  39210. },
  39211. "endflag": {
  39212. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  39213. "type": "integer"
  39214. },
  39215. "endtime": {
  39216. "description": "结束时间(HH:mm)",
  39217. "type": "string"
  39218. },
  39219. "endweekday": {
  39220. "description": "结束周几",
  39221. "type": "integer"
  39222. },
  39223. "groupid": {
  39224. "description": "分组ID",
  39225. "type": "integer"
  39226. },
  39227. "runstep": {
  39228. "description": "运行阶段 - 2:连续交易",
  39229. "type": "integer"
  39230. },
  39231. "sectionid": {
  39232. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  39233. "type": "integer"
  39234. },
  39235. "start": {
  39236. "description": "真实开始时间",
  39237. "type": "string"
  39238. },
  39239. "startflag": {
  39240. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  39241. "type": "integer"
  39242. },
  39243. "starttime": {
  39244. "description": "起始时间(HH:mm)",
  39245. "type": "string"
  39246. },
  39247. "startweekday": {
  39248. "description": "起始周几",
  39249. "type": "integer"
  39250. },
  39251. "tradeweekday": {
  39252. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  39253. "type": "integer"
  39254. }
  39255. }
  39256. },
  39257. "szdz.QueryConvertLogRsp": {
  39258. "type": "object",
  39259. "required": [
  39260. "logid"
  39261. ],
  39262. "properties": {
  39263. "accountid": {
  39264. "description": "资金账户ID",
  39265. "type": "integer"
  39266. },
  39267. "clientticket": {
  39268. "description": "客户端流水号",
  39269. "type": "string"
  39270. },
  39271. "converttype": {
  39272. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  39273. "type": "integer"
  39274. },
  39275. "createtime": {
  39276. "description": "记账时间",
  39277. "type": "string"
  39278. },
  39279. "daymaxvalue": {
  39280. "description": "配置当日最大转入限制",
  39281. "type": "number"
  39282. },
  39283. "daymaxvalue2": {
  39284. "description": "配置当日最大转入限制(转入)",
  39285. "type": "number"
  39286. },
  39287. "goodscode": {
  39288. "description": "商品代码",
  39289. "type": "string"
  39290. },
  39291. "goodsname": {
  39292. "description": "商品名称",
  39293. "type": "string"
  39294. },
  39295. "handlestatus": {
  39296. "description": "处理状态",
  39297. "type": "integer"
  39298. },
  39299. "innergoodsid": {
  39300. "description": "内部商品ID",
  39301. "type": "integer"
  39302. },
  39303. "inratio": {
  39304. "description": "配置转入比值",
  39305. "type": "integer"
  39306. },
  39307. "invalue": {
  39308. "description": "目标值",
  39309. "type": "number"
  39310. },
  39311. "logid": {
  39312. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39313. "type": "integer"
  39314. },
  39315. "mobile": {
  39316. "description": "手机号码(加密存储)",
  39317. "type": "string"
  39318. },
  39319. "outergoodscode": {
  39320. "description": "外部商品代码[JD\\PD]",
  39321. "type": "string"
  39322. },
  39323. "outratio": {
  39324. "description": "配置转出比值",
  39325. "type": "integer"
  39326. },
  39327. "outvalue": {
  39328. "description": "源值",
  39329. "type": "number"
  39330. },
  39331. "pddecimalplace": {
  39332. "description": "PD小数位",
  39333. "type": "integer"
  39334. },
  39335. "qty": {
  39336. "description": "数量",
  39337. "type": "string"
  39338. },
  39339. "remark": {
  39340. "description": "备注",
  39341. "type": "string"
  39342. },
  39343. "sessionid": {
  39344. "description": "会话ID",
  39345. "type": "integer"
  39346. },
  39347. "timemaxvalue": {
  39348. "description": "配置单次最大转入限制",
  39349. "type": "number"
  39350. },
  39351. "timemaxvalue2": {
  39352. "description": "配置单次最大转入限制(转入)",
  39353. "type": "number"
  39354. },
  39355. "timeminvalue": {
  39356. "description": "配置单次最小数量限制",
  39357. "type": "number"
  39358. },
  39359. "timeminvalue2": {
  39360. "description": "配置单次最小数量限制(转入)",
  39361. "type": "number"
  39362. },
  39363. "tradedate": {
  39364. "description": "交易日(yyyyMMdd)",
  39365. "type": "string"
  39366. },
  39367. "userid": {
  39368. "description": "用户ID",
  39369. "type": "integer"
  39370. }
  39371. }
  39372. },
  39373. "szdz.QueryGoodsPickupRsp": {
  39374. "type": "object",
  39375. "required": [
  39376. "takeorderid"
  39377. ],
  39378. "properties": {
  39379. "accountid": {
  39380. "description": "账户ID",
  39381. "type": "integer"
  39382. },
  39383. "address": {
  39384. "description": "提货人详细地址",
  39385. "type": "string"
  39386. },
  39387. "auditer": {
  39388. "description": "审核人",
  39389. "type": "integer"
  39390. },
  39391. "audittime": {
  39392. "description": "审核时间",
  39393. "type": "string"
  39394. },
  39395. "cardnum": {
  39396. "description": "提货人证件号码",
  39397. "type": "string"
  39398. },
  39399. "cardtypeid": {
  39400. "description": "提货人证件类型",
  39401. "type": "integer"
  39402. },
  39403. "checkremark": {
  39404. "description": "审核备注",
  39405. "type": "string"
  39406. },
  39407. "goodscode": {
  39408. "description": "商品代码",
  39409. "type": "string"
  39410. },
  39411. "goodsid": {
  39412. "description": "商品ID",
  39413. "type": "integer"
  39414. },
  39415. "goodsname": {
  39416. "description": "商品名称",
  39417. "type": "string"
  39418. },
  39419. "handlestatus": {
  39420. "description": "处理状态",
  39421. "type": "integer"
  39422. },
  39423. "marketid": {
  39424. "description": "市场ID",
  39425. "type": "integer"
  39426. },
  39427. "phonenum": {
  39428. "description": "提货人联系方式",
  39429. "type": "string"
  39430. },
  39431. "qty": {
  39432. "description": "提货数量",
  39433. "type": "number"
  39434. },
  39435. "recivername": {
  39436. "description": "提货人姓名",
  39437. "type": "string"
  39438. },
  39439. "reqtime": {
  39440. "description": "更新时间",
  39441. "type": "string"
  39442. },
  39443. "takemode": {
  39444. "description": "提货方式 - 2:自提 3:配送",
  39445. "type": "integer"
  39446. },
  39447. "takeorderid": {
  39448. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  39449. "type": "string"
  39450. },
  39451. "takeorderstatus": {
  39452. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  39453. "type": "integer"
  39454. },
  39455. "takeremark": {
  39456. "description": "提货备注",
  39457. "type": "string"
  39458. },
  39459. "tradedate": {
  39460. "description": "交易日(yyyyMMdd)",
  39461. "type": "string"
  39462. },
  39463. "userid": {
  39464. "description": "用户ID",
  39465. "type": "integer"
  39466. }
  39467. }
  39468. },
  39469. "szdz.QueryRecieptOrderRsp": {
  39470. "type": "object",
  39471. "required": [
  39472. "ordertime"
  39473. ],
  39474. "properties": {
  39475. "accountName": {
  39476. "description": "所属账号名称(已脱敏)",
  39477. "type": "string"
  39478. },
  39479. "accountid": {
  39480. "description": "资金账号",
  39481. "type": "integer"
  39482. },
  39483. "buyorsell": {
  39484. "description": "方向 - 0:买 1:卖",
  39485. "type": "integer"
  39486. },
  39487. "enableqty": {
  39488. "description": "可摘数量",
  39489. "type": "integer"
  39490. },
  39491. "goodscode": {
  39492. "description": "商品代码",
  39493. "type": "string"
  39494. },
  39495. "goodsid": {
  39496. "description": "商品ID",
  39497. "type": "integer"
  39498. },
  39499. "goodsname": {
  39500. "description": "商品名称",
  39501. "type": "string"
  39502. },
  39503. "orderid": {
  39504. "description": "委托单号",
  39505. "type": "string"
  39506. },
  39507. "orderprice": {
  39508. "description": "委托价格",
  39509. "type": "number"
  39510. },
  39511. "ordertime": {
  39512. "description": "委托时间",
  39513. "type": "string"
  39514. },
  39515. "tradedate": {
  39516. "description": "交易日(yyyyMMdd)",
  39517. "type": "string"
  39518. }
  39519. }
  39520. },
  39521. "szdz.QuerySZDZTradePositionRsp": {
  39522. "type": "object",
  39523. "properties": {
  39524. "accountid": {
  39525. "description": "账号Id",
  39526. "type": "integer"
  39527. },
  39528. "agreeunit": {
  39529. "description": "合约单位",
  39530. "type": "number"
  39531. },
  39532. "averageprice": {
  39533. "description": "持仓均价",
  39534. "type": "number"
  39535. },
  39536. "buyorsell": {
  39537. "description": "方向 - 0:买 1:卖",
  39538. "type": "integer"
  39539. },
  39540. "closetotalqty": {
  39541. "description": "平仓总数量",
  39542. "type": "integer"
  39543. },
  39544. "curholderamount": {
  39545. "description": "当前持仓总金额",
  39546. "type": "number"
  39547. },
  39548. "curpositionqty": {
  39549. "description": "当前持仓总数量",
  39550. "type": "integer"
  39551. },
  39552. "currencyid": {
  39553. "description": "报价货币ID",
  39554. "type": "integer"
  39555. },
  39556. "curtdposition": {
  39557. "description": "期末今日头寸",
  39558. "type": "integer"
  39559. },
  39560. "decimalplace": {
  39561. "description": "报价小数位",
  39562. "type": "integer"
  39563. },
  39564. "enableqty": {
  39565. "description": "可用量",
  39566. "type": "integer"
  39567. },
  39568. "fretdposition": {
  39569. "description": "冻结今日头寸",
  39570. "type": "integer"
  39571. },
  39572. "frozenqty": {
  39573. "description": "持仓冻结数量",
  39574. "type": "integer"
  39575. },
  39576. "goodscode": {
  39577. "description": "商品代码(内部)",
  39578. "type": "string"
  39579. },
  39580. "goodsid": {
  39581. "description": "商品Id",
  39582. "type": "integer"
  39583. },
  39584. "goodsname": {
  39585. "description": "商品名称",
  39586. "type": "string"
  39587. },
  39588. "goodunit": {
  39589. "description": "报价单位",
  39590. "type": "string"
  39591. },
  39592. "goodunitid": {
  39593. "description": "报价单位ID",
  39594. "type": "integer"
  39595. },
  39596. "holderamount": {
  39597. "description": "期初持仓总金额",
  39598. "type": "number"
  39599. },
  39600. "marketid": {
  39601. "description": "市场ID",
  39602. "type": "integer"
  39603. },
  39604. "openreqqty": {
  39605. "description": "开仓申请数量",
  39606. "type": "integer"
  39607. },
  39608. "opentotalqty": {
  39609. "description": "开仓总数量",
  39610. "type": "integer"
  39611. },
  39612. "otherfrozenqty": {
  39613. "description": "持仓其他冻结数量(交割冻结)",
  39614. "type": "integer"
  39615. },
  39616. "positionqty": {
  39617. "description": "期初持仓数量",
  39618. "type": "integer"
  39619. },
  39620. "szdz3freezqty": {
  39621. "description": "尚志大宗转换冻结总数量",
  39622. "type": "integer"
  39623. },
  39624. "tnqty": {
  39625. "description": "T+N冻结总量",
  39626. "type": "integer"
  39627. },
  39628. "tnusedqty": {
  39629. "description": "T+N使用量",
  39630. "type": "integer"
  39631. },
  39632. "trademode": {
  39633. "description": "交易模式",
  39634. "type": "integer"
  39635. },
  39636. "usedmargin": {
  39637. "description": "占用保证金",
  39638. "type": "number"
  39639. }
  39640. }
  39641. },
  39642. "taaccount.QueryAmountLogRsp": {
  39643. "type": "object",
  39644. "required": [
  39645. "accountid",
  39646. "amount",
  39647. "amountadjusttype",
  39648. "autoid",
  39649. "balance",
  39650. "createtime",
  39651. "currentbalance",
  39652. "operatetype"
  39653. ],
  39654. "properties": {
  39655. "OPERATETYPENAME": {
  39656. "description": "资金操作类型名称",
  39657. "type": "string"
  39658. },
  39659. "accountid": {
  39660. "description": "资金账户ID",
  39661. "type": "integer"
  39662. },
  39663. "agoodscode": {
  39664. "description": "竞拍商品代码",
  39665. "type": "string"
  39666. },
  39667. "agoodsname": {
  39668. "description": "竞拍商品名称",
  39669. "type": "string"
  39670. },
  39671. "amount": {
  39672. "description": "资金金额",
  39673. "type": "number"
  39674. },
  39675. "amountadjusttype": {
  39676. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39677. "type": "integer"
  39678. },
  39679. "autoid": {
  39680. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39681. "type": "integer"
  39682. },
  39683. "balance": {
  39684. "description": "期初余额",
  39685. "type": "number"
  39686. },
  39687. "businesscode": {
  39688. "description": "业务编号",
  39689. "type": "integer"
  39690. },
  39691. "createtime": {
  39692. "description": "发生时间",
  39693. "type": "string"
  39694. },
  39695. "currencyid": {
  39696. "description": "币种ID",
  39697. "type": "integer"
  39698. },
  39699. "currentbalance": {
  39700. "description": "期末余额(变动后金额)",
  39701. "type": "number"
  39702. },
  39703. "dgoodscode": {
  39704. "description": "交割商品代码",
  39705. "type": "string"
  39706. },
  39707. "dgoodsname": {
  39708. "description": "交割商品名称",
  39709. "type": "string"
  39710. },
  39711. "goodscode": {
  39712. "description": "商品代码",
  39713. "type": "string"
  39714. },
  39715. "goodsid": {
  39716. "description": "商品ID",
  39717. "type": "integer"
  39718. },
  39719. "goodsname": {
  39720. "description": "商品名称",
  39721. "type": "string"
  39722. },
  39723. "marketid": {
  39724. "description": "市场ID",
  39725. "type": "integer"
  39726. },
  39727. "marketname": {
  39728. "description": "市场名称",
  39729. "type": "string"
  39730. },
  39731. "moneyticket": {
  39732. "description": "资金流水号:银行端流水号",
  39733. "type": "integer"
  39734. },
  39735. "operatetype": {
  39736. "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:营销收款",
  39737. "type": "integer"
  39738. },
  39739. "relationorderid": {
  39740. "description": "关联单号",
  39741. "type": "string"
  39742. },
  39743. "remark": {
  39744. "description": "备注",
  39745. "type": "string"
  39746. },
  39747. "trademode": {
  39748. "description": "交易模式",
  39749. "type": "integer"
  39750. }
  39751. }
  39752. },
  39753. "taaccount.QueryHisAmountLogRsp": {
  39754. "type": "object",
  39755. "required": [
  39756. "accountid",
  39757. "amount",
  39758. "amountadjusttype",
  39759. "autoid",
  39760. "balance",
  39761. "createtime",
  39762. "currentbalance",
  39763. "histradedate",
  39764. "operatetype"
  39765. ],
  39766. "properties": {
  39767. "OPERATETYPENAME": {
  39768. "description": "资金操作类型名称",
  39769. "type": "string"
  39770. },
  39771. "accountid": {
  39772. "description": "资金账户ID",
  39773. "type": "integer"
  39774. },
  39775. "agoodscode": {
  39776. "description": "竞拍商品代码",
  39777. "type": "string"
  39778. },
  39779. "agoodsname": {
  39780. "description": "竞拍商品名称",
  39781. "type": "string"
  39782. },
  39783. "amount": {
  39784. "description": "资金金额",
  39785. "type": "number"
  39786. },
  39787. "amountadjusttype": {
  39788. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39789. "type": "integer"
  39790. },
  39791. "autoid": {
  39792. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39793. "type": "integer"
  39794. },
  39795. "balance": {
  39796. "description": "期初余额",
  39797. "type": "number"
  39798. },
  39799. "businesscode": {
  39800. "description": "业务编号",
  39801. "type": "integer"
  39802. },
  39803. "createtime": {
  39804. "description": "发生时间",
  39805. "type": "string"
  39806. },
  39807. "currencyid": {
  39808. "description": "币种ID",
  39809. "type": "integer"
  39810. },
  39811. "currentbalance": {
  39812. "description": "期末余额(变动后金额)",
  39813. "type": "number"
  39814. },
  39815. "dgoodscode": {
  39816. "description": "交割商品代码",
  39817. "type": "string"
  39818. },
  39819. "dgoodsname": {
  39820. "description": "交割商品名称",
  39821. "type": "string"
  39822. },
  39823. "goodscode": {
  39824. "description": "商品代码",
  39825. "type": "string"
  39826. },
  39827. "goodsid": {
  39828. "description": "商品ID",
  39829. "type": "integer"
  39830. },
  39831. "goodsname": {
  39832. "description": "商品名称",
  39833. "type": "string"
  39834. },
  39835. "histradedate": {
  39836. "description": "历史交易日",
  39837. "type": "string"
  39838. },
  39839. "isvaliddata": {
  39840. "description": "是否有效 - 0:无效 1:有效",
  39841. "type": "integer"
  39842. },
  39843. "marketid": {
  39844. "description": "市场ID",
  39845. "type": "integer"
  39846. },
  39847. "marketname": {
  39848. "description": "市场名称",
  39849. "type": "string"
  39850. },
  39851. "moneyticket": {
  39852. "description": "资金流水号:银行端流水号",
  39853. "type": "integer"
  39854. },
  39855. "operatetype": {
  39856. "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:营销收款",
  39857. "type": "integer"
  39858. },
  39859. "relationorderid": {
  39860. "description": "关联单号",
  39861. "type": "string"
  39862. },
  39863. "remark": {
  39864. "description": "备注",
  39865. "type": "string"
  39866. },
  39867. "trademode": {
  39868. "description": "交易模式",
  39869. "type": "integer"
  39870. }
  39871. }
  39872. },
  39873. "trade.QueryRecieptOrderRsp": {
  39874. "type": "object",
  39875. "required": [
  39876. "ordertime"
  39877. ],
  39878. "properties": {
  39879. "accountName": {
  39880. "description": "所属账号名称(已脱敏)",
  39881. "type": "string"
  39882. },
  39883. "accountid": {
  39884. "description": "资金账号",
  39885. "type": "integer"
  39886. },
  39887. "buyorsell": {
  39888. "description": "方向 - 0:买 1:卖",
  39889. "type": "integer"
  39890. },
  39891. "enableqty": {
  39892. "description": "可摘数量",
  39893. "type": "integer"
  39894. },
  39895. "goodscode": {
  39896. "description": "商品代码",
  39897. "type": "string"
  39898. },
  39899. "goodsid": {
  39900. "description": "商品ID",
  39901. "type": "integer"
  39902. },
  39903. "goodsname": {
  39904. "description": "商品名称",
  39905. "type": "string"
  39906. },
  39907. "orderid": {
  39908. "description": "委托单号",
  39909. "type": "string"
  39910. },
  39911. "orderprice": {
  39912. "description": "委托价格",
  39913. "type": "number"
  39914. },
  39915. "ordertime": {
  39916. "description": "委托时间",
  39917. "type": "string"
  39918. },
  39919. "tradedate": {
  39920. "description": "交易日(yyyyMMdd)",
  39921. "type": "string"
  39922. }
  39923. }
  39924. },
  39925. "user.LoginQueryRsp": {
  39926. "type": "object",
  39927. "properties": {
  39928. "areaRoles": {
  39929. "description": "所属角色信息",
  39930. "type": "array",
  39931. "items": {
  39932. "$ref": "#/definitions/models.Arearole"
  39933. }
  39934. },
  39935. "externalExchanges": {
  39936. "description": "外部交易所",
  39937. "type": "array",
  39938. "items": {
  39939. "$ref": "#/definitions/models.Externalexchange"
  39940. }
  39941. },
  39942. "goodsgroups": {
  39943. "description": "商品组",
  39944. "type": "array",
  39945. "items": {
  39946. "$ref": "#/definitions/models.Goodsgroup"
  39947. }
  39948. },
  39949. "loginAccount": {
  39950. "description": "登录账号",
  39951. "$ref": "#/definitions/models.Loginaccount"
  39952. },
  39953. "markets": {
  39954. "description": "市场",
  39955. "type": "array",
  39956. "items": {
  39957. "$ref": "#/definitions/models.Market"
  39958. }
  39959. },
  39960. "systemParams": {
  39961. "description": "系统参数",
  39962. "type": "array",
  39963. "items": {
  39964. "$ref": "#/definitions/models.Systemparam"
  39965. }
  39966. },
  39967. "userAccount": {
  39968. "description": "用户账号",
  39969. "$ref": "#/definitions/models.Useraccount"
  39970. },
  39971. "userInfo": {
  39972. "description": "用户信息",
  39973. "$ref": "#/definitions/models.Userinfo"
  39974. },
  39975. "username": {
  39976. "description": "用户姓名",
  39977. "type": "string"
  39978. }
  39979. }
  39980. }
  39981. },
  39982. "securityDefinitions": {
  39983. "ApiKeyAuth": {
  39984. "type": "apiKey",
  39985. "name": "Authorization",
  39986. "in": "header"
  39987. }
  39988. }
  39989. }`
  39990. type swaggerInfo struct {
  39991. Version string
  39992. Host string
  39993. BasePath string
  39994. Schemes []string
  39995. Title string
  39996. Description string
  39997. }
  39998. // SwaggerInfo holds exported Swagger Info so clients can modify it
  39999. var SwaggerInfo = swaggerInfo{
  40000. Version: "1.0",
  40001. Host: "",
  40002. BasePath: "/api",
  40003. Schemes: []string{},
  40004. Title: "MTP2.0 查询服务 API",
  40005. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  40006. }
  40007. type s struct{}
  40008. func (s *s) ReadDoc() string {
  40009. sInfo := SwaggerInfo
  40010. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  40011. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  40012. "marshal": func(v interface{}) string {
  40013. a, _ := json.Marshal(v)
  40014. return string(a)
  40015. },
  40016. }).Parse(doc)
  40017. if err != nil {
  40018. return doc
  40019. }
  40020. var tpl bytes.Buffer
  40021. if err := t.Execute(&tpl, sInfo); err != nil {
  40022. return doc
  40023. }
  40024. return tpl.String()
  40025. }
  40026. func init() {
  40027. swag.Register(swag.Name, &s{})
  40028. }