docs.go 1.4 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032
  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. "goodscode": {
  17018. "description": "商品代码(内部)",
  17019. "type": "string"
  17020. },
  17021. "goodsid": {
  17022. "description": "商品ID(自增ID SEQ_GOODS)",
  17023. "type": "integer"
  17024. },
  17025. "goodsname": {
  17026. "description": "商品名称",
  17027. "type": "string"
  17028. },
  17029. "last": {
  17030. "description": "现价",
  17031. "type": "number"
  17032. },
  17033. "marketid": {
  17034. "description": "所属市场ID",
  17035. "type": "integer"
  17036. },
  17037. "openaverageprice": {
  17038. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  17039. "type": "number"
  17040. },
  17041. "opencost": {
  17042. "description": "开仓成本",
  17043. "type": "number"
  17044. },
  17045. "openpl": {
  17046. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17047. "type": "number"
  17048. },
  17049. "outgoodscode": {
  17050. "description": "商品代码(外部)",
  17051. "type": "string"
  17052. },
  17053. "positionaverageprice": {
  17054. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  17055. "type": "number"
  17056. },
  17057. "positioncost": {
  17058. "description": "持仓成本",
  17059. "type": "number"
  17060. },
  17061. "positionpl": {
  17062. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17063. "type": "number"
  17064. },
  17065. "positionplrate": {
  17066. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  17067. "type": "number"
  17068. },
  17069. "usedmargin": {
  17070. "description": "占用保证金",
  17071. "type": "number"
  17072. }
  17073. }
  17074. },
  17075. "ermcp.RealtimeExposurePositionRsp": {
  17076. "type": "object",
  17077. "properties": {
  17078. "agreeunit": {
  17079. "description": "合约单位",
  17080. "type": "string"
  17081. },
  17082. "areauserid": {
  17083. "description": "所属机构id",
  17084. "type": "integer"
  17085. },
  17086. "convertratio": {
  17087. "description": "期货品种系数(折算系数)",
  17088. "type": "number"
  17089. },
  17090. "curqty": {
  17091. "description": "当前持仓",
  17092. "type": "integer"
  17093. },
  17094. "diffhedgeqty": {
  17095. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  17096. "type": "number"
  17097. },
  17098. "diffqty": {
  17099. "description": "持仓变动量=当前持仓-昨日持仓",
  17100. "type": "integer"
  17101. },
  17102. "goodscode": {
  17103. "description": "商品代码",
  17104. "type": "string"
  17105. },
  17106. "goodsid": {
  17107. "description": "商品id",
  17108. "type": "integer"
  17109. },
  17110. "goodsname": {
  17111. "description": "商品名称",
  17112. "type": "string"
  17113. },
  17114. "middlegoodsid": {
  17115. "description": "套保商品id",
  17116. "type": "integer"
  17117. },
  17118. "ydqty": {
  17119. "description": "昨日持仓",
  17120. "type": "integer"
  17121. }
  17122. }
  17123. },
  17124. "ermcp.RealtimeExposureRsp": {
  17125. "type": "object",
  17126. "properties": {
  17127. "AreaUserID": {
  17128. "description": "所属机构",
  17129. "type": "integer"
  17130. },
  17131. "BuyFutureQty": {
  17132. "description": "买入期货数量",
  17133. "type": "number"
  17134. },
  17135. "BuyPlanQty": {
  17136. "description": "采购计划数量",
  17137. "type": "number"
  17138. },
  17139. "BuyPricedQty": {
  17140. "description": "采购合同已定价数量",
  17141. "type": "number"
  17142. },
  17143. "MiddleGoodsCode": {
  17144. "description": "套保品种代码",
  17145. "type": "string"
  17146. },
  17147. "MiddleGoodsHedgeRatio": {
  17148. "description": "套保比例",
  17149. "type": "number"
  17150. },
  17151. "MiddleGoodsID": {
  17152. "description": "套保品种",
  17153. "type": "integer"
  17154. },
  17155. "MiddleGoodsName": {
  17156. "description": "套保品种名称",
  17157. "type": "string"
  17158. },
  17159. "NeedHedgeExposoure": {
  17160. "description": "应套保敞口(套保敞口)",
  17161. "type": "number"
  17162. },
  17163. "NeedHedgeRatio": {
  17164. "description": "应套保敞口比例",
  17165. "type": "number"
  17166. },
  17167. "OriBuyFutureQty": {
  17168. "description": "期初买入期货数量",
  17169. "type": "number"
  17170. },
  17171. "OriBuyPlanQty": {
  17172. "description": "期初采购计划数量",
  17173. "type": "number"
  17174. },
  17175. "OriBuyPricedQty": {
  17176. "description": "期初采购合同已定价数量",
  17177. "type": "number"
  17178. },
  17179. "OriSellFutureQty": {
  17180. "description": "期初卖出期货数量",
  17181. "type": "number"
  17182. },
  17183. "OriSellPlanQty": {
  17184. "description": "期初销售计划数量",
  17185. "type": "number"
  17186. },
  17187. "OriSellPricedQty": {
  17188. "description": "期初销售合同已定价数量",
  17189. "type": "number"
  17190. },
  17191. "SellFutureQty": {
  17192. "description": "卖出期货数量",
  17193. "type": "number"
  17194. },
  17195. "SellPlanQty": {
  17196. "description": "销售计划数量",
  17197. "type": "number"
  17198. },
  17199. "SellPricedQty": {
  17200. "description": "销售合同已定价数量",
  17201. "type": "number"
  17202. },
  17203. "TotalExposure": {
  17204. "description": "总敞口 平安:净敞口",
  17205. "type": "number"
  17206. },
  17207. "TotalFutureQty": {
  17208. "description": "期货总量 平安:保值净持仓量",
  17209. "type": "number"
  17210. },
  17211. "TotalHedgeRatio": {
  17212. "description": "敞口比例",
  17213. "type": "number"
  17214. },
  17215. "TotalNeedHedgeQty": {
  17216. "description": "应套保总量(现货应套保总量)",
  17217. "type": "number"
  17218. },
  17219. "TotalSpotQty": {
  17220. "description": "现货总量 平安:采销定价净值",
  17221. "type": "number"
  17222. },
  17223. "arbitrageqty": {
  17224. "description": "套利量",
  17225. "type": "number"
  17226. },
  17227. "diffArbitrageQty": {
  17228. "description": "套利变动量",
  17229. "type": "number"
  17230. },
  17231. "diffExposoureQty": {
  17232. "description": "变动量(套保敞口)",
  17233. "type": "number"
  17234. },
  17235. "diffFutuQty": {
  17236. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  17237. "type": "number"
  17238. },
  17239. "diffHedgeQty": {
  17240. "description": "套保变动量",
  17241. "type": "number"
  17242. },
  17243. "diffQty": {
  17244. "description": "变动量(总敞口) 平安:净敞口今日变动",
  17245. "type": "number"
  17246. },
  17247. "diffSpotHedgeQty": {
  17248. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  17249. "type": "number"
  17250. },
  17251. "diffSpotQty": {
  17252. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  17253. "type": "number"
  17254. },
  17255. "enumdicname": {
  17256. "description": "单位名称",
  17257. "type": "string"
  17258. },
  17259. "hedgeqty": {
  17260. "description": "套保量",
  17261. "type": "number"
  17262. },
  17263. "needarbitrageqty": {
  17264. "description": "应套利量",
  17265. "type": "number"
  17266. },
  17267. "needarbitrageratio": {
  17268. "description": "套利比例",
  17269. "type": "number"
  17270. },
  17271. "needhedgeqty": {
  17272. "description": "应套保量",
  17273. "type": "number"
  17274. },
  17275. "oriTotalFutuQty": {
  17276. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17277. "type": "number"
  17278. },
  17279. "oriTotalSpotQty": {
  17280. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17281. "type": "number"
  17282. },
  17283. "oriarbitrageqty": {
  17284. "description": "期初套利量",
  17285. "type": "number"
  17286. },
  17287. "orihedgeqty": {
  17288. "description": "期初套保量",
  17289. "type": "number"
  17290. },
  17291. "orineedhedgeexposoure": {
  17292. "description": "期初套保敞口",
  17293. "type": "number"
  17294. },
  17295. "oritotalexposure": {
  17296. "description": "期初总敞口",
  17297. "type": "number"
  17298. },
  17299. "oritotalfutureqty": {
  17300. "description": "期初期货总量",
  17301. "type": "number"
  17302. },
  17303. "oritotalneedhedgeqty": {
  17304. "description": "期初现货应套保量",
  17305. "type": "number"
  17306. }
  17307. }
  17308. },
  17309. "erms2.QueryArbitrageStrategyRsp": {
  17310. "type": "object",
  17311. "required": [
  17312. "asapplyid"
  17313. ],
  17314. "properties": {
  17315. "applybasis": {
  17316. "description": "申请基差",
  17317. "type": "number"
  17318. },
  17319. "asapplyid": {
  17320. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  17321. "type": "string"
  17322. },
  17323. "asname": {
  17324. "description": "策略名称",
  17325. "type": "string"
  17326. },
  17327. "asno": {
  17328. "description": "策略编号",
  17329. "type": "string"
  17330. },
  17331. "basischangepl": {
  17332. "description": "基差变动损益[结算更新]",
  17333. "type": "number"
  17334. },
  17335. "biztype": {
  17336. "description": "业务类型 - 1:正向套利 -1:反向套利",
  17337. "type": "integer"
  17338. },
  17339. "closetradedate": {
  17340. "description": "完结交易日(yyyyMMdd)",
  17341. "type": "string"
  17342. },
  17343. "curbasis": {
  17344. "description": "当前基差[结算更新]",
  17345. "type": "number"
  17346. },
  17347. "deliverygoodsid": {
  17348. "description": "现货品种ID",
  17349. "type": "integer"
  17350. },
  17351. "futureavgprice": {
  17352. "description": "期货建仓均价",
  17353. "type": "number"
  17354. },
  17355. "futurecloseamount": {
  17356. "description": "期货平仓金额",
  17357. "type": "number"
  17358. },
  17359. "futurecloseqty": {
  17360. "description": "期货平仓数量",
  17361. "type": "number"
  17362. },
  17363. "futureopenamount": {
  17364. "description": "期货开仓金额",
  17365. "type": "number"
  17366. },
  17367. "futureopenqty": {
  17368. "description": "期货开仓数量",
  17369. "type": "number"
  17370. },
  17371. "futurepl": {
  17372. "description": "期货总盈亏[结算更新]",
  17373. "type": "number"
  17374. },
  17375. "futureqty": {
  17376. "description": "期货持仓数量",
  17377. "type": "number"
  17378. },
  17379. "futurequote": {
  17380. "description": "期货额度",
  17381. "type": "number"
  17382. },
  17383. "goodsgroupid": {
  17384. "description": "期货品种ID",
  17385. "type": "integer"
  17386. },
  17387. "marketid": {
  17388. "description": "市场ID",
  17389. "type": "integer"
  17390. },
  17391. "netexposure": {
  17392. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17393. "type": "number"
  17394. },
  17395. "netexposurepl": {
  17396. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17397. "type": "number"
  17398. },
  17399. "netexposurerate": {
  17400. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17401. "type": "number"
  17402. },
  17403. "openbasis": {
  17404. "description": "建仓基差",
  17405. "type": "number"
  17406. },
  17407. "pricedspotqty": {
  17408. "description": "已定价现货数量",
  17409. "type": "number"
  17410. },
  17411. "pricedspotqtynotax": {
  17412. "description": "已定价现货不含税数量",
  17413. "type": "number"
  17414. },
  17415. "remark": {
  17416. "description": "备注",
  17417. "type": "string"
  17418. },
  17419. "spotavgprice": {
  17420. "description": "现货均价",
  17421. "type": "number"
  17422. },
  17423. "spotbuyamount": {
  17424. "description": "现货采购金额",
  17425. "type": "number"
  17426. },
  17427. "spotbuyqty": {
  17428. "description": "现货采购数量",
  17429. "type": "number"
  17430. },
  17431. "spotpl": {
  17432. "description": "现货总盈亏[结算更新]",
  17433. "type": "number"
  17434. },
  17435. "spotquota": {
  17436. "description": "现货额度",
  17437. "type": "number"
  17438. },
  17439. "spotsellamount": {
  17440. "description": "现货销售金额",
  17441. "type": "number"
  17442. },
  17443. "spotsellqty": {
  17444. "description": "现货销售数量",
  17445. "type": "number"
  17446. },
  17447. "spotusedquota": {
  17448. "description": "现货占用资金",
  17449. "type": "number"
  17450. },
  17451. "strategystatus": {
  17452. "description": "策略状态 - 0:未结束 1:已结束",
  17453. "type": "integer"
  17454. },
  17455. "totalpl": {
  17456. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17457. "type": "number"
  17458. },
  17459. "tradedate": {
  17460. "description": "交易日(yyyyMMdd)",
  17461. "type": "string"
  17462. },
  17463. "updatetime": {
  17464. "description": "更新时间",
  17465. "type": "string"
  17466. },
  17467. "usedquota": {
  17468. "description": "已占用资金",
  17469. "type": "number"
  17470. },
  17471. "userid": {
  17472. "description": "所属机构",
  17473. "type": "integer"
  17474. }
  17475. }
  17476. },
  17477. "erms2.QueryInnerTradeDetailRsp": {
  17478. "type": "object",
  17479. "required": [
  17480. "asapplyid",
  17481. "buyorsell",
  17482. "goodscode",
  17483. "goodsgroupid",
  17484. "goodsgroupname",
  17485. "goodsname",
  17486. "tradeid"
  17487. ],
  17488. "properties": {
  17489. "accountid": {
  17490. "description": "账号ID",
  17491. "type": "integer"
  17492. },
  17493. "agreeunit": {
  17494. "description": "合约单位",
  17495. "type": "number"
  17496. },
  17497. "asapplyid": {
  17498. "description": "策略申请ID",
  17499. "type": "integer"
  17500. },
  17501. "asname": {
  17502. "description": "策略名称",
  17503. "type": "string"
  17504. },
  17505. "asno": {
  17506. "description": "策略编号",
  17507. "type": "string"
  17508. },
  17509. "buyorsell": {
  17510. "description": "方向 - 0:买 1:卖",
  17511. "type": "integer"
  17512. },
  17513. "channelbuildtype": {
  17514. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  17515. "type": "integer"
  17516. },
  17517. "closetype": {
  17518. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17519. "type": "integer"
  17520. },
  17521. "decimalplace": {
  17522. "description": "报价小数位",
  17523. "type": "integer"
  17524. },
  17525. "detailtype": {
  17526. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  17527. "type": "integer"
  17528. },
  17529. "exexchangecode": {
  17530. "description": "外部交易所代码",
  17531. "type": "string"
  17532. },
  17533. "exexchangename": {
  17534. "description": "外部交易所名称",
  17535. "type": "string"
  17536. },
  17537. "goodscode": {
  17538. "description": "商品代码(合约)",
  17539. "type": "string"
  17540. },
  17541. "goodsgroupid": {
  17542. "description": "商品组ID(品种ID)",
  17543. "type": "integer"
  17544. },
  17545. "goodsgroupname": {
  17546. "description": "商品组名称(品种)",
  17547. "type": "string"
  17548. },
  17549. "goodsid": {
  17550. "description": "商品ID",
  17551. "type": "integer"
  17552. },
  17553. "goodsname": {
  17554. "description": "商品名称(合约)",
  17555. "type": "string"
  17556. },
  17557. "goodunit": {
  17558. "description": "报价单位",
  17559. "type": "string"
  17560. },
  17561. "marketid": {
  17562. "description": "市场ID",
  17563. "type": "integer"
  17564. },
  17565. "orderid": {
  17566. "description": "委托单号",
  17567. "type": "string"
  17568. },
  17569. "outgoodscode": {
  17570. "description": "商品代码(外部)",
  17571. "type": "string"
  17572. },
  17573. "relatedouttradeid": {
  17574. "description": "关联外部成交单ID",
  17575. "type": "string"
  17576. },
  17577. "remark": {
  17578. "description": "备注",
  17579. "type": "string"
  17580. },
  17581. "spotcontractid": {
  17582. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  17583. "type": "integer"
  17584. },
  17585. "spotcontractno": {
  17586. "description": "现货合同编号",
  17587. "type": "string"
  17588. },
  17589. "tradeid": {
  17590. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17591. "type": "string"
  17592. },
  17593. "tradeprice": {
  17594. "description": "成交价格",
  17595. "type": "number"
  17596. },
  17597. "tradeqty": {
  17598. "description": "成交数量",
  17599. "type": "integer"
  17600. },
  17601. "tradetime": {
  17602. "description": "成交时间",
  17603. "type": "string"
  17604. },
  17605. "updatetime": {
  17606. "description": "更新时间",
  17607. "type": "string"
  17608. }
  17609. }
  17610. },
  17611. "erms2.QuerySpotContractRsp": {
  17612. "type": "object",
  17613. "required": [
  17614. "spotcontractid"
  17615. ],
  17616. "properties": {
  17617. "accountid": {
  17618. "description": "资金账户ID",
  17619. "type": "integer"
  17620. },
  17621. "areauserid": {
  17622. "description": "所属机构",
  17623. "type": "integer"
  17624. },
  17625. "closedate": {
  17626. "description": "终止日期",
  17627. "type": "string"
  17628. },
  17629. "closeremark": {
  17630. "description": "结束备注",
  17631. "type": "string"
  17632. },
  17633. "closetradedate": {
  17634. "description": "完结交易日(yyyyMMdd)",
  17635. "type": "string"
  17636. },
  17637. "closetype": {
  17638. "description": "终止类型 - 1:违约 2:提前终止",
  17639. "type": "integer"
  17640. },
  17641. "contractamount": {
  17642. "description": "合同金额",
  17643. "type": "number"
  17644. },
  17645. "contractattachment": {
  17646. "description": "合同附件",
  17647. "type": "string"
  17648. },
  17649. "contractno": {
  17650. "description": "现货合同编号",
  17651. "type": "string"
  17652. },
  17653. "contractqty": {
  17654. "description": "合同数量(数值) (用于计算)",
  17655. "type": "number"
  17656. },
  17657. "contractqtychar": {
  17658. "description": "合同数量\\已订价数量 (用于显示)",
  17659. "type": "string"
  17660. },
  17661. "contractstatus": {
  17662. "description": "合同状态 - 0:未结束 1:已结束",
  17663. "type": "integer"
  17664. },
  17665. "contracttype": {
  17666. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  17667. "type": "integer"
  17668. },
  17669. "customeraccountid": {
  17670. "description": "客户资金账户ID",
  17671. "type": "integer"
  17672. },
  17673. "customeruserid": {
  17674. "description": "客户ID",
  17675. "type": "integer"
  17676. },
  17677. "deliverygoodsdesc": {
  17678. "description": "品种说明",
  17679. "type": "string"
  17680. },
  17681. "deliverygoodsid": {
  17682. "description": "现货品种ID",
  17683. "type": "integer"
  17684. },
  17685. "handlestatus": {
  17686. "description": "处理状态",
  17687. "type": "integer"
  17688. },
  17689. "invoiceatt": {
  17690. "description": "发票附件",
  17691. "type": "string"
  17692. },
  17693. "invoicedatetime": {
  17694. "description": "开收票更新时间",
  17695. "type": "string"
  17696. },
  17697. "invoiceopentime": {
  17698. "description": "开票时间",
  17699. "type": "string"
  17700. },
  17701. "invoiceremark": {
  17702. "description": "发票备注",
  17703. "type": "string"
  17704. },
  17705. "invoicestatus": {
  17706. "description": "开收票状态 - 0:未开票 1:已开票",
  17707. "type": "integer"
  17708. },
  17709. "lastdate": {
  17710. "description": "交货时间",
  17711. "type": "string"
  17712. },
  17713. "marketid": {
  17714. "description": "市场ID",
  17715. "type": "integer"
  17716. },
  17717. "paydatetime": {
  17718. "description": "收付款更新时间",
  17719. "type": "string"
  17720. },
  17721. "payremark": {
  17722. "description": "收付款备注",
  17723. "type": "string"
  17724. },
  17725. "paystatus": {
  17726. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17727. "type": "integer"
  17728. },
  17729. "positionqty": {
  17730. "description": "头寸数量 - 合同数量去小数部分",
  17731. "type": "integer"
  17732. },
  17733. "producttype": {
  17734. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17735. "type": "integer"
  17736. },
  17737. "relatedqty": {
  17738. "description": "已关联数量",
  17739. "type": "number"
  17740. },
  17741. "relatedstatus": {
  17742. "description": "关联完结状态 - 0:未结束 1:已结束",
  17743. "type": "integer"
  17744. },
  17745. "remark": {
  17746. "description": "备注",
  17747. "type": "string"
  17748. },
  17749. "signdate": {
  17750. "description": "签订日期",
  17751. "type": "string"
  17752. },
  17753. "spotcontractid": {
  17754. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17755. "type": "string"
  17756. },
  17757. "spotdatetime": {
  17758. "description": "收发货更新时间",
  17759. "type": "string"
  17760. },
  17761. "spotprice": {
  17762. "description": "价格",
  17763. "type": "number"
  17764. },
  17765. "spotremark": {
  17766. "description": "收发货备注",
  17767. "type": "string"
  17768. },
  17769. "spotstatus": {
  17770. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17771. "type": "integer"
  17772. },
  17773. "tradedate": {
  17774. "description": "交易日(yyyyMMdd)",
  17775. "type": "string"
  17776. },
  17777. "userid": {
  17778. "description": "业务员用户ID",
  17779. "type": "integer"
  17780. },
  17781. "warehouseid": {
  17782. "description": "仓库ID",
  17783. "type": "integer"
  17784. },
  17785. "wrfactortypeid": {
  17786. "description": "仓单要素类型ID",
  17787. "type": "integer"
  17788. },
  17789. "wrstandardid": {
  17790. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17791. "type": "integer"
  17792. }
  17793. }
  17794. },
  17795. "erms3.AddErms2ASApplyReq": {
  17796. "type": "object",
  17797. "required": [
  17798. "asapplyid"
  17799. ],
  17800. "properties": {
  17801. "applybasis": {
  17802. "description": "申请基差",
  17803. "type": "number"
  17804. },
  17805. "applystatus": {
  17806. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17807. "type": "integer"
  17808. },
  17809. "asapplyid": {
  17810. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  17811. "type": "integer"
  17812. },
  17813. "asname": {
  17814. "description": "策略名称",
  17815. "type": "string"
  17816. },
  17817. "asno": {
  17818. "description": "策略编号",
  17819. "type": "string"
  17820. },
  17821. "auditid": {
  17822. "description": "审核人",
  17823. "type": "integer"
  17824. },
  17825. "auditremark": {
  17826. "description": "审核备注",
  17827. "type": "string"
  17828. },
  17829. "audittime": {
  17830. "description": "审核时间",
  17831. "type": "string"
  17832. },
  17833. "biztype": {
  17834. "description": "业务类型 - 1:正向套利 2:反向套利",
  17835. "type": "integer"
  17836. },
  17837. "createtime": {
  17838. "description": "创建时间",
  17839. "type": "string"
  17840. },
  17841. "creatorid": {
  17842. "description": "创建人",
  17843. "type": "integer"
  17844. },
  17845. "deliverygoodsid": {
  17846. "description": "现货品种ID",
  17847. "type": "integer"
  17848. },
  17849. "futurequote": {
  17850. "description": "期货额度",
  17851. "type": "number"
  17852. },
  17853. "goodsgroupid": {
  17854. "description": "期货品种ID",
  17855. "type": "integer"
  17856. },
  17857. "marketid": {
  17858. "description": "市场ID",
  17859. "type": "integer"
  17860. },
  17861. "remark": {
  17862. "description": "备注",
  17863. "type": "string"
  17864. },
  17865. "spotquota": {
  17866. "description": "现货额度",
  17867. "type": "number"
  17868. },
  17869. "tradedate": {
  17870. "description": "交易日(yyyyMMdd)",
  17871. "type": "string"
  17872. },
  17873. "userid": {
  17874. "description": "所属机构",
  17875. "type": "integer"
  17876. }
  17877. }
  17878. },
  17879. "erms3.AddErms2SpotTradeApplyReq": {
  17880. "type": "object",
  17881. "required": [
  17882. "spottradeid"
  17883. ],
  17884. "properties": {
  17885. "applyjsondetail": {
  17886. "description": "申请明细(JSON)",
  17887. "type": "string"
  17888. },
  17889. "applystatus": {
  17890. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17891. "type": "integer"
  17892. },
  17893. "areauserid": {
  17894. "description": "所属机构",
  17895. "type": "integer"
  17896. },
  17897. "auditid": {
  17898. "description": "审核人",
  17899. "type": "integer"
  17900. },
  17901. "auditremark": {
  17902. "description": "审核备注",
  17903. "type": "string"
  17904. },
  17905. "audittime": {
  17906. "description": "审核时间",
  17907. "type": "string"
  17908. },
  17909. "createtime": {
  17910. "description": "创建时间",
  17911. "type": "string"
  17912. },
  17913. "creatorid": {
  17914. "description": "创建人",
  17915. "type": "integer"
  17916. },
  17917. "deliverygoodsid": {
  17918. "description": "现货品种ID",
  17919. "type": "integer"
  17920. },
  17921. "futureaccountid": {
  17922. "description": "期货资金账户",
  17923. "type": "integer"
  17924. },
  17925. "goodsgroupid": {
  17926. "description": "期货品种",
  17927. "type": "integer"
  17928. },
  17929. "marketid": {
  17930. "description": "市场ID",
  17931. "type": "integer"
  17932. },
  17933. "remark": {
  17934. "description": "备注",
  17935. "type": "string"
  17936. },
  17937. "spotaccountid": {
  17938. "description": "现货资金账户",
  17939. "type": "integer"
  17940. },
  17941. "spottradeid": {
  17942. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17943. "type": "integer"
  17944. },
  17945. "spottradename": {
  17946. "description": "业务名称",
  17947. "type": "string"
  17948. },
  17949. "spottradeno": {
  17950. "description": "业务编号",
  17951. "type": "string"
  17952. },
  17953. "tradedate": {
  17954. "description": "交易日(yyyyMMdd)",
  17955. "type": "string"
  17956. },
  17957. "wrstandardid": {
  17958. "description": "仓单标准ID",
  17959. "type": "integer"
  17960. }
  17961. }
  17962. },
  17963. "erms3.AddSpotContractApplyReq": {
  17964. "type": "object",
  17965. "required": [
  17966. "accountid",
  17967. "areauserid",
  17968. "contractno",
  17969. "contracttype",
  17970. "customeraccountid",
  17971. "customeruserid",
  17972. "details",
  17973. "orimargin",
  17974. "signdate"
  17975. ],
  17976. "properties": {
  17977. "accountid": {
  17978. "description": "资金账户ID",
  17979. "type": "integer"
  17980. },
  17981. "areauserid": {
  17982. "description": "所属机构",
  17983. "type": "integer"
  17984. },
  17985. "contractattachment": {
  17986. "description": "合同附件",
  17987. "type": "string"
  17988. },
  17989. "contractno": {
  17990. "description": "现货合同编号",
  17991. "type": "string"
  17992. },
  17993. "contracttype": {
  17994. "description": "现货合同类型 - 1:采购 -1:销售",
  17995. "type": "integer"
  17996. },
  17997. "creatorid": {
  17998. "description": "申请人",
  17999. "type": "integer"
  18000. },
  18001. "customeraccountid": {
  18002. "description": "客户资金账户ID",
  18003. "type": "integer"
  18004. },
  18005. "customeruserid": {
  18006. "description": "客户ID",
  18007. "type": "integer"
  18008. },
  18009. "details": {
  18010. "description": "明细",
  18011. "type": "array",
  18012. "items": {
  18013. "$ref": "#/definitions/erms3.SoptContractDetail"
  18014. }
  18015. },
  18016. "orimargin": {
  18017. "description": "初始保证金",
  18018. "type": "number"
  18019. },
  18020. "remark": {
  18021. "description": "备注",
  18022. "type": "string"
  18023. },
  18024. "signdate": {
  18025. "description": "签订日期",
  18026. "type": "string"
  18027. }
  18028. }
  18029. },
  18030. "erms3.AddSpotContractApplyRsp": {
  18031. "type": "object",
  18032. "required": [
  18033. "contractno"
  18034. ],
  18035. "properties": {
  18036. "contractno": {
  18037. "description": "现货合同编号",
  18038. "type": "string"
  18039. },
  18040. "spotcontractid": {
  18041. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  18042. "type": "integer"
  18043. }
  18044. }
  18045. },
  18046. "erms3.AddUserInfoApplyReq": {
  18047. "type": "object",
  18048. "required": [
  18049. "userid"
  18050. ],
  18051. "properties": {
  18052. "accountid": {
  18053. "description": "交易系统帐号Id (加密存储)",
  18054. "type": "integer"
  18055. },
  18056. "areacode": {
  18057. "description": "机构代码",
  18058. "type": "string"
  18059. },
  18060. "areaid": {
  18061. "description": "机构Id",
  18062. "type": "integer"
  18063. },
  18064. "attachment1": {
  18065. "description": "附件1",
  18066. "type": "string"
  18067. },
  18068. "attachment2": {
  18069. "description": "附件2",
  18070. "type": "string"
  18071. },
  18072. "attachment3": {
  18073. "description": "附件3",
  18074. "type": "string"
  18075. },
  18076. "attachment4": {
  18077. "description": "附件4",
  18078. "type": "string"
  18079. },
  18080. "attachment5": {
  18081. "description": "附件5",
  18082. "type": "string"
  18083. },
  18084. "auditedby": {
  18085. "description": "审核人",
  18086. "type": "string"
  18087. },
  18088. "auditime": {
  18089. "description": "审核时间",
  18090. "type": "string"
  18091. },
  18092. "auditsrc": {
  18093. "description": "审核来源 - 1:管理端 2:终端",
  18094. "type": "integer"
  18095. },
  18096. "bankaccount": {
  18097. "description": "银行帐号 (加密存储)",
  18098. "type": "string"
  18099. },
  18100. "bankaccountname": {
  18101. "description": "收款人名称",
  18102. "type": "string"
  18103. },
  18104. "bankcardbackphotourl": {
  18105. "description": "银行卡背面照地址",
  18106. "type": "string"
  18107. },
  18108. "bankcardfrontphotourl": {
  18109. "description": "银行卡正面照地址",
  18110. "type": "string"
  18111. },
  18112. "bankid": {
  18113. "description": "银行编码",
  18114. "type": "string"
  18115. },
  18116. "bankname": {
  18117. "description": "银行名称",
  18118. "type": "string"
  18119. },
  18120. "bankpictureurl": {
  18121. "description": "银行卡正面地址",
  18122. "type": "string"
  18123. },
  18124. "biznature": {
  18125. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18126. "type": "integer"
  18127. },
  18128. "bizscope": {
  18129. "description": "企业经营范围(企业)",
  18130. "type": "string"
  18131. },
  18132. "biztype": {
  18133. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18134. "type": "integer"
  18135. },
  18136. "brokerid": {
  18137. "description": "经纪人ID(加密存储)",
  18138. "type": "string"
  18139. },
  18140. "cardaddress": {
  18141. "description": "证件地址 (加密存储)",
  18142. "type": "string"
  18143. },
  18144. "cardbackphotourl": {
  18145. "description": "背面证件照地址",
  18146. "type": "string"
  18147. },
  18148. "cardfrontphotourl": {
  18149. "description": "正面证件照地址",
  18150. "type": "string"
  18151. },
  18152. "cardnum": {
  18153. "description": "证件号码 (加密存储)",
  18154. "type": "string"
  18155. },
  18156. "cardtype": {
  18157. "description": "证件类型",
  18158. "type": "integer"
  18159. },
  18160. "cityid": {
  18161. "description": "市",
  18162. "type": "integer"
  18163. },
  18164. "company": {
  18165. "description": "公司(个人)",
  18166. "type": "string"
  18167. },
  18168. "contactcardbackphotourl": {
  18169. "description": "联系人证件背面图片地址",
  18170. "type": "string"
  18171. },
  18172. "contactcardfrontphotourl": {
  18173. "description": "联系人证件正面图片地址",
  18174. "type": "string"
  18175. },
  18176. "contactname": {
  18177. "description": "联系人",
  18178. "type": "string"
  18179. },
  18180. "countryid": {
  18181. "description": "国家",
  18182. "type": "integer"
  18183. },
  18184. "createtime": {
  18185. "description": "开户申请时间",
  18186. "type": "string"
  18187. },
  18188. "cusbankid": {
  18189. "description": "签约类型",
  18190. "type": "string"
  18191. },
  18192. "cusbankname": {
  18193. "description": "签约类型名称",
  18194. "type": "string"
  18195. },
  18196. "customername": {
  18197. "description": "客户名称(企业名称)",
  18198. "type": "string"
  18199. },
  18200. "districtid": {
  18201. "description": "地区",
  18202. "type": "integer"
  18203. },
  18204. "email": {
  18205. "description": "Email地址(加密存储)",
  18206. "type": "string"
  18207. },
  18208. "halfbodyphotourl": {
  18209. "description": "半身照地址",
  18210. "type": "string"
  18211. },
  18212. "headurl": {
  18213. "description": "头像地址",
  18214. "type": "string"
  18215. },
  18216. "ipaddress": {
  18217. "description": "IP地址",
  18218. "type": "string"
  18219. },
  18220. "isvalidate": {
  18221. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18222. "type": "string"
  18223. },
  18224. "legalcardbackphotourl": {
  18225. "description": "法人身份证背面照地址",
  18226. "type": "string"
  18227. },
  18228. "legalcardfrontphotourl": {
  18229. "description": "法人身份证正面照地址",
  18230. "type": "string"
  18231. },
  18232. "legalpersonname": {
  18233. "description": "法人姓名(企业)",
  18234. "type": "string"
  18235. },
  18236. "logincode": {
  18237. "description": "登录帐号 (加密存储)",
  18238. "type": "string"
  18239. },
  18240. "memberareaid": {
  18241. "description": "所属会员ID",
  18242. "type": "integer"
  18243. },
  18244. "mobile2": {
  18245. "description": "手机号码[明文-尚志]",
  18246. "type": "string"
  18247. },
  18248. "mobilephone": {
  18249. "description": "手机号码 (加密存储)",
  18250. "type": "string"
  18251. },
  18252. "modifiedby": {
  18253. "description": "修改人帐号",
  18254. "type": "integer"
  18255. },
  18256. "modifiedtime": {
  18257. "description": "修改时间",
  18258. "type": "string"
  18259. },
  18260. "nickname": {
  18261. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18262. "type": "string"
  18263. },
  18264. "openmode": {
  18265. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18266. "type": "integer"
  18267. },
  18268. "otherurl": {
  18269. "description": "其它图片地址[使用分号分隔]",
  18270. "type": "string"
  18271. },
  18272. "postalcode": {
  18273. "description": "邮政编码",
  18274. "type": "string"
  18275. },
  18276. "provinceid": {
  18277. "description": "省",
  18278. "type": "integer"
  18279. },
  18280. "proxystatementurl": {
  18281. "description": "授权委托书",
  18282. "type": "string"
  18283. },
  18284. "qq": {
  18285. "description": "QQ(加密存储",
  18286. "type": "string"
  18287. },
  18288. "referral": {
  18289. "description": "推荐人编码",
  18290. "type": "string"
  18291. },
  18292. "remark": {
  18293. "description": "备注",
  18294. "type": "string"
  18295. },
  18296. "removebeforestatus": {
  18297. "description": "REMOVEBEFORESTATUS",
  18298. "type": "integer"
  18299. },
  18300. "sex": {
  18301. "description": "性别 - 0:女 1:男",
  18302. "type": "integer"
  18303. },
  18304. "signedstatus": {
  18305. "description": "账户一号签签约状态",
  18306. "type": "integer"
  18307. },
  18308. "signpdfurl": {
  18309. "description": "签约pdf文件",
  18310. "type": "string"
  18311. },
  18312. "subbranch": {
  18313. "description": "开户支行",
  18314. "type": "string"
  18315. },
  18316. "taxpayernum": {
  18317. "description": "纳税人识别号",
  18318. "type": "string"
  18319. },
  18320. "telphone": {
  18321. "description": "联系电话(加密存储)",
  18322. "type": "string"
  18323. },
  18324. "userid": {
  18325. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18326. "type": "integer"
  18327. },
  18328. "userinfotype": {
  18329. "description": "用户信息类型 - 1:个人 2:企业",
  18330. "type": "integer"
  18331. },
  18332. "username": {
  18333. "description": "用户姓名",
  18334. "type": "string"
  18335. },
  18336. "userstate": {
  18337. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18338. "type": "integer"
  18339. },
  18340. "usertype": {
  18341. "description": "用户类型 - 1:投资者 2:机构",
  18342. "type": "integer"
  18343. },
  18344. "videourl": {
  18345. "description": "视频地址",
  18346. "type": "string"
  18347. },
  18348. "wechat": {
  18349. "description": "微信号 (加密存储)",
  18350. "type": "string"
  18351. }
  18352. }
  18353. },
  18354. "erms3.CustomerInfo": {
  18355. "type": "object",
  18356. "required": [
  18357. "userid"
  18358. ],
  18359. "properties": {
  18360. "accountids": {
  18361. "description": "资金账户ID列表",
  18362. "type": "array",
  18363. "items": {
  18364. "type": "integer"
  18365. }
  18366. },
  18367. "customername": {
  18368. "description": "名称(企业名称)",
  18369. "type": "string"
  18370. },
  18371. "mobile": {
  18372. "description": "手机号码",
  18373. "type": "string"
  18374. },
  18375. "userid": {
  18376. "description": "用户ID",
  18377. "type": "integer"
  18378. }
  18379. }
  18380. },
  18381. "erms3.ModifyUserInfoApplyReq": {
  18382. "type": "object",
  18383. "required": [
  18384. "userid"
  18385. ],
  18386. "properties": {
  18387. "accountid": {
  18388. "description": "交易系统帐号Id (加密存储)",
  18389. "type": "integer"
  18390. },
  18391. "areacode": {
  18392. "description": "机构代码",
  18393. "type": "string"
  18394. },
  18395. "areaid": {
  18396. "description": "机构Id",
  18397. "type": "integer"
  18398. },
  18399. "attachment1": {
  18400. "description": "附件1",
  18401. "type": "string"
  18402. },
  18403. "attachment2": {
  18404. "description": "附件2",
  18405. "type": "string"
  18406. },
  18407. "attachment3": {
  18408. "description": "附件3",
  18409. "type": "string"
  18410. },
  18411. "attachment4": {
  18412. "description": "附件4",
  18413. "type": "string"
  18414. },
  18415. "attachment5": {
  18416. "description": "附件5",
  18417. "type": "string"
  18418. },
  18419. "auditedby": {
  18420. "description": "审核人",
  18421. "type": "string"
  18422. },
  18423. "auditime": {
  18424. "description": "审核时间",
  18425. "type": "string"
  18426. },
  18427. "auditsrc": {
  18428. "description": "审核来源 - 1:管理端 2:终端",
  18429. "type": "integer"
  18430. },
  18431. "bankaccount": {
  18432. "description": "银行帐号 (加密存储)",
  18433. "type": "string"
  18434. },
  18435. "bankaccountname": {
  18436. "description": "收款人名称",
  18437. "type": "string"
  18438. },
  18439. "bankcardbackphotourl": {
  18440. "description": "银行卡背面照地址",
  18441. "type": "string"
  18442. },
  18443. "bankcardfrontphotourl": {
  18444. "description": "银行卡正面照地址",
  18445. "type": "string"
  18446. },
  18447. "bankid": {
  18448. "description": "银行编码",
  18449. "type": "string"
  18450. },
  18451. "bankname": {
  18452. "description": "银行名称",
  18453. "type": "string"
  18454. },
  18455. "bankpictureurl": {
  18456. "description": "银行卡正面地址",
  18457. "type": "string"
  18458. },
  18459. "biznature": {
  18460. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18461. "type": "integer"
  18462. },
  18463. "bizscope": {
  18464. "description": "企业经营范围(企业)",
  18465. "type": "string"
  18466. },
  18467. "biztype": {
  18468. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18469. "type": "integer"
  18470. },
  18471. "brokerid": {
  18472. "description": "经纪人ID(加密存储)",
  18473. "type": "string"
  18474. },
  18475. "cardaddress": {
  18476. "description": "证件地址 (加密存储)",
  18477. "type": "string"
  18478. },
  18479. "cardbackphotourl": {
  18480. "description": "背面证件照地址",
  18481. "type": "string"
  18482. },
  18483. "cardfrontphotourl": {
  18484. "description": "正面证件照地址",
  18485. "type": "string"
  18486. },
  18487. "cardnum": {
  18488. "description": "证件号码 (加密存储)",
  18489. "type": "string"
  18490. },
  18491. "cardtype": {
  18492. "description": "证件类型",
  18493. "type": "integer"
  18494. },
  18495. "cityid": {
  18496. "description": "市",
  18497. "type": "integer"
  18498. },
  18499. "company": {
  18500. "description": "公司(个人)",
  18501. "type": "string"
  18502. },
  18503. "contactcardbackphotourl": {
  18504. "description": "联系人证件背面图片地址",
  18505. "type": "string"
  18506. },
  18507. "contactcardfrontphotourl": {
  18508. "description": "联系人证件正面图片地址",
  18509. "type": "string"
  18510. },
  18511. "contactname": {
  18512. "description": "联系人",
  18513. "type": "string"
  18514. },
  18515. "countryid": {
  18516. "description": "国家",
  18517. "type": "integer"
  18518. },
  18519. "createtime": {
  18520. "description": "开户申请时间",
  18521. "type": "string"
  18522. },
  18523. "cusbankid": {
  18524. "description": "签约类型",
  18525. "type": "string"
  18526. },
  18527. "cusbankname": {
  18528. "description": "签约类型名称",
  18529. "type": "string"
  18530. },
  18531. "customername": {
  18532. "description": "客户名称(企业名称)",
  18533. "type": "string"
  18534. },
  18535. "districtid": {
  18536. "description": "地区",
  18537. "type": "integer"
  18538. },
  18539. "email": {
  18540. "description": "Email地址(加密存储)",
  18541. "type": "string"
  18542. },
  18543. "halfbodyphotourl": {
  18544. "description": "半身照地址",
  18545. "type": "string"
  18546. },
  18547. "headurl": {
  18548. "description": "头像地址",
  18549. "type": "string"
  18550. },
  18551. "ipaddress": {
  18552. "description": "IP地址",
  18553. "type": "string"
  18554. },
  18555. "isvalidate": {
  18556. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18557. "type": "string"
  18558. },
  18559. "legalcardbackphotourl": {
  18560. "description": "法人身份证背面照地址",
  18561. "type": "string"
  18562. },
  18563. "legalcardfrontphotourl": {
  18564. "description": "法人身份证正面照地址",
  18565. "type": "string"
  18566. },
  18567. "legalpersonname": {
  18568. "description": "法人姓名(企业)",
  18569. "type": "string"
  18570. },
  18571. "logincode": {
  18572. "description": "登录帐号 (加密存储)",
  18573. "type": "string"
  18574. },
  18575. "memberareaid": {
  18576. "description": "所属会员ID",
  18577. "type": "integer"
  18578. },
  18579. "mobile2": {
  18580. "description": "手机号码[明文-尚志]",
  18581. "type": "string"
  18582. },
  18583. "mobilephone": {
  18584. "description": "手机号码 (加密存储)",
  18585. "type": "string"
  18586. },
  18587. "modifiedby": {
  18588. "description": "修改人帐号",
  18589. "type": "integer"
  18590. },
  18591. "modifiedtime": {
  18592. "description": "修改时间",
  18593. "type": "string"
  18594. },
  18595. "nickname": {
  18596. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18597. "type": "string"
  18598. },
  18599. "openmode": {
  18600. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18601. "type": "integer"
  18602. },
  18603. "otherurl": {
  18604. "description": "其它图片地址[使用分号分隔]",
  18605. "type": "string"
  18606. },
  18607. "postalcode": {
  18608. "description": "邮政编码",
  18609. "type": "string"
  18610. },
  18611. "provinceid": {
  18612. "description": "省",
  18613. "type": "integer"
  18614. },
  18615. "proxystatementurl": {
  18616. "description": "授权委托书",
  18617. "type": "string"
  18618. },
  18619. "qq": {
  18620. "description": "QQ(加密存储",
  18621. "type": "string"
  18622. },
  18623. "referral": {
  18624. "description": "推荐人编码",
  18625. "type": "string"
  18626. },
  18627. "remark": {
  18628. "description": "备注",
  18629. "type": "string"
  18630. },
  18631. "removebeforestatus": {
  18632. "description": "REMOVEBEFORESTATUS",
  18633. "type": "integer"
  18634. },
  18635. "sex": {
  18636. "description": "性别 - 0:女 1:男",
  18637. "type": "integer"
  18638. },
  18639. "signedstatus": {
  18640. "description": "账户一号签签约状态",
  18641. "type": "integer"
  18642. },
  18643. "signpdfurl": {
  18644. "description": "签约pdf文件",
  18645. "type": "string"
  18646. },
  18647. "subbranch": {
  18648. "description": "开户支行",
  18649. "type": "string"
  18650. },
  18651. "taxpayernum": {
  18652. "description": "纳税人识别号",
  18653. "type": "string"
  18654. },
  18655. "telphone": {
  18656. "description": "联系电话(加密存储)",
  18657. "type": "string"
  18658. },
  18659. "userid": {
  18660. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18661. "type": "integer"
  18662. },
  18663. "userinfotype": {
  18664. "description": "用户信息类型 - 1:个人 2:企业",
  18665. "type": "integer"
  18666. },
  18667. "username": {
  18668. "description": "用户姓名",
  18669. "type": "string"
  18670. },
  18671. "userstate": {
  18672. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18673. "type": "integer"
  18674. },
  18675. "usertype": {
  18676. "description": "用户类型 - 1:投资者 2:机构",
  18677. "type": "integer"
  18678. },
  18679. "videourl": {
  18680. "description": "视频地址",
  18681. "type": "string"
  18682. },
  18683. "wechat": {
  18684. "description": "微信号 (加密存储)",
  18685. "type": "string"
  18686. }
  18687. }
  18688. },
  18689. "erms3.QryAuditContractRsp": {
  18690. "type": "object",
  18691. "required": [
  18692. "matchcustomername",
  18693. "spotcontractid"
  18694. ],
  18695. "properties": {
  18696. "accountid": {
  18697. "description": "交易员ID",
  18698. "type": "string"
  18699. },
  18700. "applystatus": {
  18701. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18702. "type": "integer"
  18703. },
  18704. "curdeliveryqty": {
  18705. "description": "未交收量",
  18706. "type": "integer"
  18707. },
  18708. "customername": {
  18709. "description": "采购方ID",
  18710. "type": "string"
  18711. },
  18712. "deliverygoodsid": {
  18713. "description": "品种ID",
  18714. "type": "string"
  18715. },
  18716. "deliveryqty": {
  18717. "description": "交收量",
  18718. "type": "integer"
  18719. },
  18720. "enumdicname": {
  18721. "description": "单位名称",
  18722. "type": "string"
  18723. },
  18724. "matchaccountid": {
  18725. "description": "业务员ID",
  18726. "type": "string"
  18727. },
  18728. "matchcustomername": {
  18729. "description": "销售方ID",
  18730. "type": "string"
  18731. },
  18732. "pricedqty": {
  18733. "description": "定价量",
  18734. "type": "number"
  18735. },
  18736. "signdate": {
  18737. "description": "签订日期",
  18738. "type": "string"
  18739. },
  18740. "spotcontractid": {
  18741. "description": "合同ID",
  18742. "type": "string"
  18743. },
  18744. "totaldqty": {
  18745. "description": "合同量",
  18746. "type": "number"
  18747. },
  18748. "unpricedqty": {
  18749. "description": "未定价量",
  18750. "type": "number"
  18751. },
  18752. "wrstandardname": {
  18753. "description": "商品名称",
  18754. "type": "string"
  18755. }
  18756. }
  18757. },
  18758. "erms3.QryPendingBizRsp": {
  18759. "type": "object",
  18760. "properties": {
  18761. "accountid": {
  18762. "description": "现货账户",
  18763. "type": "string"
  18764. },
  18765. "areaname": {
  18766. "description": "所属部门",
  18767. "type": "string"
  18768. },
  18769. "bizid": {
  18770. "description": "业务ID",
  18771. "type": "string"
  18772. },
  18773. "bizname": {
  18774. "description": "业务名称",
  18775. "type": "string"
  18776. },
  18777. "status": {
  18778. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18779. "type": "integer"
  18780. },
  18781. "type": {
  18782. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18783. "type": "integer"
  18784. }
  18785. }
  18786. },
  18787. "erms3.QueryBusinessInfoRsp": {
  18788. "type": "object",
  18789. "properties": {
  18790. "businessid": {
  18791. "description": "业务ID.",
  18792. "type": "integer"
  18793. },
  18794. "buyamount": {
  18795. "description": "采购额.",
  18796. "type": "number"
  18797. },
  18798. "buyqty": {
  18799. "description": "采购量.",
  18800. "type": "string"
  18801. },
  18802. "futurepl": {
  18803. "description": "期货盈亏.",
  18804. "type": "number"
  18805. },
  18806. "futureqty": {
  18807. "description": "期货敞口.",
  18808. "type": "string"
  18809. },
  18810. "goodsid": {
  18811. "description": "商品名称/商品代码.",
  18812. "type": "string"
  18813. },
  18814. "hedgingqty": {
  18815. "description": "套保量.",
  18816. "type": "string"
  18817. },
  18818. "sellamount": {
  18819. "description": "销售额.",
  18820. "type": "number"
  18821. },
  18822. "sellqty": {
  18823. "description": "销售量.",
  18824. "type": "string"
  18825. },
  18826. "spotmarketvalue": {
  18827. "description": "现货市值.",
  18828. "type": "number"
  18829. },
  18830. "spotpl": {
  18831. "description": "浮动权益.",
  18832. "type": "number"
  18833. },
  18834. "spotqty": {
  18835. "description": "现货量.",
  18836. "type": "string"
  18837. },
  18838. "statu": {
  18839. "description": "状态,0-未结束 1-已结束.",
  18840. "type": "integer"
  18841. },
  18842. "totalpl": {
  18843. "description": "总盈亏.",
  18844. "type": "number"
  18845. },
  18846. "totalqty": {
  18847. "description": "总敞口.",
  18848. "type": "string"
  18849. },
  18850. "type": {
  18851. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  18852. "type": "integer"
  18853. }
  18854. }
  18855. },
  18856. "erms3.QuerySpotContractAppleFormRsp": {
  18857. "type": "object",
  18858. "properties": {
  18859. "goodses": {
  18860. "description": "合约列表",
  18861. "type": "array",
  18862. "items": {
  18863. "$ref": "#/definitions/models.GoodsIDAndName"
  18864. }
  18865. },
  18866. "oppositeusers": {
  18867. "description": "对方账号列表",
  18868. "type": "array",
  18869. "items": {
  18870. "$ref": "#/definitions/erms3.CustomerInfo"
  18871. }
  18872. },
  18873. "ouruser": {
  18874. "description": "我方账号",
  18875. "$ref": "#/definitions/erms3.CustomerInfo"
  18876. },
  18877. "warehouseinfos": {
  18878. "description": "仓库信息列表",
  18879. "type": "array",
  18880. "items": {
  18881. "$ref": "#/definitions/models.Warehouseinfo"
  18882. }
  18883. },
  18884. "wrstandards": {
  18885. "description": "仓单标准列表",
  18886. "type": "array",
  18887. "items": {
  18888. "$ref": "#/definitions/models.WRStandardInfo"
  18889. }
  18890. }
  18891. }
  18892. },
  18893. "erms3.QuerySpotContractInfoRsp": {
  18894. "type": "object",
  18895. "properties": {
  18896. "accountid": {
  18897. "description": "表示交易员ID.",
  18898. "type": "integer"
  18899. },
  18900. "curdeliveryqty": {
  18901. "description": "表示未交收量.",
  18902. "type": "number"
  18903. },
  18904. "customername": {
  18905. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18906. "type": "string"
  18907. },
  18908. "deliverygoodsid": {
  18909. "description": "表示品种ID.",
  18910. "type": "string"
  18911. },
  18912. "deliveryqty": {
  18913. "description": "表示交收量.",
  18914. "type": "number"
  18915. },
  18916. "matchaccountid": {
  18917. "description": "表示业务员ID.",
  18918. "type": "integer"
  18919. },
  18920. "matchcustomername": {
  18921. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18922. "type": "string"
  18923. },
  18924. "priceqty": {
  18925. "description": "表示定价量.",
  18926. "type": "number"
  18927. },
  18928. "relatedbizid": {
  18929. "description": "表示业务ID.",
  18930. "type": "string"
  18931. },
  18932. "signdate": {
  18933. "description": "表示签订日期.",
  18934. "type": "string"
  18935. },
  18936. "spotcontractid": {
  18937. "description": "合同ID",
  18938. "type": "string"
  18939. },
  18940. "status": {
  18941. "description": "表示状态,0-履约中 1-已完成.",
  18942. "type": "integer"
  18943. },
  18944. "totalqty": {
  18945. "description": "表示合同量.",
  18946. "type": "number"
  18947. },
  18948. "unpricedqty": {
  18949. "description": "表示未定价量.",
  18950. "type": "number"
  18951. },
  18952. "wrstandardname": {
  18953. "description": "表示商品ID.",
  18954. "type": "string"
  18955. }
  18956. }
  18957. },
  18958. "erms3.QueryUserInfoAppliesRsp": {
  18959. "type": "object",
  18960. "required": [
  18961. "userid"
  18962. ],
  18963. "properties": {
  18964. "biznature": {
  18965. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18966. "type": "integer"
  18967. },
  18968. "contactname": {
  18969. "description": "联系人",
  18970. "type": "string"
  18971. },
  18972. "createtime": {
  18973. "description": "开户申请时间",
  18974. "type": "string"
  18975. },
  18976. "userid": {
  18977. "description": "用户ID(自增ID)",
  18978. "type": "integer"
  18979. },
  18980. "userinfotype": {
  18981. "description": "用户信息类型 - 1:个人 2:企业",
  18982. "type": "integer"
  18983. },
  18984. "username": {
  18985. "description": "用户姓名",
  18986. "type": "string"
  18987. },
  18988. "userstate": {
  18989. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18990. "type": "integer"
  18991. }
  18992. }
  18993. },
  18994. "erms3.QueryUserInfosRsp": {
  18995. "type": "object",
  18996. "required": [
  18997. "userid"
  18998. ],
  18999. "properties": {
  19000. "biznature": {
  19001. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19002. "type": "integer"
  19003. },
  19004. "contactname": {
  19005. "description": "联系人",
  19006. "type": "string"
  19007. },
  19008. "customername": {
  19009. "description": "客户名称(企业名称)",
  19010. "type": "string"
  19011. },
  19012. "userid": {
  19013. "description": "用户ID",
  19014. "type": "integer"
  19015. },
  19016. "userinfotype": {
  19017. "description": "用户信息类型 - 1:个人 2:企业",
  19018. "type": "integer"
  19019. },
  19020. "userstatus": {
  19021. "description": "用户状态 - 1:正常 2:注销",
  19022. "type": "integer"
  19023. }
  19024. }
  19025. },
  19026. "erms3.SoptContractDetail": {
  19027. "type": "object",
  19028. "required": [
  19029. "deliverygoodsid",
  19030. "producttype",
  19031. "unitname",
  19032. "warehouseid",
  19033. "wrstandardid",
  19034. "wrstandardname"
  19035. ],
  19036. "properties": {
  19037. "deliverygoodsdesc": {
  19038. "description": "现货品种说明",
  19039. "type": "string"
  19040. },
  19041. "deliverygoodsid": {
  19042. "description": "现货品种ID",
  19043. "type": "integer"
  19044. },
  19045. "deliverygoodsname": {
  19046. "description": "现货品种名称",
  19047. "type": "string"
  19048. },
  19049. "pointdesc": {
  19050. "description": "点价描述",
  19051. "type": "string"
  19052. },
  19053. "producttype": {
  19054. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  19055. "type": "integer"
  19056. },
  19057. "producttypename": {
  19058. "description": "产品类型名称",
  19059. "type": "string"
  19060. },
  19061. "spotPointOrderVoList": {
  19062. "description": "点价列表",
  19063. "type": "array",
  19064. "items": {
  19065. "$ref": "#/definitions/erms3.SpotPointOrder"
  19066. }
  19067. },
  19068. "spotPriceOrderList": {
  19069. "description": "定价列表",
  19070. "type": "array",
  19071. "items": {
  19072. "$ref": "#/definitions/erms3.SpotPriceOrder"
  19073. }
  19074. },
  19075. "unitname": {
  19076. "description": "单位名称",
  19077. "type": "string"
  19078. },
  19079. "warehouseid": {
  19080. "description": "仓库ID",
  19081. "type": "integer"
  19082. },
  19083. "warehousename": {
  19084. "description": "仓库名称",
  19085. "type": "string"
  19086. },
  19087. "wrstandardid": {
  19088. "description": "交易标的ID",
  19089. "type": "integer"
  19090. },
  19091. "wrstandardname": {
  19092. "description": "交易标的名称",
  19093. "type": "string"
  19094. }
  19095. }
  19096. },
  19097. "erms3.SpotPointOrder": {
  19098. "type": "object",
  19099. "required": [
  19100. "basic",
  19101. "goodsid",
  19102. "qty"
  19103. ],
  19104. "properties": {
  19105. "basic": {
  19106. "description": "基差",
  19107. "type": "number"
  19108. },
  19109. "deliveryenddate": {
  19110. "description": "交收结束日期",
  19111. "type": "string"
  19112. },
  19113. "deliverystartdate": {
  19114. "description": "交收开始日期",
  19115. "type": "string"
  19116. },
  19117. "enddate": {
  19118. "description": "点价结束日期",
  19119. "type": "string"
  19120. },
  19121. "goodsid": {
  19122. "description": "商品ID",
  19123. "type": "integer"
  19124. },
  19125. "goodsname": {
  19126. "description": "商品名称",
  19127. "type": "string"
  19128. },
  19129. "qty": {
  19130. "description": "数量",
  19131. "type": "number"
  19132. },
  19133. "startdate": {
  19134. "description": "点价开始日期",
  19135. "type": "string"
  19136. }
  19137. }
  19138. },
  19139. "erms3.SpotPriceOrder": {
  19140. "type": "object",
  19141. "required": [
  19142. "amount",
  19143. "price",
  19144. "qty"
  19145. ],
  19146. "properties": {
  19147. "amount": {
  19148. "description": "金额",
  19149. "type": "number"
  19150. },
  19151. "deliveryenddate": {
  19152. "description": "交收结束日期",
  19153. "type": "string"
  19154. },
  19155. "deliverystartdate": {
  19156. "description": "交收开始日期",
  19157. "type": "string"
  19158. },
  19159. "price": {
  19160. "description": "价格",
  19161. "type": "number"
  19162. },
  19163. "qty": {
  19164. "description": "数量",
  19165. "type": "number"
  19166. }
  19167. }
  19168. },
  19169. "hsby.GetHsbyMyCountRsp": {
  19170. "type": "object",
  19171. "properties": {
  19172. "myCouponCount": {
  19173. "description": "我的优惠卷数量",
  19174. "type": "integer"
  19175. },
  19176. "myOrderDetailListingCount": {
  19177. "description": "我的订单求购中数量",
  19178. "type": "integer"
  19179. },
  19180. "myOrderDetailPreCount": {
  19181. "description": "我的订单抢购中数量",
  19182. "type": "integer"
  19183. },
  19184. "myPackageUnReceiveCount": {
  19185. "description": "我的包裹待收货数量",
  19186. "type": "integer"
  19187. },
  19188. "myPackageUnSendCount": {
  19189. "description": "我的包裹待发货数量",
  19190. "type": "integer"
  19191. },
  19192. "myPayOrderCount": {
  19193. "description": "我的订单待付款数量",
  19194. "type": "integer"
  19195. }
  19196. }
  19197. },
  19198. "hsby.QueryProvincesAndCitiesRsp": {
  19199. "type": "object",
  19200. "properties": {
  19201. "cities": {
  19202. "description": "市",
  19203. "type": "array",
  19204. "items": {
  19205. "$ref": "#/definitions/models.Division"
  19206. }
  19207. },
  19208. "province": {
  19209. "description": "省",
  19210. "$ref": "#/definitions/models.Division"
  19211. }
  19212. }
  19213. },
  19214. "models.Arearole": {
  19215. "type": "object",
  19216. "required": [
  19217. "roletype",
  19218. "userid"
  19219. ],
  19220. "properties": {
  19221. "createtime": {
  19222. "description": "创建时间",
  19223. "type": "string"
  19224. },
  19225. "creatorid": {
  19226. "description": "创建人ID",
  19227. "type": "integer"
  19228. },
  19229. "fromuserid": {
  19230. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  19231. "type": "integer"
  19232. },
  19233. "isreturnscore": {
  19234. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  19235. "type": "integer"
  19236. },
  19237. "modifierid": {
  19238. "description": "修改人ID",
  19239. "type": "integer"
  19240. },
  19241. "modifytime": {
  19242. "description": "修改时间",
  19243. "type": "string"
  19244. },
  19245. "orgtype": {
  19246. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  19247. "type": "integer"
  19248. },
  19249. "outuserid": {
  19250. "description": "外部账户[场外期权做市商]",
  19251. "type": "string"
  19252. },
  19253. "parentuserid": {
  19254. "description": "上级组织机构(组织机构)",
  19255. "type": "integer"
  19256. },
  19257. "roletype": {
  19258. "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:门店",
  19259. "type": "integer"
  19260. },
  19261. "rootuserid": {
  19262. "description": "顶级组织机构用户ID(组织机构)",
  19263. "type": "integer"
  19264. },
  19265. "shoppassword": {
  19266. "description": "商城店铺登陆密码(商城店铺角色使用)",
  19267. "type": "string"
  19268. },
  19269. "sublevelpath": {
  19270. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  19271. "type": "string"
  19272. },
  19273. "suborgtype": {
  19274. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  19275. "type": "integer"
  19276. },
  19277. "tradeaccountid": {
  19278. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  19279. "type": "integer"
  19280. },
  19281. "transurl": {
  19282. "description": "物流地址(物流机构)",
  19283. "type": "string"
  19284. },
  19285. "userid": {
  19286. "description": "机构用户ID其他做市关系,都设置为 1",
  19287. "type": "integer"
  19288. }
  19289. }
  19290. },
  19291. "models.Clientfixedadconfig": {
  19292. "type": "object",
  19293. "required": [
  19294. "adsort",
  19295. "adtype"
  19296. ],
  19297. "properties": {
  19298. "adsort": {
  19299. "description": "排序",
  19300. "type": "integer"
  19301. },
  19302. "adtype": {
  19303. "description": "广告位类型 - 1:新品抢购(HSBY)",
  19304. "type": "integer"
  19305. },
  19306. "areauserid": {
  19307. "description": "所属机构ID",
  19308. "type": "integer"
  19309. },
  19310. "createdate": {
  19311. "description": "创建时间",
  19312. "type": "string"
  19313. },
  19314. "creatorid": {
  19315. "description": "创建人",
  19316. "type": "integer"
  19317. },
  19318. "imagepath": {
  19319. "description": "图片",
  19320. "type": "string"
  19321. },
  19322. "isshow": {
  19323. "description": "是否展示 - 0:不展示 1:展示",
  19324. "type": "integer"
  19325. },
  19326. "modifierid": {
  19327. "description": "操作人",
  19328. "type": "integer"
  19329. },
  19330. "recsize": {
  19331. "description": "推荐尺寸",
  19332. "type": "string"
  19333. },
  19334. "title": {
  19335. "description": "标题",
  19336. "type": "string"
  19337. },
  19338. "updatedate": {
  19339. "description": "更新时间",
  19340. "type": "string"
  19341. },
  19342. "urlcontent": {
  19343. "description": "链接(地址或商品ID)",
  19344. "type": "string"
  19345. },
  19346. "urltype": {
  19347. "description": "链接类型 - 1:直接地址 2:商品ID",
  19348. "type": "integer"
  19349. }
  19350. }
  19351. },
  19352. "models.Division": {
  19353. "type": "object",
  19354. "required": [
  19355. "autoid",
  19356. "divisioncode"
  19357. ],
  19358. "properties": {
  19359. "autoid": {
  19360. "description": "自增ID",
  19361. "type": "integer"
  19362. },
  19363. "divisioncode": {
  19364. "description": "行政代码",
  19365. "type": "string"
  19366. },
  19367. "divisionlevel": {
  19368. "description": "行政级别",
  19369. "type": "string"
  19370. },
  19371. "divisionname": {
  19372. "description": "行政名称",
  19373. "type": "string"
  19374. },
  19375. "modifierid": {
  19376. "description": "修改人",
  19377. "type": "integer"
  19378. },
  19379. "modifytime": {
  19380. "description": "修改时间",
  19381. "type": "string"
  19382. },
  19383. "parentcode": {
  19384. "description": "上级行政代码",
  19385. "type": "string"
  19386. },
  19387. "pathname": {
  19388. "description": "路径名称",
  19389. "type": "string"
  19390. },
  19391. "postcode": {
  19392. "description": "邮政编码",
  19393. "type": "string"
  19394. },
  19395. "separablename": {
  19396. "description": "可拆分的全称",
  19397. "type": "string"
  19398. },
  19399. "shortcode": {
  19400. "description": "地区简码",
  19401. "type": "string"
  19402. }
  19403. }
  19404. },
  19405. "models.Enumdicitem": {
  19406. "type": "object",
  19407. "required": [
  19408. "autoid",
  19409. "enumdiccode",
  19410. "enumdicid",
  19411. "enumitemname"
  19412. ],
  19413. "properties": {
  19414. "autoid": {
  19415. "description": "自增ID",
  19416. "type": "integer"
  19417. },
  19418. "bankmappedvalue": {
  19419. "description": "银行服务对应值",
  19420. "type": "string"
  19421. },
  19422. "enumdiccode": {
  19423. "description": "所属枚举代码",
  19424. "type": "string"
  19425. },
  19426. "enumdicid": {
  19427. "description": "所属枚举ID",
  19428. "type": "integer"
  19429. },
  19430. "enumdicname": {
  19431. "description": "枚举项名称",
  19432. "type": "string"
  19433. },
  19434. "enumitemname": {
  19435. "description": "枚举项值",
  19436. "type": "integer"
  19437. },
  19438. "enumitemstatus": {
  19439. "description": "枚举项状态 - 1.启用 2.不启用",
  19440. "type": "integer"
  19441. },
  19442. "enumitemvalue": {
  19443. "description": "通用值 - [币种通用简写]",
  19444. "type": "string"
  19445. },
  19446. "param1": {
  19447. "description": "参数1[币种:币种小数位]",
  19448. "type": "string"
  19449. },
  19450. "param2": {
  19451. "description": "参数1[币种:币种显示单位]",
  19452. "type": "string"
  19453. },
  19454. "remark": {
  19455. "description": "备注",
  19456. "type": "string"
  19457. }
  19458. }
  19459. },
  19460. "models.Ermcp3AreaSpot": {
  19461. "type": "object",
  19462. "properties": {
  19463. "areauserid": {
  19464. "description": "所属机构",
  19465. "type": "integer"
  19466. },
  19467. "convertratio": {
  19468. "description": "套保系数",
  19469. "type": "number"
  19470. },
  19471. "decreaseqty": {
  19472. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19473. "type": "number"
  19474. },
  19475. "enumdicname": {
  19476. "description": "单位名称",
  19477. "type": "string"
  19478. },
  19479. "increaseqty": {
  19480. "description": "增加数量=销售计划数量+采购已定价数量",
  19481. "type": "number"
  19482. },
  19483. "oritoalspotqty": {
  19484. "description": "昨日数量",
  19485. "type": "number"
  19486. },
  19487. "totalspotqty": {
  19488. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19489. "type": "number"
  19490. },
  19491. "unitid": {
  19492. "description": "现货商品单位id",
  19493. "type": "integer"
  19494. },
  19495. "updatetime": {
  19496. "description": "更新时间",
  19497. "type": "string"
  19498. },
  19499. "wrstandardcode": {
  19500. "description": "现货商品代码",
  19501. "type": "string"
  19502. },
  19503. "wrstandardid": {
  19504. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19505. "type": "integer"
  19506. },
  19507. "wrstandardname": {
  19508. "description": "现货商品名称",
  19509. "type": "string"
  19510. }
  19511. }
  19512. },
  19513. "models.Ermcp3AreaSpotDetail": {
  19514. "type": "object",
  19515. "properties": {
  19516. "contracttype": {
  19517. "description": "合同类型 1-采购 -1-销售",
  19518. "type": "integer"
  19519. },
  19520. "createtime": {
  19521. "description": "创建时间",
  19522. "type": "string"
  19523. },
  19524. "enumdicname": {
  19525. "description": "现货商品单位名称",
  19526. "type": "string"
  19527. },
  19528. "logtype": {
  19529. "description": "记录类型 1-套保 2-现货合同",
  19530. "type": "integer"
  19531. },
  19532. "qty": {
  19533. "description": "数量",
  19534. "type": "number"
  19535. },
  19536. "recordname": {
  19537. "description": "类型名称",
  19538. "type": "string"
  19539. },
  19540. "relatedid": {
  19541. "description": "套保计划ID/现货合同ID",
  19542. "type": "string"
  19543. },
  19544. "relatedno": {
  19545. "description": "编号",
  19546. "type": "string"
  19547. },
  19548. "strtime": {
  19549. "description": "时间",
  19550. "type": "string"
  19551. },
  19552. "wrstandardcode": {
  19553. "description": "现货商品代码",
  19554. "type": "string"
  19555. },
  19556. "wrstandardid": {
  19557. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19558. "type": "integer"
  19559. },
  19560. "wrstandardname": {
  19561. "description": "现货商品名称",
  19562. "type": "string"
  19563. }
  19564. }
  19565. },
  19566. "models.Ermcp3AreaSpotPLReport": {
  19567. "type": "object",
  19568. "properties": {
  19569. "accountid": {
  19570. "description": "期货账户ID (作废, 默认为0)",
  19571. "type": "integer"
  19572. },
  19573. "accountname": {
  19574. "description": "机构名称",
  19575. "type": "string"
  19576. },
  19577. "actualpl": {
  19578. "description": "现货损益",
  19579. "type": "number"
  19580. },
  19581. "areauserid": {
  19582. "description": "所属机构\\交易用户ID",
  19583. "type": "integer"
  19584. },
  19585. "begindate": {
  19586. "description": "开始交易日",
  19587. "type": "string"
  19588. },
  19589. "biztype": {
  19590. "description": "业务类型 - 1:套保 2:套利",
  19591. "type": "integer"
  19592. },
  19593. "brandname": {
  19594. "description": "品牌名称",
  19595. "type": "string"
  19596. },
  19597. "curamount": {
  19598. "description": "期末额",
  19599. "type": "number"
  19600. },
  19601. "curaverageprice": {
  19602. "description": "期末均价",
  19603. "type": "number"
  19604. },
  19605. "curbuyamount": {
  19606. "description": "期末采购总额",
  19607. "type": "number"
  19608. },
  19609. "curbuyqty": {
  19610. "description": "期末采购总量",
  19611. "type": "number"
  19612. },
  19613. "curmarketvalue": {
  19614. "description": "参考市值(期末市值)",
  19615. "type": "number"
  19616. },
  19617. "curqty": {
  19618. "description": "期末量",
  19619. "type": "number"
  19620. },
  19621. "currencyid": {
  19622. "description": "结算币种ID【原值】",
  19623. "type": "integer"
  19624. },
  19625. "currencyname": {
  19626. "description": "币种名称",
  19627. "type": "string"
  19628. },
  19629. "cursellamount": {
  19630. "description": "期末销售总额",
  19631. "type": "number"
  19632. },
  19633. "cursellqty": {
  19634. "description": "期末销售总量",
  19635. "type": "number"
  19636. },
  19637. "curspotprice": {
  19638. "description": "参考市价(最新价)",
  19639. "type": "number"
  19640. },
  19641. "cycletime": {
  19642. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19643. "type": "string"
  19644. },
  19645. "cycletype": {
  19646. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19647. "type": "integer"
  19648. },
  19649. "deliverygoodscode": {
  19650. "description": "现货商品代码",
  19651. "type": "string"
  19652. },
  19653. "deliverygoodsid": {
  19654. "description": "现货品种ID",
  19655. "type": "integer"
  19656. },
  19657. "deliverygoodsname": {
  19658. "description": "现货商品名称",
  19659. "type": "string"
  19660. },
  19661. "enddate": {
  19662. "description": "结束交易日",
  19663. "type": "string"
  19664. },
  19665. "enumdicname": {
  19666. "description": "现货商品单位名称",
  19667. "type": "string"
  19668. },
  19669. "floatpl": {
  19670. "description": "浮动损益",
  19671. "type": "number"
  19672. },
  19673. "goodsunitid": {
  19674. "description": "现货商品单位id",
  19675. "type": "integer"
  19676. },
  19677. "oriamount": {
  19678. "description": "期初额",
  19679. "type": "number"
  19680. },
  19681. "oriaverageprice": {
  19682. "description": "期初均价",
  19683. "type": "number"
  19684. },
  19685. "oribuyamount": {
  19686. "description": "期初采购总额",
  19687. "type": "number"
  19688. },
  19689. "oribuyqty": {
  19690. "description": "期初采购总量",
  19691. "type": "number"
  19692. },
  19693. "oriqty": {
  19694. "description": "期初量",
  19695. "type": "number"
  19696. },
  19697. "orisellamount": {
  19698. "description": "期初销售总额",
  19699. "type": "number"
  19700. },
  19701. "orisellqty": {
  19702. "description": "期初销售总量",
  19703. "type": "number"
  19704. },
  19705. "reckondate": {
  19706. "description": "日照时期(yyyyMMdd)",
  19707. "type": "string"
  19708. },
  19709. "spotgoodsbrandid": {
  19710. "description": "现货品牌ID",
  19711. "type": "integer"
  19712. },
  19713. "todaybuyamount": {
  19714. "description": "今日采购额(今采购额)",
  19715. "type": "number"
  19716. },
  19717. "todaybuyaverageprice": {
  19718. "description": "今日采购均价",
  19719. "type": "number"
  19720. },
  19721. "todaybuyqty": {
  19722. "description": "今日采购量(今采购量)",
  19723. "type": "number"
  19724. },
  19725. "todayinqty": {
  19726. "description": "今日入库量(今入库量)",
  19727. "type": "number"
  19728. },
  19729. "todayoutqty": {
  19730. "description": "今日出库量(今出库量)",
  19731. "type": "number"
  19732. },
  19733. "todaysellamount": {
  19734. "description": "今日销售额(今销售额)",
  19735. "type": "number"
  19736. },
  19737. "todaysellaverageprice": {
  19738. "description": "今日销售均价",
  19739. "type": "number"
  19740. },
  19741. "todaysellqty": {
  19742. "description": "今日销售量(今销售量)",
  19743. "type": "number"
  19744. },
  19745. "unitid": {
  19746. "description": "品类单位id",
  19747. "type": "integer"
  19748. },
  19749. "unitidname": {
  19750. "description": "品类单位名称",
  19751. "type": "string"
  19752. },
  19753. "updatetime": {
  19754. "description": "更新时间",
  19755. "type": "string"
  19756. },
  19757. "wrfactortypeid": {
  19758. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19759. "type": "integer"
  19760. },
  19761. "wrstandardcode": {
  19762. "description": "品类代码",
  19763. "type": "string"
  19764. },
  19765. "wrstandardid": {
  19766. "description": "现货品类ID",
  19767. "type": "integer"
  19768. },
  19769. "wrstandardname": {
  19770. "description": "品类名称",
  19771. "type": "string"
  19772. }
  19773. }
  19774. },
  19775. "models.Ermcp3AreaStock": {
  19776. "type": "object",
  19777. "required": [
  19778. "userid"
  19779. ],
  19780. "properties": {
  19781. "brandname": {
  19782. "description": "品牌名称",
  19783. "type": "string"
  19784. },
  19785. "curstock": {
  19786. "description": "期末库存量(今日量)",
  19787. "type": "number"
  19788. },
  19789. "deliverygoodscode": {
  19790. "description": "现货品种代码",
  19791. "type": "string"
  19792. },
  19793. "deliverygoodsid": {
  19794. "description": "现货品种id",
  19795. "type": "integer"
  19796. },
  19797. "deliverygoodsname": {
  19798. "description": "现货品种名称",
  19799. "type": "string"
  19800. },
  19801. "enumdicname": {
  19802. "description": "单位名称",
  19803. "type": "string"
  19804. },
  19805. "goodsunitid": {
  19806. "description": "现货商品单位id",
  19807. "type": "integer"
  19808. },
  19809. "oristock": {
  19810. "description": "期初库存量(昨日量)",
  19811. "type": "number"
  19812. },
  19813. "spotgoodsbrandid": {
  19814. "description": "现货品牌ID",
  19815. "type": "integer"
  19816. },
  19817. "todaybuyinqty": {
  19818. "description": "今日采购入库量",
  19819. "type": "number"
  19820. },
  19821. "todayproduceinqty": {
  19822. "description": "今日生产入库量",
  19823. "type": "number"
  19824. },
  19825. "todayproduceoutqty": {
  19826. "description": "今日生产出库量",
  19827. "type": "number"
  19828. },
  19829. "todayselloutqty": {
  19830. "description": "今日销售出库量",
  19831. "type": "number"
  19832. },
  19833. "unitid": {
  19834. "description": "单位id",
  19835. "type": "integer"
  19836. },
  19837. "updatetime": {
  19838. "description": "更新时间",
  19839. "type": "string"
  19840. },
  19841. "userid": {
  19842. "description": "机构ID",
  19843. "type": "integer"
  19844. },
  19845. "username": {
  19846. "description": "机构名称",
  19847. "type": "string"
  19848. },
  19849. "warehousecode": {
  19850. "description": "仓库代码",
  19851. "type": "string"
  19852. },
  19853. "warehouseinfoid": {
  19854. "description": "仓库ID",
  19855. "type": "string"
  19856. },
  19857. "warehousename": {
  19858. "description": "仓库名称",
  19859. "type": "string"
  19860. },
  19861. "warehousetype": {
  19862. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19863. "type": "integer"
  19864. },
  19865. "wrstandardcode": {
  19866. "description": "品类代码",
  19867. "type": "string"
  19868. },
  19869. "wrstandardid": {
  19870. "description": "品类ID",
  19871. "type": "string"
  19872. },
  19873. "wrstandardname": {
  19874. "description": "品类名称",
  19875. "type": "string"
  19876. }
  19877. }
  19878. },
  19879. "models.Ermcp3AreaStockApply": {
  19880. "type": "object",
  19881. "properties": {
  19882. "applyid": {
  19883. "description": "申请人",
  19884. "type": "integer"
  19885. },
  19886. "applyname": {
  19887. "description": "申请人名称",
  19888. "type": "string"
  19889. },
  19890. "applyremark": {
  19891. "description": "申请备注",
  19892. "type": "string"
  19893. },
  19894. "applysrc": {
  19895. "description": "申请来源 - 1:管理端 2:终端",
  19896. "type": "integer"
  19897. },
  19898. "applystatus": {
  19899. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19900. "type": "integer"
  19901. },
  19902. "applytime": {
  19903. "description": "申请时间",
  19904. "type": "string"
  19905. },
  19906. "auditid": {
  19907. "description": "审核人",
  19908. "type": "integer"
  19909. },
  19910. "auditname": {
  19911. "description": "审核人名称",
  19912. "type": "string"
  19913. },
  19914. "auditremark": {
  19915. "description": "审核备注",
  19916. "type": "string"
  19917. },
  19918. "auditsrc": {
  19919. "description": "审核来源 - 1:管理端 2:终端",
  19920. "type": "integer"
  19921. },
  19922. "audittime": {
  19923. "description": "审核时间",
  19924. "type": "string"
  19925. },
  19926. "audittradedate": {
  19927. "description": "审核交易日(yyyyMMdd)",
  19928. "type": "string"
  19929. },
  19930. "brandname": {
  19931. "description": "品牌名称",
  19932. "type": "string"
  19933. },
  19934. "buynickname": {
  19935. "description": "采购方昵称",
  19936. "type": "string"
  19937. },
  19938. "buyuserid": {
  19939. "description": "采购方userid",
  19940. "type": "integer"
  19941. },
  19942. "buyusername": {
  19943. "description": "采购方名称",
  19944. "type": "string"
  19945. },
  19946. "contractno": {
  19947. "description": "合同编号",
  19948. "type": "string"
  19949. },
  19950. "contractqty": {
  19951. "description": "合同量",
  19952. "type": "number"
  19953. },
  19954. "contracttype": {
  19955. "description": "现货合同类型 - 1:采购 -1:销售",
  19956. "type": "integer"
  19957. },
  19958. "deliverygoodscode": {
  19959. "description": "现货品种代码",
  19960. "type": "string"
  19961. },
  19962. "deliverygoodsid": {
  19963. "description": "现货品种id",
  19964. "type": "integer"
  19965. },
  19966. "deliverygoodsname": {
  19967. "description": "现货品种名称",
  19968. "type": "string"
  19969. },
  19970. "detailjson": {
  19971. "description": "明细数据",
  19972. "type": "string"
  19973. },
  19974. "enumdicname": {
  19975. "description": "现货商品单位名称",
  19976. "type": "string"
  19977. },
  19978. "inoutapplyid": {
  19979. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  19980. "type": "string"
  19981. },
  19982. "inouttype": {
  19983. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19984. "type": "integer"
  19985. },
  19986. "pricetype": {
  19987. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19988. "type": "integer"
  19989. },
  19990. "qty": {
  19991. "description": "数量",
  19992. "type": "number"
  19993. },
  19994. "sellnickname": {
  19995. "description": "销售方昵称",
  19996. "type": "string"
  19997. },
  19998. "selluserid": {
  19999. "description": "销售方userid",
  20000. "type": "integer"
  20001. },
  20002. "sellusername": {
  20003. "description": "销售方名称",
  20004. "type": "string"
  20005. },
  20006. "spotcontractid": {
  20007. "description": "关联现货合同ID",
  20008. "type": "string"
  20009. },
  20010. "spotgoodsbrandid": {
  20011. "description": "现货品牌ID",
  20012. "type": "integer"
  20013. },
  20014. "unitid": {
  20015. "description": "单位id",
  20016. "type": "integer"
  20017. },
  20018. "userid": {
  20019. "description": "机构ID",
  20020. "type": "integer"
  20021. },
  20022. "warehousecode": {
  20023. "description": "仓库代码",
  20024. "type": "string"
  20025. },
  20026. "warehouseinfoid": {
  20027. "description": "现货仓库ID",
  20028. "type": "string"
  20029. },
  20030. "warehousename": {
  20031. "description": "仓库名称",
  20032. "type": "string"
  20033. },
  20034. "warehousetype": {
  20035. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20036. "type": "integer"
  20037. },
  20038. "wrstandardcode": {
  20039. "description": "品类代码",
  20040. "type": "string"
  20041. },
  20042. "wrstandardid": {
  20043. "description": "品类ID",
  20044. "type": "integer"
  20045. },
  20046. "wrstandardname": {
  20047. "description": "品类名称",
  20048. "type": "string"
  20049. }
  20050. }
  20051. },
  20052. "models.Ermcp3AreaStockApplySum": {
  20053. "type": "object",
  20054. "properties": {
  20055. "brandname": {
  20056. "description": "品牌名称",
  20057. "type": "string"
  20058. },
  20059. "inouttype": {
  20060. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20061. "type": "integer"
  20062. },
  20063. "spotcontractid": {
  20064. "description": "关联现货合同ID",
  20065. "type": "string"
  20066. },
  20067. "spotgoodsbrandid": {
  20068. "description": "品牌id",
  20069. "type": "integer"
  20070. },
  20071. "totalqty": {
  20072. "description": "总数量",
  20073. "type": "number"
  20074. },
  20075. "wrstandardid": {
  20076. "description": "品类id",
  20077. "type": "integer"
  20078. },
  20079. "wrstandardname": {
  20080. "description": "品类名称",
  20081. "type": "string"
  20082. }
  20083. }
  20084. },
  20085. "models.Ermcp3AreaStockReportEx": {
  20086. "type": "object",
  20087. "properties": {
  20088. "begindate": {
  20089. "description": "开始交易日",
  20090. "type": "string"
  20091. },
  20092. "brandname": {
  20093. "description": "品牌名称",
  20094. "type": "string"
  20095. },
  20096. "curstock": {
  20097. "description": "期末库存量",
  20098. "type": "number"
  20099. },
  20100. "cycletime": {
  20101. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20102. "type": "string"
  20103. },
  20104. "cycletype": {
  20105. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20106. "type": "integer"
  20107. },
  20108. "deliverygoodscode": {
  20109. "description": "现货品种代码",
  20110. "type": "string"
  20111. },
  20112. "deliverygoodsid": {
  20113. "description": "现货品种id",
  20114. "type": "integer"
  20115. },
  20116. "deliverygoodsname": {
  20117. "description": "现货品种名称",
  20118. "type": "string"
  20119. },
  20120. "diffqty": {
  20121. "description": "库存变化量 = 期末 - 期初",
  20122. "type": "number"
  20123. },
  20124. "enddate": {
  20125. "description": "结束交易日",
  20126. "type": "string"
  20127. },
  20128. "enumdicname": {
  20129. "description": "单位名称",
  20130. "type": "string"
  20131. },
  20132. "goodsunitid": {
  20133. "description": "现货单位id",
  20134. "type": "integer"
  20135. },
  20136. "oristock": {
  20137. "description": "期初库存量",
  20138. "type": "number"
  20139. },
  20140. "reckondate": {
  20141. "description": "日照时期(yyyyMMdd)",
  20142. "type": "string"
  20143. },
  20144. "spotgoodsbrandid": {
  20145. "description": "现货品牌ID",
  20146. "type": "integer"
  20147. },
  20148. "todaybuyinqty": {
  20149. "description": "今采购入库量",
  20150. "type": "number"
  20151. },
  20152. "todayproduceinqty": {
  20153. "description": "今内部入库量",
  20154. "type": "number"
  20155. },
  20156. "todayproduceoutqty": {
  20157. "description": "今内部出库量",
  20158. "type": "number"
  20159. },
  20160. "todayselloutqty": {
  20161. "description": "今销售出库量",
  20162. "type": "number"
  20163. },
  20164. "unbuyinqty": {
  20165. "description": "采购未入库量(数据库未找到相关字段?)",
  20166. "type": "number"
  20167. },
  20168. "unitid": {
  20169. "description": "品类单位id",
  20170. "type": "integer"
  20171. },
  20172. "unselloutqty": {
  20173. "description": "销售未出库量(数据库未找到相关字段?)",
  20174. "type": "number"
  20175. },
  20176. "updatetime": {
  20177. "description": "更新时间",
  20178. "type": "string"
  20179. },
  20180. "userid": {
  20181. "description": "机构ID",
  20182. "type": "integer"
  20183. },
  20184. "username": {
  20185. "description": "机构名称",
  20186. "type": "string"
  20187. },
  20188. "warehousecode": {
  20189. "description": "仓库代码",
  20190. "type": "string"
  20191. },
  20192. "warehouseinfoid": {
  20193. "description": "仓库ID",
  20194. "type": "string"
  20195. },
  20196. "warehousename": {
  20197. "description": "仓库名称",
  20198. "type": "string"
  20199. },
  20200. "warehousetype": {
  20201. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20202. "type": "integer"
  20203. },
  20204. "wrstandardcode": {
  20205. "description": "品类代码",
  20206. "type": "string"
  20207. },
  20208. "wrstandardid": {
  20209. "description": "品类ID",
  20210. "type": "integer"
  20211. },
  20212. "wrstandardname": {
  20213. "description": "品类名称",
  20214. "type": "string"
  20215. }
  20216. }
  20217. },
  20218. "models.Ermcp3ArealSumPL": {
  20219. "type": "object",
  20220. "properties": {
  20221. "accountname": {
  20222. "description": "机构名称",
  20223. "type": "string"
  20224. },
  20225. "areauserid": {
  20226. "description": "所属机构\\交易用户ID",
  20227. "type": "integer"
  20228. },
  20229. "begindate": {
  20230. "description": "开始交易日",
  20231. "type": "string"
  20232. },
  20233. "currencyid": {
  20234. "description": "结算币种ID",
  20235. "type": "integer"
  20236. },
  20237. "currencyname": {
  20238. "description": "币种名称",
  20239. "type": "string"
  20240. },
  20241. "cycletime": {
  20242. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20243. "type": "string"
  20244. },
  20245. "cycletype": {
  20246. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20247. "type": "integer"
  20248. },
  20249. "enddate": {
  20250. "description": "结束交易日",
  20251. "type": "string"
  20252. },
  20253. "enumdicname": {
  20254. "description": "单位名称(套保品种)",
  20255. "type": "string"
  20256. },
  20257. "futureactualpl": {
  20258. "description": "期货损益",
  20259. "type": "number"
  20260. },
  20261. "futurefloatpl": {
  20262. "description": "期货浮动损益",
  20263. "type": "number"
  20264. },
  20265. "futurespotratio": {
  20266. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20267. "type": "number"
  20268. },
  20269. "goodsunitid": {
  20270. "description": "套保品种单位id",
  20271. "type": "integer"
  20272. },
  20273. "hedgeexposurepl": {
  20274. "description": "套保敞口损益",
  20275. "type": "number"
  20276. },
  20277. "middlegoodscode": {
  20278. "description": "套保品种代码",
  20279. "type": "string"
  20280. },
  20281. "middlegoodsid": {
  20282. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20283. "type": "integer"
  20284. },
  20285. "middlegoodsname": {
  20286. "description": "套保品种名称",
  20287. "type": "string"
  20288. },
  20289. "reckondate": {
  20290. "description": "日照时期(yyyyMMdd)",
  20291. "type": "string"
  20292. },
  20293. "spotactualpl": {
  20294. "description": "现货损益",
  20295. "type": "number"
  20296. },
  20297. "spotfloatpl": {
  20298. "description": "现货浮动损益",
  20299. "type": "number"
  20300. },
  20301. "sumactualpl": {
  20302. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20303. "type": "number"
  20304. },
  20305. "sumpl": {
  20306. "description": "总敞口损益 | 汇总损益",
  20307. "type": "number"
  20308. },
  20309. "totalfutureqty": {
  20310. "description": "期货头寸总量",
  20311. "type": "number"
  20312. },
  20313. "totalneedhedgeqty": {
  20314. "description": "应套保总量",
  20315. "type": "number"
  20316. },
  20317. "totalspotqty": {
  20318. "description": "现货头寸总量",
  20319. "type": "number"
  20320. },
  20321. "updatetime": {
  20322. "description": "更新时间",
  20323. "type": "string"
  20324. }
  20325. }
  20326. },
  20327. "models.Ermcp3Brand": {
  20328. "type": "object",
  20329. "properties": {
  20330. "areauserid": {
  20331. "description": "用户id",
  20332. "type": "integer"
  20333. },
  20334. "brandid": {
  20335. "description": "品牌id",
  20336. "type": "integer"
  20337. },
  20338. "brandname": {
  20339. "description": "品牌名称",
  20340. "type": "string"
  20341. },
  20342. "deliverygoodsid": {
  20343. "description": "品种ID",
  20344. "type": "integer"
  20345. },
  20346. "isvalid": {
  20347. "description": "是否有效",
  20348. "type": "integer"
  20349. }
  20350. }
  20351. },
  20352. "models.Ermcp3Contract": {
  20353. "type": "object",
  20354. "properties": {
  20355. "accountid": {
  20356. "description": "期货账户id",
  20357. "type": "string"
  20358. },
  20359. "amount": {
  20360. "description": "金额 [1:一口价、3:暂定价]",
  20361. "type": "number"
  20362. },
  20363. "attachment": {
  20364. "description": "附件",
  20365. "type": "string"
  20366. },
  20367. "auditremark": {
  20368. "description": "审核意见",
  20369. "type": "string"
  20370. },
  20371. "audittime": {
  20372. "description": "审核时间",
  20373. "type": "string"
  20374. },
  20375. "biztype": {
  20376. "description": "业务类型 1-套保 2-套利",
  20377. "type": "integer"
  20378. },
  20379. "brandname": {
  20380. "description": "品牌名称",
  20381. "type": "string"
  20382. },
  20383. "buynickname": {
  20384. "description": "销售方昵称",
  20385. "type": "string"
  20386. },
  20387. "buyuserid": {
  20388. "description": "采购方ID",
  20389. "type": "integer"
  20390. },
  20391. "buyusername": {
  20392. "description": "采购方名称",
  20393. "type": "string"
  20394. },
  20395. "contracctstatus": {
  20396. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20397. "type": "integer"
  20398. },
  20399. "contractmargin": {
  20400. "description": "合同保证金",
  20401. "type": "number"
  20402. },
  20403. "contractno": {
  20404. "description": "现货合同编号",
  20405. "type": "string"
  20406. },
  20407. "contracttype": {
  20408. "description": "现货合同类型 - 1:采购 -1:销售",
  20409. "type": "integer"
  20410. },
  20411. "convertfactor": {
  20412. "description": "标仓系数(品类)",
  20413. "type": "number"
  20414. },
  20415. "createtime": {
  20416. "description": "创建时间",
  20417. "type": "string"
  20418. },
  20419. "currencyid": {
  20420. "description": "币种id",
  20421. "type": "integer"
  20422. },
  20423. "currencyname": {
  20424. "description": "币种名称",
  20425. "type": "string"
  20426. },
  20427. "deliveryenddate": {
  20428. "description": "交收期(结束)",
  20429. "type": "string"
  20430. },
  20431. "deliverygoodscode": {
  20432. "description": "现货品种代码",
  20433. "type": "string"
  20434. },
  20435. "deliverygoodsid": {
  20436. "description": "现货品种ID",
  20437. "type": "integer"
  20438. },
  20439. "deliverygoodsname": {
  20440. "description": "现货品种名称",
  20441. "type": "string"
  20442. },
  20443. "deliverystartdate": {
  20444. "description": "交收期(开始)",
  20445. "type": "string"
  20446. },
  20447. "enddate": {
  20448. "description": "点价结束日期 [2:点价 3:暂定价]",
  20449. "type": "string"
  20450. },
  20451. "enumdicname": {
  20452. "description": "单位名称",
  20453. "type": "string"
  20454. },
  20455. "goodscode": {
  20456. "description": "点价合约代码",
  20457. "type": "string"
  20458. },
  20459. "goodsid": {
  20460. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20461. "type": "integer"
  20462. },
  20463. "goodsname": {
  20464. "description": "点价商品名称",
  20465. "type": "string"
  20466. },
  20467. "margin": {
  20468. "description": "当前保证金",
  20469. "type": "number"
  20470. },
  20471. "meruserid": {
  20472. "description": "跟单员id",
  20473. "type": "integer"
  20474. },
  20475. "meruserlogincode": {
  20476. "description": "跟单员登录代码",
  20477. "type": "string"
  20478. },
  20479. "merusername": {
  20480. "description": "跟单员名称",
  20481. "type": "string"
  20482. },
  20483. "price": {
  20484. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20485. "type": "number"
  20486. },
  20487. "pricemove": {
  20488. "description": "升贴水 [2:点价 3:暂定价]",
  20489. "type": "number"
  20490. },
  20491. "pricetype": {
  20492. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20493. "type": "integer"
  20494. },
  20495. "producttype": {
  20496. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20497. "type": "integer"
  20498. },
  20499. "qty": {
  20500. "description": "数量",
  20501. "type": "number"
  20502. },
  20503. "remark": {
  20504. "description": "备注",
  20505. "type": "string"
  20506. },
  20507. "saleuserid": {
  20508. "description": "业务员id",
  20509. "type": "integer"
  20510. },
  20511. "saleuserlogincode": {
  20512. "description": "业务员登录代码",
  20513. "type": "string"
  20514. },
  20515. "saleusername": {
  20516. "description": "业务员名称",
  20517. "type": "string"
  20518. },
  20519. "sellnickname": {
  20520. "description": "采购方昵称",
  20521. "type": "string"
  20522. },
  20523. "selluserid": {
  20524. "description": "销售方ID",
  20525. "type": "integer"
  20526. },
  20527. "sellusername": {
  20528. "description": "销售方名称",
  20529. "type": "string"
  20530. },
  20531. "spotcontractid": {
  20532. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20533. "type": "string"
  20534. },
  20535. "spotgoodsbrandid": {
  20536. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20537. "type": "integer"
  20538. },
  20539. "spotgoodsdesc": {
  20540. "description": "商品型号",
  20541. "type": "string"
  20542. },
  20543. "startdate": {
  20544. "description": "点价开始日期 [2:点价 3:暂定价]",
  20545. "type": "string"
  20546. },
  20547. "subjectid": {
  20548. "description": "交易主体ID",
  20549. "type": "integer"
  20550. },
  20551. "subjectname": {
  20552. "description": "交易主体名称",
  20553. "type": "string"
  20554. },
  20555. "tradeuserid": {
  20556. "description": "交易员id",
  20557. "type": "integer"
  20558. },
  20559. "tradeuserlogincode": {
  20560. "description": "交易员登录代码",
  20561. "type": "string"
  20562. },
  20563. "tradeusername": {
  20564. "description": "交易员名称",
  20565. "type": "string"
  20566. },
  20567. "unitid": {
  20568. "description": "单位id(取品类上的单位id)",
  20569. "type": "integer"
  20570. },
  20571. "updatetime": {
  20572. "description": "更新时间",
  20573. "type": "string"
  20574. },
  20575. "userid": {
  20576. "description": "所属机构ID",
  20577. "type": "integer"
  20578. },
  20579. "vatrate": {
  20580. "description": "增值税率",
  20581. "type": "number"
  20582. },
  20583. "wrstandardcode": {
  20584. "description": "品类代码",
  20585. "type": "string"
  20586. },
  20587. "wrstandardid": {
  20588. "description": "品类ID",
  20589. "type": "integer"
  20590. },
  20591. "wrstandardname": {
  20592. "description": "品类名称",
  20593. "type": "string"
  20594. }
  20595. }
  20596. },
  20597. "models.Ermcp3ExposureContractDetail": {
  20598. "type": "object",
  20599. "properties": {
  20600. "biztype": {
  20601. "description": "业务类型 1-套保 2-套利",
  20602. "type": "integer"
  20603. },
  20604. "brandname": {
  20605. "description": "品牌名称",
  20606. "type": "string"
  20607. },
  20608. "buyuserid": {
  20609. "description": "采购方id",
  20610. "type": "integer"
  20611. },
  20612. "buyusername": {
  20613. "description": "采购方名称",
  20614. "type": "string"
  20615. },
  20616. "contractno": {
  20617. "description": "合同编号",
  20618. "type": "string"
  20619. },
  20620. "contracttype": {
  20621. "description": "现货合同类型 - 1:采购 -1:销售",
  20622. "type": "integer"
  20623. },
  20624. "convertfactor": {
  20625. "description": "标仓系数",
  20626. "type": "number"
  20627. },
  20628. "convertratio": {
  20629. "description": "折算系数(套保品种)",
  20630. "type": "number"
  20631. },
  20632. "curqty": {
  20633. "description": "今定价量",
  20634. "type": "number"
  20635. },
  20636. "deliverygoodscode": {
  20637. "description": "现货商品代码",
  20638. "type": "string"
  20639. },
  20640. "deliverygoodsid": {
  20641. "description": "现货商品id",
  20642. "type": "integer"
  20643. },
  20644. "deliverygoodsname": {
  20645. "description": "现货商品名称",
  20646. "type": "string"
  20647. },
  20648. "diffhedgeqty": {
  20649. "description": "套保变动量",
  20650. "type": "number"
  20651. },
  20652. "diffneedhedgeqty": {
  20653. "description": "应套保变动量",
  20654. "type": "number"
  20655. },
  20656. "diffqty": {
  20657. "description": "套保品种今变动量",
  20658. "type": "number"
  20659. },
  20660. "enumdicname": {
  20661. "description": "单位名称",
  20662. "type": "string"
  20663. },
  20664. "mgunitname": {
  20665. "description": "套保品种单位名称",
  20666. "type": "string"
  20667. },
  20668. "middlegoodscode": {
  20669. "description": "套保品种代码",
  20670. "type": "string"
  20671. },
  20672. "middlegoodsid": {
  20673. "description": "套保品种id",
  20674. "type": "integer"
  20675. },
  20676. "middlegoodsname": {
  20677. "description": "套保品种名称",
  20678. "type": "string"
  20679. },
  20680. "needarbitrageratio": {
  20681. "description": "应套利比例",
  20682. "type": "number"
  20683. },
  20684. "needhedgeratio": {
  20685. "description": "应套保比例",
  20686. "type": "number"
  20687. },
  20688. "pricedqty": {
  20689. "description": "已定价量",
  20690. "type": "number"
  20691. },
  20692. "qty": {
  20693. "description": "合同量",
  20694. "type": "number"
  20695. },
  20696. "selluserid": {
  20697. "description": "销售方id",
  20698. "type": "integer"
  20699. },
  20700. "sellusername": {
  20701. "description": "销售方名称",
  20702. "type": "string"
  20703. },
  20704. "spotcontractid": {
  20705. "description": "合同id",
  20706. "type": "string"
  20707. },
  20708. "todaypricedqty": {
  20709. "description": "今定价量",
  20710. "type": "number"
  20711. },
  20712. "tradedate": {
  20713. "description": "交易日",
  20714. "type": "string"
  20715. },
  20716. "unitid": {
  20717. "description": "品类单位id",
  20718. "type": "integer"
  20719. },
  20720. "userid": {
  20721. "description": "机构id",
  20722. "type": "integer"
  20723. },
  20724. "username": {
  20725. "description": "交易用户",
  20726. "type": "string"
  20727. },
  20728. "wrstandardcode": {
  20729. "description": "品类代码",
  20730. "type": "string"
  20731. },
  20732. "wrstandardid": {
  20733. "description": "品类id",
  20734. "type": "integer"
  20735. },
  20736. "wrstandardname": {
  20737. "description": "品类名称",
  20738. "type": "string"
  20739. }
  20740. }
  20741. },
  20742. "models.Ermcp3ExposureDetail": {
  20743. "type": "object",
  20744. "properties": {
  20745. "areauserid": {
  20746. "description": "机构ID",
  20747. "type": "integer"
  20748. },
  20749. "changeQty": {
  20750. "description": "套保变动量",
  20751. "type": "number"
  20752. },
  20753. "contracttype": {
  20754. "description": "现货合同类型 - 1:采购 -1:销售",
  20755. "type": "integer"
  20756. },
  20757. "convertfactor": {
  20758. "description": "标仓系数",
  20759. "type": "number"
  20760. },
  20761. "convertratio": {
  20762. "description": "折算系数",
  20763. "type": "number"
  20764. },
  20765. "createtime": {
  20766. "description": "时间",
  20767. "type": "string"
  20768. },
  20769. "enumdicname": {
  20770. "description": "现货商品单位名称",
  20771. "type": "string"
  20772. },
  20773. "logtype": {
  20774. "description": "类型 - 1:套保计划 2:现货合同",
  20775. "type": "integer"
  20776. },
  20777. "mgunitid": {
  20778. "description": "套保品种单位id",
  20779. "type": "integer"
  20780. },
  20781. "mgunitidname": {
  20782. "description": "套保品种单位名称",
  20783. "type": "string"
  20784. },
  20785. "middlegoodsId": {
  20786. "description": "套保商品id",
  20787. "type": "integer"
  20788. },
  20789. "middlegoodscode": {
  20790. "description": "套保商品代码",
  20791. "type": "string"
  20792. },
  20793. "middlegoodsname": {
  20794. "description": "套保商品名称",
  20795. "type": "string"
  20796. },
  20797. "qty": {
  20798. "description": "数量",
  20799. "type": "number"
  20800. },
  20801. "relateNo": {
  20802. "description": "现货合同/套保计划编号",
  20803. "type": "string"
  20804. },
  20805. "unitid": {
  20806. "description": "现货商品单位id",
  20807. "type": "integer"
  20808. },
  20809. "wrstandardcode": {
  20810. "description": "现货商品代码",
  20811. "type": "string"
  20812. },
  20813. "wrstandardid": {
  20814. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20815. "type": "integer"
  20816. },
  20817. "wrstandardname": {
  20818. "description": "现货商品名称",
  20819. "type": "string"
  20820. }
  20821. }
  20822. },
  20823. "models.Ermcp3ExposureFutuDetail": {
  20824. "type": "object",
  20825. "properties": {
  20826. "accountid": {
  20827. "description": "交易账户id",
  20828. "type": "integer"
  20829. },
  20830. "accountname": {
  20831. "description": "交易账户",
  20832. "type": "string"
  20833. },
  20834. "begindate": {
  20835. "description": "开始交易日",
  20836. "type": "string"
  20837. },
  20838. "buyorsell": {
  20839. "description": "方向 0-买 1-卖",
  20840. "type": "integer"
  20841. },
  20842. "diffmgqty": {
  20843. "description": "套保品种今变化量",
  20844. "type": "number"
  20845. },
  20846. "diffneedqty": {
  20847. "description": "应套保总量变化量",
  20848. "type": "number"
  20849. },
  20850. "difftradeqty": {
  20851. "description": "交易品种今变化量",
  20852. "type": "number"
  20853. },
  20854. "enddate": {
  20855. "description": "结束交易日",
  20856. "type": "string"
  20857. },
  20858. "enumdicname": {
  20859. "description": "单位名称",
  20860. "type": "string"
  20861. },
  20862. "goodscode": {
  20863. "description": "商品代码",
  20864. "type": "string"
  20865. },
  20866. "goodsid": {
  20867. "description": "商品id",
  20868. "type": "integer"
  20869. },
  20870. "goodsname": {
  20871. "description": "商品名称",
  20872. "type": "string"
  20873. },
  20874. "holdqty": {
  20875. "description": "期末持仓量",
  20876. "type": "number"
  20877. },
  20878. "middlegoodscode": {
  20879. "description": "套保商品代码",
  20880. "type": "string"
  20881. },
  20882. "middlegoodsid": {
  20883. "description": "套保商品id",
  20884. "type": "integer"
  20885. },
  20886. "middlegoodsname": {
  20887. "description": "套保商品名称",
  20888. "type": "string"
  20889. },
  20890. "oriholdqty": {
  20891. "description": "期初持仓量",
  20892. "type": "number"
  20893. },
  20894. "todaycloseqty": {
  20895. "description": "今平仓量",
  20896. "type": "number"
  20897. },
  20898. "todayopenqty": {
  20899. "description": "今开仓量",
  20900. "type": "number"
  20901. },
  20902. "tradedate": {
  20903. "description": "交易日",
  20904. "type": "string"
  20905. },
  20906. "username": {
  20907. "description": "用户名称(交易用户)",
  20908. "type": "string"
  20909. }
  20910. }
  20911. },
  20912. "models.Ermcp3ExposureHedgeplanDetail": {
  20913. "type": "object",
  20914. "properties": {
  20915. "biztype": {
  20916. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20917. "type": "integer"
  20918. },
  20919. "changqty": {
  20920. "description": "应套保总量变化量",
  20921. "type": "number"
  20922. },
  20923. "contracttype": {
  20924. "description": "计划类型 - 1:采购 -1:销售",
  20925. "type": "integer"
  20926. },
  20927. "convertratio": {
  20928. "description": "折算系数(套保品种)",
  20929. "type": "number"
  20930. },
  20931. "deliverygoodscode": {
  20932. "description": "现货商品代码",
  20933. "type": "string"
  20934. },
  20935. "deliverygoodsid": {
  20936. "description": "现货商品id",
  20937. "type": "integer"
  20938. },
  20939. "deliverygoodsname": {
  20940. "description": "现货商吕名称",
  20941. "type": "string"
  20942. },
  20943. "dgunitid": {
  20944. "description": "现货商品单位id",
  20945. "type": "integer"
  20946. },
  20947. "dgunitidname": {
  20948. "description": "单位名称(现货商品)",
  20949. "type": "string"
  20950. },
  20951. "diffqty": {
  20952. "description": "套保品种今变动量",
  20953. "type": "number"
  20954. },
  20955. "enumdicname": {
  20956. "description": "单位名称(品类)",
  20957. "type": "string"
  20958. },
  20959. "hedgeplanid": {
  20960. "description": "套保计划id",
  20961. "type": "string"
  20962. },
  20963. "hedgeplanno": {
  20964. "description": "套保计划名称",
  20965. "type": "string"
  20966. },
  20967. "hedgeplanstatus": {
  20968. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20969. "type": "integer"
  20970. },
  20971. "mgunitidname": {
  20972. "description": "单位名称(套保商品)",
  20973. "type": "string"
  20974. },
  20975. "middlegoodscode": {
  20976. "description": "套保品种代码",
  20977. "type": "string"
  20978. },
  20979. "middlegoodsid": {
  20980. "description": "套保品种id",
  20981. "type": "integer"
  20982. },
  20983. "middlegoodsname": {
  20984. "description": "套保品种名称",
  20985. "type": "string"
  20986. },
  20987. "needarbitrageratio": {
  20988. "description": "应套利比例",
  20989. "type": "number"
  20990. },
  20991. "needhedgeratio": {
  20992. "description": "应套保比例",
  20993. "type": "number"
  20994. },
  20995. "pricedqty": {
  20996. "description": "已定价量",
  20997. "type": "number"
  20998. },
  20999. "qty": {
  21000. "description": "合同量",
  21001. "type": "number"
  21002. },
  21003. "tradedate": {
  21004. "description": "交易日(登记日)",
  21005. "type": "string"
  21006. },
  21007. "unitid": {
  21008. "description": "品类单位id",
  21009. "type": "integer"
  21010. },
  21011. "userid": {
  21012. "description": "机构id",
  21013. "type": "integer"
  21014. },
  21015. "wrstandardcode": {
  21016. "description": "品类代码",
  21017. "type": "string"
  21018. },
  21019. "wrstandardid": {
  21020. "description": "品类id",
  21021. "type": "integer"
  21022. },
  21023. "wrstandardname": {
  21024. "description": "品类名称",
  21025. "type": "string"
  21026. }
  21027. }
  21028. },
  21029. "models.Ermcp3ExposureParamChLog": {
  21030. "type": "object",
  21031. "properties": {
  21032. "accountid": {
  21033. "description": "期货账户ID (作废, 默认为0)",
  21034. "type": "integer"
  21035. },
  21036. "aftervalue": {
  21037. "description": "应套保\\套利量变更后(调整后应套保总量)",
  21038. "type": "number"
  21039. },
  21040. "areauserid": {
  21041. "description": "所属机构\\交易用户ID",
  21042. "type": "integer"
  21043. },
  21044. "beforevalue": {
  21045. "description": "应套保\\套利量变更前(调整前应套保总量)",
  21046. "type": "number"
  21047. },
  21048. "begindate": {
  21049. "description": "开始交易日",
  21050. "type": "string"
  21051. },
  21052. "changelogtype": {
  21053. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  21054. "type": "integer"
  21055. },
  21056. "curvalue": {
  21057. "description": "当前套保\\套利量(套保总量|套利总量)",
  21058. "type": "number"
  21059. },
  21060. "diffvalue": {
  21061. "description": "应套保总量变化量",
  21062. "type": "number"
  21063. },
  21064. "enddate": {
  21065. "description": "结束交易日",
  21066. "type": "string"
  21067. },
  21068. "logdatetime": {
  21069. "description": "流水日期",
  21070. "type": "string"
  21071. },
  21072. "logid": {
  21073. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  21074. "type": "string"
  21075. },
  21076. "middlegoodscode": {
  21077. "description": "套保品种代码",
  21078. "type": "string"
  21079. },
  21080. "middlegoodsid": {
  21081. "description": "套保品种",
  21082. "type": "integer"
  21083. },
  21084. "middlegoodsname": {
  21085. "description": "套保品种名称",
  21086. "type": "string"
  21087. },
  21088. "paramaftervalue": {
  21089. "description": "参数变更后(调整后参数值)",
  21090. "type": "number"
  21091. },
  21092. "parambeforevalue": {
  21093. "description": "参数变更前(调整前参数值)",
  21094. "type": "number"
  21095. },
  21096. "tradedate": {
  21097. "description": "交易日(yyyyMMdd)",
  21098. "type": "string"
  21099. }
  21100. }
  21101. },
  21102. "models.Ermcp3ExpourseReport": {
  21103. "type": "object",
  21104. "properties": {
  21105. "accountid": {
  21106. "description": "期货账户ID (作废, 默认为0)",
  21107. "type": "integer"
  21108. },
  21109. "accountname": {
  21110. "description": "机构名称",
  21111. "type": "string"
  21112. },
  21113. "arbitrageqty": {
  21114. "description": "套利量",
  21115. "type": "number"
  21116. },
  21117. "areauserid": {
  21118. "description": "所属机构\\交易用户ID",
  21119. "type": "integer"
  21120. },
  21121. "begindate": {
  21122. "description": "开始交易日",
  21123. "type": "string"
  21124. },
  21125. "buyfutureqty": {
  21126. "description": "买入期货数量",
  21127. "type": "number"
  21128. },
  21129. "buyplanqty": {
  21130. "description": "采购计划数量",
  21131. "type": "number"
  21132. },
  21133. "buypricedqty": {
  21134. "description": "采购合同已定价数量",
  21135. "type": "number"
  21136. },
  21137. "cycletime": {
  21138. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21139. "type": "string"
  21140. },
  21141. "cycletype": {
  21142. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21143. "type": "integer"
  21144. },
  21145. "diffexposure": {
  21146. "description": "变动量(套保敞口)",
  21147. "type": "number"
  21148. },
  21149. "difffutuqty": {
  21150. "description": "变动量(期货)",
  21151. "type": "number"
  21152. },
  21153. "diffhedgeqty": {
  21154. "description": "变动量(现货应套保总量)",
  21155. "type": "number"
  21156. },
  21157. "diffmgqtya": {
  21158. "description": "套保变动量",
  21159. "type": "number"
  21160. },
  21161. "diffmgqtyb": {
  21162. "description": "套利变动量",
  21163. "type": "number"
  21164. },
  21165. "diffqty": {
  21166. "description": "变动量(总敞口)",
  21167. "type": "number"
  21168. },
  21169. "diffspotqty": {
  21170. "description": "变动量(现货)",
  21171. "type": "number"
  21172. },
  21173. "enddate": {
  21174. "description": "结束交易日",
  21175. "type": "string"
  21176. },
  21177. "enumdicname": {
  21178. "description": "单位名称",
  21179. "type": "string"
  21180. },
  21181. "hedgeqty": {
  21182. "description": "套保量",
  21183. "type": "number"
  21184. },
  21185. "mgneedhedgeratio": {
  21186. "description": "套保比例(套保品的)",
  21187. "type": "number"
  21188. },
  21189. "middlegoodsid": {
  21190. "description": "套保品种ID",
  21191. "type": "integer"
  21192. },
  21193. "middlegoodsname": {
  21194. "description": "套保商品名称",
  21195. "type": "string"
  21196. },
  21197. "middlgoodscode": {
  21198. "description": "套保商品代码",
  21199. "type": "string"
  21200. },
  21201. "needarbitrageqty": {
  21202. "description": "应套利量",
  21203. "type": "number"
  21204. },
  21205. "needarbitrageratio": {
  21206. "description": "套利比例(套保品的)",
  21207. "type": "number"
  21208. },
  21209. "needhedgeexposoure": {
  21210. "description": "应套保敞口(套保敞口)",
  21211. "type": "number"
  21212. },
  21213. "needhedgeqty": {
  21214. "description": "应套保量",
  21215. "type": "number"
  21216. },
  21217. "needhedgeratio": {
  21218. "description": "应套保敞口比例",
  21219. "type": "number"
  21220. },
  21221. "oriarbitrageqty": {
  21222. "description": "期初套利量",
  21223. "type": "number"
  21224. },
  21225. "oribuyfutureqty": {
  21226. "description": "期初买入期货数量",
  21227. "type": "number"
  21228. },
  21229. "oribuyplanqty": {
  21230. "description": "期初采购计划数量",
  21231. "type": "number"
  21232. },
  21233. "oribuypricedqty": {
  21234. "description": "期初采购合同已定价数量",
  21235. "type": "number"
  21236. },
  21237. "orihedgeqty": {
  21238. "description": "期初套保量",
  21239. "type": "number"
  21240. },
  21241. "orineedarbitrageqty": {
  21242. "description": "期初应套利量",
  21243. "type": "number"
  21244. },
  21245. "orineedhedgeexposoure": {
  21246. "description": "期初应套保敞口",
  21247. "type": "number"
  21248. },
  21249. "orineedhedgeqty": {
  21250. "description": "期初应套保量",
  21251. "type": "number"
  21252. },
  21253. "orisellfutureqty": {
  21254. "description": "期初卖出期货数量",
  21255. "type": "number"
  21256. },
  21257. "orisellplanqty": {
  21258. "description": "期初销售计划数量",
  21259. "type": "number"
  21260. },
  21261. "orisellpricedqty": {
  21262. "description": "期初销售合同已定价数量",
  21263. "type": "number"
  21264. },
  21265. "oritotalexposure": {
  21266. "description": "期初实时总敞口",
  21267. "type": "number"
  21268. },
  21269. "oritotalfutureqty": {
  21270. "description": "期初期货头寸总量",
  21271. "type": "number"
  21272. },
  21273. "oritotalneedhedgeqty": {
  21274. "description": "期初应套保总量",
  21275. "type": "number"
  21276. },
  21277. "oritotalspotqty": {
  21278. "description": "期初现货头寸总量",
  21279. "type": "number"
  21280. },
  21281. "reckondate": {
  21282. "description": "日照时期(yyyyMMdd)",
  21283. "type": "string"
  21284. },
  21285. "sellfutureqty": {
  21286. "description": "卖出期货数量",
  21287. "type": "number"
  21288. },
  21289. "sellplanqty": {
  21290. "description": "销售计划数量",
  21291. "type": "number"
  21292. },
  21293. "sellpricedqty": {
  21294. "description": "销售合同已定价数量",
  21295. "type": "number"
  21296. },
  21297. "totalexposure": {
  21298. "description": "实时总敞口(总敞口)",
  21299. "type": "number"
  21300. },
  21301. "totalfutureqty": {
  21302. "description": "期货头寸总量(期货总量)",
  21303. "type": "number"
  21304. },
  21305. "totalhedgeratio": {
  21306. "description": "敞口比例",
  21307. "type": "number"
  21308. },
  21309. "totalneedhedgeqty": {
  21310. "description": "应套保总量(现货应套保总量)",
  21311. "type": "number"
  21312. },
  21313. "totalspotqty": {
  21314. "description": "现货头寸总量",
  21315. "type": "number"
  21316. },
  21317. "unitid": {
  21318. "description": "单位id",
  21319. "type": "integer"
  21320. },
  21321. "updatetime": {
  21322. "description": "更新时间",
  21323. "type": "string"
  21324. }
  21325. }
  21326. },
  21327. "models.Ermcp3FinanceReport": {
  21328. "type": "object",
  21329. "properties": {
  21330. "accountname": {
  21331. "description": "机构名称",
  21332. "type": "string"
  21333. },
  21334. "areauserid": {
  21335. "description": "所属机构\\交易用户ID",
  21336. "type": "integer"
  21337. },
  21338. "begindate": {
  21339. "description": "开始交易日",
  21340. "type": "string"
  21341. },
  21342. "biztype": {
  21343. "description": "业务类型 - 1:套保 2:套利",
  21344. "type": "integer"
  21345. },
  21346. "brandname": {
  21347. "description": "品牌名称",
  21348. "type": "string"
  21349. },
  21350. "buypreinvoicedamount": {
  21351. "description": "采购预收票额(预收票额)",
  21352. "type": "number"
  21353. },
  21354. "buyprepaidamount": {
  21355. "description": "采购预付款额(预付货款额)",
  21356. "type": "number"
  21357. },
  21358. "buytodayinvoiceamount": {
  21359. "description": "采购今收票额(今收票额)",
  21360. "type": "number"
  21361. },
  21362. "buytodayrefundamount": {
  21363. "description": "采购今收退款额(今收退款额)",
  21364. "type": "number"
  21365. },
  21366. "buytodaysettleamount": {
  21367. "description": "采购今付款额(今付货款额)",
  21368. "type": "number"
  21369. },
  21370. "buyuninvoicedamount": {
  21371. "description": "采购应收票额(应收票额)",
  21372. "type": "number"
  21373. },
  21374. "buyunpaidamount": {
  21375. "description": "采购应付款额(应付货款额)",
  21376. "type": "number"
  21377. },
  21378. "currencyid": {
  21379. "description": "结算币种ID",
  21380. "type": "integer"
  21381. },
  21382. "currencyname": {
  21383. "description": "币种名称",
  21384. "type": "string"
  21385. },
  21386. "cycletime": {
  21387. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21388. "type": "string"
  21389. },
  21390. "cycletype": {
  21391. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21392. "type": "integer"
  21393. },
  21394. "deliverygoodscode": {
  21395. "description": "现货品种代码",
  21396. "type": "string"
  21397. },
  21398. "deliverygoodsid": {
  21399. "description": "现货品种ID",
  21400. "type": "integer"
  21401. },
  21402. "deliverygoodsname": {
  21403. "description": "现货品种名称",
  21404. "type": "string"
  21405. },
  21406. "enddate": {
  21407. "description": "结束交易日",
  21408. "type": "string"
  21409. },
  21410. "reckondate": {
  21411. "description": "日照时期(yyyyMMdd)",
  21412. "type": "string"
  21413. },
  21414. "sellpreinvoicedamount": {
  21415. "description": "销售预开票额(预开票额)",
  21416. "type": "number"
  21417. },
  21418. "sellprepaidamount": {
  21419. "description": "销售预收款额(预收货款额)",
  21420. "type": "number"
  21421. },
  21422. "selltodayinvoiceamount": {
  21423. "description": "销售今开票额(今开票额)",
  21424. "type": "number"
  21425. },
  21426. "selltodayrefundamount": {
  21427. "description": "销售今付退款额(今付退款额)",
  21428. "type": "number"
  21429. },
  21430. "selltodaysettleamount": {
  21431. "description": "销售今收款额(今收货款额)",
  21432. "type": "number"
  21433. },
  21434. "selluninvoicedamount": {
  21435. "description": "销售应开票额(应开票额)",
  21436. "type": "number"
  21437. },
  21438. "sellunpaidamount": {
  21439. "description": "销售应收款额(应收货款额)",
  21440. "type": "number"
  21441. },
  21442. "spotgoodsbrandid": {
  21443. "description": "现货品牌ID",
  21444. "type": "integer"
  21445. },
  21446. "todaypaysum": {
  21447. "description": "今付款合计",
  21448. "type": "number"
  21449. },
  21450. "todayreceivesum": {
  21451. "description": "今收款合计",
  21452. "type": "number"
  21453. },
  21454. "updatetime": {
  21455. "description": "更新时间",
  21456. "type": "string"
  21457. },
  21458. "wrfactortypeid": {
  21459. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21460. "type": "integer"
  21461. },
  21462. "wrstandardcode": {
  21463. "description": "品类代码",
  21464. "type": "string"
  21465. },
  21466. "wrstandardid": {
  21467. "description": "现货商品ID",
  21468. "type": "integer"
  21469. },
  21470. "wrstandardname": {
  21471. "description": "品类名称",
  21472. "type": "string"
  21473. }
  21474. }
  21475. },
  21476. "models.Ermcp3GoodsGroup": {
  21477. "type": "object",
  21478. "required": [
  21479. "areauserid"
  21480. ],
  21481. "properties": {
  21482. "agreeunit": {
  21483. "description": "合约单位",
  21484. "type": "number"
  21485. },
  21486. "areauserid": {
  21487. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21488. "type": "integer"
  21489. },
  21490. "canshort": {
  21491. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21492. "type": "integer"
  21493. },
  21494. "closepricemode": {
  21495. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21496. "type": "integer"
  21497. },
  21498. "createtime": {
  21499. "description": "创建时间",
  21500. "type": "string"
  21501. },
  21502. "creatorid": {
  21503. "description": "创建人",
  21504. "type": "integer"
  21505. },
  21506. "currencyid": {
  21507. "description": "报价货币ID",
  21508. "type": "integer"
  21509. },
  21510. "decimalplace": {
  21511. "description": "报价小数位",
  21512. "type": "integer"
  21513. },
  21514. "enumdicname": {
  21515. "description": "单位名称",
  21516. "type": "string"
  21517. },
  21518. "exchangefullname": {
  21519. "description": "交易所全称",
  21520. "type": "string"
  21521. },
  21522. "excludecfg": {
  21523. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21524. "type": "integer"
  21525. },
  21526. "exexchangecode": {
  21527. "description": "交易所代码",
  21528. "type": "string"
  21529. },
  21530. "exexchangeid": {
  21531. "description": "外部交易所ID[通道交易]",
  21532. "type": "integer"
  21533. },
  21534. "exexchangename": {
  21535. "description": "交易所名称",
  21536. "type": "string"
  21537. },
  21538. "goodsgroupid": {
  21539. "description": "商品组ID(自增ID)",
  21540. "type": "integer"
  21541. },
  21542. "goodsgroupname": {
  21543. "description": "商品组名称",
  21544. "type": "string"
  21545. },
  21546. "goodsgroupstatus": {
  21547. "description": "商品组状态 - 1:正常 2:注销",
  21548. "type": "integer"
  21549. },
  21550. "goodunitid": {
  21551. "description": "报价单位ID",
  21552. "type": "integer"
  21553. },
  21554. "groupcategroyid": {
  21555. "description": "品种分类ID",
  21556. "type": "integer"
  21557. },
  21558. "innerdealmode": {
  21559. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21560. "type": "integer"
  21561. },
  21562. "marketid": {
  21563. "description": "所属市场ID",
  21564. "type": "integer"
  21565. },
  21566. "modifierid": {
  21567. "description": "修改人",
  21568. "type": "integer"
  21569. },
  21570. "modifytime": {
  21571. "description": "修改时间",
  21572. "type": "string"
  21573. },
  21574. "outerdealmode": {
  21575. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21576. "type": "integer"
  21577. },
  21578. "outergroupcode": {
  21579. "description": "外部商品组代码[通道交易]",
  21580. "type": "string"
  21581. },
  21582. "quoteminunit": {
  21583. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21584. "type": "integer"
  21585. },
  21586. "quotesourcegroupid": {
  21587. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21588. "type": "integer"
  21589. },
  21590. "syncgoodsqty": {
  21591. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21592. "type": "integer"
  21593. }
  21594. }
  21595. },
  21596. "models.Ermcp3HedgePlan": {
  21597. "type": "object",
  21598. "properties": {
  21599. "accountid": {
  21600. "description": "资金账号",
  21601. "type": "integer"
  21602. },
  21603. "areauserid": {
  21604. "description": "用户ID",
  21605. "type": "integer"
  21606. },
  21607. "auditid": {
  21608. "description": "审核id",
  21609. "type": "integer"
  21610. },
  21611. "auditname": {
  21612. "description": "审核人名称",
  21613. "type": "string"
  21614. },
  21615. "auditremark": {
  21616. "description": "审核备注",
  21617. "type": "string"
  21618. },
  21619. "auditsrc": {
  21620. "description": "审核来源 1-管理端 2-终端",
  21621. "type": "integer"
  21622. },
  21623. "audittime": {
  21624. "description": "审核时间",
  21625. "type": "string"
  21626. },
  21627. "contracttype": {
  21628. "description": "计划类型 - 1:采购 -1:销售",
  21629. "type": "integer"
  21630. },
  21631. "convertfactor": {
  21632. "description": "标仓系数",
  21633. "type": "number"
  21634. },
  21635. "createtime": {
  21636. "description": "创建时间",
  21637. "type": "string"
  21638. },
  21639. "currencyid": {
  21640. "description": "币种id",
  21641. "type": "integer"
  21642. },
  21643. "currencyname": {
  21644. "description": "币种名称",
  21645. "type": "string"
  21646. },
  21647. "deliverygoodscode": {
  21648. "description": "现货品种代码",
  21649. "type": "string"
  21650. },
  21651. "deliverygoodsid": {
  21652. "description": "现货品种ID",
  21653. "type": "integer"
  21654. },
  21655. "deliverygoodsname": {
  21656. "description": "现货品种名称",
  21657. "type": "string"
  21658. },
  21659. "enumdicname": {
  21660. "description": "单位名称(现货商品)",
  21661. "type": "string"
  21662. },
  21663. "hedgeplanid": {
  21664. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21665. "type": "string"
  21666. },
  21667. "hedgeplanno": {
  21668. "description": "套保计划编号(名称)",
  21669. "type": "string"
  21670. },
  21671. "hedgeplanstatus": {
  21672. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21673. "type": "integer"
  21674. },
  21675. "planqty": {
  21676. "description": "计划数量",
  21677. "type": "number"
  21678. },
  21679. "plantime": {
  21680. "description": "计划时间",
  21681. "type": "string"
  21682. },
  21683. "producttype": {
  21684. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21685. "type": "integer"
  21686. },
  21687. "remark": {
  21688. "description": "备注",
  21689. "type": "string"
  21690. },
  21691. "spotgoodsdesc": {
  21692. "description": "商品型号",
  21693. "type": "string"
  21694. },
  21695. "taaccountname": {
  21696. "description": "资金账号名称",
  21697. "type": "string"
  21698. },
  21699. "tradeuserid": {
  21700. "description": "交易用户id",
  21701. "type": "integer"
  21702. },
  21703. "tradeusername": {
  21704. "description": "交易用户名称",
  21705. "type": "string"
  21706. },
  21707. "unitid": {
  21708. "description": "单位id(现货商品)",
  21709. "type": "integer"
  21710. },
  21711. "updatetime": {
  21712. "description": "更新时间",
  21713. "type": "string"
  21714. },
  21715. "vatrate": {
  21716. "description": "增值税率",
  21717. "type": "number"
  21718. },
  21719. "wrstandardcode": {
  21720. "description": "品类代码",
  21721. "type": "string"
  21722. },
  21723. "wrstandardid": {
  21724. "description": "品类id",
  21725. "type": "integer"
  21726. },
  21727. "wrstandardname": {
  21728. "description": "品类名称",
  21729. "type": "string"
  21730. },
  21731. "wrunitid": {
  21732. "description": "品类单位id",
  21733. "type": "integer"
  21734. },
  21735. "wrunitidame": {
  21736. "description": "品类单位名称",
  21737. "type": "string"
  21738. }
  21739. }
  21740. },
  21741. "models.Ermcp3InnerTradeLink": {
  21742. "type": "object",
  21743. "properties": {
  21744. "accountid": {
  21745. "description": "期货账号代码 | 资金账号ID",
  21746. "type": "integer"
  21747. },
  21748. "buyorsell": {
  21749. "description": "方向 - 0:买 1:卖",
  21750. "type": "integer"
  21751. },
  21752. "channelbuildtype": {
  21753. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21754. "type": "integer"
  21755. },
  21756. "currencyid": {
  21757. "description": "币种id",
  21758. "type": "integer"
  21759. },
  21760. "currencyname": {
  21761. "description": "结算币种 名称",
  21762. "type": "string"
  21763. },
  21764. "goodscode": {
  21765. "description": "商品代码",
  21766. "type": "string"
  21767. },
  21768. "goodsid": {
  21769. "description": "商品ID",
  21770. "type": "integer"
  21771. },
  21772. "goodsname": {
  21773. "description": "商品名称",
  21774. "type": "string"
  21775. },
  21776. "outtradeid": {
  21777. "description": "外部成交单号",
  21778. "type": "string"
  21779. },
  21780. "taname": {
  21781. "description": "期货账户名称",
  21782. "type": "string"
  21783. },
  21784. "tradeid": {
  21785. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21786. "type": "string"
  21787. },
  21788. "tradeprice": {
  21789. "description": "成交价格",
  21790. "type": "number"
  21791. },
  21792. "tradeqty": {
  21793. "description": "期货成交数量",
  21794. "type": "integer"
  21795. },
  21796. "tradetime": {
  21797. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21798. "type": "string"
  21799. },
  21800. "username": {
  21801. "description": "用户名称",
  21802. "type": "string"
  21803. }
  21804. }
  21805. },
  21806. "models.Ermcp3OutTradeLink": {
  21807. "type": "object",
  21808. "properties": {
  21809. "buyorsell": {
  21810. "description": "买卖方向 - 0:买 1:卖",
  21811. "type": "integer"
  21812. },
  21813. "channelbuildtype": {
  21814. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21815. "type": "integer"
  21816. },
  21817. "currencyname": {
  21818. "description": "币种名称",
  21819. "type": "string"
  21820. },
  21821. "exexchangecode": {
  21822. "description": "交易所代码",
  21823. "type": "string"
  21824. },
  21825. "exexchangename": {
  21826. "description": "交易所名称",
  21827. "type": "string"
  21828. },
  21829. "goodscode": {
  21830. "description": "合约代码",
  21831. "type": "string"
  21832. },
  21833. "goodsid": {
  21834. "description": "合约id",
  21835. "type": "integer"
  21836. },
  21837. "goodsname": {
  21838. "description": "合约名称",
  21839. "type": "string"
  21840. },
  21841. "hasinnerorder": {
  21842. "description": "是否有内部单关联 - 0:无 1:有",
  21843. "type": "integer"
  21844. },
  21845. "hedgeaccountcode": {
  21846. "description": "外部账号 | 对冲账号",
  21847. "type": "string"
  21848. },
  21849. "outtradeid": {
  21850. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21851. "type": "string"
  21852. },
  21853. "tradeprice": {
  21854. "description": "成交价格",
  21855. "type": "number"
  21856. },
  21857. "tradeqty": {
  21858. "description": "成交数量",
  21859. "type": "integer"
  21860. },
  21861. "tradetime": {
  21862. "description": "成交时间",
  21863. "type": "string"
  21864. }
  21865. }
  21866. },
  21867. "models.Ermcp3PaAreaAuditCfg": {
  21868. "type": "object",
  21869. "properties": {
  21870. "areauserid": {
  21871. "description": "用户ID",
  21872. "type": "integer"
  21873. },
  21874. "buyinauditflag": {
  21875. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  21876. "type": "integer"
  21877. },
  21878. "costratioauditflag": {
  21879. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  21880. "type": "integer"
  21881. },
  21882. "customerauditflag": {
  21883. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  21884. "type": "integer"
  21885. },
  21886. "deliveryauditflag": {
  21887. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  21888. "type": "integer"
  21889. },
  21890. "invoiceauditflag": {
  21891. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  21892. "type": "integer"
  21893. },
  21894. "mgneedhedgeratioauditflag": {
  21895. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  21896. "type": "integer"
  21897. },
  21898. "moneyauditflag": {
  21899. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  21900. "type": "integer"
  21901. },
  21902. "operatorid": {
  21903. "description": "操作人",
  21904. "type": "integer"
  21905. },
  21906. "operatorsrc": {
  21907. "description": "操作来源 - 1:管理端 2:终端",
  21908. "type": "integer"
  21909. },
  21910. "pointpriceauditflag": {
  21911. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  21912. "type": "integer"
  21913. },
  21914. "produceinauditflag": {
  21915. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  21916. "type": "integer"
  21917. },
  21918. "produceoutauditflag": {
  21919. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  21920. "type": "integer"
  21921. },
  21922. "selloutauditflag": {
  21923. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  21924. "type": "integer"
  21925. },
  21926. "sgconvertratioauditflag": {
  21927. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  21928. "type": "integer"
  21929. },
  21930. "sgvtaratioauditflag": {
  21931. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  21932. "type": "integer"
  21933. },
  21934. "spotcontractauditflag": {
  21935. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  21936. "type": "integer"
  21937. },
  21938. "updatetime": {
  21939. "description": "更新时间",
  21940. "type": "string"
  21941. }
  21942. }
  21943. },
  21944. "models.Ermcp3PaAreaSubject": {
  21945. "type": "object",
  21946. "properties": {
  21947. "areauserid": {
  21948. "description": "所属机构",
  21949. "type": "integer"
  21950. },
  21951. "canmodify": {
  21952. "description": "是否可修改 - 0:否 1:是",
  21953. "type": "integer"
  21954. },
  21955. "createtime": {
  21956. "description": "创建时间",
  21957. "type": "string"
  21958. },
  21959. "creatorid": {
  21960. "description": "创建人ID",
  21961. "type": "string"
  21962. },
  21963. "creatorsrc": {
  21964. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  21965. "type": "integer"
  21966. },
  21967. "modifierid": {
  21968. "description": "修改人",
  21969. "type": "string"
  21970. },
  21971. "modifiersrc": {
  21972. "description": "修改人来源 - 1:管理端 2:终端",
  21973. "type": "integer"
  21974. },
  21975. "modifytime": {
  21976. "description": "修改时间",
  21977. "type": "string"
  21978. },
  21979. "parentsubjectid": {
  21980. "description": "上级主体ID",
  21981. "type": "string"
  21982. },
  21983. "remark": {
  21984. "description": "备注",
  21985. "type": "string"
  21986. },
  21987. "subjectid": {
  21988. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  21989. "type": "integer"
  21990. },
  21991. "subjectname": {
  21992. "description": "主体名称",
  21993. "type": "string"
  21994. },
  21995. "subjectstatus": {
  21996. "description": "主体状态 - 1:正常 2: 停用",
  21997. "type": "integer"
  21998. },
  21999. "subjecttype": {
  22000. "description": "主体类型 - 1:交易主体 2:业务部门",
  22001. "type": "integer"
  22002. }
  22003. }
  22004. },
  22005. "models.Ermcp3PaTradeLink": {
  22006. "type": "object",
  22007. "properties": {
  22008. "accountid": {
  22009. "description": "期货账户代码 | 账号ID",
  22010. "type": "integer"
  22011. },
  22012. "agreeunit": {
  22013. "description": "合约乘数",
  22014. "type": "number"
  22015. },
  22016. "buyorsell": {
  22017. "description": "方向 - 0:买 1:卖",
  22018. "type": "integer"
  22019. },
  22020. "channelbuildtype": {
  22021. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22022. "type": "integer"
  22023. },
  22024. "charge": {
  22025. "description": "手续费",
  22026. "type": "number"
  22027. },
  22028. "closepl": {
  22029. "description": "平仓盈亏",
  22030. "type": "number"
  22031. },
  22032. "closetype": {
  22033. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22034. "type": "integer"
  22035. },
  22036. "convertratio": {
  22037. "description": "折算系数",
  22038. "type": "number"
  22039. },
  22040. "enumdicname": {
  22041. "description": "单位名称",
  22042. "type": "string"
  22043. },
  22044. "executeprice": {
  22045. "description": "执行价 [期权]",
  22046. "type": "integer"
  22047. },
  22048. "goodscode": {
  22049. "description": "合约代码",
  22050. "type": "string"
  22051. },
  22052. "goodsgroupid": {
  22053. "description": "对冲品种ID[期货合约商品组ID]",
  22054. "type": "integer"
  22055. },
  22056. "goodsid": {
  22057. "description": "商品ID",
  22058. "type": "integer"
  22059. },
  22060. "goodsname": {
  22061. "description": "合约名称",
  22062. "type": "string"
  22063. },
  22064. "goodunitid": {
  22065. "description": "单位id",
  22066. "type": "integer"
  22067. },
  22068. "hedgeflag": {
  22069. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22070. "type": "integer"
  22071. },
  22072. "marketid": {
  22073. "description": "市场ID",
  22074. "type": "integer"
  22075. },
  22076. "middlegoodsid": {
  22077. "description": "套保品种ID",
  22078. "type": "integer"
  22079. },
  22080. "middlegoodsqty": {
  22081. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  22082. "type": "number"
  22083. },
  22084. "optioncode": {
  22085. "description": "期权代码 [期权]",
  22086. "type": "string"
  22087. },
  22088. "ordertype": {
  22089. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  22090. "type": "integer"
  22091. },
  22092. "ordertypename": {
  22093. "description": "订单类型",
  22094. "type": "string"
  22095. },
  22096. "parentaccountid": {
  22097. "description": "所属母账户",
  22098. "type": "integer"
  22099. },
  22100. "premium": {
  22101. "description": "权利金 [期权]",
  22102. "type": "number"
  22103. },
  22104. "relatedlot": {
  22105. "description": "已关联数量(已关联数量手) | db:关联手数",
  22106. "type": "number"
  22107. },
  22108. "relatedouttradeid": {
  22109. "description": "关联外部成交单ID",
  22110. "type": "string"
  22111. },
  22112. "relatedqty": {
  22113. "description": "关联数量",
  22114. "type": "number"
  22115. },
  22116. "spotcontractid": {
  22117. "description": "现货合同ID [4:套期保值\\10\\11]",
  22118. "type": "string"
  22119. },
  22120. "taname": {
  22121. "description": "期货账户名称",
  22122. "type": "string"
  22123. },
  22124. "tradeamount": {
  22125. "description": "成交金额(账户)",
  22126. "type": "number"
  22127. },
  22128. "tradedate": {
  22129. "description": "交易日(yyyyMMdd)",
  22130. "type": "string"
  22131. },
  22132. "tradeid": {
  22133. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22134. "type": "string"
  22135. },
  22136. "tradelot": {
  22137. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  22138. "type": "integer"
  22139. },
  22140. "tradeprice": {
  22141. "description": "成交价格",
  22142. "type": "number"
  22143. },
  22144. "tradetime": {
  22145. "description": "时间 | db:成交时间",
  22146. "type": "string"
  22147. },
  22148. "tradetype": {
  22149. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22150. "type": "integer"
  22151. },
  22152. "userid": {
  22153. "description": "所属机构 - 所属母账户的UserID",
  22154. "type": "string"
  22155. },
  22156. "username": {
  22157. "description": "用户名称",
  22158. "type": "string"
  22159. }
  22160. }
  22161. },
  22162. "models.Ermcp3ParamChangeApp": {
  22163. "type": "object",
  22164. "properties": {
  22165. "aftervalue": {
  22166. "description": "变更后",
  22167. "type": "number"
  22168. },
  22169. "applicationid": {
  22170. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22171. "type": "string"
  22172. },
  22173. "applyid": {
  22174. "description": "申请人",
  22175. "type": "string"
  22176. },
  22177. "applyname": {
  22178. "description": "申请人名称(代码)",
  22179. "type": "string"
  22180. },
  22181. "applyremark": {
  22182. "description": "申请备注",
  22183. "type": "string"
  22184. },
  22185. "applysrc": {
  22186. "description": "申请来源 - 1:管理端 2:终端",
  22187. "type": "integer"
  22188. },
  22189. "applystatus": {
  22190. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22191. "type": "integer"
  22192. },
  22193. "applytime": {
  22194. "description": "申请时间",
  22195. "type": "string"
  22196. },
  22197. "areauserid": {
  22198. "description": "所属机构用户ID",
  22199. "type": "integer"
  22200. },
  22201. "auditid": {
  22202. "description": "审核人",
  22203. "type": "string"
  22204. },
  22205. "auditname": {
  22206. "description": "审核人名称(代码)",
  22207. "type": "string"
  22208. },
  22209. "auditremark": {
  22210. "description": "审核备注",
  22211. "type": "string"
  22212. },
  22213. "auditsrc": {
  22214. "description": "审核来源 - 1:管理端 2:终端",
  22215. "type": "integer"
  22216. },
  22217. "audittime": {
  22218. "description": "审核时间",
  22219. "type": "string"
  22220. },
  22221. "audittradedate": {
  22222. "description": "审核交易日(yyyyMMdd)",
  22223. "type": "string"
  22224. },
  22225. "beforevalue": {
  22226. "description": "变更前",
  22227. "type": "number"
  22228. },
  22229. "deliverygoodscode": {
  22230. "description": "品种代码",
  22231. "type": "string"
  22232. },
  22233. "deliverygoodsid": {
  22234. "description": "品种id",
  22235. "type": "integer"
  22236. },
  22237. "deliverygoodsname": {
  22238. "description": "品种名称",
  22239. "type": "string"
  22240. },
  22241. "middlegoodscode": {
  22242. "description": "套保品种代码",
  22243. "type": "string"
  22244. },
  22245. "middlegoodsid": {
  22246. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22247. "type": "integer"
  22248. },
  22249. "middlegoodsname": {
  22250. "description": "套保品种名称",
  22251. "type": "string"
  22252. },
  22253. "operatetype": {
  22254. "description": "操作类型 - 1:新增 2:修改",
  22255. "type": "integer"
  22256. },
  22257. "paramchangetype": {
  22258. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22259. "type": "integer"
  22260. },
  22261. "wrstandardcode": {
  22262. "description": "现货商品代码",
  22263. "type": "string"
  22264. },
  22265. "wrstandardid": {
  22266. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22267. "type": "integer"
  22268. },
  22269. "wrstandardname": {
  22270. "description": "现货商品名称",
  22271. "type": "string"
  22272. }
  22273. }
  22274. },
  22275. "models.Ermcp3RootUserAccount": {
  22276. "type": "object",
  22277. "properties": {
  22278. "accountname": {
  22279. "description": "账户名称(机构名称)",
  22280. "type": "string"
  22281. },
  22282. "accountstatus": {
  22283. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22284. "type": "integer"
  22285. },
  22286. "applysrc": {
  22287. "description": "申请来源 - 1:管理端 2:终端",
  22288. "type": "integer"
  22289. },
  22290. "auditremark": {
  22291. "description": "审核备注",
  22292. "type": "string"
  22293. },
  22294. "auditsrc": {
  22295. "description": "审核来源 - 1:管理端 2:终端",
  22296. "type": "integer"
  22297. },
  22298. "audittime": {
  22299. "description": "审核时间",
  22300. "type": "string"
  22301. },
  22302. "audituserid": {
  22303. "description": "审核人",
  22304. "type": "integer"
  22305. },
  22306. "broker": {
  22307. "description": "所属经纪人ID",
  22308. "type": "integer"
  22309. },
  22310. "canceltime": {
  22311. "description": "销户时间",
  22312. "type": "string"
  22313. },
  22314. "canceluserid": {
  22315. "description": "销户人",
  22316. "type": "integer"
  22317. },
  22318. "canrecommend": {
  22319. "description": "是否可推荐 - 0:不可 1;可",
  22320. "type": "integer"
  22321. },
  22322. "createtime": {
  22323. "description": "创建时间",
  22324. "type": "string"
  22325. },
  22326. "creatorid": {
  22327. "description": "创建人",
  22328. "type": "integer"
  22329. },
  22330. "hasauth": {
  22331. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22332. "type": "integer"
  22333. },
  22334. "isanonymous": {
  22335. "description": "是否匿名下单 - 0:否 1:是",
  22336. "type": "integer"
  22337. },
  22338. "maxinvestornum": {
  22339. "description": "最大用户数(经纪会员下投资者个数)",
  22340. "type": "integer"
  22341. },
  22342. "memberuserid": {
  22343. "description": "所属会员ID",
  22344. "type": "integer"
  22345. },
  22346. "modifierid": {
  22347. "description": "修改人",
  22348. "type": "integer"
  22349. },
  22350. "modifyremark": {
  22351. "description": "变更备注",
  22352. "type": "string"
  22353. },
  22354. "modifystatus": {
  22355. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22356. "type": "integer"
  22357. },
  22358. "modifytime": {
  22359. "description": "修改时间",
  22360. "type": "string"
  22361. },
  22362. "parenttopuser": {
  22363. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22364. "type": "string"
  22365. },
  22366. "parentuserid": {
  22367. "description": "所属机构ID",
  22368. "type": "integer"
  22369. },
  22370. "reckonaccountid": {
  22371. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22372. "type": "integer"
  22373. },
  22374. "refercount": {
  22375. "description": "推荐总人数",
  22376. "type": "integer"
  22377. },
  22378. "refereeuserid": {
  22379. "description": "推荐人ID",
  22380. "type": "integer"
  22381. },
  22382. "refernum": {
  22383. "description": "推荐码",
  22384. "type": "string"
  22385. },
  22386. "rootuserid": {
  22387. "description": "根用户ID",
  22388. "type": "integer"
  22389. },
  22390. "subaccountlevel": {
  22391. "description": "子账户层数",
  22392. "type": "integer"
  22393. },
  22394. "subarealevelpath": {
  22395. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22396. "type": "string"
  22397. },
  22398. "userid": {
  22399. "description": "用户ID",
  22400. "type": "integer"
  22401. },
  22402. "usertype": {
  22403. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22404. "type": "integer"
  22405. }
  22406. }
  22407. },
  22408. "models.Ermcp3SCMiddleGoods": {
  22409. "type": "object",
  22410. "properties": {
  22411. "biztype": {
  22412. "description": "业务类型 1:套保 2:套利",
  22413. "type": "integer"
  22414. },
  22415. "contractno": {
  22416. "description": "合同编号",
  22417. "type": "string"
  22418. },
  22419. "contracttype": {
  22420. "description": "合同类型 1:采购 -1:销售",
  22421. "type": "integer"
  22422. },
  22423. "convertratio": {
  22424. "description": "折算系数",
  22425. "type": "number"
  22426. },
  22427. "customername": {
  22428. "description": "对手手名称",
  22429. "type": "string"
  22430. },
  22431. "customeruserid": {
  22432. "description": "对手id",
  22433. "type": "integer"
  22434. },
  22435. "deliverygoodscode": {
  22436. "description": "现货品种代码",
  22437. "type": "string"
  22438. },
  22439. "deliverygoodsid": {
  22440. "description": "现货品种ID",
  22441. "type": "integer"
  22442. },
  22443. "deliverygoodsname": {
  22444. "description": "现货品种名称",
  22445. "type": "string"
  22446. },
  22447. "enumdicname": {
  22448. "description": "现货单位名称",
  22449. "type": "string"
  22450. },
  22451. "middlegoodsid": {
  22452. "description": "套保品种ID",
  22453. "type": "integer"
  22454. },
  22455. "middlegoodspricedqty3": {
  22456. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22457. "type": "number"
  22458. },
  22459. "needhedgeratio": {
  22460. "description": "套保比例",
  22461. "type": "number"
  22462. },
  22463. "pricedqty": {
  22464. "description": "已定价量",
  22465. "type": "number"
  22466. },
  22467. "relatedmiddlegoodsqty": {
  22468. "description": "已关联量(套保品种)(期货)",
  22469. "type": "number"
  22470. },
  22471. "spotcontractid": {
  22472. "description": "合同编号",
  22473. "type": "string"
  22474. },
  22475. "unitid": {
  22476. "description": "现货单位id",
  22477. "type": "integer"
  22478. },
  22479. "userid": {
  22480. "description": "用户id",
  22481. "type": "integer"
  22482. },
  22483. "vatrate": {
  22484. "description": "增值税率",
  22485. "type": "number"
  22486. },
  22487. "wrstandardcode": {
  22488. "description": "现货商品代码",
  22489. "type": "string"
  22490. },
  22491. "wrstandardid": {
  22492. "description": "现货商品id",
  22493. "type": "integer"
  22494. },
  22495. "wrstandardname": {
  22496. "description": "现货商品名称",
  22497. "type": "string"
  22498. }
  22499. }
  22500. },
  22501. "models.Ermcp3SCMiddleGoodsReport": {
  22502. "type": "object",
  22503. "properties": {
  22504. "begindate": {
  22505. "description": "开始交易日",
  22506. "type": "string"
  22507. },
  22508. "contractno": {
  22509. "description": "合同编号",
  22510. "type": "string"
  22511. },
  22512. "contracttype": {
  22513. "description": "合同类型 1:采购 -1:销售",
  22514. "type": "integer"
  22515. },
  22516. "convertratio": {
  22517. "description": "折算系数",
  22518. "type": "number"
  22519. },
  22520. "cycletime": {
  22521. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22522. "type": "string"
  22523. },
  22524. "cycletype": {
  22525. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22526. "type": "integer"
  22527. },
  22528. "deliverygoodscode": {
  22529. "description": "品种代码",
  22530. "type": "string"
  22531. },
  22532. "deliverygoodsid": {
  22533. "description": "现货品种ID",
  22534. "type": "integer"
  22535. },
  22536. "deliverygoodsname": {
  22537. "description": "品种名称",
  22538. "type": "string"
  22539. },
  22540. "diffprice": {
  22541. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  22542. "type": "number"
  22543. },
  22544. "diffqty": {
  22545. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  22546. "type": "number"
  22547. },
  22548. "enddate": {
  22549. "description": "结束交易日",
  22550. "type": "string"
  22551. },
  22552. "hedgeplanqty": {
  22553. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  22554. "type": "number"
  22555. },
  22556. "matchname": {
  22557. "description": "交易对手方(个人:用户名称 企业:简称)",
  22558. "type": "string"
  22559. },
  22560. "middlegoodscode": {
  22561. "description": "套保品种代码",
  22562. "type": "string"
  22563. },
  22564. "middlegoodsid": {
  22565. "description": "套保品种ID",
  22566. "type": "integer"
  22567. },
  22568. "middlegoodsname": {
  22569. "description": "套保品种名称",
  22570. "type": "string"
  22571. },
  22572. "middlegoodspricedqty": {
  22573. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  22574. "type": "number"
  22575. },
  22576. "middlegoodspricedqty2": {
  22577. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  22578. "type": "number"
  22579. },
  22580. "middlegoodspricedqty3": {
  22581. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22582. "type": "number"
  22583. },
  22584. "needhedgeratio": {
  22585. "description": "套保系数",
  22586. "type": "number"
  22587. },
  22588. "pricedamount": {
  22589. "description": "已定价额(现货)",
  22590. "type": "number"
  22591. },
  22592. "pricedamount2": {
  22593. "description": "已定价额(现货-基价额)",
  22594. "type": "number"
  22595. },
  22596. "pricedqty": {
  22597. "description": "已定价量(现货)",
  22598. "type": "number"
  22599. },
  22600. "reckondate": {
  22601. "description": "日照时期(yyyyMMdd)",
  22602. "type": "string"
  22603. },
  22604. "relatedmiddlegoodsamount": {
  22605. "description": "已关联额(期货)",
  22606. "type": "number"
  22607. },
  22608. "relatedmiddlegoodsqty": {
  22609. "description": "已关联量(套保品种)(期货)",
  22610. "type": "number"
  22611. },
  22612. "spotcontractid": {
  22613. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22614. "type": "string"
  22615. },
  22616. "todayavgfutuprice": {
  22617. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  22618. "type": "number"
  22619. },
  22620. "todayavgprice": {
  22621. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  22622. "type": "number"
  22623. },
  22624. "todayavgprice2": {
  22625. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  22626. "type": "number"
  22627. },
  22628. "todaypricedamount": {
  22629. "description": "今日定价额(现货)",
  22630. "type": "number"
  22631. },
  22632. "todaypricedamount2": {
  22633. "description": "今日定价额(现货-基价额)",
  22634. "type": "number"
  22635. },
  22636. "todaypricedqty": {
  22637. "description": "今日定价量(现货)",
  22638. "type": "number"
  22639. },
  22640. "todayrelatedfutureqty": {
  22641. "description": "今日关联量(期货)",
  22642. "type": "number"
  22643. },
  22644. "todayrelatedmiddlegoodsamount": {
  22645. "description": "今日关联额(期货)",
  22646. "type": "number"
  22647. },
  22648. "todayrelatedmiddlegoodsqty": {
  22649. "description": "今日关联量(套保品-期货)",
  22650. "type": "number"
  22651. },
  22652. "updatetime": {
  22653. "description": "更新时间",
  22654. "type": "string"
  22655. },
  22656. "userid": {
  22657. "description": "合同所属用户id",
  22658. "type": "integer"
  22659. },
  22660. "vatrate": {
  22661. "description": "增值税率",
  22662. "type": "number"
  22663. },
  22664. "wrstandardcode": {
  22665. "description": "商品(品类) 代码",
  22666. "type": "string"
  22667. },
  22668. "wrstandardid": {
  22669. "description": "现货商品ID",
  22670. "type": "integer"
  22671. },
  22672. "wrstandardname": {
  22673. "description": "商品(品类) 名称",
  22674. "type": "string"
  22675. }
  22676. }
  22677. },
  22678. "models.Ermcp3SellBuyContract": {
  22679. "type": "object",
  22680. "properties": {
  22681. "accountid": {
  22682. "description": "期货账户id",
  22683. "type": "string"
  22684. },
  22685. "accountname": {
  22686. "description": "账户名称",
  22687. "type": "string"
  22688. },
  22689. "attachment": {
  22690. "description": "附件",
  22691. "type": "string"
  22692. },
  22693. "audittime": {
  22694. "description": "审核时间",
  22695. "type": "string"
  22696. },
  22697. "biztype": {
  22698. "description": "业务类型 1-套保 2-套利",
  22699. "type": "integer"
  22700. },
  22701. "brandname": {
  22702. "description": "品牌名称",
  22703. "type": "string"
  22704. },
  22705. "contracctstatus": {
  22706. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22707. "type": "integer"
  22708. },
  22709. "contractmargin": {
  22710. "description": "合同保证金",
  22711. "type": "number"
  22712. },
  22713. "contractno": {
  22714. "description": "合同编号",
  22715. "type": "string"
  22716. },
  22717. "contracttype": {
  22718. "description": "合同类型 1-采购, -1-销售",
  22719. "type": "integer"
  22720. },
  22721. "convertfactor": {
  22722. "description": "标仓系数(品类)",
  22723. "type": "number"
  22724. },
  22725. "createtime": {
  22726. "description": "创建时间",
  22727. "type": "string"
  22728. },
  22729. "currencyid": {
  22730. "description": "币种id",
  22731. "type": "integer"
  22732. },
  22733. "currencyname": {
  22734. "description": "币种名称",
  22735. "type": "string"
  22736. },
  22737. "daikaiamount": {
  22738. "description": "应收(开)票额",
  22739. "type": "number"
  22740. },
  22741. "deliveryenddate": {
  22742. "description": "交割结束日",
  22743. "type": "string"
  22744. },
  22745. "deliverygoodscode": {
  22746. "description": "现货品种代码",
  22747. "type": "string"
  22748. },
  22749. "deliverygoodsid": {
  22750. "description": "现货商品ID",
  22751. "type": "integer"
  22752. },
  22753. "deliverygoodsname": {
  22754. "description": "现货品种名称",
  22755. "type": "string"
  22756. },
  22757. "deliverystartdate": {
  22758. "description": "交割开始日",
  22759. "type": "string"
  22760. },
  22761. "enddate": {
  22762. "description": "点价结束日",
  22763. "type": "string"
  22764. },
  22765. "enumdicname": {
  22766. "description": "单位名称",
  22767. "type": "string"
  22768. },
  22769. "goodscode": {
  22770. "description": "点价商品代码",
  22771. "type": "string"
  22772. },
  22773. "goodsid": {
  22774. "description": "点价商品ID",
  22775. "type": "integer"
  22776. },
  22777. "goodsname": {
  22778. "description": "点价商品名称",
  22779. "type": "string"
  22780. },
  22781. "invoiceamount": {
  22782. "description": "已开票额",
  22783. "type": "number"
  22784. },
  22785. "loanamount": {
  22786. "description": "贷款总额=已定价额+调整金额",
  22787. "type": "number"
  22788. },
  22789. "margin": {
  22790. "description": "保证金",
  22791. "type": "number"
  22792. },
  22793. "meruserid": {
  22794. "description": "跟单员id",
  22795. "type": "integer"
  22796. },
  22797. "meruserlogincode": {
  22798. "description": "跟单员登录代码",
  22799. "type": "string"
  22800. },
  22801. "merusername": {
  22802. "description": "跟单员名称",
  22803. "type": "string"
  22804. },
  22805. "nickname": {
  22806. "description": "账户昵称",
  22807. "type": "string"
  22808. },
  22809. "payamount": {
  22810. "description": "已收付额(收款或付款)",
  22811. "type": "number"
  22812. },
  22813. "preinvoiceamount": {
  22814. "description": "预收(开)票额",
  22815. "type": "number"
  22816. },
  22817. "prepayamount": {
  22818. "description": "预收付额",
  22819. "type": "number"
  22820. },
  22821. "price": {
  22822. "description": "价格",
  22823. "type": "number"
  22824. },
  22825. "pricedamount": {
  22826. "description": "已定价额",
  22827. "type": "number"
  22828. },
  22829. "pricedavg": {
  22830. "description": "已点均价",
  22831. "type": "number"
  22832. },
  22833. "pricedqty": {
  22834. "description": "已定价量",
  22835. "type": "number"
  22836. },
  22837. "pricemove": {
  22838. "description": "升贴水",
  22839. "type": "number"
  22840. },
  22841. "pricetype": {
  22842. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22843. "type": "integer"
  22844. },
  22845. "producttype": {
  22846. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22847. "type": "integer"
  22848. },
  22849. "qty": {
  22850. "description": "合同量",
  22851. "type": "number"
  22852. },
  22853. "reckonadjustamount": {
  22854. "description": "调整金额",
  22855. "type": "number"
  22856. },
  22857. "reckonedamount": {
  22858. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  22859. "type": "number"
  22860. },
  22861. "reckonotheramount": {
  22862. "description": "其它费用",
  22863. "type": "number"
  22864. },
  22865. "reckonrealqty": {
  22866. "description": "已确定量",
  22867. "type": "number"
  22868. },
  22869. "remark": {
  22870. "description": "备注",
  22871. "type": "string"
  22872. },
  22873. "saleuserid": {
  22874. "description": "业务员id",
  22875. "type": "integer"
  22876. },
  22877. "saleuserlogincode": {
  22878. "description": "业务员登录代码",
  22879. "type": "string"
  22880. },
  22881. "saleusername": {
  22882. "description": "业务员名称",
  22883. "type": "string"
  22884. },
  22885. "spotcontractid": {
  22886. "description": "合同ID",
  22887. "type": "string"
  22888. },
  22889. "spotgoodsbrandid": {
  22890. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22891. "type": "integer"
  22892. },
  22893. "spotgoodsdesc": {
  22894. "description": "商品型号(商品规格)",
  22895. "type": "string"
  22896. },
  22897. "startdate": {
  22898. "description": "点价开始日",
  22899. "type": "string"
  22900. },
  22901. "subjectid": {
  22902. "description": "交易主体ID",
  22903. "type": "integer"
  22904. },
  22905. "subjectname": {
  22906. "description": "交易主体名称",
  22907. "type": "string"
  22908. },
  22909. "totalamount": {
  22910. "description": "合计总额",
  22911. "type": "number"
  22912. },
  22913. "tradeuserid": {
  22914. "description": "交易员id",
  22915. "type": "integer"
  22916. },
  22917. "tradeuserlogincode": {
  22918. "description": "交易员登录代码",
  22919. "type": "string"
  22920. },
  22921. "tradeusername": {
  22922. "description": "交易员名称",
  22923. "type": "string"
  22924. },
  22925. "unpayamount": {
  22926. "description": "应收付款额(应支付或应收款)",
  22927. "type": "number"
  22928. },
  22929. "unpricedqty": {
  22930. "description": "未定价量",
  22931. "type": "number"
  22932. },
  22933. "unsureqty": {
  22934. "description": "未确定量",
  22935. "type": "number"
  22936. },
  22937. "userid": {
  22938. "description": "机构ID",
  22939. "type": "integer"
  22940. },
  22941. "vatrate": {
  22942. "description": "增值税率",
  22943. "type": "number"
  22944. },
  22945. "wrstandardcode": {
  22946. "description": "品类代码",
  22947. "type": "string"
  22948. },
  22949. "wrstandardid": {
  22950. "description": "品类ID",
  22951. "type": "integer"
  22952. },
  22953. "wrstandardname": {
  22954. "description": "品类名称",
  22955. "type": "string"
  22956. }
  22957. }
  22958. },
  22959. "models.Ermcp3SpotGoodsPrice": {
  22960. "type": "object",
  22961. "properties": {
  22962. "areauserid": {
  22963. "description": "所属机构id",
  22964. "type": "integer"
  22965. },
  22966. "brandname": {
  22967. "description": "品牌名称",
  22968. "type": "string"
  22969. },
  22970. "currencyid": {
  22971. "description": "报价货币ID",
  22972. "type": "integer"
  22973. },
  22974. "currencyname": {
  22975. "description": "币种名称",
  22976. "type": "string"
  22977. },
  22978. "deliverygoodscode": {
  22979. "description": "现货商品代码",
  22980. "type": "string"
  22981. },
  22982. "deliverygoodsid": {
  22983. "description": "现货商品id",
  22984. "type": "integer"
  22985. },
  22986. "deliverygoodsname": {
  22987. "description": "现货商品名称",
  22988. "type": "string"
  22989. },
  22990. "enumdicname": {
  22991. "description": "现货商品单位名称",
  22992. "type": "string"
  22993. },
  22994. "gbenumdicname": {
  22995. "description": "品类单位名称",
  22996. "type": "string"
  22997. },
  22998. "gmunitid": {
  22999. "description": "品类单位id",
  23000. "type": "integer"
  23001. },
  23002. "isvalid": {
  23003. "description": "是否有效 - 0:无效 1:有效",
  23004. "type": "integer"
  23005. },
  23006. "operateid": {
  23007. "description": "最后操作人",
  23008. "type": "integer"
  23009. },
  23010. "operatesrc": {
  23011. "description": "最后操作来源 - 1:管理端 2:终端",
  23012. "type": "integer"
  23013. },
  23014. "operatetime": {
  23015. "description": "最后操作时间",
  23016. "type": "string"
  23017. },
  23018. "operatorname": {
  23019. "description": "操作人名称",
  23020. "type": "string"
  23021. },
  23022. "spotgoodsbrandid": {
  23023. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23024. "type": "integer"
  23025. },
  23026. "spotgoodsprice": {
  23027. "description": "现货价格",
  23028. "type": "number"
  23029. },
  23030. "tradedate": {
  23031. "description": "交易日(yyyyMMdd)",
  23032. "type": "string"
  23033. },
  23034. "unitid": {
  23035. "description": "现货商品单位id",
  23036. "type": "integer"
  23037. },
  23038. "wrstandardcode": {
  23039. "description": "品类代码",
  23040. "type": "string"
  23041. },
  23042. "wrstandardid": {
  23043. "description": "现货品类ID(通用则为0)",
  23044. "type": "integer"
  23045. },
  23046. "wrstandardname": {
  23047. "description": "品类名称",
  23048. "type": "string"
  23049. }
  23050. }
  23051. },
  23052. "models.Ermcp3SpotGoodsPriceLog": {
  23053. "type": "object",
  23054. "properties": {
  23055. "areauserid": {
  23056. "description": "所属机构id",
  23057. "type": "integer"
  23058. },
  23059. "brandname": {
  23060. "description": "品牌名称",
  23061. "type": "string"
  23062. },
  23063. "currencyid": {
  23064. "description": "报价货币ID",
  23065. "type": "integer"
  23066. },
  23067. "deliverygoodscode": {
  23068. "description": "现货商品代码",
  23069. "type": "string"
  23070. },
  23071. "deliverygoodsid": {
  23072. "description": "现货商品id",
  23073. "type": "integer"
  23074. },
  23075. "deliverygoodsname": {
  23076. "description": "现货商品名称",
  23077. "type": "string"
  23078. },
  23079. "enumdicname": {
  23080. "description": "现货商品单位名称",
  23081. "type": "string"
  23082. },
  23083. "gbenumdicname": {
  23084. "description": "品类单位名称",
  23085. "type": "string"
  23086. },
  23087. "gmunitid": {
  23088. "description": "品类单位id",
  23089. "type": "integer"
  23090. },
  23091. "logid": {
  23092. "description": "日志id",
  23093. "type": "integer"
  23094. },
  23095. "operateid": {
  23096. "description": "最后操作人",
  23097. "type": "integer"
  23098. },
  23099. "operatesrc": {
  23100. "description": "最后操作来源 - 1:管理端 2:终端",
  23101. "type": "integer"
  23102. },
  23103. "operatetime": {
  23104. "description": "最后操作时间",
  23105. "type": "string"
  23106. },
  23107. "operatorname": {
  23108. "description": "操作人名称",
  23109. "type": "string"
  23110. },
  23111. "spotgoodsbrandid": {
  23112. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23113. "type": "integer"
  23114. },
  23115. "spotgoodsprice": {
  23116. "description": "现货价格",
  23117. "type": "number"
  23118. },
  23119. "tradedate": {
  23120. "description": "交易日(yyyyMMdd)",
  23121. "type": "string"
  23122. },
  23123. "unitid": {
  23124. "description": "现货商品单位id",
  23125. "type": "integer"
  23126. },
  23127. "wrstandardcode": {
  23128. "description": "品类代码",
  23129. "type": "string"
  23130. },
  23131. "wrstandardid": {
  23132. "description": "现货品类ID(通用则为0)",
  23133. "type": "integer"
  23134. },
  23135. "wrstandardname": {
  23136. "description": "品类名称",
  23137. "type": "string"
  23138. }
  23139. }
  23140. },
  23141. "models.Ermcp3SubTaaccount": {
  23142. "type": "object",
  23143. "properties": {
  23144. "accountid": {
  23145. "description": "资金账户ID",
  23146. "type": "integer"
  23147. },
  23148. "parentaccountcode": {
  23149. "description": "所属根账号代码(母账号代码)",
  23150. "type": "string"
  23151. },
  23152. "parentaccountid": {
  23153. "description": "所属根账号(母账号)",
  23154. "type": "integer"
  23155. },
  23156. "taname": {
  23157. "description": "资金账号名称",
  23158. "type": "string"
  23159. },
  23160. "tradestatus": {
  23161. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  23162. "type": "integer"
  23163. },
  23164. "username": {
  23165. "description": "交易用户",
  23166. "type": "string"
  23167. }
  23168. }
  23169. },
  23170. "models.Ermcp3TaFutuReDataReport": {
  23171. "type": "object",
  23172. "properties": {
  23173. "accountid": {
  23174. "description": "交易账户",
  23175. "type": "integer"
  23176. },
  23177. "accountname": {
  23178. "description": "交易账号名称",
  23179. "type": "string"
  23180. },
  23181. "agreeunit": {
  23182. "description": "商品合约单位",
  23183. "type": "number"
  23184. },
  23185. "begindate": {
  23186. "description": "开始交易日",
  23187. "type": "string"
  23188. },
  23189. "buyorsell": {
  23190. "description": "持仓方向",
  23191. "type": "integer"
  23192. },
  23193. "charge": {
  23194. "description": "手续费",
  23195. "type": "number"
  23196. },
  23197. "closeavgprice": {
  23198. "description": "平仓均价",
  23199. "type": "number"
  23200. },
  23201. "closepl": {
  23202. "description": "平仓损益",
  23203. "type": "number"
  23204. },
  23205. "currencyid": {
  23206. "description": "结算币种ID",
  23207. "type": "integer"
  23208. },
  23209. "currencyname": {
  23210. "description": "币种名称",
  23211. "type": "string"
  23212. },
  23213. "cycletime": {
  23214. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23215. "type": "string"
  23216. },
  23217. "cycletype": {
  23218. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23219. "type": "integer"
  23220. },
  23221. "enddate": {
  23222. "description": "结束交易日",
  23223. "type": "string"
  23224. },
  23225. "enumdicname": {
  23226. "description": "单位名称",
  23227. "type": "string"
  23228. },
  23229. "floatpl": {
  23230. "description": "浮动损益",
  23231. "type": "number"
  23232. },
  23233. "goodscode": {
  23234. "description": "交易合约代码",
  23235. "type": "string"
  23236. },
  23237. "goodsgroupid": {
  23238. "description": "交易品种",
  23239. "type": "integer"
  23240. },
  23241. "goodsgroupname": {
  23242. "description": "交易品种名称",
  23243. "type": "string"
  23244. },
  23245. "goodsgroupspotqty": {
  23246. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23247. "type": "number"
  23248. },
  23249. "goodsid": {
  23250. "description": "交易合约",
  23251. "type": "integer"
  23252. },
  23253. "goodsname": {
  23254. "description": "交易合约名称",
  23255. "type": "string"
  23256. },
  23257. "goodunitid": {
  23258. "description": "交易合约单位id",
  23259. "type": "integer"
  23260. },
  23261. "holdamount": {
  23262. "description": "期末持仓额",
  23263. "type": "number"
  23264. },
  23265. "holdqty": {
  23266. "description": "期末持仓量",
  23267. "type": "number"
  23268. },
  23269. "lastholdamount": {
  23270. "description": "当前持仓额",
  23271. "type": "number"
  23272. },
  23273. "lastprice": {
  23274. "description": "最新价",
  23275. "type": "number"
  23276. },
  23277. "middlegoodsid": {
  23278. "description": "套保品种id",
  23279. "type": "integer"
  23280. },
  23281. "middlegoodsname": {
  23282. "description": "套保商品名称",
  23283. "type": "string"
  23284. },
  23285. "middlegoodsqty": {
  23286. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23287. "type": "number"
  23288. },
  23289. "middlgoodscode": {
  23290. "description": "套保商品代码",
  23291. "type": "string"
  23292. },
  23293. "openamount": {
  23294. "description": "期末开仓额",
  23295. "type": "number"
  23296. },
  23297. "openavgprice": {
  23298. "description": "开仓均价",
  23299. "type": "number"
  23300. },
  23301. "oriholdamount": {
  23302. "description": "期初持仓额",
  23303. "type": "number"
  23304. },
  23305. "oriholdqty": {
  23306. "description": "期初持仓量",
  23307. "type": "number"
  23308. },
  23309. "oriopenamount": {
  23310. "description": "期初开仓额",
  23311. "type": "number"
  23312. },
  23313. "outergroupcode": {
  23314. "description": "交易品种代码",
  23315. "type": "string"
  23316. },
  23317. "qtydecimalplace": {
  23318. "description": "成交量小数位",
  23319. "type": "integer"
  23320. },
  23321. "reckondate": {
  23322. "description": "日照时期(yyyyMMdd)",
  23323. "type": "string"
  23324. },
  23325. "reckonholdamount": {
  23326. "description": "结算持仓额",
  23327. "type": "number"
  23328. },
  23329. "reckonpl": {
  23330. "description": "结算损益",
  23331. "type": "number"
  23332. },
  23333. "reckonpl2": {
  23334. "description": "结算逐笔盈亏",
  23335. "type": "number"
  23336. },
  23337. "reckonprice": {
  23338. "description": "结算价",
  23339. "type": "number"
  23340. },
  23341. "relateduserid": {
  23342. "description": "账户关联用户ID",
  23343. "type": "integer"
  23344. },
  23345. "todaycloseamount": {
  23346. "description": "今平仓额",
  23347. "type": "number"
  23348. },
  23349. "todaycloseqty": {
  23350. "description": "今平仓量",
  23351. "type": "number"
  23352. },
  23353. "todaygoodsgroupspotqty": {
  23354. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23355. "type": "number"
  23356. },
  23357. "todaymiddlegoodsqty": {
  23358. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23359. "type": "number"
  23360. },
  23361. "todayopenamount": {
  23362. "description": "今开仓额",
  23363. "type": "number"
  23364. },
  23365. "todayopenqty": {
  23366. "description": "今开仓量",
  23367. "type": "number"
  23368. },
  23369. "userid": {
  23370. "description": "账户所属用户ID",
  23371. "type": "integer"
  23372. }
  23373. }
  23374. },
  23375. "models.Ermcp3TradeLinkDetail": {
  23376. "type": "object",
  23377. "properties": {
  23378. "accountid": {
  23379. "description": "资金账号",
  23380. "type": "integer"
  23381. },
  23382. "agreeunit": {
  23383. "description": "合约乘数",
  23384. "type": "number"
  23385. },
  23386. "areauserid": {
  23387. "description": "所属机构",
  23388. "type": "string"
  23389. },
  23390. "bizsubjectid": {
  23391. "description": "归属业务部门ID - SubjectID",
  23392. "type": "string"
  23393. },
  23394. "buyorsell": {
  23395. "description": "方向 - 0:买 1:卖",
  23396. "type": "integer"
  23397. },
  23398. "channelbuildtype": {
  23399. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23400. "type": "integer"
  23401. },
  23402. "contractno": {
  23403. "description": "现货编号 (合同编号)",
  23404. "type": "string"
  23405. },
  23406. "convertratio": {
  23407. "description": "折算系数",
  23408. "type": "number"
  23409. },
  23410. "createtime": {
  23411. "description": "关联时间 | 创建时间",
  23412. "type": "string"
  23413. },
  23414. "creatorid": {
  23415. "description": "创建人ID",
  23416. "type": "string"
  23417. },
  23418. "creatorsrc": {
  23419. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23420. "type": "integer"
  23421. },
  23422. "enumdicname": {
  23423. "description": "单位名称",
  23424. "type": "string"
  23425. },
  23426. "goodscode": {
  23427. "description": "合约代码",
  23428. "type": "string"
  23429. },
  23430. "goodsgroupid": {
  23431. "description": "对冲品种ID[期货合约商品组ID]",
  23432. "type": "integer"
  23433. },
  23434. "goodsid": {
  23435. "description": "商品ID",
  23436. "type": "integer"
  23437. },
  23438. "goodsname": {
  23439. "description": "合约名称",
  23440. "type": "string"
  23441. },
  23442. "hedgeflag": {
  23443. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23444. "type": "integer"
  23445. },
  23446. "linkdetailid": {
  23447. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23448. "type": "string"
  23449. },
  23450. "linkstatus": {
  23451. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  23452. "type": "integer"
  23453. },
  23454. "middlegoodscode": {
  23455. "description": "套保品种代码",
  23456. "type": "string"
  23457. },
  23458. "middlegoodsid": {
  23459. "description": "套保品种ID",
  23460. "type": "integer"
  23461. },
  23462. "middlegoodsname": {
  23463. "description": "套保品种名称",
  23464. "type": "string"
  23465. },
  23466. "relatedlot": {
  23467. "description": "关联手数",
  23468. "type": "number"
  23469. },
  23470. "relatedmode": {
  23471. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23472. "type": "integer"
  23473. },
  23474. "relatedqty": {
  23475. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23476. "type": "number"
  23477. },
  23478. "retcode": {
  23479. "description": "返回码",
  23480. "type": "integer"
  23481. },
  23482. "saleuserid": {
  23483. "description": "业务员ID",
  23484. "type": "string"
  23485. },
  23486. "spotcontractid": {
  23487. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23488. "type": "string"
  23489. },
  23490. "taname": {
  23491. "description": "期货账户",
  23492. "type": "string"
  23493. },
  23494. "tradedate": {
  23495. "description": "关联交易日(yyyyMMdd)",
  23496. "type": "string"
  23497. },
  23498. "tradeid": {
  23499. "description": "期货订单号 | 内部成交单ID",
  23500. "type": "string"
  23501. },
  23502. "tradelot": {
  23503. "description": "成交数量 | 成交手数",
  23504. "type": "integer"
  23505. },
  23506. "tradeprice": {
  23507. "description": "成交价格",
  23508. "type": "number"
  23509. },
  23510. "tradetime": {
  23511. "description": "期货成交时间",
  23512. "type": "string"
  23513. },
  23514. "tradetradedate": {
  23515. "description": "成交交易日(yyyyMMdd)",
  23516. "type": "string"
  23517. },
  23518. "username": {
  23519. "description": "用户名称",
  23520. "type": "string"
  23521. }
  23522. }
  23523. },
  23524. "models.Ermcp3Wrstandard": {
  23525. "type": "object",
  23526. "properties": {
  23527. "areauserid": {
  23528. "description": "所属机构",
  23529. "type": "integer"
  23530. },
  23531. "cantrade": {
  23532. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23533. "type": "integer"
  23534. },
  23535. "convertfactor": {
  23536. "description": "标仓系数",
  23537. "type": "number"
  23538. },
  23539. "createtime": {
  23540. "description": "创建时间",
  23541. "type": "string"
  23542. },
  23543. "creatorid": {
  23544. "description": "创建人",
  23545. "type": "integer"
  23546. },
  23547. "deliverygoodsid": {
  23548. "description": "现货品种ID",
  23549. "type": "integer"
  23550. },
  23551. "enumdicname": {
  23552. "description": "品类单位名称",
  23553. "type": "string"
  23554. },
  23555. "isvalid": {
  23556. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23557. "type": "integer"
  23558. },
  23559. "minivalue": {
  23560. "description": "最小变动值",
  23561. "type": "integer"
  23562. },
  23563. "minivaluedp": {
  23564. "description": "最小变动值小数位",
  23565. "type": "integer"
  23566. },
  23567. "realminivalue": {
  23568. "description": "实际最小变动值",
  23569. "type": "integer"
  23570. },
  23571. "realminivaluedp": {
  23572. "description": "实际最小变动值小数位",
  23573. "type": "integer"
  23574. },
  23575. "remark": {
  23576. "description": "备注",
  23577. "type": "string"
  23578. },
  23579. "unitid": {
  23580. "description": "品类单位ID",
  23581. "type": "integer"
  23582. },
  23583. "updatetime": {
  23584. "description": "更新时间",
  23585. "type": "string"
  23586. },
  23587. "wrstandardcode": {
  23588. "description": "品类代码",
  23589. "type": "string"
  23590. },
  23591. "wrstandardid": {
  23592. "description": "品类ID(SEQ_WRSTANDARD)",
  23593. "type": "integer"
  23594. },
  23595. "wrstandardname": {
  23596. "description": "品类名称",
  23597. "type": "string"
  23598. }
  23599. }
  23600. },
  23601. "models.ErmcpBizGroupEx": {
  23602. "type": "object",
  23603. "properties": {
  23604. "acclist": {
  23605. "description": "账号列表",
  23606. "type": "array",
  23607. "items": {
  23608. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  23609. }
  23610. },
  23611. "bizgroupid": {
  23612. "description": "业务分组id",
  23613. "type": "integer"
  23614. },
  23615. "biztype": {
  23616. "description": "业务类型 1-套保 2-套利",
  23617. "type": "integer"
  23618. },
  23619. "wrlist": {
  23620. "description": "现货商品表",
  23621. "type": "array",
  23622. "items": {
  23623. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  23624. }
  23625. }
  23626. }
  23627. },
  23628. "models.ErmcpBizGroupSpotGoods": {
  23629. "type": "object",
  23630. "properties": {
  23631. "areauserid": {
  23632. "description": "所属机构id",
  23633. "type": "integer"
  23634. },
  23635. "bizgroupid": {
  23636. "description": "分组id",
  23637. "type": "integer"
  23638. },
  23639. "biztype": {
  23640. "description": "业务类型 1-套保 2-套利",
  23641. "type": "integer"
  23642. },
  23643. "deliverygoodscode": {
  23644. "description": "现货商品代码",
  23645. "type": "string"
  23646. },
  23647. "deliverygoodsid": {
  23648. "description": "现货商品id",
  23649. "type": "integer"
  23650. },
  23651. "deliverygoodsname": {
  23652. "description": "现货商品名称",
  23653. "type": "string"
  23654. },
  23655. "unitid": {
  23656. "description": "现货商品单位id",
  23657. "type": "integer"
  23658. }
  23659. }
  23660. },
  23661. "models.ErmcpBizGroupTaAccount": {
  23662. "type": "object",
  23663. "properties": {
  23664. "accountid": {
  23665. "description": "账号id",
  23666. "type": "integer"
  23667. },
  23668. "accountname": {
  23669. "description": "账号名称",
  23670. "type": "string"
  23671. },
  23672. "areauserid": {
  23673. "description": "所属机构id",
  23674. "type": "integer"
  23675. },
  23676. "bizgroupid": {
  23677. "description": "业务分组id",
  23678. "type": "integer"
  23679. },
  23680. "ismain": {
  23681. "description": "是否主账号 1-是 0-否",
  23682. "type": "integer"
  23683. }
  23684. }
  23685. },
  23686. "models.ErmcpDGFactoryItem": {
  23687. "type": "object",
  23688. "properties": {
  23689. "areauserid": {
  23690. "description": "用户id",
  23691. "type": "integer"
  23692. },
  23693. "deliverygoodsid": {
  23694. "description": "现货品种ID",
  23695. "type": "integer"
  23696. },
  23697. "dgfactoryitemid": {
  23698. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  23699. "type": "integer"
  23700. },
  23701. "dgfactoryitemtypeid": {
  23702. "description": "要素项类型",
  23703. "type": "integer"
  23704. },
  23705. "dgfactoryitemvalue": {
  23706. "description": "要素项值(类型为仓库时填写仓库名称)",
  23707. "type": "string"
  23708. },
  23709. "isvalid": {
  23710. "description": "是否有效 - 0:无效 1:有效",
  23711. "type": "integer"
  23712. },
  23713. "orderindex": {
  23714. "description": "顺序",
  23715. "type": "integer"
  23716. },
  23717. "warehouseid": {
  23718. "description": "仓库ID(类型为仓库时填写)",
  23719. "type": "integer"
  23720. }
  23721. }
  23722. },
  23723. "models.ErmcpDeliveryGoods": {
  23724. "type": "object",
  23725. "properties": {
  23726. "agreeunit": {
  23727. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  23728. "type": "integer"
  23729. },
  23730. "areauserid": {
  23731. "description": "所属机构",
  23732. "type": "integer"
  23733. },
  23734. "auditflag": {
  23735. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  23736. "type": "integer"
  23737. },
  23738. "categoryid": {
  23739. "description": "类别ID(SEQ_WRCATEGORY)",
  23740. "type": "integer"
  23741. },
  23742. "deliverygoodscode": {
  23743. "description": "现货品种代码",
  23744. "type": "string"
  23745. },
  23746. "deliverygoodsid": {
  23747. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  23748. "type": "integer"
  23749. },
  23750. "deliverygoodsname": {
  23751. "description": "现货品种名称",
  23752. "type": "string"
  23753. },
  23754. "deliverygoodstype": {
  23755. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  23756. "type": "integer"
  23757. },
  23758. "dgstatus": {
  23759. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  23760. "type": "integer"
  23761. },
  23762. "enumdicname": {
  23763. "description": "现货品种单位名称",
  23764. "type": "string"
  23765. },
  23766. "goodsunitid": {
  23767. "description": "现货品种单位ID",
  23768. "type": "integer"
  23769. },
  23770. "isvalid": {
  23771. "description": "是否有效 - 0:无效 1:有效",
  23772. "type": "integer"
  23773. },
  23774. "qtydecimalplace": {
  23775. "description": "成交量小数位",
  23776. "type": "integer"
  23777. },
  23778. "remark": {
  23779. "description": "备注",
  23780. "type": "string"
  23781. },
  23782. "standardqty": {
  23783. "description": "标准数量(库位数量) [标准品特有]",
  23784. "type": "integer"
  23785. },
  23786. "standardqtyrange": {
  23787. "description": "标准数量偏差范围 [标准品特有]",
  23788. "type": "integer"
  23789. }
  23790. }
  23791. },
  23792. "models.ErmcpFuturesCompany": {
  23793. "type": "object",
  23794. "properties": {
  23795. "brokerid": {
  23796. "description": "经纪公司代码",
  23797. "type": "string"
  23798. },
  23799. "channeladdress": {
  23800. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  23801. "type": "string"
  23802. },
  23803. "channelid": {
  23804. "description": "对冲渠道ID",
  23805. "type": "string"
  23806. },
  23807. "createtime": {
  23808. "description": "创建时间",
  23809. "type": "string"
  23810. },
  23811. "creatorid": {
  23812. "description": "创建人",
  23813. "type": "string"
  23814. },
  23815. "fcid": {
  23816. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  23817. "type": "integer"
  23818. },
  23819. "fcname": {
  23820. "description": "期货公司名称",
  23821. "type": "string"
  23822. },
  23823. "isvalid": {
  23824. "description": "是否有效 - 0:无效 1:有效",
  23825. "type": "integer"
  23826. },
  23827. "mhpaddress": {
  23828. "description": "MHP服务地址(IP:Port)",
  23829. "type": "string"
  23830. },
  23831. "riskrulegroupid": {
  23832. "description": "风控规则组ID",
  23833. "type": "string"
  23834. },
  23835. "tradefeetmpid": {
  23836. "description": "手续费模板ID[TradeConfigTmpType为2]",
  23837. "type": "string"
  23838. },
  23839. "trademargintmpid": {
  23840. "description": "保证金模板ID [TradeConfigTmpType为1]",
  23841. "type": "string"
  23842. },
  23843. "traderatetmpid": {
  23844. "description": "汇率模板ID[TradeConfigTmpType为3]",
  23845. "type": "string"
  23846. },
  23847. "updatetime": {
  23848. "description": "更新时间",
  23849. "type": "string"
  23850. },
  23851. "updatorid": {
  23852. "description": "更新人",
  23853. "type": "string"
  23854. }
  23855. }
  23856. },
  23857. "models.ErmcpGGConvertCfg": {
  23858. "type": "object",
  23859. "properties": {
  23860. "convertratio": {
  23861. "description": "折算系数",
  23862. "type": "number"
  23863. },
  23864. "destgoodsgroupid": {
  23865. "description": "目标品种ID",
  23866. "type": "integer"
  23867. },
  23868. "dstcode": {
  23869. "description": "目录品种代码",
  23870. "type": "string"
  23871. },
  23872. "dstexchangecode": {
  23873. "description": "目标期货交易所",
  23874. "type": "string"
  23875. },
  23876. "dstname": {
  23877. "description": "目标品种名称",
  23878. "type": "string"
  23879. },
  23880. "dstunitid": {
  23881. "description": "目标品种单位ID",
  23882. "type": "integer"
  23883. },
  23884. "dstunitidname": {
  23885. "description": "目标品种单位名称",
  23886. "type": "string"
  23887. },
  23888. "modifytime": {
  23889. "description": "修改时间",
  23890. "type": "string"
  23891. },
  23892. "srccode": {
  23893. "description": "源品种代码",
  23894. "type": "string"
  23895. },
  23896. "srcexchangecode": {
  23897. "description": "源期货交易所",
  23898. "type": "string"
  23899. },
  23900. "srcgoodsgroupid": {
  23901. "description": "源品种ID",
  23902. "type": "integer"
  23903. },
  23904. "srcname": {
  23905. "description": "源品种名称",
  23906. "type": "string"
  23907. },
  23908. "srcunitid": {
  23909. "description": "源品种单位ID",
  23910. "type": "integer"
  23911. },
  23912. "srcunitidname": {
  23913. "description": "源品种单位名称",
  23914. "type": "string"
  23915. }
  23916. }
  23917. },
  23918. "models.ErmcpGoods": {
  23919. "type": "object",
  23920. "required": [
  23921. "goodscode",
  23922. "goodsid",
  23923. "goodsname",
  23924. "marketid"
  23925. ],
  23926. "properties": {
  23927. "agreeunit": {
  23928. "description": "合约单位",
  23929. "type": "number"
  23930. },
  23931. "areauserid": {
  23932. "description": "所属机构",
  23933. "type": "integer"
  23934. },
  23935. "auditaccountid": {
  23936. "description": "审核操作员账号",
  23937. "type": "integer"
  23938. },
  23939. "audittime": {
  23940. "description": "审核时间",
  23941. "type": "string"
  23942. },
  23943. "cancelaccountid": {
  23944. "description": "注销操作员账号",
  23945. "type": "integer"
  23946. },
  23947. "canceltime": {
  23948. "description": "注销时间",
  23949. "type": "string"
  23950. },
  23951. "closepricemode": {
  23952. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23953. "type": "integer"
  23954. },
  23955. "closepriceparam": {
  23956. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23957. "type": "number"
  23958. },
  23959. "createtime": {
  23960. "description": "创建时间",
  23961. "type": "string"
  23962. },
  23963. "creatorid": {
  23964. "description": "创建人",
  23965. "type": "integer"
  23966. },
  23967. "currencyid": {
  23968. "description": "报价货币ID",
  23969. "type": "integer"
  23970. },
  23971. "cutmode": {
  23972. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  23973. "type": "integer"
  23974. },
  23975. "decimalplace": {
  23976. "description": "报价小数位",
  23977. "type": "integer"
  23978. },
  23979. "delistingdate": {
  23980. "description": "商品退市时间(状态:退市) -- 已作废",
  23981. "type": "string"
  23982. },
  23983. "delistingmode": {
  23984. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  23985. "type": "integer"
  23986. },
  23987. "deliveryflag": {
  23988. "description": "交割标志 - 0:不可交割 1:可交割",
  23989. "type": "integer"
  23990. },
  23991. "enumdicname": {
  23992. "description": "单位名称",
  23993. "type": "string"
  23994. },
  23995. "forceclosemode": {
  23996. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  23997. "type": "integer"
  23998. },
  23999. "forceclosevalue": {
  24000. "description": "定期强平参数 [收益权]",
  24001. "type": "integer"
  24002. },
  24003. "goodscode": {
  24004. "description": "商品代码(内部)",
  24005. "type": "string"
  24006. },
  24007. "goodscurrencyid": {
  24008. "description": "合约货币ID",
  24009. "type": "integer"
  24010. },
  24011. "goodsgroupid": {
  24012. "description": "所属商品组ID",
  24013. "type": "integer"
  24014. },
  24015. "goodsid": {
  24016. "description": "商品ID(自增ID SEQ_GOODS)",
  24017. "type": "integer"
  24018. },
  24019. "goodsname": {
  24020. "description": "商品名称",
  24021. "type": "string"
  24022. },
  24023. "goodsquotetype": {
  24024. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24025. "type": "integer"
  24026. },
  24027. "goodsstatus": {
  24028. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24029. "type": "integer"
  24030. },
  24031. "goodstradetype": {
  24032. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24033. "type": "integer"
  24034. },
  24035. "goodunitid": {
  24036. "description": "报价单位ID",
  24037. "type": "integer"
  24038. },
  24039. "hasquoter": {
  24040. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24041. "type": "integer"
  24042. },
  24043. "hqprotecttime": {
  24044. "description": "行情保护时间(秒)",
  24045. "type": "integer"
  24046. },
  24047. "innerdealmode": {
  24048. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24049. "type": "integer"
  24050. },
  24051. "isbuylimited": {
  24052. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24053. "type": "integer"
  24054. },
  24055. "isvisible": {
  24056. "description": "游客是否可见 - 0:不可见 1:可见",
  24057. "type": "integer"
  24058. },
  24059. "lasttradedate": {
  24060. "description": "最后交易日期(状态:待退市)",
  24061. "type": "string"
  24062. },
  24063. "listingdate": {
  24064. "description": "交易开始日期",
  24065. "type": "string"
  24066. },
  24067. "marketid": {
  24068. "description": "所属市场ID",
  24069. "type": "integer"
  24070. },
  24071. "modifierid": {
  24072. "description": "修改人",
  24073. "type": "integer"
  24074. },
  24075. "modifystatus": {
  24076. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24077. "type": "integer"
  24078. },
  24079. "modifytime": {
  24080. "description": "修改时间",
  24081. "type": "string"
  24082. },
  24083. "outerdealmode": {
  24084. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24085. "type": "integer"
  24086. },
  24087. "outgoodscode": {
  24088. "description": "商品代码(外部)",
  24089. "type": "string"
  24090. },
  24091. "pictureurl": {
  24092. "description": "商品图片",
  24093. "type": "string"
  24094. },
  24095. "qtydecimalplace": {
  24096. "description": "成交量小数位",
  24097. "type": "integer"
  24098. },
  24099. "quotegear": {
  24100. "description": "行情档位(1-10)",
  24101. "type": "integer"
  24102. },
  24103. "quoteminunit": {
  24104. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24105. "type": "integer"
  24106. },
  24107. "quoteshowtype": {
  24108. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24109. "type": "integer"
  24110. },
  24111. "quoteshowtypeinterval": {
  24112. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24113. "type": "integer"
  24114. },
  24115. "relatedgoodsid": {
  24116. "description": "关联参考商品ID",
  24117. "type": "integer"
  24118. },
  24119. "remark": {
  24120. "description": "备注",
  24121. "type": "string"
  24122. },
  24123. "trademode": {
  24124. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24125. "type": "integer"
  24126. }
  24127. }
  24128. },
  24129. "models.ErmcpGoodsBrand": {
  24130. "type": "object",
  24131. "properties": {
  24132. "areauserid": {
  24133. "description": "所属机构",
  24134. "type": "integer"
  24135. },
  24136. "brandid": {
  24137. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  24138. "type": "integer"
  24139. },
  24140. "brandname": {
  24141. "description": "品牌名称",
  24142. "type": "string"
  24143. },
  24144. "createtime": {
  24145. "description": "创建时间",
  24146. "type": "string"
  24147. },
  24148. "creatorid": {
  24149. "description": "创建人",
  24150. "type": "integer"
  24151. },
  24152. "creatorsrc": {
  24153. "description": "创建人来源 - 1:管理端 2:终端",
  24154. "type": "integer"
  24155. },
  24156. "deliverygoodsid": {
  24157. "description": "现货品种ID",
  24158. "type": "integer"
  24159. },
  24160. "isvalid": {
  24161. "description": "是否有效 - 0:无效 1:有效",
  24162. "type": "integer"
  24163. },
  24164. "updatetime": {
  24165. "description": "更新时间",
  24166. "type": "string"
  24167. },
  24168. "updatorid": {
  24169. "description": "更新人",
  24170. "type": "integer"
  24171. },
  24172. "updatorsrc": {
  24173. "description": "更新人来源 - 1:管理端 2:终端",
  24174. "type": "integer"
  24175. },
  24176. "wrstandardid": {
  24177. "description": "现货商品ID",
  24178. "type": "integer"
  24179. }
  24180. }
  24181. },
  24182. "models.ErmcpGoodsModel": {
  24183. "type": "object",
  24184. "properties": {
  24185. "areauserid": {
  24186. "description": "所属机构",
  24187. "type": "integer"
  24188. },
  24189. "convertfactor": {
  24190. "description": "标仓系数",
  24191. "type": "number"
  24192. },
  24193. "createtime": {
  24194. "description": "创建时间",
  24195. "type": "string"
  24196. },
  24197. "creatorid": {
  24198. "description": "创建人",
  24199. "type": "integer"
  24200. },
  24201. "creatorsrc": {
  24202. "description": "创建人来源 - 1:管理端 2:终端",
  24203. "type": "integer"
  24204. },
  24205. "deliverygoodsid": {
  24206. "description": "现货品种ID",
  24207. "type": "integer"
  24208. },
  24209. "isvalid": {
  24210. "description": "是否有效 - 0:无效 1:有效",
  24211. "type": "integer"
  24212. },
  24213. "modelid": {
  24214. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24215. "type": "integer"
  24216. },
  24217. "modelname": {
  24218. "description": "型号名称",
  24219. "type": "string"
  24220. },
  24221. "updatetime": {
  24222. "description": "更新时间",
  24223. "type": "string"
  24224. },
  24225. "updatorid": {
  24226. "description": "更新人",
  24227. "type": "integer"
  24228. },
  24229. "updatorsrc": {
  24230. "description": "更新人来源 - 1:管理端 2:终端",
  24231. "type": "integer"
  24232. },
  24233. "wrstandardid": {
  24234. "description": "现货商品ID",
  24235. "type": "integer"
  24236. }
  24237. }
  24238. },
  24239. "models.ErmcpHisExposure": {
  24240. "type": "object",
  24241. "properties": {
  24242. "needhedgeexposoure": {
  24243. "description": "应套保敞口",
  24244. "type": "number"
  24245. },
  24246. "reckondate": {
  24247. "description": "日照时期(yyyyMMdd)",
  24248. "type": "string"
  24249. },
  24250. "totalexposure": {
  24251. "description": "总敞口",
  24252. "type": "number"
  24253. }
  24254. }
  24255. },
  24256. "models.ErmcpLoginTaAccount": {
  24257. "type": "object",
  24258. "properties": {
  24259. "accountid": {
  24260. "description": "账号id",
  24261. "type": "integer"
  24262. },
  24263. "accountname": {
  24264. "description": "账号名称",
  24265. "type": "string"
  24266. }
  24267. }
  24268. },
  24269. "models.ErmcpLoginUser": {
  24270. "type": "object",
  24271. "properties": {
  24272. "acclist": {
  24273. "description": "关联资金账号",
  24274. "type": "array",
  24275. "items": {
  24276. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24277. }
  24278. },
  24279. "accountname": {
  24280. "description": "用户名称",
  24281. "type": "string"
  24282. },
  24283. "clientroleid": {
  24284. "description": "角色id(usertype=2)",
  24285. "type": "integer"
  24286. },
  24287. "createtime": {
  24288. "description": "创建时间",
  24289. "type": "string"
  24290. },
  24291. "logincode": {
  24292. "description": "登录代码",
  24293. "type": "string"
  24294. },
  24295. "loginid": {
  24296. "description": "登录id(LOGINID)",
  24297. "type": "integer"
  24298. },
  24299. "loginname": {
  24300. "description": "登录名称(loginaccount表中的accountname字段)",
  24301. "type": "string"
  24302. },
  24303. "loginstatus": {
  24304. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24305. "type": "integer"
  24306. },
  24307. "memberuserid": {
  24308. "description": "所属会员id",
  24309. "type": "integer"
  24310. },
  24311. "mobile": {
  24312. "description": "手机号",
  24313. "type": "string"
  24314. },
  24315. "modifytime": {
  24316. "description": "修改时间",
  24317. "type": "string"
  24318. },
  24319. "password": {
  24320. "description": "密码(不可解密)",
  24321. "type": "string"
  24322. },
  24323. "rolename": {
  24324. "description": "角色名称",
  24325. "type": "string"
  24326. },
  24327. "rolestatus": {
  24328. "description": "角色状态 1-启用 2-停用",
  24329. "type": "integer"
  24330. },
  24331. "roletype": {
  24332. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  24333. "type": "string"
  24334. },
  24335. "userid": {
  24336. "description": "用户id",
  24337. "type": "integer"
  24338. },
  24339. "usertype": {
  24340. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24341. "type": "integer"
  24342. }
  24343. }
  24344. },
  24345. "models.ErmcpLoginUserEx": {
  24346. "type": "object",
  24347. "properties": {
  24348. "accountstatus": {
  24349. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24350. "type": "integer"
  24351. },
  24352. "mobile": {
  24353. "description": "手机号",
  24354. "type": "string"
  24355. },
  24356. "querytype": {
  24357. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  24358. "type": "integer"
  24359. },
  24360. "roleid": {
  24361. "description": "角色id(交易账户-\u003e用户id)",
  24362. "type": "integer"
  24363. },
  24364. "rolename": {
  24365. "description": "角色名称(交易账户-\u003e用户名称)",
  24366. "type": "string"
  24367. },
  24368. "userlist": {
  24369. "description": "用户列表",
  24370. "type": "array",
  24371. "items": {
  24372. "$ref": "#/definitions/models.ErmcpLoginUser"
  24373. }
  24374. },
  24375. "usertype": {
  24376. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24377. "type": "integer"
  24378. }
  24379. }
  24380. },
  24381. "models.ErmcpMiddleGoodsModel": {
  24382. "type": "object",
  24383. "properties": {
  24384. "areauserid": {
  24385. "description": "机构用户ID",
  24386. "type": "integer"
  24387. },
  24388. "createtime": {
  24389. "description": "修改时间",
  24390. "type": "string"
  24391. },
  24392. "enumdicname": {
  24393. "description": "单位名称",
  24394. "type": "string"
  24395. },
  24396. "evaluateratio": {
  24397. "description": "估价系数",
  24398. "type": "number"
  24399. },
  24400. "goodsgroupid": {
  24401. "description": "关联期货品种ID",
  24402. "type": "integer"
  24403. },
  24404. "goodsunitid": {
  24405. "description": "单位ID",
  24406. "type": "integer"
  24407. },
  24408. "isvalid": {
  24409. "description": "状态 0-无效(停用) 1-有效(正常)",
  24410. "type": "integer"
  24411. },
  24412. "middlegoodscode": {
  24413. "description": "套保品种代码",
  24414. "type": "string"
  24415. },
  24416. "middlegoodsid": {
  24417. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24418. "type": "integer"
  24419. },
  24420. "middlegoodsname": {
  24421. "description": "套保品种名称",
  24422. "type": "string"
  24423. },
  24424. "modifytime": {
  24425. "description": "修改时间",
  24426. "type": "string"
  24427. },
  24428. "needarbitrageratio": {
  24429. "description": "套利比例",
  24430. "type": "number"
  24431. },
  24432. "needhedgeratio": {
  24433. "description": "套保比率",
  24434. "type": "number"
  24435. },
  24436. "qtydecimalplace": {
  24437. "description": "数量小数位",
  24438. "type": "integer"
  24439. },
  24440. "relatedgoodsid": {
  24441. "description": "关联交易商品ID",
  24442. "type": "integer"
  24443. },
  24444. "relatedgoodstype": {
  24445. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  24446. "type": "integer"
  24447. },
  24448. "remark": {
  24449. "description": "备注",
  24450. "type": "string"
  24451. }
  24452. }
  24453. },
  24454. "models.ErmcpMiddlegoodsRelateGoods": {
  24455. "type": "object",
  24456. "properties": {
  24457. "agreeunit": {
  24458. "description": "合约乘数",
  24459. "type": "number"
  24460. },
  24461. "convertratio": {
  24462. "description": "折算系数",
  24463. "type": "number"
  24464. },
  24465. "enumdicname": {
  24466. "description": "单位名称(交易商品)",
  24467. "type": "string"
  24468. },
  24469. "goodscode": {
  24470. "description": "交易商品代码",
  24471. "type": "string"
  24472. },
  24473. "goodsgroupid": {
  24474. "description": "交易品种id",
  24475. "type": "integer"
  24476. },
  24477. "goodsid": {
  24478. "description": "商品Id",
  24479. "type": "integer"
  24480. },
  24481. "goodsname": {
  24482. "description": "交易商品名称",
  24483. "type": "string"
  24484. },
  24485. "goodunitid": {
  24486. "description": "交易商品单位id",
  24487. "type": "integer"
  24488. },
  24489. "middlegoodsid": {
  24490. "description": "套保商品id",
  24491. "type": "integer"
  24492. },
  24493. "middlegoodsname": {
  24494. "description": "套保商品名称",
  24495. "type": "string"
  24496. },
  24497. "middlegoodsswcode": {
  24498. "description": "套保商品代码",
  24499. "type": "string"
  24500. },
  24501. "needarbitrageratio": {
  24502. "description": "应套利比例",
  24503. "type": "number"
  24504. },
  24505. "needhedgeratio": {
  24506. "description": "应套保比例",
  24507. "type": "number"
  24508. }
  24509. }
  24510. },
  24511. "models.ErmcpRole": {
  24512. "type": "object",
  24513. "properties": {
  24514. "areauserid": {
  24515. "description": "所属机构",
  24516. "type": "integer"
  24517. },
  24518. "autoid": {
  24519. "description": "角色ID(自增ID)",
  24520. "type": "integer"
  24521. },
  24522. "modifierid": {
  24523. "description": "修改人(创建人)",
  24524. "type": "integer"
  24525. },
  24526. "modifiername": {
  24527. "description": "修改人名称",
  24528. "type": "string"
  24529. },
  24530. "modifytime": {
  24531. "description": "修改时间(创建时间)",
  24532. "type": "string"
  24533. },
  24534. "rolename": {
  24535. "description": "角色名称",
  24536. "type": "string"
  24537. },
  24538. "rolestatus": {
  24539. "description": "角色状态 - 1:启用 2:停用",
  24540. "type": "integer"
  24541. },
  24542. "roletype": {
  24543. "description": "角色类型 - 1- 管理端 2- 交易端",
  24544. "type": "integer"
  24545. }
  24546. }
  24547. },
  24548. "models.ErmcpRoleMenu": {
  24549. "type": "object",
  24550. "properties": {
  24551. "iconame": {
  24552. "description": "菜单图标",
  24553. "type": "string"
  24554. },
  24555. "ishadrole": {
  24556. "description": "是否有权限",
  24557. "type": "boolean"
  24558. },
  24559. "menutype": {
  24560. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  24561. "type": "integer"
  24562. },
  24563. "parentcode": {
  24564. "description": "上级资源代码",
  24565. "type": "string"
  24566. },
  24567. "remark": {
  24568. "description": "菜单备注",
  24569. "type": "string"
  24570. },
  24571. "resourcecode": {
  24572. "description": "菜单代码",
  24573. "type": "string"
  24574. },
  24575. "resourcelevel": {
  24576. "description": "级别",
  24577. "type": "integer"
  24578. },
  24579. "resourcename": {
  24580. "description": "菜单名称",
  24581. "type": "string"
  24582. },
  24583. "roleid": {
  24584. "description": "角色id",
  24585. "type": "integer"
  24586. },
  24587. "sort": {
  24588. "description": "排序",
  24589. "type": "integer"
  24590. },
  24591. "url": {
  24592. "description": "URL",
  24593. "type": "string"
  24594. },
  24595. "userid": {
  24596. "description": "用户id",
  24597. "type": "integer"
  24598. }
  24599. }
  24600. },
  24601. "models.ErmcpRoleMenuEx": {
  24602. "type": "object",
  24603. "properties": {
  24604. "menu": {
  24605. "description": "父级菜单",
  24606. "$ref": "#/definitions/models.ErmcpRoleMenu"
  24607. },
  24608. "subMenu": {
  24609. "description": "子级菜单",
  24610. "type": "array",
  24611. "items": {
  24612. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  24613. }
  24614. }
  24615. }
  24616. },
  24617. "models.ErmcpTaAccount": {
  24618. "type": "object",
  24619. "properties": {
  24620. "accountid": {
  24621. "description": "账户id",
  24622. "type": "integer"
  24623. },
  24624. "accountname": {
  24625. "description": "账户名称",
  24626. "type": "string"
  24627. },
  24628. "currencyid": {
  24629. "description": "币种id",
  24630. "type": "integer"
  24631. },
  24632. "hedgeaccountcode": {
  24633. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24634. "type": "string"
  24635. },
  24636. "ismain": {
  24637. "description": "是否主账户 0-否 1-是",
  24638. "type": "integer"
  24639. },
  24640. "parentaccountid": {
  24641. "description": "父账户id",
  24642. "type": "integer"
  24643. },
  24644. "relateduserid": {
  24645. "description": "关联userid",
  24646. "type": "integer"
  24647. },
  24648. "tradefeetmpid": {
  24649. "description": "手续费模板id",
  24650. "type": "integer"
  24651. },
  24652. "tradefeetmpname": {
  24653. "description": "手续费模板名称",
  24654. "type": "string"
  24655. },
  24656. "trademargintmpid": {
  24657. "description": "保证金模板id",
  24658. "type": "integer"
  24659. },
  24660. "trademargintmpname": {
  24661. "description": "保证金模板名称",
  24662. "type": "string"
  24663. },
  24664. "traderatetmpid": {
  24665. "description": "汇率模板id",
  24666. "type": "integer"
  24667. },
  24668. "traderatetmpname": {
  24669. "description": "汇率模板名称",
  24670. "type": "string"
  24671. },
  24672. "tradestatus": {
  24673. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24674. "type": "integer"
  24675. },
  24676. "userid": {
  24677. "description": "用户id",
  24678. "type": "integer"
  24679. }
  24680. }
  24681. },
  24682. "models.ErmcpTaAccountEx": {
  24683. "type": "object",
  24684. "properties": {
  24685. "mainAcc": {
  24686. "description": "主账号",
  24687. "$ref": "#/definitions/models.ErmcpTaAccountM"
  24688. },
  24689. "subacclist": {
  24690. "description": "子账号列表",
  24691. "type": "array",
  24692. "items": {
  24693. "$ref": "#/definitions/models.ErmcpTaAccount"
  24694. }
  24695. }
  24696. }
  24697. },
  24698. "models.ErmcpTaAccountInfo": {
  24699. "type": "object",
  24700. "properties": {
  24701. "accountid": {
  24702. "description": "资金账户ID",
  24703. "type": "integer"
  24704. },
  24705. "accountname": {
  24706. "description": "账户名称",
  24707. "type": "string"
  24708. },
  24709. "balance": {
  24710. "description": "期初余额",
  24711. "type": "number"
  24712. },
  24713. "capitalbalance": {
  24714. "description": "本金余额[外部子账户实际出入金余额]",
  24715. "type": "number"
  24716. },
  24717. "closepl": {
  24718. "description": "今日平仓盈亏",
  24719. "type": "number"
  24720. },
  24721. "creditdecrease": {
  24722. "description": "今日授信减少",
  24723. "type": "number"
  24724. },
  24725. "creditincrease": {
  24726. "description": "今日授信增加",
  24727. "type": "number"
  24728. },
  24729. "curdebt": {
  24730. "description": "期末欠款",
  24731. "type": "number"
  24732. },
  24733. "currencyid": {
  24734. "description": "货币ID",
  24735. "type": "integer"
  24736. },
  24737. "currentbalance": {
  24738. "description": "期末余额",
  24739. "type": "number"
  24740. },
  24741. "freezecharge": {
  24742. "description": "手续费冻结",
  24743. "type": "number"
  24744. },
  24745. "freezemargin": {
  24746. "description": "冻结保证金",
  24747. "type": "number"
  24748. },
  24749. "fromaccountid": {
  24750. "description": "所属上级账户",
  24751. "type": "integer"
  24752. },
  24753. "inamount": {
  24754. "description": "今日入金金额(包括三方入金)",
  24755. "type": "number"
  24756. },
  24757. "ismain": {
  24758. "description": "是否母账号 0:不是母账户 1:是母账户",
  24759. "type": "integer"
  24760. },
  24761. "mortgagecredit": {
  24762. "description": "授信金额",
  24763. "type": "number"
  24764. },
  24765. "oridebt": {
  24766. "description": "期初欠款",
  24767. "type": "number"
  24768. },
  24769. "orifreezecharge": {
  24770. "description": "期初手续费冻结",
  24771. "type": "number"
  24772. },
  24773. "orifreezemargin": {
  24774. "description": "期初冻结保证金",
  24775. "type": "number"
  24776. },
  24777. "orimortgagecredit": {
  24778. "description": "期初授信金额",
  24779. "type": "number"
  24780. },
  24781. "oriothercredit": {
  24782. "description": "期初其它授信金额",
  24783. "type": "number"
  24784. },
  24785. "oriotherfreezemargin": {
  24786. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  24787. "type": "number"
  24788. },
  24789. "orioutamountfreeze": {
  24790. "description": "期初出金冻结",
  24791. "type": "number"
  24792. },
  24793. "oriusedmargin": {
  24794. "description": "期初占用保证金",
  24795. "type": "number"
  24796. },
  24797. "othercredit": {
  24798. "description": "其它授信金额",
  24799. "type": "number"
  24800. },
  24801. "othercreditdecrease": {
  24802. "description": "今日其它授信减少",
  24803. "type": "number"
  24804. },
  24805. "othercreditincrease": {
  24806. "description": "今日其它授信增加",
  24807. "type": "number"
  24808. },
  24809. "otherfreezemargin": {
  24810. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24811. "type": "number"
  24812. },
  24813. "outamount": {
  24814. "description": "今日出金金额(包括三方出金)",
  24815. "type": "number"
  24816. },
  24817. "outamountfreeze": {
  24818. "description": "出金冻结",
  24819. "type": "number"
  24820. },
  24821. "outthreshold": {
  24822. "description": "出金阈值",
  24823. "type": "number"
  24824. },
  24825. "parentaccountid": {
  24826. "description": "所属根账号",
  24827. "type": "integer"
  24828. },
  24829. "paycharge": {
  24830. "description": "今日手续费支出",
  24831. "type": "number"
  24832. },
  24833. "relateduserid": {
  24834. "description": "关联用户",
  24835. "type": "integer"
  24836. },
  24837. "signstatus": {
  24838. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  24839. "type": "integer"
  24840. },
  24841. "sublevelpath": {
  24842. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  24843. "type": "string"
  24844. },
  24845. "taaccounttype": {
  24846. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  24847. "type": "integer"
  24848. },
  24849. "thirdinamount": {
  24850. "description": "今日三方入金",
  24851. "type": "number"
  24852. },
  24853. "thirdoutamount": {
  24854. "description": "今日三方出金",
  24855. "type": "number"
  24856. },
  24857. "tradestatus": {
  24858. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24859. "type": "integer"
  24860. },
  24861. "transferamount": {
  24862. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  24863. "type": "number"
  24864. },
  24865. "usedmargin": {
  24866. "description": "占用保证金",
  24867. "type": "number"
  24868. },
  24869. "userid": {
  24870. "description": "用户ID",
  24871. "type": "integer"
  24872. }
  24873. }
  24874. },
  24875. "models.ErmcpTaAccountM": {
  24876. "type": "object",
  24877. "properties": {
  24878. "accountid": {
  24879. "description": "账户id",
  24880. "type": "integer"
  24881. },
  24882. "accountname": {
  24883. "description": "账户名称",
  24884. "type": "string"
  24885. },
  24886. "currencyid": {
  24887. "description": "币种id",
  24888. "type": "integer"
  24889. },
  24890. "fcid": {
  24891. "description": "期货公司id",
  24892. "type": "integer"
  24893. },
  24894. "fcname": {
  24895. "description": "期货公司代码",
  24896. "type": "string"
  24897. },
  24898. "hedgeaccountcode": {
  24899. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24900. "type": "string"
  24901. },
  24902. "ismain": {
  24903. "description": "是否主账户 0-否 1-是",
  24904. "type": "integer"
  24905. },
  24906. "parentaccountid": {
  24907. "description": "父账户id",
  24908. "type": "integer"
  24909. },
  24910. "relateduserid": {
  24911. "description": "关联userid",
  24912. "type": "integer"
  24913. },
  24914. "tradefeetmpid": {
  24915. "description": "手续费模板id",
  24916. "type": "integer"
  24917. },
  24918. "tradefeetmpname": {
  24919. "description": "手续费模板名称",
  24920. "type": "string"
  24921. },
  24922. "trademargintmpid": {
  24923. "description": "保证金模板id",
  24924. "type": "integer"
  24925. },
  24926. "trademargintmpname": {
  24927. "description": "保证金模板名称",
  24928. "type": "string"
  24929. },
  24930. "traderatetmpid": {
  24931. "description": "汇率模板id",
  24932. "type": "integer"
  24933. },
  24934. "traderatetmpname": {
  24935. "description": "汇率模板名称",
  24936. "type": "string"
  24937. },
  24938. "tradestatus": {
  24939. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24940. "type": "integer"
  24941. },
  24942. "userid": {
  24943. "description": "用户id",
  24944. "type": "integer"
  24945. }
  24946. }
  24947. },
  24948. "models.ErmcpTradeConfigTMP": {
  24949. "type": "object",
  24950. "properties": {
  24951. "areauserid": {
  24952. "description": "所属机构",
  24953. "type": "integer"
  24954. },
  24955. "basiccurrencyid": {
  24956. "description": "基本币种ID[汇率] - 目标币种",
  24957. "type": "integer"
  24958. },
  24959. "mainaccountid": {
  24960. "description": "主账户ID",
  24961. "type": "integer"
  24962. },
  24963. "modifierid": {
  24964. "description": "修改人",
  24965. "type": "integer"
  24966. },
  24967. "remark": {
  24968. "description": "备注",
  24969. "type": "string"
  24970. },
  24971. "tradeconfigtmpid": {
  24972. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  24973. "type": "integer"
  24974. },
  24975. "tradeconfigtmpname": {
  24976. "description": "交易配置模板名称",
  24977. "type": "string"
  24978. },
  24979. "tradeconfigtmptype": {
  24980. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  24981. "type": "integer"
  24982. },
  24983. "updatetime": {
  24984. "description": "更新时间",
  24985. "type": "string"
  24986. }
  24987. }
  24988. },
  24989. "models.Externalexchange": {
  24990. "type": "object",
  24991. "required": [
  24992. "autoid"
  24993. ],
  24994. "properties": {
  24995. "autoid": {
  24996. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  24997. "type": "integer"
  24998. },
  24999. "exchangefullname": {
  25000. "description": "外部交易所全称",
  25001. "type": "string"
  25002. },
  25003. "exexchangecode": {
  25004. "description": "外部交易所代码",
  25005. "type": "string"
  25006. },
  25007. "exexchangename": {
  25008. "description": "外部交易所名称(简称)",
  25009. "type": "string"
  25010. },
  25011. "ismarketprice": {
  25012. "description": "是否支持市价 - 0:不支持 1:支持",
  25013. "type": "integer"
  25014. },
  25015. "quotegear": {
  25016. "description": "行情档位(1-10)",
  25017. "type": "integer"
  25018. },
  25019. "showbrokerflag": {
  25020. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  25021. "type": "integer"
  25022. },
  25023. "updatetime": {
  25024. "description": "更新时间",
  25025. "type": "string"
  25026. }
  25027. }
  25028. },
  25029. "models.Funcmenulist": {
  25030. "type": "object",
  25031. "required": [
  25032. "resourcecode"
  25033. ],
  25034. "properties": {
  25035. "iconame": {
  25036. "description": "菜单图标",
  25037. "type": "string"
  25038. },
  25039. "menutype": {
  25040. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  25041. "type": "integer"
  25042. },
  25043. "parentcode": {
  25044. "description": "上级资源代码",
  25045. "type": "string"
  25046. },
  25047. "remark": {
  25048. "description": "备注",
  25049. "type": "string"
  25050. },
  25051. "resourcecode": {
  25052. "description": "资源代码",
  25053. "type": "string"
  25054. },
  25055. "resourcelevel": {
  25056. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  25057. "type": "integer"
  25058. },
  25059. "resourcename": {
  25060. "description": "资源名",
  25061. "type": "string"
  25062. },
  25063. "sort": {
  25064. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  25065. "type": "integer"
  25066. },
  25067. "url": {
  25068. "description": "URL",
  25069. "type": "string"
  25070. }
  25071. }
  25072. },
  25073. "models.Goods": {
  25074. "type": "object",
  25075. "required": [
  25076. "goodscode",
  25077. "goodsid",
  25078. "goodsname",
  25079. "marketid"
  25080. ],
  25081. "properties": {
  25082. "agreeunit": {
  25083. "description": "合约单位",
  25084. "type": "number"
  25085. },
  25086. "areauserid": {
  25087. "description": "所属机构",
  25088. "type": "integer"
  25089. },
  25090. "auditaccountid": {
  25091. "description": "审核操作员账号",
  25092. "type": "integer"
  25093. },
  25094. "audittime": {
  25095. "description": "审核时间",
  25096. "type": "string"
  25097. },
  25098. "cancelaccountid": {
  25099. "description": "注销操作员账号",
  25100. "type": "integer"
  25101. },
  25102. "canceltime": {
  25103. "description": "注销时间",
  25104. "type": "string"
  25105. },
  25106. "closepricemode": {
  25107. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25108. "type": "integer"
  25109. },
  25110. "closepriceparam": {
  25111. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  25112. "type": "number"
  25113. },
  25114. "createtime": {
  25115. "description": "创建时间",
  25116. "type": "string"
  25117. },
  25118. "creatorid": {
  25119. "description": "创建人",
  25120. "type": "integer"
  25121. },
  25122. "currencyid": {
  25123. "description": "报价货币ID",
  25124. "type": "integer"
  25125. },
  25126. "cutmode": {
  25127. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  25128. "type": "integer"
  25129. },
  25130. "decimalplace": {
  25131. "description": "报价小数位",
  25132. "type": "integer"
  25133. },
  25134. "delistingdate": {
  25135. "description": "商品退市时间(状态:退市) -- 已作废",
  25136. "type": "string"
  25137. },
  25138. "delistingmode": {
  25139. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  25140. "type": "integer"
  25141. },
  25142. "deliveryflag": {
  25143. "description": "交割标志 - 0:不可交割 1:可交割",
  25144. "type": "integer"
  25145. },
  25146. "forceclosemode": {
  25147. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  25148. "type": "integer"
  25149. },
  25150. "forceclosevalue": {
  25151. "description": "定期强平参数 [收益权]",
  25152. "type": "integer"
  25153. },
  25154. "goodscode": {
  25155. "description": "商品代码(内部)",
  25156. "type": "string"
  25157. },
  25158. "goodscurrencyid": {
  25159. "description": "合约货币ID",
  25160. "type": "integer"
  25161. },
  25162. "goodsgroupid": {
  25163. "description": "所属商品组ID",
  25164. "type": "integer"
  25165. },
  25166. "goodsid": {
  25167. "description": "商品ID(自增ID SEQ_GOODS)",
  25168. "type": "integer"
  25169. },
  25170. "goodsname": {
  25171. "description": "商品名称",
  25172. "type": "string"
  25173. },
  25174. "goodsquotetype": {
  25175. "description": "合约报价类型: 1-直接报价 2-间接报价",
  25176. "type": "integer"
  25177. },
  25178. "goodsstatus": {
  25179. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25180. "type": "integer"
  25181. },
  25182. "goodstradetype": {
  25183. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25184. "type": "integer"
  25185. },
  25186. "goodunitid": {
  25187. "description": "报价单位ID",
  25188. "type": "integer"
  25189. },
  25190. "hasquoter": {
  25191. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25192. "type": "integer"
  25193. },
  25194. "hqprotecttime": {
  25195. "description": "行情保护时间(秒)",
  25196. "type": "integer"
  25197. },
  25198. "innerdealmode": {
  25199. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25200. "type": "integer"
  25201. },
  25202. "isbuylimited": {
  25203. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25204. "type": "integer"
  25205. },
  25206. "isvisible": {
  25207. "description": "游客是否可见 - 0:不可见 1:可见",
  25208. "type": "integer"
  25209. },
  25210. "lasttradedate": {
  25211. "description": "最后交易日期(状态:待退市)",
  25212. "type": "string"
  25213. },
  25214. "listingdate": {
  25215. "description": "交易开始日期",
  25216. "type": "string"
  25217. },
  25218. "marketid": {
  25219. "description": "所属市场ID",
  25220. "type": "integer"
  25221. },
  25222. "modifierid": {
  25223. "description": "修改人",
  25224. "type": "integer"
  25225. },
  25226. "modifystatus": {
  25227. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25228. "type": "integer"
  25229. },
  25230. "modifytime": {
  25231. "description": "修改时间",
  25232. "type": "string"
  25233. },
  25234. "outerdealmode": {
  25235. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25236. "type": "integer"
  25237. },
  25238. "outgoodscode": {
  25239. "description": "商品代码(外部)",
  25240. "type": "string"
  25241. },
  25242. "pictureurl": {
  25243. "description": "商品图片",
  25244. "type": "string"
  25245. },
  25246. "qtydecimalplace": {
  25247. "description": "成交量小数位",
  25248. "type": "integer"
  25249. },
  25250. "quotegear": {
  25251. "description": "行情档位(1-10)",
  25252. "type": "integer"
  25253. },
  25254. "quoteminunit": {
  25255. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25256. "type": "integer"
  25257. },
  25258. "quoteshowtype": {
  25259. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25260. "type": "integer"
  25261. },
  25262. "quoteshowtypeinterval": {
  25263. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25264. "type": "integer"
  25265. },
  25266. "remark": {
  25267. "description": "备注",
  25268. "type": "string"
  25269. }
  25270. }
  25271. },
  25272. "models.GoodsIDAndName": {
  25273. "type": "object",
  25274. "required": [
  25275. "goodscode",
  25276. "goodsid",
  25277. "goodsname",
  25278. "marketid"
  25279. ],
  25280. "properties": {
  25281. "goodscode": {
  25282. "description": "商品代码(内部)",
  25283. "type": "string"
  25284. },
  25285. "goodsid": {
  25286. "description": "商品ID(自增ID SEQ_GOODS)",
  25287. "type": "integer"
  25288. },
  25289. "goodsname": {
  25290. "description": "商品名称",
  25291. "type": "string"
  25292. },
  25293. "marketid": {
  25294. "description": "所属市场ID",
  25295. "type": "integer"
  25296. }
  25297. }
  25298. },
  25299. "models.Goodsgroup": {
  25300. "type": "object",
  25301. "required": [
  25302. "goodsgroupid",
  25303. "goodsgroupname",
  25304. "goodsgroupstatus",
  25305. "marketid"
  25306. ],
  25307. "properties": {
  25308. "agreeunit": {
  25309. "description": "合约单位",
  25310. "type": "number"
  25311. },
  25312. "canshort": {
  25313. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25314. "type": "integer"
  25315. },
  25316. "closepricemode": {
  25317. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25318. "type": "integer"
  25319. },
  25320. "closepriceparam": {
  25321. "description": "强平最新价浮动比例 - 方式为2时使用",
  25322. "type": "number"
  25323. },
  25324. "createtime": {
  25325. "description": "创建时间",
  25326. "type": "string"
  25327. },
  25328. "creatorid": {
  25329. "description": "创建人",
  25330. "type": "integer"
  25331. },
  25332. "currencyid": {
  25333. "description": "报价货币ID",
  25334. "type": "integer"
  25335. },
  25336. "decimalplace": {
  25337. "description": "报价小数位",
  25338. "type": "integer"
  25339. },
  25340. "exercisetype": {
  25341. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  25342. "type": "integer"
  25343. },
  25344. "exexchangeid": {
  25345. "description": "外部交易所ID[通道交易]",
  25346. "type": "integer"
  25347. },
  25348. "goodsgroupid": {
  25349. "description": "商品组ID(自增ID)",
  25350. "type": "integer"
  25351. },
  25352. "goodsgroupname": {
  25353. "description": "商品组名称",
  25354. "type": "string"
  25355. },
  25356. "goodsgroupstatus": {
  25357. "description": "商品组状态 - 1:正常 2:注销",
  25358. "type": "integer"
  25359. },
  25360. "goodunitid": {
  25361. "description": "报价单位ID",
  25362. "type": "integer"
  25363. },
  25364. "innerdealmode": {
  25365. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25366. "type": "integer"
  25367. },
  25368. "isbuylimited": {
  25369. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25370. "type": "integer"
  25371. },
  25372. "marketid": {
  25373. "description": "所属市场ID",
  25374. "type": "integer"
  25375. },
  25376. "modifierid": {
  25377. "description": "修改人",
  25378. "type": "integer"
  25379. },
  25380. "modifytime": {
  25381. "description": "修改时间",
  25382. "type": "string"
  25383. },
  25384. "outerdealmode": {
  25385. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25386. "type": "integer"
  25387. },
  25388. "outergroupcode": {
  25389. "description": "外部商品组代码[通道交易]",
  25390. "type": "string"
  25391. },
  25392. "premiumdecimalplace": {
  25393. "description": "权利金小数位[场外期权]",
  25394. "type": "integer"
  25395. },
  25396. "premiumspreadalgorithm": {
  25397. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  25398. "type": "integer"
  25399. },
  25400. "premiumspreadvalue": {
  25401. "description": "权利金点差值[场外期权]",
  25402. "type": "number"
  25403. },
  25404. "qtydecimalplace": {
  25405. "description": "成交量小数位",
  25406. "type": "integer"
  25407. },
  25408. "quotegear": {
  25409. "description": "行情档位(1-10)",
  25410. "type": "integer"
  25411. },
  25412. "quoteminunit": {
  25413. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25414. "type": "integer"
  25415. },
  25416. "quoterid": {
  25417. "description": "报价商ID[场外期权]",
  25418. "type": "integer"
  25419. },
  25420. "quotesourcegroupid": {
  25421. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25422. "type": "integer"
  25423. },
  25424. "syncgoodsqty": {
  25425. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25426. "type": "integer"
  25427. }
  25428. }
  25429. },
  25430. "models.Goodssortbypreposition": {
  25431. "type": "object",
  25432. "required": [
  25433. "goodscode",
  25434. "tradedate"
  25435. ],
  25436. "properties": {
  25437. "goodscode": {
  25438. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  25439. "type": "string"
  25440. },
  25441. "goodsgroupcode": {
  25442. "description": "品种代码",
  25443. "type": "string"
  25444. },
  25445. "prepositionqty": {
  25446. "description": "昨持仓量",
  25447. "type": "integer"
  25448. },
  25449. "sortindex": {
  25450. "description": "排序",
  25451. "type": "integer"
  25452. },
  25453. "tradedate": {
  25454. "description": "交易日",
  25455. "type": "string"
  25456. },
  25457. "updatetime": {
  25458. "description": "更新时间",
  25459. "type": "string"
  25460. }
  25461. }
  25462. },
  25463. "models.Hedgeinnerholderdetail": {
  25464. "type": "object",
  25465. "required": [
  25466. "buyorsell",
  25467. "tradeid"
  25468. ],
  25469. "properties": {
  25470. "accountid": {
  25471. "description": "账号ID",
  25472. "type": "integer"
  25473. },
  25474. "buyorsell": {
  25475. "description": "方向 - 0:买 1:卖",
  25476. "type": "integer"
  25477. },
  25478. "freezeqty": {
  25479. "description": "冻结数量 - 按单平使用",
  25480. "type": "integer"
  25481. },
  25482. "goodsid": {
  25483. "description": "商品ID",
  25484. "type": "integer"
  25485. },
  25486. "holderamount": {
  25487. "description": "持仓金额 [商品币种]",
  25488. "type": "number"
  25489. },
  25490. "holderdays": {
  25491. "description": "剩余冻结天数",
  25492. "type": "integer"
  25493. },
  25494. "holderprice": {
  25495. "description": "持仓价格",
  25496. "type": "number"
  25497. },
  25498. "holderqty": {
  25499. "description": "持仓数量",
  25500. "type": "integer"
  25501. },
  25502. "marketid": {
  25503. "description": "市场ID",
  25504. "type": "integer"
  25505. },
  25506. "openprice": {
  25507. "description": "建仓价格",
  25508. "type": "number"
  25509. },
  25510. "openqty": {
  25511. "description": "建仓数量",
  25512. "type": "integer"
  25513. },
  25514. "parentaccountid": {
  25515. "description": "所属母账户",
  25516. "type": "integer"
  25517. },
  25518. "releaseamount": {
  25519. "description": "释放持仓金额[商品币种]",
  25520. "type": "number"
  25521. },
  25522. "tradeamount": {
  25523. "description": "成交金额[账户]",
  25524. "type": "number"
  25525. },
  25526. "tradedate": {
  25527. "description": "交易日(yyyyMMdd)",
  25528. "type": "string"
  25529. },
  25530. "tradeid": {
  25531. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25532. "type": "string"
  25533. },
  25534. "tradetime": {
  25535. "description": "交易时间",
  25536. "type": "string"
  25537. }
  25538. }
  25539. },
  25540. "models.Hedgemarketopenlog": {
  25541. "type": "object",
  25542. "required": [
  25543. "accountid"
  25544. ],
  25545. "properties": {
  25546. "accountid": {
  25547. "description": "资金账号[外部母账户]",
  25548. "type": "integer"
  25549. },
  25550. "fcname": {
  25551. "description": "期货公司名称",
  25552. "type": "string"
  25553. },
  25554. "handlestatus": {
  25555. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  25556. "type": "integer"
  25557. },
  25558. "marketid": {
  25559. "description": "市场ID",
  25560. "type": "integer"
  25561. },
  25562. "status": {
  25563. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  25564. "type": "integer"
  25565. },
  25566. "tradedate": {
  25567. "description": "交易日(yyyyMMdd)",
  25568. "type": "string"
  25569. },
  25570. "updatetime": {
  25571. "description": "更新时间",
  25572. "type": "string"
  25573. }
  25574. }
  25575. },
  25576. "models.HsbyBuyMyPayOrder": {
  25577. "type": "object",
  25578. "required": [
  25579. "goodscode",
  25580. "goodsname",
  25581. "tradeid",
  25582. "trademode"
  25583. ],
  25584. "properties": {
  25585. "agreeunit": {
  25586. "description": "合约单位",
  25587. "type": "number"
  25588. },
  25589. "buyaccountid": {
  25590. "description": "买方账号ID[报价币种]",
  25591. "type": "integer"
  25592. },
  25593. "buyorderid": {
  25594. "description": "买方委托单号",
  25595. "type": "string"
  25596. },
  25597. "createtime": {
  25598. "description": "创建时间",
  25599. "type": "string"
  25600. },
  25601. "currencysign": {
  25602. "description": "货币符号",
  25603. "type": "string"
  25604. },
  25605. "decimalplace": {
  25606. "description": "报价小数位",
  25607. "type": "integer"
  25608. },
  25609. "goodscode": {
  25610. "description": "商品代码(内部)",
  25611. "type": "string"
  25612. },
  25613. "goodsid": {
  25614. "description": "商品ID",
  25615. "type": "integer"
  25616. },
  25617. "goodsname": {
  25618. "description": "商品名称",
  25619. "type": "string"
  25620. },
  25621. "marketid": {
  25622. "description": "市场ID",
  25623. "type": "integer"
  25624. },
  25625. "offamount": {
  25626. "description": "优惠金额",
  25627. "type": "number"
  25628. },
  25629. "originalamount": {
  25630. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  25631. "type": "number"
  25632. },
  25633. "payamount": {
  25634. "description": "支付金额 = TradeAmount + TradeCharge",
  25635. "type": "number"
  25636. },
  25637. "payflag": {
  25638. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25639. "type": "integer"
  25640. },
  25641. "paylimitedtime": {
  25642. "description": "支付期限",
  25643. "type": "string"
  25644. },
  25645. "paytime": {
  25646. "description": "付款时间",
  25647. "type": "string"
  25648. },
  25649. "picurls1": {
  25650. "description": "预售商品介绍图片[多张用逗号分隔]",
  25651. "type": "string"
  25652. },
  25653. "picurls2": {
  25654. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25655. "type": "string"
  25656. },
  25657. "sellaccountid": {
  25658. "description": "卖方账号ID[报价币种]",
  25659. "type": "integer"
  25660. },
  25661. "sellorderid": {
  25662. "description": "卖方委托单号",
  25663. "type": "string"
  25664. },
  25665. "tradeamount": {
  25666. "description": "成交金额",
  25667. "type": "number"
  25668. },
  25669. "tradecharge": {
  25670. "description": "成交手续费(买方)",
  25671. "type": "number"
  25672. },
  25673. "tradedate": {
  25674. "description": "交易日(yyyyMMdd)",
  25675. "type": "string"
  25676. },
  25677. "tradeid": {
  25678. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25679. "type": "string"
  25680. },
  25681. "trademode": {
  25682. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25683. "type": "integer"
  25684. },
  25685. "tradeprice": {
  25686. "description": "成交价格",
  25687. "type": "number"
  25688. },
  25689. "tradeqty": {
  25690. "description": "成交数量",
  25691. "type": "integer"
  25692. },
  25693. "vendorname1": {
  25694. "description": "预售商品供应商名称",
  25695. "type": "string"
  25696. },
  25697. "vendorname2": {
  25698. "description": "挂牌商品供应商名称",
  25699. "type": "string"
  25700. }
  25701. }
  25702. },
  25703. "models.HsbyBuyMyTradeDetail": {
  25704. "type": "object",
  25705. "required": [
  25706. "accountid",
  25707. "buyorsell",
  25708. "goodscode",
  25709. "goodsid",
  25710. "goodsname",
  25711. "marketid",
  25712. "orderid",
  25713. "qty",
  25714. "time",
  25715. "trademode"
  25716. ],
  25717. "properties": {
  25718. "accountid": {
  25719. "description": "账户ID[报价币种]",
  25720. "type": "integer"
  25721. },
  25722. "agreeunit": {
  25723. "description": "合约单位",
  25724. "type": "number"
  25725. },
  25726. "amount": {
  25727. "description": "金额 = 价格 * 数量 * 合约单位",
  25728. "type": "number"
  25729. },
  25730. "buyorsell": {
  25731. "description": "买卖 - 0:买 1:卖",
  25732. "type": "integer"
  25733. },
  25734. "currencysign": {
  25735. "description": "货币符号",
  25736. "type": "string"
  25737. },
  25738. "decimalplace": {
  25739. "description": "报价小数位",
  25740. "type": "integer"
  25741. },
  25742. "goodscode": {
  25743. "description": "商品代码(内部)",
  25744. "type": "string"
  25745. },
  25746. "goodsid": {
  25747. "description": "商品ID",
  25748. "type": "integer"
  25749. },
  25750. "goodsname": {
  25751. "description": "商品名称",
  25752. "type": "string"
  25753. },
  25754. "marketid": {
  25755. "description": "市场ID",
  25756. "type": "integer"
  25757. },
  25758. "orderamount": {
  25759. "description": "委托金额",
  25760. "type": "number"
  25761. },
  25762. "orderid": {
  25763. "description": "单号(成交单号)",
  25764. "type": "string"
  25765. },
  25766. "picurls1": {
  25767. "description": "预售商品介绍图片[多张用逗号分隔]",
  25768. "type": "string"
  25769. },
  25770. "picurls2": {
  25771. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25772. "type": "string"
  25773. },
  25774. "price": {
  25775. "description": "价格",
  25776. "type": "number"
  25777. },
  25778. "qty": {
  25779. "description": "数量",
  25780. "type": "integer"
  25781. },
  25782. "time": {
  25783. "description": "时间",
  25784. "type": "string"
  25785. },
  25786. "trademode": {
  25787. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25788. "type": "integer"
  25789. },
  25790. "vendorname1": {
  25791. "description": "预售商品供应商名称",
  25792. "type": "string"
  25793. },
  25794. "vendorname2": {
  25795. "description": "挂牌商品供应商名称",
  25796. "type": "string"
  25797. }
  25798. }
  25799. },
  25800. "models.HsbyGoodsOrderDetail": {
  25801. "type": "object",
  25802. "required": [
  25803. "buyorsell",
  25804. "orderid",
  25805. "ordertime"
  25806. ],
  25807. "properties": {
  25808. "buyorsell": {
  25809. "description": "买卖 - 0:买 1:卖",
  25810. "type": "integer"
  25811. },
  25812. "currencysign": {
  25813. "description": "货币符号",
  25814. "type": "string"
  25815. },
  25816. "customername": {
  25817. "description": "客户名称(企业名称),已脱敏",
  25818. "type": "string"
  25819. },
  25820. "enableqty": {
  25821. "description": "可用数量",
  25822. "type": "integer"
  25823. },
  25824. "goodunit": {
  25825. "description": "报价单位",
  25826. "type": "string"
  25827. },
  25828. "orderid": {
  25829. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25830. "type": "string"
  25831. },
  25832. "orderprice": {
  25833. "description": "委托价格",
  25834. "type": "number"
  25835. },
  25836. "ordertime": {
  25837. "description": "委托时间",
  25838. "type": "string"
  25839. }
  25840. }
  25841. },
  25842. "models.HsbyListingGoodsDetail": {
  25843. "type": "object",
  25844. "required": [
  25845. "goodscode",
  25846. "goodsid",
  25847. "goodsname",
  25848. "marketid",
  25849. "trademode"
  25850. ],
  25851. "properties": {
  25852. "agreeunit": {
  25853. "description": "合约单位",
  25854. "type": "number"
  25855. },
  25856. "buymaxqty": {
  25857. "description": "购买上限 [71] - 0为不限",
  25858. "type": "integer"
  25859. },
  25860. "currency": {
  25861. "description": "货币",
  25862. "type": "string"
  25863. },
  25864. "currencysign": {
  25865. "description": "货币符号",
  25866. "type": "string"
  25867. },
  25868. "decimalplace": {
  25869. "description": "报价小数位",
  25870. "type": "integer"
  25871. },
  25872. "desccityid": {
  25873. "description": "目的地(市)ID",
  25874. "type": "integer"
  25875. },
  25876. "descprovinceid": {
  25877. "description": "目的地(省)ID",
  25878. "type": "integer"
  25879. },
  25880. "goodscode": {
  25881. "description": "商品代码(内部)",
  25882. "type": "string"
  25883. },
  25884. "goodsdesc": {
  25885. "description": "商品详情",
  25886. "type": "string"
  25887. },
  25888. "goodsid": {
  25889. "description": "商品ID(自增ID SEQ_GOODS)",
  25890. "type": "integer"
  25891. },
  25892. "goodsname": {
  25893. "description": "商品名称",
  25894. "type": "string"
  25895. },
  25896. "goodsprice": {
  25897. "description": "商品价格",
  25898. "type": "number"
  25899. },
  25900. "hotindex": {
  25901. "description": "景点热度",
  25902. "type": "integer"
  25903. },
  25904. "last": {
  25905. "description": "现价",
  25906. "type": "number"
  25907. },
  25908. "limitdown": {
  25909. "description": "跌停价",
  25910. "type": "number"
  25911. },
  25912. "limitup": {
  25913. "description": "涨停价",
  25914. "type": "number"
  25915. },
  25916. "lotsize": {
  25917. "description": "手数最小变动单位",
  25918. "type": "integer"
  25919. },
  25920. "marketid": {
  25921. "description": "所属市场ID",
  25922. "type": "integer"
  25923. },
  25924. "picurls": {
  25925. "description": "介绍图片[多张用逗号分隔]",
  25926. "type": "string"
  25927. },
  25928. "quoteminunit": {
  25929. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25930. "type": "integer"
  25931. },
  25932. "stepvalue": {
  25933. "description": "价格最小变动单位",
  25934. "type": "number"
  25935. },
  25936. "trademode": {
  25937. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25938. "type": "integer"
  25939. },
  25940. "vendorattr": {
  25941. "description": "供应商附件(多张,逗号分隔)",
  25942. "type": "string"
  25943. },
  25944. "vendorname": {
  25945. "description": "供应商名称",
  25946. "type": "string"
  25947. },
  25948. "vendorphone": {
  25949. "description": "供应商客服电话",
  25950. "type": "string"
  25951. },
  25952. "videourls": {
  25953. "description": "介绍视频[多张用逗号分隔]",
  25954. "type": "string"
  25955. }
  25956. }
  25957. },
  25958. "models.HsbyMarketGoods": {
  25959. "type": "object",
  25960. "required": [
  25961. "accountid",
  25962. "buyorsell",
  25963. "goodscode",
  25964. "goodsid",
  25965. "goodsname",
  25966. "marketid",
  25967. "orderid",
  25968. "trademode"
  25969. ],
  25970. "properties": {
  25971. "accountid": {
  25972. "description": "账户ID[报价币种]",
  25973. "type": "integer"
  25974. },
  25975. "agreeunit": {
  25976. "description": "合约单位",
  25977. "type": "number"
  25978. },
  25979. "buyorsell": {
  25980. "description": "买卖 - 0:买 1:卖",
  25981. "type": "integer"
  25982. },
  25983. "categoryid": {
  25984. "description": "类别ID(WRCATEGORY)",
  25985. "type": "integer"
  25986. },
  25987. "currency": {
  25988. "description": "货币",
  25989. "type": "string"
  25990. },
  25991. "currencysign": {
  25992. "description": "货币符号",
  25993. "type": "string"
  25994. },
  25995. "customername": {
  25996. "description": "卖家名称",
  25997. "type": "string"
  25998. },
  25999. "decimalplace": {
  26000. "description": "报价小数位",
  26001. "type": "integer"
  26002. },
  26003. "goodscode": {
  26004. "description": "商品代码(内部)",
  26005. "type": "string"
  26006. },
  26007. "goodsid": {
  26008. "description": "商品ID",
  26009. "type": "integer"
  26010. },
  26011. "goodsname": {
  26012. "description": "商品名称",
  26013. "type": "string"
  26014. },
  26015. "goodsprice": {
  26016. "description": "商品价格",
  26017. "type": "number"
  26018. },
  26019. "hascoupon": {
  26020. "description": "是否可用优惠卷",
  26021. "type": "boolean"
  26022. },
  26023. "hotindex": {
  26024. "description": "景点热度",
  26025. "type": "integer"
  26026. },
  26027. "marketid": {
  26028. "description": "市场ID",
  26029. "type": "integer"
  26030. },
  26031. "orderid": {
  26032. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26033. "type": "string"
  26034. },
  26035. "orderprice": {
  26036. "description": "委托价格",
  26037. "type": "number"
  26038. },
  26039. "orderstatus": {
  26040. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26041. "type": "integer"
  26042. },
  26043. "picurls": {
  26044. "description": "介绍图片[多张用逗号分隔]",
  26045. "type": "string"
  26046. },
  26047. "quoteminunit": {
  26048. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26049. "type": "integer"
  26050. },
  26051. "sellUserID": {
  26052. "description": "卖方UserID",
  26053. "type": "integer"
  26054. },
  26055. "trademode": {
  26056. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26057. "type": "integer"
  26058. },
  26059. "videourls": {
  26060. "description": "介绍视频[多张用逗号分隔]",
  26061. "type": "string"
  26062. }
  26063. }
  26064. },
  26065. "models.HsbyMarketGoodsDetail": {
  26066. "type": "object",
  26067. "required": [
  26068. "accountid",
  26069. "buyorsell",
  26070. "goodscode",
  26071. "goodsid",
  26072. "goodsname",
  26073. "marketid",
  26074. "orderid",
  26075. "orderqty",
  26076. "trademode"
  26077. ],
  26078. "properties": {
  26079. "accountid": {
  26080. "description": "账户ID[报价币种]",
  26081. "type": "integer"
  26082. },
  26083. "agreeunit": {
  26084. "description": "合约单位",
  26085. "type": "number"
  26086. },
  26087. "buymaxqty": {
  26088. "description": "购买上限 [71] - 0为不限",
  26089. "type": "integer"
  26090. },
  26091. "buyorsell": {
  26092. "description": "买卖 - 0:买 1:卖",
  26093. "type": "integer"
  26094. },
  26095. "cancelqty": {
  26096. "description": "撤单数量",
  26097. "type": "integer"
  26098. },
  26099. "categoryid": {
  26100. "description": "类别ID(WRCATEGORY)",
  26101. "type": "integer"
  26102. },
  26103. "currency": {
  26104. "description": "货币",
  26105. "type": "string"
  26106. },
  26107. "currencysign": {
  26108. "description": "货币符号",
  26109. "type": "string"
  26110. },
  26111. "customername": {
  26112. "description": "卖家名称",
  26113. "type": "string"
  26114. },
  26115. "decimalplace": {
  26116. "description": "报价小数位",
  26117. "type": "integer"
  26118. },
  26119. "goodscode": {
  26120. "description": "商品代码(内部)",
  26121. "type": "string"
  26122. },
  26123. "goodsdesc": {
  26124. "description": "商品详情",
  26125. "type": "string"
  26126. },
  26127. "goodsid": {
  26128. "description": "商品ID",
  26129. "type": "integer"
  26130. },
  26131. "goodsname": {
  26132. "description": "商品名称",
  26133. "type": "string"
  26134. },
  26135. "goodsprice": {
  26136. "description": "商品价格",
  26137. "type": "number"
  26138. },
  26139. "hotindex": {
  26140. "description": "景点热度",
  26141. "type": "integer"
  26142. },
  26143. "lotsize": {
  26144. "description": "手数最小变动单位",
  26145. "type": "integer"
  26146. },
  26147. "marketid": {
  26148. "description": "市场ID",
  26149. "type": "integer"
  26150. },
  26151. "orderid": {
  26152. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26153. "type": "string"
  26154. },
  26155. "orderprice": {
  26156. "description": "委托价格",
  26157. "type": "number"
  26158. },
  26159. "orderqty": {
  26160. "description": "委托数量",
  26161. "type": "integer"
  26162. },
  26163. "orderstatus": {
  26164. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26165. "type": "integer"
  26166. },
  26167. "picurls": {
  26168. "description": "介绍图片[多张用逗号分隔]",
  26169. "type": "string"
  26170. },
  26171. "quoteminunit": {
  26172. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26173. "type": "integer"
  26174. },
  26175. "sellUserID": {
  26176. "description": "卖方UserID",
  26177. "type": "integer"
  26178. },
  26179. "trademode": {
  26180. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26181. "type": "integer"
  26182. },
  26183. "tradeqty": {
  26184. "description": "成交数量",
  26185. "type": "integer"
  26186. },
  26187. "vendorattr": {
  26188. "description": "供应商附件(多张,逗号分隔)",
  26189. "type": "string"
  26190. },
  26191. "vendorname": {
  26192. "description": "供应商名称",
  26193. "type": "string"
  26194. },
  26195. "vendorphone": {
  26196. "description": "供应商客服电话",
  26197. "type": "string"
  26198. },
  26199. "videourls": {
  26200. "description": "介绍视频[多张用逗号分隔]",
  26201. "type": "string"
  26202. }
  26203. }
  26204. },
  26205. "models.HsbyMarketInfo": {
  26206. "type": "object",
  26207. "required": [
  26208. "marketid",
  26209. "marketstatus",
  26210. "trademode"
  26211. ],
  26212. "properties": {
  26213. "marketid": {
  26214. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26215. "type": "integer"
  26216. },
  26217. "marketname": {
  26218. "description": "市场名称",
  26219. "type": "string"
  26220. },
  26221. "marketstatus": {
  26222. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26223. "type": "integer"
  26224. },
  26225. "trademode": {
  26226. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26227. "type": "integer"
  26228. }
  26229. }
  26230. },
  26231. "models.HsbyMyGoods": {
  26232. "type": "object",
  26233. "required": [
  26234. "accountid",
  26235. "goodscode",
  26236. "goodsid",
  26237. "goodsname",
  26238. "marketid",
  26239. "trademode"
  26240. ],
  26241. "properties": {
  26242. "accountid": {
  26243. "description": "账号Id",
  26244. "type": "integer"
  26245. },
  26246. "agreeunit": {
  26247. "description": "合约单位",
  26248. "type": "number"
  26249. },
  26250. "buyaverageprice": {
  26251. "description": "持仓均价",
  26252. "type": "number"
  26253. },
  26254. "buycurholderamount": {
  26255. "description": "买当前持仓总金额[商品币种]",
  26256. "type": "number"
  26257. },
  26258. "buycurpositionqty": {
  26259. "description": "买当前持仓总数量",
  26260. "type": "integer"
  26261. },
  26262. "buymaxqty": {
  26263. "description": "购买上限 [71] - 0为不限",
  26264. "type": "integer"
  26265. },
  26266. "currencysign": {
  26267. "description": "货币符号",
  26268. "type": "string"
  26269. },
  26270. "decimalplace": {
  26271. "description": "报价小数位",
  26272. "type": "integer"
  26273. },
  26274. "enableqty": {
  26275. "description": "可用数量",
  26276. "type": "integer"
  26277. },
  26278. "goodscode": {
  26279. "description": "商品代码(内部)",
  26280. "type": "string"
  26281. },
  26282. "goodsid": {
  26283. "description": "商品Id",
  26284. "type": "integer"
  26285. },
  26286. "goodsname": {
  26287. "description": "商品名称",
  26288. "type": "string"
  26289. },
  26290. "goodsprice": {
  26291. "description": "商品价格",
  26292. "type": "number"
  26293. },
  26294. "goodsstatus": {
  26295. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26296. "type": "integer"
  26297. },
  26298. "last": {
  26299. "description": "现价(仅使用于挂牌点选)",
  26300. "type": "number"
  26301. },
  26302. "limitdown": {
  26303. "description": "跌停价(仅使用于挂牌点选)",
  26304. "type": "number"
  26305. },
  26306. "limitup": {
  26307. "description": "涨停价(仅使用于挂牌点选)",
  26308. "type": "number"
  26309. },
  26310. "lotsize": {
  26311. "description": "手数最小变动单位",
  26312. "type": "integer"
  26313. },
  26314. "marketid": {
  26315. "description": "所属市场ID",
  26316. "type": "integer"
  26317. },
  26318. "picurls": {
  26319. "description": "介绍图片[多张用逗号分隔]",
  26320. "type": "string"
  26321. },
  26322. "quoteminunit": {
  26323. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26324. "type": "integer"
  26325. },
  26326. "stepvalue": {
  26327. "description": "价格最小变动单位",
  26328. "type": "number"
  26329. },
  26330. "trademode": {
  26331. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26332. "type": "integer"
  26333. }
  26334. }
  26335. },
  26336. "models.HsbyMyPackage": {
  26337. "type": "object",
  26338. "required": [
  26339. "goodscode",
  26340. "goodsname",
  26341. "takeorderid",
  26342. "trademode"
  26343. ],
  26344. "properties": {
  26345. "accountid": {
  26346. "description": "账户ID",
  26347. "type": "integer"
  26348. },
  26349. "address": {
  26350. "description": "提货人详细地址",
  26351. "type": "string"
  26352. },
  26353. "agreeunit": {
  26354. "description": "合约单位",
  26355. "type": "number"
  26356. },
  26357. "amount": {
  26358. "description": "提货金额",
  26359. "type": "number"
  26360. },
  26361. "auditer": {
  26362. "description": "审核人",
  26363. "type": "integer"
  26364. },
  26365. "audittime": {
  26366. "description": "审核时间",
  26367. "type": "string"
  26368. },
  26369. "averageprice": {
  26370. "description": "均价",
  26371. "type": "number"
  26372. },
  26373. "cardnum": {
  26374. "description": "提货人证件号码",
  26375. "type": "string"
  26376. },
  26377. "cardtypeid": {
  26378. "description": "提货人证件类型",
  26379. "type": "integer"
  26380. },
  26381. "checkremark": {
  26382. "description": "审核备注",
  26383. "type": "string"
  26384. },
  26385. "currencysign": {
  26386. "description": "货币符号",
  26387. "type": "string"
  26388. },
  26389. "decimalplace": {
  26390. "description": "报价小数位",
  26391. "type": "integer"
  26392. },
  26393. "goodscode": {
  26394. "description": "商品代码(内部)",
  26395. "type": "string"
  26396. },
  26397. "goodsid": {
  26398. "description": "商品ID",
  26399. "type": "integer"
  26400. },
  26401. "goodsname": {
  26402. "description": "商品名称",
  26403. "type": "string"
  26404. },
  26405. "handlestatus": {
  26406. "description": "处理状态",
  26407. "type": "integer"
  26408. },
  26409. "marketid": {
  26410. "description": "市场ID",
  26411. "type": "integer"
  26412. },
  26413. "phonenum": {
  26414. "description": "提货人联系方式",
  26415. "type": "string"
  26416. },
  26417. "picurls": {
  26418. "description": "介绍图片[多张用逗号分隔]",
  26419. "type": "string"
  26420. },
  26421. "qty": {
  26422. "description": "提货数量",
  26423. "type": "number"
  26424. },
  26425. "recivername": {
  26426. "description": "提货人姓名",
  26427. "type": "string"
  26428. },
  26429. "reqtime": {
  26430. "description": "更新时间",
  26431. "type": "string"
  26432. },
  26433. "takemode": {
  26434. "description": "提货方式 - 2:自提 3:配送",
  26435. "type": "integer"
  26436. },
  26437. "takeorderid": {
  26438. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26439. "type": "string"
  26440. },
  26441. "takeorderstatus": {
  26442. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26443. "type": "integer"
  26444. },
  26445. "takeremark": {
  26446. "description": "提货备注",
  26447. "type": "string"
  26448. },
  26449. "tradedate": {
  26450. "description": "交易日(yyyyMMdd)",
  26451. "type": "string"
  26452. },
  26453. "trademode": {
  26454. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26455. "type": "integer"
  26456. },
  26457. "userid": {
  26458. "description": "用户ID",
  26459. "type": "integer"
  26460. },
  26461. "vendorname": {
  26462. "description": "供应商名称",
  26463. "type": "string"
  26464. }
  26465. }
  26466. },
  26467. "models.HsbyPreGoods": {
  26468. "type": "object",
  26469. "required": [
  26470. "goodscode",
  26471. "goodsid",
  26472. "goodsname",
  26473. "marketid",
  26474. "trademode"
  26475. ],
  26476. "properties": {
  26477. "agreeunit": {
  26478. "description": "合约单位",
  26479. "type": "number"
  26480. },
  26481. "currency": {
  26482. "description": "货币",
  26483. "type": "string"
  26484. },
  26485. "currencysign": {
  26486. "description": "货币符号",
  26487. "type": "string"
  26488. },
  26489. "decimalplace": {
  26490. "description": "报价小数位",
  26491. "type": "integer"
  26492. },
  26493. "desccityid": {
  26494. "description": "目的地(市)",
  26495. "type": "integer"
  26496. },
  26497. "descprovinceid": {
  26498. "description": "目的地(省)",
  26499. "type": "integer"
  26500. },
  26501. "enableqty": {
  26502. "description": "剩余数量",
  26503. "type": "integer"
  26504. },
  26505. "goodscode": {
  26506. "description": "商品代码(内部)",
  26507. "type": "string"
  26508. },
  26509. "goodsid": {
  26510. "description": "商品ID(自增ID SEQ_GOODS)",
  26511. "type": "integer"
  26512. },
  26513. "goodsname": {
  26514. "description": "商品名称",
  26515. "type": "string"
  26516. },
  26517. "goodsstatus": {
  26518. "description": "商品状态- 2:未上市 3:上市",
  26519. "type": "integer"
  26520. },
  26521. "lasttradedate": {
  26522. "description": "最后交易日期(状态:待退市)",
  26523. "type": "string"
  26524. },
  26525. "listingdate": {
  26526. "description": "交易开始日期",
  26527. "type": "string"
  26528. },
  26529. "marketid": {
  26530. "description": "所属市场ID",
  26531. "type": "integer"
  26532. },
  26533. "picurls": {
  26534. "description": "介绍图片[多张用逗号分隔]",
  26535. "type": "string"
  26536. },
  26537. "presaledqty": {
  26538. "description": "已预售量(预售结束时更新)",
  26539. "type": "integer"
  26540. },
  26541. "presaleqty": {
  26542. "description": "预售数量",
  26543. "type": "integer"
  26544. },
  26545. "quoteminunit": {
  26546. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26547. "type": "integer"
  26548. },
  26549. "refprice": {
  26550. "description": "参考价格[一口价]",
  26551. "type": "number"
  26552. },
  26553. "relatedgoodsid": {
  26554. "description": "关联交易合约ID",
  26555. "type": "integer"
  26556. },
  26557. "trademode": {
  26558. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26559. "type": "integer"
  26560. },
  26561. "videourls": {
  26562. "description": "介绍视频[多张用逗号分隔]",
  26563. "type": "string"
  26564. }
  26565. }
  26566. },
  26567. "models.HsbyPreGoodsDetail": {
  26568. "type": "object",
  26569. "required": [
  26570. "goodscode",
  26571. "goodsid",
  26572. "goodsname",
  26573. "marketid",
  26574. "trademode"
  26575. ],
  26576. "properties": {
  26577. "agreeunit": {
  26578. "description": "合约单位",
  26579. "type": "number"
  26580. },
  26581. "buymaxqty": {
  26582. "description": "购买上限 [71] - 0为不限",
  26583. "type": "integer"
  26584. },
  26585. "currency": {
  26586. "description": "货币",
  26587. "type": "string"
  26588. },
  26589. "currencysign": {
  26590. "description": "货币符号",
  26591. "type": "string"
  26592. },
  26593. "customername": {
  26594. "description": "发行单位",
  26595. "type": "string"
  26596. },
  26597. "decimalplace": {
  26598. "description": "报价小数位",
  26599. "type": "integer"
  26600. },
  26601. "desccityid": {
  26602. "description": "目的地(市)ID",
  26603. "type": "integer"
  26604. },
  26605. "descprovinceid": {
  26606. "description": "目的地(省)ID",
  26607. "type": "integer"
  26608. },
  26609. "enableqty": {
  26610. "description": "剩余数量",
  26611. "type": "integer"
  26612. },
  26613. "goodscode": {
  26614. "description": "商品代码(内部)",
  26615. "type": "string"
  26616. },
  26617. "goodsdesc": {
  26618. "description": "商品详情",
  26619. "type": "string"
  26620. },
  26621. "goodsid": {
  26622. "description": "商品ID(自增ID SEQ_GOODS)",
  26623. "type": "integer"
  26624. },
  26625. "goodsname": {
  26626. "description": "商品名称",
  26627. "type": "string"
  26628. },
  26629. "goodsstatus": {
  26630. "description": "商品状态- 2:未上市 3:上市",
  26631. "type": "integer"
  26632. },
  26633. "goodunit": {
  26634. "description": "报价单位",
  26635. "type": "string"
  26636. },
  26637. "lasttradedate": {
  26638. "description": "最后交易日期(状态:待退市)",
  26639. "type": "string"
  26640. },
  26641. "listingdate": {
  26642. "description": "交易开始日期",
  26643. "type": "string"
  26644. },
  26645. "lotsize": {
  26646. "description": "手数最小变动单位",
  26647. "type": "integer"
  26648. },
  26649. "marketid": {
  26650. "description": "所属市场ID",
  26651. "type": "integer"
  26652. },
  26653. "picurls": {
  26654. "description": "介绍图片[多张用逗号分隔]",
  26655. "type": "string"
  26656. },
  26657. "presaledqty": {
  26658. "description": "已预售量(预售结束时更新)",
  26659. "type": "integer"
  26660. },
  26661. "presaleqty": {
  26662. "description": "预售数量",
  26663. "type": "integer"
  26664. },
  26665. "quoteminunit": {
  26666. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26667. "type": "integer"
  26668. },
  26669. "refprice": {
  26670. "description": "参考价格[一口价]",
  26671. "type": "number"
  26672. },
  26673. "relatedgoodsid": {
  26674. "description": "关联交易合约ID",
  26675. "type": "integer"
  26676. },
  26677. "stepvalue": {
  26678. "description": "价格最小变动单位",
  26679. "type": "number"
  26680. },
  26681. "trademode": {
  26682. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26683. "type": "integer"
  26684. },
  26685. "vendorattr": {
  26686. "description": "供应商附件(多张,逗号分隔)",
  26687. "type": "string"
  26688. },
  26689. "vendorname": {
  26690. "description": "供应商名称",
  26691. "type": "string"
  26692. },
  26693. "vendorphone": {
  26694. "description": "供应商客服电话",
  26695. "type": "string"
  26696. },
  26697. "videourls": {
  26698. "description": "介绍视频[多张用逗号分隔]",
  26699. "type": "string"
  26700. }
  26701. }
  26702. },
  26703. "models.HsbySellCollectionOrder": {
  26704. "type": "object",
  26705. "required": [
  26706. "goodscode",
  26707. "goodsname",
  26708. "tradeid",
  26709. "trademode"
  26710. ],
  26711. "properties": {
  26712. "agreeunit": {
  26713. "description": "合约单位",
  26714. "type": "number"
  26715. },
  26716. "buyaccountid": {
  26717. "description": "买方账号ID[报价币种]",
  26718. "type": "integer"
  26719. },
  26720. "buyorderid": {
  26721. "description": "买方委托单号",
  26722. "type": "string"
  26723. },
  26724. "createtime": {
  26725. "description": "创建时间",
  26726. "type": "string"
  26727. },
  26728. "currencysign": {
  26729. "description": "货币符号",
  26730. "type": "string"
  26731. },
  26732. "decimalplace": {
  26733. "description": "报价小数位",
  26734. "type": "integer"
  26735. },
  26736. "goodscode": {
  26737. "description": "商品代码(内部)",
  26738. "type": "string"
  26739. },
  26740. "goodsid": {
  26741. "description": "商品ID",
  26742. "type": "integer"
  26743. },
  26744. "goodsname": {
  26745. "description": "商品名称",
  26746. "type": "string"
  26747. },
  26748. "marketid": {
  26749. "description": "市场ID",
  26750. "type": "integer"
  26751. },
  26752. "offamount": {
  26753. "description": "优惠金额",
  26754. "type": "number"
  26755. },
  26756. "payamount": {
  26757. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  26758. "type": "number"
  26759. },
  26760. "payflag": {
  26761. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26762. "type": "integer"
  26763. },
  26764. "paylimitedtime": {
  26765. "description": "支付期限",
  26766. "type": "string"
  26767. },
  26768. "paytime": {
  26769. "description": "付款时间",
  26770. "type": "string"
  26771. },
  26772. "picurls": {
  26773. "description": "商品介绍图片[多张用逗号分隔]",
  26774. "type": "string"
  26775. },
  26776. "sellaccountid": {
  26777. "description": "卖方账号ID[报价币种]",
  26778. "type": "integer"
  26779. },
  26780. "sellorderid": {
  26781. "description": "卖方委托单号",
  26782. "type": "string"
  26783. },
  26784. "tradeamount": {
  26785. "description": "成交金额",
  26786. "type": "number"
  26787. },
  26788. "tradecharge": {
  26789. "description": "成交手续费(买方)",
  26790. "type": "number"
  26791. },
  26792. "tradedate": {
  26793. "description": "交易日(yyyyMMdd)",
  26794. "type": "string"
  26795. },
  26796. "tradeid": {
  26797. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26798. "type": "string"
  26799. },
  26800. "trademode": {
  26801. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26802. "type": "integer"
  26803. },
  26804. "tradeprice": {
  26805. "description": "成交价格",
  26806. "type": "number"
  26807. },
  26808. "tradeqty": {
  26809. "description": "成交数量",
  26810. "type": "integer"
  26811. }
  26812. }
  26813. },
  26814. "models.HsbySellMyDetail": {
  26815. "type": "object",
  26816. "required": [
  26817. "accountid",
  26818. "buyorsell",
  26819. "goodscode",
  26820. "goodsid",
  26821. "goodsname",
  26822. "marketid",
  26823. "orderid",
  26824. "time",
  26825. "trademode"
  26826. ],
  26827. "properties": {
  26828. "accountid": {
  26829. "description": "账户ID[报价币种]",
  26830. "type": "integer"
  26831. },
  26832. "agreeunit": {
  26833. "description": "合约单位",
  26834. "type": "number"
  26835. },
  26836. "buyorsell": {
  26837. "description": "买卖 - 0:买 1:卖",
  26838. "type": "integer"
  26839. },
  26840. "currencysign": {
  26841. "description": "货币符号",
  26842. "type": "string"
  26843. },
  26844. "decimalplace": {
  26845. "description": "报价小数位",
  26846. "type": "integer"
  26847. },
  26848. "goodscode": {
  26849. "description": "商品代码(内部)",
  26850. "type": "string"
  26851. },
  26852. "goodsid": {
  26853. "description": "商品ID",
  26854. "type": "integer"
  26855. },
  26856. "goodsname": {
  26857. "description": "商品名称",
  26858. "type": "string"
  26859. },
  26860. "marketid": {
  26861. "description": "市场ID",
  26862. "type": "integer"
  26863. },
  26864. "orderid": {
  26865. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  26866. "type": "string"
  26867. },
  26868. "ordertype": {
  26869. "description": "单据类型:0 - 发布中, 1 - 已完成",
  26870. "type": "integer"
  26871. },
  26872. "picurls": {
  26873. "description": "介绍图片[多张用逗号分隔]",
  26874. "type": "string"
  26875. },
  26876. "price": {
  26877. "description": "价格",
  26878. "type": "number"
  26879. },
  26880. "qty": {
  26881. "description": "数量",
  26882. "type": "integer"
  26883. },
  26884. "time": {
  26885. "description": "时间",
  26886. "type": "string"
  26887. },
  26888. "trademode": {
  26889. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26890. "type": "integer"
  26891. },
  26892. "vendorname": {
  26893. "description": "供应商名称",
  26894. "type": "string"
  26895. }
  26896. }
  26897. },
  26898. "models.HsbyTopGoods": {
  26899. "type": "object",
  26900. "required": [
  26901. "goodscode",
  26902. "goodsid",
  26903. "goodsname",
  26904. "marketid",
  26905. "trademode"
  26906. ],
  26907. "properties": {
  26908. "agreeunit": {
  26909. "description": "合约单位",
  26910. "type": "number"
  26911. },
  26912. "currency": {
  26913. "description": "货币",
  26914. "type": "string"
  26915. },
  26916. "currencysign": {
  26917. "description": "货币符号",
  26918. "type": "string"
  26919. },
  26920. "decimalplace": {
  26921. "description": "报价小数位",
  26922. "type": "integer"
  26923. },
  26924. "desccityid": {
  26925. "description": "目的地(市)",
  26926. "type": "integer"
  26927. },
  26928. "descprovinceid": {
  26929. "description": "目的地(省)",
  26930. "type": "integer"
  26931. },
  26932. "goodscode": {
  26933. "description": "商品代码(内部)",
  26934. "type": "string"
  26935. },
  26936. "goodsid": {
  26937. "description": "商品ID(自增ID SEQ_GOODS)",
  26938. "type": "integer"
  26939. },
  26940. "goodsname": {
  26941. "description": "商品名称",
  26942. "type": "string"
  26943. },
  26944. "hotindex": {
  26945. "description": "景点热度",
  26946. "type": "integer"
  26947. },
  26948. "last": {
  26949. "description": "现价",
  26950. "type": "number"
  26951. },
  26952. "marketid": {
  26953. "description": "所属市场ID",
  26954. "type": "integer"
  26955. },
  26956. "picurls": {
  26957. "description": "介绍图片[多张用逗号分隔]",
  26958. "type": "string"
  26959. },
  26960. "quoteminunit": {
  26961. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26962. "type": "integer"
  26963. },
  26964. "trademode": {
  26965. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26966. "type": "integer"
  26967. },
  26968. "videourls": {
  26969. "description": "介绍视频[多张用逗号分隔]",
  26970. "type": "string"
  26971. }
  26972. }
  26973. },
  26974. "models.HybsMyBuyOrderDetail": {
  26975. "type": "object",
  26976. "required": [
  26977. "accountid",
  26978. "buyorsell",
  26979. "goodscode",
  26980. "goodsid",
  26981. "goodsname",
  26982. "marketid",
  26983. "orderid",
  26984. "orderqty",
  26985. "ordertime",
  26986. "trademode"
  26987. ],
  26988. "properties": {
  26989. "accountid": {
  26990. "description": "账户ID[报价币种]",
  26991. "type": "integer"
  26992. },
  26993. "agreeunit": {
  26994. "description": "合约单位",
  26995. "type": "number"
  26996. },
  26997. "buyorsell": {
  26998. "description": "买卖 - 0:买 1:卖",
  26999. "type": "integer"
  27000. },
  27001. "cancelqty": {
  27002. "description": "撤单数量",
  27003. "type": "integer"
  27004. },
  27005. "currencysign": {
  27006. "description": "货币符号",
  27007. "type": "string"
  27008. },
  27009. "decimalplace": {
  27010. "description": "报价小数位",
  27011. "type": "integer"
  27012. },
  27013. "goodscode": {
  27014. "description": "商品代码(内部)",
  27015. "type": "string"
  27016. },
  27017. "goodsid": {
  27018. "description": "商品ID",
  27019. "type": "integer"
  27020. },
  27021. "goodsname": {
  27022. "description": "商品名称",
  27023. "type": "string"
  27024. },
  27025. "listingselecttype": {
  27026. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27027. "type": "integer"
  27028. },
  27029. "marketid": {
  27030. "description": "市场ID",
  27031. "type": "integer"
  27032. },
  27033. "mybuystatus": {
  27034. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  27035. "type": "integer"
  27036. },
  27037. "orderamount": {
  27038. "description": "委托金额",
  27039. "type": "number"
  27040. },
  27041. "orderid": {
  27042. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27043. "type": "string"
  27044. },
  27045. "orderprice": {
  27046. "description": "委托价格",
  27047. "type": "number"
  27048. },
  27049. "orderqty": {
  27050. "description": "委托数量",
  27051. "type": "integer"
  27052. },
  27053. "orderstatus": {
  27054. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27055. "type": "integer"
  27056. },
  27057. "ordertime": {
  27058. "description": "委托时间",
  27059. "type": "string"
  27060. },
  27061. "picurls1": {
  27062. "description": "预售商品介绍图片[多张用逗号分隔]",
  27063. "type": "string"
  27064. },
  27065. "picurls2": {
  27066. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  27067. "type": "string"
  27068. },
  27069. "trademode": {
  27070. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27071. "type": "integer"
  27072. },
  27073. "tradeqty": {
  27074. "description": "成交数量",
  27075. "type": "integer"
  27076. },
  27077. "vendorname1": {
  27078. "description": "预售商品供应商名称",
  27079. "type": "string"
  27080. },
  27081. "vendorname2": {
  27082. "description": "挂牌商品供应商名称",
  27083. "type": "string"
  27084. }
  27085. }
  27086. },
  27087. "models.Loginaccount": {
  27088. "type": "object",
  27089. "required": [
  27090. "loginid"
  27091. ],
  27092. "properties": {
  27093. "accountname": {
  27094. "description": "账户名称",
  27095. "type": "string"
  27096. },
  27097. "canoutin": {
  27098. "description": "是否可出入金 - 0:不可 1:可",
  27099. "type": "integer"
  27100. },
  27101. "clientroleid": {
  27102. "description": "终端角色ID",
  27103. "type": "integer"
  27104. },
  27105. "haslogined": {
  27106. "description": "是否已登录 - 0:未登录 1:已登录",
  27107. "type": "integer"
  27108. },
  27109. "hasupdatedpwd": {
  27110. "description": "是否已更改密码 - 0:未修改 1:已修改",
  27111. "type": "integer"
  27112. },
  27113. "lastloginip": {
  27114. "description": "最新登录地址",
  27115. "type": "string"
  27116. },
  27117. "lastloginmode": {
  27118. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27119. "type": "integer"
  27120. },
  27121. "lastloginremark": {
  27122. "description": "最新登录描述",
  27123. "type": "string"
  27124. },
  27125. "lastlogintime": {
  27126. "description": "最新登录时间",
  27127. "type": "string"
  27128. },
  27129. "logincode": {
  27130. "description": "登录代码",
  27131. "type": "string"
  27132. },
  27133. "loginfailnum": {
  27134. "description": "连续登录失败次数(登录成功时清零)",
  27135. "type": "integer"
  27136. },
  27137. "loginid": {
  27138. "description": "登陆账号",
  27139. "type": "integer"
  27140. },
  27141. "loginport": {
  27142. "description": "最新登录端口",
  27143. "type": "integer"
  27144. },
  27145. "loginstatus": {
  27146. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  27147. "type": "integer"
  27148. },
  27149. "loginusertype": {
  27150. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  27151. "type": "integer"
  27152. },
  27153. "mobile": {
  27154. "description": "手机号码(加密存储)",
  27155. "type": "string"
  27156. },
  27157. "modifierid": {
  27158. "description": "修改人",
  27159. "type": "integer"
  27160. },
  27161. "modifysrc": {
  27162. "description": "审核来源 - 1:管理端 2:终端",
  27163. "type": "integer"
  27164. },
  27165. "modifytime": {
  27166. "description": "修改时间",
  27167. "type": "string"
  27168. },
  27169. "password": {
  27170. "description": "登陆密码",
  27171. "type": "string"
  27172. },
  27173. "pwdwrongcount": {
  27174. "description": "密码错误次数",
  27175. "type": "integer"
  27176. },
  27177. "relateduserid": {
  27178. "description": "关联用户ID(机构)",
  27179. "type": "integer"
  27180. },
  27181. "taaccountrighttype": {
  27182. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27183. "type": "integer"
  27184. },
  27185. "unfreezetime": {
  27186. "description": "账户解冻时间",
  27187. "type": "string"
  27188. },
  27189. "userid": {
  27190. "description": "用户ID",
  27191. "type": "integer"
  27192. }
  27193. }
  27194. },
  27195. "models.MainAccountInfo": {
  27196. "type": "object",
  27197. "properties": {
  27198. "accountid": {
  27199. "description": "账号id",
  27200. "type": "integer"
  27201. },
  27202. "accountname": {
  27203. "description": "账号名称(taaccount表中的名称)",
  27204. "type": "string"
  27205. },
  27206. "appid": {
  27207. "description": "AppID",
  27208. "type": "string"
  27209. },
  27210. "authcode": {
  27211. "description": "授权码",
  27212. "type": "string"
  27213. },
  27214. "brokerid": {
  27215. "description": "经纪商id",
  27216. "type": "string"
  27217. },
  27218. "fcid": {
  27219. "description": "期货公司id",
  27220. "type": "integer"
  27221. },
  27222. "fcname": {
  27223. "description": "期货公司代码",
  27224. "type": "string"
  27225. },
  27226. "hedgeaccountcode": {
  27227. "description": "外部账号代码(主账号登录代码)",
  27228. "type": "string"
  27229. },
  27230. "hedgeaccountpwd": {
  27231. "description": "密码",
  27232. "type": "string"
  27233. },
  27234. "ismain": {
  27235. "description": "是否主账号",
  27236. "type": "integer"
  27237. },
  27238. "relateduserid": {
  27239. "description": "关联用户id",
  27240. "type": "integer"
  27241. },
  27242. "userid": {
  27243. "description": "关联用户id",
  27244. "type": "integer"
  27245. }
  27246. }
  27247. },
  27248. "models.Market": {
  27249. "type": "object",
  27250. "required": [
  27251. "marketid",
  27252. "marketstatus",
  27253. "openmethod",
  27254. "reckonpricealgorithm",
  27255. "trademode",
  27256. "tradeproperty"
  27257. ],
  27258. "properties": {
  27259. "auctionwrtype": {
  27260. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27261. "type": "integer"
  27262. },
  27263. "canacceptquote": {
  27264. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27265. "type": "integer"
  27266. },
  27267. "cangoodsexercise": {
  27268. "description": "[期权]是否可现货行权- 0:否 1:是",
  27269. "type": "integer"
  27270. },
  27271. "cangoodsexercisetype": {
  27272. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27273. "type": "integer"
  27274. },
  27275. "canmanualquotestrike": {
  27276. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27277. "type": "integer"
  27278. },
  27279. "canmutistage": {
  27280. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27281. "type": "integer"
  27282. },
  27283. "canpreexercise": {
  27284. "description": "[期权]是否可预申报- 0:否 1:是",
  27285. "type": "integer"
  27286. },
  27287. "clearinterval": {
  27288. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27289. "type": "integer"
  27290. },
  27291. "contracttmp": {
  27292. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27293. "type": "string"
  27294. },
  27295. "exchareaid": {
  27296. "description": "所属交易所,可以没有",
  27297. "type": "integer"
  27298. },
  27299. "goodstype": {
  27300. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27301. "type": "integer"
  27302. },
  27303. "hasrebate": {
  27304. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27305. "type": "integer"
  27306. },
  27307. "hastradecredit": {
  27308. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27309. "type": "integer"
  27310. },
  27311. "haswr": {
  27312. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27313. "type": "integer"
  27314. },
  27315. "isdeductmargin": {
  27316. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27317. "type": "integer"
  27318. },
  27319. "isrecordsource": {
  27320. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27321. "type": "integer"
  27322. },
  27323. "isreleasemargin": {
  27324. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27325. "type": "integer"
  27326. },
  27327. "marginformula": {
  27328. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27329. "type": "integer"
  27330. },
  27331. "marginformula2": {
  27332. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27333. "type": "integer"
  27334. },
  27335. "marketid": {
  27336. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27337. "type": "integer"
  27338. },
  27339. "marketname": {
  27340. "description": "市场名称",
  27341. "type": "string"
  27342. },
  27343. "marketserviceid": {
  27344. "description": "市场服务ID",
  27345. "type": "integer"
  27346. },
  27347. "marketstatus": {
  27348. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27349. "type": "integer"
  27350. },
  27351. "markettype": {
  27352. "description": "市场类型- 1:非交易服务 2:交易服务",
  27353. "type": "integer"
  27354. },
  27355. "matchermode": {
  27356. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27357. "type": "integer"
  27358. },
  27359. "openmethod": {
  27360. "description": "开盘模式 - 0 自动 1手动",
  27361. "type": "integer"
  27362. },
  27363. "otcuserid": {
  27364. "description": "场外期权做市商[场外期权]",
  27365. "type": "integer"
  27366. },
  27367. "outersynctime": {
  27368. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27369. "type": "string"
  27370. },
  27371. "pendingflag": {
  27372. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27373. "type": "integer"
  27374. },
  27375. "pendingtime": {
  27376. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27377. "type": "string"
  27378. },
  27379. "performancetempid": {
  27380. "description": "履约计划模板ID - 作废",
  27381. "type": "integer"
  27382. },
  27383. "premiumquotemode": {
  27384. "description": "权利金报价方式 - 1:自动 2:手动",
  27385. "type": "integer"
  27386. },
  27387. "rebateratio": {
  27388. "description": "返利比率[竞价式]",
  27389. "type": "number"
  27390. },
  27391. "reckonorder": {
  27392. "description": "结算顺序",
  27393. "type": "integer"
  27394. },
  27395. "reckonpricealgorithm": {
  27396. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27397. "type": "integer"
  27398. },
  27399. "reckonpriceparam": {
  27400. "description": "结算价参数",
  27401. "type": "integer"
  27402. },
  27403. "reckontime": {
  27404. "description": "结算时间[通道交易-对冲](HH:mm)",
  27405. "type": "string"
  27406. },
  27407. "roleprioritytype": {
  27408. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27409. "type": "integer"
  27410. },
  27411. "selllistingauditflag": {
  27412. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27413. "type": "integer"
  27414. },
  27415. "trademarkettype": {
  27416. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27417. "type": "integer"
  27418. },
  27419. "trademode": {
  27420. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27421. "type": "integer"
  27422. },
  27423. "tradeproperty": {
  27424. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27425. "type": "integer"
  27426. },
  27427. "tradetype": {
  27428. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27429. "type": "integer"
  27430. }
  27431. }
  27432. },
  27433. "models.Marketrun": {
  27434. "type": "object",
  27435. "required": [
  27436. "marketid",
  27437. "nexttradedate",
  27438. "reckonflag",
  27439. "runstatus",
  27440. "tradedate",
  27441. "tradedate2"
  27442. ],
  27443. "properties": {
  27444. "afternexttradedate": {
  27445. "description": "下下交易日",
  27446. "type": "string"
  27447. },
  27448. "clearquoteflag": {
  27449. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27450. "type": "integer"
  27451. },
  27452. "lastreckondate": {
  27453. "description": "最新交易日(结算成功)",
  27454. "type": "string"
  27455. },
  27456. "machinedate": {
  27457. "description": "机器时间",
  27458. "type": "string"
  27459. },
  27460. "manualflag": {
  27461. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27462. "type": "integer"
  27463. },
  27464. "marketid": {
  27465. "description": "市场ID",
  27466. "type": "integer"
  27467. },
  27468. "nexttradedate": {
  27469. "description": "下一交易日",
  27470. "type": "string"
  27471. },
  27472. "pretradedate": {
  27473. "description": "上一交易日",
  27474. "type": "string"
  27475. },
  27476. "reckonflag": {
  27477. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27478. "type": "integer"
  27479. },
  27480. "runstatus": {
  27481. "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.今日免清算",
  27482. "type": "integer"
  27483. },
  27484. "sectionid": {
  27485. "description": "时间段号[多时段时用]",
  27486. "type": "integer"
  27487. },
  27488. "tradedate": {
  27489. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27490. "type": "string"
  27491. },
  27492. "tradedate2": {
  27493. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27494. "type": "string"
  27495. },
  27496. "updatetime": {
  27497. "description": "更新时间",
  27498. "type": "string"
  27499. }
  27500. }
  27501. },
  27502. "models.Messageboard": {
  27503. "type": "object",
  27504. "required": [
  27505. "messageboardid"
  27506. ],
  27507. "properties": {
  27508. "contactnum": {
  27509. "description": "联系电话",
  27510. "type": "string"
  27511. },
  27512. "createtime": {
  27513. "description": "创建时间",
  27514. "type": "string"
  27515. },
  27516. "message": {
  27517. "description": "留言信息",
  27518. "type": "string"
  27519. },
  27520. "messageboardid": {
  27521. "description": "留言簿ID(SEQ_MessageBoard)",
  27522. "type": "integer"
  27523. },
  27524. "userid": {
  27525. "description": "用户ID",
  27526. "type": "integer"
  27527. }
  27528. }
  27529. },
  27530. "models.MyCoupon": {
  27531. "type": "object",
  27532. "required": [
  27533. "accountid",
  27534. "coupontypeid"
  27535. ],
  27536. "properties": {
  27537. "accountid": {
  27538. "description": "资金账户ID",
  27539. "type": "integer"
  27540. },
  27541. "areauserid": {
  27542. "description": "所属机构",
  27543. "type": "integer"
  27544. },
  27545. "conditionvalue": {
  27546. "description": "条件阈值(可为0)",
  27547. "type": "number"
  27548. },
  27549. "couponcategroy": {
  27550. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  27551. "type": "integer"
  27552. },
  27553. "couponname": {
  27554. "description": "优惠券名称",
  27555. "type": "string"
  27556. },
  27557. "coupontypeid": {
  27558. "description": "优惠券类型ID",
  27559. "type": "string"
  27560. },
  27561. "couponvalue": {
  27562. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27563. "type": "number"
  27564. },
  27565. "curfreezeqty": {
  27566. "description": "期末冻结数量",
  27567. "type": "integer"
  27568. },
  27569. "curqty": {
  27570. "description": "期末数量",
  27571. "type": "integer"
  27572. },
  27573. "isgeneral": {
  27574. "description": "是否通用券 - 0:否 1:是",
  27575. "type": "integer"
  27576. },
  27577. "isunusable": {
  27578. "description": "是否不可用",
  27579. "type": "boolean"
  27580. },
  27581. "limitedflag": {
  27582. "description": "是否指定商品 - 0:不限 1:限制",
  27583. "type": "integer"
  27584. },
  27585. "limitedgoodsids": {
  27586. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  27587. "type": "string"
  27588. },
  27589. "orifreezeqty": {
  27590. "description": "期初冻结数量",
  27591. "type": "integer"
  27592. },
  27593. "oriqty": {
  27594. "description": "期初数量",
  27595. "type": "integer"
  27596. },
  27597. "reasontype": {
  27598. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  27599. "type": "integer"
  27600. },
  27601. "todaydecrease": {
  27602. "description": "今日减少",
  27603. "type": "integer"
  27604. },
  27605. "todayincrease": {
  27606. "description": "今日增加",
  27607. "type": "integer"
  27608. },
  27609. "userid": {
  27610. "description": "用户ID",
  27611. "type": "integer"
  27612. },
  27613. "userscope": {
  27614. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  27615. "type": "string"
  27616. }
  27617. }
  27618. },
  27619. "models.MyCouponHold": {
  27620. "type": "object",
  27621. "required": [
  27622. "couponholdid"
  27623. ],
  27624. "properties": {
  27625. "accountid": {
  27626. "description": "资金账户ID",
  27627. "type": "integer"
  27628. },
  27629. "conditionvalue": {
  27630. "description": "条件阈值(可为0)",
  27631. "type": "number"
  27632. },
  27633. "couponcategroy": {
  27634. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  27635. "type": "integer"
  27636. },
  27637. "couponholdid": {
  27638. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  27639. "type": "string"
  27640. },
  27641. "couponname": {
  27642. "description": "优惠券名称",
  27643. "type": "string"
  27644. },
  27645. "coupontypeid": {
  27646. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  27647. "type": "string"
  27648. },
  27649. "couponvalue": {
  27650. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27651. "type": "number"
  27652. },
  27653. "createtime": {
  27654. "description": "创建时间",
  27655. "type": "string"
  27656. },
  27657. "enddate": {
  27658. "description": "结束日期",
  27659. "type": "string"
  27660. },
  27661. "giveapplyid": {
  27662. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  27663. "type": "integer"
  27664. },
  27665. "holdstatus": {
  27666. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  27667. "type": "integer"
  27668. },
  27669. "isgeneral": {
  27670. "description": "是否通用券 - 0:否 1:是",
  27671. "type": "integer"
  27672. },
  27673. "limitedflag": {
  27674. "description": "是否指定商品 - 0:不限 1:限制",
  27675. "type": "integer"
  27676. },
  27677. "limitedgoodsids": {
  27678. "description": "指定商品IDs[逗号分隔]",
  27679. "type": "string"
  27680. },
  27681. "qty": {
  27682. "description": "数量(按1平铺)",
  27683. "type": "integer"
  27684. },
  27685. "startdate": {
  27686. "description": "开始日期",
  27687. "type": "string"
  27688. },
  27689. "userid": {
  27690. "description": "用户ID",
  27691. "type": "integer"
  27692. },
  27693. "userscope": {
  27694. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  27695. "type": "string"
  27696. }
  27697. }
  27698. },
  27699. "models.MyUsedCoupon": {
  27700. "type": "object",
  27701. "required": [
  27702. "coupontypeid",
  27703. "orderid"
  27704. ],
  27705. "properties": {
  27706. "accountid": {
  27707. "description": "资金账户ID(买方)",
  27708. "type": "integer"
  27709. },
  27710. "conditionvalue": {
  27711. "description": "条件阈值(可为0)",
  27712. "type": "number"
  27713. },
  27714. "couponcategroy": {
  27715. "description": "种类 - 1:现金券 2:折扣券",
  27716. "type": "integer"
  27717. },
  27718. "couponname": {
  27719. "description": "优惠券名称",
  27720. "type": "string"
  27721. },
  27722. "coupontypeid": {
  27723. "description": "优惠券类型ID(买方)",
  27724. "type": "string"
  27725. },
  27726. "couponvalue": {
  27727. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  27728. "type": "number"
  27729. },
  27730. "createtime": {
  27731. "description": "创建时间",
  27732. "type": "string"
  27733. },
  27734. "goodsid": {
  27735. "description": "商品ID",
  27736. "type": "integer"
  27737. },
  27738. "handlestatus": {
  27739. "description": "处理状态",
  27740. "type": "integer"
  27741. },
  27742. "marketid": {
  27743. "description": "市场ID",
  27744. "type": "integer"
  27745. },
  27746. "offamount": {
  27747. "description": "优惠金额",
  27748. "type": "number"
  27749. },
  27750. "orderid": {
  27751. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27752. "type": "string"
  27753. },
  27754. "sellaccountid": {
  27755. "description": "资金账户ID(卖方)",
  27756. "type": "integer"
  27757. },
  27758. "tradeamount": {
  27759. "description": "成交金额",
  27760. "type": "number"
  27761. },
  27762. "tradeid": {
  27763. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27764. "type": "string"
  27765. },
  27766. "usedqty": {
  27767. "description": "使用数量",
  27768. "type": "integer"
  27769. }
  27770. }
  27771. },
  27772. "models.OperationPrimaryMenu": {
  27773. "type": "object",
  27774. "properties": {
  27775. "Children": {
  27776. "description": "二级功能菜单",
  27777. "type": "array",
  27778. "items": {
  27779. "$ref": "#/definitions/models.OperationSecondaryMenu"
  27780. }
  27781. },
  27782. "Key": {
  27783. "description": "菜单KEY",
  27784. "type": "string"
  27785. },
  27786. "Label": {
  27787. "description": "菜单标题",
  27788. "type": "string"
  27789. }
  27790. }
  27791. },
  27792. "models.OperationSecondaryMenu": {
  27793. "type": "object",
  27794. "properties": {
  27795. "Key": {
  27796. "description": "菜单KEY",
  27797. "type": "string"
  27798. },
  27799. "Label": {
  27800. "description": "菜单标题",
  27801. "type": "string"
  27802. },
  27803. "TabList": {
  27804. "description": "三级功能菜单",
  27805. "type": "array",
  27806. "items": {
  27807. "$ref": "#/definitions/models.OperationTabMenu"
  27808. }
  27809. }
  27810. }
  27811. },
  27812. "models.OperationTabMenu": {
  27813. "type": "object",
  27814. "properties": {
  27815. "Key": {
  27816. "description": "菜单KEY",
  27817. "type": "string"
  27818. },
  27819. "Label": {
  27820. "description": "菜单标题",
  27821. "type": "string"
  27822. }
  27823. }
  27824. },
  27825. "models.QhjAccountOutInApply": {
  27826. "type": "object",
  27827. "properties": {
  27828. "accountcode": {
  27829. "description": "资金账号",
  27830. "type": "string"
  27831. },
  27832. "accountname": {
  27833. "description": "用户名称(名称)",
  27834. "type": "string"
  27835. },
  27836. "accountpwd": {
  27837. "description": "资金密码",
  27838. "type": "string"
  27839. },
  27840. "accountticket": {
  27841. "description": "最新账户服务流水号",
  27842. "type": "string"
  27843. },
  27844. "amount": {
  27845. "description": "金额",
  27846. "type": "number"
  27847. },
  27848. "applyremark": {
  27849. "description": "申请备注",
  27850. "type": "string"
  27851. },
  27852. "applystatus": {
  27853. "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: 复审通过,账户冻结金额检查中;",
  27854. "type": "integer"
  27855. },
  27856. "auditid": {
  27857. "description": "审核人",
  27858. "type": "integer"
  27859. },
  27860. "audittime": {
  27861. "description": "审核时间",
  27862. "type": "string"
  27863. },
  27864. "bank_apply_ticket": {
  27865. "description": "银行申请流水",
  27866. "type": "string"
  27867. },
  27868. "bankaccountname": {
  27869. "description": "银行账户名",
  27870. "type": "string"
  27871. },
  27872. "bankaccountno": {
  27873. "description": "银行卡号",
  27874. "type": "string"
  27875. },
  27876. "bankid": {
  27877. "description": "银行编号",
  27878. "type": "string"
  27879. },
  27880. "bankticket": {
  27881. "description": "银行流水",
  27882. "type": "string"
  27883. },
  27884. "branchbankid": {
  27885. "description": "银行支行号",
  27886. "type": "string"
  27887. },
  27888. "branchbankname": {
  27889. "description": "银行支行名称",
  27890. "type": "string"
  27891. },
  27892. "capamountout": {
  27893. "description": "出金(劣后本金) - 外部子账户",
  27894. "type": "number"
  27895. },
  27896. "certificatephotourl": {
  27897. "description": "凭证地址",
  27898. "type": "string"
  27899. },
  27900. "charge": {
  27901. "description": "手续费",
  27902. "type": "number"
  27903. },
  27904. "checkerrorflag": {
  27905. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27906. "type": "integer"
  27907. },
  27908. "currency": {
  27909. "description": "币种",
  27910. "type": "string"
  27911. },
  27912. "cusbankid": {
  27913. "description": "托管银行编号",
  27914. "type": "string"
  27915. },
  27916. "exchticket": {
  27917. "description": "银行服务流水号",
  27918. "type": "string"
  27919. },
  27920. "executetype": {
  27921. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27922. "type": "integer"
  27923. },
  27924. "extendinfo": {
  27925. "description": "扩展信息",
  27926. "type": "string"
  27927. },
  27928. "extoperateid": {
  27929. "description": "交易服务流水号",
  27930. "type": "integer"
  27931. },
  27932. "infamount": {
  27933. "description": "劣后金额(自有)",
  27934. "type": "number"
  27935. },
  27936. "logincode": {
  27937. "description": "登录账号(账号)",
  27938. "type": "string"
  27939. },
  27940. "netaddr": {
  27941. "description": "调转网址",
  27942. "type": "string"
  27943. },
  27944. "priamount": {
  27945. "description": "优先金额(授信)",
  27946. "type": "number"
  27947. },
  27948. "reauditid": {
  27949. "description": "复审人",
  27950. "type": "integer"
  27951. },
  27952. "reauditremark": {
  27953. "description": "复审备注",
  27954. "type": "string"
  27955. },
  27956. "reaudittime": {
  27957. "description": "复审时间",
  27958. "type": "string"
  27959. },
  27960. "relatedorderid": {
  27961. "description": "三方关联ID",
  27962. "type": "string"
  27963. },
  27964. "remark": {
  27965. "description": "备注",
  27966. "type": "string"
  27967. },
  27968. "remark2": {
  27969. "description": "备注(失败原因)",
  27970. "type": "string"
  27971. },
  27972. "soucreamount": {
  27973. "description": "原始出入金金额",
  27974. "type": "number"
  27975. },
  27976. "soucrecurrencyid": {
  27977. "description": "原始出入金币种",
  27978. "type": "integer"
  27979. },
  27980. "tradedate": {
  27981. "description": "交易日(yyyyMMdd)",
  27982. "type": "string"
  27983. },
  27984. "updatetime": {
  27985. "description": "更新时间(申请时间)",
  27986. "type": "string"
  27987. },
  27988. "userid": {
  27989. "description": "用户id",
  27990. "type": "integer"
  27991. },
  27992. "userinfotype": {
  27993. "description": "账户类型 1-个人 2-企业",
  27994. "type": "integer"
  27995. }
  27996. }
  27997. },
  27998. "models.QhjAgreementChangeLog": {
  27999. "type": "object",
  28000. "properties": {
  28001. "agreementcontent": {
  28002. "description": "协议内容",
  28003. "type": "string"
  28004. },
  28005. "agreementfrequency": {
  28006. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28007. "type": "integer"
  28008. },
  28009. "agreementid": {
  28010. "description": "协议ID",
  28011. "type": "integer"
  28012. },
  28013. "agreementname": {
  28014. "description": "协议名称",
  28015. "type": "string"
  28016. },
  28017. "agreementno": {
  28018. "description": "协议编号",
  28019. "type": "string"
  28020. },
  28021. "agreementtype": {
  28022. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28023. "type": "integer"
  28024. },
  28025. "agreementversion": {
  28026. "description": "协议版本号",
  28027. "type": "integer"
  28028. },
  28029. "logid": {
  28030. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  28031. "type": "integer"
  28032. },
  28033. "reviserid": {
  28034. "description": "修改人",
  28035. "type": "integer"
  28036. },
  28037. "revisersrc": {
  28038. "description": "修改来源 - 1:管理端 2:终端",
  28039. "type": "integer"
  28040. },
  28041. "updatetime": {
  28042. "description": "更新时间",
  28043. "type": "string"
  28044. }
  28045. }
  28046. },
  28047. "models.QhjAgreementConfig": {
  28048. "type": "object",
  28049. "properties": {
  28050. "agreementcontent": {
  28051. "description": "协议内容",
  28052. "type": "string"
  28053. },
  28054. "agreementfrequency": {
  28055. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28056. "type": "integer"
  28057. },
  28058. "agreementid": {
  28059. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  28060. "type": "integer"
  28061. },
  28062. "agreementname": {
  28063. "description": "协议名称",
  28064. "type": "string"
  28065. },
  28066. "agreementno": {
  28067. "description": "协议编号",
  28068. "type": "string"
  28069. },
  28070. "agreementtype": {
  28071. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28072. "type": "integer"
  28073. },
  28074. "agreementversion": {
  28075. "description": "协议版本号(从1开始每次修改加1)",
  28076. "type": "integer"
  28077. },
  28078. "createtime": {
  28079. "description": "创建时间",
  28080. "type": "string"
  28081. },
  28082. "creatorid": {
  28083. "description": "创建人",
  28084. "type": "integer"
  28085. },
  28086. "creatorsrc": {
  28087. "description": "创建来源 - 1:管理端 2:终端",
  28088. "type": "integer"
  28089. },
  28090. "isvalid": {
  28091. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  28092. "type": "integer"
  28093. },
  28094. "reviserid": {
  28095. "description": "修改人",
  28096. "type": "integer"
  28097. },
  28098. "revisersrc": {
  28099. "description": "修改来源 - 1:管理端 2:终端",
  28100. "type": "integer"
  28101. },
  28102. "updatetime": {
  28103. "description": "更新时间",
  28104. "type": "string"
  28105. }
  28106. }
  28107. },
  28108. "models.QhjAreaFinanceConfig": {
  28109. "type": "object",
  28110. "properties": {
  28111. "additionalratio": {
  28112. "description": "追加款比例",
  28113. "type": "number"
  28114. },
  28115. "advanceratio": {
  28116. "description": "预付款比例",
  28117. "type": "number"
  28118. },
  28119. "alarmratio": {
  28120. "description": "告警比例",
  28121. "type": "number"
  28122. },
  28123. "consumptiondirectreward": {
  28124. "description": "消费直推奖励值",
  28125. "type": "number"
  28126. },
  28127. "consumptionenabled": {
  28128. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  28129. "type": "integer"
  28130. },
  28131. "consumptionindirectreward": {
  28132. "description": "消费间推奖励值",
  28133. "type": "number"
  28134. },
  28135. "consumptionmodel": {
  28136. "description": "消费奖励方式 - 1:比率 2:固定",
  28137. "type": "integer"
  28138. },
  28139. "customerservicenum": {
  28140. "description": "客服电话",
  28141. "type": "string"
  28142. },
  28143. "dayinterestrate": {
  28144. "description": "日利率",
  28145. "type": "number"
  28146. },
  28147. "disableconsumptiontips": {
  28148. "description": "关闭消费奖励提示",
  28149. "type": "string"
  28150. },
  28151. "modifierid": {
  28152. "description": "修改人ID",
  28153. "type": "integer"
  28154. },
  28155. "modifysrc": {
  28156. "description": "审核来源 - 1:管理端 2:终端",
  28157. "type": "integer"
  28158. },
  28159. "modifytime": {
  28160. "description": "修改时间",
  28161. "type": "string"
  28162. },
  28163. "promotionvalue": {
  28164. "description": "推广奖励值(固定)",
  28165. "type": "number"
  28166. },
  28167. "scoreconfigvalue1": {
  28168. "description": "提货积分配置1",
  28169. "type": "integer"
  28170. },
  28171. "scoreconfigvalue2": {
  28172. "description": "提货积分配置2",
  28173. "type": "integer"
  28174. },
  28175. "userid": {
  28176. "description": "机构用户ID其他做市关系,都设置为 1",
  28177. "type": "integer"
  28178. },
  28179. "username": {
  28180. "description": "用户名称",
  28181. "type": "string"
  28182. }
  28183. }
  28184. },
  28185. "models.QhjBankAccountSign": {
  28186. "type": "object",
  28187. "properties": {
  28188. "accountcode": {
  28189. "description": "资金账号",
  28190. "type": "string"
  28191. },
  28192. "accountname": {
  28193. "description": "资金账号对应的账号名(UserName)",
  28194. "type": "string"
  28195. },
  28196. "accountname2": {
  28197. "description": "资金账号对应的账号名(UserName) - 密文",
  28198. "type": "string"
  28199. },
  28200. "accounttype": {
  28201. "description": "账户类型(UserType)",
  28202. "type": "integer"
  28203. },
  28204. "applicationtime": {
  28205. "description": "最后一次更新的时间",
  28206. "type": "string"
  28207. },
  28208. "applyexchticket": {
  28209. "description": "申请流水",
  28210. "type": "string"
  28211. },
  28212. "auditid": {
  28213. "description": "审核人",
  28214. "type": "integer"
  28215. },
  28216. "audittime": {
  28217. "description": "审核时间",
  28218. "type": "string"
  28219. },
  28220. "bankaccountname": {
  28221. "description": "签约银行卡账号名",
  28222. "type": "string"
  28223. },
  28224. "bankaccountname2": {
  28225. "description": "签约银行卡账号名 - 密文",
  28226. "type": "string"
  28227. },
  28228. "bankaccountno": {
  28229. "description": "银行卡号",
  28230. "type": "string"
  28231. },
  28232. "bankaccountno2": {
  28233. "description": "银行卡号 - 密文",
  28234. "type": "string"
  28235. },
  28236. "bankaccounttype": {
  28237. "description": "银行账户类型 - 1-对私; 2-对公",
  28238. "type": "integer"
  28239. },
  28240. "bankcardtype": {
  28241. "description": "银行卡类型",
  28242. "type": "integer"
  28243. },
  28244. "bankchildaccount": {
  28245. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  28246. "type": "string"
  28247. },
  28248. "bankcity": {
  28249. "description": "开户行城市",
  28250. "type": "string"
  28251. },
  28252. "bankid": {
  28253. "description": "签约银行ID",
  28254. "type": "string"
  28255. },
  28256. "bankname": {
  28257. "description": "签约银行名称",
  28258. "type": "string"
  28259. },
  28260. "bankprovince": {
  28261. "description": "开户行省份",
  28262. "type": "string"
  28263. },
  28264. "branchbankid": {
  28265. "description": "签约银行支行号",
  28266. "type": "string"
  28267. },
  28268. "branchbankname": {
  28269. "description": "签约银行支行名称",
  28270. "type": "string"
  28271. },
  28272. "cardno": {
  28273. "description": "证件号码",
  28274. "type": "string"
  28275. },
  28276. "cardno2": {
  28277. "description": "证件号码 - 密文",
  28278. "type": "string"
  28279. },
  28280. "cardtype": {
  28281. "description": "证件类型",
  28282. "type": "string"
  28283. },
  28284. "currency": {
  28285. "description": "币种",
  28286. "type": "string"
  28287. },
  28288. "cusbankid": {
  28289. "description": "托管银行编号",
  28290. "type": "string"
  28291. },
  28292. "direct": {
  28293. "description": "方向(可以判断那方先发起的签约)",
  28294. "type": "integer"
  28295. },
  28296. "exchticket": {
  28297. "description": "最后一次签约成功的流水号",
  28298. "type": "string"
  28299. },
  28300. "extendinfo": {
  28301. "description": "扩展信息(JSON字符串)",
  28302. "type": "string"
  28303. },
  28304. "mobilephone": {
  28305. "description": "手机号",
  28306. "type": "string"
  28307. },
  28308. "mobilephone2": {
  28309. "description": "手机号 - 密文",
  28310. "type": "string"
  28311. },
  28312. "netaddr": {
  28313. "description": "调转网址",
  28314. "type": "string"
  28315. },
  28316. "relateduserid": {
  28317. "description": "关联使用者userid",
  28318. "type": "integer"
  28319. },
  28320. "signstatus": {
  28321. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  28322. "type": "integer"
  28323. },
  28324. "updatetime": {
  28325. "description": "更新时间(签解约更新时间)",
  28326. "type": "string"
  28327. }
  28328. }
  28329. },
  28330. "models.QhjBankInfo": {
  28331. "type": "object",
  28332. "properties": {
  28333. "bankid": {
  28334. "description": "银行ID",
  28335. "type": "string"
  28336. },
  28337. "bankname": {
  28338. "description": "银行名称",
  28339. "type": "string"
  28340. },
  28341. "clearbankno": {
  28342. "description": "清算系统银行编号",
  28343. "type": "string"
  28344. },
  28345. "orderindex": {
  28346. "description": "排序顺序",
  28347. "type": "integer"
  28348. },
  28349. "status": {
  28350. "description": "状态 - 0:正常 1:注销",
  28351. "type": "integer"
  28352. }
  28353. }
  28354. },
  28355. "models.QhjBrokerApply": {
  28356. "type": "object",
  28357. "properties": {
  28358. "applicantid": {
  28359. "description": "申请人",
  28360. "type": "integer"
  28361. },
  28362. "applysrc": {
  28363. "description": "申请来源 - 1:管理端 2:终端",
  28364. "type": "integer"
  28365. },
  28366. "applystatus": {
  28367. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28368. "type": "integer"
  28369. },
  28370. "applytime": {
  28371. "description": "申请时间",
  28372. "type": "string"
  28373. },
  28374. "auditorid": {
  28375. "description": "审核人",
  28376. "type": "integer"
  28377. },
  28378. "auditremark": {
  28379. "description": "审核备注",
  28380. "type": "string"
  28381. },
  28382. "auditsrc": {
  28383. "description": "审核来源 - 1:管理端 2:终端",
  28384. "type": "integer"
  28385. },
  28386. "audittime": {
  28387. "description": "审核时间",
  28388. "type": "string"
  28389. },
  28390. "audittradedate": {
  28391. "description": "审核交易日(yyyyMMdd)",
  28392. "type": "string"
  28393. },
  28394. "brokerapplyid": {
  28395. "description": "申请ID(SEQ_BROKERAPPLY)",
  28396. "type": "integer"
  28397. },
  28398. "cardbackphotourl": {
  28399. "description": "证件背面图片地址",
  28400. "type": "string"
  28401. },
  28402. "cardfrontphotourl": {
  28403. "description": "证件正面图片地址",
  28404. "type": "string"
  28405. },
  28406. "cardnum": {
  28407. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28408. "type": "string"
  28409. },
  28410. "customername": {
  28411. "description": "姓名",
  28412. "type": "string"
  28413. },
  28414. "logincode": {
  28415. "description": "登录代码",
  28416. "type": "string"
  28417. },
  28418. "mobile": {
  28419. "description": "手机号码",
  28420. "type": "string"
  28421. },
  28422. "parentuserid": {
  28423. "description": "所属机构id",
  28424. "type": "integer"
  28425. },
  28426. "parentusername": {
  28427. "description": "所属机构名称",
  28428. "type": "string"
  28429. },
  28430. "refereeuserid": {
  28431. "description": "推荐人id(经纪人)",
  28432. "type": "integer"
  28433. },
  28434. "refernum": {
  28435. "description": "推荐码",
  28436. "type": "string"
  28437. },
  28438. "remark": {
  28439. "description": "备注",
  28440. "type": "string"
  28441. },
  28442. "subarealevelpath": {
  28443. "description": "层级路径",
  28444. "type": "string"
  28445. },
  28446. "tradedate": {
  28447. "description": "交易日(yyyyMMdd)",
  28448. "type": "string"
  28449. },
  28450. "userid": {
  28451. "description": "申请人用户ID",
  28452. "type": "integer"
  28453. },
  28454. "userinfotype": {
  28455. "description": "用户类型 1-个人 2-企业",
  28456. "type": "integer"
  28457. },
  28458. "username": {
  28459. "description": "用户名称",
  28460. "type": "string"
  28461. }
  28462. }
  28463. },
  28464. "models.QhjBrokerApplyEx": {
  28465. "type": "object",
  28466. "properties": {
  28467. "applylist": {
  28468. "description": "经纪人申请记录(只返回最新一条)",
  28469. "type": "array",
  28470. "items": {
  28471. "$ref": "#/definitions/models.QhjBrokerApply"
  28472. }
  28473. },
  28474. "canrecommend": {
  28475. "description": "是否经纪人 0-不是 1-是",
  28476. "type": "integer"
  28477. },
  28478. "refernum": {
  28479. "description": "推荐码",
  28480. "type": "string"
  28481. },
  28482. "userid": {
  28483. "description": "用户id",
  28484. "type": "integer"
  28485. },
  28486. "userinfotype": {
  28487. "description": "用户类型 1-个人 2-企业",
  28488. "type": "integer"
  28489. }
  28490. }
  28491. },
  28492. "models.QhjBrokerRewardLog": {
  28493. "type": "object",
  28494. "properties": {
  28495. "accountid": {
  28496. "description": "资金账号ID",
  28497. "type": "integer"
  28498. },
  28499. "createtime": {
  28500. "description": "创建时间(时间)",
  28501. "type": "string"
  28502. },
  28503. "handlestatus": {
  28504. "description": "处理状态",
  28505. "type": "integer"
  28506. },
  28507. "logid": {
  28508. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28509. "type": "string"
  28510. },
  28511. "marketid": {
  28512. "description": "市场ID",
  28513. "type": "integer"
  28514. },
  28515. "mmaccountid": {
  28516. "description": "做市商资金账号ID",
  28517. "type": "string"
  28518. },
  28519. "mmuserid": {
  28520. "description": "做市商用户ID",
  28521. "type": "string"
  28522. },
  28523. "rewardamount": {
  28524. "description": "奖励金额",
  28525. "type": "number"
  28526. },
  28527. "rewardmodel": {
  28528. "description": "消费奖励方式 - 1:比率 2:固定",
  28529. "type": "integer"
  28530. },
  28531. "rewardtype": {
  28532. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  28533. "type": "integer"
  28534. },
  28535. "rewardvalue": {
  28536. "description": "配置奖励值",
  28537. "type": "number"
  28538. },
  28539. "srcamount": {
  28540. "description": "成交金额 [消费奖励] (金额)",
  28541. "type": "number"
  28542. },
  28543. "srcgoodsid": {
  28544. "description": "来源商品ID [消费奖励]",
  28545. "type": "string"
  28546. },
  28547. "srctime": {
  28548. "description": "来源时间 (成交时间) [消费奖励]",
  28549. "type": "string"
  28550. },
  28551. "srctradeid": {
  28552. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  28553. "type": "string"
  28554. },
  28555. "srcuserid": {
  28556. "description": "来源用户ID(推广账户)",
  28557. "type": "string"
  28558. },
  28559. "srcusername": {
  28560. "description": "推广账户名称",
  28561. "type": "string"
  28562. },
  28563. "tradedate": {
  28564. "description": "交易日(yyyyMMdd)",
  28565. "type": "string"
  28566. },
  28567. "userid": {
  28568. "description": "经纪人用户ID",
  28569. "type": "integer"
  28570. }
  28571. }
  28572. },
  28573. "models.QhjContract": {
  28574. "type": "object",
  28575. "properties": {
  28576. "contractconfirmtime": {
  28577. "description": "合同确认时间(时间)",
  28578. "type": "string"
  28579. },
  28580. "currisklevel": {
  28581. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28582. "type": "integer"
  28583. },
  28584. "decimalplace": {
  28585. "description": "商品报价小数位",
  28586. "type": "integer"
  28587. },
  28588. "enumdicname": {
  28589. "description": "单位名称",
  28590. "type": "string"
  28591. },
  28592. "goodscode": {
  28593. "description": "商品代码",
  28594. "type": "string"
  28595. },
  28596. "goodsid": {
  28597. "description": "商品ID [5:融资单]",
  28598. "type": "integer"
  28599. },
  28600. "goodsname": {
  28601. "description": "商品名称",
  28602. "type": "string"
  28603. },
  28604. "goodunitid": {
  28605. "description": "商品单位id",
  28606. "type": "integer"
  28607. },
  28608. "initmargin": {
  28609. "description": "初始保证金(首付款)",
  28610. "type": "number"
  28611. },
  28612. "lenderamount": {
  28613. "description": "贷款金额(总额|订单总额)",
  28614. "type": "number"
  28615. },
  28616. "marginratio": {
  28617. "description": "保证金比率(首付比例)",
  28618. "type": "number"
  28619. },
  28620. "payamount": {
  28621. "description": "已付(已付货款)",
  28622. "type": "number"
  28623. },
  28624. "reckonrecovermargin": {
  28625. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28626. "type": "number"
  28627. },
  28628. "recoveredmargin": {
  28629. "description": "已追缴保证金",
  28630. "type": "number"
  28631. },
  28632. "remainamount": {
  28633. "description": "合同剩余金额(融资额)",
  28634. "type": "number"
  28635. },
  28636. "scfcontractid": {
  28637. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28638. "type": "string"
  28639. },
  28640. "scfcontractstatus": {
  28641. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28642. "type": "integer"
  28643. },
  28644. "scfcontracttype": {
  28645. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28646. "type": "integer"
  28647. },
  28648. "totalinterest": {
  28649. "description": "已计总利息(利息)",
  28650. "type": "number"
  28651. },
  28652. "tradeprice": {
  28653. "description": "成交价格(成本价格)",
  28654. "type": "number"
  28655. },
  28656. "userid": {
  28657. "description": "用户ID",
  28658. "type": "integer"
  28659. },
  28660. "username": {
  28661. "description": "用户名称",
  28662. "type": "string"
  28663. },
  28664. "wrqty": {
  28665. "description": "仓单数量(数量)",
  28666. "type": "number"
  28667. }
  28668. }
  28669. },
  28670. "models.QhjContractLog": {
  28671. "type": "object",
  28672. "properties": {
  28673. "amount": {
  28674. "description": "支付金额",
  28675. "type": "number"
  28676. },
  28677. "amounttype": {
  28678. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  28679. "type": "integer"
  28680. },
  28681. "logid": {
  28682. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28683. "type": "string"
  28684. },
  28685. "remainamount": {
  28686. "description": "剩余货款",
  28687. "type": "number"
  28688. },
  28689. "scfcontractid": {
  28690. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28691. "type": "integer"
  28692. },
  28693. "updatetime": {
  28694. "description": "更新时间",
  28695. "type": "string"
  28696. }
  28697. }
  28698. },
  28699. "models.QhjCusBankSignBankEx": {
  28700. "type": "object",
  28701. "properties": {
  28702. "banklst": {
  28703. "description": "银行列表",
  28704. "type": "array",
  28705. "items": {
  28706. "$ref": "#/definitions/models.QhjBankInfo"
  28707. }
  28708. },
  28709. "canallot": {
  28710. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  28711. "type": "integer"
  28712. },
  28713. "canallotquery": {
  28714. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  28715. "type": "integer"
  28716. },
  28717. "canbindcard": {
  28718. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  28719. "type": "integer"
  28720. },
  28721. "caninamount": {
  28722. "description": "是否可入金 - 0:不可 1:可以",
  28723. "type": "integer"
  28724. },
  28725. "caninamount2": {
  28726. "description": "是否可入金(网银端) - 0:不可 1:可以",
  28727. "type": "integer"
  28728. },
  28729. "canmodifybankcard": {
  28730. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  28731. "type": "integer"
  28732. },
  28733. "canmodifyphone": {
  28734. "description": "是否可修改手机号 - 0:不可 1:可以",
  28735. "type": "integer"
  28736. },
  28737. "canmodifysigninfo": {
  28738. "description": "是否可修改签约信息 - 0:不可 1:可以",
  28739. "type": "integer"
  28740. },
  28741. "canoutamount": {
  28742. "description": "是否可出金 - 0:不可 1:可以",
  28743. "type": "integer"
  28744. },
  28745. "canoutamount2": {
  28746. "description": "是否可出金(网银端) - 0:不可 1:可以",
  28747. "type": "integer"
  28748. },
  28749. "canrelease": {
  28750. "description": "是否可解约 - 0:不可 1:可以",
  28751. "type": "integer"
  28752. },
  28753. "canrelease2": {
  28754. "description": "是否可解约(网银端) - 0:不可 1:可以",
  28755. "type": "integer"
  28756. },
  28757. "cansign": {
  28758. "description": "是否可签约 - 0:不可 1:可以",
  28759. "type": "integer"
  28760. },
  28761. "cansign2": {
  28762. "description": "是否可签约(网银端) - 0:不可 1:可以",
  28763. "type": "integer"
  28764. },
  28765. "currency": {
  28766. "description": "币种",
  28767. "type": "string"
  28768. },
  28769. "cusbankid": {
  28770. "description": "托管银行编号(对应清算中心TRAN_NO)",
  28771. "type": "string"
  28772. },
  28773. "cusbankname": {
  28774. "description": "银行业务名称",
  28775. "type": "string"
  28776. },
  28777. "cusbankshortname": {
  28778. "description": "银行业务简称",
  28779. "type": "string"
  28780. },
  28781. "exchbankid": {
  28782. "description": "交易所开户银行ID",
  28783. "type": "string"
  28784. },
  28785. "exchpaybankaccname": {
  28786. "description": "交易所支出结算账户户名",
  28787. "type": "string"
  28788. },
  28789. "exchpaybankaccno": {
  28790. "description": "交易所支出结算账户",
  28791. "type": "string"
  28792. },
  28793. "isneedcheck": {
  28794. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  28795. "type": "integer"
  28796. },
  28797. "isneedclear": {
  28798. "description": "是否需要清算 - 0:不需要 1:需要",
  28799. "type": "integer"
  28800. },
  28801. "lastcheckstatus": {
  28802. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  28803. "type": "integer"
  28804. },
  28805. "lastchecktime": {
  28806. "description": "最后对账时间",
  28807. "type": "string"
  28808. },
  28809. "lastclearstatus": {
  28810. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  28811. "type": "integer"
  28812. },
  28813. "lastcleartime": {
  28814. "description": "最后清算时间",
  28815. "type": "string"
  28816. },
  28817. "lastsignintime": {
  28818. "description": "最后签到时间",
  28819. "type": "string"
  28820. },
  28821. "lastsignouttime": {
  28822. "description": "最后签退时间",
  28823. "type": "string"
  28824. },
  28825. "riskinfo": {
  28826. "description": "签约风险提示书",
  28827. "type": "string"
  28828. },
  28829. "signstatus": {
  28830. "description": "当前签到/签退状态 - 1:签到 2:签退",
  28831. "type": "integer"
  28832. },
  28833. "tradedate": {
  28834. "description": "交易日(yyyyMMdd)",
  28835. "type": "string"
  28836. },
  28837. "updatetime": {
  28838. "description": "当前签到/签退更新时间",
  28839. "type": "string"
  28840. }
  28841. }
  28842. },
  28843. "models.QhjCustomer": {
  28844. "type": "object",
  28845. "properties": {
  28846. "address": {
  28847. "description": "通讯地址",
  28848. "type": "string"
  28849. },
  28850. "attachment1": {
  28851. "description": "附件1",
  28852. "type": "string"
  28853. },
  28854. "attachment2": {
  28855. "description": "附件2",
  28856. "type": "string"
  28857. },
  28858. "audittime": {
  28859. "description": "审核时间",
  28860. "type": "string"
  28861. },
  28862. "cardbackphotourl": {
  28863. "description": "证件反面图片地址",
  28864. "type": "string"
  28865. },
  28866. "cardfrontphotourl": {
  28867. "description": "证件正面图片地址",
  28868. "type": "string"
  28869. },
  28870. "cardnum": {
  28871. "description": "证件号码",
  28872. "type": "string"
  28873. },
  28874. "cardtype": {
  28875. "description": "证件类型",
  28876. "type": "integer"
  28877. },
  28878. "cardtypename": {
  28879. "description": "证件类型名称",
  28880. "type": "string"
  28881. },
  28882. "cityid": {
  28883. "description": "市",
  28884. "type": "integer"
  28885. },
  28886. "cityname": {
  28887. "description": "城市名称",
  28888. "type": "string"
  28889. },
  28890. "contactname": {
  28891. "description": "联系人",
  28892. "type": "string"
  28893. },
  28894. "countryid": {
  28895. "description": "国家",
  28896. "type": "integer"
  28897. },
  28898. "countryname": {
  28899. "description": "国家名称",
  28900. "type": "string"
  28901. },
  28902. "createtime": {
  28903. "description": "创建时间",
  28904. "type": "string"
  28905. },
  28906. "customername": {
  28907. "description": "客户名称",
  28908. "type": "string"
  28909. },
  28910. "districtid": {
  28911. "description": "区域",
  28912. "type": "integer"
  28913. },
  28914. "districtname": {
  28915. "description": "地区名称",
  28916. "type": "string"
  28917. },
  28918. "email": {
  28919. "description": "邮件",
  28920. "type": "string"
  28921. },
  28922. "legalpersonname": {
  28923. "description": "法人姓名(企业)",
  28924. "type": "string"
  28925. },
  28926. "logincode": {
  28927. "description": "登录账号(代码)",
  28928. "type": "string"
  28929. },
  28930. "memberuserid": {
  28931. "description": "所属机构ID(所属会员)",
  28932. "type": "integer"
  28933. },
  28934. "memberusername": {
  28935. "description": "所属会员名称",
  28936. "type": "string"
  28937. },
  28938. "mobile": {
  28939. "description": "手机号码",
  28940. "type": "string"
  28941. },
  28942. "modifytime": {
  28943. "description": "修改时间",
  28944. "type": "string"
  28945. },
  28946. "nickname": {
  28947. "description": "昵称",
  28948. "type": "string"
  28949. },
  28950. "parentuserid": {
  28951. "description": "上级机构(所属机构)",
  28952. "type": "integer"
  28953. },
  28954. "parentusername": {
  28955. "description": "所属机构名称",
  28956. "type": "string"
  28957. },
  28958. "provinceid": {
  28959. "description": "省",
  28960. "type": "integer"
  28961. },
  28962. "provincename": {
  28963. "description": "省名称",
  28964. "type": "string"
  28965. },
  28966. "proxystatementurl": {
  28967. "description": "授权委托书",
  28968. "type": "string"
  28969. },
  28970. "remark": {
  28971. "description": "备注",
  28972. "type": "string"
  28973. },
  28974. "status": {
  28975. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  28976. "type": "integer"
  28977. },
  28978. "statusdesc": {
  28979. "description": "账户状态中文描述",
  28980. "type": "string"
  28981. },
  28982. "taxpayernum": {
  28983. "description": "纳税人识别号",
  28984. "type": "string"
  28985. },
  28986. "telphone": {
  28987. "description": "联系电话",
  28988. "type": "string"
  28989. },
  28990. "userid": {
  28991. "description": "用户ID",
  28992. "type": "integer"
  28993. },
  28994. "userinfotype": {
  28995. "description": "客户类型 1-个人 2-企业",
  28996. "type": "integer"
  28997. },
  28998. "username": {
  28999. "description": "用户名称",
  29000. "type": "string"
  29001. }
  29002. }
  29003. },
  29004. "models.QhjCustomerSignLog": {
  29005. "type": "object",
  29006. "properties": {
  29007. "agreementcontent": {
  29008. "description": "协议内容",
  29009. "type": "string"
  29010. },
  29011. "agreementid": {
  29012. "description": "协议ID",
  29013. "type": "integer"
  29014. },
  29015. "agreementname": {
  29016. "description": "协议名称",
  29017. "type": "string"
  29018. },
  29019. "agreementno": {
  29020. "description": "协议编号",
  29021. "type": "string"
  29022. },
  29023. "agreementtype": {
  29024. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29025. "type": "integer"
  29026. },
  29027. "agreementversion": {
  29028. "description": "协议版本号",
  29029. "type": "integer"
  29030. },
  29031. "createtime": {
  29032. "description": "创建时间",
  29033. "type": "string"
  29034. },
  29035. "goodscode": {
  29036. "description": "商品代码",
  29037. "type": "string"
  29038. },
  29039. "goodsid": {
  29040. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29041. "type": "integer"
  29042. },
  29043. "goodsname": {
  29044. "description": "商品名称",
  29045. "type": "string"
  29046. },
  29047. "logid": {
  29048. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  29049. "type": "integer"
  29050. },
  29051. "nodetype": {
  29052. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29053. "type": "integer"
  29054. },
  29055. "signadressurl": {
  29056. "description": "签约文件地址",
  29057. "type": "string"
  29058. },
  29059. "signtimestamp": {
  29060. "description": "签约状态时间戳",
  29061. "type": "string"
  29062. },
  29063. "userid": {
  29064. "description": "客户ID",
  29065. "type": "integer"
  29066. },
  29067. "username": {
  29068. "description": "客户名称",
  29069. "type": "string"
  29070. }
  29071. }
  29072. },
  29073. "models.QhjCustomerSignStatus": {
  29074. "type": "object",
  29075. "properties": {
  29076. "createtime": {
  29077. "description": "创建时间",
  29078. "type": "string"
  29079. },
  29080. "goodscode": {
  29081. "description": "商品代码",
  29082. "type": "string"
  29083. },
  29084. "goodsid": {
  29085. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29086. "type": "integer"
  29087. },
  29088. "goodsname": {
  29089. "description": "商品名称",
  29090. "type": "string"
  29091. },
  29092. "nodetype": {
  29093. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  29094. "type": "integer"
  29095. },
  29096. "signtimestamp": {
  29097. "description": "签约状态时间戳",
  29098. "type": "string"
  29099. },
  29100. "tradedate": {
  29101. "description": "创建交易日(yyyyMMdd)",
  29102. "type": "string"
  29103. },
  29104. "updatetime": {
  29105. "description": "更新时间",
  29106. "type": "string"
  29107. },
  29108. "userid": {
  29109. "description": "客户ID",
  29110. "type": "integer"
  29111. },
  29112. "username": {
  29113. "description": "客户名称",
  29114. "type": "string"
  29115. }
  29116. }
  29117. },
  29118. "models.QhjMgrAccountOutInApply": {
  29119. "type": "object",
  29120. "properties": {
  29121. "accountcode": {
  29122. "description": "资金账号",
  29123. "type": "string"
  29124. },
  29125. "accountname": {
  29126. "description": "用户名称(名称)",
  29127. "type": "string"
  29128. },
  29129. "accountpwd": {
  29130. "description": "资金密码",
  29131. "type": "string"
  29132. },
  29133. "accountticket": {
  29134. "description": "最新账户服务流水号",
  29135. "type": "string"
  29136. },
  29137. "amount": {
  29138. "description": "金额",
  29139. "type": "number"
  29140. },
  29141. "applyremark": {
  29142. "description": "申请备注",
  29143. "type": "string"
  29144. },
  29145. "applystatus": {
  29146. "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: 复审通过,账户冻结金额检查中;",
  29147. "type": "integer"
  29148. },
  29149. "auditid": {
  29150. "description": "审核人",
  29151. "type": "integer"
  29152. },
  29153. "audittime": {
  29154. "description": "审核时间",
  29155. "type": "string"
  29156. },
  29157. "bank_apply_ticket": {
  29158. "description": "银行申请流水",
  29159. "type": "string"
  29160. },
  29161. "bankaccountname": {
  29162. "description": "银行账户名",
  29163. "type": "string"
  29164. },
  29165. "bankaccountno": {
  29166. "description": "银行卡号",
  29167. "type": "string"
  29168. },
  29169. "bankid": {
  29170. "description": "银行编号",
  29171. "type": "string"
  29172. },
  29173. "bankname": {
  29174. "description": "银行名称",
  29175. "type": "string"
  29176. },
  29177. "bankticket": {
  29178. "description": "银行流水",
  29179. "type": "string"
  29180. },
  29181. "branchbankid": {
  29182. "description": "银行支行号",
  29183. "type": "string"
  29184. },
  29185. "branchbankname": {
  29186. "description": "银行支行名称",
  29187. "type": "string"
  29188. },
  29189. "capamountout": {
  29190. "description": "出金(劣后本金) - 外部子账户",
  29191. "type": "number"
  29192. },
  29193. "certificatephotourl": {
  29194. "description": "凭证地址",
  29195. "type": "string"
  29196. },
  29197. "charge": {
  29198. "description": "手续费",
  29199. "type": "number"
  29200. },
  29201. "checkerrorflag": {
  29202. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  29203. "type": "integer"
  29204. },
  29205. "currency": {
  29206. "description": "币种",
  29207. "type": "string"
  29208. },
  29209. "cusbankid": {
  29210. "description": "托管银行编号",
  29211. "type": "string"
  29212. },
  29213. "exchticket": {
  29214. "description": "银行服务流水号",
  29215. "type": "string"
  29216. },
  29217. "executetype": {
  29218. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29219. "type": "integer"
  29220. },
  29221. "extendinfo": {
  29222. "description": "扩展信息",
  29223. "type": "string"
  29224. },
  29225. "extoperateid": {
  29226. "description": "交易服务流水号",
  29227. "type": "integer"
  29228. },
  29229. "infamount": {
  29230. "description": "劣后金额(自有)",
  29231. "type": "number"
  29232. },
  29233. "logincode": {
  29234. "description": "登录账号(账号)",
  29235. "type": "string"
  29236. },
  29237. "netaddr": {
  29238. "description": "调转网址",
  29239. "type": "string"
  29240. },
  29241. "priamount": {
  29242. "description": "优先金额(授信)",
  29243. "type": "number"
  29244. },
  29245. "reauditid": {
  29246. "description": "复审人",
  29247. "type": "integer"
  29248. },
  29249. "reauditremark": {
  29250. "description": "复审备注",
  29251. "type": "string"
  29252. },
  29253. "reaudittime": {
  29254. "description": "复审时间",
  29255. "type": "string"
  29256. },
  29257. "relatedorderid": {
  29258. "description": "三方关联ID",
  29259. "type": "string"
  29260. },
  29261. "remark": {
  29262. "description": "备注",
  29263. "type": "string"
  29264. },
  29265. "remark2": {
  29266. "description": "备注(失败原因)",
  29267. "type": "string"
  29268. },
  29269. "soucreamount": {
  29270. "description": "原始出入金金额",
  29271. "type": "number"
  29272. },
  29273. "soucrecurrencyid": {
  29274. "description": "原始出入金币种",
  29275. "type": "integer"
  29276. },
  29277. "tradedate": {
  29278. "description": "交易日(yyyyMMdd)",
  29279. "type": "string"
  29280. },
  29281. "updatetime": {
  29282. "description": "更新时间(申请时间)",
  29283. "type": "string"
  29284. },
  29285. "userid": {
  29286. "description": "用户id",
  29287. "type": "integer"
  29288. },
  29289. "userinfotype": {
  29290. "description": "账户类型 1-个人 2-企业",
  29291. "type": "integer"
  29292. }
  29293. }
  29294. },
  29295. "models.QhjMgrBrokerApply": {
  29296. "type": "object",
  29297. "properties": {
  29298. "applicantid": {
  29299. "description": "申请人",
  29300. "type": "integer"
  29301. },
  29302. "applysrc": {
  29303. "description": "申请来源 - 1:管理端 2:终端",
  29304. "type": "integer"
  29305. },
  29306. "applystatus": {
  29307. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  29308. "type": "integer"
  29309. },
  29310. "applytime": {
  29311. "description": "申请时间",
  29312. "type": "string"
  29313. },
  29314. "auditorid": {
  29315. "description": "审核人",
  29316. "type": "integer"
  29317. },
  29318. "auditremark": {
  29319. "description": "审核备注",
  29320. "type": "string"
  29321. },
  29322. "auditsrc": {
  29323. "description": "审核来源 - 1:管理端 2:终端",
  29324. "type": "integer"
  29325. },
  29326. "audittime": {
  29327. "description": "审核时间",
  29328. "type": "string"
  29329. },
  29330. "audittradedate": {
  29331. "description": "审核交易日(yyyyMMdd)",
  29332. "type": "string"
  29333. },
  29334. "brokerapplyid": {
  29335. "description": "申请ID(SEQ_BROKERAPPLY)",
  29336. "type": "integer"
  29337. },
  29338. "cardbackphotourl": {
  29339. "description": "证件背面图片地址",
  29340. "type": "string"
  29341. },
  29342. "cardfrontphotourl": {
  29343. "description": "证件正面图片地址",
  29344. "type": "string"
  29345. },
  29346. "cardnum": {
  29347. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  29348. "type": "string"
  29349. },
  29350. "customername": {
  29351. "description": "姓名",
  29352. "type": "string"
  29353. },
  29354. "filterstatus": {
  29355. "description": "筛选条件",
  29356. "type": "string"
  29357. },
  29358. "logincode": {
  29359. "description": "登录代码",
  29360. "type": "string"
  29361. },
  29362. "mobile": {
  29363. "description": "手机号码",
  29364. "type": "string"
  29365. },
  29366. "parentuserid": {
  29367. "description": "所属机构id",
  29368. "type": "integer"
  29369. },
  29370. "parentusername": {
  29371. "description": "所属机构名称",
  29372. "type": "string"
  29373. },
  29374. "refereeuserid": {
  29375. "description": "推荐人id(经纪人)",
  29376. "type": "integer"
  29377. },
  29378. "refernum": {
  29379. "description": "推荐码",
  29380. "type": "string"
  29381. },
  29382. "remark": {
  29383. "description": "备注",
  29384. "type": "string"
  29385. },
  29386. "subarealevelpath": {
  29387. "description": "层级路径",
  29388. "type": "string"
  29389. },
  29390. "tradedate": {
  29391. "description": "交易日(yyyyMMdd)",
  29392. "type": "string"
  29393. },
  29394. "userid": {
  29395. "description": "申请人用户ID",
  29396. "type": "integer"
  29397. },
  29398. "userinfotype": {
  29399. "description": "用户类型 1-个人 2-企业",
  29400. "type": "integer"
  29401. },
  29402. "username": {
  29403. "description": "用户名称",
  29404. "type": "string"
  29405. }
  29406. }
  29407. },
  29408. "models.QhjMgrBrokerRewardReport": {
  29409. "type": "object",
  29410. "properties": {
  29411. "createtime": {
  29412. "description": "创建时间(注册时间)",
  29413. "type": "string"
  29414. },
  29415. "cycletime": {
  29416. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  29417. "type": "string"
  29418. },
  29419. "cycletype": {
  29420. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  29421. "type": "integer"
  29422. },
  29423. "directtotalnum": {
  29424. "description": "直推总人数【期末】",
  29425. "type": "integer"
  29426. },
  29427. "indirecttotalnum": {
  29428. "description": "间推总人数【期末】",
  29429. "type": "integer"
  29430. },
  29431. "mobile": {
  29432. "description": "电话号码",
  29433. "type": "string"
  29434. },
  29435. "refereeuserid": {
  29436. "description": "推荐人id(经纪人id)",
  29437. "type": "integer"
  29438. },
  29439. "refereeusername": {
  29440. "description": "推荐人名称(经纪人) 上级经纪人名称",
  29441. "type": "string"
  29442. },
  29443. "refernum": {
  29444. "description": "推荐码",
  29445. "type": "string"
  29446. },
  29447. "subarealevelpath": {
  29448. "description": "用户层级路径",
  29449. "type": "string"
  29450. },
  29451. "todayrewardamount": {
  29452. "description": "奖励总金额【汇总】",
  29453. "type": "number"
  29454. },
  29455. "updatetime": {
  29456. "description": "更新时间",
  29457. "type": "string"
  29458. },
  29459. "userid": {
  29460. "description": "经纪人用户ID",
  29461. "type": "integer"
  29462. },
  29463. "userinfotype": {
  29464. "description": "用户类型 1-个人 2-企业",
  29465. "type": "integer"
  29466. },
  29467. "username": {
  29468. "description": "用户名称",
  29469. "type": "string"
  29470. }
  29471. }
  29472. },
  29473. "models.QhjMgrContract": {
  29474. "type": "object",
  29475. "properties": {
  29476. "contractconfirmtime": {
  29477. "description": "合同确认时间(时间)",
  29478. "type": "string"
  29479. },
  29480. "currisklevel": {
  29481. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29482. "type": "integer"
  29483. },
  29484. "decimalplace": {
  29485. "description": "商品报价小数位",
  29486. "type": "integer"
  29487. },
  29488. "enumdicname": {
  29489. "description": "单位名称",
  29490. "type": "string"
  29491. },
  29492. "goodscode": {
  29493. "description": "商品代码",
  29494. "type": "string"
  29495. },
  29496. "goodsid": {
  29497. "description": "商品ID [5:融资单]",
  29498. "type": "integer"
  29499. },
  29500. "goodsname": {
  29501. "description": "商品名称",
  29502. "type": "string"
  29503. },
  29504. "goodunitid": {
  29505. "description": "商品单位id",
  29506. "type": "integer"
  29507. },
  29508. "initmargin": {
  29509. "description": "初始保证金(首付款)",
  29510. "type": "number"
  29511. },
  29512. "lenderamount": {
  29513. "description": "贷款金额(总额|订单总额)",
  29514. "type": "number"
  29515. },
  29516. "logincode": {
  29517. "description": "账号(登录代码)",
  29518. "type": "string"
  29519. },
  29520. "marginratio": {
  29521. "description": "保证金比率(首付比例)",
  29522. "type": "number"
  29523. },
  29524. "mobile": {
  29525. "description": "电话号码(用户资料里的电话)",
  29526. "type": "string"
  29527. },
  29528. "payamount": {
  29529. "description": "已付(已付货款)",
  29530. "type": "number"
  29531. },
  29532. "reckonrecovermargin": {
  29533. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29534. "type": "number"
  29535. },
  29536. "recoveredmargin": {
  29537. "description": "已追缴保证金",
  29538. "type": "number"
  29539. },
  29540. "remainamount": {
  29541. "description": "合同剩余金额(融资额)",
  29542. "type": "number"
  29543. },
  29544. "scfcontractid": {
  29545. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29546. "type": "string"
  29547. },
  29548. "scfcontractstatus": {
  29549. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29550. "type": "integer"
  29551. },
  29552. "scfcontracttype": {
  29553. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29554. "type": "integer"
  29555. },
  29556. "totalinterest": {
  29557. "description": "已计总利息(利息)",
  29558. "type": "number"
  29559. },
  29560. "tradedate": {
  29561. "description": "交易日",
  29562. "type": "string"
  29563. },
  29564. "tradeprice": {
  29565. "description": "成交价格(成本价格)",
  29566. "type": "number"
  29567. },
  29568. "userid": {
  29569. "description": "用户ID",
  29570. "type": "integer"
  29571. },
  29572. "userinfotype": {
  29573. "description": "用户类型 1-个人 2-企业",
  29574. "type": "integer"
  29575. },
  29576. "username": {
  29577. "description": "用户名称",
  29578. "type": "string"
  29579. },
  29580. "wrqty": {
  29581. "description": "仓单数量(数量)",
  29582. "type": "number"
  29583. }
  29584. }
  29585. },
  29586. "models.QhjMgrCustomer": {
  29587. "type": "object",
  29588. "properties": {
  29589. "address": {
  29590. "description": "通讯地址",
  29591. "type": "string"
  29592. },
  29593. "attachment1": {
  29594. "description": "附件1",
  29595. "type": "string"
  29596. },
  29597. "audittime": {
  29598. "description": "审核时间",
  29599. "type": "string"
  29600. },
  29601. "birthday": {
  29602. "description": "生日",
  29603. "type": "string"
  29604. },
  29605. "brokerid": {
  29606. "description": "所属客户经理id",
  29607. "type": "integer"
  29608. },
  29609. "brokername": {
  29610. "description": "所属客户经理名称",
  29611. "type": "string"
  29612. },
  29613. "cardbackphotourl": {
  29614. "description": "证件反面图片地址",
  29615. "type": "string"
  29616. },
  29617. "cardfrontphotourl": {
  29618. "description": "证件正面图片地址",
  29619. "type": "string"
  29620. },
  29621. "cardnum": {
  29622. "description": "证件号码",
  29623. "type": "string"
  29624. },
  29625. "cardtype": {
  29626. "description": "证件类型",
  29627. "type": "integer"
  29628. },
  29629. "cardtypename": {
  29630. "description": "证件类型名称",
  29631. "type": "string"
  29632. },
  29633. "cityid": {
  29634. "description": "市",
  29635. "type": "integer"
  29636. },
  29637. "cityname": {
  29638. "description": "城市名称",
  29639. "type": "string"
  29640. },
  29641. "contactname": {
  29642. "description": "联系人",
  29643. "type": "string"
  29644. },
  29645. "countryid": {
  29646. "description": "国家",
  29647. "type": "integer"
  29648. },
  29649. "countryname": {
  29650. "description": "国家名称",
  29651. "type": "string"
  29652. },
  29653. "createtime": {
  29654. "description": "创建时间",
  29655. "type": "string"
  29656. },
  29657. "customername": {
  29658. "description": "客户名称",
  29659. "type": "string"
  29660. },
  29661. "districtid": {
  29662. "description": "区域",
  29663. "type": "integer"
  29664. },
  29665. "districtname": {
  29666. "description": "地区名称",
  29667. "type": "string"
  29668. },
  29669. "email": {
  29670. "description": "邮件",
  29671. "type": "string"
  29672. },
  29673. "legalpersonname": {
  29674. "description": "法人姓名(企业)",
  29675. "type": "string"
  29676. },
  29677. "logincode": {
  29678. "description": "登录账号(代码)",
  29679. "type": "string"
  29680. },
  29681. "memberuserid": {
  29682. "description": "所属机构ID(所属会员)",
  29683. "type": "integer"
  29684. },
  29685. "memberusername": {
  29686. "description": "所属会员名称",
  29687. "type": "string"
  29688. },
  29689. "mobile": {
  29690. "description": "手机号码",
  29691. "type": "string"
  29692. },
  29693. "modifytime": {
  29694. "description": "修改时间",
  29695. "type": "string"
  29696. },
  29697. "nickname": {
  29698. "description": "昵称",
  29699. "type": "string"
  29700. },
  29701. "parentuserid": {
  29702. "description": "上级机构(所属机构)",
  29703. "type": "integer"
  29704. },
  29705. "parentusername": {
  29706. "description": "所属机构名称",
  29707. "type": "string"
  29708. },
  29709. "provinceid": {
  29710. "description": "省",
  29711. "type": "integer"
  29712. },
  29713. "provincename": {
  29714. "description": "省名称",
  29715. "type": "string"
  29716. },
  29717. "proxystatementurl": {
  29718. "description": "授权委托书",
  29719. "type": "string"
  29720. },
  29721. "querytype": {
  29722. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  29723. "type": "integer"
  29724. },
  29725. "remark": {
  29726. "description": "备注",
  29727. "type": "string"
  29728. },
  29729. "sex": {
  29730. "description": "性别 0-女 1-男",
  29731. "type": "integer"
  29732. },
  29733. "status": {
  29734. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29735. "type": "integer"
  29736. },
  29737. "statusdesc": {
  29738. "description": "账户状态中文描述",
  29739. "type": "string"
  29740. },
  29741. "taxpayernum": {
  29742. "description": "纳税人识别号",
  29743. "type": "string"
  29744. },
  29745. "telphone": {
  29746. "description": "联系电话",
  29747. "type": "string"
  29748. },
  29749. "userid": {
  29750. "description": "用户ID",
  29751. "type": "integer"
  29752. },
  29753. "userinfotype": {
  29754. "description": "客户类型 1-个人 2-企业",
  29755. "type": "integer"
  29756. },
  29757. "username": {
  29758. "description": "用户名称",
  29759. "type": "string"
  29760. }
  29761. }
  29762. },
  29763. "models.QhjMgrPickGoods": {
  29764. "type": "object",
  29765. "properties": {
  29766. "enumdicname": {
  29767. "description": "单位名称(提货商品)",
  29768. "type": "string"
  29769. },
  29770. "goodsid": {
  29771. "description": "商品id",
  29772. "type": "integer"
  29773. },
  29774. "imageaddress": {
  29775. "description": "图片",
  29776. "type": "string"
  29777. },
  29778. "modifierid": {
  29779. "description": "修改人",
  29780. "type": "integer"
  29781. },
  29782. "modifiername": {
  29783. "description": "修改人名称",
  29784. "type": "string"
  29785. },
  29786. "modifysrc": {
  29787. "description": "修改来源 - 1:管理端 2:终端",
  29788. "type": "integer"
  29789. },
  29790. "pickupgoodsagreeunit": {
  29791. "description": "合约乘数",
  29792. "type": "number"
  29793. },
  29794. "pickupgoodsdesc": {
  29795. "description": "描述",
  29796. "type": "string"
  29797. },
  29798. "pickupgoodsid": {
  29799. "description": "提货商品ID",
  29800. "type": "string"
  29801. },
  29802. "pickupgoodsname": {
  29803. "description": "提货商品名称",
  29804. "type": "string"
  29805. },
  29806. "pickupgoodsstatus": {
  29807. "description": "状态 - 1:正常 2:停用 3:注销",
  29808. "type": "integer"
  29809. },
  29810. "pickupgoodsunitid": {
  29811. "description": "单位ID",
  29812. "type": "integer"
  29813. },
  29814. "pickupratio": {
  29815. "description": "提货系数",
  29816. "type": "number"
  29817. },
  29818. "preparedays": {
  29819. "description": "备货期(天)",
  29820. "type": "integer"
  29821. },
  29822. "remark": {
  29823. "description": "备注",
  29824. "type": "string"
  29825. },
  29826. "updatetime": {
  29827. "description": "更新时间",
  29828. "type": "string"
  29829. }
  29830. }
  29831. },
  29832. "models.QhjMgrPositionRsp": {
  29833. "type": "object",
  29834. "properties": {
  29835. "accountid": {
  29836. "description": "账号Id",
  29837. "type": "integer"
  29838. },
  29839. "accountname": {
  29840. "description": "用户名称",
  29841. "type": "string"
  29842. },
  29843. "agreeunit": {
  29844. "description": "合约乘数",
  29845. "type": "number"
  29846. },
  29847. "averageprice": {
  29848. "description": "均价",
  29849. "type": "number"
  29850. },
  29851. "avialqty": {
  29852. "description": "可用数量",
  29853. "type": "number"
  29854. },
  29855. "decimalplace": {
  29856. "description": "报价小数位",
  29857. "type": "integer"
  29858. },
  29859. "enumdicname": {
  29860. "description": "单位名称(商品)",
  29861. "type": "string"
  29862. },
  29863. "frozenqty": {
  29864. "description": "冻结数量",
  29865. "type": "number"
  29866. },
  29867. "goodscode": {
  29868. "description": "商品代码(内部)",
  29869. "type": "string"
  29870. },
  29871. "goodsid": {
  29872. "description": "商品Id",
  29873. "type": "integer"
  29874. },
  29875. "goodsname": {
  29876. "description": "商品名称",
  29877. "type": "string"
  29878. },
  29879. "goodunitid": {
  29880. "description": "报价单位ID",
  29881. "type": "integer"
  29882. },
  29883. "holderamount": {
  29884. "description": "金额",
  29885. "type": "number"
  29886. },
  29887. "holderqty": {
  29888. "description": "持有数量",
  29889. "type": "number"
  29890. },
  29891. "holdertype": {
  29892. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  29893. "type": "integer"
  29894. },
  29895. "logincode": {
  29896. "description": "登录代码(账户)",
  29897. "type": "string"
  29898. },
  29899. "marketid": {
  29900. "description": "市场id",
  29901. "type": "integer"
  29902. },
  29903. "qtydecimalplace": {
  29904. "description": "成交量小数位",
  29905. "type": "integer"
  29906. },
  29907. "trademode": {
  29908. "description": "交易模式",
  29909. "type": "integer"
  29910. },
  29911. "userid": {
  29912. "description": "用户id",
  29913. "type": "integer"
  29914. },
  29915. "userinfotype": {
  29916. "description": "账户类型 1-个人 2-企业",
  29917. "type": "integer"
  29918. }
  29919. }
  29920. },
  29921. "models.QhjMgrSubArea": {
  29922. "type": "object",
  29923. "properties": {
  29924. "accountname": {
  29925. "description": "账户名称(机构名称)",
  29926. "type": "string"
  29927. },
  29928. "memberuserid": {
  29929. "description": "所属会员ID",
  29930. "type": "integer"
  29931. },
  29932. "parenttopuser": {
  29933. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29934. "type": "string"
  29935. },
  29936. "parentuserid": {
  29937. "description": "所属机构ID",
  29938. "type": "integer"
  29939. },
  29940. "rootuserid": {
  29941. "description": "根用户ID",
  29942. "type": "string"
  29943. },
  29944. "subaccountlevel": {
  29945. "description": "子账户层数",
  29946. "type": "integer"
  29947. },
  29948. "subarealevelpath": {
  29949. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29950. "type": "string"
  29951. },
  29952. "userid": {
  29953. "description": "用户ID",
  29954. "type": "integer"
  29955. },
  29956. "usertype": {
  29957. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29958. "type": "integer"
  29959. }
  29960. }
  29961. },
  29962. "models.QhjMgrTradeDetailRsp": {
  29963. "type": "object",
  29964. "properties": {
  29965. "accountid": {
  29966. "description": "资金账号",
  29967. "type": "integer"
  29968. },
  29969. "accountname": {
  29970. "description": "用户名称",
  29971. "type": "string"
  29972. },
  29973. "agreeunit": {
  29974. "description": "合约乘数",
  29975. "type": "number"
  29976. },
  29977. "buyorsell": {
  29978. "description": "成交类型(方向) 0:买 1:卖",
  29979. "type": "integer"
  29980. },
  29981. "decimalplace": {
  29982. "description": "报价小数位",
  29983. "type": "integer"
  29984. },
  29985. "enumdicname": {
  29986. "description": "单位名称(商品)",
  29987. "type": "string"
  29988. },
  29989. "goodscode": {
  29990. "description": "商品代码(内部)",
  29991. "type": "string"
  29992. },
  29993. "goodsid": {
  29994. "description": "商品id",
  29995. "type": "integer"
  29996. },
  29997. "goodsname": {
  29998. "description": "商品名称",
  29999. "type": "string"
  30000. },
  30001. "goodunitid": {
  30002. "description": "报价单位ID",
  30003. "type": "integer"
  30004. },
  30005. "logincode": {
  30006. "description": "登录代码(账户)",
  30007. "type": "string"
  30008. },
  30009. "marketid": {
  30010. "description": "市场id",
  30011. "type": "integer"
  30012. },
  30013. "orderid": {
  30014. "description": "关联委托单号",
  30015. "type": "string"
  30016. },
  30017. "qtydecimalplace": {
  30018. "description": "成交量小数位",
  30019. "type": "integer"
  30020. },
  30021. "tradeamount": {
  30022. "description": "金额",
  30023. "type": "number"
  30024. },
  30025. "tradedate": {
  30026. "description": "交易日",
  30027. "type": "string"
  30028. },
  30029. "tradeid": {
  30030. "description": "成交单号",
  30031. "type": "string"
  30032. },
  30033. "trademode": {
  30034. "description": "交易模式",
  30035. "type": "integer"
  30036. },
  30037. "tradeprice": {
  30038. "description": "价格",
  30039. "type": "number"
  30040. },
  30041. "tradeqty": {
  30042. "description": "数量",
  30043. "type": "number"
  30044. },
  30045. "tradetime": {
  30046. "description": "成交时间",
  30047. "type": "string"
  30048. },
  30049. "userid": {
  30050. "description": "用户id",
  30051. "type": "integer"
  30052. },
  30053. "userinfotype": {
  30054. "description": "账户类型 1-个人 2-企业",
  30055. "type": "integer"
  30056. }
  30057. }
  30058. },
  30059. "models.QhjMgrTradeOrderDetailRsp": {
  30060. "type": "object",
  30061. "properties": {
  30062. "accountid": {
  30063. "description": "资金账号",
  30064. "type": "integer"
  30065. },
  30066. "accountname": {
  30067. "description": "用户名称",
  30068. "type": "string"
  30069. },
  30070. "agreeunit": {
  30071. "description": "合约乘数",
  30072. "type": "number"
  30073. },
  30074. "amount": {
  30075. "description": "金额",
  30076. "type": "number"
  30077. },
  30078. "decimalplace": {
  30079. "description": "报价小数位",
  30080. "type": "integer"
  30081. },
  30082. "enumdicname": {
  30083. "description": "单位名称(商品)",
  30084. "type": "string"
  30085. },
  30086. "goodscode": {
  30087. "description": "商品代码(内部)",
  30088. "type": "string"
  30089. },
  30090. "goodsid": {
  30091. "description": "商品id",
  30092. "type": "integer"
  30093. },
  30094. "goodsname": {
  30095. "description": "商品名称",
  30096. "type": "string"
  30097. },
  30098. "goodunitid": {
  30099. "description": "报价单位ID",
  30100. "type": "integer"
  30101. },
  30102. "logincode": {
  30103. "description": "登录代码(账户)",
  30104. "type": "string"
  30105. },
  30106. "marketid": {
  30107. "description": "市场id",
  30108. "type": "integer"
  30109. },
  30110. "orderid": {
  30111. "description": "关联委托单号",
  30112. "type": "string"
  30113. },
  30114. "orderprice": {
  30115. "description": "价格",
  30116. "type": "number"
  30117. },
  30118. "orderqty": {
  30119. "description": "数量",
  30120. "type": "number"
  30121. },
  30122. "orderstatus": {
  30123. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30124. "type": "integer"
  30125. },
  30126. "ordertime": {
  30127. "description": "委托时间",
  30128. "type": "string"
  30129. },
  30130. "qtydecimalplace": {
  30131. "description": "成交量小数位",
  30132. "type": "integer"
  30133. },
  30134. "tradedate": {
  30135. "description": "交易日",
  30136. "type": "string"
  30137. },
  30138. "trademode": {
  30139. "description": "交易模式",
  30140. "type": "integer"
  30141. },
  30142. "userid": {
  30143. "description": "用户id",
  30144. "type": "integer"
  30145. },
  30146. "userinfotype": {
  30147. "description": "账户类型 1-个人 2-企业",
  30148. "type": "integer"
  30149. }
  30150. }
  30151. },
  30152. "models.QhjMgrTradePayOrder": {
  30153. "type": "object",
  30154. "properties": {
  30155. "accountname": {
  30156. "description": "用户名称",
  30157. "type": "string"
  30158. },
  30159. "advanceratio": {
  30160. "description": "首付比率",
  30161. "type": "number"
  30162. },
  30163. "agreeunit": {
  30164. "description": "合约乘数",
  30165. "type": "number"
  30166. },
  30167. "buyaccountid": {
  30168. "description": "买方账号ID[报价币种]",
  30169. "type": "integer"
  30170. },
  30171. "buyorderid": {
  30172. "description": "买方委托单号(关联单号)",
  30173. "type": "string"
  30174. },
  30175. "createtime": {
  30176. "description": "创建时间",
  30177. "type": "string"
  30178. },
  30179. "decimalplace": {
  30180. "description": "报价小数位",
  30181. "type": "integer"
  30182. },
  30183. "enumdicname": {
  30184. "description": "单位名称(商品)",
  30185. "type": "string"
  30186. },
  30187. "goodscode": {
  30188. "description": "商品代码(内部)",
  30189. "type": "string"
  30190. },
  30191. "goodsid": {
  30192. "description": "商品ID",
  30193. "type": "integer"
  30194. },
  30195. "goodsname": {
  30196. "description": "商品名称",
  30197. "type": "string"
  30198. },
  30199. "goodunitid": {
  30200. "description": "报价单位ID",
  30201. "type": "integer"
  30202. },
  30203. "logincode": {
  30204. "description": "登录代码(账户)",
  30205. "type": "string"
  30206. },
  30207. "marketid": {
  30208. "description": "市场id",
  30209. "type": "integer"
  30210. },
  30211. "offamount": {
  30212. "description": "优惠金额",
  30213. "type": "number"
  30214. },
  30215. "operatetype": {
  30216. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30217. "type": "integer"
  30218. },
  30219. "payamount": {
  30220. "description": "支付金额(金额)",
  30221. "type": "number"
  30222. },
  30223. "payflag": {
  30224. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30225. "type": "integer"
  30226. },
  30227. "paylimitedtime": {
  30228. "description": "支付期限",
  30229. "type": "string"
  30230. },
  30231. "paytime": {
  30232. "description": "付款时间",
  30233. "type": "string"
  30234. },
  30235. "qtydecimalplace": {
  30236. "description": "成交量小数位",
  30237. "type": "integer"
  30238. },
  30239. "sellaccountid": {
  30240. "description": "卖方账号ID[报价币种]",
  30241. "type": "integer"
  30242. },
  30243. "sellorderid": {
  30244. "description": "卖方委托单号",
  30245. "type": "string"
  30246. },
  30247. "tradeamount": {
  30248. "description": "成交金额(优惠后金额)",
  30249. "type": "number"
  30250. },
  30251. "tradecharge": {
  30252. "description": "成交手续费(买方)",
  30253. "type": "number"
  30254. },
  30255. "tradedate": {
  30256. "description": "交易日(yyyyMMdd)",
  30257. "type": "string"
  30258. },
  30259. "tradeid": {
  30260. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30261. "type": "string"
  30262. },
  30263. "trademode": {
  30264. "description": "交易模式",
  30265. "type": "integer"
  30266. },
  30267. "tradeprice": {
  30268. "description": "成交价格(价格)",
  30269. "type": "number"
  30270. },
  30271. "tradeqty": {
  30272. "description": "成交数量(数量)",
  30273. "type": "number"
  30274. },
  30275. "tradetime": {
  30276. "description": "成交时间",
  30277. "type": "string"
  30278. },
  30279. "userid": {
  30280. "description": "用户id",
  30281. "type": "integer"
  30282. },
  30283. "userinfotype": {
  30284. "description": "账户类型 1-个人 2-企业",
  30285. "type": "integer"
  30286. }
  30287. }
  30288. },
  30289. "models.QhjMyTeamEx": {
  30290. "type": "object",
  30291. "properties": {
  30292. "accountname": {
  30293. "description": "用户名称",
  30294. "type": "string"
  30295. },
  30296. "accountstatus": {
  30297. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30298. "type": "integer"
  30299. },
  30300. "createtime": {
  30301. "description": "创建时间",
  30302. "type": "string"
  30303. },
  30304. "mobile": {
  30305. "description": "手机号码",
  30306. "type": "string"
  30307. },
  30308. "refereeuserid": {
  30309. "description": "推荐人id",
  30310. "type": "integer"
  30311. },
  30312. "refernum": {
  30313. "description": "推荐码",
  30314. "type": "string"
  30315. },
  30316. "subList": {
  30317. "type": "array",
  30318. "items": {
  30319. "$ref": "#/definitions/models.QhjMyTeamEx"
  30320. }
  30321. },
  30322. "userid": {
  30323. "description": "用户id",
  30324. "type": "integer"
  30325. },
  30326. "userinfotype": {
  30327. "description": "用户类型 1-个人 2-企业",
  30328. "type": "integer"
  30329. }
  30330. }
  30331. },
  30332. "models.QhjNodeAgreementConfig": {
  30333. "type": "object",
  30334. "properties": {
  30335. "agreementcontent": {
  30336. "description": "协议内容",
  30337. "type": "string"
  30338. },
  30339. "agreementid": {
  30340. "description": "协议ID",
  30341. "type": "integer"
  30342. },
  30343. "agreementname": {
  30344. "description": "协议名称",
  30345. "type": "string"
  30346. },
  30347. "agreementno": {
  30348. "description": "协议编号",
  30349. "type": "string"
  30350. },
  30351. "agreementtype": {
  30352. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30353. "type": "integer"
  30354. },
  30355. "agreementversion": {
  30356. "description": "协议版本号",
  30357. "type": "integer"
  30358. },
  30359. "configid": {
  30360. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  30361. "type": "integer"
  30362. },
  30363. "createtime": {
  30364. "description": "创建时间",
  30365. "type": "string"
  30366. },
  30367. "goodsid": {
  30368. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30369. "type": "integer"
  30370. },
  30371. "nodetype": {
  30372. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30373. "type": "integer"
  30374. }
  30375. }
  30376. },
  30377. "models.QhjParentAreaList": {
  30378. "type": "object",
  30379. "properties": {
  30380. "accountname": {
  30381. "description": "账户名称(机构名称)",
  30382. "type": "string"
  30383. },
  30384. "userid": {
  30385. "description": "用户ID",
  30386. "type": "integer"
  30387. },
  30388. "usertype": {
  30389. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30390. "type": "integer"
  30391. }
  30392. }
  30393. },
  30394. "models.QhjPayOrder": {
  30395. "type": "object",
  30396. "properties": {
  30397. "advanceratio": {
  30398. "description": "首付比率",
  30399. "type": "number"
  30400. },
  30401. "buyaccountid": {
  30402. "description": "买方账号ID[报价币种]",
  30403. "type": "integer"
  30404. },
  30405. "buyorderid": {
  30406. "description": "买方委托单号",
  30407. "type": "string"
  30408. },
  30409. "createtime": {
  30410. "description": "创建时间",
  30411. "type": "string"
  30412. },
  30413. "decimalplace": {
  30414. "description": "商品报价小数位",
  30415. "type": "integer"
  30416. },
  30417. "enumdicname": {
  30418. "description": "单位名称",
  30419. "type": "string"
  30420. },
  30421. "goodscode": {
  30422. "description": "商品代码",
  30423. "type": "string"
  30424. },
  30425. "goodsid": {
  30426. "description": "商品ID",
  30427. "type": "integer"
  30428. },
  30429. "goodsname": {
  30430. "description": "商品名称",
  30431. "type": "string"
  30432. },
  30433. "goodunitid": {
  30434. "description": "商品单位id",
  30435. "type": "integer"
  30436. },
  30437. "marketid": {
  30438. "description": "市场ID",
  30439. "type": "integer"
  30440. },
  30441. "offamount": {
  30442. "description": "优惠金额",
  30443. "type": "number"
  30444. },
  30445. "operatetype": {
  30446. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30447. "type": "integer"
  30448. },
  30449. "payamount": {
  30450. "description": "支付金额",
  30451. "type": "number"
  30452. },
  30453. "payflag": {
  30454. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30455. "type": "integer"
  30456. },
  30457. "paylimitedtime": {
  30458. "description": "支付期限",
  30459. "type": "string"
  30460. },
  30461. "paytime": {
  30462. "description": "付款时间",
  30463. "type": "string"
  30464. },
  30465. "qtydecimalplace": {
  30466. "description": "成交量小数位",
  30467. "type": "integer"
  30468. },
  30469. "sellaccountid": {
  30470. "description": "卖方账号ID[报价币种]",
  30471. "type": "integer"
  30472. },
  30473. "sellorderid": {
  30474. "description": "卖方委托单号",
  30475. "type": "string"
  30476. },
  30477. "tradeamount": {
  30478. "description": "成交金额(优惠后金额)",
  30479. "type": "number"
  30480. },
  30481. "tradecharge": {
  30482. "description": "成交手续费(买方)",
  30483. "type": "number"
  30484. },
  30485. "tradedate": {
  30486. "description": "交易日(yyyyMMdd)",
  30487. "type": "string"
  30488. },
  30489. "tradeid": {
  30490. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30491. "type": "string"
  30492. },
  30493. "tradeprice": {
  30494. "description": "成交价格",
  30495. "type": "number"
  30496. },
  30497. "tradeqty": {
  30498. "description": "成交数量",
  30499. "type": "number"
  30500. }
  30501. }
  30502. },
  30503. "models.QhjPickArea": {
  30504. "type": "object",
  30505. "properties": {
  30506. "address": {
  30507. "description": "详细地址",
  30508. "type": "string"
  30509. },
  30510. "cityid": {
  30511. "description": "市",
  30512. "type": "integer"
  30513. },
  30514. "cityname": {
  30515. "description": "城市名称",
  30516. "type": "string"
  30517. },
  30518. "countryid": {
  30519. "description": "国家",
  30520. "type": "integer"
  30521. },
  30522. "countryname": {
  30523. "description": "国家名称",
  30524. "type": "string"
  30525. },
  30526. "districtid": {
  30527. "description": "地区",
  30528. "type": "integer"
  30529. },
  30530. "districtname": {
  30531. "description": "地区名称",
  30532. "type": "string"
  30533. },
  30534. "fromuserid": {
  30535. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  30536. "type": "integer"
  30537. },
  30538. "fromusername": {
  30539. "description": "所属机构名称",
  30540. "type": "string"
  30541. },
  30542. "provinceid": {
  30543. "description": "省",
  30544. "type": "integer"
  30545. },
  30546. "provincename": {
  30547. "description": "省名称",
  30548. "type": "string"
  30549. },
  30550. "suborgtype": {
  30551. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  30552. "type": "integer"
  30553. },
  30554. "userid": {
  30555. "description": "机构用户ID 其他做市关系,都设置为 1",
  30556. "type": "integer"
  30557. },
  30558. "username": {
  30559. "description": "机构用户名称(门店门称)",
  30560. "type": "string"
  30561. }
  30562. }
  30563. },
  30564. "models.QhjPickGoods": {
  30565. "type": "object",
  30566. "properties": {
  30567. "enumdicname": {
  30568. "description": "单位名称(提货商品)",
  30569. "type": "string"
  30570. },
  30571. "goodsid": {
  30572. "description": "商品id",
  30573. "type": "integer"
  30574. },
  30575. "imageaddress": {
  30576. "description": "图片",
  30577. "type": "string"
  30578. },
  30579. "modifierid": {
  30580. "description": "修改人",
  30581. "type": "integer"
  30582. },
  30583. "modifiername": {
  30584. "description": "修改人名称",
  30585. "type": "string"
  30586. },
  30587. "modifysrc": {
  30588. "description": "修改来源 - 1:管理端 2:终端",
  30589. "type": "integer"
  30590. },
  30591. "pickupgoodsagreeunit": {
  30592. "description": "合约乘数",
  30593. "type": "number"
  30594. },
  30595. "pickupgoodsdesc": {
  30596. "description": "描述",
  30597. "type": "string"
  30598. },
  30599. "pickupgoodsid": {
  30600. "description": "提货商品ID",
  30601. "type": "string"
  30602. },
  30603. "pickupgoodsname": {
  30604. "description": "提货商品名称",
  30605. "type": "string"
  30606. },
  30607. "pickupgoodsstatus": {
  30608. "description": "状态 - 1:正常 2:停用 3:注销",
  30609. "type": "integer"
  30610. },
  30611. "pickupgoodsunitid": {
  30612. "description": "单位ID",
  30613. "type": "integer"
  30614. },
  30615. "pickupratio": {
  30616. "description": "提货系数",
  30617. "type": "number"
  30618. },
  30619. "preparedays": {
  30620. "description": "备货期(天)",
  30621. "type": "integer"
  30622. },
  30623. "remark": {
  30624. "description": "备注",
  30625. "type": "string"
  30626. },
  30627. "updatetime": {
  30628. "description": "更新时间",
  30629. "type": "string"
  30630. }
  30631. }
  30632. },
  30633. "models.QhjRSTriggerLog": {
  30634. "type": "object",
  30635. "properties": {
  30636. "accountid": {
  30637. "description": "用户资金账户",
  30638. "type": "integer"
  30639. },
  30640. "accountname": {
  30641. "description": "账号名称(ACCOUNTID对应的名称)",
  30642. "type": "string"
  30643. },
  30644. "currencyid": {
  30645. "description": "币种id",
  30646. "type": "integer"
  30647. },
  30648. "currencyname": {
  30649. "description": "币种名称",
  30650. "type": "string"
  30651. },
  30652. "decimalplace": {
  30653. "description": "商品报价小数位",
  30654. "type": "integer"
  30655. },
  30656. "enumdicname": {
  30657. "description": "单位名称",
  30658. "type": "string"
  30659. },
  30660. "goodscode": {
  30661. "description": "定投商品代码",
  30662. "type": "string"
  30663. },
  30664. "goodsid": {
  30665. "description": "定投商品ID",
  30666. "type": "integer"
  30667. },
  30668. "goodsname": {
  30669. "description": "定投商品名称",
  30670. "type": "string"
  30671. },
  30672. "goodunitid": {
  30673. "description": "定投商品单位id",
  30674. "type": "integer"
  30675. },
  30676. "logid": {
  30677. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  30678. "type": "string"
  30679. },
  30680. "logincode": {
  30681. "description": "账号(登录代码)",
  30682. "type": "string"
  30683. },
  30684. "qtydecimalplace": {
  30685. "description": "成交量小数位",
  30686. "type": "integer"
  30687. },
  30688. "regularlycycle": {
  30689. "description": "定投频率 - 1:每周 2:每月",
  30690. "type": "integer"
  30691. },
  30692. "regularlycyclevalue": {
  30693. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30694. "type": "string"
  30695. },
  30696. "regularlymode": {
  30697. "description": "定投方式 - 1:按数量 2:按金额",
  30698. "type": "integer"
  30699. },
  30700. "regularlymodevalue": {
  30701. "description": "定投方式值 - 数量或金额",
  30702. "type": "number"
  30703. },
  30704. "regularlystrategyid": {
  30705. "description": "定投策略ID",
  30706. "type": "integer"
  30707. },
  30708. "retcode": {
  30709. "description": "错误码",
  30710. "type": "string"
  30711. },
  30712. "tradeid": {
  30713. "description": "成交单ID",
  30714. "type": "string"
  30715. },
  30716. "triggeramount": {
  30717. "description": "触发金额",
  30718. "type": "number"
  30719. },
  30720. "triggerqty": {
  30721. "description": "触发数量",
  30722. "type": "number"
  30723. },
  30724. "triggerstatus": {
  30725. "description": "触发状态 - 1:成功 2:失败",
  30726. "type": "integer"
  30727. },
  30728. "triggertime": {
  30729. "description": "触发时间",
  30730. "type": "string"
  30731. },
  30732. "triggertradedate": {
  30733. "description": "触发交易日",
  30734. "type": "string"
  30735. },
  30736. "userid": {
  30737. "description": "所属用户ID",
  30738. "type": "integer"
  30739. },
  30740. "userinfotype": {
  30741. "description": "用户类型 1-个人 2-企业",
  30742. "type": "integer"
  30743. },
  30744. "username": {
  30745. "description": "用户名称(userid对应的名称)",
  30746. "type": "string"
  30747. }
  30748. }
  30749. },
  30750. "models.QhjRStrategy": {
  30751. "type": "object",
  30752. "properties": {
  30753. "accountid": {
  30754. "description": "用户资金账户",
  30755. "type": "integer"
  30756. },
  30757. "accountname": {
  30758. "description": "账号名称(ACCOUNTID对应的名称)",
  30759. "type": "string"
  30760. },
  30761. "currencyid": {
  30762. "description": "币种id",
  30763. "type": "integer"
  30764. },
  30765. "currencyname": {
  30766. "description": "币种名称",
  30767. "type": "string"
  30768. },
  30769. "decimalplace": {
  30770. "description": "商品报价小数位",
  30771. "type": "integer"
  30772. },
  30773. "enumdicname": {
  30774. "description": "单位名称",
  30775. "type": "string"
  30776. },
  30777. "goodscode": {
  30778. "description": "定投商品代码",
  30779. "type": "string"
  30780. },
  30781. "goodsid": {
  30782. "description": "定投商品ID",
  30783. "type": "integer"
  30784. },
  30785. "goodsname": {
  30786. "description": "定投商品名称",
  30787. "type": "string"
  30788. },
  30789. "goodunitid": {
  30790. "description": "定投商品单位id",
  30791. "type": "integer"
  30792. },
  30793. "lasteffecttradedate": {
  30794. "description": "最新生效交易日",
  30795. "type": "string"
  30796. },
  30797. "laststoptradedate": {
  30798. "description": "最新暂停交易日",
  30799. "type": "string"
  30800. },
  30801. "lasttriggertradedate": {
  30802. "description": "最新触发交易日",
  30803. "type": "string"
  30804. },
  30805. "logincode": {
  30806. "description": "账号(登录代码)",
  30807. "type": "string"
  30808. },
  30809. "nexttriggeramount": {
  30810. "description": "下次触发金额",
  30811. "type": "number"
  30812. },
  30813. "nexttriggerdate": {
  30814. "description": "下次触发日期",
  30815. "type": "string"
  30816. },
  30817. "nexttriggerqty": {
  30818. "description": "下次触发数量 [按小数位放大值]",
  30819. "type": "number"
  30820. },
  30821. "qtydecimalplace": {
  30822. "description": "成交量小数位",
  30823. "type": "integer"
  30824. },
  30825. "regularlycycle": {
  30826. "description": "定投频率 - 1:每周 2:每月",
  30827. "type": "integer"
  30828. },
  30829. "regularlycyclevalue": {
  30830. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30831. "type": "string"
  30832. },
  30833. "regularlymode": {
  30834. "description": "定投方式 - 1:按数量 2:按金额",
  30835. "type": "integer"
  30836. },
  30837. "regularlymodevalue": {
  30838. "description": "定投方式值 - 数量或金额",
  30839. "type": "number"
  30840. },
  30841. "regularlystrategyid": {
  30842. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  30843. "type": "integer"
  30844. },
  30845. "regularlystrategystatus": {
  30846. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  30847. "type": "integer"
  30848. },
  30849. "remark": {
  30850. "description": "备注",
  30851. "type": "string"
  30852. },
  30853. "triggersuccesstimes": {
  30854. "description": "累计定投成功次数",
  30855. "type": "string"
  30856. },
  30857. "triggertotalamount": {
  30858. "description": "累计定投金额(成功)",
  30859. "type": "number"
  30860. },
  30861. "triggertotalqty": {
  30862. "description": "累计定投数量(成功) [按小数位放大值]",
  30863. "type": "number"
  30864. },
  30865. "triggertotaltimes": {
  30866. "description": "累计定投总次数",
  30867. "type": "string"
  30868. },
  30869. "updatesrc": {
  30870. "description": "更新来源 - 1:管理端 2:终端",
  30871. "type": "integer"
  30872. },
  30873. "updatetime": {
  30874. "description": "更新时间",
  30875. "type": "string"
  30876. },
  30877. "updatorid": {
  30878. "description": "更新人",
  30879. "type": "string"
  30880. },
  30881. "userid": {
  30882. "description": "所属用户ID",
  30883. "type": "integer"
  30884. },
  30885. "userinfotype": {
  30886. "description": "用户类型 1-个人 2-企业",
  30887. "type": "integer"
  30888. },
  30889. "username": {
  30890. "description": "用户名称(userid对应的名称)",
  30891. "type": "string"
  30892. }
  30893. }
  30894. },
  30895. "models.QhjReckonPriceLog": {
  30896. "type": "object",
  30897. "properties": {
  30898. "decimalplace": {
  30899. "description": "商品报价小数位",
  30900. "type": "integer"
  30901. },
  30902. "goodscode": {
  30903. "description": "商品代码",
  30904. "type": "string"
  30905. },
  30906. "goodsid": {
  30907. "description": "商品ID",
  30908. "type": "integer"
  30909. },
  30910. "goodsname": {
  30911. "description": "商品名称",
  30912. "type": "string"
  30913. },
  30914. "lastreckonprice": {
  30915. "description": "上日结算价",
  30916. "type": "number"
  30917. },
  30918. "nextdnlimitprice": {
  30919. "description": "下个交易日跌停价",
  30920. "type": "number"
  30921. },
  30922. "nexttrade": {
  30923. "description": "下个交易日",
  30924. "type": "string"
  30925. },
  30926. "nextuplimitprice": {
  30927. "description": "下个交易日涨停价",
  30928. "type": "number"
  30929. },
  30930. "reckonprice": {
  30931. "description": "今日结算价(定投价)",
  30932. "type": "number"
  30933. },
  30934. "reckontime": {
  30935. "description": "结算时间",
  30936. "type": "string"
  30937. },
  30938. "totalholderqty": {
  30939. "description": "总持仓数",
  30940. "type": "integer"
  30941. },
  30942. "totalstock": {
  30943. "description": "总库存",
  30944. "type": "integer"
  30945. },
  30946. "tradedate": {
  30947. "description": "交易日",
  30948. "type": "string"
  30949. },
  30950. "updowncount": {
  30951. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  30952. "type": "integer"
  30953. },
  30954. "updownflag": {
  30955. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  30956. "type": "integer"
  30957. },
  30958. "updownrate": {
  30959. "description": "今日涨跌幅",
  30960. "type": "number"
  30961. },
  30962. "updownrate_2d": {
  30963. "description": "连续两日涨跌幅",
  30964. "type": "number"
  30965. },
  30966. "updownrate_3d": {
  30967. "description": "连续三日涨跌幅",
  30968. "type": "number"
  30969. }
  30970. }
  30971. },
  30972. "models.QhjScoreLog": {
  30973. "type": "object",
  30974. "properties": {
  30975. "accountid": {
  30976. "description": "账户ID",
  30977. "type": "integer"
  30978. },
  30979. "createtime": {
  30980. "description": "创建时间(时间)",
  30981. "type": "string"
  30982. },
  30983. "goodsid": {
  30984. "description": "商品ID",
  30985. "type": "integer"
  30986. },
  30987. "hasuploaded": {
  30988. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  30989. "type": "integer"
  30990. },
  30991. "logid": {
  30992. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30993. "type": "string"
  30994. },
  30995. "marketid": {
  30996. "description": "市场ID",
  30997. "type": "integer"
  30998. },
  30999. "relatedamount": {
  31000. "description": "关联金额",
  31001. "type": "number"
  31002. },
  31003. "relatedorderid": {
  31004. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  31005. "type": "string"
  31006. },
  31007. "scoreconfigvalue1": {
  31008. "description": "积分配置1",
  31009. "type": "integer"
  31010. },
  31011. "scoreconfigvalue2": {
  31012. "description": "积分配置1",
  31013. "type": "integer"
  31014. },
  31015. "scoretype": {
  31016. "description": "积分类型 - 1:提货积分",
  31017. "type": "integer"
  31018. },
  31019. "scorevalue": {
  31020. "description": "积分",
  31021. "type": "number"
  31022. },
  31023. "tradedate": {
  31024. "description": "交易日(yyyyMMdd)",
  31025. "type": "string"
  31026. },
  31027. "uploadedtime": {
  31028. "description": "同步时间",
  31029. "type": "string"
  31030. },
  31031. "userid": {
  31032. "description": "用户ID",
  31033. "type": "integer"
  31034. }
  31035. }
  31036. },
  31037. "models.QhjSiteColumnDetail": {
  31038. "type": "object",
  31039. "properties": {
  31040. "author": {
  31041. "description": "作者",
  31042. "type": "string"
  31043. },
  31044. "brief": {
  31045. "description": "简介",
  31046. "type": "string"
  31047. },
  31048. "columnid": {
  31049. "description": "所属栏目",
  31050. "type": "integer"
  31051. },
  31052. "context": {
  31053. "description": "内容",
  31054. "type": "string"
  31055. },
  31056. "coverimage": {
  31057. "description": "封面图片",
  31058. "type": "string"
  31059. },
  31060. "creaedate": {
  31061. "description": "创建时间",
  31062. "type": "string"
  31063. },
  31064. "creatorid": {
  31065. "description": "创建人",
  31066. "type": "integer"
  31067. },
  31068. "hits": {
  31069. "description": "点击数",
  31070. "type": "integer"
  31071. },
  31072. "id": {
  31073. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  31074. "type": "integer"
  31075. },
  31076. "isshow": {
  31077. "description": "是否展示 - 0:不展示 1:展示",
  31078. "type": "integer"
  31079. },
  31080. "istop": {
  31081. "description": "是否置顶 - 0:不置 1:置顶",
  31082. "type": "integer"
  31083. },
  31084. "modifierid": {
  31085. "description": "操作人",
  31086. "type": "integer"
  31087. },
  31088. "publishdate": {
  31089. "description": "发布日期",
  31090. "type": "string"
  31091. },
  31092. "status": {
  31093. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  31094. "type": "integer"
  31095. },
  31096. "title": {
  31097. "description": "标题",
  31098. "type": "string"
  31099. },
  31100. "updatedate": {
  31101. "description": "修改时间",
  31102. "type": "string"
  31103. },
  31104. "userid": {
  31105. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  31106. "type": "integer"
  31107. },
  31108. "username": {
  31109. "description": "用户名称",
  31110. "type": "string"
  31111. }
  31112. }
  31113. },
  31114. "models.QhjTeamOrder": {
  31115. "type": "object",
  31116. "properties": {
  31117. "accountid": {
  31118. "description": "账户ID[报价币种]",
  31119. "type": "integer"
  31120. },
  31121. "accountname": {
  31122. "description": "账户名称",
  31123. "type": "string"
  31124. },
  31125. "agreeunit": {
  31126. "description": "合约乘数",
  31127. "type": "number"
  31128. },
  31129. "buyorsell": {
  31130. "description": "方向 - 0:买 1:卖",
  31131. "type": "integer"
  31132. },
  31133. "decimalplace": {
  31134. "description": "报价小数位",
  31135. "type": "integer"
  31136. },
  31137. "enumdicname": {
  31138. "description": "单位名称",
  31139. "type": "string"
  31140. },
  31141. "goodscode": {
  31142. "description": "商品代码(内部)",
  31143. "type": "string"
  31144. },
  31145. "goodsid": {
  31146. "description": "商品ID",
  31147. "type": "integer"
  31148. },
  31149. "goodsname": {
  31150. "description": "商品名称",
  31151. "type": "string"
  31152. },
  31153. "goodunitid": {
  31154. "description": "报价单位ID",
  31155. "type": "integer"
  31156. },
  31157. "marketid": {
  31158. "description": "市场ID",
  31159. "type": "integer"
  31160. },
  31161. "marketname": {
  31162. "description": "市场名称",
  31163. "type": "string"
  31164. },
  31165. "qtydecimalplace": {
  31166. "description": "成交量小数位",
  31167. "type": "integer"
  31168. },
  31169. "refereeuserid": {
  31170. "description": "推荐人ID",
  31171. "type": "integer"
  31172. },
  31173. "tradeamount": {
  31174. "description": "成交金额[账户币种,用于所有权]",
  31175. "type": "number"
  31176. },
  31177. "tradedate": {
  31178. "description": "交易日(yyyyMMdd)",
  31179. "type": "string"
  31180. },
  31181. "trademode": {
  31182. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31183. "type": "integer"
  31184. },
  31185. "tradeprice": {
  31186. "description": "成交价格",
  31187. "type": "number"
  31188. },
  31189. "tradeqty": {
  31190. "description": "成交数量",
  31191. "type": "number"
  31192. },
  31193. "tradetime": {
  31194. "description": "成交时间",
  31195. "type": "string"
  31196. },
  31197. "userid": {
  31198. "description": "用户ID",
  31199. "type": "integer"
  31200. }
  31201. }
  31202. },
  31203. "models.QhjTradeGoodsPickup": {
  31204. "type": "object",
  31205. "properties": {
  31206. "accountid": {
  31207. "description": "账户ID",
  31208. "type": "integer"
  31209. },
  31210. "address": {
  31211. "description": "提货人详细地址",
  31212. "type": "string"
  31213. },
  31214. "amount": {
  31215. "description": "提货金额",
  31216. "type": "number"
  31217. },
  31218. "artradedate": {
  31219. "description": "自动收货交易日(yyyyMMdd)",
  31220. "type": "string"
  31221. },
  31222. "auditer": {
  31223. "description": "审核人",
  31224. "type": "integer"
  31225. },
  31226. "auditsrc": {
  31227. "description": "更新来源 - 1:管理端 2:终端",
  31228. "type": "integer"
  31229. },
  31230. "audittime": {
  31231. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  31232. "type": "string"
  31233. },
  31234. "audittradedate": {
  31235. "description": "审核交易日(yyyyMMdd)",
  31236. "type": "string"
  31237. },
  31238. "cardnum": {
  31239. "description": "提货人证件号码",
  31240. "type": "string"
  31241. },
  31242. "cardtypeid": {
  31243. "description": "提货人证件类型",
  31244. "type": "integer"
  31245. },
  31246. "checkremark": {
  31247. "description": "审核备注",
  31248. "type": "string"
  31249. },
  31250. "cityid": {
  31251. "description": "市",
  31252. "type": "integer"
  31253. },
  31254. "cityname": {
  31255. "description": "城市名称",
  31256. "type": "string"
  31257. },
  31258. "confirmtime": {
  31259. "description": "取货时间 或 收货时间",
  31260. "type": "string"
  31261. },
  31262. "countryid": {
  31263. "description": "国家",
  31264. "type": "integer"
  31265. },
  31266. "countryname": {
  31267. "description": "国家名称",
  31268. "type": "string"
  31269. },
  31270. "decimalplace": {
  31271. "description": "商品报价小数位",
  31272. "type": "integer"
  31273. },
  31274. "districtid": {
  31275. "description": "地区",
  31276. "type": "integer"
  31277. },
  31278. "districtname": {
  31279. "description": "地区名称",
  31280. "type": "string"
  31281. },
  31282. "enumdicname": {
  31283. "description": "单位名称(提货商品)",
  31284. "type": "string"
  31285. },
  31286. "expresscompany": {
  31287. "description": "物流公司",
  31288. "type": "string"
  31289. },
  31290. "expressnum": {
  31291. "description": "物流单号",
  31292. "type": "string"
  31293. },
  31294. "goodsagreeunit": {
  31295. "description": "交易商品乘数",
  31296. "type": "number"
  31297. },
  31298. "goodscode": {
  31299. "description": "商品代码",
  31300. "type": "string"
  31301. },
  31302. "goodsid": {
  31303. "description": "商品ID",
  31304. "type": "integer"
  31305. },
  31306. "goodsname": {
  31307. "description": "商品名称",
  31308. "type": "string"
  31309. },
  31310. "goodsqty": {
  31311. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  31312. "type": "number"
  31313. },
  31314. "handlestatus": {
  31315. "description": "处理状态",
  31316. "type": "integer"
  31317. },
  31318. "logincode": {
  31319. "description": "账号(登录代码, 有可能为空)",
  31320. "type": "string"
  31321. },
  31322. "marketid": {
  31323. "description": "市场ID",
  31324. "type": "integer"
  31325. },
  31326. "phonenum": {
  31327. "description": "提货人联系方式",
  31328. "type": "string"
  31329. },
  31330. "pickupgoodsagreeunit": {
  31331. "description": "提货商品合约乘数",
  31332. "type": "number"
  31333. },
  31334. "pickupgoodsid": {
  31335. "description": "提货商品ID",
  31336. "type": "string"
  31337. },
  31338. "pickupgoodsname": {
  31339. "description": "提货商品名称",
  31340. "type": "string"
  31341. },
  31342. "pickupgoodsqty": {
  31343. "description": "提货商品手数(数量)",
  31344. "type": "number"
  31345. },
  31346. "pickupgoodsunitid": {
  31347. "description": "单位ID(提货商品)",
  31348. "type": "integer"
  31349. },
  31350. "pickupratio": {
  31351. "description": "提货系数",
  31352. "type": "number"
  31353. },
  31354. "preparedays": {
  31355. "description": "备货期(天)-提货单明细表",
  31356. "type": "integer"
  31357. },
  31358. "provinceid": {
  31359. "description": "省",
  31360. "type": "integer"
  31361. },
  31362. "provincename": {
  31363. "description": "省名称",
  31364. "type": "string"
  31365. },
  31366. "qty": {
  31367. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  31368. "type": "number"
  31369. },
  31370. "qtydecimalplace": {
  31371. "description": "商品数量小数位",
  31372. "type": "integer"
  31373. },
  31374. "recivername": {
  31375. "description": "提货人姓名",
  31376. "type": "string"
  31377. },
  31378. "reqtime": {
  31379. "description": "提货申请时间",
  31380. "type": "string"
  31381. },
  31382. "storeuserid": {
  31383. "description": "门店用户ID (千海金)",
  31384. "type": "integer"
  31385. },
  31386. "storeusername": {
  31387. "description": "门店用户名称",
  31388. "type": "string"
  31389. },
  31390. "takemode": {
  31391. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  31392. "type": "integer"
  31393. },
  31394. "takeorderid": {
  31395. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  31396. "type": "string"
  31397. },
  31398. "takeorderstatus": {
  31399. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  31400. "type": "integer"
  31401. },
  31402. "takeremark": {
  31403. "description": "提货备注",
  31404. "type": "string"
  31405. },
  31406. "tradedate": {
  31407. "description": "交易日(yyyyMMdd)",
  31408. "type": "string"
  31409. },
  31410. "updatetime": {
  31411. "description": "更新时间",
  31412. "type": "string"
  31413. },
  31414. "userid": {
  31415. "description": "用户ID",
  31416. "type": "integer"
  31417. },
  31418. "userinfotype": {
  31419. "description": "客户类型 1-个人 2-企业",
  31420. "type": "integer"
  31421. },
  31422. "username": {
  31423. "description": "用户名称",
  31424. "type": "string"
  31425. }
  31426. }
  31427. },
  31428. "models.QhjUserNodeCfgAndStatus": {
  31429. "type": "object",
  31430. "properties": {
  31431. "agreementcontent": {
  31432. "description": "协议内容",
  31433. "type": "string"
  31434. },
  31435. "agreementid": {
  31436. "description": "协议ID",
  31437. "type": "integer"
  31438. },
  31439. "agreementname": {
  31440. "description": "协议名称",
  31441. "type": "string"
  31442. },
  31443. "agreementno": {
  31444. "description": "协议编号",
  31445. "type": "string"
  31446. },
  31447. "agreementtype": {
  31448. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31449. "type": "integer"
  31450. },
  31451. "agreementversion": {
  31452. "description": "协议版本号",
  31453. "type": "integer"
  31454. },
  31455. "configid": {
  31456. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31457. "type": "integer"
  31458. },
  31459. "createtime": {
  31460. "description": "创建时间",
  31461. "type": "string"
  31462. },
  31463. "goodsid": {
  31464. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31465. "type": "integer"
  31466. },
  31467. "nodetype": {
  31468. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31469. "type": "integer"
  31470. },
  31471. "signtimestamp": {
  31472. "description": "签约状态时间戳(最近一次)",
  31473. "type": "string"
  31474. },
  31475. "tradedate": {
  31476. "description": "签约交易日(yyyyMMdd)",
  31477. "type": "string"
  31478. },
  31479. "userid": {
  31480. "description": "客户ID",
  31481. "type": "integer"
  31482. }
  31483. }
  31484. },
  31485. "models.Qhjgoodsex": {
  31486. "type": "object",
  31487. "properties": {
  31488. "canfinance": {
  31489. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  31490. "type": "integer"
  31491. },
  31492. "canregularlybuy": {
  31493. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  31494. "type": "integer"
  31495. },
  31496. "defaulttradeuserid": {
  31497. "description": "默认交易用户ID",
  31498. "type": "integer"
  31499. },
  31500. "deliverygoodsid": {
  31501. "description": "现货品种ID",
  31502. "type": "integer"
  31503. },
  31504. "goodsid": {
  31505. "description": "商品ID(自增ID SEQ_GOODS)",
  31506. "type": "integer"
  31507. },
  31508. "minamount": {
  31509. "description": "最小购买金额",
  31510. "type": "number"
  31511. },
  31512. "regularlybuyminamount": {
  31513. "description": "定投最小金额",
  31514. "type": "number"
  31515. },
  31516. "regularlybuyminqty": {
  31517. "description": "定投最小数量",
  31518. "type": "number"
  31519. },
  31520. "spotgoodsbrandid": {
  31521. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  31522. "type": "integer"
  31523. },
  31524. "visibilityforenterprise": {
  31525. "description": "企业客户是否可见 - 0:不可见 1:可见",
  31526. "type": "integer"
  31527. },
  31528. "visibilityforpersonal": {
  31529. "description": "个人客户是否可见 - 0:不可见 1:可见",
  31530. "type": "integer"
  31531. },
  31532. "wrstandardid": {
  31533. "description": "现货商品ID",
  31534. "type": "integer"
  31535. }
  31536. }
  31537. },
  31538. "models.QueryErrorInfosRsp": {
  31539. "type": "object",
  31540. "required": [
  31541. "errorid"
  31542. ],
  31543. "properties": {
  31544. "description": {
  31545. "description": "异常描述",
  31546. "type": "string"
  31547. },
  31548. "errorcode": {
  31549. "description": "异常代码",
  31550. "type": "string"
  31551. },
  31552. "errorid": {
  31553. "description": "异常ID",
  31554. "type": "integer"
  31555. },
  31556. "modulecode": {
  31557. "description": "所属模块",
  31558. "type": "string"
  31559. },
  31560. "operatecode": {
  31561. "description": "所属操作",
  31562. "type": "string"
  31563. },
  31564. "rownumber": {
  31565. "description": "行号",
  31566. "type": "string"
  31567. }
  31568. }
  31569. },
  31570. "models.QueryHedgeOrderDetailRsp": {
  31571. "type": "object",
  31572. "properties": {
  31573. "accountid": {
  31574. "description": "账户ID",
  31575. "type": "integer"
  31576. },
  31577. "buyorsell": {
  31578. "description": "买卖 - 0:买 1:卖",
  31579. "type": "integer"
  31580. },
  31581. "cancellogincode": {
  31582. "description": "撤单人",
  31583. "type": "string"
  31584. },
  31585. "channelbuildtype": {
  31586. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  31587. "type": "integer"
  31588. },
  31589. "channelinnerorderstatus": {
  31590. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  31591. "type": "integer"
  31592. },
  31593. "channeloperatetype": {
  31594. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  31595. "type": "integer"
  31596. },
  31597. "closetype": {
  31598. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31599. "type": "integer"
  31600. },
  31601. "curexchangerate": {
  31602. "description": "当前汇率",
  31603. "type": "number"
  31604. },
  31605. "exchangefullname": {
  31606. "description": "外部交易所全称",
  31607. "type": "string"
  31608. },
  31609. "goodscode": {
  31610. "description": "商品代码(内部)",
  31611. "type": "string"
  31612. },
  31613. "goodsid": {
  31614. "description": "商品ID",
  31615. "type": "integer"
  31616. },
  31617. "goodsname": {
  31618. "description": "商品名称",
  31619. "type": "string"
  31620. },
  31621. "marketid": {
  31622. "description": "市场ID",
  31623. "type": "integer"
  31624. },
  31625. "openfreezemargin": {
  31626. "description": "冻结保证金(冻结交易金额)",
  31627. "type": "number"
  31628. },
  31629. "orderid": {
  31630. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31631. "type": "string"
  31632. },
  31633. "orderlogincode": {
  31634. "description": "委托人",
  31635. "type": "string"
  31636. },
  31637. "orderprice": {
  31638. "description": "委托价格(账户)",
  31639. "type": "number"
  31640. },
  31641. "orderqty": {
  31642. "description": "委托数量",
  31643. "type": "integer"
  31644. },
  31645. "ordertime": {
  31646. "description": "委托时间",
  31647. "type": "string"
  31648. },
  31649. "pricemode": {
  31650. "description": "取价方式 - 1:市价 2: 限价",
  31651. "type": "integer"
  31652. },
  31653. "tradedate": {
  31654. "description": "交易日(yyyyMMdd)",
  31655. "type": "string"
  31656. },
  31657. "tradeqty": {
  31658. "description": "成交数量",
  31659. "type": "integer"
  31660. }
  31661. }
  31662. },
  31663. "models.QueryHedgeTradeDetailRsp": {
  31664. "type": "object",
  31665. "properties": {
  31666. "accountid": {
  31667. "description": "账号ID",
  31668. "type": "integer"
  31669. },
  31670. "buyorsell": {
  31671. "description": "方向 - 0:买 1:卖",
  31672. "type": "integer"
  31673. },
  31674. "channelbuildtype": {
  31675. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31676. "type": "integer"
  31677. },
  31678. "closecharge": {
  31679. "description": "平仓手续费(账户)",
  31680. "type": "number"
  31681. },
  31682. "closecharge2": {
  31683. "description": "平仓手续费(商品)",
  31684. "type": "number"
  31685. },
  31686. "closepl": {
  31687. "description": "平仓盈亏(账户)",
  31688. "type": "number"
  31689. },
  31690. "closepl2": {
  31691. "description": "平仓盈亏(商品)",
  31692. "type": "number"
  31693. },
  31694. "closepl3": {
  31695. "description": "平仓盈亏(账户)(逐笔)",
  31696. "type": "number"
  31697. },
  31698. "closepl4": {
  31699. "description": "平仓盈亏(商品)(逐笔)",
  31700. "type": "number"
  31701. },
  31702. "closetype": {
  31703. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31704. "type": "integer"
  31705. },
  31706. "curexchangerate": {
  31707. "description": "当前汇率",
  31708. "type": "number"
  31709. },
  31710. "exchangefullname": {
  31711. "description": "外部交易所全称",
  31712. "type": "string"
  31713. },
  31714. "goodscode": {
  31715. "description": "商品代码(内部)",
  31716. "type": "string"
  31717. },
  31718. "goodsid": {
  31719. "description": "商品ID",
  31720. "type": "integer"
  31721. },
  31722. "goodsname": {
  31723. "description": "商品名称",
  31724. "type": "string"
  31725. },
  31726. "marketid": {
  31727. "description": "市场ID",
  31728. "type": "integer"
  31729. },
  31730. "opencharge": {
  31731. "description": "建仓手续费(账户)",
  31732. "type": "number"
  31733. },
  31734. "opencharge2": {
  31735. "description": "建仓手续费(商品)",
  31736. "type": "number"
  31737. },
  31738. "orderid": {
  31739. "description": "委托单号",
  31740. "type": "string"
  31741. },
  31742. "orderlogincode": {
  31743. "description": "委托人",
  31744. "type": "string"
  31745. },
  31746. "tradeamount": {
  31747. "description": "成交金额(账户)",
  31748. "type": "number"
  31749. },
  31750. "tradedate": {
  31751. "description": "交易日(yyyyMMdd)",
  31752. "type": "string"
  31753. },
  31754. "tradeid": {
  31755. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31756. "type": "string"
  31757. },
  31758. "tradeprice": {
  31759. "description": "成交价格",
  31760. "type": "number"
  31761. },
  31762. "tradeqty": {
  31763. "description": "成交数量",
  31764. "type": "integer"
  31765. },
  31766. "tradetime": {
  31767. "description": "成交时间",
  31768. "type": "string"
  31769. },
  31770. "tradetype": {
  31771. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  31772. "type": "integer"
  31773. }
  31774. }
  31775. },
  31776. "models.QuotePrimaryMenu": {
  31777. "type": "object",
  31778. "properties": {
  31779. "Index": {
  31780. "description": "序号",
  31781. "type": "integer"
  31782. },
  31783. "Key": {
  31784. "description": "键名",
  31785. "type": "string"
  31786. },
  31787. "Name": {
  31788. "description": "菜单名称",
  31789. "type": "string"
  31790. },
  31791. "SubMenus": {
  31792. "description": "子菜单",
  31793. "type": "array",
  31794. "items": {
  31795. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  31796. }
  31797. },
  31798. "SubTitleType": {
  31799. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  31800. "type": "integer"
  31801. },
  31802. "TradeModes": {
  31803. "description": "包含市场交易类型",
  31804. "type": "string"
  31805. }
  31806. }
  31807. },
  31808. "models.QuoteSecondaryMenu": {
  31809. "type": "object",
  31810. "properties": {
  31811. "ExExchangeCode": {
  31812. "description": "外部交易所代码",
  31813. "type": "string"
  31814. },
  31815. "ExExchangeID": {
  31816. "description": "外部交易所ID",
  31817. "type": "integer"
  31818. },
  31819. "GoodsGroupIDs": {
  31820. "description": "商品组ID列表",
  31821. "type": "array",
  31822. "items": {
  31823. "type": "integer"
  31824. }
  31825. },
  31826. "Index": {
  31827. "description": "序号",
  31828. "type": "integer"
  31829. },
  31830. "MarketID": {
  31831. "description": "市场ID",
  31832. "type": "integer"
  31833. },
  31834. "MenuTitle": {
  31835. "description": "菜单标题(市场名称或外部交易所名称)",
  31836. "type": "string"
  31837. },
  31838. "TradeMode": {
  31839. "description": "交易模式",
  31840. "type": "integer"
  31841. }
  31842. }
  31843. },
  31844. "models.RoleMenu": {
  31845. "type": "object",
  31846. "properties": {
  31847. "hasright": {
  31848. "description": "是否有权限 0-没有权限 1-有权限",
  31849. "type": "integer"
  31850. },
  31851. "iconame": {
  31852. "description": "菜单图标",
  31853. "type": "string"
  31854. },
  31855. "menutype": {
  31856. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  31857. "type": "integer"
  31858. },
  31859. "parentcode": {
  31860. "description": "上级资源代码",
  31861. "type": "string"
  31862. },
  31863. "remark": {
  31864. "description": "菜单备注",
  31865. "type": "string"
  31866. },
  31867. "resourcecode": {
  31868. "description": "菜单代码",
  31869. "type": "string"
  31870. },
  31871. "resourcelevel": {
  31872. "description": "级别",
  31873. "type": "integer"
  31874. },
  31875. "resourcename": {
  31876. "description": "菜单名称",
  31877. "type": "string"
  31878. },
  31879. "roleid": {
  31880. "description": "角色id",
  31881. "type": "integer"
  31882. },
  31883. "sort": {
  31884. "description": "排序",
  31885. "type": "integer"
  31886. },
  31887. "subMenu": {
  31888. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  31889. "type": "array",
  31890. "items": {
  31891. "$ref": "#/definitions/models.RoleMenu"
  31892. }
  31893. },
  31894. "url": {
  31895. "description": "URL",
  31896. "type": "string"
  31897. },
  31898. "userid": {
  31899. "description": "用户id",
  31900. "type": "integer"
  31901. }
  31902. }
  31903. },
  31904. "models.SearchGoods": {
  31905. "type": "object",
  31906. "required": [
  31907. "goodscode",
  31908. "goodsid",
  31909. "goodsname",
  31910. "marketid",
  31911. "trademode"
  31912. ],
  31913. "properties": {
  31914. "goodscode": {
  31915. "description": "商品代码(内部)",
  31916. "type": "string"
  31917. },
  31918. "goodsid": {
  31919. "description": "商品ID(自增ID SEQ_GOODS)",
  31920. "type": "integer"
  31921. },
  31922. "goodsname": {
  31923. "description": "商品名称",
  31924. "type": "string"
  31925. },
  31926. "marketid": {
  31927. "description": "所属市场ID",
  31928. "type": "integer"
  31929. },
  31930. "marketname": {
  31931. "description": "市场名称",
  31932. "type": "string"
  31933. },
  31934. "trademode": {
  31935. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31936. "type": "integer"
  31937. }
  31938. }
  31939. },
  31940. "models.Systemparam": {
  31941. "type": "object",
  31942. "required": [
  31943. "paramcode"
  31944. ],
  31945. "properties": {
  31946. "loginid": {
  31947. "description": "更新用户账号,登录账号",
  31948. "type": "string"
  31949. },
  31950. "modifyflag": {
  31951. "description": "修改标志0 不允许修改 1 允许修改",
  31952. "type": "integer"
  31953. },
  31954. "paramcode": {
  31955. "description": "参数代码",
  31956. "type": "string"
  31957. },
  31958. "paramname": {
  31959. "description": "参数名",
  31960. "type": "string"
  31961. },
  31962. "paramtype": {
  31963. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  31964. "type": "integer"
  31965. },
  31966. "paramvalue": {
  31967. "description": "参数值",
  31968. "type": "string"
  31969. },
  31970. "paramvalue2": {
  31971. "description": "参数值(CLOB)",
  31972. "type": "string"
  31973. },
  31974. "regexpress": {
  31975. "description": "正则表达式",
  31976. "type": "string"
  31977. },
  31978. "remark": {
  31979. "description": "备注",
  31980. "type": "string"
  31981. },
  31982. "serverip": {
  31983. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  31984. "type": "string"
  31985. },
  31986. "showflag": {
  31987. "description": "是否显示0 不显示 1 显示",
  31988. "type": "integer"
  31989. },
  31990. "updatetime": {
  31991. "description": "更新时间",
  31992. "type": "string"
  31993. },
  31994. "userid": {
  31995. "description": "更新用户ID",
  31996. "type": "integer"
  31997. }
  31998. }
  31999. },
  32000. "models.Szdz3convertconfig": {
  32001. "type": "object",
  32002. "required": [
  32003. "converttype",
  32004. "innergoodsid",
  32005. "outergoodscode"
  32006. ],
  32007. "properties": {
  32008. "canin": {
  32009. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  32010. "type": "integer"
  32011. },
  32012. "canout": {
  32013. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  32014. "type": "integer"
  32015. },
  32016. "converttype": {
  32017. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  32018. "type": "integer"
  32019. },
  32020. "createtime": {
  32021. "description": "创建时间",
  32022. "type": "string"
  32023. },
  32024. "creatorid": {
  32025. "description": "创建人",
  32026. "type": "integer"
  32027. },
  32028. "daymaxvalue": {
  32029. "description": "当日最大转入限制",
  32030. "type": "number"
  32031. },
  32032. "freezedays": {
  32033. "description": "冻结天数 [5:花生米转交易]",
  32034. "type": "integer"
  32035. },
  32036. "innergoodsid": {
  32037. "description": "内部商品ID[交易]",
  32038. "type": "integer"
  32039. },
  32040. "inratio": {
  32041. "description": "目标值",
  32042. "type": "integer"
  32043. },
  32044. "modifierid": {
  32045. "description": "修改人",
  32046. "type": "integer"
  32047. },
  32048. "modifytime": {
  32049. "description": "修改时间",
  32050. "type": "string"
  32051. },
  32052. "outergoodscode": {
  32053. "description": "外部商品代码[JD\\PD]",
  32054. "type": "string"
  32055. },
  32056. "outratio": {
  32057. "description": "源值",
  32058. "type": "integer"
  32059. },
  32060. "pddecimalplace": {
  32061. "description": "PD小数位",
  32062. "type": "integer"
  32063. },
  32064. "timemaxvalue": {
  32065. "description": "单次最大转入限制",
  32066. "type": "number"
  32067. },
  32068. "timeminvalue": {
  32069. "description": "单次最小转入限制",
  32070. "type": "number"
  32071. }
  32072. }
  32073. },
  32074. "models.Szdz3searchwhitelist": {
  32075. "type": "object",
  32076. "required": [
  32077. "userid"
  32078. ],
  32079. "properties": {
  32080. "createtime": {
  32081. "description": "创建时间",
  32082. "type": "string"
  32083. },
  32084. "creatorid": {
  32085. "description": "创建人",
  32086. "type": "integer"
  32087. },
  32088. "modifierid": {
  32089. "description": "修改人",
  32090. "type": "integer"
  32091. },
  32092. "modifytime": {
  32093. "description": "修改时间",
  32094. "type": "string"
  32095. },
  32096. "userid": {
  32097. "description": "用户ID",
  32098. "type": "integer"
  32099. }
  32100. }
  32101. },
  32102. "models.TBGoods": {
  32103. "type": "object",
  32104. "properties": {
  32105. "agreeunit": {
  32106. "description": "合约乘数",
  32107. "type": "number"
  32108. },
  32109. "enumdicname": {
  32110. "description": "单位名称",
  32111. "type": "string"
  32112. },
  32113. "goodscode": {
  32114. "description": "商品代码(内部)",
  32115. "type": "string"
  32116. },
  32117. "goodsid": {
  32118. "description": "商品ID(自增ID SEQ_GOODS)",
  32119. "type": "integer"
  32120. },
  32121. "goodsname": {
  32122. "description": "商品名称",
  32123. "type": "string"
  32124. }
  32125. }
  32126. },
  32127. "models.TBGoodsGroup": {
  32128. "type": "object",
  32129. "properties": {
  32130. "GDLST": {
  32131. "description": "商品列表",
  32132. "type": "array",
  32133. "items": {
  32134. "$ref": "#/definitions/models.TBGoods"
  32135. }
  32136. },
  32137. "convertratio": {
  32138. "description": "折算系数",
  32139. "type": "number"
  32140. },
  32141. "enumdicname": {
  32142. "description": "单位名称",
  32143. "type": "string"
  32144. },
  32145. "exexchangecode": {
  32146. "description": "交易所代码",
  32147. "type": "string"
  32148. },
  32149. "exexchangename": {
  32150. "description": "交易所名称",
  32151. "type": "string"
  32152. },
  32153. "goodsgroupid": {
  32154. "description": "商品组ID(自增ID)",
  32155. "type": "integer"
  32156. },
  32157. "goodsgroupname": {
  32158. "description": "商品组名称",
  32159. "type": "string"
  32160. },
  32161. "goodunitid": {
  32162. "description": "报价单位ID",
  32163. "type": "integer"
  32164. }
  32165. }
  32166. },
  32167. "models.TBMiddleGoods": {
  32168. "type": "object",
  32169. "properties": {
  32170. "GPLST": {
  32171. "description": "期货品种列表",
  32172. "type": "array",
  32173. "items": {
  32174. "$ref": "#/definitions/models.TBGoodsGroup"
  32175. }
  32176. },
  32177. "WDLST": {
  32178. "description": "商品信息列表(现货品类)",
  32179. "type": "array",
  32180. "items": {
  32181. "$ref": "#/definitions/models.TBWrstandard"
  32182. }
  32183. },
  32184. "areauserid": {
  32185. "description": "机构用户ID",
  32186. "type": "integer"
  32187. },
  32188. "enumdicname": {
  32189. "description": "单位名称",
  32190. "type": "string"
  32191. },
  32192. "goodsunitid": {
  32193. "description": "套保品种单位id",
  32194. "type": "integer"
  32195. },
  32196. "middlegoodscode": {
  32197. "description": "套保品种代码",
  32198. "type": "string"
  32199. },
  32200. "middlegoodsid": {
  32201. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  32202. "type": "integer"
  32203. },
  32204. "middlegoodsname": {
  32205. "description": "套保品种名称",
  32206. "type": "string"
  32207. },
  32208. "needarbitrageratio": {
  32209. "description": "套利比率",
  32210. "type": "number"
  32211. },
  32212. "needhedgeratio": {
  32213. "description": "套保比率",
  32214. "type": "number"
  32215. }
  32216. }
  32217. },
  32218. "models.TBWrstandard": {
  32219. "type": "object",
  32220. "properties": {
  32221. "convertratio": {
  32222. "description": "折算系数",
  32223. "type": "number"
  32224. },
  32225. "deliverygoodsname": {
  32226. "description": "品种名称",
  32227. "type": "string"
  32228. },
  32229. "enumdicname": {
  32230. "description": "单位名称",
  32231. "type": "string"
  32232. },
  32233. "vatrate": {
  32234. "description": "增值税率",
  32235. "type": "number"
  32236. },
  32237. "wrstandardcode": {
  32238. "description": "现货商品代码",
  32239. "type": "string"
  32240. },
  32241. "wrstandardid": {
  32242. "description": "现货商品ID(SEQ_WRSTANDARD)",
  32243. "type": "integer"
  32244. },
  32245. "wrstandardname": {
  32246. "description": "现货商品名称",
  32247. "type": "string"
  32248. }
  32249. }
  32250. },
  32251. "models.Taaccount": {
  32252. "type": "object",
  32253. "required": [
  32254. "accountid",
  32255. "userid"
  32256. ],
  32257. "properties": {
  32258. "accountflag": {
  32259. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  32260. "type": "integer"
  32261. },
  32262. "accountid": {
  32263. "description": "资金账户ID",
  32264. "type": "integer"
  32265. },
  32266. "accountname": {
  32267. "description": "账户名称",
  32268. "type": "string"
  32269. },
  32270. "balance": {
  32271. "description": "期初余额",
  32272. "type": "number"
  32273. },
  32274. "capitalbalance": {
  32275. "description": "本金余额[外部子账户实际出入金余额]",
  32276. "type": "number"
  32277. },
  32278. "changeflag": {
  32279. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  32280. "type": "integer"
  32281. },
  32282. "changetime": {
  32283. "description": "账户状态变更时间",
  32284. "type": "string"
  32285. },
  32286. "closepl": {
  32287. "description": "今日平仓盈亏",
  32288. "type": "number"
  32289. },
  32290. "creditdecrease": {
  32291. "description": "今日授信减少",
  32292. "type": "number"
  32293. },
  32294. "creditincrease": {
  32295. "description": "今日授信增加",
  32296. "type": "number"
  32297. },
  32298. "curamount": {
  32299. "description": "总市值(从持仓中统计)",
  32300. "type": "number"
  32301. },
  32302. "currencyid": {
  32303. "description": "货币ID",
  32304. "type": "integer"
  32305. },
  32306. "currentbalance": {
  32307. "description": "期末余额",
  32308. "type": "number"
  32309. },
  32310. "freezecharge": {
  32311. "description": "手续费冻结",
  32312. "type": "number"
  32313. },
  32314. "freezemargin": {
  32315. "description": "冻结保证金",
  32316. "type": "number"
  32317. },
  32318. "fromaccountid": {
  32319. "description": "所属上级账户",
  32320. "type": "integer"
  32321. },
  32322. "inamount": {
  32323. "description": "今日入金金额(包括三方入金)",
  32324. "type": "number"
  32325. },
  32326. "ismain": {
  32327. "description": "是否母账号 0:不是母账户 1:是母账户",
  32328. "type": "integer"
  32329. },
  32330. "ismarketaccount": {
  32331. "description": "是否机构接单账号 0:不是 1:是",
  32332. "type": "integer"
  32333. },
  32334. "isreckonaccount": {
  32335. "description": "是否机构分润账号 0:不是 1:是",
  32336. "type": "integer"
  32337. },
  32338. "mortgagecredit": {
  32339. "description": "授信金额",
  32340. "type": "number"
  32341. },
  32342. "orifreezecharge": {
  32343. "description": "期初手续费冻结",
  32344. "type": "number"
  32345. },
  32346. "orifreezemargin": {
  32347. "description": "期初冻结保证金",
  32348. "type": "number"
  32349. },
  32350. "orimortgagecredit": {
  32351. "description": "期初授信金额",
  32352. "type": "number"
  32353. },
  32354. "oriothercredit": {
  32355. "description": "期初其它授信金额",
  32356. "type": "number"
  32357. },
  32358. "oriotherfreezemargin": {
  32359. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  32360. "type": "number"
  32361. },
  32362. "orioutamountfreeze": {
  32363. "description": "期初出金冻结",
  32364. "type": "number"
  32365. },
  32366. "oriusedmargin": {
  32367. "description": "期初占用保证金",
  32368. "type": "number"
  32369. },
  32370. "othercredit": {
  32371. "description": "其它授信金额",
  32372. "type": "number"
  32373. },
  32374. "othercreditdecrease": {
  32375. "description": "今日其它授信减少",
  32376. "type": "number"
  32377. },
  32378. "othercreditincrease": {
  32379. "description": "今日其它授信增加",
  32380. "type": "number"
  32381. },
  32382. "otherfreezemargin": {
  32383. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  32384. "type": "number"
  32385. },
  32386. "otherincome": {
  32387. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  32388. "type": "number"
  32389. },
  32390. "otherpay": {
  32391. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  32392. "type": "number"
  32393. },
  32394. "outamount": {
  32395. "description": "今日出金金额(包括三方出金)",
  32396. "type": "number"
  32397. },
  32398. "outamountfreeze": {
  32399. "description": "出金冻结",
  32400. "type": "number"
  32401. },
  32402. "outthreshold": {
  32403. "description": "出金阈值",
  32404. "type": "number"
  32405. },
  32406. "parentaccountid": {
  32407. "description": "所属根账号",
  32408. "type": "integer"
  32409. },
  32410. "paycharge": {
  32411. "description": "今日手续费支出",
  32412. "type": "number"
  32413. },
  32414. "relatedaccountstatus": {
  32415. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  32416. "type": "integer"
  32417. },
  32418. "relateduserid": {
  32419. "description": "关联用户",
  32420. "type": "integer"
  32421. },
  32422. "remainamount": {
  32423. "description": "融资额(从融资合同中统计)",
  32424. "type": "number"
  32425. },
  32426. "serivcegroup": {
  32427. "description": "服务分组",
  32428. "type": "integer"
  32429. },
  32430. "signstatus": {
  32431. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  32432. "type": "integer"
  32433. },
  32434. "sublevelpath": {
  32435. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  32436. "type": "string"
  32437. },
  32438. "taaccounttype": {
  32439. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  32440. "type": "integer"
  32441. },
  32442. "thirdinamount": {
  32443. "description": "今日三方入金",
  32444. "type": "number"
  32445. },
  32446. "thirdoutamount": {
  32447. "description": "今日三方出金",
  32448. "type": "number"
  32449. },
  32450. "tradestatus": {
  32451. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  32452. "type": "integer"
  32453. },
  32454. "tradestatuschangetime": {
  32455. "description": "激活时间",
  32456. "type": "string"
  32457. },
  32458. "transferamount": {
  32459. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  32460. "type": "number"
  32461. },
  32462. "usedmargin": {
  32463. "description": "占用保证金",
  32464. "type": "number"
  32465. },
  32466. "userid": {
  32467. "description": "用户ID",
  32468. "type": "integer"
  32469. }
  32470. }
  32471. },
  32472. "models.Tablecolumnconfig": {
  32473. "type": "object",
  32474. "required": [
  32475. "autoid"
  32476. ],
  32477. "properties": {
  32478. "aligntype": {
  32479. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  32480. "type": "integer"
  32481. },
  32482. "autoid": {
  32483. "description": "AutoID",
  32484. "type": "integer"
  32485. },
  32486. "columnfield": {
  32487. "description": "列字段",
  32488. "type": "string"
  32489. },
  32490. "columntitle": {
  32491. "description": "列Title",
  32492. "type": "string"
  32493. },
  32494. "columnwidth": {
  32495. "description": "列宽",
  32496. "type": "string"
  32497. },
  32498. "formatterstring": {
  32499. "description": "格式化字符",
  32500. "type": "string"
  32501. },
  32502. "formattertype": {
  32503. "description": "格式化类型",
  32504. "type": "string"
  32505. },
  32506. "groupname": {
  32507. "description": "表头分组名称",
  32508. "type": "string"
  32509. },
  32510. "isshow": {
  32511. "description": "是否显示 - 0:不显示 1:显示",
  32512. "type": "integer"
  32513. },
  32514. "needsummary": {
  32515. "description": "是否需要汇总 - 0:不需要 1:需要",
  32516. "type": "integer"
  32517. },
  32518. "orderindex": {
  32519. "description": "顺序",
  32520. "type": "integer"
  32521. },
  32522. "remark": {
  32523. "description": "备注",
  32524. "type": "string"
  32525. },
  32526. "summarytype": {
  32527. "description": "汇总类型 - 1:加总 2:最后一个",
  32528. "type": "integer"
  32529. },
  32530. "tablekey": {
  32531. "description": "列表Key",
  32532. "type": "string"
  32533. }
  32534. }
  32535. },
  32536. "models.TjmdMarketSection": {
  32537. "type": "object",
  32538. "properties": {
  32539. "marketsectionid": {
  32540. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32541. "type": "integer"
  32542. },
  32543. "marketsectionname": {
  32544. "description": "市场版块名称",
  32545. "type": "string"
  32546. },
  32547. "mlist": {
  32548. "description": "市场列表(板块下面有多少个市场)",
  32549. "type": "array",
  32550. "items": {
  32551. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  32552. }
  32553. },
  32554. "orderindex": {
  32555. "description": "排序",
  32556. "type": "integer"
  32557. },
  32558. "pictureurl": {
  32559. "description": "图片url, 规格(90*90)",
  32560. "type": "string"
  32561. },
  32562. "remark": {
  32563. "description": "备注",
  32564. "type": "string"
  32565. }
  32566. }
  32567. },
  32568. "models.TjmdMarketSectionConfig": {
  32569. "type": "object",
  32570. "properties": {
  32571. "auctionwrtype": {
  32572. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  32573. "type": "integer"
  32574. },
  32575. "canacceptquote": {
  32576. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  32577. "type": "integer"
  32578. },
  32579. "cangoodsexercise": {
  32580. "description": "[期权]是否可现货行权- 0:否 1:是",
  32581. "type": "integer"
  32582. },
  32583. "cangoodsexercisetype": {
  32584. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  32585. "type": "integer"
  32586. },
  32587. "canmanualquotestrike": {
  32588. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  32589. "type": "integer"
  32590. },
  32591. "canmutistage": {
  32592. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  32593. "type": "integer"
  32594. },
  32595. "canpreexercise": {
  32596. "description": "[期权]是否可预申报- 0:否 1:是",
  32597. "type": "integer"
  32598. },
  32599. "clearinterval": {
  32600. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  32601. "type": "integer"
  32602. },
  32603. "contracttmp": {
  32604. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  32605. "type": "string"
  32606. },
  32607. "exchareaid": {
  32608. "description": "所属交易所,可以没有",
  32609. "type": "integer"
  32610. },
  32611. "financemarketid": {
  32612. "description": "融资回购市场ID [仓单贸易]",
  32613. "type": "integer"
  32614. },
  32615. "goodstype": {
  32616. "description": "商品类型 - 1:交易商品 2:仓单商品",
  32617. "type": "integer"
  32618. },
  32619. "hasrebate": {
  32620. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  32621. "type": "integer"
  32622. },
  32623. "hastradecredit": {
  32624. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  32625. "type": "integer"
  32626. },
  32627. "haswr": {
  32628. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  32629. "type": "integer"
  32630. },
  32631. "isdeductmargin": {
  32632. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  32633. "type": "integer"
  32634. },
  32635. "isrecordsource": {
  32636. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  32637. "type": "integer"
  32638. },
  32639. "isreleasemargin": {
  32640. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  32641. "type": "integer"
  32642. },
  32643. "isupdatereckonprice": {
  32644. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  32645. "type": "integer"
  32646. },
  32647. "listingmode": {
  32648. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  32649. "type": "integer"
  32650. },
  32651. "marginformula": {
  32652. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32653. "type": "integer"
  32654. },
  32655. "marginformula2": {
  32656. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32657. "type": "integer"
  32658. },
  32659. "marketid": {
  32660. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  32661. "type": "integer"
  32662. },
  32663. "marketname": {
  32664. "description": "市场名称",
  32665. "type": "string"
  32666. },
  32667. "marketsectionid": {
  32668. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32669. "type": "integer"
  32670. },
  32671. "marketserviceid": {
  32672. "description": "市场服务ID",
  32673. "type": "integer"
  32674. },
  32675. "marketstatus": {
  32676. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  32677. "type": "integer"
  32678. },
  32679. "markettype": {
  32680. "description": "市场类型- 1:非交易服务 2:交易服务",
  32681. "type": "integer"
  32682. },
  32683. "matchermode": {
  32684. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  32685. "type": "integer"
  32686. },
  32687. "nowrquotaflag": {
  32688. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  32689. "type": "integer"
  32690. },
  32691. "openmethod": {
  32692. "description": "开盘模式 - 0 自动 1手动",
  32693. "type": "integer"
  32694. },
  32695. "orderindex": {
  32696. "description": "排序",
  32697. "type": "integer"
  32698. },
  32699. "otcuserid": {
  32700. "description": "场外期权做市商[场外期权]",
  32701. "type": "integer"
  32702. },
  32703. "outersynctime": {
  32704. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  32705. "type": "string"
  32706. },
  32707. "paylaterflag": {
  32708. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  32709. "type": "integer"
  32710. },
  32711. "pendingflag": {
  32712. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  32713. "type": "integer"
  32714. },
  32715. "pendingtime": {
  32716. "description": "待开市时间[通道交易-对冲](HH:mm)",
  32717. "type": "string"
  32718. },
  32719. "performancetempid": {
  32720. "description": "履约计划模板ID - 作废",
  32721. "type": "integer"
  32722. },
  32723. "premiumquotemode": {
  32724. "description": "权利金报价方式 - 1:自动 2:手动",
  32725. "type": "integer"
  32726. },
  32727. "rebateratio": {
  32728. "description": "返利比率[竞价式]",
  32729. "type": "number"
  32730. },
  32731. "reckonorder": {
  32732. "description": "结算顺序",
  32733. "type": "integer"
  32734. },
  32735. "reckonpricealgorithm": {
  32736. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  32737. "type": "integer"
  32738. },
  32739. "reckonpriceparam": {
  32740. "description": "结算价参数",
  32741. "type": "integer"
  32742. },
  32743. "reckontime": {
  32744. "description": "结算时间[通道交易-对冲](HH:mm)",
  32745. "type": "string"
  32746. },
  32747. "roleprioritytype": {
  32748. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  32749. "type": "integer"
  32750. },
  32751. "selllistingauditflag": {
  32752. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  32753. "type": "integer"
  32754. },
  32755. "trademarkettype": {
  32756. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  32757. "type": "integer"
  32758. },
  32759. "trademode": {
  32760. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32761. "type": "integer"
  32762. },
  32763. "tradeproperty": {
  32764. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  32765. "type": "integer"
  32766. },
  32767. "tradetype": {
  32768. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  32769. "type": "integer"
  32770. },
  32771. "updatereckonpriceinterval": {
  32772. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  32773. "type": "integer"
  32774. }
  32775. }
  32776. },
  32777. "models.TjmdQuoteGoods": {
  32778. "type": "object",
  32779. "properties": {
  32780. "buyqty": {
  32781. "description": "买量(暂不做, 无值, 保留字段)",
  32782. "type": "number"
  32783. },
  32784. "goodscode": {
  32785. "description": "合约代码",
  32786. "type": "string"
  32787. },
  32788. "goodsgroupid": {
  32789. "description": "商品组ID(自增ID)",
  32790. "type": "integer"
  32791. },
  32792. "goodsgroupname": {
  32793. "description": "商品组名称",
  32794. "type": "string"
  32795. },
  32796. "goodsid": {
  32797. "description": "合约id",
  32798. "type": "integer"
  32799. },
  32800. "goodsname": {
  32801. "description": "合约名称",
  32802. "type": "string"
  32803. },
  32804. "refgoodscode": {
  32805. "description": "标的合约代码",
  32806. "type": "string"
  32807. },
  32808. "refgoodsid": {
  32809. "description": "标的合约id",
  32810. "type": "integer"
  32811. },
  32812. "refgoodsname": {
  32813. "description": "标的合约名称",
  32814. "type": "string"
  32815. },
  32816. "sellqty": {
  32817. "description": "卖量(暂不做, 无值, 保留字段)",
  32818. "type": "number"
  32819. }
  32820. }
  32821. },
  32822. "models.TjmdTodayAccountMargin": {
  32823. "type": "object",
  32824. "properties": {
  32825. "accountid": {
  32826. "description": "账号ID",
  32827. "type": "integer"
  32828. },
  32829. "goodsid": {
  32830. "description": "商品ID",
  32831. "type": "integer"
  32832. },
  32833. "infoc": {
  32834. "description": "配置参数",
  32835. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  32836. },
  32837. "marketid": {
  32838. "description": "市场ID",
  32839. "type": "integer"
  32840. }
  32841. }
  32842. },
  32843. "models.TjmdTradeOrderDetail": {
  32844. "type": "object",
  32845. "properties": {
  32846. "buyorsell": {
  32847. "description": "买卖方向 0-买 1-卖",
  32848. "type": "integer"
  32849. },
  32850. "goodsid": {
  32851. "description": "商品id",
  32852. "type": "integer"
  32853. },
  32854. "marketmaxsub": {
  32855. "description": "市价最大偏移范围 [浮动价 - 点差]",
  32856. "type": "number"
  32857. },
  32858. "orderid": {
  32859. "description": "委托单号",
  32860. "type": "string"
  32861. },
  32862. "orderprice": {
  32863. "description": "委托价格",
  32864. "type": "number"
  32865. },
  32866. "orderqty": {
  32867. "description": "委托数量",
  32868. "type": "integer"
  32869. },
  32870. "pricemode": {
  32871. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  32872. "type": "integer"
  32873. },
  32874. "userid": {
  32875. "description": "用户id",
  32876. "type": "integer"
  32877. },
  32878. "username": {
  32879. "description": "用户名称(已脱敏)",
  32880. "type": "string"
  32881. }
  32882. }
  32883. },
  32884. "models.TjmdTransferApply": {
  32885. "type": "object",
  32886. "properties": {
  32887. "applyid": {
  32888. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  32889. "type": "integer"
  32890. },
  32891. "applystatus": {
  32892. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  32893. "type": "integer"
  32894. },
  32895. "applytime": {
  32896. "description": "申请时间(时间)",
  32897. "type": "string"
  32898. },
  32899. "auditremark": {
  32900. "description": "审核备注(拒绝原因?)",
  32901. "type": "string"
  32902. },
  32903. "begindate": {
  32904. "description": "开始交易日(yyyymmdd)",
  32905. "type": "string"
  32906. },
  32907. "buyorsell": {
  32908. "description": "买卖 - 0:买 1:卖",
  32909. "type": "integer"
  32910. },
  32911. "enddate": {
  32912. "description": "结束交易日(yyyymmdd)",
  32913. "type": "string"
  32914. },
  32915. "goodscode": {
  32916. "description": "商品代码",
  32917. "type": "string"
  32918. },
  32919. "goodsid": {
  32920. "description": "商品ID",
  32921. "type": "integer"
  32922. },
  32923. "goodsname": {
  32924. "description": "商品名称",
  32925. "type": "string"
  32926. },
  32927. "marketid": {
  32928. "description": "市场ID",
  32929. "type": "integer"
  32930. },
  32931. "qty": {
  32932. "description": "转让数量(数量)",
  32933. "type": "number"
  32934. },
  32935. "tradeid": {
  32936. "description": "成交单号(关联持仓)",
  32937. "type": "string"
  32938. },
  32939. "transferamount": {
  32940. "description": "转让总金额(金额)",
  32941. "type": "number"
  32942. },
  32943. "transferprice": {
  32944. "description": "转让价格(协议价格)",
  32945. "type": "number"
  32946. }
  32947. }
  32948. },
  32949. "models.TradeHolderDetail": {
  32950. "type": "object",
  32951. "properties": {
  32952. "accountid": {
  32953. "description": "账号ID",
  32954. "type": "integer"
  32955. },
  32956. "agreeunit": {
  32957. "description": "合约乘数",
  32958. "type": "number"
  32959. },
  32960. "buyorsell": {
  32961. "description": "方向 - 0:买 1:卖",
  32962. "type": "integer"
  32963. },
  32964. "currencyid": {
  32965. "description": "商品币种id",
  32966. "type": "integer"
  32967. },
  32968. "currencyname": {
  32969. "description": "币种名称",
  32970. "type": "string"
  32971. },
  32972. "decimalplace": {
  32973. "description": "商品价格小数位",
  32974. "type": "integer"
  32975. },
  32976. "enumdicname": {
  32977. "description": "商品单位名称",
  32978. "type": "string"
  32979. },
  32980. "expirecycle": {
  32981. "description": "行权周期(天) - 1:滚动行权时填写",
  32982. "type": "integer"
  32983. },
  32984. "expiredate": {
  32985. "description": "行权日(yyyyMMdd) - 到期日",
  32986. "type": "string"
  32987. },
  32988. "expiretype": {
  32989. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  32990. "type": "integer"
  32991. },
  32992. "freezeqty": {
  32993. "description": "冻结数量",
  32994. "type": "number"
  32995. },
  32996. "goodscode": {
  32997. "description": "商品代码",
  32998. "type": "string"
  32999. },
  33000. "goodsid": {
  33001. "description": "商品ID",
  33002. "type": "integer"
  33003. },
  33004. "goodsname": {
  33005. "description": "商品名称",
  33006. "type": "string"
  33007. },
  33008. "goodunitid": {
  33009. "description": "商品单位id",
  33010. "type": "integer"
  33011. },
  33012. "holderamount": {
  33013. "description": "持仓金额",
  33014. "type": "number"
  33015. },
  33016. "holdercredit": {
  33017. "description": "持仓授信金额",
  33018. "type": "number"
  33019. },
  33020. "holderdays": {
  33021. "description": "剩余冻结天数",
  33022. "type": "integer"
  33023. },
  33024. "holderprice": {
  33025. "description": "持仓价格",
  33026. "type": "number"
  33027. },
  33028. "holderqty": {
  33029. "description": "持仓数量",
  33030. "type": "number"
  33031. },
  33032. "isconfirmexercise": {
  33033. "description": "是否确认行权- 0:否 1:是",
  33034. "type": "integer"
  33035. },
  33036. "ispreexercise": {
  33037. "description": "是否预申报- 0:否 1:是 2:不可行权",
  33038. "type": "integer"
  33039. },
  33040. "marketid": {
  33041. "description": "市场id",
  33042. "type": "integer"
  33043. },
  33044. "marketname": {
  33045. "description": "市场名称",
  33046. "type": "string"
  33047. },
  33048. "openprice": {
  33049. "description": "建仓价格",
  33050. "type": "number"
  33051. },
  33052. "openqty": {
  33053. "description": "建仓数量",
  33054. "type": "number"
  33055. },
  33056. "optiontype": {
  33057. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33058. "type": "integer"
  33059. },
  33060. "preexerciseprice": {
  33061. "description": "预申报价格",
  33062. "type": "number"
  33063. },
  33064. "premium": {
  33065. "description": "权利金",
  33066. "type": "number"
  33067. },
  33068. "qtydecimalplace": {
  33069. "description": "商品成交量小数位",
  33070. "type": "integer"
  33071. },
  33072. "refgoodscode": {
  33073. "description": "标的合约代码",
  33074. "type": "string"
  33075. },
  33076. "refgoodsid": {
  33077. "description": "标的合约id",
  33078. "type": "integer"
  33079. },
  33080. "releaseamount": {
  33081. "description": "释放持仓金额",
  33082. "type": "number"
  33083. },
  33084. "releaseholdercredit": {
  33085. "description": "释放持仓授信金额",
  33086. "type": "number"
  33087. },
  33088. "taname": {
  33089. "description": "资金账号名称",
  33090. "type": "string"
  33091. },
  33092. "tradeamount": {
  33093. "description": "成交金额",
  33094. "type": "number"
  33095. },
  33096. "tradedate": {
  33097. "description": "交易日(yyyyMMdd)",
  33098. "type": "string"
  33099. },
  33100. "tradeid": {
  33101. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33102. "type": "string"
  33103. },
  33104. "trademode": {
  33105. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  33106. "type": "integer"
  33107. },
  33108. "tradeproperty": {
  33109. "description": "交易属性",
  33110. "type": "integer"
  33111. },
  33112. "tradetime": {
  33113. "description": "交易时间",
  33114. "type": "string"
  33115. },
  33116. "userid": {
  33117. "description": "用户id",
  33118. "type": "integer"
  33119. },
  33120. "username": {
  33121. "description": "用户名称",
  33122. "type": "string"
  33123. }
  33124. }
  33125. },
  33126. "models.UserCollectConfig": {
  33127. "type": "object",
  33128. "properties": {
  33129. "accountstatus": {
  33130. "description": "账户状态 - 1:正常 2:停用 3:注销",
  33131. "type": "integer"
  33132. },
  33133. "collectaccountname": {
  33134. "description": "收款人账户名称",
  33135. "type": "string"
  33136. },
  33137. "collectaccountno": {
  33138. "description": "收款人账户",
  33139. "type": "string"
  33140. },
  33141. "collectbankname": {
  33142. "description": "收款人开户行",
  33143. "type": "string"
  33144. },
  33145. "collectbranchbankname": {
  33146. "description": "收款人开户支行",
  33147. "type": "string"
  33148. },
  33149. "collectconfigid": {
  33150. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  33151. "type": "string"
  33152. },
  33153. "remark": {
  33154. "description": "备注",
  33155. "type": "string"
  33156. },
  33157. "userid": {
  33158. "description": "收款人用户ID",
  33159. "type": "integer"
  33160. }
  33161. }
  33162. },
  33163. "models.UserReceiveInfo": {
  33164. "type": "object",
  33165. "properties": {
  33166. "address": {
  33167. "description": "提货人详细地址",
  33168. "type": "string"
  33169. },
  33170. "autoid": {
  33171. "description": "AutoID",
  33172. "type": "integer"
  33173. },
  33174. "cardnum": {
  33175. "description": "证件号码(加密存储)",
  33176. "type": "string"
  33177. },
  33178. "cardtypeid": {
  33179. "description": "证件类型",
  33180. "type": "integer"
  33181. },
  33182. "cityid": {
  33183. "description": "市",
  33184. "type": "integer"
  33185. },
  33186. "cityname": {
  33187. "description": "城市名称",
  33188. "type": "string"
  33189. },
  33190. "countryid": {
  33191. "description": "国家",
  33192. "type": "integer"
  33193. },
  33194. "countryname": {
  33195. "description": "国家名称",
  33196. "type": "string"
  33197. },
  33198. "districtid": {
  33199. "description": "地区",
  33200. "type": "integer"
  33201. },
  33202. "districtname": {
  33203. "description": "地区名称",
  33204. "type": "string"
  33205. },
  33206. "hasencrypt": {
  33207. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33208. "type": "integer"
  33209. },
  33210. "isdefault": {
  33211. "description": "是否默认地址 - 0:否 1:是",
  33212. "type": "integer"
  33213. },
  33214. "phonenum": {
  33215. "description": "提货人联系方式(加密存储)",
  33216. "type": "string"
  33217. },
  33218. "provinceid": {
  33219. "description": "省",
  33220. "type": "integer"
  33221. },
  33222. "provincename": {
  33223. "description": "省名称",
  33224. "type": "string"
  33225. },
  33226. "receivername": {
  33227. "description": "提货人姓名",
  33228. "type": "string"
  33229. },
  33230. "takeremark": {
  33231. "description": "提货备注",
  33232. "type": "string"
  33233. },
  33234. "userid": {
  33235. "description": "用户ID",
  33236. "type": "integer"
  33237. }
  33238. }
  33239. },
  33240. "models.Useraccount": {
  33241. "type": "object",
  33242. "required": [
  33243. "userid"
  33244. ],
  33245. "properties": {
  33246. "accountname": {
  33247. "description": "账户名称(机构名称)",
  33248. "type": "string"
  33249. },
  33250. "accountstatus": {
  33251. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33252. "type": "integer"
  33253. },
  33254. "applysrc": {
  33255. "description": "申请来源 - 1:管理端 2:终端",
  33256. "type": "integer"
  33257. },
  33258. "auditremark": {
  33259. "description": "审核备注",
  33260. "type": "string"
  33261. },
  33262. "auditsrc": {
  33263. "description": "审核来源 - 1:管理端 2:终端",
  33264. "type": "integer"
  33265. },
  33266. "audittime": {
  33267. "description": "审核时间",
  33268. "type": "string"
  33269. },
  33270. "audituserid": {
  33271. "description": "审核人",
  33272. "type": "integer"
  33273. },
  33274. "broker": {
  33275. "description": "所属经纪人ID",
  33276. "type": "integer"
  33277. },
  33278. "canceltime": {
  33279. "description": "销户时间",
  33280. "type": "string"
  33281. },
  33282. "canceluserid": {
  33283. "description": "销户人",
  33284. "type": "integer"
  33285. },
  33286. "canrecommend": {
  33287. "description": "是否可推荐 - 0:不可 1;可",
  33288. "type": "integer"
  33289. },
  33290. "createtime": {
  33291. "description": "创建时间",
  33292. "type": "string"
  33293. },
  33294. "creatorid": {
  33295. "description": "创建人",
  33296. "type": "integer"
  33297. },
  33298. "hasauth": {
  33299. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  33300. "type": "integer"
  33301. },
  33302. "isanonymous": {
  33303. "description": "是否匿名下单 - 0:否 1:是",
  33304. "type": "integer"
  33305. },
  33306. "maxinvestornum": {
  33307. "description": "最大用户数(经纪会员下投资者个数)",
  33308. "type": "integer"
  33309. },
  33310. "memberuserid": {
  33311. "description": "所属会员ID",
  33312. "type": "integer"
  33313. },
  33314. "modifierid": {
  33315. "description": "修改人",
  33316. "type": "integer"
  33317. },
  33318. "modifyremark": {
  33319. "description": "变更备注",
  33320. "type": "string"
  33321. },
  33322. "modifystatus": {
  33323. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  33324. "type": "integer"
  33325. },
  33326. "modifytime": {
  33327. "description": "修改时间",
  33328. "type": "string"
  33329. },
  33330. "parenttopuser": {
  33331. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  33332. "type": "string"
  33333. },
  33334. "parentuserid": {
  33335. "description": "所属机构ID",
  33336. "type": "integer"
  33337. },
  33338. "reckonaccountid": {
  33339. "description": "默认结算资金账号ID(机构分润使用) 作废",
  33340. "type": "integer"
  33341. },
  33342. "refercount": {
  33343. "description": "推荐总人数",
  33344. "type": "integer"
  33345. },
  33346. "refereeuserid": {
  33347. "description": "推荐人ID",
  33348. "type": "integer"
  33349. },
  33350. "refernum": {
  33351. "description": "推荐码",
  33352. "type": "string"
  33353. },
  33354. "rootuserid": {
  33355. "description": "根用户ID",
  33356. "type": "integer"
  33357. },
  33358. "subaccountlevel": {
  33359. "description": "子账户层数",
  33360. "type": "integer"
  33361. },
  33362. "subarealevelpath": {
  33363. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  33364. "type": "string"
  33365. },
  33366. "userid": {
  33367. "description": "用户ID",
  33368. "type": "integer"
  33369. },
  33370. "usertype": {
  33371. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  33372. "type": "integer"
  33373. }
  33374. }
  33375. },
  33376. "models.Userfavoritegoods": {
  33377. "type": "object",
  33378. "required": [
  33379. "goodsid"
  33380. ],
  33381. "properties": {
  33382. "goodsid": {
  33383. "description": "商品ID",
  33384. "type": "integer"
  33385. }
  33386. }
  33387. },
  33388. "models.Userinfo": {
  33389. "type": "object",
  33390. "required": [
  33391. "userid"
  33392. ],
  33393. "properties": {
  33394. "address": {
  33395. "description": "地址",
  33396. "type": "string"
  33397. },
  33398. "attachment1": {
  33399. "description": "附件1",
  33400. "type": "string"
  33401. },
  33402. "attachment2": {
  33403. "description": "附件2",
  33404. "type": "string"
  33405. },
  33406. "bankaccount": {
  33407. "description": "银行帐号 (加密存储)",
  33408. "type": "string"
  33409. },
  33410. "bankaccountname": {
  33411. "description": "收款人名称",
  33412. "type": "string"
  33413. },
  33414. "bankcardfrontphotourl": {
  33415. "description": "银行卡正面照地址",
  33416. "type": "string"
  33417. },
  33418. "bankid": {
  33419. "description": "银行编码",
  33420. "type": "string"
  33421. },
  33422. "bankname": {
  33423. "description": "银行名称",
  33424. "type": "string"
  33425. },
  33426. "biznature": {
  33427. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  33428. "type": "integer"
  33429. },
  33430. "bizscope": {
  33431. "description": "企业经营范围(企业)",
  33432. "type": "string"
  33433. },
  33434. "cardbackphotourl": {
  33435. "description": "证件背面图片地址",
  33436. "type": "string"
  33437. },
  33438. "cardfrontphotourl": {
  33439. "description": "证件正面图片地址",
  33440. "type": "string"
  33441. },
  33442. "cardnum": {
  33443. "description": "证件号码(加密存储)",
  33444. "type": "string"
  33445. },
  33446. "cardtypeid": {
  33447. "description": "证件类型ID",
  33448. "type": "integer"
  33449. },
  33450. "cityid": {
  33451. "description": "市",
  33452. "type": "integer"
  33453. },
  33454. "company": {
  33455. "description": "公司(个人)",
  33456. "type": "string"
  33457. },
  33458. "contactname": {
  33459. "description": "联系人",
  33460. "type": "string"
  33461. },
  33462. "countryid": {
  33463. "description": "国家",
  33464. "type": "integer"
  33465. },
  33466. "createtime": {
  33467. "description": "创建时间",
  33468. "type": "string"
  33469. },
  33470. "creatorid": {
  33471. "description": "创建人",
  33472. "type": "integer"
  33473. },
  33474. "customername": {
  33475. "description": "客户名称(企业名称)",
  33476. "type": "string"
  33477. },
  33478. "districtid": {
  33479. "description": "地区",
  33480. "type": "integer"
  33481. },
  33482. "email": {
  33483. "description": "邮件(加密存储)",
  33484. "type": "string"
  33485. },
  33486. "fax": {
  33487. "description": "传真(加密存储)",
  33488. "type": "string"
  33489. },
  33490. "halfbodyphotourl": {
  33491. "description": "半身照地址",
  33492. "type": "string"
  33493. },
  33494. "hasencrypt": {
  33495. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33496. "type": "integer"
  33497. },
  33498. "headurl": {
  33499. "description": "头像地址",
  33500. "type": "string"
  33501. },
  33502. "legalcardbackphotourl": {
  33503. "description": "法人身份证背面照地址",
  33504. "type": "string"
  33505. },
  33506. "legalcardfrontphotourl": {
  33507. "description": "法人身份证正面照地址",
  33508. "type": "string"
  33509. },
  33510. "legalpersonname": {
  33511. "description": "法人姓名(企业)",
  33512. "type": "string"
  33513. },
  33514. "mobile": {
  33515. "description": "手机号码(加密存储)",
  33516. "type": "string"
  33517. },
  33518. "mobile2": {
  33519. "description": "手机号码[明文-尚志]",
  33520. "type": "string"
  33521. },
  33522. "modifierid": {
  33523. "description": "修改人",
  33524. "type": "integer"
  33525. },
  33526. "modifiertime": {
  33527. "description": "修改时间",
  33528. "type": "string"
  33529. },
  33530. "needinvoice": {
  33531. "description": "是否需要发票 - 0:不需要 1:需要",
  33532. "type": "integer"
  33533. },
  33534. "nickname": {
  33535. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  33536. "type": "string"
  33537. },
  33538. "openmode": {
  33539. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  33540. "type": "integer"
  33541. },
  33542. "otherurl": {
  33543. "description": "其它图片地址[使用分号分隔]",
  33544. "type": "string"
  33545. },
  33546. "postalcode": {
  33547. "description": "邮政编码",
  33548. "type": "string"
  33549. },
  33550. "provinceid": {
  33551. "description": "省",
  33552. "type": "integer"
  33553. },
  33554. "qq": {
  33555. "description": "QQ(加密存储",
  33556. "type": "string"
  33557. },
  33558. "remark": {
  33559. "description": "备注",
  33560. "type": "string"
  33561. },
  33562. "sex": {
  33563. "description": "用户性别 0: 女 1: 男",
  33564. "type": "integer"
  33565. },
  33566. "signpdfurl": {
  33567. "description": "签约pdf文件",
  33568. "type": "string"
  33569. },
  33570. "telphone": {
  33571. "description": "联系电话(加密存储)",
  33572. "type": "string"
  33573. },
  33574. "userid": {
  33575. "description": "用户ID",
  33576. "type": "integer"
  33577. },
  33578. "userinfotype": {
  33579. "description": "用户信息类型 - 1:个人 2:企业",
  33580. "type": "integer"
  33581. },
  33582. "userstatus": {
  33583. "description": "用户状态 - 1:正常 2:注销",
  33584. "type": "integer"
  33585. },
  33586. "usertype": {
  33587. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  33588. "type": "integer"
  33589. },
  33590. "wechat": {
  33591. "description": "微信(加密存储)",
  33592. "type": "string"
  33593. },
  33594. "wskhinfo": {
  33595. "description": "开户申请信息(JSON)",
  33596. "type": "string"
  33597. }
  33598. }
  33599. },
  33600. "models.WRSConverTDetail": {
  33601. "type": "object",
  33602. "properties": {
  33603. "convertratio": {
  33604. "description": "套保系数",
  33605. "type": "number"
  33606. },
  33607. "deliverygoodscode": {
  33608. "description": "现货商品代码",
  33609. "type": "string"
  33610. },
  33611. "deliverygoodsid": {
  33612. "description": "现货品种ID",
  33613. "type": "integer"
  33614. },
  33615. "deliverygoodsname": {
  33616. "description": "现货商品名称",
  33617. "type": "string"
  33618. },
  33619. "enumdicname": {
  33620. "description": "单位名称",
  33621. "type": "string"
  33622. },
  33623. "goodsunitid": {
  33624. "description": "套保品种单位id",
  33625. "type": "integer"
  33626. },
  33627. "middlegoodscode": {
  33628. "description": "套保品种代码",
  33629. "type": "string"
  33630. },
  33631. "middlegoodsid": {
  33632. "description": "套保品种ID",
  33633. "type": "integer"
  33634. },
  33635. "middlegoodsname": {
  33636. "description": "套保品种名称",
  33637. "type": "string"
  33638. },
  33639. "modifytime": {
  33640. "description": "修改时间",
  33641. "type": "string"
  33642. },
  33643. "wrstandardid": {
  33644. "description": "品类ID",
  33645. "type": "integer"
  33646. }
  33647. }
  33648. },
  33649. "models.WRStandardInfo": {
  33650. "type": "object",
  33651. "required": [
  33652. "wrstandardid"
  33653. ],
  33654. "properties": {
  33655. "areauserid": {
  33656. "description": "所属机构",
  33657. "type": "integer"
  33658. },
  33659. "convertfactor": {
  33660. "description": "标仓系数",
  33661. "type": "number"
  33662. },
  33663. "createtime": {
  33664. "description": "创建时间",
  33665. "type": "string"
  33666. },
  33667. "creatorid": {
  33668. "description": "创建人",
  33669. "type": "integer"
  33670. },
  33671. "deliverygoodsid": {
  33672. "description": "品种ID",
  33673. "type": "integer"
  33674. },
  33675. "deliverygoodsname": {
  33676. "description": "交割商品名称",
  33677. "type": "string"
  33678. },
  33679. "factoryitemjson": {
  33680. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  33681. "type": "string"
  33682. },
  33683. "isvalid": {
  33684. "description": "是否有效 - 0:无效 1:有效",
  33685. "type": "integer"
  33686. },
  33687. "minivalue": {
  33688. "description": "最小变动值",
  33689. "type": "integer"
  33690. },
  33691. "minivaluedp": {
  33692. "description": "最小变动值小数位",
  33693. "type": "integer"
  33694. },
  33695. "realminivalue": {
  33696. "description": "实际最小变动值",
  33697. "type": "integer"
  33698. },
  33699. "realminivaluedp": {
  33700. "description": "实际最小变动值小数位",
  33701. "type": "integer"
  33702. },
  33703. "remark": {
  33704. "description": "备注",
  33705. "type": "string"
  33706. },
  33707. "unitid": {
  33708. "description": "单位ID",
  33709. "type": "integer"
  33710. },
  33711. "unitname": {
  33712. "description": "单位",
  33713. "type": "string"
  33714. },
  33715. "updatetime": {
  33716. "description": "更新时间",
  33717. "type": "string"
  33718. },
  33719. "updatorid": {
  33720. "description": "更新人",
  33721. "type": "integer"
  33722. },
  33723. "wrsstatus": {
  33724. "description": "状态 - 作废 - 0:未激活 1:正常",
  33725. "type": "integer"
  33726. },
  33727. "wrstandardcode": {
  33728. "description": "现货品类代码",
  33729. "type": "string"
  33730. },
  33731. "wrstandardid": {
  33732. "description": "现货品类ID(SEQ_WRSTANDARD)",
  33733. "type": "integer"
  33734. },
  33735. "wrstandardname": {
  33736. "description": "现货品类名称",
  33737. "type": "string"
  33738. }
  33739. }
  33740. },
  33741. "models.WRTradeBargainApply": {
  33742. "type": "object",
  33743. "properties": {
  33744. "accountid": {
  33745. "description": "摘牌资金账号",
  33746. "type": "integer"
  33747. },
  33748. "applyprice": {
  33749. "description": "申请价格(议价价格)",
  33750. "type": "string"
  33751. },
  33752. "applyqty": {
  33753. "description": "摘牌数量(议价数量)",
  33754. "type": "number"
  33755. },
  33756. "applyremark": {
  33757. "description": "申请备注",
  33758. "type": "string"
  33759. },
  33760. "applystatus": {
  33761. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  33762. "type": "integer"
  33763. },
  33764. "applytime": {
  33765. "description": "申请时间(议价时间)",
  33766. "type": "string"
  33767. },
  33768. "begindate": {
  33769. "description": "开始交易日(yyyymmdd)",
  33770. "type": "string"
  33771. },
  33772. "buyorsell": {
  33773. "description": "买卖(挂牌类型) - 0:买 1:卖",
  33774. "type": "integer"
  33775. },
  33776. "confirmremark": {
  33777. "description": "确认备注",
  33778. "type": "string"
  33779. },
  33780. "confirmtime": {
  33781. "description": "确认时间",
  33782. "type": "string"
  33783. },
  33784. "confirmuserid": {
  33785. "description": "确认人",
  33786. "type": "integer"
  33787. },
  33788. "deliverygoodscode": {
  33789. "description": "品种代码",
  33790. "type": "string"
  33791. },
  33792. "deliverygoodsid": {
  33793. "description": "品种ID",
  33794. "type": "integer"
  33795. },
  33796. "deliverygoodsname": {
  33797. "description": "品种名称",
  33798. "type": "string"
  33799. },
  33800. "deliverymonth": {
  33801. "description": "交收月",
  33802. "type": "string"
  33803. },
  33804. "enddate": {
  33805. "description": "结束交易日(yyyymmdd)",
  33806. "type": "string"
  33807. },
  33808. "enumdicname": {
  33809. "description": "单位名称",
  33810. "type": "string"
  33811. },
  33812. "fixedprice": {
  33813. "description": "挂牌价格",
  33814. "type": "number"
  33815. },
  33816. "handlestatus": {
  33817. "description": "处理状态",
  33818. "type": "integer"
  33819. },
  33820. "marginvalue": {
  33821. "description": "履约保证金比例",
  33822. "type": "number"
  33823. },
  33824. "marketid": {
  33825. "description": "市场ID",
  33826. "type": "integer"
  33827. },
  33828. "matchaccountid": {
  33829. "description": "挂牌方资金账号",
  33830. "type": "integer"
  33831. },
  33832. "matchuserid": {
  33833. "description": "挂牌方用户id",
  33834. "type": "integer"
  33835. },
  33836. "matchusername": {
  33837. "description": "挂牌方用户名称(已脱敏)",
  33838. "type": "string"
  33839. },
  33840. "minivalue": {
  33841. "description": "现货商品最小变动值",
  33842. "type": "integer"
  33843. },
  33844. "optioncompare": {
  33845. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33846. "type": "string"
  33847. },
  33848. "orderqty": {
  33849. "description": "挂牌数量",
  33850. "type": "integer"
  33851. },
  33852. "refprice": {
  33853. "description": "参考价格",
  33854. "type": "string"
  33855. },
  33856. "retcode": {
  33857. "description": "委托返回代码",
  33858. "type": "integer"
  33859. },
  33860. "templatename": {
  33861. "description": "履约方式(履约模板名称)",
  33862. "type": "string"
  33863. },
  33864. "tradedate": {
  33865. "description": "交易日(yyyyMMdd)",
  33866. "type": "string"
  33867. },
  33868. "userid": {
  33869. "description": "摘牌人用户ID(议价人ID)",
  33870. "type": "integer"
  33871. },
  33872. "username": {
  33873. "description": "议价人名字(已脱敏)",
  33874. "type": "string"
  33875. },
  33876. "validtime": {
  33877. "description": "有效期限",
  33878. "type": "string"
  33879. },
  33880. "warehouseid": {
  33881. "description": "仓库ID",
  33882. "type": "integer"
  33883. },
  33884. "warehousename": {
  33885. "description": "仓库名称",
  33886. "type": "string"
  33887. },
  33888. "wrbargainid": {
  33889. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  33890. "type": "string"
  33891. },
  33892. "wrfactortypeid": {
  33893. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33894. "type": "string"
  33895. },
  33896. "wrfactortypename": {
  33897. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33898. "type": "string"
  33899. },
  33900. "wrstandardcode": {
  33901. "description": "现货商品代码",
  33902. "type": "string"
  33903. },
  33904. "wrstandardid": {
  33905. "description": "现货商品ID",
  33906. "type": "integer"
  33907. },
  33908. "wrstandardname": {
  33909. "description": "商品名称",
  33910. "type": "string"
  33911. },
  33912. "wrtradeorderid": {
  33913. "description": "关联委托单ID",
  33914. "type": "string"
  33915. },
  33916. "wrtypename": {
  33917. "description": "商品",
  33918. "type": "string"
  33919. }
  33920. }
  33921. },
  33922. "models.Warehouseinfo": {
  33923. "type": "object",
  33924. "required": [
  33925. "autoid",
  33926. "warehousecode"
  33927. ],
  33928. "properties": {
  33929. "address": {
  33930. "description": "详细地址",
  33931. "type": "string"
  33932. },
  33933. "areauserid": {
  33934. "description": "所属机构",
  33935. "type": "integer"
  33936. },
  33937. "autoid": {
  33938. "description": "自增ID",
  33939. "type": "integer"
  33940. },
  33941. "cityid": {
  33942. "description": "市",
  33943. "type": "integer"
  33944. },
  33945. "contactname": {
  33946. "description": "联系人",
  33947. "type": "string"
  33948. },
  33949. "contactnum": {
  33950. "description": "联系电话",
  33951. "type": "string"
  33952. },
  33953. "countryid": {
  33954. "description": "国家",
  33955. "type": "integer"
  33956. },
  33957. "createtime": {
  33958. "description": "创建时间",
  33959. "type": "string"
  33960. },
  33961. "districtid": {
  33962. "description": "区",
  33963. "type": "integer"
  33964. },
  33965. "hasvideo": {
  33966. "description": "是否有视频 - 0:无 1:有",
  33967. "type": "integer"
  33968. },
  33969. "provinceid": {
  33970. "description": "省",
  33971. "type": "integer"
  33972. },
  33973. "remark": {
  33974. "description": "审核备注",
  33975. "type": "string"
  33976. },
  33977. "videourl": {
  33978. "description": "视频地址",
  33979. "type": "string"
  33980. },
  33981. "warehousecode": {
  33982. "description": "仓库代码",
  33983. "type": "string"
  33984. },
  33985. "warehousename": {
  33986. "description": "仓库名称",
  33987. "type": "string"
  33988. },
  33989. "warehousestatus": {
  33990. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  33991. "type": "integer"
  33992. },
  33993. "warehousetype": {
  33994. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  33995. "type": "integer"
  33996. }
  33997. }
  33998. },
  33999. "models.WrAverageTradePrice": {
  34000. "type": "object",
  34001. "properties": {
  34002. "averageprice": {
  34003. "description": "成交均价",
  34004. "type": "number"
  34005. },
  34006. "tradedate": {
  34007. "description": "交易日yyyymm",
  34008. "type": "string"
  34009. }
  34010. }
  34011. },
  34012. "models.WrBsGoodsInfo": {
  34013. "type": "object",
  34014. "properties": {
  34015. "buyorsell": {
  34016. "description": "买卖方向 0-买 1-卖",
  34017. "type": "integer"
  34018. },
  34019. "goodsid": {
  34020. "description": "交易合约ID",
  34021. "type": "integer"
  34022. },
  34023. "lstitem": {
  34024. "description": "商品信息项",
  34025. "type": "array",
  34026. "items": {
  34027. "$ref": "#/definitions/models.WrTypeItem"
  34028. }
  34029. },
  34030. "lststep": {
  34031. "description": "履约规则",
  34032. "type": "array",
  34033. "items": {
  34034. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34035. }
  34036. }
  34037. }
  34038. },
  34039. "models.WrBuybackDetail": {
  34040. "type": "object",
  34041. "properties": {
  34042. "buybackamount": {
  34043. "description": "回购金额",
  34044. "type": "number"
  34045. },
  34046. "buybackqty": {
  34047. "description": "回购数量",
  34048. "type": "number"
  34049. },
  34050. "buybackreleasemargin": {
  34051. "description": "回购释放保证金",
  34052. "type": "number"
  34053. },
  34054. "buybacktime": {
  34055. "description": "回购时间",
  34056. "type": "string"
  34057. },
  34058. "errordesc": {
  34059. "description": "错误描述",
  34060. "type": "string"
  34061. },
  34062. "handlestatus": {
  34063. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  34064. "type": "integer"
  34065. },
  34066. "relatedwrid": {
  34067. "description": "关联仓单ID",
  34068. "type": "integer"
  34069. },
  34070. "scfcontractid": {
  34071. "description": "SCF合同ID",
  34072. "type": "string"
  34073. },
  34074. "scfwrbuybackid": {
  34075. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  34076. "type": "integer"
  34077. },
  34078. "tradedate": {
  34079. "description": "交易日(yyyyMMdd)",
  34080. "type": "string"
  34081. }
  34082. }
  34083. },
  34084. "models.WrDeliveryAvalidHoldLB": {
  34085. "type": "object",
  34086. "properties": {
  34087. "accountid": {
  34088. "description": "资金账号",
  34089. "type": "integer"
  34090. },
  34091. "avalidqty": {
  34092. "description": "数量(可点选数量)",
  34093. "type": "number"
  34094. },
  34095. "deliverygoodsid": {
  34096. "description": "品种id",
  34097. "type": "integer"
  34098. },
  34099. "enumdicname": {
  34100. "description": "单位名称",
  34101. "type": "string"
  34102. },
  34103. "goodsid": {
  34104. "description": "x合约商品id",
  34105. "type": "integer"
  34106. },
  34107. "ladingbillid": {
  34108. "description": "提单id",
  34109. "type": "string"
  34110. },
  34111. "pgoodscode": {
  34112. "description": "p商品代码(点价合约)",
  34113. "type": "string"
  34114. },
  34115. "pgoodsid": {
  34116. "description": "p商品id(点价合约)",
  34117. "type": "integer"
  34118. },
  34119. "pgoodsname": {
  34120. "description": "p商品名称(点价合约)",
  34121. "type": "string"
  34122. },
  34123. "pricemove": {
  34124. "description": "升贴水",
  34125. "type": "number"
  34126. },
  34127. "subnum": {
  34128. "description": "提单子id",
  34129. "type": "integer"
  34130. },
  34131. "userid": {
  34132. "description": "用户id",
  34133. "type": "integer"
  34134. },
  34135. "username": {
  34136. "description": "仓单持有人",
  34137. "type": "string"
  34138. },
  34139. "warehousecode": {
  34140. "description": "仓库代码",
  34141. "type": "string"
  34142. },
  34143. "warehouseid": {
  34144. "description": "仓库id",
  34145. "type": "integer"
  34146. },
  34147. "warehousename": {
  34148. "description": "仓库名称",
  34149. "type": "string"
  34150. },
  34151. "wrfactortypeid": {
  34152. "description": "仓单要素id",
  34153. "type": "string"
  34154. },
  34155. "wrstandardcode": {
  34156. "description": "品代码",
  34157. "type": "string"
  34158. },
  34159. "wrstandardid": {
  34160. "description": "品类d",
  34161. "type": "integer"
  34162. },
  34163. "wrstandardname": {
  34164. "description": "品类名称",
  34165. "type": "string"
  34166. },
  34167. "wrtypename": {
  34168. "description": "商品",
  34169. "type": "string"
  34170. },
  34171. "xgoodscode": {
  34172. "description": "x合约代码",
  34173. "type": "string"
  34174. },
  34175. "xgoodsname": {
  34176. "description": "x合约名称",
  34177. "type": "string"
  34178. }
  34179. }
  34180. },
  34181. "models.WrDeliveryDetail": {
  34182. "type": "object",
  34183. "properties": {
  34184. "accountid": {
  34185. "description": "账号ID",
  34186. "type": "integer"
  34187. },
  34188. "averageprice": {
  34189. "description": "交割均价 = 交割金额 / 交割数量",
  34190. "type": "number"
  34191. },
  34192. "begindate": {
  34193. "description": "开始交易日(yyyymmdd)",
  34194. "type": "string"
  34195. },
  34196. "buyorsell": {
  34197. "description": "方向 - 0:买 1:卖",
  34198. "type": "integer"
  34199. },
  34200. "deliveryamount": {
  34201. "description": "货款金额(X总货款+P总货款)",
  34202. "type": "number"
  34203. },
  34204. "deliveryid": {
  34205. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  34206. "type": "string"
  34207. },
  34208. "deliveryorderid": {
  34209. "description": "申报单号",
  34210. "type": "string"
  34211. },
  34212. "deliverypricemove": {
  34213. "description": "升贴水(升贴水总额)",
  34214. "type": "number"
  34215. },
  34216. "deliveryqty": {
  34217. "description": "交收数量(点选数量)",
  34218. "type": "number"
  34219. },
  34220. "deliverystatus": {
  34221. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  34222. "type": "integer"
  34223. },
  34224. "deliverytime": {
  34225. "description": "交割时间",
  34226. "type": "string"
  34227. },
  34228. "deliverytotalamount": {
  34229. "description": "交收金额",
  34230. "type": "number"
  34231. },
  34232. "enddate": {
  34233. "description": "结束交易日(yyyymmdd)",
  34234. "type": "string"
  34235. },
  34236. "enumdicname": {
  34237. "description": "单位名称",
  34238. "type": "string"
  34239. },
  34240. "matchaccountid": {
  34241. "description": "对手账号ID",
  34242. "type": "integer"
  34243. },
  34244. "matchusername": {
  34245. "description": "对手方名称(仓单持有人)",
  34246. "type": "string"
  34247. },
  34248. "p1goodsremainamount": {
  34249. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34250. "type": "number"
  34251. },
  34252. "pdeliverycloseqty": {
  34253. "description": "p合约平仓数量",
  34254. "type": "number"
  34255. },
  34256. "pdeliveryprice": {
  34257. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34258. "type": "number"
  34259. },
  34260. "pgoodscode": {
  34261. "description": "商品代码",
  34262. "type": "string"
  34263. },
  34264. "pgoodsid": {
  34265. "description": "p点选合约id",
  34266. "type": "integer"
  34267. },
  34268. "pgoodsname": {
  34269. "description": "商品名称",
  34270. "type": "string"
  34271. },
  34272. "ppricemode": {
  34273. "description": "点价价格方式 - 1:商品价 2:固定值",
  34274. "type": "integer"
  34275. },
  34276. "tradedate": {
  34277. "description": "交易日(yyyymmdd)",
  34278. "type": "string"
  34279. },
  34280. "userid": {
  34281. "description": "用户id",
  34282. "type": "integer"
  34283. },
  34284. "username": {
  34285. "description": "用户名称",
  34286. "type": "string"
  34287. },
  34288. "warehousename": {
  34289. "description": "仓库名称",
  34290. "type": "string"
  34291. },
  34292. "wrfactortypeid": {
  34293. "description": "仓单要素类型ID",
  34294. "type": "string"
  34295. },
  34296. "wrtypename": {
  34297. "description": "商品",
  34298. "type": "string"
  34299. },
  34300. "xdeliverycloseqty": {
  34301. "description": "合约数量",
  34302. "type": "number"
  34303. },
  34304. "xgoodsamount": {
  34305. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  34306. "type": "number"
  34307. },
  34308. "xgoodscode": {
  34309. "description": "商品代码",
  34310. "type": "string"
  34311. },
  34312. "xgoodsid": {
  34313. "description": "x交易合约ID",
  34314. "type": "integer"
  34315. },
  34316. "xgoodsname": {
  34317. "description": "商品名称",
  34318. "type": "string"
  34319. }
  34320. }
  34321. },
  34322. "models.WrDeliveryGoodsSection": {
  34323. "type": "object",
  34324. "properties": {
  34325. "dglst": {
  34326. "description": "板块商品列表",
  34327. "type": "array",
  34328. "items": {
  34329. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  34330. }
  34331. },
  34332. "imagepath": {
  34333. "description": "图片地址",
  34334. "type": "string"
  34335. },
  34336. "orderindex": {
  34337. "description": "排序",
  34338. "type": "integer"
  34339. },
  34340. "sectionid": {
  34341. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  34342. "type": "integer"
  34343. },
  34344. "sectionname": {
  34345. "description": "版块名称",
  34346. "type": "string"
  34347. },
  34348. "sectiontype": {
  34349. "description": "版块类型 - 1:指数版块 2:普通版块",
  34350. "type": "integer"
  34351. }
  34352. }
  34353. },
  34354. "models.WrDeliveryGoodsSectionConfig": {
  34355. "type": "object",
  34356. "properties": {
  34357. "deliverygoodscode": {
  34358. "description": "现货商品代码",
  34359. "type": "string"
  34360. },
  34361. "deliverygoodsid": {
  34362. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  34363. "type": "integer"
  34364. },
  34365. "deliverygoodsname": {
  34366. "description": "现货商品名称",
  34367. "type": "string"
  34368. },
  34369. "orderindex": {
  34370. "description": "排序",
  34371. "type": "integer"
  34372. }
  34373. }
  34374. },
  34375. "models.WrFAProductDetail": {
  34376. "type": "object",
  34377. "properties": {
  34378. "accountid": {
  34379. "description": "资金账号",
  34380. "type": "integer"
  34381. },
  34382. "areauserid": {
  34383. "description": "金融机构ID",
  34384. "type": "integer"
  34385. },
  34386. "financingdays": {
  34387. "description": "天数(天)",
  34388. "type": "integer"
  34389. },
  34390. "interestminlen": {
  34391. "description": "最小起息天数",
  34392. "type": "integer"
  34393. },
  34394. "interestrate": {
  34395. "description": "利率",
  34396. "type": "number"
  34397. },
  34398. "interestratemode": {
  34399. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34400. "type": "integer"
  34401. },
  34402. "interestsettlemode": {
  34403. "description": "结息方式 - 1:按日结息 3:按月结息",
  34404. "type": "integer"
  34405. },
  34406. "interestsettlevalue": {
  34407. "description": "结息方式值",
  34408. "type": "integer"
  34409. },
  34410. "isautoloan": {
  34411. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  34412. "type": "integer"
  34413. },
  34414. "loantag": {
  34415. "description": "放款标识: \"放款快\" 或者为空",
  34416. "type": "string"
  34417. },
  34418. "marginratio": {
  34419. "description": "保证金比率质押率 - [仓单质押]",
  34420. "type": "number"
  34421. },
  34422. "productdetailid": {
  34423. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  34424. "type": "integer"
  34425. },
  34426. "productid": {
  34427. "description": "金融产品ID",
  34428. "type": "integer"
  34429. },
  34430. "productname": {
  34431. "description": "产品名称",
  34432. "type": "string"
  34433. },
  34434. "updatetime": {
  34435. "description": "更新时间",
  34436. "type": "string"
  34437. },
  34438. "username": {
  34439. "description": "融出方",
  34440. "type": "string"
  34441. }
  34442. }
  34443. },
  34444. "models.WrFactorTypeInfo": {
  34445. "type": "object",
  34446. "properties": {
  34447. "deliverygoodscode": {
  34448. "description": "品种代码",
  34449. "type": "string"
  34450. },
  34451. "deliverygoodsname": {
  34452. "description": "品种名称",
  34453. "type": "string"
  34454. },
  34455. "dgfactoryitemid": {
  34456. "description": "选择项id",
  34457. "type": "integer"
  34458. },
  34459. "dgfactoryitemtypeid": {
  34460. "description": "要素选择项ID (1-仓库 2-品牌)",
  34461. "type": "integer"
  34462. },
  34463. "dgfactoryitemvalue": {
  34464. "description": "要素项值",
  34465. "type": "string"
  34466. },
  34467. "itemtypename": {
  34468. "description": "要素项名称",
  34469. "type": "string"
  34470. },
  34471. "optioncompare": {
  34472. "description": "选择比较串",
  34473. "type": "string"
  34474. },
  34475. "warehouseid": {
  34476. "description": "仓库id",
  34477. "type": "integer"
  34478. },
  34479. "wrfactortypeid": {
  34480. "description": "仓单要素ID",
  34481. "type": "string"
  34482. },
  34483. "wrfactortypename": {
  34484. "description": "要素名称",
  34485. "type": "string"
  34486. },
  34487. "wrfactortypename2": {
  34488. "description": "要素名称(不含仓库)",
  34489. "type": "string"
  34490. },
  34491. "wrstandardcode": {
  34492. "description": "品类代码",
  34493. "type": "string"
  34494. },
  34495. "wrstandardid": {
  34496. "description": "品类id",
  34497. "type": "integer"
  34498. },
  34499. "wrstandardname": {
  34500. "description": "品类名称",
  34501. "type": "string"
  34502. }
  34503. }
  34504. },
  34505. "models.WrFilterItem": {
  34506. "type": "object",
  34507. "properties": {
  34508. "itemcode": {
  34509. "description": "代码",
  34510. "type": "string"
  34511. },
  34512. "itemid": {
  34513. "description": "项id",
  34514. "type": "integer"
  34515. },
  34516. "itemname": {
  34517. "description": "名称",
  34518. "type": "string"
  34519. },
  34520. "itemtype": {
  34521. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  34522. "type": "integer"
  34523. }
  34524. }
  34525. },
  34526. "models.WrFinanceBuyApply": {
  34527. "type": "object",
  34528. "properties": {
  34529. "applydate": {
  34530. "description": "申请时间",
  34531. "type": "string"
  34532. },
  34533. "applystatus": {
  34534. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  34535. "type": "integer"
  34536. },
  34537. "applyuserid": {
  34538. "description": "申请人",
  34539. "type": "integer"
  34540. },
  34541. "auditdate": {
  34542. "description": "审核时间",
  34543. "type": "string"
  34544. },
  34545. "auditremark": {
  34546. "description": "审核备注",
  34547. "type": "string"
  34548. },
  34549. "audituserid": {
  34550. "description": "审核人",
  34551. "type": "integer"
  34552. },
  34553. "buyaccountid": {
  34554. "description": "买方资金账号",
  34555. "type": "integer"
  34556. },
  34557. "buyorsell": {
  34558. "description": "买卖 - 0:买 1:卖",
  34559. "type": "integer"
  34560. },
  34561. "buyuserid": {
  34562. "description": "买方用户ID",
  34563. "type": "integer"
  34564. },
  34565. "buyusername": {
  34566. "description": "买方名称",
  34567. "type": "string"
  34568. },
  34569. "buywrtradeorderid": {
  34570. "description": "融资方买委托单ID",
  34571. "type": "string"
  34572. },
  34573. "deliverygoodscode": {
  34574. "description": "品种代码",
  34575. "type": "string"
  34576. },
  34577. "deliverygoodsid": {
  34578. "description": "品种ID",
  34579. "type": "integer"
  34580. },
  34581. "deliverygoodsname": {
  34582. "description": "品种名称",
  34583. "type": "string"
  34584. },
  34585. "deliverymonth": {
  34586. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  34587. "type": "string"
  34588. },
  34589. "enumdicname": {
  34590. "description": "单位名称",
  34591. "type": "string"
  34592. },
  34593. "financeaccountid": {
  34594. "description": "融资方资金帐户ID",
  34595. "type": "integer"
  34596. },
  34597. "financeapplyid": {
  34598. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34599. "type": "string"
  34600. },
  34601. "financeareauserid": {
  34602. "description": "融资方用户ID",
  34603. "type": "string"
  34604. },
  34605. "financename": {
  34606. "description": "融出方名称",
  34607. "type": "string"
  34608. },
  34609. "financetype": {
  34610. "description": "融资类型 1-融资回购",
  34611. "type": "integer"
  34612. },
  34613. "financingdays": {
  34614. "description": "天数(天)",
  34615. "type": "integer"
  34616. },
  34617. "freezebuymargin": {
  34618. "description": "冻结融资保证金(买方)",
  34619. "type": "number"
  34620. },
  34621. "handleremark": {
  34622. "description": "处理备注",
  34623. "type": "string"
  34624. },
  34625. "handlestatus": {
  34626. "description": "处理状态",
  34627. "type": "integer"
  34628. },
  34629. "interestminlen": {
  34630. "description": "最小起息天数",
  34631. "type": "integer"
  34632. },
  34633. "interestrate": {
  34634. "description": "利率",
  34635. "type": "number"
  34636. },
  34637. "interestratemode": {
  34638. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34639. "type": "integer"
  34640. },
  34641. "interestsettlemode": {
  34642. "description": "结息方式 - 1:按日结息 3:按月结息",
  34643. "type": "integer"
  34644. },
  34645. "interestsettlevalue": {
  34646. "description": "结息方式值",
  34647. "type": "integer"
  34648. },
  34649. "isautoloan": {
  34650. "description": "是否自动放款 - 0:手动 1:自动",
  34651. "type": "integer"
  34652. },
  34653. "marginratio": {
  34654. "description": "保证金比率质押率 - [仓单质押]",
  34655. "type": "number"
  34656. },
  34657. "marketid": {
  34658. "description": "市场ID",
  34659. "type": "integer"
  34660. },
  34661. "minivalue": {
  34662. "description": "现货商品最小变动值",
  34663. "type": "integer"
  34664. },
  34665. "optioncompare": {
  34666. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34667. "type": "string"
  34668. },
  34669. "orderqty": {
  34670. "description": "委托数量(商品数量)",
  34671. "type": "number"
  34672. },
  34673. "productdetailid": {
  34674. "description": "产品组合ID",
  34675. "type": "integer"
  34676. },
  34677. "productid": {
  34678. "description": "金融产品ID",
  34679. "type": "integer"
  34680. },
  34681. "productname": {
  34682. "description": "产品名称",
  34683. "type": "string"
  34684. },
  34685. "remark": {
  34686. "description": "备注",
  34687. "type": "string"
  34688. },
  34689. "scfcontractid": {
  34690. "description": "仓单回购合同ID",
  34691. "type": "string"
  34692. },
  34693. "sellaccountid": {
  34694. "description": "卖方资金账号",
  34695. "type": "integer"
  34696. },
  34697. "selluserid": {
  34698. "description": "卖方用户ID",
  34699. "type": "integer"
  34700. },
  34701. "sellwrtradeorderid": {
  34702. "description": "卖方委托单ID",
  34703. "type": "string"
  34704. },
  34705. "tradeamount": {
  34706. "description": "成交金额(借款金额)",
  34707. "type": "number"
  34708. },
  34709. "tradedate": {
  34710. "description": "交易日(yyyyMMdd)",
  34711. "type": "string"
  34712. },
  34713. "tradeprice": {
  34714. "description": "成交价格",
  34715. "type": "number"
  34716. },
  34717. "warehouseid": {
  34718. "description": "仓库ID",
  34719. "type": "integer"
  34720. },
  34721. "warehousename": {
  34722. "description": "仓库名称",
  34723. "type": "string"
  34724. },
  34725. "wrfactortypeid": {
  34726. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34727. "type": "string"
  34728. },
  34729. "wrfactortypename": {
  34730. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34731. "type": "string"
  34732. },
  34733. "wrpricetype": {
  34734. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  34735. "type": "integer"
  34736. },
  34737. "wrstandardcode": {
  34738. "description": "现货商品代码",
  34739. "type": "string"
  34740. },
  34741. "wrstandardid": {
  34742. "description": "现货商品ID",
  34743. "type": "integer"
  34744. },
  34745. "wrstandardname": {
  34746. "description": "商品名称",
  34747. "type": "string"
  34748. },
  34749. "wrtypename": {
  34750. "description": "商品",
  34751. "type": "string"
  34752. }
  34753. }
  34754. },
  34755. "models.WrFriendApply": {
  34756. "type": "object",
  34757. "properties": {
  34758. "applicantid": {
  34759. "description": "申请人",
  34760. "type": "integer"
  34761. },
  34762. "applyname": {
  34763. "description": "申请人名称",
  34764. "type": "string"
  34765. },
  34766. "applysrc": {
  34767. "description": "申请来源 - 1:管理端 2:终端",
  34768. "type": "integer"
  34769. },
  34770. "applystatus": {
  34771. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34772. "type": "integer"
  34773. },
  34774. "applytime": {
  34775. "description": "申请时间",
  34776. "type": "string"
  34777. },
  34778. "auditname": {
  34779. "description": "审核人名称",
  34780. "type": "string"
  34781. },
  34782. "auditorid": {
  34783. "description": "审核人",
  34784. "type": "integer"
  34785. },
  34786. "auditremark": {
  34787. "description": "审核备注",
  34788. "type": "string"
  34789. },
  34790. "auditsrc": {
  34791. "description": "审核来源 - 1:管理端 2:终端",
  34792. "type": "integer"
  34793. },
  34794. "audittime": {
  34795. "description": "审核时间",
  34796. "type": "string"
  34797. },
  34798. "friendapplyid": {
  34799. "description": "申请ID(SEQ_FRIENDAPPLY)",
  34800. "type": "string"
  34801. },
  34802. "friendname": {
  34803. "description": "好友名字(已脱敏)",
  34804. "type": "string"
  34805. },
  34806. "frienduserid": {
  34807. "description": "好友用户ID",
  34808. "type": "string"
  34809. },
  34810. "remark": {
  34811. "description": "备注",
  34812. "type": "string"
  34813. },
  34814. "userid": {
  34815. "description": "申请人用户ID",
  34816. "type": "integer"
  34817. }
  34818. }
  34819. },
  34820. "models.WrFtDeliveryGoods": {
  34821. "type": "object",
  34822. "properties": {
  34823. "deliverygoodscode": {
  34824. "description": "品种代码",
  34825. "type": "string"
  34826. },
  34827. "deliverygoodsid": {
  34828. "description": "品种ID",
  34829. "type": "integer"
  34830. },
  34831. "deliverygoodsname": {
  34832. "description": "品种名称",
  34833. "type": "string"
  34834. },
  34835. "wdlst": {
  34836. "description": "商品列表",
  34837. "type": "array",
  34838. "items": {
  34839. "$ref": "#/definitions/models.WrFtWrstandard"
  34840. }
  34841. }
  34842. }
  34843. },
  34844. "models.WrFtWrstandard": {
  34845. "type": "object",
  34846. "properties": {
  34847. "enumdicname": {
  34848. "description": "单位名称",
  34849. "type": "string"
  34850. },
  34851. "minivalue": {
  34852. "description": "最小变动值",
  34853. "type": "integer"
  34854. },
  34855. "wrstandardcode": {
  34856. "description": "现货商品代码",
  34857. "type": "string"
  34858. },
  34859. "wrstandardid": {
  34860. "description": "现货商品ID",
  34861. "type": "integer"
  34862. },
  34863. "wrstandardname": {
  34864. "description": "商品名称",
  34865. "type": "string"
  34866. }
  34867. }
  34868. },
  34869. "models.WrGoodsInfo": {
  34870. "type": "object",
  34871. "properties": {
  34872. "haswr": {
  34873. "description": "0:仓单预售 1:仓单贸易",
  34874. "type": "integer"
  34875. },
  34876. "lstitem": {
  34877. "description": "商品信息项",
  34878. "type": "array",
  34879. "items": {
  34880. "$ref": "#/definitions/models.WrTypeItem"
  34881. }
  34882. },
  34883. "lststep": {
  34884. "description": "履约规则",
  34885. "type": "array",
  34886. "items": {
  34887. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34888. }
  34889. },
  34890. "marketid": {
  34891. "description": "市场id",
  34892. "type": "integer"
  34893. }
  34894. }
  34895. },
  34896. "models.WrGoodsPerformanceStep": {
  34897. "type": "object",
  34898. "properties": {
  34899. "autoid": {
  34900. "description": "AutoID",
  34901. "type": "integer"
  34902. },
  34903. "isauto": {
  34904. "description": "是否自动 - 0:不自动 1:自动",
  34905. "type": "integer"
  34906. },
  34907. "remark": {
  34908. "description": "备注",
  34909. "type": "string"
  34910. },
  34911. "stepdate": {
  34912. "description": "天数信息(T+N)",
  34913. "type": "string"
  34914. },
  34915. "stepdays": {
  34916. "description": "距离上一步天数",
  34917. "type": "integer"
  34918. },
  34919. "stepindex": {
  34920. "description": "步骤序号",
  34921. "type": "integer"
  34922. },
  34923. "stepinfo": {
  34924. "description": "步骤信息(步骤名称+步骤值)",
  34925. "type": "string"
  34926. },
  34927. "steptypeid": {
  34928. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34929. "type": "integer"
  34930. },
  34931. "steptypename": {
  34932. "description": "步骤名称",
  34933. "type": "string"
  34934. },
  34935. "stepvalue": {
  34936. "description": "步骤值",
  34937. "type": "number"
  34938. },
  34939. "templateid": {
  34940. "description": "履约计划模板ID",
  34941. "type": "integer"
  34942. }
  34943. }
  34944. },
  34945. "models.WrHoldLB": {
  34946. "type": "object",
  34947. "properties": {
  34948. "accountid": {
  34949. "description": "持有人帐户ID",
  34950. "type": "integer"
  34951. },
  34952. "createtime": {
  34953. "description": "创建时间(过户时间)",
  34954. "type": "string"
  34955. },
  34956. "deliverygoodscode": {
  34957. "description": "品种代码",
  34958. "type": "string"
  34959. },
  34960. "deliverygoodsid": {
  34961. "description": "品种ID",
  34962. "type": "integer"
  34963. },
  34964. "deliverygoodsname": {
  34965. "description": "品种名称",
  34966. "type": "string"
  34967. },
  34968. "enableqty": {
  34969. "description": "可用数量",
  34970. "type": "number"
  34971. },
  34972. "enumdicname": {
  34973. "description": "单位名称",
  34974. "type": "string"
  34975. },
  34976. "freezerqty": {
  34977. "description": "冻结数量",
  34978. "type": "number"
  34979. },
  34980. "ladingbillid": {
  34981. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34982. "type": "string"
  34983. },
  34984. "minivalue": {
  34985. "description": "现货商品最小变动值",
  34986. "type": "integer"
  34987. },
  34988. "optioncompare": {
  34989. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34990. "type": "string"
  34991. },
  34992. "parentsubnum": {
  34993. "description": "拆分父子单号",
  34994. "type": "integer"
  34995. },
  34996. "pledgeqty": {
  34997. "description": "质押数量",
  34998. "type": "number"
  34999. },
  35000. "qty": {
  35001. "description": "数量",
  35002. "type": "number"
  35003. },
  35004. "subnum": {
  35005. "description": "提单子单号",
  35006. "type": "integer"
  35007. },
  35008. "tradedate": {
  35009. "description": "交易日(yyyyMMdd)",
  35010. "type": "string"
  35011. },
  35012. "userid": {
  35013. "description": "持有人ID",
  35014. "type": "integer"
  35015. },
  35016. "warehouseid": {
  35017. "description": "仓库ID",
  35018. "type": "integer"
  35019. },
  35020. "warehousename": {
  35021. "description": "仓库名称",
  35022. "type": "string"
  35023. },
  35024. "wrfactortypeid": {
  35025. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35026. "type": "string"
  35027. },
  35028. "wrfactortypename": {
  35029. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35030. "type": "string"
  35031. },
  35032. "wrholdeno": {
  35033. "description": "仓单编号",
  35034. "type": "string"
  35035. },
  35036. "wrid": {
  35037. "description": "仓单变更ID",
  35038. "type": "string"
  35039. },
  35040. "wrstandardcode": {
  35041. "description": "现货商品代码",
  35042. "type": "string"
  35043. },
  35044. "wrstandardid": {
  35045. "description": "现货商品ID",
  35046. "type": "integer"
  35047. },
  35048. "wrstandardname": {
  35049. "description": "商品名称",
  35050. "type": "string"
  35051. },
  35052. "wrtypename": {
  35053. "description": "商品",
  35054. "type": "string"
  35055. }
  35056. }
  35057. },
  35058. "models.WrMarketTradeConfig": {
  35059. "type": "object",
  35060. "properties": {
  35061. "basisdownratio": {
  35062. "description": "浮动价基差下限比例(仓单贸易)",
  35063. "type": "number"
  35064. },
  35065. "basisupratio": {
  35066. "description": "浮动价基差上限比例(仓单贸易)",
  35067. "type": "number"
  35068. },
  35069. "buychargealgorithm": {
  35070. "description": "买方手续费收取方式 1:比率 2:固定",
  35071. "type": "integer"
  35072. },
  35073. "buychargealgorithm2": {
  35074. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35075. "type": "integer"
  35076. },
  35077. "buychargealgorithmvalue": {
  35078. "description": "买方手续费设置值(交易所部分)",
  35079. "type": "number"
  35080. },
  35081. "buychargealgorithmvalue2": {
  35082. "description": "买方手续费设置值(会员部分)",
  35083. "type": "number"
  35084. },
  35085. "buychargealgorithmvalue3": {
  35086. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  35087. "type": "number"
  35088. },
  35089. "buychargealgorithmvalue4": {
  35090. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  35091. "type": "number"
  35092. },
  35093. "buyfirstmarginalgorithm": {
  35094. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  35095. "type": "integer"
  35096. },
  35097. "buyfirstmarginvalue": {
  35098. "description": "买方出价保证金设置值 - [竞拍]",
  35099. "type": "number"
  35100. },
  35101. "buymarginalgorithm": {
  35102. "description": "买方保证金方式 - 1:比率 2:固定",
  35103. "type": "integer"
  35104. },
  35105. "buymarginvalue": {
  35106. "description": "买方保证金设置值",
  35107. "type": "number"
  35108. },
  35109. "buyreleaseratio": {
  35110. "description": "买方释放比率[2:分步履约]",
  35111. "type": "number"
  35112. },
  35113. "executemode": {
  35114. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  35115. "type": "integer"
  35116. },
  35117. "executeside": {
  35118. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  35119. "type": "integer"
  35120. },
  35121. "failedchargealgorithm": {
  35122. "description": "流拍手续费收取方式 1:比率 2:固定",
  35123. "type": "integer"
  35124. },
  35125. "failedchargevalue": {
  35126. "description": "流拍手续费设置值",
  35127. "type": "number"
  35128. },
  35129. "failedchargevalue2": {
  35130. "description": "流拍卖方手续费设置值",
  35131. "type": "number"
  35132. },
  35133. "holddays": {
  35134. "description": "合同期限[2:分步履约]",
  35135. "type": "integer"
  35136. },
  35137. "marketid": {
  35138. "description": "市场ID-仓单贸易、竞拍、预售",
  35139. "type": "integer"
  35140. },
  35141. "minqty": {
  35142. "description": "最小执行量[2:分步履约]",
  35143. "type": "number"
  35144. },
  35145. "modifierid": {
  35146. "description": "修改人",
  35147. "type": "integer"
  35148. },
  35149. "performancetempid": {
  35150. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35151. "type": "integer"
  35152. },
  35153. "performancetempid2": {
  35154. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35155. "type": "integer"
  35156. },
  35157. "performancetempid2s": {
  35158. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35159. "type": "string"
  35160. },
  35161. "performancetempids": {
  35162. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35163. "type": "string"
  35164. },
  35165. "performanceway": {
  35166. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  35167. "type": "integer"
  35168. },
  35169. "sellchargealgorithm": {
  35170. "description": "卖方手续费收取方式 1:比率 2:固定",
  35171. "type": "integer"
  35172. },
  35173. "sellchargealgorithm2": {
  35174. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35175. "type": "integer"
  35176. },
  35177. "sellchargealgorithmvalue": {
  35178. "description": "卖方手续费设置值(交易所部分)",
  35179. "type": "number"
  35180. },
  35181. "sellchargealgorithmvalue2": {
  35182. "description": "卖方手续费设置值(会员部分)",
  35183. "type": "number"
  35184. },
  35185. "sellchargealgorithmvalue3": {
  35186. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  35187. "type": "number"
  35188. },
  35189. "sellchargealgorithmvalue4": {
  35190. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  35191. "type": "number"
  35192. },
  35193. "sellmarginalgorithm": {
  35194. "description": "卖方保证金方式 - 1:比率 2:固定",
  35195. "type": "integer"
  35196. },
  35197. "sellmarginvalue": {
  35198. "description": "卖方保证金设置值",
  35199. "type": "number"
  35200. },
  35201. "sellmarginvalue2": {
  35202. "description": "卖方保证金设置值(无仓单)",
  35203. "type": "number"
  35204. },
  35205. "sellreleaseratio": {
  35206. "description": "卖方释放比率[2:分步履约]",
  35207. "type": "number"
  35208. },
  35209. "updatetime": {
  35210. "description": "更新时间",
  35211. "type": "string"
  35212. }
  35213. }
  35214. },
  35215. "models.WrOrderDetail": {
  35216. "type": "object",
  35217. "properties": {
  35218. "accountid": {
  35219. "description": "交易账号(资金账号)",
  35220. "type": "integer"
  35221. },
  35222. "allfriendsflag": {
  35223. "description": "是否全好友可见 - 0:否 1:是",
  35224. "type": "integer"
  35225. },
  35226. "amount": {
  35227. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  35228. "type": "number"
  35229. },
  35230. "begindate": {
  35231. "description": "开始交易日(yyyymmdd)",
  35232. "type": "string"
  35233. },
  35234. "buyorsell": {
  35235. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35236. "type": "integer"
  35237. },
  35238. "canbargain": {
  35239. "description": "是否可议价 - 0:不可 1:可",
  35240. "type": "integer"
  35241. },
  35242. "cancelqty": {
  35243. "description": "撤销数量",
  35244. "type": "number"
  35245. },
  35246. "canpart": {
  35247. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  35248. "type": "integer"
  35249. },
  35250. "delistminqty": {
  35251. "description": "起摘数量",
  35252. "type": "integer"
  35253. },
  35254. "deliverygoodscode": {
  35255. "description": "品种代码",
  35256. "type": "string"
  35257. },
  35258. "deliverygoodsid": {
  35259. "description": "品种ID",
  35260. "type": "integer"
  35261. },
  35262. "deliverygoodsname": {
  35263. "description": "品种名称",
  35264. "type": "string"
  35265. },
  35266. "deliverymonth": {
  35267. "description": "交收月",
  35268. "type": "string"
  35269. },
  35270. "enddate": {
  35271. "description": "结束交易日(yyyymmdd)",
  35272. "type": "string"
  35273. },
  35274. "enumdicname": {
  35275. "description": "单位名称",
  35276. "type": "string"
  35277. },
  35278. "fixedprice": {
  35279. "description": "固定价格 - [挂牌]",
  35280. "type": "number"
  35281. },
  35282. "freezemargin": {
  35283. "description": "冻结保证金(保证金)",
  35284. "type": "number"
  35285. },
  35286. "futupricemove": {
  35287. "description": "期货升贴水",
  35288. "type": "number"
  35289. },
  35290. "futushow": {
  35291. "description": "期货合约/升贴水",
  35292. "type": "string"
  35293. },
  35294. "goodscode": {
  35295. "description": "期货合约",
  35296. "type": "string"
  35297. },
  35298. "goodsid": {
  35299. "description": "期货商品id",
  35300. "type": "integer"
  35301. },
  35302. "goodsname": {
  35303. "description": "商品名称",
  35304. "type": "string"
  35305. },
  35306. "haswr": {
  35307. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35308. "type": "integer"
  35309. },
  35310. "isspecified": {
  35311. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  35312. "type": "integer"
  35313. },
  35314. "ladingbillid": {
  35315. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  35316. "type": "string"
  35317. },
  35318. "marginvalue": {
  35319. "description": "保证金设置值(履约保证金)",
  35320. "type": "number"
  35321. },
  35322. "marketid": {
  35323. "description": "市场ID",
  35324. "type": "integer"
  35325. },
  35326. "matchusername": {
  35327. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  35328. "type": "string"
  35329. },
  35330. "minivalue": {
  35331. "description": "现货商品最小变动值",
  35332. "type": "integer"
  35333. },
  35334. "optioncompare": {
  35335. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35336. "type": "string"
  35337. },
  35338. "orderqty": {
  35339. "description": "委托数量",
  35340. "type": "number"
  35341. },
  35342. "ordertime": {
  35343. "description": "委托时间(挂牌时间)",
  35344. "type": "string"
  35345. },
  35346. "performancetemplateid": {
  35347. "description": "履约模板id",
  35348. "type": "integer"
  35349. },
  35350. "pricemove": {
  35351. "description": "升贴水(浮动价时填写) - [挂牌]",
  35352. "type": "number"
  35353. },
  35354. "taname": {
  35355. "description": "交易用户名称(资金账号名称)",
  35356. "type": "string"
  35357. },
  35358. "tradedate": {
  35359. "description": "交易日(yyyyMMdd)",
  35360. "type": "string"
  35361. },
  35362. "tradeprice": {
  35363. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  35364. "type": "number"
  35365. },
  35366. "tradeqty": {
  35367. "description": "成交数量",
  35368. "type": "number"
  35369. },
  35370. "userid": {
  35371. "description": "用户ID",
  35372. "type": "integer"
  35373. },
  35374. "validtime": {
  35375. "description": "挂牌有效期",
  35376. "type": "string"
  35377. },
  35378. "validtype": {
  35379. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  35380. "type": "integer"
  35381. },
  35382. "warehouseid": {
  35383. "description": "仓库ID",
  35384. "type": "integer"
  35385. },
  35386. "warehousename": {
  35387. "description": "仓库名称",
  35388. "type": "string"
  35389. },
  35390. "wrfactortypeid": {
  35391. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35392. "type": "string"
  35393. },
  35394. "wrfactortypename": {
  35395. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35396. "type": "string"
  35397. },
  35398. "wrpricetype": {
  35399. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  35400. "type": "integer"
  35401. },
  35402. "wrstandardcode": {
  35403. "description": "现货商品代码",
  35404. "type": "string"
  35405. },
  35406. "wrstandardid": {
  35407. "description": "现货商品ID",
  35408. "type": "integer"
  35409. },
  35410. "wrstandardname": {
  35411. "description": "商品名称",
  35412. "type": "string"
  35413. },
  35414. "wrtradeorderid": {
  35415. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35416. "type": "string"
  35417. },
  35418. "wrtradeorderstatus": {
  35419. "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:撤单解冻贷款失败",
  35420. "type": "integer"
  35421. },
  35422. "wrtradetype": {
  35423. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35424. "type": "integer"
  35425. },
  35426. "wrtypename": {
  35427. "description": "商品",
  35428. "type": "string"
  35429. }
  35430. }
  35431. },
  35432. "models.WrOrderQuote": {
  35433. "type": "object",
  35434. "properties": {
  35435. "buyprice": {
  35436. "description": "买价",
  35437. "type": "number"
  35438. },
  35439. "buypricemove": {
  35440. "description": "买升贴水(基差)",
  35441. "type": "number"
  35442. },
  35443. "buyqty": {
  35444. "description": "买量",
  35445. "type": "number"
  35446. },
  35447. "deliverygoodscode": {
  35448. "description": "品种代码",
  35449. "type": "string"
  35450. },
  35451. "deliverygoodsid": {
  35452. "description": "品种id",
  35453. "type": "integer"
  35454. },
  35455. "deliverygoodsname": {
  35456. "description": "品种名称",
  35457. "type": "string"
  35458. },
  35459. "deliverymonth": {
  35460. "description": "交收月",
  35461. "type": "string"
  35462. },
  35463. "enumdicname": {
  35464. "description": "单位名称",
  35465. "type": "string"
  35466. },
  35467. "goodscode": {
  35468. "description": "商品合约(浮动价列表才有)",
  35469. "type": "string"
  35470. },
  35471. "goodsid": {
  35472. "description": "商品id(浮动价列表才有)",
  35473. "type": "integer"
  35474. },
  35475. "minivalue": {
  35476. "description": "现货商品最小变动值",
  35477. "type": "integer"
  35478. },
  35479. "sellprice": {
  35480. "description": "卖价",
  35481. "type": "number"
  35482. },
  35483. "sellpricemove": {
  35484. "description": "卖升贴水(基差)",
  35485. "type": "number"
  35486. },
  35487. "sellqty": {
  35488. "description": "卖量",
  35489. "type": "number"
  35490. },
  35491. "warehousecode": {
  35492. "description": "仓库代码",
  35493. "type": "string"
  35494. },
  35495. "warehouseid": {
  35496. "description": "仓库id",
  35497. "type": "integer"
  35498. },
  35499. "warehousename": {
  35500. "description": "仓库名称",
  35501. "type": "string"
  35502. },
  35503. "wrfactortypeid": {
  35504. "description": "仓单要素id",
  35505. "type": "string"
  35506. },
  35507. "wrfactortypename": {
  35508. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35509. "type": "string"
  35510. },
  35511. "wrgoodsname": {
  35512. "description": "商品(商品名称+仓库要素名称 拼接)",
  35513. "type": "string"
  35514. },
  35515. "wrstandardcode": {
  35516. "description": "商品代码",
  35517. "type": "string"
  35518. },
  35519. "wrstandardid": {
  35520. "description": "商品id",
  35521. "type": "integer"
  35522. },
  35523. "wrstandardname": {
  35524. "description": "商品名称",
  35525. "type": "string"
  35526. }
  35527. }
  35528. },
  35529. "models.WrOrderQuoteDetail": {
  35530. "type": "object",
  35531. "properties": {
  35532. "buyorsell": {
  35533. "description": "买卖 - 0:买 1:卖",
  35534. "type": "integer"
  35535. },
  35536. "delistminqty": {
  35537. "description": "起摘数量",
  35538. "type": "number"
  35539. },
  35540. "deliverymonth": {
  35541. "description": "交收月",
  35542. "type": "string"
  35543. },
  35544. "enumdicname": {
  35545. "description": "单位名称",
  35546. "type": "string"
  35547. },
  35548. "fixedprice": {
  35549. "description": "买(卖)价",
  35550. "type": "number"
  35551. },
  35552. "minivalue": {
  35553. "description": "现货商品最小变动值",
  35554. "type": "integer"
  35555. },
  35556. "orderqty": {
  35557. "description": "买(卖)量(=委托量-成交量)",
  35558. "type": "number"
  35559. },
  35560. "ordertime": {
  35561. "description": "委托时间",
  35562. "type": "string"
  35563. },
  35564. "pricemove": {
  35565. "description": "买(卖)升贴水- 基差",
  35566. "type": "number"
  35567. },
  35568. "userid": {
  35569. "description": "购买方(销售方)用户ID",
  35570. "type": "integer"
  35571. },
  35572. "username": {
  35573. "description": "购买方(销售方)",
  35574. "type": "string"
  35575. },
  35576. "wrtradeorderid": {
  35577. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35578. "type": "string"
  35579. }
  35580. }
  35581. },
  35582. "models.WrOutInApply": {
  35583. "type": "object",
  35584. "properties": {
  35585. "applyid": {
  35586. "description": "申请单id",
  35587. "type": "string"
  35588. },
  35589. "applystatus": {
  35590. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  35591. "type": "integer"
  35592. },
  35593. "applytime": {
  35594. "description": "申请时间",
  35595. "type": "string"
  35596. },
  35597. "applytype": {
  35598. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  35599. "type": "integer"
  35600. },
  35601. "begindate": {
  35602. "description": "开始交易日(yyyymmdd)",
  35603. "type": "string"
  35604. },
  35605. "deliverygoodscode": {
  35606. "description": "品种代码",
  35607. "type": "string"
  35608. },
  35609. "deliverygoodsid": {
  35610. "description": "品种ID",
  35611. "type": "integer"
  35612. },
  35613. "deliverygoodsname": {
  35614. "description": "品种名称",
  35615. "type": "string"
  35616. },
  35617. "enddate": {
  35618. "description": "结束交易日(yyyymmdd)",
  35619. "type": "string"
  35620. },
  35621. "enumdicname": {
  35622. "description": "单位名称",
  35623. "type": "string"
  35624. },
  35625. "expresscompany": {
  35626. "description": "物流公司",
  35627. "type": "string"
  35628. },
  35629. "expressnum": {
  35630. "description": "物流单号",
  35631. "type": "string"
  35632. },
  35633. "minivalue": {
  35634. "description": "现货商品最小变动值",
  35635. "type": "integer"
  35636. },
  35637. "optioncompare": {
  35638. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35639. "type": "string"
  35640. },
  35641. "qty": {
  35642. "description": "数量",
  35643. "type": "integer"
  35644. },
  35645. "userid": {
  35646. "description": "用户id",
  35647. "type": "integer"
  35648. },
  35649. "warehouseid": {
  35650. "description": "仓库ID",
  35651. "type": "integer"
  35652. },
  35653. "warehousename": {
  35654. "description": "仓库名称",
  35655. "type": "string"
  35656. },
  35657. "wrfactortypeid": {
  35658. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35659. "type": "string"
  35660. },
  35661. "wrfactortypename": {
  35662. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35663. "type": "string"
  35664. },
  35665. "wrstandardcode": {
  35666. "description": "现货商品代码",
  35667. "type": "string"
  35668. },
  35669. "wrstandardid": {
  35670. "description": "现货商品ID",
  35671. "type": "integer"
  35672. },
  35673. "wrstandardname": {
  35674. "description": "商品名称",
  35675. "type": "string"
  35676. },
  35677. "wrtypename": {
  35678. "description": "商品",
  35679. "type": "string"
  35680. }
  35681. }
  35682. },
  35683. "models.WrPerformancePlan": {
  35684. "type": "object",
  35685. "required": [
  35686. "userid"
  35687. ],
  35688. "properties": {
  35689. "activatemonth": {
  35690. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  35691. "type": "string"
  35692. },
  35693. "amount": {
  35694. "description": "履约金额(总金额)",
  35695. "type": "number"
  35696. },
  35697. "buyaccountid": {
  35698. "description": "买方账号",
  35699. "type": "integer"
  35700. },
  35701. "buyerfreezeamount": {
  35702. "description": "履约冻结(买履约)",
  35703. "type": "number"
  35704. },
  35705. "buyerfreezeamountremain": {
  35706. "description": "履约冻结剩余(买履约)",
  35707. "type": "number"
  35708. },
  35709. "buyorsell": {
  35710. "description": "买卖方向 0-买 1-卖",
  35711. "type": "integer"
  35712. },
  35713. "buypaidamount": {
  35714. "description": "买方已冻/已扣金额 (已付金额)",
  35715. "type": "number"
  35716. },
  35717. "buyusername": {
  35718. "description": "买方名字",
  35719. "type": "string"
  35720. },
  35721. "contractid": {
  35722. "description": "合同ID",
  35723. "type": "integer"
  35724. },
  35725. "createtime": {
  35726. "description": "创建时间",
  35727. "type": "string"
  35728. },
  35729. "creatorid": {
  35730. "description": "创建人",
  35731. "type": "integer"
  35732. },
  35733. "curstepdeadline": {
  35734. "description": "当前步骤到期时间",
  35735. "type": "string"
  35736. },
  35737. "curstepid": {
  35738. "description": "当前步骤ID",
  35739. "type": "string"
  35740. },
  35741. "curstepname": {
  35742. "description": "当前步骤名称",
  35743. "type": "string"
  35744. },
  35745. "deliverygoodscode": {
  35746. "description": "品种代码",
  35747. "type": "string"
  35748. },
  35749. "deliverygoodsid": {
  35750. "description": "品种ID",
  35751. "type": "integer"
  35752. },
  35753. "deliverygoodsname": {
  35754. "description": "品种名称",
  35755. "type": "string"
  35756. },
  35757. "enumdicname": {
  35758. "description": "单位名称",
  35759. "type": "string"
  35760. },
  35761. "expressfee": {
  35762. "description": "运费",
  35763. "type": "number"
  35764. },
  35765. "expressfeeconfirmed": {
  35766. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  35767. "type": "integer"
  35768. },
  35769. "hasovershort": {
  35770. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  35771. "type": "integer"
  35772. },
  35773. "haswr": {
  35774. "description": "类型 0-仓单预售 1-仓单贸易",
  35775. "type": "integer"
  35776. },
  35777. "marketid": {
  35778. "description": "市场ID",
  35779. "type": "integer"
  35780. },
  35781. "middleaccountid": {
  35782. "description": "中间商资金账号ID",
  35783. "type": "integer"
  35784. },
  35785. "middleuserid": {
  35786. "description": "中间商用户ID",
  35787. "type": "integer"
  35788. },
  35789. "minivalue": {
  35790. "description": "现货商品最小变动值",
  35791. "type": "integer"
  35792. },
  35793. "optioncompare": {
  35794. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35795. "type": "string"
  35796. },
  35797. "overshortamount": {
  35798. "description": "溢短金额",
  35799. "type": "number"
  35800. },
  35801. "overshortqty": {
  35802. "description": "溢短数量",
  35803. "type": "number"
  35804. },
  35805. "paymenttype": {
  35806. "description": "付款方式 - 1:冻结 2:扣款",
  35807. "type": "integer"
  35808. },
  35809. "performanceplanid": {
  35810. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  35811. "type": "string"
  35812. },
  35813. "performancestatus": {
  35814. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  35815. "type": "integer"
  35816. },
  35817. "performancetype": {
  35818. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  35819. "type": "integer"
  35820. },
  35821. "qty": {
  35822. "description": "履约数量",
  35823. "type": "number"
  35824. },
  35825. "relatedorderid": {
  35826. "description": "关联单号(履约类型的关联单号)",
  35827. "type": "string"
  35828. },
  35829. "remark": {
  35830. "description": "备注",
  35831. "type": "string"
  35832. },
  35833. "sellaccountid": {
  35834. "description": "卖方账号",
  35835. "type": "integer"
  35836. },
  35837. "sellerfreezeamount": {
  35838. "description": "履约冻结(卖履约)",
  35839. "type": "number"
  35840. },
  35841. "sellerfreezeamountremain": {
  35842. "description": "履约冻结剩余(卖履约)",
  35843. "type": "number"
  35844. },
  35845. "sellreceivedamount": {
  35846. "description": "卖方已收金额",
  35847. "type": "number"
  35848. },
  35849. "sellusername": {
  35850. "description": "卖方名字",
  35851. "type": "string"
  35852. },
  35853. "shipremark": {
  35854. "description": "发货备注[物流单号]",
  35855. "type": "string"
  35856. },
  35857. "starttime": {
  35858. "description": "开始时间",
  35859. "type": "string"
  35860. },
  35861. "steptypeid": {
  35862. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35863. "type": "integer"
  35864. },
  35865. "typename": {
  35866. "description": "履约类型 名称",
  35867. "type": "string"
  35868. },
  35869. "unpaidamount": {
  35870. "description": "剩余款(待支付金额)",
  35871. "type": "number"
  35872. },
  35873. "userid": {
  35874. "description": "用户id",
  35875. "type": "integer"
  35876. },
  35877. "warehouseid": {
  35878. "description": "仓库ID",
  35879. "type": "integer"
  35880. },
  35881. "warehousename": {
  35882. "description": "仓库名称",
  35883. "type": "string"
  35884. },
  35885. "wrfactortypeid": {
  35886. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35887. "type": "string"
  35888. },
  35889. "wrfactortypename": {
  35890. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35891. "type": "string"
  35892. },
  35893. "wrstandardcode": {
  35894. "description": "现货商品代码",
  35895. "type": "string"
  35896. },
  35897. "wrstandardid": {
  35898. "description": "现货商品ID",
  35899. "type": "integer"
  35900. },
  35901. "wrstandardname": {
  35902. "description": "商品名称",
  35903. "type": "string"
  35904. },
  35905. "wrtransferuserid": {
  35906. "description": "仓单受让用户",
  35907. "type": "integer"
  35908. },
  35909. "wrtypename": {
  35910. "description": "商品",
  35911. "type": "string"
  35912. }
  35913. }
  35914. },
  35915. "models.WrPerformancePlanStep": {
  35916. "type": "object",
  35917. "properties": {
  35918. "delaydays": {
  35919. "description": "延期申请天数",
  35920. "type": "integer"
  35921. },
  35922. "deliverygoodscode": {
  35923. "description": "品种代码",
  35924. "type": "string"
  35925. },
  35926. "deliverygoodsid": {
  35927. "description": "品种ID",
  35928. "type": "integer"
  35929. },
  35930. "deliverygoodsname": {
  35931. "description": "品种名称",
  35932. "type": "string"
  35933. },
  35934. "endtime": {
  35935. "description": "结束日期",
  35936. "type": "string"
  35937. },
  35938. "enumdicname": {
  35939. "description": "单位名称",
  35940. "type": "string"
  35941. },
  35942. "executeside": {
  35943. "description": "步骤执行方 - 1:买方 2:卖方",
  35944. "type": "integer"
  35945. },
  35946. "handlestatus": {
  35947. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  35948. "type": "integer"
  35949. },
  35950. "isauto": {
  35951. "description": "是否自动 - 0:不自动 1:自动",
  35952. "type": "integer"
  35953. },
  35954. "islastreceivestep": {
  35955. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  35956. "type": "integer"
  35957. },
  35958. "minivalue": {
  35959. "description": "现货商品最小变动值",
  35960. "type": "integer"
  35961. },
  35962. "optioncompare": {
  35963. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35964. "type": "string"
  35965. },
  35966. "overdays": {
  35967. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  35968. "type": "integer"
  35969. },
  35970. "performancestepid": {
  35971. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  35972. "type": "string"
  35973. },
  35974. "planid": {
  35975. "description": "所属履约计划ID",
  35976. "type": "string"
  35977. },
  35978. "realamount": {
  35979. "description": "实际完成金额",
  35980. "type": "number"
  35981. },
  35982. "relatedorderid": {
  35983. "description": "关联单号",
  35984. "type": "string"
  35985. },
  35986. "remaindays": {
  35987. "description": "剩余天数",
  35988. "type": "integer"
  35989. },
  35990. "remark": {
  35991. "description": "错误备注",
  35992. "type": "string"
  35993. },
  35994. "starttime": {
  35995. "description": "开始日期",
  35996. "type": "string"
  35997. },
  35998. "stepamount": {
  35999. "description": "步骤金额",
  36000. "type": "number"
  36001. },
  36002. "stepdays": {
  36003. "description": "距离上一步天数(分钟)",
  36004. "type": "integer"
  36005. },
  36006. "stepindex": {
  36007. "description": "步骤序号",
  36008. "type": "integer"
  36009. },
  36010. "steplanchtype": {
  36011. "description": "步骤启动类型 - 1:系统自动 2:手动",
  36012. "type": "integer"
  36013. },
  36014. "stepremark": {
  36015. "description": "步骤备注",
  36016. "type": "string"
  36017. },
  36018. "stepstatus": {
  36019. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  36020. "type": "integer"
  36021. },
  36022. "steptypeid": {
  36023. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  36024. "type": "integer"
  36025. },
  36026. "steptypename": {
  36027. "description": "步骤名称",
  36028. "type": "string"
  36029. },
  36030. "stepvalue": {
  36031. "description": "步骤值",
  36032. "type": "number"
  36033. },
  36034. "warehouseid": {
  36035. "description": "仓库ID",
  36036. "type": "integer"
  36037. },
  36038. "warehousename": {
  36039. "description": "仓库名称",
  36040. "type": "string"
  36041. },
  36042. "wrfactortypeid": {
  36043. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36044. "type": "string"
  36045. },
  36046. "wrfactortypename": {
  36047. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36048. "type": "string"
  36049. },
  36050. "wrstandardcode": {
  36051. "description": "现货商品代码",
  36052. "type": "string"
  36053. },
  36054. "wrstandardid": {
  36055. "description": "现货商品ID",
  36056. "type": "integer"
  36057. },
  36058. "wrstandardname": {
  36059. "description": "商品名称",
  36060. "type": "string"
  36061. },
  36062. "wrtypename": {
  36063. "description": "商品",
  36064. "type": "string"
  36065. }
  36066. }
  36067. },
  36068. "models.WrPerformanceStepType": {
  36069. "type": "object",
  36070. "properties": {
  36071. "canauto": {
  36072. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  36073. "type": "integer"
  36074. },
  36075. "steptypeid": {
  36076. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  36077. "type": "integer"
  36078. },
  36079. "steptypename": {
  36080. "description": "步骤类型名称",
  36081. "type": "string"
  36082. }
  36083. }
  36084. },
  36085. "models.WrPerformanceTemplateEx": {
  36086. "type": "object",
  36087. "properties": {
  36088. "autoid": {
  36089. "description": "AutoID 模板id",
  36090. "type": "integer"
  36091. },
  36092. "createtime": {
  36093. "description": "创建时间",
  36094. "type": "string"
  36095. },
  36096. "creatorid": {
  36097. "description": "创建人",
  36098. "type": "integer"
  36099. },
  36100. "lstStep": {
  36101. "description": "步骤信息列表",
  36102. "type": "array",
  36103. "items": {
  36104. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  36105. }
  36106. },
  36107. "paymenttype": {
  36108. "description": "支付方式 - 1:冻结 2:扣款",
  36109. "type": "integer"
  36110. },
  36111. "takemode": {
  36112. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  36113. "type": "integer"
  36114. },
  36115. "templatename": {
  36116. "description": "模板名称",
  36117. "type": "string"
  36118. },
  36119. "templatetype": {
  36120. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  36121. "type": "integer"
  36122. },
  36123. "userid": {
  36124. "description": "所属用户",
  36125. "type": "integer"
  36126. }
  36127. }
  36128. },
  36129. "models.WrPosition": {
  36130. "type": "object",
  36131. "properties": {
  36132. "accountid": {
  36133. "description": "帐户ID",
  36134. "type": "integer"
  36135. },
  36136. "buyexcuteqty": {
  36137. "description": "采购履约中数量",
  36138. "type": "number"
  36139. },
  36140. "creditcurqty": {
  36141. "description": "授信当前数量(预售仓单:预售当前量)",
  36142. "type": "number"
  36143. },
  36144. "creditenableqty": {
  36145. "description": "授信可用数量(预售仓单: 可用数量)",
  36146. "type": "number"
  36147. },
  36148. "creditfreezeqty": {
  36149. "description": "授信冻结数量(预售仓单: 当前数量)",
  36150. "type": "number"
  36151. },
  36152. "credittotalqty": {
  36153. "description": "授信总数量(预售仓单:预售总量)",
  36154. "type": "number"
  36155. },
  36156. "credittradeqty": {
  36157. "description": "授信成交数量(预售仓单:成交总量)",
  36158. "type": "number"
  36159. },
  36160. "deliverygoodscode": {
  36161. "description": "品种代码",
  36162. "type": "string"
  36163. },
  36164. "deliverygoodsid": {
  36165. "description": "品种ID",
  36166. "type": "integer"
  36167. },
  36168. "deliverygoodsname": {
  36169. "description": "品种名称",
  36170. "type": "string"
  36171. },
  36172. "enalbeqty": {
  36173. "description": "可用数量",
  36174. "type": "number"
  36175. },
  36176. "enumdicname": {
  36177. "description": "单位名称",
  36178. "type": "string"
  36179. },
  36180. "freezeqty": {
  36181. "description": "总冻结数量",
  36182. "type": "number"
  36183. },
  36184. "haswr": {
  36185. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36186. "type": "integer"
  36187. },
  36188. "minivalue": {
  36189. "description": "现货商品最小变动值",
  36190. "type": "integer"
  36191. },
  36192. "modifytime": {
  36193. "description": "修改时间(过户时间)",
  36194. "type": "string"
  36195. },
  36196. "optioncompare": {
  36197. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36198. "type": "string"
  36199. },
  36200. "pledgeqty": {
  36201. "description": "质押数量",
  36202. "type": "number"
  36203. },
  36204. "querytype": {
  36205. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  36206. "type": "integer"
  36207. },
  36208. "sellexcuteqty": {
  36209. "description": "销售履约中数量",
  36210. "type": "number"
  36211. },
  36212. "totalqty": {
  36213. "description": "总数量(库存数量)",
  36214. "type": "number"
  36215. },
  36216. "warehouseid": {
  36217. "description": "仓库ID",
  36218. "type": "integer"
  36219. },
  36220. "warehousename": {
  36221. "description": "仓库名称",
  36222. "type": "string"
  36223. },
  36224. "wrfactortypeid": {
  36225. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36226. "type": "string"
  36227. },
  36228. "wrfactortypename": {
  36229. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36230. "type": "string"
  36231. },
  36232. "wrpositionid": {
  36233. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  36234. "type": "string"
  36235. },
  36236. "wrpositionno": {
  36237. "description": "仓单编号",
  36238. "type": "string"
  36239. },
  36240. "wrstandardcode": {
  36241. "description": "现货商品代码",
  36242. "type": "string"
  36243. },
  36244. "wrstandardid": {
  36245. "description": "现货商品ID",
  36246. "type": "integer"
  36247. },
  36248. "wrstandardname": {
  36249. "description": "商品名称",
  36250. "type": "string"
  36251. },
  36252. "wrtypename": {
  36253. "description": "商品",
  36254. "type": "string"
  36255. },
  36256. "wruserid": {
  36257. "description": "持有人ID",
  36258. "type": "integer"
  36259. }
  36260. }
  36261. },
  36262. "models.WrQuoteOrderMyq": {
  36263. "type": "object",
  36264. "properties": {
  36265. "buyorsell": {
  36266. "description": "买卖 - 0:买 1:卖",
  36267. "type": "integer"
  36268. },
  36269. "canbargain": {
  36270. "description": "是否可议价 - 0:不可 1:可",
  36271. "type": "integer"
  36272. },
  36273. "canpart": {
  36274. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  36275. "type": "integer"
  36276. },
  36277. "delistminqty": {
  36278. "description": "起摘数量",
  36279. "type": "number"
  36280. },
  36281. "deliverygoodscode": {
  36282. "description": "品种代码",
  36283. "type": "string"
  36284. },
  36285. "deliverygoodsid": {
  36286. "description": "品种ID",
  36287. "type": "integer"
  36288. },
  36289. "deliverygoodsname": {
  36290. "description": "品种名称",
  36291. "type": "string"
  36292. },
  36293. "deliverymonth": {
  36294. "description": "交收月",
  36295. "type": "string"
  36296. },
  36297. "enumdicname": {
  36298. "description": "单位名称",
  36299. "type": "string"
  36300. },
  36301. "fixedprice": {
  36302. "description": "买(卖)价",
  36303. "type": "number"
  36304. },
  36305. "goodscode": {
  36306. "description": "商品合约代码",
  36307. "type": "string"
  36308. },
  36309. "marginflag": {
  36310. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  36311. "type": "integer"
  36312. },
  36313. "marginvalue": {
  36314. "description": "保证金设置值",
  36315. "type": "number"
  36316. },
  36317. "minivalue": {
  36318. "description": "现货商品最小变动值",
  36319. "type": "integer"
  36320. },
  36321. "orderqty": {
  36322. "description": "买(卖)量(=委托量-成交量)",
  36323. "type": "number"
  36324. },
  36325. "ordertime": {
  36326. "description": "委托时间",
  36327. "type": "string"
  36328. },
  36329. "performancetemplateid": {
  36330. "description": "履约模板id",
  36331. "type": "integer"
  36332. },
  36333. "pricemove": {
  36334. "description": "买(卖)升贴水- 基差",
  36335. "type": "number"
  36336. },
  36337. "templatename": {
  36338. "description": "履约模板名称",
  36339. "type": "string"
  36340. },
  36341. "userid": {
  36342. "description": "购买方(销售方)用户ID",
  36343. "type": "integer"
  36344. },
  36345. "username": {
  36346. "description": "购买方(销售方)",
  36347. "type": "string"
  36348. },
  36349. "validtime": {
  36350. "description": "有效期限",
  36351. "type": "string"
  36352. },
  36353. "validtype": {
  36354. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  36355. "type": "integer"
  36356. },
  36357. "warehousename": {
  36358. "description": "仓库名称",
  36359. "type": "string"
  36360. },
  36361. "wrfactortypeid": {
  36362. "description": "仓单要素id",
  36363. "type": "string"
  36364. },
  36365. "wrstandardcode": {
  36366. "description": "现货商品代码",
  36367. "type": "string"
  36368. },
  36369. "wrstandardid": {
  36370. "description": "现货商品ID",
  36371. "type": "integer"
  36372. },
  36373. "wrstandardname": {
  36374. "description": "商品名称",
  36375. "type": "string"
  36376. },
  36377. "wrtradeorderid": {
  36378. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36379. "type": "string"
  36380. },
  36381. "wrtypename": {
  36382. "description": "商品",
  36383. "type": "string"
  36384. }
  36385. }
  36386. },
  36387. "models.WrScfContract": {
  36388. "type": "object",
  36389. "properties": {
  36390. "borroweruserid": {
  36391. "description": "借款用户ID",
  36392. "type": "integer"
  36393. },
  36394. "buybackwrpositionqty": {
  36395. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  36396. "type": "number"
  36397. },
  36398. "closeinterest": {
  36399. "description": "已结利息 -\u003e 已结费用",
  36400. "type": "number"
  36401. },
  36402. "currisklevel": {
  36403. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  36404. "type": "integer"
  36405. },
  36406. "deadline": {
  36407. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  36408. "type": "string"
  36409. },
  36410. "deliverygoodscode": {
  36411. "description": "品种代码",
  36412. "type": "string"
  36413. },
  36414. "deliverygoodsid": {
  36415. "description": "品种ID",
  36416. "type": "integer"
  36417. },
  36418. "deliverygoodsname": {
  36419. "description": "品种名称",
  36420. "type": "string"
  36421. },
  36422. "enumdicname": {
  36423. "description": "单位名称",
  36424. "type": "string"
  36425. },
  36426. "financingdays": {
  36427. "description": "天数(天)",
  36428. "type": "integer"
  36429. },
  36430. "initmargin": {
  36431. "description": "保证金 - [仓单回购]",
  36432. "type": "number"
  36433. },
  36434. "interestamount": {
  36435. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  36436. "type": "number"
  36437. },
  36438. "interestdebt": {
  36439. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  36440. "type": "number"
  36441. },
  36442. "interestminlen": {
  36443. "description": "最小起息天数",
  36444. "type": "integer"
  36445. },
  36446. "interestrate": {
  36447. "description": "利率",
  36448. "type": "number"
  36449. },
  36450. "interestratemode": {
  36451. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  36452. "type": "integer"
  36453. },
  36454. "interestsettlemode": {
  36455. "description": "结息方式 - 1:按日结息 3:按月结息",
  36456. "type": "integer"
  36457. },
  36458. "interestsettlevalue": {
  36459. "description": "结息方式值",
  36460. "type": "integer"
  36461. },
  36462. "isautoloan": {
  36463. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  36464. "type": "integer"
  36465. },
  36466. "lastcloseinterestday": {
  36467. "description": "最近结息日(yyyyMMdd)",
  36468. "type": "string"
  36469. },
  36470. "lenderamount": {
  36471. "description": "贷款金额 -\u003e 借款金额",
  36472. "type": "number"
  36473. },
  36474. "lenderuserid": {
  36475. "description": "贷款方用户ID -\u003e 融出方用户ID",
  36476. "type": "integer"
  36477. },
  36478. "lenderusername": {
  36479. "description": "融出方",
  36480. "type": "string"
  36481. },
  36482. "marginratio": {
  36483. "description": "保证金比率质押率 - [仓单质押]",
  36484. "type": "number"
  36485. },
  36486. "marketid": {
  36487. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  36488. "type": "integer"
  36489. },
  36490. "minivalue": {
  36491. "description": "现货商品最小变动值",
  36492. "type": "integer"
  36493. },
  36494. "optioncompare": {
  36495. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36496. "type": "string"
  36497. },
  36498. "pricemove": {
  36499. "description": "估值升贴水值",
  36500. "type": "number"
  36501. },
  36502. "productdetailid": {
  36503. "description": "产品组合ID",
  36504. "type": "integer"
  36505. },
  36506. "productid": {
  36507. "description": "金融产品ID",
  36508. "type": "integer"
  36509. },
  36510. "productname": {
  36511. "description": "产品名称",
  36512. "type": "string"
  36513. },
  36514. "remainamount": {
  36515. "description": "合同剩余金额 -\u003e 剩余金额",
  36516. "type": "number"
  36517. },
  36518. "remainwrpositionqty": {
  36519. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  36520. "type": "number"
  36521. },
  36522. "remark": {
  36523. "description": "备注",
  36524. "type": "string"
  36525. },
  36526. "scfcontractid": {
  36527. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36528. "type": "string"
  36529. },
  36530. "scfcontractstatus": {
  36531. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  36532. "type": "integer"
  36533. },
  36534. "scfcontracttype": {
  36535. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  36536. "type": "integer"
  36537. },
  36538. "startinterestday": {
  36539. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  36540. "type": "string"
  36541. },
  36542. "totalinterest": {
  36543. "description": "已计利息 -\u003e 已计费用",
  36544. "type": "number"
  36545. },
  36546. "unpaidinterest": {
  36547. "description": "未结费用",
  36548. "type": "number"
  36549. },
  36550. "updatetime": {
  36551. "description": "更新时间",
  36552. "type": "string"
  36553. },
  36554. "warehouseid": {
  36555. "description": "仓库ID",
  36556. "type": "integer"
  36557. },
  36558. "warehousename": {
  36559. "description": "仓库名称",
  36560. "type": "string"
  36561. },
  36562. "wrfactortypeid": {
  36563. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36564. "type": "string"
  36565. },
  36566. "wrfactortypename": {
  36567. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36568. "type": "string"
  36569. },
  36570. "wrqty": {
  36571. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  36572. "type": "number"
  36573. },
  36574. "wrstandardcode": {
  36575. "description": "现货商品代码",
  36576. "type": "string"
  36577. },
  36578. "wrstandardid": {
  36579. "description": "现货商品ID",
  36580. "type": "integer"
  36581. },
  36582. "wrstandardname": {
  36583. "description": "商品名称",
  36584. "type": "string"
  36585. },
  36586. "wrtypename": {
  36587. "description": "商品",
  36588. "type": "string"
  36589. }
  36590. }
  36591. },
  36592. "models.WrScfContractInterest": {
  36593. "type": "object",
  36594. "properties": {
  36595. "closeinterest": {
  36596. "description": "已结利息",
  36597. "type": "number"
  36598. },
  36599. "closeintereststatus": {
  36600. "description": "结息状态 - 1:未结 2:已结",
  36601. "type": "integer"
  36602. },
  36603. "closetime": {
  36604. "description": "结息时间",
  36605. "type": "string"
  36606. },
  36607. "closetradedate": {
  36608. "description": "结息交易日",
  36609. "type": "string"
  36610. },
  36611. "creatorid": {
  36612. "description": "操作人ID",
  36613. "type": "integer"
  36614. },
  36615. "dayrate": {
  36616. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  36617. "type": "number"
  36618. },
  36619. "interest": {
  36620. "description": "利息",
  36621. "type": "number"
  36622. },
  36623. "interestamount": {
  36624. "description": "计息金额",
  36625. "type": "number"
  36626. },
  36627. "interestday": {
  36628. "description": "计息日(yyyyMMdd)",
  36629. "type": "string"
  36630. },
  36631. "scfcontractid": {
  36632. "description": "SCF合同ID",
  36633. "type": "string"
  36634. },
  36635. "scfcontractinterestid": {
  36636. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  36637. "type": "integer"
  36638. },
  36639. "updatetime": {
  36640. "description": "更新时间",
  36641. "type": "string"
  36642. }
  36643. }
  36644. },
  36645. "models.WrSiteColumnDetail": {
  36646. "type": "object",
  36647. "properties": {
  36648. "brief": {
  36649. "description": "简介",
  36650. "type": "string"
  36651. },
  36652. "context": {
  36653. "description": "内容",
  36654. "type": "string"
  36655. },
  36656. "coverimage": {
  36657. "description": "封面图片",
  36658. "type": "string"
  36659. },
  36660. "creaedate": {
  36661. "description": "创建时间",
  36662. "type": "string"
  36663. },
  36664. "id": {
  36665. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  36666. "type": "integer"
  36667. },
  36668. "istop": {
  36669. "description": "是否置顶 - 0:不置 1:置顶",
  36670. "type": "integer"
  36671. },
  36672. "publishdate": {
  36673. "description": "发布日期",
  36674. "type": "string"
  36675. },
  36676. "title": {
  36677. "description": "标题",
  36678. "type": "string"
  36679. },
  36680. "updatedate": {
  36681. "description": "修改时间",
  36682. "type": "string"
  36683. }
  36684. }
  36685. },
  36686. "models.WrSpecialMatchOrder": {
  36687. "type": "object",
  36688. "properties": {
  36689. "amount": {
  36690. "description": "金额 = 数量 * 价格",
  36691. "type": "number"
  36692. },
  36693. "buyorsell": {
  36694. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36695. "type": "integer"
  36696. },
  36697. "cancelqty": {
  36698. "description": "撤销数量",
  36699. "type": "number"
  36700. },
  36701. "deliverygoodscode": {
  36702. "description": "品种代码",
  36703. "type": "string"
  36704. },
  36705. "deliverygoodsid": {
  36706. "description": "品种ID",
  36707. "type": "integer"
  36708. },
  36709. "deliverygoodsname": {
  36710. "description": "品种名称",
  36711. "type": "string"
  36712. },
  36713. "enumdicname": {
  36714. "description": "单位名称",
  36715. "type": "string"
  36716. },
  36717. "fixedprice": {
  36718. "description": "固定价格(价格)",
  36719. "type": "number"
  36720. },
  36721. "haswr": {
  36722. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36723. "type": "integer"
  36724. },
  36725. "isspecified": {
  36726. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  36727. "type": "integer"
  36728. },
  36729. "marketid": {
  36730. "description": "市场ID",
  36731. "type": "integer"
  36732. },
  36733. "matchuserid": {
  36734. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  36735. "type": "integer"
  36736. },
  36737. "matchusername": {
  36738. "description": "指定方",
  36739. "type": "string"
  36740. },
  36741. "minivalue": {
  36742. "description": "现货商品最小变动值",
  36743. "type": "integer"
  36744. },
  36745. "optioncompare": {
  36746. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36747. "type": "string"
  36748. },
  36749. "orderqty": {
  36750. "description": "委托数量",
  36751. "type": "number"
  36752. },
  36753. "ordertime": {
  36754. "description": "委托时间",
  36755. "type": "string"
  36756. },
  36757. "pricemove": {
  36758. "description": "升贴水(浮动价时填写) - [挂牌]",
  36759. "type": "number"
  36760. },
  36761. "tradedate": {
  36762. "description": "交易日(yyyyMMdd)",
  36763. "type": "string"
  36764. },
  36765. "tradeprice": {
  36766. "description": "成交价格",
  36767. "type": "number"
  36768. },
  36769. "tradeqty": {
  36770. "description": "成交数量",
  36771. "type": "number"
  36772. },
  36773. "userid": {
  36774. "description": "用户ID",
  36775. "type": "integer"
  36776. },
  36777. "username": {
  36778. "description": "发起方",
  36779. "type": "string"
  36780. },
  36781. "warehouseid": {
  36782. "description": "仓库ID",
  36783. "type": "integer"
  36784. },
  36785. "warehousename": {
  36786. "description": "仓库名称",
  36787. "type": "string"
  36788. },
  36789. "wrfactortypeid": {
  36790. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36791. "type": "string"
  36792. },
  36793. "wrfactortypename": {
  36794. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36795. "type": "string"
  36796. },
  36797. "wrpricetype": {
  36798. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36799. "type": "integer"
  36800. },
  36801. "wrstandardcode": {
  36802. "description": "现货商品代码",
  36803. "type": "string"
  36804. },
  36805. "wrstandardid": {
  36806. "description": "现货商品ID",
  36807. "type": "integer"
  36808. },
  36809. "wrstandardname": {
  36810. "description": "商品名称",
  36811. "type": "string"
  36812. },
  36813. "wrtradeorderid": {
  36814. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36815. "type": "string"
  36816. },
  36817. "wrtradeorderstatus": {
  36818. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  36819. "type": "integer"
  36820. },
  36821. "wrtradetype": {
  36822. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36823. "type": "integer"
  36824. },
  36825. "wrtypename": {
  36826. "description": "商品",
  36827. "type": "string"
  36828. }
  36829. }
  36830. },
  36831. "models.WrSpotGroupTradeSum": {
  36832. "type": "object",
  36833. "properties": {
  36834. "deliverygoodscode": {
  36835. "description": "现货品种代码",
  36836. "type": "string"
  36837. },
  36838. "deliverygoodsid": {
  36839. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36840. "type": "integer"
  36841. },
  36842. "deliverygoodsname": {
  36843. "description": "现货品种名称",
  36844. "type": "string"
  36845. },
  36846. "lastavgprice": {
  36847. "description": "上上个交易日价格(前2天价格)",
  36848. "type": "string"
  36849. },
  36850. "lastreckondate": {
  36851. "description": "上上个交易日(前2天交易日)",
  36852. "type": "string"
  36853. },
  36854. "reckondate": {
  36855. "description": "上个交易日(前1天交易日)",
  36856. "type": "string"
  36857. },
  36858. "todayavgprice": {
  36859. "description": "上个交易日价格(前1天价格)",
  36860. "type": "string"
  36861. },
  36862. "updown": {
  36863. "description": "涨跌",
  36864. "type": "string"
  36865. },
  36866. "updownratio": {
  36867. "description": "涨幅(已格式化, 直接显示即可)",
  36868. "type": "string"
  36869. }
  36870. }
  36871. },
  36872. "models.WrSpotGroupTradeSumDetail": {
  36873. "type": "object",
  36874. "properties": {
  36875. "deliverygoodsid": {
  36876. "description": "现货商品id",
  36877. "type": "integer"
  36878. },
  36879. "price": {
  36880. "description": "价格",
  36881. "type": "number"
  36882. },
  36883. "reckondate": {
  36884. "description": "日期(yyymmdd, 如:20211031)",
  36885. "type": "string"
  36886. }
  36887. }
  36888. },
  36889. "models.WrSpotGroupTradeSumEx": {
  36890. "type": "object",
  36891. "properties": {
  36892. "lst": {
  36893. "description": "指数列表",
  36894. "type": "array",
  36895. "items": {
  36896. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  36897. }
  36898. },
  36899. "prereckondate": {
  36900. "description": "上上个交易日(yyymmdd)",
  36901. "type": "string"
  36902. },
  36903. "reckondate": {
  36904. "description": "上个交易日(yyyymmdd)",
  36905. "type": "string"
  36906. }
  36907. }
  36908. },
  36909. "models.WrStandardFactoryItem": {
  36910. "type": "object",
  36911. "properties": {
  36912. "dgfactoryitemid": {
  36913. "description": "选择项id",
  36914. "type": "integer"
  36915. },
  36916. "dgfactoryitemvalue": {
  36917. "description": "要素项值",
  36918. "type": "string"
  36919. },
  36920. "warehouseid": {
  36921. "description": "仓库id",
  36922. "type": "integer"
  36923. }
  36924. }
  36925. },
  36926. "models.WrStandardFactoryItemEx": {
  36927. "type": "object",
  36928. "properties": {
  36929. "dgfactoryitemtypeid": {
  36930. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  36931. "type": "integer"
  36932. },
  36933. "itemlst": {
  36934. "description": "要素项列表",
  36935. "type": "array",
  36936. "items": {
  36937. "$ref": "#/definitions/models.WrStandardFactoryItem"
  36938. }
  36939. },
  36940. "itemtypename": {
  36941. "description": "要素项类型名称",
  36942. "type": "string"
  36943. },
  36944. "wrstandardid": {
  36945. "description": "品类",
  36946. "type": "integer"
  36947. }
  36948. }
  36949. },
  36950. "models.WrTradeDetail": {
  36951. "type": "object",
  36952. "properties": {
  36953. "accountid": {
  36954. "description": "资金账号",
  36955. "type": "integer"
  36956. },
  36957. "begindate": {
  36958. "description": "开始交易日(yyyymmdd)",
  36959. "type": "string"
  36960. },
  36961. "buyorsell": {
  36962. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36963. "type": "integer"
  36964. },
  36965. "chargevalue": {
  36966. "description": "手续费",
  36967. "type": "number"
  36968. },
  36969. "deliverygoodscode": {
  36970. "description": "品种代码",
  36971. "type": "string"
  36972. },
  36973. "deliverygoodsid": {
  36974. "description": "品种ID",
  36975. "type": "integer"
  36976. },
  36977. "deliverygoodsname": {
  36978. "description": "品种名称",
  36979. "type": "string"
  36980. },
  36981. "deliverymonth": {
  36982. "description": "交收月",
  36983. "type": "string"
  36984. },
  36985. "enddate": {
  36986. "description": "结束交易日(yyyymmdd)",
  36987. "type": "string"
  36988. },
  36989. "enumdicname": {
  36990. "description": "单位名称",
  36991. "type": "string"
  36992. },
  36993. "haswr": {
  36994. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36995. "type": "integer"
  36996. },
  36997. "marketid": {
  36998. "description": "市场ID",
  36999. "type": "integer"
  37000. },
  37001. "matchaccountid": {
  37002. "description": "对手账号",
  37003. "type": "integer"
  37004. },
  37005. "matchusername": {
  37006. "description": "对手方",
  37007. "type": "string"
  37008. },
  37009. "minivalue": {
  37010. "description": "现货商品最小变动值",
  37011. "type": "integer"
  37012. },
  37013. "optioncompare": {
  37014. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37015. "type": "string"
  37016. },
  37017. "tradedate": {
  37018. "description": "交易日(yyyyMMdd)",
  37019. "type": "string"
  37020. },
  37021. "tradeprice": {
  37022. "description": "成交价格",
  37023. "type": "number"
  37024. },
  37025. "tradeqty": {
  37026. "description": "成交数量",
  37027. "type": "number"
  37028. },
  37029. "tradetime": {
  37030. "description": "成交时间",
  37031. "type": "string"
  37032. },
  37033. "userid": {
  37034. "description": "用户ID",
  37035. "type": "integer"
  37036. },
  37037. "warehouseid": {
  37038. "description": "仓库ID",
  37039. "type": "integer"
  37040. },
  37041. "warehousename": {
  37042. "description": "仓库名称",
  37043. "type": "string"
  37044. },
  37045. "wrfactortypeid": {
  37046. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37047. "type": "string"
  37048. },
  37049. "wrfactortypename": {
  37050. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37051. "type": "string"
  37052. },
  37053. "wrstandardcode": {
  37054. "description": "现货商品代码",
  37055. "type": "string"
  37056. },
  37057. "wrstandardid": {
  37058. "description": "现货商品ID",
  37059. "type": "integer"
  37060. },
  37061. "wrstandardname": {
  37062. "description": "商品名称",
  37063. "type": "string"
  37064. },
  37065. "wrtradedetailid": {
  37066. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  37067. "type": "string"
  37068. },
  37069. "wrtradetype": {
  37070. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  37071. "type": "integer"
  37072. },
  37073. "wrtypename": {
  37074. "description": "商品",
  37075. "type": "string"
  37076. }
  37077. }
  37078. },
  37079. "models.WrTradeOrderDetail": {
  37080. "type": "object",
  37081. "properties": {
  37082. "buyorsell": {
  37083. "description": "买卖方向 0-买 1-卖",
  37084. "type": "integer"
  37085. },
  37086. "goodsid": {
  37087. "description": "商品id",
  37088. "type": "integer"
  37089. },
  37090. "orderid": {
  37091. "description": "委托单号",
  37092. "type": "string"
  37093. },
  37094. "orderprice": {
  37095. "description": "委托价格",
  37096. "type": "number"
  37097. },
  37098. "orderqty": {
  37099. "description": "委托数量",
  37100. "type": "integer"
  37101. },
  37102. "userid": {
  37103. "description": "用户id",
  37104. "type": "integer"
  37105. },
  37106. "username": {
  37107. "description": "用户名称(已脱敏)",
  37108. "type": "string"
  37109. }
  37110. }
  37111. },
  37112. "models.WrTypeItem": {
  37113. "type": "object",
  37114. "properties": {
  37115. "name": {
  37116. "description": "名称",
  37117. "type": "string"
  37118. },
  37119. "value": {
  37120. "description": "值",
  37121. "type": "string"
  37122. }
  37123. }
  37124. },
  37125. "models.WrUserFriend": {
  37126. "type": "object",
  37127. "properties": {
  37128. "friendname": {
  37129. "description": "朋友名称(已脱敏)",
  37130. "type": "string"
  37131. },
  37132. "frienduserid": {
  37133. "description": "朋友id",
  37134. "type": "integer"
  37135. },
  37136. "isfriend": {
  37137. "description": "是否好友 0-不是 1-是",
  37138. "type": "integer"
  37139. },
  37140. "userid": {
  37141. "description": "用户id",
  37142. "type": "integer"
  37143. }
  37144. }
  37145. },
  37146. "models.WrUserReceiptInfo": {
  37147. "type": "object",
  37148. "properties": {
  37149. "address": {
  37150. "description": "地址[发票类型:企业]",
  37151. "type": "string"
  37152. },
  37153. "autoid": {
  37154. "description": "AutoID",
  37155. "type": "integer"
  37156. },
  37157. "contactinfo": {
  37158. "description": "联系方式",
  37159. "type": "string"
  37160. },
  37161. "idnum": {
  37162. "description": "身份证号码[发票类型:个人]",
  37163. "type": "string"
  37164. },
  37165. "isdefault": {
  37166. "description": "是否默认地址 - 0:否 1:是",
  37167. "type": "integer"
  37168. },
  37169. "receiptaccount": {
  37170. "description": "发票帐号[发票类型:企业]",
  37171. "type": "string"
  37172. },
  37173. "receiptbank": {
  37174. "description": "发票开户行[发票类型:企业]",
  37175. "type": "string"
  37176. },
  37177. "receipttype": {
  37178. "description": "发票类型 - 1:个人 2:企业",
  37179. "type": "integer"
  37180. },
  37181. "taxpayerid": {
  37182. "description": "纳税人识别号",
  37183. "type": "string"
  37184. },
  37185. "userid": {
  37186. "description": "用户ID",
  37187. "type": "integer"
  37188. },
  37189. "username": {
  37190. "description": "户名(个人姓名或企业名称)",
  37191. "type": "string"
  37192. }
  37193. }
  37194. },
  37195. "models.XHBRAND": {
  37196. "type": "object",
  37197. "properties": {
  37198. "brandid": {
  37199. "description": "品牌id",
  37200. "type": "integer"
  37201. },
  37202. "brandname": {
  37203. "description": "品牌名称",
  37204. "type": "string"
  37205. },
  37206. "isvalid": {
  37207. "description": "是否有效 0-无效 1-有效",
  37208. "type": "integer"
  37209. }
  37210. }
  37211. },
  37212. "models.XHDeliveryGoods": {
  37213. "type": "object",
  37214. "properties": {
  37215. "areauserid": {
  37216. "description": "所属机构",
  37217. "type": "integer"
  37218. },
  37219. "bdlst": {
  37220. "description": "品牌列表",
  37221. "type": "array",
  37222. "items": {
  37223. "$ref": "#/definitions/models.XHBRAND"
  37224. }
  37225. },
  37226. "deliverygoodscode": {
  37227. "description": "现货品种代码",
  37228. "type": "string"
  37229. },
  37230. "deliverygoodsid": {
  37231. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  37232. "type": "integer"
  37233. },
  37234. "deliverygoodsname": {
  37235. "description": "现货品种名称",
  37236. "type": "string"
  37237. },
  37238. "dgstatus": {
  37239. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  37240. "type": "integer"
  37241. },
  37242. "isvalid": {
  37243. "description": "是否有效 - 0:无效 1:有效",
  37244. "type": "integer"
  37245. },
  37246. "remark": {
  37247. "description": "备注",
  37248. "type": "string"
  37249. },
  37250. "unitid": {
  37251. "description": "单位id(目前看,数据库中是空值)",
  37252. "type": "integer"
  37253. },
  37254. "wdlst": {
  37255. "description": "品类(现货商品)列表",
  37256. "type": "array",
  37257. "items": {
  37258. "$ref": "#/definitions/models.XHWrstandard"
  37259. }
  37260. }
  37261. }
  37262. },
  37263. "models.XHMiddleGoods": {
  37264. "type": "object",
  37265. "properties": {
  37266. "GPLST": {
  37267. "description": "期货品种列表",
  37268. "type": "array",
  37269. "items": {
  37270. "$ref": "#/definitions/models.TBGoodsGroup"
  37271. }
  37272. },
  37273. "convertratio": {
  37274. "description": "拆算系数",
  37275. "type": "number"
  37276. },
  37277. "costratio": {
  37278. "description": "成本权重",
  37279. "type": "number"
  37280. },
  37281. "deliverygoodsid": {
  37282. "description": "现货商品id",
  37283. "type": "integer"
  37284. },
  37285. "enumdicname": {
  37286. "description": "单位名称",
  37287. "type": "string"
  37288. },
  37289. "middlegoodscode": {
  37290. "description": "套保品种代码",
  37291. "type": "string"
  37292. },
  37293. "middlegoodsid": {
  37294. "description": "套保品种id",
  37295. "type": "integer"
  37296. },
  37297. "middlegoodsname": {
  37298. "description": "套保品种名称",
  37299. "type": "string"
  37300. },
  37301. "unitid": {
  37302. "description": "单位id",
  37303. "type": "integer"
  37304. }
  37305. }
  37306. },
  37307. "models.XHWrstandard": {
  37308. "type": "object",
  37309. "properties": {
  37310. "deliverygoodsid": {
  37311. "description": "品种ID",
  37312. "type": "integer"
  37313. },
  37314. "enumdicname": {
  37315. "description": "单位名称",
  37316. "type": "string"
  37317. },
  37318. "mglst": {
  37319. "description": "套保品列表",
  37320. "type": "array",
  37321. "items": {
  37322. "$ref": "#/definitions/models.XHMiddleGoods"
  37323. }
  37324. },
  37325. "unitid": {
  37326. "description": "单位id",
  37327. "type": "integer"
  37328. },
  37329. "vatrate": {
  37330. "description": "增值税率",
  37331. "type": "number"
  37332. },
  37333. "wrstandardcode": {
  37334. "description": "现货商品代码",
  37335. "type": "string"
  37336. },
  37337. "wrstandardid": {
  37338. "description": "现货商品ID(SEQ_WRSTANDARD)",
  37339. "type": "integer"
  37340. },
  37341. "wrstandardname": {
  37342. "description": "现货商品名称",
  37343. "type": "string"
  37344. }
  37345. }
  37346. },
  37347. "order.QueryHisTradeDetailRsp": {
  37348. "type": "object",
  37349. "required": [
  37350. "accountid",
  37351. "buyorsell",
  37352. "goodsid",
  37353. "histradedate",
  37354. "marketid",
  37355. "memberuserid",
  37356. "orderid",
  37357. "tradeamount",
  37358. "tradedate",
  37359. "tradeid",
  37360. "tradeprice",
  37361. "tradeqty",
  37362. "tradetime"
  37363. ],
  37364. "properties": {
  37365. "accountid": {
  37366. "description": "账户ID[报价币种]",
  37367. "type": "integer"
  37368. },
  37369. "advanceratio": {
  37370. "description": "首付比率",
  37371. "type": "number"
  37372. },
  37373. "buildtype": {
  37374. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37375. "type": "integer"
  37376. },
  37377. "buyorsell": {
  37378. "description": "方向 - 0:买 1:卖",
  37379. "type": "integer"
  37380. },
  37381. "charge": {
  37382. "description": "手续费",
  37383. "type": "number"
  37384. },
  37385. "closecharge": {
  37386. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37387. "type": "number"
  37388. },
  37389. "closeexchagechargevalue": {
  37390. "description": "平仓交易所手续费设置值",
  37391. "type": "number"
  37392. },
  37393. "closefeealgorithm": {
  37394. "description": "平仓手续费收取方式 1:比率 2:固定",
  37395. "type": "integer"
  37396. },
  37397. "closememberchargevalue": {
  37398. "description": "平仓会员手续费设置值",
  37399. "type": "number"
  37400. },
  37401. "closepl": {
  37402. "description": "平仓盈亏",
  37403. "type": "number"
  37404. },
  37405. "closepl2": {
  37406. "description": "平仓盈亏[逐笔]",
  37407. "type": "number"
  37408. },
  37409. "closeqty": {
  37410. "description": "平仓数量(先建后平操作 需要记录)",
  37411. "type": "number"
  37412. },
  37413. "creditamount": {
  37414. "description": "授信金额",
  37415. "type": "number"
  37416. },
  37417. "decimalplace": {
  37418. "description": "商品报价小数位",
  37419. "type": "integer"
  37420. },
  37421. "enumdicname": {
  37422. "description": "单位名称",
  37423. "type": "string"
  37424. },
  37425. "gcaccountid": {
  37426. "description": "账户ID[合约币种]",
  37427. "type": "integer"
  37428. },
  37429. "goodscode": {
  37430. "description": "商品代码",
  37431. "type": "string"
  37432. },
  37433. "goodsid": {
  37434. "description": "商品ID",
  37435. "type": "integer"
  37436. },
  37437. "goodsname": {
  37438. "description": "商品名称",
  37439. "type": "string"
  37440. },
  37441. "goodunitid": {
  37442. "description": "商品单位id",
  37443. "type": "integer"
  37444. },
  37445. "histradedate": {
  37446. "description": "历史交易日",
  37447. "type": "string"
  37448. },
  37449. "intclosepl": {
  37450. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37451. "type": "integer"
  37452. },
  37453. "isconfirmexercise": {
  37454. "description": "是否确认行权- 0:否 1:是",
  37455. "type": "integer"
  37456. },
  37457. "ismain": {
  37458. "description": "是否主单 - 0:不是 1:是",
  37459. "type": "integer"
  37460. },
  37461. "ispreexercise": {
  37462. "description": "是否预申报- 0:否 1:是",
  37463. "type": "integer"
  37464. },
  37465. "isreckoned": {
  37466. "description": "是否结算 - 0:未结算 1:已结算",
  37467. "type": "integer"
  37468. },
  37469. "isvaliddata": {
  37470. "description": "是否有效 - 0:无效 1:有效",
  37471. "type": "integer"
  37472. },
  37473. "listingselecttype": {
  37474. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37475. "type": "integer"
  37476. },
  37477. "marketid": {
  37478. "description": "市场ID",
  37479. "type": "integer"
  37480. },
  37481. "marketname": {
  37482. "description": "市场名称",
  37483. "type": "string"
  37484. },
  37485. "matchaccountid": {
  37486. "description": "对手账号id",
  37487. "type": "integer"
  37488. },
  37489. "memberuserid": {
  37490. "description": "会员id 个人投资者 需要填写",
  37491. "type": "integer"
  37492. },
  37493. "opencharge": {
  37494. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37495. "type": "number"
  37496. },
  37497. "openexchagechargevalue": {
  37498. "description": "建仓交易所手续费设置值",
  37499. "type": "number"
  37500. },
  37501. "openfeealgorithm": {
  37502. "description": "建仓手续费收取方式 1:比率 2:固定",
  37503. "type": "integer"
  37504. },
  37505. "openmemberchargevalue": {
  37506. "description": "建仓会员手续费设置值",
  37507. "type": "number"
  37508. },
  37509. "openqty": {
  37510. "description": "开仓数量(先建后平操作 需要记录)",
  37511. "type": "number"
  37512. },
  37513. "optiontype": {
  37514. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37515. "type": "integer"
  37516. },
  37517. "orderid": {
  37518. "description": "委托单号",
  37519. "type": "string"
  37520. },
  37521. "payamount": {
  37522. "description": "支付金额(付款金额)",
  37523. "type": "number"
  37524. },
  37525. "performanceplanid": {
  37526. "description": "履约计划ID[期权]",
  37527. "type": "integer"
  37528. },
  37529. "performancestatus": {
  37530. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37531. "type": "integer"
  37532. },
  37533. "preexerciseprice": {
  37534. "description": "预申报价格",
  37535. "type": "number"
  37536. },
  37537. "premium": {
  37538. "description": "权利金 - [持仓单的权利金]",
  37539. "type": "number"
  37540. },
  37541. "qtydecimalplace": {
  37542. "description": "商品报价小数位",
  37543. "type": "integer"
  37544. },
  37545. "recvamount": {
  37546. "description": "到账金额 = 成交金额 - 手续费",
  37547. "type": "number"
  37548. },
  37549. "relatedouttradeid": {
  37550. "description": "关联外部成交单ID",
  37551. "type": "integer"
  37552. },
  37553. "status": {
  37554. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37555. "type": "integer"
  37556. },
  37557. "totalamount": {
  37558. "description": "订单总额 = 成交金额 + 手续费",
  37559. "type": "number"
  37560. },
  37561. "tradeamount": {
  37562. "description": "成交金额[账户币种,用于所有权]",
  37563. "type": "number"
  37564. },
  37565. "tradedate": {
  37566. "description": "交易日(yyyyMMdd)",
  37567. "type": "string"
  37568. },
  37569. "tradeid": {
  37570. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37571. "type": "string"
  37572. },
  37573. "trademode": {
  37574. "description": "交易模式",
  37575. "type": "integer"
  37576. },
  37577. "tradeprice": {
  37578. "description": "成交价格",
  37579. "type": "number"
  37580. },
  37581. "tradeproperty": {
  37582. "description": "交易属性",
  37583. "type": "integer"
  37584. },
  37585. "tradeqty": {
  37586. "description": "成交数量",
  37587. "type": "number"
  37588. },
  37589. "tradetime": {
  37590. "description": "成交时间",
  37591. "type": "string"
  37592. },
  37593. "tradetype": {
  37594. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37595. "type": "integer"
  37596. }
  37597. }
  37598. },
  37599. "order.QueryHisTradeOrderDetailRsp": {
  37600. "type": "object",
  37601. "required": [
  37602. "accountid",
  37603. "buildtype",
  37604. "buyorsell",
  37605. "goodsid",
  37606. "histradedate",
  37607. "marketid",
  37608. "memberuserid",
  37609. "operatetype",
  37610. "orderid",
  37611. "orderqty",
  37612. "ordertime",
  37613. "pricemode",
  37614. "tradedate",
  37615. "validtype"
  37616. ],
  37617. "properties": {
  37618. "accountid": {
  37619. "description": "账户ID[报价币种]",
  37620. "type": "integer"
  37621. },
  37622. "buildtype": {
  37623. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37624. "type": "integer"
  37625. },
  37626. "buyorsell": {
  37627. "description": "买卖 - 0:买 1:卖",
  37628. "type": "integer"
  37629. },
  37630. "cancelorderid": {
  37631. "description": "撤单单号(撤单时填写)",
  37632. "type": "string"
  37633. },
  37634. "cancelqty": {
  37635. "description": "撤单数量",
  37636. "type": "number"
  37637. },
  37638. "clientordertime": {
  37639. "description": "客户端委托时间",
  37640. "type": "string"
  37641. },
  37642. "clientticket": {
  37643. "description": "客户端流水号",
  37644. "type": "string"
  37645. },
  37646. "clienttype": {
  37647. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37648. "type": "integer"
  37649. },
  37650. "closeexchagechargevalue": {
  37651. "description": "平仓交易所手续费设置值",
  37652. "type": "number"
  37653. },
  37654. "closefeealgorithm": {
  37655. "description": "平仓手续费收取方式 1:比率 2:固定",
  37656. "type": "integer"
  37657. },
  37658. "closefreezecharge": {
  37659. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37660. "type": "number"
  37661. },
  37662. "closememberchargevalue": {
  37663. "description": "平仓会员手续费设置值",
  37664. "type": "number"
  37665. },
  37666. "closeqty": {
  37667. "description": "平仓数量(先建后平操作 需要记录)",
  37668. "type": "number"
  37669. },
  37670. "closetradeqty": {
  37671. "description": "平仓成交数量(先建后平操作,需要记录)",
  37672. "type": "number"
  37673. },
  37674. "closeunfreezecharge": {
  37675. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37676. "type": "number"
  37677. },
  37678. "decimalplace": {
  37679. "description": "商品报价小数位",
  37680. "type": "integer"
  37681. },
  37682. "delistingtype": {
  37683. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37684. "type": "integer"
  37685. },
  37686. "enumdicname": {
  37687. "description": "单位名称",
  37688. "type": "string"
  37689. },
  37690. "freezecharge": {
  37691. "description": "冻结手续费",
  37692. "type": "number"
  37693. },
  37694. "freezemargin": {
  37695. "description": "冻结保证金(冻结交易金额)",
  37696. "type": "number"
  37697. },
  37698. "gcaccountid": {
  37699. "description": "账户ID[合约币种]",
  37700. "type": "integer"
  37701. },
  37702. "goodscode": {
  37703. "description": "商品代码",
  37704. "type": "string"
  37705. },
  37706. "goodsid": {
  37707. "description": "商品ID",
  37708. "type": "integer"
  37709. },
  37710. "goodsname": {
  37711. "description": "商品名称",
  37712. "type": "string"
  37713. },
  37714. "goodunitid": {
  37715. "description": "商品单位id",
  37716. "type": "integer"
  37717. },
  37718. "histradedate": {
  37719. "description": "历史交易日",
  37720. "type": "string"
  37721. },
  37722. "isconfirmexercise": {
  37723. "description": "是否确认行权- 0:否 1:是",
  37724. "type": "integer"
  37725. },
  37726. "ispreexercise": {
  37727. "description": "是否预申报- 0:否 1:是",
  37728. "type": "integer"
  37729. },
  37730. "isvaliddata": {
  37731. "description": "是否有效 - 0:无效 1:有效",
  37732. "type": "integer"
  37733. },
  37734. "listingselecttype": {
  37735. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37736. "type": "integer"
  37737. },
  37738. "marginalgorithm": {
  37739. "description": "保证金收取方式 1:比率 2:固定",
  37740. "type": "integer"
  37741. },
  37742. "marginvalue": {
  37743. "description": "即市保证金设置值",
  37744. "type": "number"
  37745. },
  37746. "marketid": {
  37747. "description": "市场ID",
  37748. "type": "integer"
  37749. },
  37750. "marketmaxsub": {
  37751. "description": "市价最大偏移范围",
  37752. "type": "number"
  37753. },
  37754. "marketname": {
  37755. "description": "市场名称",
  37756. "type": "string"
  37757. },
  37758. "memberuserid": {
  37759. "description": "所属会员UserID",
  37760. "type": "integer"
  37761. },
  37762. "openexchagechargevalue": {
  37763. "description": "建仓交易所手续费设置值",
  37764. "type": "number"
  37765. },
  37766. "openfeealgorithm": {
  37767. "description": "建仓手续费收取方式 1:比率 2:固定",
  37768. "type": "integer"
  37769. },
  37770. "openfreezecharge": {
  37771. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37772. "type": "number"
  37773. },
  37774. "openmemberchargevalue": {
  37775. "description": "建仓会员手续费设置值",
  37776. "type": "number"
  37777. },
  37778. "openqty": {
  37779. "description": "开仓数量(先建后平操作,需要记录)",
  37780. "type": "number"
  37781. },
  37782. "opentradeqty": {
  37783. "description": "开仓成交数量(先建后平操作,需要记录)",
  37784. "type": "number"
  37785. },
  37786. "openunfreezecharge": {
  37787. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37788. "type": "number"
  37789. },
  37790. "operatetype": {
  37791. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37792. "type": "integer"
  37793. },
  37794. "operatorid": {
  37795. "description": "登录账号(LoginID)",
  37796. "type": "integer"
  37797. },
  37798. "optiontype": {
  37799. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37800. "type": "integer"
  37801. },
  37802. "orderid": {
  37803. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37804. "type": "string"
  37805. },
  37806. "orderprice": {
  37807. "description": "委托价格",
  37808. "type": "number"
  37809. },
  37810. "orderqty": {
  37811. "description": "委托数量",
  37812. "type": "number"
  37813. },
  37814. "ordersrc": {
  37815. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37816. "type": "integer"
  37817. },
  37818. "orderstatus": {
  37819. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37820. "type": "integer"
  37821. },
  37822. "ordertime": {
  37823. "description": "委托时间",
  37824. "type": "string"
  37825. },
  37826. "preexerciseprice": {
  37827. "description": "预申报价格",
  37828. "type": "number"
  37829. },
  37830. "premium": {
  37831. "description": "权利金",
  37832. "type": "number"
  37833. },
  37834. "preorderid": {
  37835. "description": "关联预埋单号(止盈止损单时填写)",
  37836. "type": "string"
  37837. },
  37838. "pricemode": {
  37839. "description": "取价方式 - 1:市价 2: 限价",
  37840. "type": "integer"
  37841. },
  37842. "qtydecimalplace": {
  37843. "description": "成交量小数位",
  37844. "type": "integer"
  37845. },
  37846. "quoteid": {
  37847. "description": "报价单ID",
  37848. "type": "integer"
  37849. },
  37850. "relatedid": {
  37851. "description": "关联单号(交割单)",
  37852. "type": "string"
  37853. },
  37854. "retcode": {
  37855. "description": "错误代码",
  37856. "type": "integer"
  37857. },
  37858. "sessionid": {
  37859. "description": "会话ID",
  37860. "type": "integer"
  37861. },
  37862. "tradedate": {
  37863. "description": "交易日(yyyyMMdd)",
  37864. "type": "string"
  37865. },
  37866. "trademode": {
  37867. "description": "交易模式",
  37868. "type": "integer"
  37869. },
  37870. "tradeproperty": {
  37871. "description": "交易属性",
  37872. "type": "integer"
  37873. },
  37874. "tradeqty": {
  37875. "description": "成交数量",
  37876. "type": "number"
  37877. },
  37878. "unfreezecharge": {
  37879. "description": "解冻手续费",
  37880. "type": "number"
  37881. },
  37882. "unfreezemargin": {
  37883. "description": "解冻保证金",
  37884. "type": "number"
  37885. },
  37886. "updatetime": {
  37887. "description": "更新时间",
  37888. "type": "string"
  37889. },
  37890. "uuid": {
  37891. "description": "发起端唯一id",
  37892. "type": "string"
  37893. },
  37894. "validtime": {
  37895. "description": "有效期限",
  37896. "type": "string"
  37897. },
  37898. "validtype": {
  37899. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37900. "type": "integer"
  37901. },
  37902. "volumetype": {
  37903. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37904. "type": "integer"
  37905. }
  37906. }
  37907. },
  37908. "order.QueryTradeDetailRsp": {
  37909. "type": "object",
  37910. "required": [
  37911. "accountid",
  37912. "buyorsell",
  37913. "goodsid",
  37914. "marketid",
  37915. "memberuserid",
  37916. "orderid",
  37917. "tradeamount",
  37918. "tradedate",
  37919. "tradeid",
  37920. "tradeprice",
  37921. "tradeqty",
  37922. "tradetime"
  37923. ],
  37924. "properties": {
  37925. "accountid": {
  37926. "description": "账户ID[报价币种]",
  37927. "type": "integer"
  37928. },
  37929. "advanceratio": {
  37930. "description": "首付比率",
  37931. "type": "number"
  37932. },
  37933. "buildtype": {
  37934. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37935. "type": "integer"
  37936. },
  37937. "buyorsell": {
  37938. "description": "方向 - 0:买 1:卖",
  37939. "type": "integer"
  37940. },
  37941. "charge": {
  37942. "description": "手续费",
  37943. "type": "number"
  37944. },
  37945. "closecharge": {
  37946. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37947. "type": "number"
  37948. },
  37949. "closeexchagechargevalue": {
  37950. "description": "平仓交易所手续费设置值",
  37951. "type": "number"
  37952. },
  37953. "closefeealgorithm": {
  37954. "description": "平仓手续费收取方式 1:比率 2:固定",
  37955. "type": "integer"
  37956. },
  37957. "closememberchargevalue": {
  37958. "description": "平仓会员手续费设置值",
  37959. "type": "number"
  37960. },
  37961. "closepl": {
  37962. "description": "平仓盈亏",
  37963. "type": "number"
  37964. },
  37965. "closepl2": {
  37966. "description": "平仓盈亏[逐笔]",
  37967. "type": "number"
  37968. },
  37969. "closeqty": {
  37970. "description": "平仓数量(先建后平操作 需要记录)",
  37971. "type": "number"
  37972. },
  37973. "creditamount": {
  37974. "description": "授信金额",
  37975. "type": "number"
  37976. },
  37977. "decimalplace": {
  37978. "description": "商品报价小数位",
  37979. "type": "integer"
  37980. },
  37981. "enumdicname": {
  37982. "description": "单位名称",
  37983. "type": "string"
  37984. },
  37985. "gcaccountid": {
  37986. "description": "账户ID[合约币种]",
  37987. "type": "integer"
  37988. },
  37989. "goodscode": {
  37990. "description": "商品代码",
  37991. "type": "string"
  37992. },
  37993. "goodsid": {
  37994. "description": "商品ID",
  37995. "type": "integer"
  37996. },
  37997. "goodsname": {
  37998. "description": "商品名称",
  37999. "type": "string"
  38000. },
  38001. "goodunitid": {
  38002. "description": "商品单位id",
  38003. "type": "integer"
  38004. },
  38005. "intclosepl": {
  38006. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  38007. "type": "integer"
  38008. },
  38009. "isconfirmexercise": {
  38010. "description": "是否确认行权- 0:否 1:是",
  38011. "type": "integer"
  38012. },
  38013. "ismain": {
  38014. "description": "是否主单 - 0:不是 1:是",
  38015. "type": "integer"
  38016. },
  38017. "ispreexercise": {
  38018. "description": "是否预申报- 0:否 1:是",
  38019. "type": "integer"
  38020. },
  38021. "isreckoned": {
  38022. "description": "是否结算 - 0:未结算 1:已结算",
  38023. "type": "integer"
  38024. },
  38025. "listingselecttype": {
  38026. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38027. "type": "integer"
  38028. },
  38029. "marketid": {
  38030. "description": "市场ID",
  38031. "type": "integer"
  38032. },
  38033. "marketname": {
  38034. "description": "市场名称",
  38035. "type": "string"
  38036. },
  38037. "matchaccountid": {
  38038. "description": "对手账号id",
  38039. "type": "integer"
  38040. },
  38041. "memberuserid": {
  38042. "description": "会员id 个人投资者 需要填写",
  38043. "type": "integer"
  38044. },
  38045. "opencharge": {
  38046. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38047. "type": "number"
  38048. },
  38049. "openexchagechargevalue": {
  38050. "description": "建仓交易所手续费设置值",
  38051. "type": "number"
  38052. },
  38053. "openfeealgorithm": {
  38054. "description": "建仓手续费收取方式 1:比率 2:固定",
  38055. "type": "integer"
  38056. },
  38057. "openmemberchargevalue": {
  38058. "description": "建仓会员手续费设置值",
  38059. "type": "number"
  38060. },
  38061. "openqty": {
  38062. "description": "开仓数量(先建后平操作 需要记录)",
  38063. "type": "number"
  38064. },
  38065. "optiontype": {
  38066. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38067. "type": "integer"
  38068. },
  38069. "orderid": {
  38070. "description": "委托单号",
  38071. "type": "string"
  38072. },
  38073. "payamount": {
  38074. "description": "支付金额(付款金额)",
  38075. "type": "number"
  38076. },
  38077. "performanceplanid": {
  38078. "description": "履约计划ID[期权]",
  38079. "type": "integer"
  38080. },
  38081. "performancestatus": {
  38082. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  38083. "type": "integer"
  38084. },
  38085. "preexerciseprice": {
  38086. "description": "预申报价格",
  38087. "type": "number"
  38088. },
  38089. "premium": {
  38090. "description": "权利金 - [持仓单的权利金]",
  38091. "type": "number"
  38092. },
  38093. "qtydecimalplace": {
  38094. "description": "商品报价小数位",
  38095. "type": "integer"
  38096. },
  38097. "recvamount": {
  38098. "description": "到账金额 = 成交金额 - 手续费",
  38099. "type": "number"
  38100. },
  38101. "relatedouttradeid": {
  38102. "description": "关联外部成交单ID",
  38103. "type": "integer"
  38104. },
  38105. "status": {
  38106. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  38107. "type": "integer"
  38108. },
  38109. "totalamount": {
  38110. "description": "订单总额 = 成交金额 + 手续费",
  38111. "type": "number"
  38112. },
  38113. "tradeamount": {
  38114. "description": "成交金额[账户币种,用于所有权]",
  38115. "type": "number"
  38116. },
  38117. "tradedate": {
  38118. "description": "交易日(yyyyMMdd)",
  38119. "type": "string"
  38120. },
  38121. "tradeid": {
  38122. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38123. "type": "string"
  38124. },
  38125. "trademode": {
  38126. "description": "交易模式",
  38127. "type": "integer"
  38128. },
  38129. "tradeprice": {
  38130. "description": "成交价格",
  38131. "type": "number"
  38132. },
  38133. "tradeproperty": {
  38134. "description": "交易属性",
  38135. "type": "integer"
  38136. },
  38137. "tradeqty": {
  38138. "description": "成交数量",
  38139. "type": "number"
  38140. },
  38141. "tradetime": {
  38142. "description": "成交时间",
  38143. "type": "string"
  38144. },
  38145. "tradetype": {
  38146. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  38147. "type": "integer"
  38148. }
  38149. }
  38150. },
  38151. "order.QueryTradeOrderDetailRsp": {
  38152. "type": "object",
  38153. "required": [
  38154. "accountid",
  38155. "buildtype",
  38156. "buyorsell",
  38157. "goodsid",
  38158. "marketid",
  38159. "operatetype",
  38160. "orderqty",
  38161. "ordertime",
  38162. "pricemode",
  38163. "tradedate",
  38164. "validtype"
  38165. ],
  38166. "properties": {
  38167. "accountid": {
  38168. "description": "账户ID[报价币种]",
  38169. "type": "integer"
  38170. },
  38171. "buildtype": {
  38172. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  38173. "type": "integer"
  38174. },
  38175. "buyorsell": {
  38176. "description": "买卖 - 0:买 1:卖",
  38177. "type": "integer"
  38178. },
  38179. "cancelorderid": {
  38180. "description": "撤单单号(撤单时填写)",
  38181. "type": "string"
  38182. },
  38183. "cancelqty": {
  38184. "description": "撤单数量",
  38185. "type": "number"
  38186. },
  38187. "clienttype": {
  38188. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  38189. "type": "integer"
  38190. },
  38191. "closefreezecharge": {
  38192. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  38193. "type": "number"
  38194. },
  38195. "closeqty": {
  38196. "description": "平仓数量(先建后平操作 需要记录)",
  38197. "type": "number"
  38198. },
  38199. "closetradeqty": {
  38200. "description": "平仓成交数量(先建后平操作,需要记录)",
  38201. "type": "number"
  38202. },
  38203. "closeunfreezecharge": {
  38204. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  38205. "type": "number"
  38206. },
  38207. "decimalplace": {
  38208. "description": "商品报价小数位",
  38209. "type": "integer"
  38210. },
  38211. "delistingtype": {
  38212. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  38213. "type": "integer"
  38214. },
  38215. "enableqty": {
  38216. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  38217. "type": "number"
  38218. },
  38219. "enumdicname": {
  38220. "description": "单位名称",
  38221. "type": "string"
  38222. },
  38223. "freezecharge": {
  38224. "description": "冻结手续费",
  38225. "type": "number"
  38226. },
  38227. "freezemargin": {
  38228. "description": "冻结保证金(冻结交易金额)",
  38229. "type": "number"
  38230. },
  38231. "goodscode": {
  38232. "description": "商品代码",
  38233. "type": "string"
  38234. },
  38235. "goodsid": {
  38236. "description": "商品ID",
  38237. "type": "integer"
  38238. },
  38239. "goodsname": {
  38240. "description": "商品名称",
  38241. "type": "string"
  38242. },
  38243. "goodunitid": {
  38244. "description": "商品单位id",
  38245. "type": "integer"
  38246. },
  38247. "listingselecttype": {
  38248. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38249. "type": "integer"
  38250. },
  38251. "marketid": {
  38252. "description": "市场ID",
  38253. "type": "integer"
  38254. },
  38255. "marketname": {
  38256. "description": "市场名称",
  38257. "type": "string"
  38258. },
  38259. "openfreezecharge": {
  38260. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  38261. "type": "number"
  38262. },
  38263. "openqty": {
  38264. "description": "开仓数量(先建后平操作,需要记录)",
  38265. "type": "number"
  38266. },
  38267. "opentradeqty": {
  38268. "description": "开仓成交数量(先建后平操作,需要记录)",
  38269. "type": "number"
  38270. },
  38271. "openunfreezecharge": {
  38272. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  38273. "type": "number"
  38274. },
  38275. "operatetype": {
  38276. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  38277. "type": "integer"
  38278. },
  38279. "operatorid": {
  38280. "description": "登录账号(LoginID)",
  38281. "type": "integer"
  38282. },
  38283. "orderid": {
  38284. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38285. "type": "string"
  38286. },
  38287. "orderprice": {
  38288. "description": "委托价格",
  38289. "type": "number"
  38290. },
  38291. "orderqty": {
  38292. "description": "委托数量",
  38293. "type": "number"
  38294. },
  38295. "ordersrc": {
  38296. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  38297. "type": "integer"
  38298. },
  38299. "orderstatus": {
  38300. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  38301. "type": "integer"
  38302. },
  38303. "ordertime": {
  38304. "description": "委托时间",
  38305. "type": "string"
  38306. },
  38307. "preorderid": {
  38308. "description": "关联预埋单号(止盈止损单时填写)",
  38309. "type": "string"
  38310. },
  38311. "pricemode": {
  38312. "description": "取价方式 - 1:市价 2: 限价",
  38313. "type": "integer"
  38314. },
  38315. "qtydecimalplace": {
  38316. "description": "商品报价小数位",
  38317. "type": "integer"
  38318. },
  38319. "relatedid": {
  38320. "description": "关联单号(交割单)",
  38321. "type": "string"
  38322. },
  38323. "tradedate": {
  38324. "description": "交易日(yyyyMMdd)",
  38325. "type": "string"
  38326. },
  38327. "trademode": {
  38328. "description": "交易模式",
  38329. "type": "integer"
  38330. },
  38331. "tradeqty": {
  38332. "description": "成交数量",
  38333. "type": "number"
  38334. },
  38335. "unfreezecharge": {
  38336. "description": "解冻手续费",
  38337. "type": "number"
  38338. },
  38339. "unfreezemargin": {
  38340. "description": "解冻保证金",
  38341. "type": "number"
  38342. },
  38343. "validtime": {
  38344. "description": "有效期限",
  38345. "type": "string"
  38346. },
  38347. "validtype": {
  38348. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  38349. "type": "integer"
  38350. },
  38351. "volumetype": {
  38352. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  38353. "type": "integer"
  38354. }
  38355. }
  38356. },
  38357. "order.QueryTradePositionRsp": {
  38358. "type": "object",
  38359. "required": [
  38360. "goodsid"
  38361. ],
  38362. "properties": {
  38363. "accountid": {
  38364. "description": "资金账户",
  38365. "type": "integer"
  38366. },
  38367. "agreeunit": {
  38368. "description": "合约单位",
  38369. "type": "number"
  38370. },
  38371. "averageprice": {
  38372. "description": "持仓均价",
  38373. "type": "number"
  38374. },
  38375. "buyorsell": {
  38376. "description": "方向 - 0:买 1:卖",
  38377. "type": "integer"
  38378. },
  38379. "closetotalqty": {
  38380. "description": "平仓总数量",
  38381. "type": "number"
  38382. },
  38383. "curholderamount": {
  38384. "description": "当前持仓总金额[商品币种]",
  38385. "type": "number"
  38386. },
  38387. "curpositionqty": {
  38388. "description": "当前持仓总数量",
  38389. "type": "number"
  38390. },
  38391. "currencyid": {
  38392. "description": "报价货币ID",
  38393. "type": "integer"
  38394. },
  38395. "curtdposition": {
  38396. "description": "期末今日头寸",
  38397. "type": "number"
  38398. },
  38399. "decimalplace": {
  38400. "description": "报价小数位",
  38401. "type": "integer"
  38402. },
  38403. "enableqty": {
  38404. "description": "可用量",
  38405. "type": "number"
  38406. },
  38407. "fretdposition": {
  38408. "description": "冻结今日头寸",
  38409. "type": "number"
  38410. },
  38411. "frozenqty": {
  38412. "description": "持仓冻结数量",
  38413. "type": "number"
  38414. },
  38415. "goodscode": {
  38416. "description": "商品代码",
  38417. "type": "string"
  38418. },
  38419. "goodsid": {
  38420. "description": "商品Id",
  38421. "type": "integer"
  38422. },
  38423. "goodsname": {
  38424. "description": "商品名称",
  38425. "type": "string"
  38426. },
  38427. "goodunit": {
  38428. "description": "报价单位",
  38429. "type": "string"
  38430. },
  38431. "goodunitid": {
  38432. "description": "报价单位ID",
  38433. "type": "integer"
  38434. },
  38435. "holderamount": {
  38436. "description": "期初持仓总金额[商品币种]",
  38437. "type": "number"
  38438. },
  38439. "lastprice": {
  38440. "description": "最新价",
  38441. "type": "number"
  38442. },
  38443. "marketamount": {
  38444. "description": "市值",
  38445. "type": "number"
  38446. },
  38447. "marketid": {
  38448. "description": "所属市场ID",
  38449. "type": "integer"
  38450. },
  38451. "openreqqty": {
  38452. "description": "开仓申请数量(用于比较最大持仓数量)",
  38453. "type": "number"
  38454. },
  38455. "opentotalqty": {
  38456. "description": "开仓总数量",
  38457. "type": "number"
  38458. },
  38459. "otherfrozenqty": {
  38460. "description": "持仓其他冻结数量(交割冻结)",
  38461. "type": "number"
  38462. },
  38463. "positionpl": {
  38464. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  38465. "type": "number"
  38466. },
  38467. "positionplrate": {
  38468. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  38469. "type": "number"
  38470. },
  38471. "positionqty": {
  38472. "description": "期初持仓数量",
  38473. "type": "number"
  38474. },
  38475. "qtydecimalplace": {
  38476. "description": "成交量小数位",
  38477. "type": "integer"
  38478. },
  38479. "refgoodscode": {
  38480. "description": "参考商品代码",
  38481. "type": "string"
  38482. },
  38483. "refgoodsid": {
  38484. "description": "参考商品ID",
  38485. "type": "integer"
  38486. },
  38487. "tnqty": {
  38488. "description": "T+N冻结总量",
  38489. "type": "number"
  38490. },
  38491. "tnusedqty": {
  38492. "description": "T+N使用量(可以使用T+N的冻结数量)",
  38493. "type": "number"
  38494. },
  38495. "trademode": {
  38496. "description": "交易模式",
  38497. "type": "integer"
  38498. },
  38499. "tradeproperty": {
  38500. "description": "交易属性",
  38501. "type": "integer"
  38502. },
  38503. "usedmargin": {
  38504. "description": "占用保证金[商品币种]",
  38505. "type": "number"
  38506. }
  38507. }
  38508. },
  38509. "pb.GoodsMarginCfgStruct": {
  38510. "type": "object",
  38511. "properties": {
  38512. "CustomerTypeID": {
  38513. "description": "投资者客户类型",
  38514. "type": "integer"
  38515. },
  38516. "GoodsID": {
  38517. "description": "商品ID",
  38518. "type": "integer"
  38519. },
  38520. "IsDefault": {
  38521. "description": "是否默认标志位",
  38522. "type": "integer"
  38523. },
  38524. "LockMarginValue": {
  38525. "description": "锁仓保证金",
  38526. "type": "number"
  38527. },
  38528. "MarginAlgorithm": {
  38529. "description": "保证金计算方式",
  38530. "type": "integer"
  38531. },
  38532. "MarketMarginValue": {
  38533. "description": "即市保证金值",
  38534. "type": "number"
  38535. },
  38536. "RealMarginAlgorithm": {
  38537. "description": "实付保证金计算方式",
  38538. "type": "integer"
  38539. },
  38540. "RealMarginValue": {
  38541. "description": "实付比例",
  38542. "type": "number"
  38543. },
  38544. "ReckonMarginValue": {
  38545. "description": "结算保证金值",
  38546. "type": "number"
  38547. }
  38548. }
  38549. },
  38550. "quote.HistoryData": {
  38551. "type": "object",
  38552. "properties": {
  38553. "c": {
  38554. "description": "收盘价",
  38555. "type": "number"
  38556. },
  38557. "f": {
  38558. "description": "是否补充数据",
  38559. "type": "boolean"
  38560. },
  38561. "h": {
  38562. "description": "最高价",
  38563. "type": "number"
  38564. },
  38565. "hv": {
  38566. "description": "持仓量",
  38567. "type": "integer"
  38568. },
  38569. "l": {
  38570. "description": "最低价",
  38571. "type": "number"
  38572. },
  38573. "o": {
  38574. "description": "开盘价",
  38575. "type": "number"
  38576. },
  38577. "s": {
  38578. "description": "结算价,日线周期(包括)以上才有",
  38579. "type": "number"
  38580. },
  38581. "ts": {
  38582. "description": "时间",
  38583. "type": "string"
  38584. },
  38585. "tt": {
  38586. "description": "总金额",
  38587. "type": "number"
  38588. },
  38589. "tv": {
  38590. "description": "总量(成交量)",
  38591. "type": "integer"
  38592. }
  38593. }
  38594. },
  38595. "quote.HistoryTikData": {
  38596. "type": "object",
  38597. "properties": {
  38598. "AV": {
  38599. "description": "卖量",
  38600. "type": "integer"
  38601. },
  38602. "Ask": {
  38603. "description": "卖价",
  38604. "type": "number"
  38605. },
  38606. "BV": {
  38607. "description": "买量",
  38608. "type": "integer"
  38609. },
  38610. "Bid": {
  38611. "description": "买价",
  38612. "type": "number"
  38613. },
  38614. "HI": {
  38615. "description": "单笔持仓",
  38616. "type": "integer"
  38617. },
  38618. "HV": {
  38619. "description": "持仓量",
  38620. "type": "integer"
  38621. },
  38622. "PE": {
  38623. "description": "现价",
  38624. "type": "number"
  38625. },
  38626. "TDR": {
  38627. "description": "交易方向,0:买 1:卖",
  38628. "type": "integer"
  38629. },
  38630. "TK": {
  38631. "description": "交易类型",
  38632. "type": "integer"
  38633. },
  38634. "TS": {
  38635. "description": "行情时间文本",
  38636. "type": "string"
  38637. },
  38638. "TT": {
  38639. "description": "现金额",
  38640. "type": "number"
  38641. },
  38642. "Vol": {
  38643. "description": "现量",
  38644. "type": "integer"
  38645. }
  38646. }
  38647. },
  38648. "quote.QueryQuoteDayRsp": {
  38649. "type": "object",
  38650. "properties": {
  38651. "ask": {
  38652. "description": "卖1",
  38653. "type": "number"
  38654. },
  38655. "ask10": {
  38656. "description": "卖10",
  38657. "type": "number"
  38658. },
  38659. "ask2": {
  38660. "description": "卖2",
  38661. "type": "number"
  38662. },
  38663. "ask3": {
  38664. "description": "卖3",
  38665. "type": "number"
  38666. },
  38667. "ask4": {
  38668. "description": "卖4",
  38669. "type": "number"
  38670. },
  38671. "ask5": {
  38672. "description": "卖5",
  38673. "type": "number"
  38674. },
  38675. "ask6": {
  38676. "description": "卖6",
  38677. "type": "number"
  38678. },
  38679. "ask7": {
  38680. "description": "卖7",
  38681. "type": "number"
  38682. },
  38683. "ask8": {
  38684. "description": "卖8",
  38685. "type": "number"
  38686. },
  38687. "ask9": {
  38688. "description": "卖9",
  38689. "type": "number"
  38690. },
  38691. "askorderid": {
  38692. "description": "卖单号1",
  38693. "type": "integer"
  38694. },
  38695. "askorderid2": {
  38696. "description": "卖单号2",
  38697. "type": "integer"
  38698. },
  38699. "askorderid3": {
  38700. "description": "卖单号3",
  38701. "type": "integer"
  38702. },
  38703. "askorderid4": {
  38704. "description": "卖单号4",
  38705. "type": "integer"
  38706. },
  38707. "askorderid5": {
  38708. "description": "卖单号5",
  38709. "type": "integer"
  38710. },
  38711. "askordervolume": {
  38712. "description": "卖单量1",
  38713. "type": "integer"
  38714. },
  38715. "askordervolume10": {
  38716. "description": "卖单量10",
  38717. "type": "integer"
  38718. },
  38719. "askordervolume2": {
  38720. "description": "卖单量2",
  38721. "type": "integer"
  38722. },
  38723. "askordervolume3": {
  38724. "description": "卖单量3",
  38725. "type": "integer"
  38726. },
  38727. "askordervolume4": {
  38728. "description": "卖单量4",
  38729. "type": "integer"
  38730. },
  38731. "askordervolume5": {
  38732. "description": "卖单量5",
  38733. "type": "integer"
  38734. },
  38735. "askordervolume6": {
  38736. "description": "卖单量6",
  38737. "type": "integer"
  38738. },
  38739. "askordervolume7": {
  38740. "description": "卖单量7",
  38741. "type": "integer"
  38742. },
  38743. "askordervolume8": {
  38744. "description": "卖单量8",
  38745. "type": "integer"
  38746. },
  38747. "askordervolume9": {
  38748. "description": "卖单量9",
  38749. "type": "integer"
  38750. },
  38751. "askqueueinfo": {
  38752. "description": "大利市卖港股用",
  38753. "type": "string"
  38754. },
  38755. "askvolume": {
  38756. "description": "卖量1",
  38757. "type": "integer"
  38758. },
  38759. "askvolume10": {
  38760. "description": "卖量10",
  38761. "type": "integer"
  38762. },
  38763. "askvolume2": {
  38764. "description": "卖量2",
  38765. "type": "integer"
  38766. },
  38767. "askvolume3": {
  38768. "description": "卖量3",
  38769. "type": "integer"
  38770. },
  38771. "askvolume4": {
  38772. "description": "卖量4",
  38773. "type": "integer"
  38774. },
  38775. "askvolume5": {
  38776. "description": "卖量5",
  38777. "type": "integer"
  38778. },
  38779. "askvolume6": {
  38780. "description": "卖量6",
  38781. "type": "integer"
  38782. },
  38783. "askvolume7": {
  38784. "description": "卖量7",
  38785. "type": "integer"
  38786. },
  38787. "askvolume8": {
  38788. "description": "卖量8",
  38789. "type": "integer"
  38790. },
  38791. "askvolume9": {
  38792. "description": "卖量9",
  38793. "type": "integer"
  38794. },
  38795. "averageprice": {
  38796. "description": "均价",
  38797. "type": "number"
  38798. },
  38799. "bid": {
  38800. "description": "买1",
  38801. "type": "number"
  38802. },
  38803. "bid10": {
  38804. "description": "买10",
  38805. "type": "number"
  38806. },
  38807. "bid2": {
  38808. "description": "买2",
  38809. "type": "number"
  38810. },
  38811. "bid3": {
  38812. "description": "买3",
  38813. "type": "number"
  38814. },
  38815. "bid4": {
  38816. "description": "买4",
  38817. "type": "number"
  38818. },
  38819. "bid5": {
  38820. "description": "买5",
  38821. "type": "number"
  38822. },
  38823. "bid6": {
  38824. "description": "买6",
  38825. "type": "number"
  38826. },
  38827. "bid7": {
  38828. "description": "买7",
  38829. "type": "number"
  38830. },
  38831. "bid8": {
  38832. "description": "买8",
  38833. "type": "number"
  38834. },
  38835. "bid9": {
  38836. "description": "买9",
  38837. "type": "number"
  38838. },
  38839. "bidorderid": {
  38840. "description": "买单号1",
  38841. "type": "integer"
  38842. },
  38843. "bidorderid2": {
  38844. "description": "买单号2",
  38845. "type": "integer"
  38846. },
  38847. "bidorderid3": {
  38848. "description": "买单号3",
  38849. "type": "integer"
  38850. },
  38851. "bidorderid4": {
  38852. "description": "买单号4",
  38853. "type": "integer"
  38854. },
  38855. "bidorderid5": {
  38856. "description": "买单号5",
  38857. "type": "integer"
  38858. },
  38859. "bidordervolume": {
  38860. "description": "买单量1",
  38861. "type": "integer"
  38862. },
  38863. "bidordervolume10": {
  38864. "description": "买单量10",
  38865. "type": "integer"
  38866. },
  38867. "bidordervolume2": {
  38868. "description": "买单量2",
  38869. "type": "integer"
  38870. },
  38871. "bidordervolume3": {
  38872. "description": "买单量3",
  38873. "type": "integer"
  38874. },
  38875. "bidordervolume4": {
  38876. "description": "买单量4",
  38877. "type": "integer"
  38878. },
  38879. "bidordervolume5": {
  38880. "description": "买单量5",
  38881. "type": "integer"
  38882. },
  38883. "bidordervolume6": {
  38884. "description": "买单量6",
  38885. "type": "integer"
  38886. },
  38887. "bidordervolume7": {
  38888. "description": "买单量7",
  38889. "type": "integer"
  38890. },
  38891. "bidordervolume8": {
  38892. "description": "买单量8",
  38893. "type": "integer"
  38894. },
  38895. "bidordervolume9": {
  38896. "description": "买单量9",
  38897. "type": "integer"
  38898. },
  38899. "bidqueueinfo": {
  38900. "description": "大利市买港股用",
  38901. "type": "string"
  38902. },
  38903. "bidvolume": {
  38904. "description": "买量1",
  38905. "type": "integer"
  38906. },
  38907. "bidvolume10": {
  38908. "description": "买量10",
  38909. "type": "integer"
  38910. },
  38911. "bidvolume2": {
  38912. "description": "买量2",
  38913. "type": "integer"
  38914. },
  38915. "bidvolume3": {
  38916. "description": "买量3",
  38917. "type": "integer"
  38918. },
  38919. "bidvolume4": {
  38920. "description": "买量4",
  38921. "type": "integer"
  38922. },
  38923. "bidvolume5": {
  38924. "description": "买量5",
  38925. "type": "integer"
  38926. },
  38927. "bidvolume6": {
  38928. "description": "买量6",
  38929. "type": "integer"
  38930. },
  38931. "bidvolume7": {
  38932. "description": "买量7",
  38933. "type": "integer"
  38934. },
  38935. "bidvolume8": {
  38936. "description": "买量8",
  38937. "type": "integer"
  38938. },
  38939. "bidvolume9": {
  38940. "description": "买量9",
  38941. "type": "integer"
  38942. },
  38943. "calloptionpremiums": {
  38944. "description": "认购期权1",
  38945. "type": "integer"
  38946. },
  38947. "calloptionpremiums2": {
  38948. "description": "认购期权2",
  38949. "type": "integer"
  38950. },
  38951. "calloptionpremiums3": {
  38952. "description": "认购期权3",
  38953. "type": "integer"
  38954. },
  38955. "calloptionpremiums4": {
  38956. "description": "认购期权4",
  38957. "type": "integer"
  38958. },
  38959. "calloptionpremiums5": {
  38960. "description": "认购期权5",
  38961. "type": "integer"
  38962. },
  38963. "cleartime": {
  38964. "description": "清盘时间",
  38965. "type": "integer"
  38966. },
  38967. "exchangecode": {
  38968. "description": "交易所代码",
  38969. "type": "integer"
  38970. },
  38971. "exchangedate": {
  38972. "description": "交易日",
  38973. "type": "integer"
  38974. },
  38975. "goodscode": {
  38976. "description": "商品代码",
  38977. "type": "string"
  38978. },
  38979. "grepmarketprice": {
  38980. "description": "暗盘价 港股专用",
  38981. "type": "number"
  38982. },
  38983. "highest": {
  38984. "description": "最高价",
  38985. "type": "number"
  38986. },
  38987. "holdincrement": {
  38988. "description": "单笔持仓",
  38989. "type": "integer"
  38990. },
  38991. "holdvolume": {
  38992. "description": "持仓",
  38993. "type": "integer"
  38994. },
  38995. "iep": {
  38996. "description": "平衡价 港股专用",
  38997. "type": "number"
  38998. },
  38999. "iev": {
  39000. "description": "平衡量 港股专用",
  39001. "type": "number"
  39002. },
  39003. "inventory": {
  39004. "description": "库存",
  39005. "type": "integer"
  39006. },
  39007. "iscleared": {
  39008. "description": "是否清盘标志",
  39009. "type": "integer"
  39010. },
  39011. "issettled": {
  39012. "description": "是否结算标志",
  39013. "type": "integer"
  39014. },
  39015. "last": {
  39016. "description": "最新价",
  39017. "type": "number"
  39018. },
  39019. "lastlot": {
  39020. "description": "最新成交手数",
  39021. "type": "integer"
  39022. },
  39023. "lasttime": {
  39024. "description": "行情时间(只有现价变化行情时间才变化)",
  39025. "type": "string"
  39026. },
  39027. "lastturnover": {
  39028. "description": "最新成交金额",
  39029. "type": "number"
  39030. },
  39031. "lastvolume": {
  39032. "description": "最新成交量",
  39033. "type": "integer"
  39034. },
  39035. "limitdown": {
  39036. "description": "跌停价",
  39037. "type": "number"
  39038. },
  39039. "limitup": {
  39040. "description": "涨停价",
  39041. "type": "number"
  39042. },
  39043. "lowest": {
  39044. "description": "最低价",
  39045. "type": "number"
  39046. },
  39047. "nontotalholdervolume": {
  39048. "description": "非交易持仓量",
  39049. "type": "integer"
  39050. },
  39051. "nontotallot": {
  39052. "description": "非交易总手数",
  39053. "type": "integer"
  39054. },
  39055. "nontotalturnover": {
  39056. "description": "非交易总金额",
  39057. "type": "integer"
  39058. },
  39059. "nontotalvolume": {
  39060. "description": "非交易总量",
  39061. "type": "integer"
  39062. },
  39063. "opened": {
  39064. "description": "开盘价",
  39065. "type": "number"
  39066. },
  39067. "opentime": {
  39068. "description": "开盘时间",
  39069. "type": "string"
  39070. },
  39071. "orderid": {
  39072. "description": "序号",
  39073. "type": "integer"
  39074. },
  39075. "preclose": {
  39076. "description": "昨收",
  39077. "type": "number"
  39078. },
  39079. "preholdvolume": {
  39080. "description": "昨持仓",
  39081. "type": "integer"
  39082. },
  39083. "presettle": {
  39084. "description": "昨结价",
  39085. "type": "number"
  39086. },
  39087. "publictradetype": {
  39088. "description": "公共交易标志类型 港股专用",
  39089. "type": "string"
  39090. },
  39091. "putoptionpremiums": {
  39092. "description": "认沽期权1",
  39093. "type": "integer"
  39094. },
  39095. "putoptionpremiums2": {
  39096. "description": "认沽期权2",
  39097. "type": "integer"
  39098. },
  39099. "putoptionpremiums3": {
  39100. "description": "认沽期权3",
  39101. "type": "integer"
  39102. },
  39103. "putoptionpremiums4": {
  39104. "description": "认沽期权4",
  39105. "type": "integer"
  39106. },
  39107. "putoptionpremiums5": {
  39108. "description": "认沽期权5",
  39109. "type": "integer"
  39110. },
  39111. "settle": {
  39112. "description": "结算价",
  39113. "type": "number"
  39114. },
  39115. "strikeprice": {
  39116. "description": "发行价",
  39117. "type": "number"
  39118. },
  39119. "totalaskvolume": {
  39120. "description": "内盘",
  39121. "type": "integer"
  39122. },
  39123. "totalbidvolume": {
  39124. "description": "外盘",
  39125. "type": "integer"
  39126. },
  39127. "totallot": {
  39128. "description": "总手数",
  39129. "type": "integer"
  39130. },
  39131. "totalturnover": {
  39132. "description": "总金额",
  39133. "type": "number"
  39134. },
  39135. "totalvolume": {
  39136. "description": "总量",
  39137. "type": "integer"
  39138. },
  39139. "utclasttime": {
  39140. "description": "utc的行情时间",
  39141. "type": "string"
  39142. }
  39143. }
  39144. },
  39145. "quote.QueryTSDataRsp": {
  39146. "type": "object",
  39147. "properties": {
  39148. "Count": {
  39149. "description": "交易日应有数据个数",
  39150. "type": "integer"
  39151. },
  39152. "decimalPlace": {
  39153. "description": "小数位",
  39154. "type": "integer"
  39155. },
  39156. "endTime": {
  39157. "description": "结束时间",
  39158. "type": "string"
  39159. },
  39160. "goodsCode": {
  39161. "description": "商品代码",
  39162. "type": "string"
  39163. },
  39164. "historyDatas": {
  39165. "description": "历史数据",
  39166. "type": "array",
  39167. "items": {
  39168. "$ref": "#/definitions/quote.HistoryData"
  39169. }
  39170. },
  39171. "outGoodsCode": {
  39172. "description": "外部商品代码",
  39173. "type": "string"
  39174. },
  39175. "preSettle": {
  39176. "description": "昨结价",
  39177. "type": "number"
  39178. },
  39179. "runSteps": {
  39180. "description": "交易日开休市计划",
  39181. "type": "array",
  39182. "items": {
  39183. "$ref": "#/definitions/quote.TSDataRunStep"
  39184. }
  39185. },
  39186. "startTime": {
  39187. "description": "开始时间",
  39188. "type": "string"
  39189. },
  39190. "tradeDate": {
  39191. "description": "交易日",
  39192. "type": "string"
  39193. }
  39194. }
  39195. },
  39196. "quote.TSDataRunStep": {
  39197. "type": "object",
  39198. "properties": {
  39199. "end": {
  39200. "description": "真实结束时间",
  39201. "type": "string"
  39202. },
  39203. "endflag": {
  39204. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  39205. "type": "integer"
  39206. },
  39207. "endtime": {
  39208. "description": "结束时间(HH:mm)",
  39209. "type": "string"
  39210. },
  39211. "endweekday": {
  39212. "description": "结束周几",
  39213. "type": "integer"
  39214. },
  39215. "groupid": {
  39216. "description": "分组ID",
  39217. "type": "integer"
  39218. },
  39219. "runstep": {
  39220. "description": "运行阶段 - 2:连续交易",
  39221. "type": "integer"
  39222. },
  39223. "sectionid": {
  39224. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  39225. "type": "integer"
  39226. },
  39227. "start": {
  39228. "description": "真实开始时间",
  39229. "type": "string"
  39230. },
  39231. "startflag": {
  39232. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  39233. "type": "integer"
  39234. },
  39235. "starttime": {
  39236. "description": "起始时间(HH:mm)",
  39237. "type": "string"
  39238. },
  39239. "startweekday": {
  39240. "description": "起始周几",
  39241. "type": "integer"
  39242. },
  39243. "tradeweekday": {
  39244. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  39245. "type": "integer"
  39246. }
  39247. }
  39248. },
  39249. "szdz.QueryConvertLogRsp": {
  39250. "type": "object",
  39251. "required": [
  39252. "logid"
  39253. ],
  39254. "properties": {
  39255. "accountid": {
  39256. "description": "资金账户ID",
  39257. "type": "integer"
  39258. },
  39259. "clientticket": {
  39260. "description": "客户端流水号",
  39261. "type": "string"
  39262. },
  39263. "converttype": {
  39264. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  39265. "type": "integer"
  39266. },
  39267. "createtime": {
  39268. "description": "记账时间",
  39269. "type": "string"
  39270. },
  39271. "daymaxvalue": {
  39272. "description": "配置当日最大转入限制",
  39273. "type": "number"
  39274. },
  39275. "daymaxvalue2": {
  39276. "description": "配置当日最大转入限制(转入)",
  39277. "type": "number"
  39278. },
  39279. "goodscode": {
  39280. "description": "商品代码",
  39281. "type": "string"
  39282. },
  39283. "goodsname": {
  39284. "description": "商品名称",
  39285. "type": "string"
  39286. },
  39287. "handlestatus": {
  39288. "description": "处理状态",
  39289. "type": "integer"
  39290. },
  39291. "innergoodsid": {
  39292. "description": "内部商品ID",
  39293. "type": "integer"
  39294. },
  39295. "inratio": {
  39296. "description": "配置转入比值",
  39297. "type": "integer"
  39298. },
  39299. "invalue": {
  39300. "description": "目标值",
  39301. "type": "number"
  39302. },
  39303. "logid": {
  39304. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39305. "type": "integer"
  39306. },
  39307. "mobile": {
  39308. "description": "手机号码(加密存储)",
  39309. "type": "string"
  39310. },
  39311. "outergoodscode": {
  39312. "description": "外部商品代码[JD\\PD]",
  39313. "type": "string"
  39314. },
  39315. "outratio": {
  39316. "description": "配置转出比值",
  39317. "type": "integer"
  39318. },
  39319. "outvalue": {
  39320. "description": "源值",
  39321. "type": "number"
  39322. },
  39323. "pddecimalplace": {
  39324. "description": "PD小数位",
  39325. "type": "integer"
  39326. },
  39327. "qty": {
  39328. "description": "数量",
  39329. "type": "string"
  39330. },
  39331. "remark": {
  39332. "description": "备注",
  39333. "type": "string"
  39334. },
  39335. "sessionid": {
  39336. "description": "会话ID",
  39337. "type": "integer"
  39338. },
  39339. "timemaxvalue": {
  39340. "description": "配置单次最大转入限制",
  39341. "type": "number"
  39342. },
  39343. "timemaxvalue2": {
  39344. "description": "配置单次最大转入限制(转入)",
  39345. "type": "number"
  39346. },
  39347. "timeminvalue": {
  39348. "description": "配置单次最小数量限制",
  39349. "type": "number"
  39350. },
  39351. "timeminvalue2": {
  39352. "description": "配置单次最小数量限制(转入)",
  39353. "type": "number"
  39354. },
  39355. "tradedate": {
  39356. "description": "交易日(yyyyMMdd)",
  39357. "type": "string"
  39358. },
  39359. "userid": {
  39360. "description": "用户ID",
  39361. "type": "integer"
  39362. }
  39363. }
  39364. },
  39365. "szdz.QueryGoodsPickupRsp": {
  39366. "type": "object",
  39367. "required": [
  39368. "takeorderid"
  39369. ],
  39370. "properties": {
  39371. "accountid": {
  39372. "description": "账户ID",
  39373. "type": "integer"
  39374. },
  39375. "address": {
  39376. "description": "提货人详细地址",
  39377. "type": "string"
  39378. },
  39379. "auditer": {
  39380. "description": "审核人",
  39381. "type": "integer"
  39382. },
  39383. "audittime": {
  39384. "description": "审核时间",
  39385. "type": "string"
  39386. },
  39387. "cardnum": {
  39388. "description": "提货人证件号码",
  39389. "type": "string"
  39390. },
  39391. "cardtypeid": {
  39392. "description": "提货人证件类型",
  39393. "type": "integer"
  39394. },
  39395. "checkremark": {
  39396. "description": "审核备注",
  39397. "type": "string"
  39398. },
  39399. "goodscode": {
  39400. "description": "商品代码",
  39401. "type": "string"
  39402. },
  39403. "goodsid": {
  39404. "description": "商品ID",
  39405. "type": "integer"
  39406. },
  39407. "goodsname": {
  39408. "description": "商品名称",
  39409. "type": "string"
  39410. },
  39411. "handlestatus": {
  39412. "description": "处理状态",
  39413. "type": "integer"
  39414. },
  39415. "marketid": {
  39416. "description": "市场ID",
  39417. "type": "integer"
  39418. },
  39419. "phonenum": {
  39420. "description": "提货人联系方式",
  39421. "type": "string"
  39422. },
  39423. "qty": {
  39424. "description": "提货数量",
  39425. "type": "number"
  39426. },
  39427. "recivername": {
  39428. "description": "提货人姓名",
  39429. "type": "string"
  39430. },
  39431. "reqtime": {
  39432. "description": "更新时间",
  39433. "type": "string"
  39434. },
  39435. "takemode": {
  39436. "description": "提货方式 - 2:自提 3:配送",
  39437. "type": "integer"
  39438. },
  39439. "takeorderid": {
  39440. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  39441. "type": "string"
  39442. },
  39443. "takeorderstatus": {
  39444. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  39445. "type": "integer"
  39446. },
  39447. "takeremark": {
  39448. "description": "提货备注",
  39449. "type": "string"
  39450. },
  39451. "tradedate": {
  39452. "description": "交易日(yyyyMMdd)",
  39453. "type": "string"
  39454. },
  39455. "userid": {
  39456. "description": "用户ID",
  39457. "type": "integer"
  39458. }
  39459. }
  39460. },
  39461. "szdz.QueryRecieptOrderRsp": {
  39462. "type": "object",
  39463. "required": [
  39464. "ordertime"
  39465. ],
  39466. "properties": {
  39467. "accountName": {
  39468. "description": "所属账号名称(已脱敏)",
  39469. "type": "string"
  39470. },
  39471. "accountid": {
  39472. "description": "资金账号",
  39473. "type": "integer"
  39474. },
  39475. "buyorsell": {
  39476. "description": "方向 - 0:买 1:卖",
  39477. "type": "integer"
  39478. },
  39479. "enableqty": {
  39480. "description": "可摘数量",
  39481. "type": "integer"
  39482. },
  39483. "goodscode": {
  39484. "description": "商品代码",
  39485. "type": "string"
  39486. },
  39487. "goodsid": {
  39488. "description": "商品ID",
  39489. "type": "integer"
  39490. },
  39491. "goodsname": {
  39492. "description": "商品名称",
  39493. "type": "string"
  39494. },
  39495. "orderid": {
  39496. "description": "委托单号",
  39497. "type": "string"
  39498. },
  39499. "orderprice": {
  39500. "description": "委托价格",
  39501. "type": "number"
  39502. },
  39503. "ordertime": {
  39504. "description": "委托时间",
  39505. "type": "string"
  39506. },
  39507. "tradedate": {
  39508. "description": "交易日(yyyyMMdd)",
  39509. "type": "string"
  39510. }
  39511. }
  39512. },
  39513. "szdz.QuerySZDZTradePositionRsp": {
  39514. "type": "object",
  39515. "properties": {
  39516. "accountid": {
  39517. "description": "账号Id",
  39518. "type": "integer"
  39519. },
  39520. "agreeunit": {
  39521. "description": "合约单位",
  39522. "type": "number"
  39523. },
  39524. "averageprice": {
  39525. "description": "持仓均价",
  39526. "type": "number"
  39527. },
  39528. "buyorsell": {
  39529. "description": "方向 - 0:买 1:卖",
  39530. "type": "integer"
  39531. },
  39532. "closetotalqty": {
  39533. "description": "平仓总数量",
  39534. "type": "integer"
  39535. },
  39536. "curholderamount": {
  39537. "description": "当前持仓总金额",
  39538. "type": "number"
  39539. },
  39540. "curpositionqty": {
  39541. "description": "当前持仓总数量",
  39542. "type": "integer"
  39543. },
  39544. "currencyid": {
  39545. "description": "报价货币ID",
  39546. "type": "integer"
  39547. },
  39548. "curtdposition": {
  39549. "description": "期末今日头寸",
  39550. "type": "integer"
  39551. },
  39552. "decimalplace": {
  39553. "description": "报价小数位",
  39554. "type": "integer"
  39555. },
  39556. "enableqty": {
  39557. "description": "可用量",
  39558. "type": "integer"
  39559. },
  39560. "fretdposition": {
  39561. "description": "冻结今日头寸",
  39562. "type": "integer"
  39563. },
  39564. "frozenqty": {
  39565. "description": "持仓冻结数量",
  39566. "type": "integer"
  39567. },
  39568. "goodscode": {
  39569. "description": "商品代码(内部)",
  39570. "type": "string"
  39571. },
  39572. "goodsid": {
  39573. "description": "商品Id",
  39574. "type": "integer"
  39575. },
  39576. "goodsname": {
  39577. "description": "商品名称",
  39578. "type": "string"
  39579. },
  39580. "goodunit": {
  39581. "description": "报价单位",
  39582. "type": "string"
  39583. },
  39584. "goodunitid": {
  39585. "description": "报价单位ID",
  39586. "type": "integer"
  39587. },
  39588. "holderamount": {
  39589. "description": "期初持仓总金额",
  39590. "type": "number"
  39591. },
  39592. "marketid": {
  39593. "description": "市场ID",
  39594. "type": "integer"
  39595. },
  39596. "openreqqty": {
  39597. "description": "开仓申请数量",
  39598. "type": "integer"
  39599. },
  39600. "opentotalqty": {
  39601. "description": "开仓总数量",
  39602. "type": "integer"
  39603. },
  39604. "otherfrozenqty": {
  39605. "description": "持仓其他冻结数量(交割冻结)",
  39606. "type": "integer"
  39607. },
  39608. "positionqty": {
  39609. "description": "期初持仓数量",
  39610. "type": "integer"
  39611. },
  39612. "szdz3freezqty": {
  39613. "description": "尚志大宗转换冻结总数量",
  39614. "type": "integer"
  39615. },
  39616. "tnqty": {
  39617. "description": "T+N冻结总量",
  39618. "type": "integer"
  39619. },
  39620. "tnusedqty": {
  39621. "description": "T+N使用量",
  39622. "type": "integer"
  39623. },
  39624. "trademode": {
  39625. "description": "交易模式",
  39626. "type": "integer"
  39627. },
  39628. "usedmargin": {
  39629. "description": "占用保证金",
  39630. "type": "number"
  39631. }
  39632. }
  39633. },
  39634. "taaccount.QueryAmountLogRsp": {
  39635. "type": "object",
  39636. "required": [
  39637. "accountid",
  39638. "amount",
  39639. "amountadjusttype",
  39640. "autoid",
  39641. "balance",
  39642. "createtime",
  39643. "currentbalance",
  39644. "operatetype"
  39645. ],
  39646. "properties": {
  39647. "OPERATETYPENAME": {
  39648. "description": "资金操作类型名称",
  39649. "type": "string"
  39650. },
  39651. "accountid": {
  39652. "description": "资金账户ID",
  39653. "type": "integer"
  39654. },
  39655. "agoodscode": {
  39656. "description": "竞拍商品代码",
  39657. "type": "string"
  39658. },
  39659. "agoodsname": {
  39660. "description": "竞拍商品名称",
  39661. "type": "string"
  39662. },
  39663. "amount": {
  39664. "description": "资金金额",
  39665. "type": "number"
  39666. },
  39667. "amountadjusttype": {
  39668. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39669. "type": "integer"
  39670. },
  39671. "autoid": {
  39672. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39673. "type": "integer"
  39674. },
  39675. "balance": {
  39676. "description": "期初余额",
  39677. "type": "number"
  39678. },
  39679. "businesscode": {
  39680. "description": "业务编号",
  39681. "type": "integer"
  39682. },
  39683. "createtime": {
  39684. "description": "发生时间",
  39685. "type": "string"
  39686. },
  39687. "currencyid": {
  39688. "description": "币种ID",
  39689. "type": "integer"
  39690. },
  39691. "currentbalance": {
  39692. "description": "期末余额(变动后金额)",
  39693. "type": "number"
  39694. },
  39695. "dgoodscode": {
  39696. "description": "交割商品代码",
  39697. "type": "string"
  39698. },
  39699. "dgoodsname": {
  39700. "description": "交割商品名称",
  39701. "type": "string"
  39702. },
  39703. "goodscode": {
  39704. "description": "商品代码",
  39705. "type": "string"
  39706. },
  39707. "goodsid": {
  39708. "description": "商品ID",
  39709. "type": "integer"
  39710. },
  39711. "goodsname": {
  39712. "description": "商品名称",
  39713. "type": "string"
  39714. },
  39715. "marketid": {
  39716. "description": "市场ID",
  39717. "type": "integer"
  39718. },
  39719. "marketname": {
  39720. "description": "市场名称",
  39721. "type": "string"
  39722. },
  39723. "moneyticket": {
  39724. "description": "资金流水号:银行端流水号",
  39725. "type": "integer"
  39726. },
  39727. "operatetype": {
  39728. "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:营销收款",
  39729. "type": "integer"
  39730. },
  39731. "relationorderid": {
  39732. "description": "关联单号",
  39733. "type": "string"
  39734. },
  39735. "remark": {
  39736. "description": "备注",
  39737. "type": "string"
  39738. },
  39739. "trademode": {
  39740. "description": "交易模式",
  39741. "type": "integer"
  39742. }
  39743. }
  39744. },
  39745. "taaccount.QueryHisAmountLogRsp": {
  39746. "type": "object",
  39747. "required": [
  39748. "accountid",
  39749. "amount",
  39750. "amountadjusttype",
  39751. "autoid",
  39752. "balance",
  39753. "createtime",
  39754. "currentbalance",
  39755. "histradedate",
  39756. "operatetype"
  39757. ],
  39758. "properties": {
  39759. "OPERATETYPENAME": {
  39760. "description": "资金操作类型名称",
  39761. "type": "string"
  39762. },
  39763. "accountid": {
  39764. "description": "资金账户ID",
  39765. "type": "integer"
  39766. },
  39767. "agoodscode": {
  39768. "description": "竞拍商品代码",
  39769. "type": "string"
  39770. },
  39771. "agoodsname": {
  39772. "description": "竞拍商品名称",
  39773. "type": "string"
  39774. },
  39775. "amount": {
  39776. "description": "资金金额",
  39777. "type": "number"
  39778. },
  39779. "amountadjusttype": {
  39780. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39781. "type": "integer"
  39782. },
  39783. "autoid": {
  39784. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39785. "type": "integer"
  39786. },
  39787. "balance": {
  39788. "description": "期初余额",
  39789. "type": "number"
  39790. },
  39791. "businesscode": {
  39792. "description": "业务编号",
  39793. "type": "integer"
  39794. },
  39795. "createtime": {
  39796. "description": "发生时间",
  39797. "type": "string"
  39798. },
  39799. "currencyid": {
  39800. "description": "币种ID",
  39801. "type": "integer"
  39802. },
  39803. "currentbalance": {
  39804. "description": "期末余额(变动后金额)",
  39805. "type": "number"
  39806. },
  39807. "dgoodscode": {
  39808. "description": "交割商品代码",
  39809. "type": "string"
  39810. },
  39811. "dgoodsname": {
  39812. "description": "交割商品名称",
  39813. "type": "string"
  39814. },
  39815. "goodscode": {
  39816. "description": "商品代码",
  39817. "type": "string"
  39818. },
  39819. "goodsid": {
  39820. "description": "商品ID",
  39821. "type": "integer"
  39822. },
  39823. "goodsname": {
  39824. "description": "商品名称",
  39825. "type": "string"
  39826. },
  39827. "histradedate": {
  39828. "description": "历史交易日",
  39829. "type": "string"
  39830. },
  39831. "isvaliddata": {
  39832. "description": "是否有效 - 0:无效 1:有效",
  39833. "type": "integer"
  39834. },
  39835. "marketid": {
  39836. "description": "市场ID",
  39837. "type": "integer"
  39838. },
  39839. "marketname": {
  39840. "description": "市场名称",
  39841. "type": "string"
  39842. },
  39843. "moneyticket": {
  39844. "description": "资金流水号:银行端流水号",
  39845. "type": "integer"
  39846. },
  39847. "operatetype": {
  39848. "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:营销收款",
  39849. "type": "integer"
  39850. },
  39851. "relationorderid": {
  39852. "description": "关联单号",
  39853. "type": "string"
  39854. },
  39855. "remark": {
  39856. "description": "备注",
  39857. "type": "string"
  39858. },
  39859. "trademode": {
  39860. "description": "交易模式",
  39861. "type": "integer"
  39862. }
  39863. }
  39864. },
  39865. "trade.QueryRecieptOrderRsp": {
  39866. "type": "object",
  39867. "required": [
  39868. "ordertime"
  39869. ],
  39870. "properties": {
  39871. "accountName": {
  39872. "description": "所属账号名称(已脱敏)",
  39873. "type": "string"
  39874. },
  39875. "accountid": {
  39876. "description": "资金账号",
  39877. "type": "integer"
  39878. },
  39879. "buyorsell": {
  39880. "description": "方向 - 0:买 1:卖",
  39881. "type": "integer"
  39882. },
  39883. "enableqty": {
  39884. "description": "可摘数量",
  39885. "type": "integer"
  39886. },
  39887. "goodscode": {
  39888. "description": "商品代码",
  39889. "type": "string"
  39890. },
  39891. "goodsid": {
  39892. "description": "商品ID",
  39893. "type": "integer"
  39894. },
  39895. "goodsname": {
  39896. "description": "商品名称",
  39897. "type": "string"
  39898. },
  39899. "orderid": {
  39900. "description": "委托单号",
  39901. "type": "string"
  39902. },
  39903. "orderprice": {
  39904. "description": "委托价格",
  39905. "type": "number"
  39906. },
  39907. "ordertime": {
  39908. "description": "委托时间",
  39909. "type": "string"
  39910. },
  39911. "tradedate": {
  39912. "description": "交易日(yyyyMMdd)",
  39913. "type": "string"
  39914. }
  39915. }
  39916. },
  39917. "user.LoginQueryRsp": {
  39918. "type": "object",
  39919. "properties": {
  39920. "areaRoles": {
  39921. "description": "所属角色信息",
  39922. "type": "array",
  39923. "items": {
  39924. "$ref": "#/definitions/models.Arearole"
  39925. }
  39926. },
  39927. "externalExchanges": {
  39928. "description": "外部交易所",
  39929. "type": "array",
  39930. "items": {
  39931. "$ref": "#/definitions/models.Externalexchange"
  39932. }
  39933. },
  39934. "goodsgroups": {
  39935. "description": "商品组",
  39936. "type": "array",
  39937. "items": {
  39938. "$ref": "#/definitions/models.Goodsgroup"
  39939. }
  39940. },
  39941. "loginAccount": {
  39942. "description": "登录账号",
  39943. "$ref": "#/definitions/models.Loginaccount"
  39944. },
  39945. "markets": {
  39946. "description": "市场",
  39947. "type": "array",
  39948. "items": {
  39949. "$ref": "#/definitions/models.Market"
  39950. }
  39951. },
  39952. "systemParams": {
  39953. "description": "系统参数",
  39954. "type": "array",
  39955. "items": {
  39956. "$ref": "#/definitions/models.Systemparam"
  39957. }
  39958. },
  39959. "userAccount": {
  39960. "description": "用户账号",
  39961. "$ref": "#/definitions/models.Useraccount"
  39962. },
  39963. "userInfo": {
  39964. "description": "用户信息",
  39965. "$ref": "#/definitions/models.Userinfo"
  39966. },
  39967. "username": {
  39968. "description": "用户姓名",
  39969. "type": "string"
  39970. }
  39971. }
  39972. }
  39973. },
  39974. "securityDefinitions": {
  39975. "ApiKeyAuth": {
  39976. "type": "apiKey",
  39977. "name": "Authorization",
  39978. "in": "header"
  39979. }
  39980. }
  39981. }`
  39982. type swaggerInfo struct {
  39983. Version string
  39984. Host string
  39985. BasePath string
  39986. Schemes []string
  39987. Title string
  39988. Description string
  39989. }
  39990. // SwaggerInfo holds exported Swagger Info so clients can modify it
  39991. var SwaggerInfo = swaggerInfo{
  39992. Version: "1.0",
  39993. Host: "",
  39994. BasePath: "/api",
  39995. Schemes: []string{},
  39996. Title: "MTP2.0 查询服务 API",
  39997. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  39998. }
  39999. type s struct{}
  40000. func (s *s) ReadDoc() string {
  40001. sInfo := SwaggerInfo
  40002. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  40003. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  40004. "marshal": func(v interface{}) string {
  40005. a, _ := json.Marshal(v)
  40006. return string(a)
  40007. },
  40008. }).Parse(doc)
  40009. if err != nil {
  40010. return doc
  40011. }
  40012. var tpl bytes.Buffer
  40013. if err := t.Execute(&tpl, sInfo); err != nil {
  40014. return doc
  40015. }
  40016. return tpl.String()
  40017. }
  40018. func init() {
  40019. swag.Register(swag.Name, &s{})
  40020. }