docs.go 1.3 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  427. "name": "clientType",
  428. "in": "query"
  429. },
  430. {
  431. "type": "string",
  432. "description": "分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台",
  433. "name": "name",
  434. "in": "query"
  435. }
  436. ],
  437. "responses": {
  438. "200": {
  439. "description": "OK",
  440. "schema": {
  441. "type": "array",
  442. "items": {
  443. "$ref": "#/definitions/common.ClientMenu"
  444. }
  445. }
  446. },
  447. "500": {
  448. "description": "Internal Server Error",
  449. "schema": {
  450. "$ref": "#/definitions/app.Response"
  451. }
  452. }
  453. }
  454. }
  455. },
  456. "/Common/GetDivisions": {
  457. "get": {
  458. "produces": [
  459. "application/json"
  460. ],
  461. "tags": [
  462. "通用服务"
  463. ],
  464. "summary": "查询区域信息",
  465. "responses": {
  466. "200": {
  467. "description": "OK",
  468. "schema": {
  469. "$ref": "#/definitions/models.Division"
  470. }
  471. },
  472. "500": {
  473. "description": "Internal Server Error",
  474. "schema": {
  475. "$ref": "#/definitions/app.Response"
  476. }
  477. }
  478. }
  479. }
  480. },
  481. "/Common/GetServerTime": {
  482. "get": {
  483. "produces": [
  484. "application/json"
  485. ],
  486. "tags": [
  487. "通用服务"
  488. ],
  489. "summary": "获取服务器时间",
  490. "responses": {
  491. "200": {
  492. "description": "OK",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. },
  497. "500": {
  498. "description": "Internal Server Error",
  499. "schema": {
  500. "$ref": "#/definitions/app.Response"
  501. }
  502. }
  503. }
  504. }
  505. },
  506. "/Common/NoticeReaded": {
  507. "post": {
  508. "security": [
  509. {
  510. "ApiKeyAuth": []
  511. }
  512. ],
  513. "produces": [
  514. "application/json"
  515. ],
  516. "tags": [
  517. "通用服务"
  518. ],
  519. "summary": "通知公告设置已读请求",
  520. "parameters": [
  521. {
  522. "type": "integer",
  523. "description": "登录账号",
  524. "name": "loginID",
  525. "in": "query",
  526. "required": true
  527. },
  528. {
  529. "type": "integer",
  530. "description": "通知公告ID",
  531. "name": "noticeID",
  532. "in": "query",
  533. "required": true
  534. }
  535. ],
  536. "responses": {
  537. "200": {
  538. "description": "OK",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. },
  543. "500": {
  544. "description": "Internal Server Error",
  545. "schema": {
  546. "$ref": "#/definitions/app.Response"
  547. }
  548. }
  549. }
  550. }
  551. },
  552. "/Common/QueryErrorInfos": {
  553. "get": {
  554. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  555. "produces": [
  556. "application/json"
  557. ],
  558. "tags": [
  559. "通用服务"
  560. ],
  561. "summary": "获取数据库错误信息",
  562. "parameters": [
  563. {
  564. "type": "string",
  565. "description": "起始行号前索引",
  566. "name": "rowNumber",
  567. "in": "query"
  568. }
  569. ],
  570. "responses": {
  571. "200": {
  572. "description": "OK",
  573. "schema": {
  574. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  575. }
  576. },
  577. "500": {
  578. "description": "Internal Server Error",
  579. "schema": {
  580. "$ref": "#/definitions/app.Response"
  581. }
  582. }
  583. }
  584. }
  585. },
  586. "/Common/QueryImageConfigs": {
  587. "get": {
  588. "produces": [
  589. "application/json"
  590. ],
  591. "tags": [
  592. "通用服务"
  593. ],
  594. "summary": "查询轮播图配置信息",
  595. "parameters": [
  596. {
  597. "type": "integer",
  598. "description": "用户id",
  599. "name": "userId",
  600. "in": "query"
  601. },
  602. {
  603. "type": "integer",
  604. "description": "类型 - 1:App首页轮播 2:我的",
  605. "name": "imageType",
  606. "in": "query"
  607. }
  608. ],
  609. "responses": {
  610. "200": {
  611. "description": "OK",
  612. "schema": {
  613. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  614. }
  615. },
  616. "500": {
  617. "description": "Internal Server Error",
  618. "schema": {
  619. "$ref": "#/definitions/app.Response"
  620. }
  621. }
  622. }
  623. }
  624. },
  625. "/Common/QueryNotice": {
  626. "get": {
  627. "security": [
  628. {
  629. "ApiKeyAuth": []
  630. }
  631. ],
  632. "produces": [
  633. "application/json"
  634. ],
  635. "tags": [
  636. "通用服务"
  637. ],
  638. "summary": "通知公告系统消息查询",
  639. "parameters": [
  640. {
  641. "type": "integer",
  642. "description": "页码",
  643. "name": "page",
  644. "in": "query"
  645. },
  646. {
  647. "type": "integer",
  648. "description": "每页条数",
  649. "name": "pagesize",
  650. "in": "query"
  651. },
  652. {
  653. "type": "integer",
  654. "description": "登录账号",
  655. "name": "loginID",
  656. "in": "query",
  657. "required": true
  658. },
  659. {
  660. "type": "integer",
  661. "description": "消息类型 - 1:公告通知 2:系统消息",
  662. "name": "msgType",
  663. "in": "query"
  664. },
  665. {
  666. "type": "boolean",
  667. "description": "是否只获取未读信息",
  668. "name": "onlyUnRead",
  669. "in": "query"
  670. },
  671. {
  672. "type": "integer",
  673. "description": "自增ID,传入后会返回这个ID后面的记录",
  674. "name": "lastID",
  675. "in": "query"
  676. }
  677. ],
  678. "responses": {
  679. "200": {
  680. "description": "OK",
  681. "schema": {
  682. "$ref": "#/definitions/common.QueryNoticeRsp"
  683. }
  684. },
  685. "500": {
  686. "description": "Internal Server Error",
  687. "schema": {
  688. "$ref": "#/definitions/app.Response"
  689. }
  690. }
  691. }
  692. }
  693. },
  694. "/Common/QueryProvincesAndCities": {
  695. "get": {
  696. "produces": [
  697. "application/json"
  698. ],
  699. "tags": [
  700. "通用服务"
  701. ],
  702. "summary": "查询省市信息(不包括区)",
  703. "parameters": [
  704. {
  705. "type": "integer",
  706. "description": "省ID",
  707. "name": "provinceID",
  708. "in": "query"
  709. }
  710. ],
  711. "responses": {
  712. "200": {
  713. "description": "OK",
  714. "schema": {
  715. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  716. }
  717. },
  718. "500": {
  719. "description": "Internal Server Error",
  720. "schema": {
  721. "$ref": "#/definitions/app.Response"
  722. }
  723. }
  724. }
  725. }
  726. },
  727. "/Common/QueryTableDefine": {
  728. "get": {
  729. "produces": [
  730. "application/json"
  731. ],
  732. "tags": [
  733. "通用服务"
  734. ],
  735. "summary": "查询交易端列表头信息",
  736. "parameters": [
  737. {
  738. "type": "string",
  739. "description": "表key",
  740. "name": "tableKey",
  741. "in": "query"
  742. },
  743. {
  744. "type": "integer",
  745. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  746. "name": "tableType",
  747. "in": "query"
  748. }
  749. ],
  750. "responses": {
  751. "200": {
  752. "description": "OK",
  753. "schema": {
  754. "$ref": "#/definitions/common.QueryTableDefineRsp"
  755. }
  756. },
  757. "500": {
  758. "description": "Internal Server Error",
  759. "schema": {
  760. "$ref": "#/definitions/app.Response"
  761. }
  762. }
  763. }
  764. }
  765. },
  766. "/Common/QueryTraderMenu": {
  767. "get": {
  768. "produces": [
  769. "application/json"
  770. ],
  771. "tags": [
  772. "通用服务"
  773. ],
  774. "summary": "查询交易端菜单",
  775. "parameters": [
  776. {
  777. "type": "integer",
  778. "description": "登录账号",
  779. "name": "loginid",
  780. "in": "query",
  781. "required": true
  782. }
  783. ],
  784. "responses": {
  785. "200": {
  786. "description": "OK",
  787. "schema": {
  788. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  789. }
  790. },
  791. "500": {
  792. "description": "Internal Server Error",
  793. "schema": {
  794. "$ref": "#/definitions/app.Response"
  795. }
  796. }
  797. }
  798. }
  799. },
  800. "/Delivery/QueryDeliveryRelation": {
  801. "get": {
  802. "security": [
  803. {
  804. "ApiKeyAuth": []
  805. }
  806. ],
  807. "produces": [
  808. "application/json"
  809. ],
  810. "tags": [
  811. "交割服务"
  812. ],
  813. "summary": "查询商品交割关系表",
  814. "parameters": [
  815. {
  816. "type": "integer",
  817. "description": "商品ID",
  818. "name": "goodsid",
  819. "in": "query"
  820. },
  821. {
  822. "type": "integer",
  823. "description": "品种ID",
  824. "name": "deliverygoodsid",
  825. "in": "query"
  826. },
  827. {
  828. "type": "integer",
  829. "description": "市场ID",
  830. "name": "marketid",
  831. "in": "query"
  832. }
  833. ],
  834. "responses": {
  835. "200": {
  836. "description": "OK",
  837. "schema": {
  838. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  839. }
  840. },
  841. "500": {
  842. "description": "Internal Server Error",
  843. "schema": {
  844. "$ref": "#/definitions/app.Response"
  845. }
  846. }
  847. }
  848. }
  849. },
  850. "/Ermcp/GetErmcpGoods": {
  851. "get": {
  852. "security": [
  853. {
  854. "ApiKeyAuth": []
  855. }
  856. ],
  857. "produces": [
  858. "application/json"
  859. ],
  860. "tags": [
  861. "企业风险管理(app)"
  862. ],
  863. "summary": "查询企业风管期货商品信息",
  864. "parameters": [
  865. {
  866. "type": "string",
  867. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  868. "name": "lastUpdateTime",
  869. "in": "query"
  870. }
  871. ],
  872. "responses": {
  873. "200": {
  874. "description": "OK",
  875. "schema": {
  876. "$ref": "#/definitions/models.ErmcpGoods"
  877. }
  878. },
  879. "500": {
  880. "description": "Internal Server Error",
  881. "schema": {
  882. "$ref": "#/definitions/app.Response"
  883. }
  884. }
  885. }
  886. }
  887. },
  888. "/Ermcp/GetErmcpGoodsSortByPosition": {
  889. "get": {
  890. "security": [
  891. {
  892. "ApiKeyAuth": []
  893. }
  894. ],
  895. "produces": [
  896. "application/json"
  897. ],
  898. "tags": [
  899. "企业风险管理(app)"
  900. ],
  901. "summary": "查询企业风管期货主力、次主力商品信息",
  902. "parameters": [
  903. {
  904. "type": "string",
  905. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  906. "name": "sortIndex",
  907. "in": "query"
  908. }
  909. ],
  910. "responses": {
  911. "200": {
  912. "description": "OK",
  913. "schema": {
  914. "$ref": "#/definitions/models.Goodssortbypreposition"
  915. }
  916. },
  917. "500": {
  918. "description": "Internal Server Error",
  919. "schema": {
  920. "$ref": "#/definitions/app.Response"
  921. }
  922. }
  923. }
  924. }
  925. },
  926. "/Ermcp/GetErmcpOutAccountStatus": {
  927. "get": {
  928. "security": [
  929. {
  930. "ApiKeyAuth": []
  931. }
  932. ],
  933. "produces": [
  934. "application/json"
  935. ],
  936. "tags": [
  937. "企业风险管理(app)"
  938. ],
  939. "summary": "获取目标登录账号当前对冲账号在线状态",
  940. "parameters": [
  941. {
  942. "type": "integer",
  943. "description": "登录账号",
  944. "name": "loginID",
  945. "in": "query",
  946. "required": true
  947. }
  948. ],
  949. "responses": {
  950. "200": {
  951. "description": "OK",
  952. "schema": {
  953. "$ref": "#/definitions/models.Hedgemarketopenlog"
  954. }
  955. },
  956. "500": {
  957. "description": "Internal Server Error",
  958. "schema": {
  959. "$ref": "#/definitions/app.Response"
  960. }
  961. }
  962. }
  963. }
  964. },
  965. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  966. "get": {
  967. "security": [
  968. {
  969. "ApiKeyAuth": []
  970. }
  971. ],
  972. "produces": [
  973. "application/json"
  974. ],
  975. "tags": [
  976. "企业风险管理(app)"
  977. ],
  978. "summary": "获取企业风管终端权限",
  979. "parameters": [
  980. {
  981. "type": "integer",
  982. "description": "登录账号",
  983. "name": "loginID",
  984. "in": "query",
  985. "required": true
  986. }
  987. ],
  988. "responses": {
  989. "200": {
  990. "description": "OK",
  991. "schema": {
  992. "$ref": "#/definitions/models.Funcmenulist"
  993. }
  994. },
  995. "500": {
  996. "description": "Internal Server Error",
  997. "schema": {
  998. "$ref": "#/definitions/app.Response"
  999. }
  1000. }
  1001. }
  1002. }
  1003. },
  1004. "/Ermcp/QueryAccMgrBizGroupSet": {
  1005. "get": {
  1006. "security": [
  1007. {
  1008. "ApiKeyAuth": []
  1009. }
  1010. ],
  1011. "produces": [
  1012. "application/json"
  1013. ],
  1014. "tags": [
  1015. "企业风险管理(app)"
  1016. ],
  1017. "summary": "查询业务类型分组(账户管理/账户设置)",
  1018. "parameters": [
  1019. {
  1020. "type": "integer",
  1021. "description": "用户ID",
  1022. "name": "userid",
  1023. "in": "query",
  1024. "required": true
  1025. },
  1026. {
  1027. "type": "integer",
  1028. "description": "现货商品id",
  1029. "name": "deliverygoodsid",
  1030. "in": "query"
  1031. }
  1032. ],
  1033. "responses": {
  1034. "200": {
  1035. "description": "OK",
  1036. "schema": {
  1037. "type": "array",
  1038. "items": {
  1039. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1040. }
  1041. }
  1042. },
  1043. "500": {
  1044. "description": "Internal Server Error",
  1045. "schema": {
  1046. "$ref": "#/definitions/app.Response"
  1047. }
  1048. }
  1049. }
  1050. }
  1051. },
  1052. "/Ermcp/QueryAccMgrLoginUser": {
  1053. "get": {
  1054. "security": [
  1055. {
  1056. "ApiKeyAuth": []
  1057. }
  1058. ],
  1059. "produces": [
  1060. "application/json"
  1061. ],
  1062. "tags": [
  1063. "企业风险管理(app)"
  1064. ],
  1065. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1066. "parameters": [
  1067. {
  1068. "type": "integer",
  1069. "description": "用户ID",
  1070. "name": "userid",
  1071. "in": "query",
  1072. "required": true
  1073. },
  1074. {
  1075. "type": "integer",
  1076. "description": "用户类型 2-机构 7-企业成员",
  1077. "name": "usertype",
  1078. "in": "query"
  1079. },
  1080. {
  1081. "type": "integer",
  1082. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1083. "name": "querytype",
  1084. "in": "query",
  1085. "required": true
  1086. }
  1087. ],
  1088. "responses": {
  1089. "200": {
  1090. "description": "OK",
  1091. "schema": {
  1092. "type": "array",
  1093. "items": {
  1094. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1095. }
  1096. }
  1097. },
  1098. "500": {
  1099. "description": "Internal Server Error",
  1100. "schema": {
  1101. "$ref": "#/definitions/app.Response"
  1102. }
  1103. }
  1104. }
  1105. }
  1106. },
  1107. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1108. "get": {
  1109. "security": [
  1110. {
  1111. "ApiKeyAuth": []
  1112. }
  1113. ],
  1114. "produces": [
  1115. "application/json"
  1116. ],
  1117. "tags": [
  1118. "企业风险管理(app)"
  1119. ],
  1120. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1121. "parameters": [
  1122. {
  1123. "type": "integer",
  1124. "description": "用户ID",
  1125. "name": "userid",
  1126. "in": "query"
  1127. },
  1128. {
  1129. "type": "integer",
  1130. "description": "主账号id",
  1131. "name": "accountid",
  1132. "in": "query"
  1133. }
  1134. ],
  1135. "responses": {
  1136. "200": {
  1137. "description": "OK",
  1138. "schema": {
  1139. "type": "array",
  1140. "items": {
  1141. "$ref": "#/definitions/models.MainAccountInfo"
  1142. }
  1143. }
  1144. },
  1145. "500": {
  1146. "description": "Internal Server Error",
  1147. "schema": {
  1148. "$ref": "#/definitions/app.Response"
  1149. }
  1150. }
  1151. }
  1152. }
  1153. },
  1154. "/Ermcp/QueryAccMgrRole": {
  1155. "get": {
  1156. "security": [
  1157. {
  1158. "ApiKeyAuth": []
  1159. }
  1160. ],
  1161. "produces": [
  1162. "application/json"
  1163. ],
  1164. "tags": [
  1165. "企业风险管理(app)"
  1166. ],
  1167. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1168. "parameters": [
  1169. {
  1170. "type": "integer",
  1171. "description": "用户ID",
  1172. "name": "userid",
  1173. "in": "query",
  1174. "required": true
  1175. }
  1176. ],
  1177. "responses": {
  1178. "200": {
  1179. "description": "OK",
  1180. "schema": {
  1181. "type": "array",
  1182. "items": {
  1183. "$ref": "#/definitions/models.ErmcpRole"
  1184. }
  1185. }
  1186. },
  1187. "500": {
  1188. "description": "Internal Server Error",
  1189. "schema": {
  1190. "$ref": "#/definitions/app.Response"
  1191. }
  1192. }
  1193. }
  1194. }
  1195. },
  1196. "/Ermcp/QueryAccMgrRoleMenu": {
  1197. "get": {
  1198. "security": [
  1199. {
  1200. "ApiKeyAuth": []
  1201. }
  1202. ],
  1203. "produces": [
  1204. "application/json"
  1205. ],
  1206. "tags": [
  1207. "企业风险管理(app)"
  1208. ],
  1209. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1210. "parameters": [
  1211. {
  1212. "type": "integer",
  1213. "description": "用户ID",
  1214. "name": "userid",
  1215. "in": "query",
  1216. "required": true
  1217. },
  1218. {
  1219. "type": "string",
  1220. "description": "角色id(可多个,逗号隔开)",
  1221. "name": "roleid",
  1222. "in": "query"
  1223. },
  1224. {
  1225. "type": "integer",
  1226. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1227. "name": "menutype",
  1228. "in": "query"
  1229. }
  1230. ],
  1231. "responses": {
  1232. "200": {
  1233. "description": "OK",
  1234. "schema": {
  1235. "type": "array",
  1236. "items": {
  1237. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1238. }
  1239. }
  1240. },
  1241. "500": {
  1242. "description": "Internal Server Error",
  1243. "schema": {
  1244. "$ref": "#/definitions/app.Response"
  1245. }
  1246. }
  1247. }
  1248. }
  1249. },
  1250. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1251. "get": {
  1252. "security": [
  1253. {
  1254. "ApiKeyAuth": []
  1255. }
  1256. ],
  1257. "produces": [
  1258. "application/json"
  1259. ],
  1260. "tags": [
  1261. "企业风险管理(app)"
  1262. ],
  1263. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1264. "parameters": [
  1265. {
  1266. "type": "integer",
  1267. "description": "用户ID",
  1268. "name": "userid",
  1269. "in": "query",
  1270. "required": true
  1271. },
  1272. {
  1273. "type": "integer",
  1274. "description": "账号id",
  1275. "name": "accountid",
  1276. "in": "query"
  1277. }
  1278. ],
  1279. "responses": {
  1280. "200": {
  1281. "description": "OK",
  1282. "schema": {
  1283. "type": "array",
  1284. "items": {
  1285. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1286. }
  1287. }
  1288. },
  1289. "500": {
  1290. "description": "Internal Server Error",
  1291. "schema": {
  1292. "$ref": "#/definitions/app.Response"
  1293. }
  1294. }
  1295. }
  1296. }
  1297. },
  1298. "/Ermcp/QueryAccMgrTaaccount": {
  1299. "get": {
  1300. "security": [
  1301. {
  1302. "ApiKeyAuth": []
  1303. }
  1304. ],
  1305. "produces": [
  1306. "application/json"
  1307. ],
  1308. "tags": [
  1309. "企业风险管理(app)"
  1310. ],
  1311. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1312. "parameters": [
  1313. {
  1314. "type": "integer",
  1315. "description": "用户ID",
  1316. "name": "userid",
  1317. "in": "query",
  1318. "required": true
  1319. }
  1320. ],
  1321. "responses": {
  1322. "200": {
  1323. "description": "OK",
  1324. "schema": {
  1325. "type": "array",
  1326. "items": {
  1327. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1328. }
  1329. }
  1330. },
  1331. "500": {
  1332. "description": "Internal Server Error",
  1333. "schema": {
  1334. "$ref": "#/definitions/app.Response"
  1335. }
  1336. }
  1337. }
  1338. }
  1339. },
  1340. "/Ermcp/QueryAvaildGoodsGroup": {
  1341. "get": {
  1342. "security": [
  1343. {
  1344. "ApiKeyAuth": []
  1345. }
  1346. ],
  1347. "produces": [
  1348. "application/json"
  1349. ],
  1350. "tags": [
  1351. "企业风险管理(app)"
  1352. ],
  1353. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1354. "parameters": [
  1355. {
  1356. "type": "integer",
  1357. "description": "所属机构ID",
  1358. "name": "userid",
  1359. "in": "query",
  1360. "required": true
  1361. }
  1362. ],
  1363. "responses": {
  1364. "200": {
  1365. "description": "OK",
  1366. "schema": {
  1367. "type": "array",
  1368. "items": {
  1369. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1370. }
  1371. }
  1372. },
  1373. "500": {
  1374. "description": "Internal Server Error",
  1375. "schema": {
  1376. "$ref": "#/definitions/app.Response"
  1377. }
  1378. }
  1379. }
  1380. }
  1381. },
  1382. "/Ermcp/QueryBusinessDj": {
  1383. "get": {
  1384. "security": [
  1385. {
  1386. "ApiKeyAuth": []
  1387. }
  1388. ],
  1389. "produces": [
  1390. "application/json"
  1391. ],
  1392. "tags": [
  1393. "企业风险管理(app)"
  1394. ],
  1395. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1396. "parameters": [
  1397. {
  1398. "type": "integer",
  1399. "description": "用户ID",
  1400. "name": "UserId",
  1401. "in": "query",
  1402. "required": true
  1403. },
  1404. {
  1405. "type": "integer",
  1406. "description": "用户类型 2-机构 7-企业成员",
  1407. "name": "usertype",
  1408. "in": "query"
  1409. },
  1410. {
  1411. "type": "string",
  1412. "description": "现货合同ID, 不填则查所有",
  1413. "name": "relatedid",
  1414. "in": "query"
  1415. },
  1416. {
  1417. "type": "string",
  1418. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1419. "name": "applystatus",
  1420. "in": "query"
  1421. }
  1422. ],
  1423. "responses": {
  1424. "200": {
  1425. "description": "OK",
  1426. "schema": {
  1427. "type": "array",
  1428. "items": {
  1429. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1430. }
  1431. }
  1432. },
  1433. "500": {
  1434. "description": "Internal Server Error",
  1435. "schema": {
  1436. "$ref": "#/definitions/app.Response"
  1437. }
  1438. }
  1439. }
  1440. }
  1441. },
  1442. "/Ermcp/QueryBusinessFp": {
  1443. "get": {
  1444. "security": [
  1445. {
  1446. "ApiKeyAuth": []
  1447. }
  1448. ],
  1449. "produces": [
  1450. "application/json"
  1451. ],
  1452. "tags": [
  1453. "企业风险管理(app)"
  1454. ],
  1455. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1456. "parameters": [
  1457. {
  1458. "type": "integer",
  1459. "description": "用户ID",
  1460. "name": "UserId",
  1461. "in": "query",
  1462. "required": true
  1463. },
  1464. {
  1465. "type": "integer",
  1466. "description": "用户类型 2-机构 7-企业成员",
  1467. "name": "usertype",
  1468. "in": "query"
  1469. },
  1470. {
  1471. "type": "string",
  1472. "description": "现货合同ID, 不填则查所有",
  1473. "name": "relatedid",
  1474. "in": "query"
  1475. },
  1476. {
  1477. "type": "string",
  1478. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1479. "name": "applystatus",
  1480. "in": "query"
  1481. }
  1482. ],
  1483. "responses": {
  1484. "200": {
  1485. "description": "OK",
  1486. "schema": {
  1487. "type": "array",
  1488. "items": {
  1489. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1490. }
  1491. }
  1492. },
  1493. "500": {
  1494. "description": "Internal Server Error",
  1495. "schema": {
  1496. "$ref": "#/definitions/app.Response"
  1497. }
  1498. }
  1499. }
  1500. }
  1501. },
  1502. "/Ermcp/QueryBusinessJs": {
  1503. "get": {
  1504. "security": [
  1505. {
  1506. "ApiKeyAuth": []
  1507. }
  1508. ],
  1509. "produces": [
  1510. "application/json"
  1511. ],
  1512. "tags": [
  1513. "企业风险管理(app)"
  1514. ],
  1515. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1516. "parameters": [
  1517. {
  1518. "type": "integer",
  1519. "description": "用户ID",
  1520. "name": "UserId",
  1521. "in": "query",
  1522. "required": true
  1523. },
  1524. {
  1525. "type": "integer",
  1526. "description": "用户类型 2-机构 7-企业成员",
  1527. "name": "usertype",
  1528. "in": "query"
  1529. },
  1530. {
  1531. "type": "string",
  1532. "description": "现货合同ID, 不填则查所有",
  1533. "name": "relatedid",
  1534. "in": "query"
  1535. },
  1536. {
  1537. "type": "string",
  1538. "description": "操作申请id",
  1539. "name": "operateapplyid",
  1540. "in": "query"
  1541. },
  1542. {
  1543. "type": "string",
  1544. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1545. "name": "applystatus",
  1546. "in": "query"
  1547. }
  1548. ],
  1549. "responses": {
  1550. "200": {
  1551. "description": "OK",
  1552. "schema": {
  1553. "type": "array",
  1554. "items": {
  1555. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1556. }
  1557. }
  1558. },
  1559. "500": {
  1560. "description": "Internal Server Error",
  1561. "schema": {
  1562. "$ref": "#/definitions/app.Response"
  1563. }
  1564. }
  1565. }
  1566. }
  1567. },
  1568. "/Ermcp/QueryBusinessJsEx": {
  1569. "get": {
  1570. "security": [
  1571. {
  1572. "ApiKeyAuth": []
  1573. }
  1574. ],
  1575. "produces": [
  1576. "application/json"
  1577. ],
  1578. "tags": [
  1579. "企业风险管理(app)"
  1580. ],
  1581. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1582. "parameters": [
  1583. {
  1584. "type": "integer",
  1585. "description": "用户ID",
  1586. "name": "UserId",
  1587. "in": "query",
  1588. "required": true
  1589. },
  1590. {
  1591. "type": "integer",
  1592. "description": "用户类型 2-机构 7-企业成员",
  1593. "name": "usertype",
  1594. "in": "query"
  1595. },
  1596. {
  1597. "type": "string",
  1598. "description": "现货合同ID, 不填则查所有",
  1599. "name": "relatedid",
  1600. "in": "query"
  1601. },
  1602. {
  1603. "type": "string",
  1604. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1605. "name": "applystatus",
  1606. "in": "query"
  1607. }
  1608. ],
  1609. "responses": {
  1610. "200": {
  1611. "description": "OK",
  1612. "schema": {
  1613. "type": "array",
  1614. "items": {
  1615. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1616. }
  1617. }
  1618. },
  1619. "500": {
  1620. "description": "Internal Server Error",
  1621. "schema": {
  1622. "$ref": "#/definitions/app.Response"
  1623. }
  1624. }
  1625. }
  1626. }
  1627. },
  1628. "/Ermcp/QueryBusinessKx": {
  1629. "get": {
  1630. "security": [
  1631. {
  1632. "ApiKeyAuth": []
  1633. }
  1634. ],
  1635. "produces": [
  1636. "application/json"
  1637. ],
  1638. "tags": [
  1639. "企业风险管理(app)"
  1640. ],
  1641. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1642. "parameters": [
  1643. {
  1644. "type": "integer",
  1645. "description": "用户ID",
  1646. "name": "UserId",
  1647. "in": "query",
  1648. "required": true
  1649. },
  1650. {
  1651. "type": "integer",
  1652. "description": "用户类型 2-机构 7-企业成员",
  1653. "name": "usertype",
  1654. "in": "query"
  1655. },
  1656. {
  1657. "type": "string",
  1658. "description": "现货合同ID, 不填则查所有",
  1659. "name": "relatedid",
  1660. "in": "query"
  1661. },
  1662. {
  1663. "type": "string",
  1664. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1665. "name": "applystatus",
  1666. "in": "query"
  1667. }
  1668. ],
  1669. "responses": {
  1670. "200": {
  1671. "description": "OK",
  1672. "schema": {
  1673. "type": "array",
  1674. "items": {
  1675. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1676. }
  1677. }
  1678. },
  1679. "500": {
  1680. "description": "Internal Server Error",
  1681. "schema": {
  1682. "$ref": "#/definitions/app.Response"
  1683. }
  1684. }
  1685. }
  1686. }
  1687. },
  1688. "/Ermcp/QueryChangeLog": {
  1689. "get": {
  1690. "security": [
  1691. {
  1692. "ApiKeyAuth": []
  1693. }
  1694. ],
  1695. "produces": [
  1696. "application/json"
  1697. ],
  1698. "tags": [
  1699. "企业风险管理(app)"
  1700. ],
  1701. "summary": "查询变更记录",
  1702. "parameters": [
  1703. {
  1704. "type": "string",
  1705. "description": "合同ID",
  1706. "name": "RelatedId",
  1707. "in": "query",
  1708. "required": true
  1709. }
  1710. ],
  1711. "responses": {
  1712. "200": {
  1713. "description": "OK",
  1714. "schema": {
  1715. "type": "array",
  1716. "items": {
  1717. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1718. }
  1719. }
  1720. },
  1721. "500": {
  1722. "description": "Internal Server Error",
  1723. "schema": {
  1724. "$ref": "#/definitions/app.Response"
  1725. }
  1726. }
  1727. }
  1728. }
  1729. },
  1730. "/Ermcp/QueryErmcpHisOrderDetails": {
  1731. "get": {
  1732. "security": [
  1733. {
  1734. "ApiKeyAuth": []
  1735. }
  1736. ],
  1737. "produces": [
  1738. "application/json"
  1739. ],
  1740. "tags": [
  1741. "企业风险管理(app)"
  1742. ],
  1743. "summary": "获取企业风管期货历史委托单信息",
  1744. "parameters": [
  1745. {
  1746. "type": "integer",
  1747. "description": "资金账户ID",
  1748. "name": "accountID",
  1749. "in": "query",
  1750. "required": true
  1751. },
  1752. {
  1753. "type": "string",
  1754. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1755. "name": "startDate",
  1756. "in": "query"
  1757. },
  1758. {
  1759. "type": "string",
  1760. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1761. "name": "endDate",
  1762. "in": "query"
  1763. }
  1764. ],
  1765. "responses": {
  1766. "200": {
  1767. "description": "OK",
  1768. "schema": {
  1769. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1770. }
  1771. },
  1772. "500": {
  1773. "description": "Internal Server Error",
  1774. "schema": {
  1775. "$ref": "#/definitions/app.Response"
  1776. }
  1777. }
  1778. }
  1779. }
  1780. },
  1781. "/Ermcp/QueryErmcpHisTradeDetails": {
  1782. "get": {
  1783. "security": [
  1784. {
  1785. "ApiKeyAuth": []
  1786. }
  1787. ],
  1788. "produces": [
  1789. "application/json"
  1790. ],
  1791. "tags": [
  1792. "企业风险管理(app)"
  1793. ],
  1794. "summary": "获取企业风管期货历史成交单信息",
  1795. "parameters": [
  1796. {
  1797. "type": "integer",
  1798. "description": "资金账户ID",
  1799. "name": "accountID",
  1800. "in": "query",
  1801. "required": true
  1802. },
  1803. {
  1804. "type": "integer",
  1805. "description": "商品ID",
  1806. "name": "goodsID",
  1807. "in": "query"
  1808. },
  1809. {
  1810. "type": "integer",
  1811. "description": "买卖方向,0:买 1:卖",
  1812. "name": "buyOrSell",
  1813. "in": "query"
  1814. },
  1815. {
  1816. "type": "integer",
  1817. "description": "关联委托单号",
  1818. "name": "orderID",
  1819. "in": "query"
  1820. },
  1821. {
  1822. "type": "string",
  1823. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1824. "name": "startDate",
  1825. "in": "query"
  1826. },
  1827. {
  1828. "type": "string",
  1829. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1830. "name": "endDate",
  1831. "in": "query"
  1832. }
  1833. ],
  1834. "responses": {
  1835. "200": {
  1836. "description": "OK",
  1837. "schema": {
  1838. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1839. }
  1840. },
  1841. "500": {
  1842. "description": "Internal Server Error",
  1843. "schema": {
  1844. "$ref": "#/definitions/app.Response"
  1845. }
  1846. }
  1847. }
  1848. }
  1849. },
  1850. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1851. "get": {
  1852. "security": [
  1853. {
  1854. "ApiKeyAuth": []
  1855. }
  1856. ],
  1857. "produces": [
  1858. "application/json"
  1859. ],
  1860. "tags": [
  1861. "企业风险管理(app)"
  1862. ],
  1863. "summary": "获取企业风管期货内部持仓单信息",
  1864. "parameters": [
  1865. {
  1866. "type": "integer",
  1867. "description": "资金账户ID",
  1868. "name": "accountID",
  1869. "in": "query",
  1870. "required": true
  1871. },
  1872. {
  1873. "type": "integer",
  1874. "description": "商品ID",
  1875. "name": "goodsID",
  1876. "in": "query"
  1877. },
  1878. {
  1879. "type": "integer",
  1880. "description": "买卖方向,0:买 1:卖",
  1881. "name": "buyOrSell",
  1882. "in": "query"
  1883. }
  1884. ],
  1885. "responses": {
  1886. "200": {
  1887. "description": "OK",
  1888. "schema": {
  1889. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1890. }
  1891. },
  1892. "500": {
  1893. "description": "Internal Server Error",
  1894. "schema": {
  1895. "$ref": "#/definitions/app.Response"
  1896. }
  1897. }
  1898. }
  1899. }
  1900. },
  1901. "/Ermcp/QueryErmcpOrderDetails": {
  1902. "get": {
  1903. "security": [
  1904. {
  1905. "ApiKeyAuth": []
  1906. }
  1907. ],
  1908. "produces": [
  1909. "application/json"
  1910. ],
  1911. "tags": [
  1912. "企业风险管理(app)"
  1913. ],
  1914. "summary": "获取企业风管期货委托单信息",
  1915. "parameters": [
  1916. {
  1917. "type": "integer",
  1918. "description": "资金账户ID",
  1919. "name": "accountID",
  1920. "in": "query",
  1921. "required": true
  1922. }
  1923. ],
  1924. "responses": {
  1925. "200": {
  1926. "description": "OK",
  1927. "schema": {
  1928. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1929. }
  1930. },
  1931. "500": {
  1932. "description": "Internal Server Error",
  1933. "schema": {
  1934. "$ref": "#/definitions/app.Response"
  1935. }
  1936. }
  1937. }
  1938. }
  1939. },
  1940. "/Ermcp/QueryErmcpTradeDetails": {
  1941. "get": {
  1942. "security": [
  1943. {
  1944. "ApiKeyAuth": []
  1945. }
  1946. ],
  1947. "produces": [
  1948. "application/json"
  1949. ],
  1950. "tags": [
  1951. "企业风险管理(app)"
  1952. ],
  1953. "summary": "获取企业风管期货成交单信息",
  1954. "parameters": [
  1955. {
  1956. "type": "integer",
  1957. "description": "资金账户ID",
  1958. "name": "accountID",
  1959. "in": "query",
  1960. "required": true
  1961. },
  1962. {
  1963. "type": "integer",
  1964. "description": "商品ID",
  1965. "name": "goodsID",
  1966. "in": "query"
  1967. },
  1968. {
  1969. "type": "integer",
  1970. "description": "买卖方向,0:买 1:卖",
  1971. "name": "buyOrSell",
  1972. "in": "query"
  1973. },
  1974. {
  1975. "type": "integer",
  1976. "description": "关联委托单号",
  1977. "name": "orderID",
  1978. "in": "query"
  1979. }
  1980. ],
  1981. "responses": {
  1982. "200": {
  1983. "description": "OK",
  1984. "schema": {
  1985. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1986. }
  1987. },
  1988. "500": {
  1989. "description": "Internal Server Error",
  1990. "schema": {
  1991. "$ref": "#/definitions/app.Response"
  1992. }
  1993. }
  1994. }
  1995. }
  1996. },
  1997. "/Ermcp/QueryErmcpTradePosition": {
  1998. "get": {
  1999. "security": [
  2000. {
  2001. "ApiKeyAuth": []
  2002. }
  2003. ],
  2004. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2005. "produces": [
  2006. "application/json"
  2007. ],
  2008. "tags": [
  2009. "企业风险管理(app)"
  2010. ],
  2011. "summary": "获取企业风管期货持仓头寸信息",
  2012. "parameters": [
  2013. {
  2014. "type": "integer",
  2015. "description": "资金账户ID",
  2016. "name": "accountID",
  2017. "in": "query",
  2018. "required": true
  2019. },
  2020. {
  2021. "type": "integer",
  2022. "description": "所属市场ID",
  2023. "name": "marketID",
  2024. "in": "query"
  2025. }
  2026. ],
  2027. "responses": {
  2028. "200": {
  2029. "description": "OK",
  2030. "schema": {
  2031. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2032. }
  2033. },
  2034. "500": {
  2035. "description": "Internal Server Error",
  2036. "schema": {
  2037. "$ref": "#/definitions/app.Response"
  2038. }
  2039. }
  2040. }
  2041. }
  2042. },
  2043. "/Ermcp/QueryExposureDetail": {
  2044. "get": {
  2045. "security": [
  2046. {
  2047. "ApiKeyAuth": []
  2048. }
  2049. ],
  2050. "produces": [
  2051. "application/json"
  2052. ],
  2053. "tags": [
  2054. "企业风险管理(app)"
  2055. ],
  2056. "summary": "查询敞口现货明细",
  2057. "parameters": [
  2058. {
  2059. "type": "integer",
  2060. "description": "所属机构ID",
  2061. "name": "areaUserId",
  2062. "in": "query",
  2063. "required": true
  2064. },
  2065. {
  2066. "type": "integer",
  2067. "description": "套保商品",
  2068. "name": "middleGoodsId",
  2069. "in": "query",
  2070. "required": true
  2071. }
  2072. ],
  2073. "responses": {
  2074. "200": {
  2075. "description": "OK",
  2076. "schema": {
  2077. "type": "array",
  2078. "items": {
  2079. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2080. }
  2081. }
  2082. },
  2083. "500": {
  2084. "description": "Internal Server Error",
  2085. "schema": {
  2086. "$ref": "#/definitions/app.Response"
  2087. }
  2088. }
  2089. }
  2090. }
  2091. },
  2092. "/Ermcp/QueryExposureGoods": {
  2093. "get": {
  2094. "security": [
  2095. {
  2096. "ApiKeyAuth": []
  2097. }
  2098. ],
  2099. "produces": [
  2100. "application/json"
  2101. ],
  2102. "tags": [
  2103. "企业风险管理(app)"
  2104. ],
  2105. "summary": "查询敞口主力合约",
  2106. "parameters": [
  2107. {
  2108. "type": "integer",
  2109. "description": "套保商品id",
  2110. "name": "middlegoodsid",
  2111. "in": "query",
  2112. "required": true
  2113. }
  2114. ],
  2115. "responses": {
  2116. "200": {
  2117. "description": "OK",
  2118. "schema": {
  2119. "type": "array",
  2120. "items": {
  2121. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2122. }
  2123. }
  2124. },
  2125. "500": {
  2126. "description": "Internal Server Error",
  2127. "schema": {
  2128. "$ref": "#/definitions/app.Response"
  2129. }
  2130. }
  2131. }
  2132. }
  2133. },
  2134. "/Ermcp/QueryExposureHedgePosition": {
  2135. "get": {
  2136. "security": [
  2137. {
  2138. "ApiKeyAuth": []
  2139. }
  2140. ],
  2141. "produces": [
  2142. "application/json"
  2143. ],
  2144. "tags": [
  2145. "企业风险管理(app)"
  2146. ],
  2147. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2148. "parameters": [
  2149. {
  2150. "type": "integer",
  2151. "description": "用户id",
  2152. "name": "userid",
  2153. "in": "query",
  2154. "required": true
  2155. }
  2156. ],
  2157. "responses": {
  2158. "200": {
  2159. "description": "OK",
  2160. "schema": {
  2161. "type": "array",
  2162. "items": {
  2163. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2164. }
  2165. }
  2166. },
  2167. "500": {
  2168. "description": "Internal Server Error",
  2169. "schema": {
  2170. "$ref": "#/definitions/app.Response"
  2171. }
  2172. }
  2173. }
  2174. }
  2175. },
  2176. "/Ermcp/QueryExposureHedgePositionDetail": {
  2177. "get": {
  2178. "security": [
  2179. {
  2180. "ApiKeyAuth": []
  2181. }
  2182. ],
  2183. "produces": [
  2184. "application/json"
  2185. ],
  2186. "tags": [
  2187. "企业风险管理(app)"
  2188. ],
  2189. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2190. "parameters": [
  2191. {
  2192. "type": "integer",
  2193. "description": "所属机构ID",
  2194. "name": "userid",
  2195. "in": "query",
  2196. "required": true
  2197. },
  2198. {
  2199. "type": "integer",
  2200. "description": "商品id",
  2201. "name": "goodsId",
  2202. "in": "query",
  2203. "required": true
  2204. }
  2205. ],
  2206. "responses": {
  2207. "200": {
  2208. "description": "OK",
  2209. "schema": {
  2210. "type": "array",
  2211. "items": {
  2212. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2213. }
  2214. }
  2215. },
  2216. "500": {
  2217. "description": "Internal Server Error",
  2218. "schema": {
  2219. "$ref": "#/definitions/app.Response"
  2220. }
  2221. }
  2222. }
  2223. }
  2224. },
  2225. "/Ermcp/QueryExposureSpot": {
  2226. "get": {
  2227. "security": [
  2228. {
  2229. "ApiKeyAuth": []
  2230. }
  2231. ],
  2232. "produces": [
  2233. "application/json"
  2234. ],
  2235. "tags": [
  2236. "企业风险管理(app)"
  2237. ],
  2238. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2239. "parameters": [
  2240. {
  2241. "type": "integer",
  2242. "description": "所属机构ID",
  2243. "name": "areaUserId",
  2244. "in": "query",
  2245. "required": true
  2246. }
  2247. ],
  2248. "responses": {
  2249. "200": {
  2250. "description": "OK",
  2251. "schema": {
  2252. "type": "array",
  2253. "items": {
  2254. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2255. }
  2256. }
  2257. },
  2258. "500": {
  2259. "description": "Internal Server Error",
  2260. "schema": {
  2261. "$ref": "#/definitions/app.Response"
  2262. }
  2263. }
  2264. }
  2265. }
  2266. },
  2267. "/Ermcp/QueryExposureSpotDetail": {
  2268. "get": {
  2269. "security": [
  2270. {
  2271. "ApiKeyAuth": []
  2272. }
  2273. ],
  2274. "produces": [
  2275. "application/json"
  2276. ],
  2277. "tags": [
  2278. "企业风险管理(app)"
  2279. ],
  2280. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2281. "parameters": [
  2282. {
  2283. "type": "integer",
  2284. "description": "所属机构ID",
  2285. "name": "areaUserId",
  2286. "in": "query",
  2287. "required": true
  2288. },
  2289. {
  2290. "type": "integer",
  2291. "description": "现货品种ID",
  2292. "name": "wrstandardId",
  2293. "in": "query",
  2294. "required": true
  2295. }
  2296. ],
  2297. "responses": {
  2298. "200": {
  2299. "description": "OK",
  2300. "schema": {
  2301. "type": "array",
  2302. "items": {
  2303. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2304. }
  2305. }
  2306. },
  2307. "500": {
  2308. "description": "Internal Server Error",
  2309. "schema": {
  2310. "$ref": "#/definitions/app.Response"
  2311. }
  2312. }
  2313. }
  2314. }
  2315. },
  2316. "/Ermcp/QueryFuturesCompany": {
  2317. "get": {
  2318. "security": [
  2319. {
  2320. "ApiKeyAuth": []
  2321. }
  2322. ],
  2323. "produces": [
  2324. "application/json"
  2325. ],
  2326. "tags": [
  2327. "企业风险管理(app)"
  2328. ],
  2329. "summary": "查询期货公司",
  2330. "responses": {
  2331. "200": {
  2332. "description": "OK",
  2333. "schema": {
  2334. "type": "array",
  2335. "items": {
  2336. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2337. }
  2338. }
  2339. },
  2340. "500": {
  2341. "description": "Internal Server Error",
  2342. "schema": {
  2343. "$ref": "#/definitions/app.Response"
  2344. }
  2345. }
  2346. }
  2347. }
  2348. },
  2349. "/Ermcp/QueryGGConvertConfig": {
  2350. "get": {
  2351. "security": [
  2352. {
  2353. "ApiKeyAuth": []
  2354. }
  2355. ],
  2356. "produces": [
  2357. "application/json"
  2358. ],
  2359. "tags": [
  2360. "企业风险管理(app)"
  2361. ],
  2362. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2363. "parameters": [
  2364. {
  2365. "type": "integer",
  2366. "description": "品种id(不填则查所有)",
  2367. "name": "goodsgroupid",
  2368. "in": "query"
  2369. }
  2370. ],
  2371. "responses": {
  2372. "200": {
  2373. "description": "OK",
  2374. "schema": {
  2375. "type": "array",
  2376. "items": {
  2377. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2378. }
  2379. }
  2380. },
  2381. "500": {
  2382. "description": "Internal Server Error",
  2383. "schema": {
  2384. "$ref": "#/definitions/app.Response"
  2385. }
  2386. }
  2387. }
  2388. }
  2389. },
  2390. "/Ermcp/QueryGoodsBrand": {
  2391. "get": {
  2392. "security": [
  2393. {
  2394. "ApiKeyAuth": []
  2395. }
  2396. ],
  2397. "produces": [
  2398. "application/json"
  2399. ],
  2400. "tags": [
  2401. "企业风险管理(app)"
  2402. ],
  2403. "summary": "查询商品品牌",
  2404. "parameters": [
  2405. {
  2406. "type": "integer",
  2407. "description": "用户ID",
  2408. "name": "userid",
  2409. "in": "query",
  2410. "required": true
  2411. },
  2412. {
  2413. "type": "integer",
  2414. "description": "现货商品ID",
  2415. "name": "wrstandardid",
  2416. "in": "query"
  2417. }
  2418. ],
  2419. "responses": {
  2420. "200": {
  2421. "description": "OK",
  2422. "schema": {
  2423. "type": "array",
  2424. "items": {
  2425. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2426. }
  2427. }
  2428. },
  2429. "500": {
  2430. "description": "Internal Server Error",
  2431. "schema": {
  2432. "$ref": "#/definitions/app.Response"
  2433. }
  2434. }
  2435. }
  2436. }
  2437. },
  2438. "/Ermcp/QueryGoodsModel": {
  2439. "get": {
  2440. "security": [
  2441. {
  2442. "ApiKeyAuth": []
  2443. }
  2444. ],
  2445. "produces": [
  2446. "application/json"
  2447. ],
  2448. "tags": [
  2449. "企业风险管理(app)"
  2450. ],
  2451. "summary": "查询商品型号",
  2452. "parameters": [
  2453. {
  2454. "type": "integer",
  2455. "description": "用户ID",
  2456. "name": "userid",
  2457. "in": "query",
  2458. "required": true
  2459. }
  2460. ],
  2461. "responses": {
  2462. "200": {
  2463. "description": "OK",
  2464. "schema": {
  2465. "type": "array",
  2466. "items": {
  2467. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2468. }
  2469. }
  2470. },
  2471. "500": {
  2472. "description": "Internal Server Error",
  2473. "schema": {
  2474. "$ref": "#/definitions/app.Response"
  2475. }
  2476. }
  2477. }
  2478. }
  2479. },
  2480. "/Ermcp/QueryHisExposure": {
  2481. "get": {
  2482. "security": [
  2483. {
  2484. "ApiKeyAuth": []
  2485. }
  2486. ],
  2487. "produces": [
  2488. "application/json"
  2489. ],
  2490. "tags": [
  2491. "企业风险管理(app)"
  2492. ],
  2493. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2494. "parameters": [
  2495. {
  2496. "type": "integer",
  2497. "description": "用户id",
  2498. "name": "userid",
  2499. "in": "query",
  2500. "required": true
  2501. },
  2502. {
  2503. "type": "integer",
  2504. "description": "每个品种记录数",
  2505. "name": "lastNum",
  2506. "in": "query",
  2507. "required": true
  2508. }
  2509. ],
  2510. "responses": {
  2511. "200": {
  2512. "description": "OK",
  2513. "schema": {
  2514. "type": "array",
  2515. "items": {
  2516. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2517. }
  2518. }
  2519. },
  2520. "500": {
  2521. "description": "Internal Server Error",
  2522. "schema": {
  2523. "$ref": "#/definitions/app.Response"
  2524. }
  2525. }
  2526. }
  2527. }
  2528. },
  2529. "/Ermcp/QueryMiddleGoods": {
  2530. "get": {
  2531. "security": [
  2532. {
  2533. "ApiKeyAuth": []
  2534. }
  2535. ],
  2536. "produces": [
  2537. "application/json"
  2538. ],
  2539. "tags": [
  2540. "企业风险管理(app)"
  2541. ],
  2542. "summary": "查询套保品种(菜单:套保品种)",
  2543. "parameters": [
  2544. {
  2545. "type": "integer",
  2546. "description": "所属机构ID",
  2547. "name": "userid",
  2548. "in": "query",
  2549. "required": true
  2550. },
  2551. {
  2552. "type": "integer",
  2553. "description": "状态 0-停用 1-正常",
  2554. "name": "status",
  2555. "in": "query",
  2556. "required": true
  2557. }
  2558. ],
  2559. "responses": {
  2560. "200": {
  2561. "description": "OK",
  2562. "schema": {
  2563. "type": "array",
  2564. "items": {
  2565. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2566. }
  2567. }
  2568. },
  2569. "500": {
  2570. "description": "Internal Server Error",
  2571. "schema": {
  2572. "$ref": "#/definitions/app.Response"
  2573. }
  2574. }
  2575. }
  2576. }
  2577. },
  2578. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2579. "get": {
  2580. "security": [
  2581. {
  2582. "ApiKeyAuth": []
  2583. }
  2584. ],
  2585. "produces": [
  2586. "application/json"
  2587. ],
  2588. "tags": [
  2589. "企业风险管理(app)"
  2590. ],
  2591. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2592. "parameters": [
  2593. {
  2594. "type": "integer",
  2595. "description": "所属机构ID",
  2596. "name": "userid",
  2597. "in": "query",
  2598. "required": true
  2599. },
  2600. {
  2601. "type": "integer",
  2602. "description": "套保品种id",
  2603. "name": "middlegoodsid",
  2604. "in": "query",
  2605. "required": true
  2606. }
  2607. ],
  2608. "responses": {
  2609. "200": {
  2610. "description": "OK",
  2611. "schema": {
  2612. "type": "array",
  2613. "items": {
  2614. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2615. }
  2616. }
  2617. },
  2618. "500": {
  2619. "description": "Internal Server Error",
  2620. "schema": {
  2621. "$ref": "#/definitions/app.Response"
  2622. }
  2623. }
  2624. }
  2625. }
  2626. },
  2627. "/Ermcp/QueryMiddleGoodsDetail": {
  2628. "get": {
  2629. "security": [
  2630. {
  2631. "ApiKeyAuth": []
  2632. }
  2633. ],
  2634. "produces": [
  2635. "application/json"
  2636. ],
  2637. "tags": [
  2638. "企业风险管理(app)"
  2639. ],
  2640. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2641. "parameters": [
  2642. {
  2643. "type": "integer",
  2644. "description": "所属机构ID",
  2645. "name": "userid",
  2646. "in": "query",
  2647. "required": true
  2648. },
  2649. {
  2650. "type": "integer",
  2651. "description": "套保品种id",
  2652. "name": "middlegoodsid",
  2653. "in": "query"
  2654. }
  2655. ],
  2656. "responses": {
  2657. "200": {
  2658. "description": "OK",
  2659. "schema": {
  2660. "type": "array",
  2661. "items": {
  2662. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2663. }
  2664. }
  2665. },
  2666. "500": {
  2667. "description": "Internal Server Error",
  2668. "schema": {
  2669. "$ref": "#/definitions/app.Response"
  2670. }
  2671. }
  2672. }
  2673. }
  2674. },
  2675. "/Ermcp/QueryPendingAuditInfo": {
  2676. "get": {
  2677. "security": [
  2678. {
  2679. "ApiKeyAuth": []
  2680. }
  2681. ],
  2682. "produces": [
  2683. "application/json"
  2684. ],
  2685. "tags": [
  2686. "企业风险管理(app)"
  2687. ],
  2688. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2689. "parameters": [
  2690. {
  2691. "type": "integer",
  2692. "description": "用户ID",
  2693. "name": "UserId",
  2694. "in": "query",
  2695. "required": true
  2696. }
  2697. ],
  2698. "responses": {
  2699. "200": {
  2700. "description": "OK",
  2701. "schema": {
  2702. "type": "array",
  2703. "items": {
  2704. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2705. }
  2706. }
  2707. },
  2708. "500": {
  2709. "description": "Internal Server Error",
  2710. "schema": {
  2711. "$ref": "#/definitions/app.Response"
  2712. }
  2713. }
  2714. }
  2715. }
  2716. },
  2717. "/Ermcp/QueryRealtimeExposure": {
  2718. "get": {
  2719. "security": [
  2720. {
  2721. "ApiKeyAuth": []
  2722. }
  2723. ],
  2724. "produces": [
  2725. "application/json"
  2726. ],
  2727. "tags": [
  2728. "企业风险管理(app)"
  2729. ],
  2730. "summary": "查询实时敞口",
  2731. "parameters": [
  2732. {
  2733. "type": "integer",
  2734. "description": "所属机构ID",
  2735. "name": "userid",
  2736. "in": "query",
  2737. "required": true
  2738. }
  2739. ],
  2740. "responses": {
  2741. "200": {
  2742. "description": "OK",
  2743. "schema": {
  2744. "type": "array",
  2745. "items": {
  2746. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2747. }
  2748. }
  2749. },
  2750. "500": {
  2751. "description": "Internal Server Error",
  2752. "schema": {
  2753. "$ref": "#/definitions/app.Response"
  2754. }
  2755. }
  2756. }
  2757. }
  2758. },
  2759. "/Ermcp/QueryRealtimeExposurePosition": {
  2760. "get": {
  2761. "security": [
  2762. {
  2763. "ApiKeyAuth": []
  2764. }
  2765. ],
  2766. "produces": [
  2767. "application/json"
  2768. ],
  2769. "tags": [
  2770. "企业风险管理(app)"
  2771. ],
  2772. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2773. "parameters": [
  2774. {
  2775. "type": "integer",
  2776. "description": "用户id",
  2777. "name": "userid",
  2778. "in": "query",
  2779. "required": true
  2780. },
  2781. {
  2782. "type": "integer",
  2783. "description": "套保商品ID",
  2784. "name": "middleGoodsId",
  2785. "in": "query",
  2786. "required": true
  2787. }
  2788. ],
  2789. "responses": {
  2790. "200": {
  2791. "description": "OK",
  2792. "schema": {
  2793. "type": "array",
  2794. "items": {
  2795. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2796. }
  2797. }
  2798. },
  2799. "500": {
  2800. "description": "Internal Server Error",
  2801. "schema": {
  2802. "$ref": "#/definitions/app.Response"
  2803. }
  2804. }
  2805. }
  2806. }
  2807. },
  2808. "/Ermcp/QueryRoleMenu": {
  2809. "get": {
  2810. "security": [
  2811. {
  2812. "ApiKeyAuth": []
  2813. }
  2814. ],
  2815. "produces": [
  2816. "application/json"
  2817. ],
  2818. "tags": [
  2819. "企业风险管理(app)"
  2820. ],
  2821. "summary": "查询角色菜单和权限",
  2822. "parameters": [
  2823. {
  2824. "type": "integer",
  2825. "description": "登录ID",
  2826. "name": "loginid",
  2827. "in": "query",
  2828. "required": true
  2829. },
  2830. {
  2831. "type": "integer",
  2832. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2833. "name": "menutype",
  2834. "in": "query"
  2835. }
  2836. ],
  2837. "responses": {
  2838. "200": {
  2839. "description": "OK",
  2840. "schema": {
  2841. "type": "array",
  2842. "items": {
  2843. "$ref": "#/definitions/models.RoleMenu"
  2844. }
  2845. }
  2846. },
  2847. "500": {
  2848. "description": "Internal Server Error",
  2849. "schema": {
  2850. "$ref": "#/definitions/app.Response"
  2851. }
  2852. }
  2853. }
  2854. }
  2855. },
  2856. "/Ermcp/QueryTradeConfigTMP": {
  2857. "get": {
  2858. "security": [
  2859. {
  2860. "ApiKeyAuth": []
  2861. }
  2862. ],
  2863. "produces": [
  2864. "application/json"
  2865. ],
  2866. "tags": [
  2867. "企业风险管理(app)"
  2868. ],
  2869. "summary": "查询交易模板配置",
  2870. "parameters": [
  2871. {
  2872. "type": "integer",
  2873. "description": "所属机构id",
  2874. "name": "areauserid",
  2875. "in": "query"
  2876. }
  2877. ],
  2878. "responses": {
  2879. "200": {
  2880. "description": "OK",
  2881. "schema": {
  2882. "type": "array",
  2883. "items": {
  2884. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2885. }
  2886. }
  2887. },
  2888. "500": {
  2889. "description": "Internal Server Error",
  2890. "schema": {
  2891. "$ref": "#/definitions/app.Response"
  2892. }
  2893. }
  2894. }
  2895. }
  2896. },
  2897. "/Ermcp/QueryUserInfo": {
  2898. "get": {
  2899. "security": [
  2900. {
  2901. "ApiKeyAuth": []
  2902. }
  2903. ],
  2904. "produces": [
  2905. "application/json"
  2906. ],
  2907. "tags": [
  2908. "企业风险管理(app)"
  2909. ],
  2910. "summary": "查询客户资料",
  2911. "parameters": [
  2912. {
  2913. "type": "integer",
  2914. "description": "所属机构用户ID",
  2915. "name": "MemberUserID",
  2916. "in": "query",
  2917. "required": true
  2918. },
  2919. {
  2920. "type": "integer",
  2921. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2922. "name": "queryType",
  2923. "in": "query",
  2924. "required": true
  2925. }
  2926. ],
  2927. "responses": {
  2928. "200": {
  2929. "description": "OK",
  2930. "schema": {
  2931. "type": "array",
  2932. "items": {
  2933. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2934. }
  2935. }
  2936. },
  2937. "500": {
  2938. "description": "Internal Server Error",
  2939. "schema": {
  2940. "$ref": "#/definitions/app.Response"
  2941. }
  2942. }
  2943. }
  2944. }
  2945. },
  2946. "/Ermcp/QueryWarehouseInfo": {
  2947. "get": {
  2948. "security": [
  2949. {
  2950. "ApiKeyAuth": []
  2951. }
  2952. ],
  2953. "produces": [
  2954. "application/json"
  2955. ],
  2956. "tags": [
  2957. "企业风险管理(app)"
  2958. ],
  2959. "summary": "查询仓库信息",
  2960. "parameters": [
  2961. {
  2962. "type": "integer",
  2963. "description": "用户ID",
  2964. "name": "userid",
  2965. "in": "query",
  2966. "required": true
  2967. },
  2968. {
  2969. "type": "string",
  2970. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2971. "name": "status",
  2972. "in": "query"
  2973. }
  2974. ],
  2975. "responses": {
  2976. "200": {
  2977. "description": "OK",
  2978. "schema": {
  2979. "type": "array",
  2980. "items": {
  2981. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2982. }
  2983. }
  2984. },
  2985. "500": {
  2986. "description": "Internal Server Error",
  2987. "schema": {
  2988. "$ref": "#/definitions/app.Response"
  2989. }
  2990. }
  2991. }
  2992. }
  2993. },
  2994. "/Ermcp3/QryAreaExpourseContractDetail": {
  2995. "get": {
  2996. "security": [
  2997. {
  2998. "ApiKeyAuth": []
  2999. }
  3000. ],
  3001. "produces": [
  3002. "application/json"
  3003. ],
  3004. "tags": [
  3005. "企业风险管理v3(app)"
  3006. ],
  3007. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3008. "parameters": [
  3009. {
  3010. "type": "integer",
  3011. "description": "用户ID",
  3012. "name": "userid",
  3013. "in": "query",
  3014. "required": true
  3015. },
  3016. {
  3017. "type": "integer",
  3018. "description": "套保商品id",
  3019. "name": "middlegoodsid",
  3020. "in": "query",
  3021. "required": true
  3022. },
  3023. {
  3024. "type": "integer",
  3025. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3026. "name": "cycletype",
  3027. "in": "query",
  3028. "required": true
  3029. },
  3030. {
  3031. "type": "string",
  3032. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3033. "name": "cycletime",
  3034. "in": "query",
  3035. "required": true
  3036. }
  3037. ],
  3038. "responses": {
  3039. "200": {
  3040. "description": "OK",
  3041. "schema": {
  3042. "type": "array",
  3043. "items": {
  3044. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3045. }
  3046. }
  3047. },
  3048. "500": {
  3049. "description": "Internal Server Error",
  3050. "schema": {
  3051. "$ref": "#/definitions/app.Response"
  3052. }
  3053. }
  3054. }
  3055. }
  3056. },
  3057. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3058. "get": {
  3059. "security": [
  3060. {
  3061. "ApiKeyAuth": []
  3062. }
  3063. ],
  3064. "produces": [
  3065. "application/json"
  3066. ],
  3067. "tags": [
  3068. "企业风险管理v3(app)"
  3069. ],
  3070. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3071. "parameters": [
  3072. {
  3073. "type": "integer",
  3074. "description": "用户ID",
  3075. "name": "userid",
  3076. "in": "query",
  3077. "required": true
  3078. },
  3079. {
  3080. "type": "integer",
  3081. "description": "套保商品id",
  3082. "name": "middlegoodsid",
  3083. "in": "query",
  3084. "required": true
  3085. },
  3086. {
  3087. "type": "integer",
  3088. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3089. "name": "cycletype",
  3090. "in": "query",
  3091. "required": true
  3092. },
  3093. {
  3094. "type": "string",
  3095. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3096. "name": "cycletime",
  3097. "in": "query",
  3098. "required": true
  3099. }
  3100. ],
  3101. "responses": {
  3102. "200": {
  3103. "description": "OK",
  3104. "schema": {
  3105. "type": "array",
  3106. "items": {
  3107. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3108. }
  3109. }
  3110. },
  3111. "500": {
  3112. "description": "Internal Server Error",
  3113. "schema": {
  3114. "$ref": "#/definitions/app.Response"
  3115. }
  3116. }
  3117. }
  3118. }
  3119. },
  3120. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3121. "get": {
  3122. "security": [
  3123. {
  3124. "ApiKeyAuth": []
  3125. }
  3126. ],
  3127. "produces": [
  3128. "application/json"
  3129. ],
  3130. "tags": [
  3131. "企业风险管理v3(app)"
  3132. ],
  3133. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3134. "parameters": [
  3135. {
  3136. "type": "integer",
  3137. "description": "用户ID",
  3138. "name": "userid",
  3139. "in": "query",
  3140. "required": true
  3141. },
  3142. {
  3143. "type": "integer",
  3144. "description": "套保商品id",
  3145. "name": "middlegoodsid",
  3146. "in": "query",
  3147. "required": true
  3148. },
  3149. {
  3150. "type": "integer",
  3151. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3152. "name": "cycletype",
  3153. "in": "query",
  3154. "required": true
  3155. },
  3156. {
  3157. "type": "string",
  3158. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3159. "name": "cycletime",
  3160. "in": "query",
  3161. "required": true
  3162. }
  3163. ],
  3164. "responses": {
  3165. "200": {
  3166. "description": "OK",
  3167. "schema": {
  3168. "type": "array",
  3169. "items": {
  3170. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3171. }
  3172. }
  3173. },
  3174. "500": {
  3175. "description": "Internal Server Error",
  3176. "schema": {
  3177. "$ref": "#/definitions/app.Response"
  3178. }
  3179. }
  3180. }
  3181. }
  3182. },
  3183. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3184. "get": {
  3185. "security": [
  3186. {
  3187. "ApiKeyAuth": []
  3188. }
  3189. ],
  3190. "produces": [
  3191. "application/json"
  3192. ],
  3193. "tags": [
  3194. "企业风险管理v3(app)"
  3195. ],
  3196. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3197. "parameters": [
  3198. {
  3199. "type": "integer",
  3200. "description": "用户ID",
  3201. "name": "userid",
  3202. "in": "query",
  3203. "required": true
  3204. },
  3205. {
  3206. "type": "integer",
  3207. "description": "套保商品id",
  3208. "name": "middlegoodsid",
  3209. "in": "query",
  3210. "required": true
  3211. },
  3212. {
  3213. "type": "integer",
  3214. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3215. "name": "cycletype",
  3216. "in": "query",
  3217. "required": true
  3218. },
  3219. {
  3220. "type": "string",
  3221. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3222. "name": "cycletime",
  3223. "in": "query",
  3224. "required": true
  3225. }
  3226. ],
  3227. "responses": {
  3228. "200": {
  3229. "description": "OK",
  3230. "schema": {
  3231. "type": "array",
  3232. "items": {
  3233. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3234. }
  3235. }
  3236. },
  3237. "500": {
  3238. "description": "Internal Server Error",
  3239. "schema": {
  3240. "$ref": "#/definitions/app.Response"
  3241. }
  3242. }
  3243. }
  3244. }
  3245. },
  3246. "/Ermcp3/QryAreaExpourseReport": {
  3247. "get": {
  3248. "security": [
  3249. {
  3250. "ApiKeyAuth": []
  3251. }
  3252. ],
  3253. "produces": [
  3254. "application/json"
  3255. ],
  3256. "tags": [
  3257. "企业风险管理v3(app)"
  3258. ],
  3259. "summary": "查询敞口报表",
  3260. "parameters": [
  3261. {
  3262. "type": "integer",
  3263. "description": "用户ID",
  3264. "name": "userid",
  3265. "in": "query",
  3266. "required": true
  3267. },
  3268. {
  3269. "type": "integer",
  3270. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3271. "name": "querytype",
  3272. "in": "query",
  3273. "required": true
  3274. },
  3275. {
  3276. "type": "integer",
  3277. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3278. "name": "cycletype",
  3279. "in": "query",
  3280. "required": true
  3281. },
  3282. {
  3283. "type": "string",
  3284. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3285. "name": "cycletime",
  3286. "in": "query",
  3287. "required": true
  3288. }
  3289. ],
  3290. "responses": {
  3291. "200": {
  3292. "description": "OK",
  3293. "schema": {
  3294. "type": "array",
  3295. "items": {
  3296. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3297. }
  3298. }
  3299. },
  3300. "500": {
  3301. "description": "Internal Server Error",
  3302. "schema": {
  3303. "$ref": "#/definitions/app.Response"
  3304. }
  3305. }
  3306. }
  3307. }
  3308. },
  3309. "/Ermcp3/QryAreaSpotplReport": {
  3310. "get": {
  3311. "security": [
  3312. {
  3313. "ApiKeyAuth": []
  3314. }
  3315. ],
  3316. "produces": [
  3317. "application/json"
  3318. ],
  3319. "tags": [
  3320. "企业风险管理v3(app)"
  3321. ],
  3322. "summary": "查询现货报表",
  3323. "parameters": [
  3324. {
  3325. "type": "integer",
  3326. "description": "用户ID",
  3327. "name": "userid",
  3328. "in": "query",
  3329. "required": true
  3330. },
  3331. {
  3332. "type": "integer",
  3333. "description": "查询类型 1-报表 2-报表明细",
  3334. "name": "querytype",
  3335. "in": "query",
  3336. "required": true
  3337. },
  3338. {
  3339. "type": "integer",
  3340. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3341. "name": "cycletype",
  3342. "in": "query",
  3343. "required": true
  3344. },
  3345. {
  3346. "type": "string",
  3347. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3348. "name": "cycletime",
  3349. "in": "query",
  3350. "required": true
  3351. },
  3352. {
  3353. "type": "integer",
  3354. "description": "现货品种id(明细必填)",
  3355. "name": "deliverygoodsid",
  3356. "in": "query"
  3357. },
  3358. {
  3359. "type": "integer",
  3360. "description": "币种id(明细必填)",
  3361. "name": "currencyid",
  3362. "in": "query"
  3363. }
  3364. ],
  3365. "responses": {
  3366. "200": {
  3367. "description": "OK",
  3368. "schema": {
  3369. "type": "array",
  3370. "items": {
  3371. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3372. }
  3373. }
  3374. },
  3375. "500": {
  3376. "description": "Internal Server Error",
  3377. "schema": {
  3378. "$ref": "#/definitions/app.Response"
  3379. }
  3380. }
  3381. }
  3382. }
  3383. },
  3384. "/Ermcp3/QryAreaStockReport": {
  3385. "get": {
  3386. "security": [
  3387. {
  3388. "ApiKeyAuth": []
  3389. }
  3390. ],
  3391. "produces": [
  3392. "application/json"
  3393. ],
  3394. "tags": [
  3395. "企业风险管理v3(app)"
  3396. ],
  3397. "summary": "查询库存报表",
  3398. "parameters": [
  3399. {
  3400. "type": "integer",
  3401. "description": "用户ID",
  3402. "name": "userid",
  3403. "in": "query",
  3404. "required": true
  3405. },
  3406. {
  3407. "type": "integer",
  3408. "description": "查询类型 1-报表 2-报表明细",
  3409. "name": "querytype",
  3410. "in": "query",
  3411. "required": true
  3412. },
  3413. {
  3414. "type": "integer",
  3415. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3416. "name": "cycletype",
  3417. "in": "query",
  3418. "required": true
  3419. },
  3420. {
  3421. "type": "string",
  3422. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3423. "name": "cycletime",
  3424. "in": "query",
  3425. "required": true
  3426. },
  3427. {
  3428. "type": "string",
  3429. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3430. "name": "sumfields",
  3431. "in": "query"
  3432. },
  3433. {
  3434. "type": "integer",
  3435. "description": "品种ID",
  3436. "name": "deliverygoodsid",
  3437. "in": "query"
  3438. },
  3439. {
  3440. "type": "integer",
  3441. "description": "品类ID",
  3442. "name": "wrstandardid",
  3443. "in": "query"
  3444. },
  3445. {
  3446. "type": "integer",
  3447. "description": "品牌ID",
  3448. "name": "spotgoodsbrandid",
  3449. "in": "query"
  3450. },
  3451. {
  3452. "type": "integer",
  3453. "description": "仓库ID",
  3454. "name": "warehouseinfoid",
  3455. "in": "query"
  3456. }
  3457. ],
  3458. "responses": {
  3459. "200": {
  3460. "description": "OK",
  3461. "schema": {
  3462. "type": "array",
  3463. "items": {
  3464. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3465. }
  3466. }
  3467. },
  3468. "500": {
  3469. "description": "Internal Server Error",
  3470. "schema": {
  3471. "$ref": "#/definitions/app.Response"
  3472. }
  3473. }
  3474. }
  3475. }
  3476. },
  3477. "/Ermcp3/QryAreaSumPL": {
  3478. "get": {
  3479. "security": [
  3480. {
  3481. "ApiKeyAuth": []
  3482. }
  3483. ],
  3484. "produces": [
  3485. "application/json"
  3486. ],
  3487. "tags": [
  3488. "企业风险管理v3(app)"
  3489. ],
  3490. "summary": "查询汇总损益表",
  3491. "parameters": [
  3492. {
  3493. "type": "integer",
  3494. "description": "用户ID",
  3495. "name": "userid",
  3496. "in": "query",
  3497. "required": true
  3498. },
  3499. {
  3500. "type": "integer",
  3501. "description": "查询类型 1-报表 2-报表明细",
  3502. "name": "querytype",
  3503. "in": "query",
  3504. "required": true
  3505. },
  3506. {
  3507. "type": "integer",
  3508. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3509. "name": "cycletype",
  3510. "in": "query",
  3511. "required": true
  3512. },
  3513. {
  3514. "type": "string",
  3515. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3516. "name": "cycletime",
  3517. "in": "query",
  3518. "required": true
  3519. },
  3520. {
  3521. "type": "integer",
  3522. "description": "币种id(明细必填)",
  3523. "name": "currencyid",
  3524. "in": "query"
  3525. }
  3526. ],
  3527. "responses": {
  3528. "200": {
  3529. "description": "OK",
  3530. "schema": {
  3531. "type": "array",
  3532. "items": {
  3533. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3534. }
  3535. }
  3536. },
  3537. "500": {
  3538. "description": "Internal Server Error",
  3539. "schema": {
  3540. "$ref": "#/definitions/app.Response"
  3541. }
  3542. }
  3543. }
  3544. }
  3545. },
  3546. "/Ermcp3/QryFinanceReport": {
  3547. "get": {
  3548. "security": [
  3549. {
  3550. "ApiKeyAuth": []
  3551. }
  3552. ],
  3553. "produces": [
  3554. "application/json"
  3555. ],
  3556. "tags": [
  3557. "企业风险管理v3(app)"
  3558. ],
  3559. "summary": "查询财务报表",
  3560. "parameters": [
  3561. {
  3562. "type": "integer",
  3563. "description": "用户ID",
  3564. "name": "userid",
  3565. "in": "query",
  3566. "required": true
  3567. },
  3568. {
  3569. "type": "integer",
  3570. "description": "查询类型 1-报表 2-报表明细",
  3571. "name": "querytype",
  3572. "in": "query",
  3573. "required": true
  3574. },
  3575. {
  3576. "type": "integer",
  3577. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3578. "name": "cycletype",
  3579. "in": "query",
  3580. "required": true
  3581. },
  3582. {
  3583. "type": "string",
  3584. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3585. "name": "cycletime",
  3586. "in": "query",
  3587. "required": true
  3588. },
  3589. {
  3590. "type": "integer",
  3591. "description": "币种id(报表明细必填)",
  3592. "name": "currencyid",
  3593. "in": "query"
  3594. },
  3595. {
  3596. "type": "string",
  3597. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3598. "name": "sumfields",
  3599. "in": "query"
  3600. }
  3601. ],
  3602. "responses": {
  3603. "200": {
  3604. "description": "OK",
  3605. "schema": {
  3606. "type": "array",
  3607. "items": {
  3608. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3609. }
  3610. }
  3611. },
  3612. "500": {
  3613. "description": "Internal Server Error",
  3614. "schema": {
  3615. "$ref": "#/definitions/app.Response"
  3616. }
  3617. }
  3618. }
  3619. }
  3620. },
  3621. "/Ermcp3/QryTaFutureDataReport": {
  3622. "get": {
  3623. "security": [
  3624. {
  3625. "ApiKeyAuth": []
  3626. }
  3627. ],
  3628. "produces": [
  3629. "application/json"
  3630. ],
  3631. "tags": [
  3632. "企业风险管理v3(app)"
  3633. ],
  3634. "summary": "查询期货报表",
  3635. "parameters": [
  3636. {
  3637. "type": "integer",
  3638. "description": "用户ID",
  3639. "name": "userid",
  3640. "in": "query",
  3641. "required": true
  3642. },
  3643. {
  3644. "type": "integer",
  3645. "description": "查询类型 1-报表 2-报表明细",
  3646. "name": "querytype",
  3647. "in": "query",
  3648. "required": true
  3649. },
  3650. {
  3651. "type": "integer",
  3652. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3653. "name": "cycletype",
  3654. "in": "query",
  3655. "required": true
  3656. },
  3657. {
  3658. "type": "string",
  3659. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3660. "name": "cycletime",
  3661. "in": "query",
  3662. "required": true
  3663. },
  3664. {
  3665. "type": "integer",
  3666. "description": "币种id(查明细必填)",
  3667. "name": "currencyid",
  3668. "in": "query"
  3669. },
  3670. {
  3671. "type": "integer",
  3672. "description": "品种id(查明细必填)",
  3673. "name": "goodsgroupid",
  3674. "in": "query"
  3675. },
  3676. {
  3677. "type": "integer",
  3678. "description": "商品id(查明细必填)",
  3679. "name": "goodsid",
  3680. "in": "query"
  3681. },
  3682. {
  3683. "type": "integer",
  3684. "description": "买卖方向(查明细必填)",
  3685. "name": "buyorsell",
  3686. "in": "query"
  3687. }
  3688. ],
  3689. "responses": {
  3690. "200": {
  3691. "description": "OK",
  3692. "schema": {
  3693. "type": "array",
  3694. "items": {
  3695. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3696. }
  3697. }
  3698. },
  3699. "500": {
  3700. "description": "Internal Server Error",
  3701. "schema": {
  3702. "$ref": "#/definitions/app.Response"
  3703. }
  3704. }
  3705. }
  3706. }
  3707. },
  3708. "/Ermcp3/QueryAreaStock": {
  3709. "get": {
  3710. "security": [
  3711. {
  3712. "ApiKeyAuth": []
  3713. }
  3714. ],
  3715. "produces": [
  3716. "application/json"
  3717. ],
  3718. "tags": [
  3719. "企业风险管理v3(app)"
  3720. ],
  3721. "summary": "查询机构库存(库存管理/当前库存)",
  3722. "parameters": [
  3723. {
  3724. "type": "integer",
  3725. "description": "用户ID",
  3726. "name": "userid",
  3727. "in": "query",
  3728. "required": true
  3729. }
  3730. ],
  3731. "responses": {
  3732. "200": {
  3733. "description": "OK",
  3734. "schema": {
  3735. "type": "array",
  3736. "items": {
  3737. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3738. }
  3739. }
  3740. },
  3741. "500": {
  3742. "description": "Internal Server Error",
  3743. "schema": {
  3744. "$ref": "#/definitions/app.Response"
  3745. }
  3746. }
  3747. }
  3748. }
  3749. },
  3750. "/Ermcp3/QueryAreaStockApply": {
  3751. "get": {
  3752. "security": [
  3753. {
  3754. "ApiKeyAuth": []
  3755. }
  3756. ],
  3757. "produces": [
  3758. "application/json"
  3759. ],
  3760. "tags": [
  3761. "企业风险管理v3(app)"
  3762. ],
  3763. "summary": "查询库存申请(出入库记录|库存审核)",
  3764. "parameters": [
  3765. {
  3766. "type": "integer",
  3767. "description": "用户ID",
  3768. "name": "userid",
  3769. "in": "query",
  3770. "required": true
  3771. },
  3772. {
  3773. "type": "integer",
  3774. "description": "用户类型 2-机构 7-企业成员",
  3775. "name": "usertype",
  3776. "in": "query"
  3777. },
  3778. {
  3779. "type": "integer",
  3780. "description": "现货商品ID",
  3781. "name": "deliverygoodsid",
  3782. "in": "query"
  3783. },
  3784. {
  3785. "type": "string",
  3786. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3787. "name": "inouttype",
  3788. "in": "query"
  3789. },
  3790. {
  3791. "type": "integer",
  3792. "description": "合同ID",
  3793. "name": "spotcontractid",
  3794. "in": "query"
  3795. },
  3796. {
  3797. "type": "integer",
  3798. "description": "品类ID",
  3799. "name": "wrstandardid",
  3800. "in": "query"
  3801. },
  3802. {
  3803. "type": "integer",
  3804. "description": "品牌ID",
  3805. "name": "spotgoodsbrandid",
  3806. "in": "query"
  3807. },
  3808. {
  3809. "type": "integer",
  3810. "description": "仓库ID",
  3811. "name": "warehouseinfoid",
  3812. "in": "query"
  3813. },
  3814. {
  3815. "type": "string",
  3816. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3817. "name": "applystatus",
  3818. "in": "query"
  3819. }
  3820. ],
  3821. "responses": {
  3822. "200": {
  3823. "description": "OK",
  3824. "schema": {
  3825. "type": "array",
  3826. "items": {
  3827. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3828. }
  3829. }
  3830. },
  3831. "500": {
  3832. "description": "Internal Server Error",
  3833. "schema": {
  3834. "$ref": "#/definitions/app.Response"
  3835. }
  3836. }
  3837. }
  3838. }
  3839. },
  3840. "/Ermcp3/QueryAreaStockApplySum": {
  3841. "get": {
  3842. "security": [
  3843. {
  3844. "ApiKeyAuth": []
  3845. }
  3846. ],
  3847. "produces": [
  3848. "application/json"
  3849. ],
  3850. "tags": [
  3851. "企业风险管理v3(app)"
  3852. ],
  3853. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3854. "parameters": [
  3855. {
  3856. "type": "integer",
  3857. "description": "合同ID",
  3858. "name": "spotcontractid",
  3859. "in": "query",
  3860. "required": true
  3861. }
  3862. ],
  3863. "responses": {
  3864. "200": {
  3865. "description": "OK",
  3866. "schema": {
  3867. "type": "array",
  3868. "items": {
  3869. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3870. }
  3871. }
  3872. },
  3873. "500": {
  3874. "description": "Internal Server Error",
  3875. "schema": {
  3876. "$ref": "#/definitions/app.Response"
  3877. }
  3878. }
  3879. }
  3880. }
  3881. },
  3882. "/Ermcp3/QueryDGFactoryItem": {
  3883. "get": {
  3884. "security": [
  3885. {
  3886. "ApiKeyAuth": []
  3887. }
  3888. ],
  3889. "produces": [
  3890. "application/json"
  3891. ],
  3892. "tags": [
  3893. "企业风险管理v3(app)"
  3894. ],
  3895. "summary": "查询品种要素定义项",
  3896. "parameters": [
  3897. {
  3898. "type": "integer",
  3899. "description": "用户id",
  3900. "name": "userid",
  3901. "in": "query"
  3902. },
  3903. {
  3904. "type": "integer",
  3905. "description": "用户类型 2-机构 7-企业成员",
  3906. "name": "usertype",
  3907. "in": "query"
  3908. },
  3909. {
  3910. "type": "integer",
  3911. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3912. "name": "dgfactoryitemid",
  3913. "in": "query"
  3914. },
  3915. {
  3916. "type": "integer",
  3917. "description": "现货品种ID",
  3918. "name": "deliverygoodsid",
  3919. "in": "query"
  3920. },
  3921. {
  3922. "type": "integer",
  3923. "description": "要素项类型",
  3924. "name": "dgfactoryitemtypeid",
  3925. "in": "query"
  3926. },
  3927. {
  3928. "type": "integer",
  3929. "description": "顺序",
  3930. "name": "orderindex",
  3931. "in": "query"
  3932. }
  3933. ],
  3934. "responses": {
  3935. "200": {
  3936. "description": "OK",
  3937. "schema": {
  3938. "type": "array",
  3939. "items": {
  3940. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3941. }
  3942. }
  3943. },
  3944. "500": {
  3945. "description": "Internal Server Error",
  3946. "schema": {
  3947. "$ref": "#/definitions/app.Response"
  3948. }
  3949. }
  3950. }
  3951. }
  3952. },
  3953. "/Ermcp3/QueryDeliveryGoods": {
  3954. "get": {
  3955. "security": [
  3956. {
  3957. "ApiKeyAuth": []
  3958. }
  3959. ],
  3960. "produces": [
  3961. "application/json"
  3962. ],
  3963. "tags": [
  3964. "企业风险管理v3(app)"
  3965. ],
  3966. "summary": "查询现货商品",
  3967. "parameters": [
  3968. {
  3969. "type": "integer",
  3970. "description": "用户id",
  3971. "name": "userid",
  3972. "in": "query",
  3973. "required": true
  3974. },
  3975. {
  3976. "type": "integer",
  3977. "description": "用户类型 2-机构 7-企业成员",
  3978. "name": "usertype",
  3979. "in": "query"
  3980. },
  3981. {
  3982. "type": "integer",
  3983. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3984. "name": "excludecfg",
  3985. "in": "query"
  3986. }
  3987. ],
  3988. "responses": {
  3989. "200": {
  3990. "description": "OK",
  3991. "schema": {
  3992. "type": "array",
  3993. "items": {
  3994. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3995. }
  3996. }
  3997. },
  3998. "500": {
  3999. "description": "Internal Server Error",
  4000. "schema": {
  4001. "$ref": "#/definitions/app.Response"
  4002. }
  4003. }
  4004. }
  4005. }
  4006. },
  4007. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4008. "get": {
  4009. "security": [
  4010. {
  4011. "ApiKeyAuth": []
  4012. }
  4013. ],
  4014. "produces": [
  4015. "application/json"
  4016. ],
  4017. "tags": [
  4018. "企业风险管理v3(app)"
  4019. ],
  4020. "summary": "查询现货商品详情",
  4021. "parameters": [
  4022. {
  4023. "type": "integer",
  4024. "description": "用户id",
  4025. "name": "userid",
  4026. "in": "query",
  4027. "required": true
  4028. },
  4029. {
  4030. "type": "integer",
  4031. "description": "用户类型 2-机构 7-企业成员",
  4032. "name": "usertype",
  4033. "in": "query"
  4034. },
  4035. {
  4036. "type": "integer",
  4037. "description": "现货商品id",
  4038. "name": "deliverygoodsid",
  4039. "in": "query"
  4040. }
  4041. ],
  4042. "responses": {
  4043. "200": {
  4044. "description": "OK",
  4045. "schema": {
  4046. "type": "array",
  4047. "items": {
  4048. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  4049. }
  4050. }
  4051. },
  4052. "500": {
  4053. "description": "Internal Server Error",
  4054. "schema": {
  4055. "$ref": "#/definitions/app.Response"
  4056. }
  4057. }
  4058. }
  4059. }
  4060. },
  4061. "/Ermcp3/QueryExposureDetail": {
  4062. "get": {
  4063. "security": [
  4064. {
  4065. "ApiKeyAuth": []
  4066. }
  4067. ],
  4068. "produces": [
  4069. "application/json"
  4070. ],
  4071. "tags": [
  4072. "企业风险管理v3(app)"
  4073. ],
  4074. "summary": "查询敞口现货明细",
  4075. "parameters": [
  4076. {
  4077. "type": "integer",
  4078. "description": "用户id",
  4079. "name": "userid",
  4080. "in": "query",
  4081. "required": true
  4082. },
  4083. {
  4084. "type": "integer",
  4085. "description": "用户类型 2-机构 7-企业成员",
  4086. "name": "usertype",
  4087. "in": "query"
  4088. },
  4089. {
  4090. "type": "integer",
  4091. "description": "套保商品",
  4092. "name": "middlegoodsid",
  4093. "in": "query",
  4094. "required": true
  4095. }
  4096. ],
  4097. "responses": {
  4098. "200": {
  4099. "description": "OK",
  4100. "schema": {
  4101. "type": "array",
  4102. "items": {
  4103. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4104. }
  4105. }
  4106. },
  4107. "500": {
  4108. "description": "Internal Server Error",
  4109. "schema": {
  4110. "$ref": "#/definitions/app.Response"
  4111. }
  4112. }
  4113. }
  4114. }
  4115. },
  4116. "/Ermcp3/QueryExposureSpot": {
  4117. "get": {
  4118. "security": [
  4119. {
  4120. "ApiKeyAuth": []
  4121. }
  4122. ],
  4123. "produces": [
  4124. "application/json"
  4125. ],
  4126. "tags": [
  4127. "企业风险管理v3(app)"
  4128. ],
  4129. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4130. "parameters": [
  4131. {
  4132. "type": "integer",
  4133. "description": "用户id",
  4134. "name": "userid",
  4135. "in": "query",
  4136. "required": true
  4137. },
  4138. {
  4139. "type": "integer",
  4140. "description": "用户类型 2-机构 7-企业成员",
  4141. "name": "usertype",
  4142. "in": "query"
  4143. }
  4144. ],
  4145. "responses": {
  4146. "200": {
  4147. "description": "OK",
  4148. "schema": {
  4149. "type": "array",
  4150. "items": {
  4151. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4152. }
  4153. }
  4154. },
  4155. "500": {
  4156. "description": "Internal Server Error",
  4157. "schema": {
  4158. "$ref": "#/definitions/app.Response"
  4159. }
  4160. }
  4161. }
  4162. }
  4163. },
  4164. "/Ermcp3/QueryExposureSpotDetail": {
  4165. "get": {
  4166. "security": [
  4167. {
  4168. "ApiKeyAuth": []
  4169. }
  4170. ],
  4171. "produces": [
  4172. "application/json"
  4173. ],
  4174. "tags": [
  4175. "企业风险管理v3(app)"
  4176. ],
  4177. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4178. "parameters": [
  4179. {
  4180. "type": "integer",
  4181. "description": "用户id",
  4182. "name": "userid",
  4183. "in": "query",
  4184. "required": true
  4185. },
  4186. {
  4187. "type": "integer",
  4188. "description": "用户类型 2-机构 7-企业成员",
  4189. "name": "usertype",
  4190. "in": "query"
  4191. },
  4192. {
  4193. "type": "integer",
  4194. "description": "现货品种ID",
  4195. "name": "deliverygoodsid",
  4196. "in": "query",
  4197. "required": true
  4198. }
  4199. ],
  4200. "responses": {
  4201. "200": {
  4202. "description": "OK",
  4203. "schema": {
  4204. "type": "array",
  4205. "items": {
  4206. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4207. }
  4208. }
  4209. },
  4210. "500": {
  4211. "description": "Internal Server Error",
  4212. "schema": {
  4213. "$ref": "#/definitions/app.Response"
  4214. }
  4215. }
  4216. }
  4217. }
  4218. },
  4219. "/Ermcp3/QueryGoodsGroup": {
  4220. "get": {
  4221. "security": [
  4222. {
  4223. "ApiKeyAuth": []
  4224. }
  4225. ],
  4226. "produces": [
  4227. "application/json"
  4228. ],
  4229. "tags": [
  4230. "企业风险管理v3(app)"
  4231. ],
  4232. "summary": "查询期货商品组",
  4233. "parameters": [
  4234. {
  4235. "type": "integer",
  4236. "description": "用户id",
  4237. "name": "userid",
  4238. "in": "query",
  4239. "required": true
  4240. },
  4241. {
  4242. "type": "integer",
  4243. "description": "用户类型 2-机构 7-企业成员",
  4244. "name": "usertype",
  4245. "in": "query"
  4246. },
  4247. {
  4248. "type": "integer",
  4249. "description": "排除套保品中已关联的商品组 1-排除",
  4250. "name": "excludecfg",
  4251. "in": "query"
  4252. }
  4253. ],
  4254. "responses": {
  4255. "200": {
  4256. "description": "OK",
  4257. "schema": {
  4258. "type": "array",
  4259. "items": {
  4260. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4261. }
  4262. }
  4263. },
  4264. "500": {
  4265. "description": "Internal Server Error",
  4266. "schema": {
  4267. "$ref": "#/definitions/app.Response"
  4268. }
  4269. }
  4270. }
  4271. }
  4272. },
  4273. "/Ermcp3/QueryGoodsWrstandard": {
  4274. "get": {
  4275. "security": [
  4276. {
  4277. "ApiKeyAuth": []
  4278. }
  4279. ],
  4280. "produces": [
  4281. "application/json"
  4282. ],
  4283. "tags": [
  4284. "企业风险管理v3(app)"
  4285. ],
  4286. "summary": "查询商品品类",
  4287. "parameters": [
  4288. {
  4289. "type": "integer",
  4290. "description": "用户id",
  4291. "name": "userid",
  4292. "in": "query",
  4293. "required": true
  4294. },
  4295. {
  4296. "type": "integer",
  4297. "description": "用户类型 2-机构 7-企业成员",
  4298. "name": "usertype",
  4299. "in": "query"
  4300. },
  4301. {
  4302. "type": "integer",
  4303. "description": "现货商品id",
  4304. "name": "deliverygoodsid",
  4305. "in": "query"
  4306. }
  4307. ],
  4308. "responses": {
  4309. "200": {
  4310. "description": "OK",
  4311. "schema": {
  4312. "type": "array",
  4313. "items": {
  4314. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4315. }
  4316. }
  4317. },
  4318. "500": {
  4319. "description": "Internal Server Error",
  4320. "schema": {
  4321. "$ref": "#/definitions/app.Response"
  4322. }
  4323. }
  4324. }
  4325. }
  4326. },
  4327. "/Ermcp3/QueryGoodsbrand": {
  4328. "get": {
  4329. "security": [
  4330. {
  4331. "ApiKeyAuth": []
  4332. }
  4333. ],
  4334. "produces": [
  4335. "application/json"
  4336. ],
  4337. "tags": [
  4338. "企业风险管理v3(app)"
  4339. ],
  4340. "summary": "查询商品品牌",
  4341. "parameters": [
  4342. {
  4343. "type": "integer",
  4344. "description": "用户id",
  4345. "name": "userid",
  4346. "in": "query",
  4347. "required": true
  4348. },
  4349. {
  4350. "type": "integer",
  4351. "description": "用户类型 2-机构 7-企业成员",
  4352. "name": "usertype",
  4353. "in": "query"
  4354. }
  4355. ],
  4356. "responses": {
  4357. "200": {
  4358. "description": "OK",
  4359. "schema": {
  4360. "type": "array",
  4361. "items": {
  4362. "$ref": "#/definitions/models.Ermcp3Brand"
  4363. }
  4364. }
  4365. },
  4366. "500": {
  4367. "description": "Internal Server Error",
  4368. "schema": {
  4369. "$ref": "#/definitions/app.Response"
  4370. }
  4371. }
  4372. }
  4373. }
  4374. },
  4375. "/Ermcp3/QueryHedgePlan": {
  4376. "get": {
  4377. "security": [
  4378. {
  4379. "ApiKeyAuth": []
  4380. }
  4381. ],
  4382. "produces": [
  4383. "application/json"
  4384. ],
  4385. "tags": [
  4386. "企业风险管理v3(app)"
  4387. ],
  4388. "summary": "查询套保计划",
  4389. "parameters": [
  4390. {
  4391. "type": "integer",
  4392. "description": "用户ID",
  4393. "name": "userid",
  4394. "in": "query",
  4395. "required": true
  4396. },
  4397. {
  4398. "type": "integer",
  4399. "description": "用户类型 2-机构 7-企业成员",
  4400. "name": "usertype",
  4401. "in": "query"
  4402. },
  4403. {
  4404. "type": "string",
  4405. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4406. "name": "hedgeplanstatus",
  4407. "in": "query",
  4408. "required": true
  4409. }
  4410. ],
  4411. "responses": {
  4412. "200": {
  4413. "description": "OK",
  4414. "schema": {
  4415. "type": "array",
  4416. "items": {
  4417. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4418. }
  4419. }
  4420. },
  4421. "500": {
  4422. "description": "Internal Server Error",
  4423. "schema": {
  4424. "$ref": "#/definitions/app.Response"
  4425. }
  4426. }
  4427. }
  4428. }
  4429. },
  4430. "/Ermcp3/QueryMiddleGoodsDetail": {
  4431. "get": {
  4432. "security": [
  4433. {
  4434. "ApiKeyAuth": []
  4435. }
  4436. ],
  4437. "produces": [
  4438. "application/json"
  4439. ],
  4440. "tags": [
  4441. "企业风险管理v3(app)"
  4442. ],
  4443. "summary": "查询套保品种详情(套保品种/商品详情)",
  4444. "parameters": [
  4445. {
  4446. "type": "integer",
  4447. "description": "用户id",
  4448. "name": "userid",
  4449. "in": "query",
  4450. "required": true
  4451. },
  4452. {
  4453. "type": "integer",
  4454. "description": "用户类型 2-机构 7-企业成员",
  4455. "name": "usertype",
  4456. "in": "query"
  4457. },
  4458. {
  4459. "type": "integer",
  4460. "description": "套保品种id",
  4461. "name": "middlegoodsid",
  4462. "in": "query"
  4463. }
  4464. ],
  4465. "responses": {
  4466. "200": {
  4467. "description": "OK",
  4468. "schema": {
  4469. "type": "array",
  4470. "items": {
  4471. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4472. }
  4473. }
  4474. },
  4475. "500": {
  4476. "description": "Internal Server Error",
  4477. "schema": {
  4478. "$ref": "#/definitions/app.Response"
  4479. }
  4480. }
  4481. }
  4482. }
  4483. },
  4484. "/Ermcp3/QueryPaAreaAuditCfg": {
  4485. "get": {
  4486. "security": [
  4487. {
  4488. "ApiKeyAuth": []
  4489. }
  4490. ],
  4491. "produces": [
  4492. "application/json"
  4493. ],
  4494. "tags": [
  4495. "企业风险管理v3(app)"
  4496. ],
  4497. "summary": "查询审核设置",
  4498. "parameters": [
  4499. {
  4500. "type": "integer",
  4501. "description": "用户id",
  4502. "name": "userid",
  4503. "in": "query",
  4504. "required": true
  4505. }
  4506. ],
  4507. "responses": {
  4508. "200": {
  4509. "description": "OK",
  4510. "schema": {
  4511. "type": "array",
  4512. "items": {
  4513. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4514. }
  4515. }
  4516. },
  4517. "500": {
  4518. "description": "Internal Server Error",
  4519. "schema": {
  4520. "$ref": "#/definitions/app.Response"
  4521. }
  4522. }
  4523. }
  4524. }
  4525. },
  4526. "/Ermcp3/QueryPaAreaSubject": {
  4527. "get": {
  4528. "security": [
  4529. {
  4530. "ApiKeyAuth": []
  4531. }
  4532. ],
  4533. "produces": [
  4534. "application/json"
  4535. ],
  4536. "tags": [
  4537. "企业风险管理v3(app)"
  4538. ],
  4539. "summary": "查询交易主体",
  4540. "parameters": [
  4541. {
  4542. "type": "integer",
  4543. "description": "用户id",
  4544. "name": "userid",
  4545. "in": "query",
  4546. "required": true
  4547. },
  4548. {
  4549. "type": "integer",
  4550. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4551. "name": "subjectid",
  4552. "in": "query"
  4553. },
  4554. {
  4555. "type": "integer",
  4556. "description": "主体类型 - 1:交易主体 2:业务部门",
  4557. "name": "subjecttype",
  4558. "in": "query"
  4559. },
  4560. {
  4561. "type": "integer",
  4562. "description": "主体状态 - 1:正常 2: 停用",
  4563. "name": "subjectstatus",
  4564. "in": "query"
  4565. }
  4566. ],
  4567. "responses": {
  4568. "200": {
  4569. "description": "OK",
  4570. "schema": {
  4571. "type": "array",
  4572. "items": {
  4573. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4574. }
  4575. }
  4576. },
  4577. "500": {
  4578. "description": "Internal Server Error",
  4579. "schema": {
  4580. "$ref": "#/definitions/app.Response"
  4581. }
  4582. }
  4583. }
  4584. }
  4585. },
  4586. "/Ermcp3/QueryRootUserAccount": {
  4587. "get": {
  4588. "security": [
  4589. {
  4590. "ApiKeyAuth": []
  4591. }
  4592. ],
  4593. "produces": [
  4594. "application/json"
  4595. ],
  4596. "tags": [
  4597. "企业风险管理v3(app)"
  4598. ],
  4599. "summary": "查询顶级用户信息",
  4600. "parameters": [
  4601. {
  4602. "type": "integer",
  4603. "description": "用户ID",
  4604. "name": "userid",
  4605. "in": "query",
  4606. "required": true
  4607. }
  4608. ],
  4609. "responses": {
  4610. "200": {
  4611. "description": "OK",
  4612. "schema": {
  4613. "type": "array",
  4614. "items": {
  4615. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4616. }
  4617. }
  4618. },
  4619. "500": {
  4620. "description": "Internal Server Error",
  4621. "schema": {
  4622. "$ref": "#/definitions/app.Response"
  4623. }
  4624. }
  4625. }
  4626. }
  4627. },
  4628. "/Ermcp3/QuerySpotContract": {
  4629. "get": {
  4630. "security": [
  4631. {
  4632. "ApiKeyAuth": []
  4633. }
  4634. ],
  4635. "produces": [
  4636. "application/json"
  4637. ],
  4638. "tags": [
  4639. "企业风险管理v3(app)"
  4640. ],
  4641. "summary": "查询现货合同",
  4642. "parameters": [
  4643. {
  4644. "type": "integer",
  4645. "description": "用户id",
  4646. "name": "userid",
  4647. "in": "query",
  4648. "required": true
  4649. },
  4650. {
  4651. "type": "integer",
  4652. "description": "用户类型 2-机构 7-企业成员",
  4653. "name": "usertype",
  4654. "in": "query"
  4655. },
  4656. {
  4657. "type": "integer",
  4658. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4659. "name": "querytype",
  4660. "in": "query",
  4661. "required": true
  4662. },
  4663. {
  4664. "type": "string",
  4665. "description": "合同ID(SpotContractId)",
  4666. "name": "contractid",
  4667. "in": "query"
  4668. }
  4669. ],
  4670. "responses": {
  4671. "200": {
  4672. "description": "OK",
  4673. "schema": {
  4674. "type": "array",
  4675. "items": {
  4676. "$ref": "#/definitions/models.Ermcp3Contract"
  4677. }
  4678. }
  4679. },
  4680. "500": {
  4681. "description": "Internal Server Error",
  4682. "schema": {
  4683. "$ref": "#/definitions/app.Response"
  4684. }
  4685. }
  4686. }
  4687. }
  4688. },
  4689. "/Ermcp3/QuerySpotContractBS": {
  4690. "get": {
  4691. "security": [
  4692. {
  4693. "ApiKeyAuth": []
  4694. }
  4695. ],
  4696. "produces": [
  4697. "application/json"
  4698. ],
  4699. "tags": [
  4700. "企业风险管理v3(app)"
  4701. ],
  4702. "summary": "查询合同(采购/销售)",
  4703. "parameters": [
  4704. {
  4705. "type": "integer",
  4706. "description": "用户id",
  4707. "name": "userid",
  4708. "in": "query",
  4709. "required": true
  4710. },
  4711. {
  4712. "type": "integer",
  4713. "description": "用户类型 2-机构 7-企业成员",
  4714. "name": "usertype",
  4715. "in": "query"
  4716. },
  4717. {
  4718. "type": "integer",
  4719. "description": "合同类型 1-采购, -1-销售",
  4720. "name": "contracttype",
  4721. "in": "query",
  4722. "required": true
  4723. },
  4724. {
  4725. "type": "integer",
  4726. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4727. "name": "querytype",
  4728. "in": "query",
  4729. "required": true
  4730. },
  4731. {
  4732. "type": "string",
  4733. "description": "合同ID(SpotContractId)",
  4734. "name": "contractid",
  4735. "in": "query"
  4736. }
  4737. ],
  4738. "responses": {
  4739. "200": {
  4740. "description": "OK",
  4741. "schema": {
  4742. "type": "array",
  4743. "items": {
  4744. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4745. }
  4746. }
  4747. },
  4748. "500": {
  4749. "description": "Internal Server Error",
  4750. "schema": {
  4751. "$ref": "#/definitions/app.Response"
  4752. }
  4753. }
  4754. }
  4755. }
  4756. },
  4757. "/Ermcp3/QuerySpotGoodsPrice": {
  4758. "get": {
  4759. "security": [
  4760. {
  4761. "ApiKeyAuth": []
  4762. }
  4763. ],
  4764. "produces": [
  4765. "application/json"
  4766. ],
  4767. "tags": [
  4768. "企业风险管理v3(app)"
  4769. ],
  4770. "summary": "查询现货市价(现货市价)",
  4771. "parameters": [
  4772. {
  4773. "type": "integer",
  4774. "description": "用户ID",
  4775. "name": "userid",
  4776. "in": "query",
  4777. "required": true
  4778. }
  4779. ],
  4780. "responses": {
  4781. "200": {
  4782. "description": "OK",
  4783. "schema": {
  4784. "type": "array",
  4785. "items": {
  4786. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4787. }
  4788. }
  4789. },
  4790. "500": {
  4791. "description": "Internal Server Error",
  4792. "schema": {
  4793. "$ref": "#/definitions/app.Response"
  4794. }
  4795. }
  4796. }
  4797. }
  4798. },
  4799. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4800. "get": {
  4801. "security": [
  4802. {
  4803. "ApiKeyAuth": []
  4804. }
  4805. ],
  4806. "produces": [
  4807. "application/json"
  4808. ],
  4809. "tags": [
  4810. "企业风险管理v3(app)"
  4811. ],
  4812. "summary": "查询现货市价详情(现货市价/详情)",
  4813. "parameters": [
  4814. {
  4815. "type": "integer",
  4816. "description": "用户ID",
  4817. "name": "userid",
  4818. "in": "query",
  4819. "required": true
  4820. },
  4821. {
  4822. "type": "integer",
  4823. "description": "现货商品ID",
  4824. "name": "deliverygoodsid",
  4825. "in": "query",
  4826. "required": true
  4827. },
  4828. {
  4829. "type": "integer",
  4830. "description": "品牌ID",
  4831. "name": "brandid",
  4832. "in": "query"
  4833. },
  4834. {
  4835. "type": "integer",
  4836. "description": "品类ID",
  4837. "name": "wrstandardid",
  4838. "in": "query"
  4839. }
  4840. ],
  4841. "responses": {
  4842. "200": {
  4843. "description": "OK",
  4844. "schema": {
  4845. "type": "array",
  4846. "items": {
  4847. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4848. }
  4849. }
  4850. },
  4851. "500": {
  4852. "description": "Internal Server Error",
  4853. "schema": {
  4854. "$ref": "#/definitions/app.Response"
  4855. }
  4856. }
  4857. }
  4858. }
  4859. },
  4860. "/Erms2/QueryArbitrageStrategy": {
  4861. "get": {
  4862. "security": [
  4863. {
  4864. "ApiKeyAuth": []
  4865. }
  4866. ],
  4867. "produces": [
  4868. "application/json"
  4869. ],
  4870. "tags": [
  4871. "风险管理"
  4872. ],
  4873. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4874. "parameters": [
  4875. {
  4876. "type": "integer",
  4877. "description": "账户ID",
  4878. "name": "userid",
  4879. "in": "query",
  4880. "required": true
  4881. },
  4882. {
  4883. "type": "string",
  4884. "description": "商品组ID(品种ID)",
  4885. "name": "goodsgroupid",
  4886. "in": "query"
  4887. }
  4888. ],
  4889. "responses": {
  4890. "200": {
  4891. "description": "OK",
  4892. "schema": {
  4893. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4894. }
  4895. },
  4896. "500": {
  4897. "description": "Internal Server Error",
  4898. "schema": {
  4899. "$ref": "#/definitions/app.Response"
  4900. }
  4901. }
  4902. }
  4903. }
  4904. },
  4905. "/Erms2/QueryInnerTradeDetail": {
  4906. "get": {
  4907. "security": [
  4908. {
  4909. "ApiKeyAuth": []
  4910. }
  4911. ],
  4912. "produces": [
  4913. "application/json"
  4914. ],
  4915. "tags": [
  4916. "风险管理"
  4917. ],
  4918. "summary": "查询内部成交单信息",
  4919. "parameters": [
  4920. {
  4921. "type": "integer",
  4922. "description": "资金账户",
  4923. "name": "accountid",
  4924. "in": "query",
  4925. "required": true
  4926. }
  4927. ],
  4928. "responses": {
  4929. "200": {
  4930. "description": "OK",
  4931. "schema": {
  4932. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4933. }
  4934. },
  4935. "500": {
  4936. "description": "Internal Server Error",
  4937. "schema": {
  4938. "$ref": "#/definitions/app.Response"
  4939. }
  4940. }
  4941. }
  4942. }
  4943. },
  4944. "/Erms2/QuerySpotContract": {
  4945. "get": {
  4946. "security": [
  4947. {
  4948. "ApiKeyAuth": []
  4949. }
  4950. ],
  4951. "produces": [
  4952. "application/json"
  4953. ],
  4954. "tags": [
  4955. "风险管理"
  4956. ],
  4957. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4958. "parameters": [
  4959. {
  4960. "type": "integer",
  4961. "description": "策略申请ID",
  4962. "name": "asapplyid",
  4963. "in": "query",
  4964. "required": true
  4965. },
  4966. {
  4967. "type": "integer",
  4968. "description": "现货合同ID",
  4969. "name": "spotcontractid",
  4970. "in": "query"
  4971. }
  4972. ],
  4973. "responses": {
  4974. "200": {
  4975. "description": "OK",
  4976. "schema": {
  4977. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4978. }
  4979. },
  4980. "500": {
  4981. "description": "Internal Server Error",
  4982. "schema": {
  4983. "$ref": "#/definitions/app.Response"
  4984. }
  4985. }
  4986. }
  4987. }
  4988. },
  4989. "/Erms3/AddErms2ASApply": {
  4990. "post": {
  4991. "security": [
  4992. {
  4993. "ApiKeyAuth": []
  4994. }
  4995. ],
  4996. "produces": [
  4997. "application/json"
  4998. ],
  4999. "tags": [
  5000. "风险管理v3"
  5001. ],
  5002. "summary": "新增期现套利业务申请",
  5003. "parameters": [
  5004. {
  5005. "description": "申请参数",
  5006. "name": "jsonBody",
  5007. "in": "body",
  5008. "required": true,
  5009. "schema": {
  5010. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5011. }
  5012. }
  5013. ],
  5014. "responses": {
  5015. "200": {
  5016. "description": "OK",
  5017. "schema": {
  5018. "$ref": "#/definitions/app.Response"
  5019. }
  5020. },
  5021. "500": {
  5022. "description": "Internal Server Error",
  5023. "schema": {
  5024. "$ref": "#/definitions/app.Response"
  5025. }
  5026. }
  5027. }
  5028. }
  5029. },
  5030. "/Erms3/AddErms2SpotTradeApply": {
  5031. "post": {
  5032. "security": [
  5033. {
  5034. "ApiKeyAuth": []
  5035. }
  5036. ],
  5037. "produces": [
  5038. "application/json"
  5039. ],
  5040. "tags": [
  5041. "风险管理v3"
  5042. ],
  5043. "summary": "新增现货贸易业务申请",
  5044. "parameters": [
  5045. {
  5046. "description": "申请参数",
  5047. "name": "jsonBody",
  5048. "in": "body",
  5049. "required": true,
  5050. "schema": {
  5051. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5052. }
  5053. }
  5054. ],
  5055. "responses": {
  5056. "200": {
  5057. "description": "OK",
  5058. "schema": {
  5059. "$ref": "#/definitions/app.Response"
  5060. }
  5061. },
  5062. "500": {
  5063. "description": "Internal Server Error",
  5064. "schema": {
  5065. "$ref": "#/definitions/app.Response"
  5066. }
  5067. }
  5068. }
  5069. }
  5070. },
  5071. "/Erms3/AddSpotContractApply": {
  5072. "post": {
  5073. "security": [
  5074. {
  5075. "ApiKeyAuth": []
  5076. }
  5077. ],
  5078. "produces": [
  5079. "application/json"
  5080. ],
  5081. "tags": [
  5082. "风险管理v3"
  5083. ],
  5084. "summary": "新增现货合同申请",
  5085. "parameters": [
  5086. {
  5087. "description": "申请参数",
  5088. "name": "jsonBody",
  5089. "in": "body",
  5090. "required": true,
  5091. "schema": {
  5092. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5093. }
  5094. }
  5095. ],
  5096. "responses": {
  5097. "200": {
  5098. "description": "OK",
  5099. "schema": {
  5100. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5101. }
  5102. },
  5103. "500": {
  5104. "description": "Internal Server Error",
  5105. "schema": {
  5106. "$ref": "#/definitions/app.Response"
  5107. }
  5108. }
  5109. }
  5110. }
  5111. },
  5112. "/Erms3/AddUserInfoApply": {
  5113. "post": {
  5114. "security": [
  5115. {
  5116. "ApiKeyAuth": []
  5117. }
  5118. ],
  5119. "produces": [
  5120. "application/json"
  5121. ],
  5122. "tags": [
  5123. "风险管理v3"
  5124. ],
  5125. "summary": "新增客户申请",
  5126. "parameters": [
  5127. {
  5128. "description": "用户信息",
  5129. "name": "jsonBody",
  5130. "in": "body",
  5131. "required": true,
  5132. "schema": {
  5133. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5134. }
  5135. }
  5136. ],
  5137. "responses": {
  5138. "200": {
  5139. "description": "OK",
  5140. "schema": {
  5141. "$ref": "#/definitions/app.Response"
  5142. }
  5143. },
  5144. "500": {
  5145. "description": "Internal Server Error",
  5146. "schema": {
  5147. "$ref": "#/definitions/app.Response"
  5148. }
  5149. }
  5150. }
  5151. }
  5152. },
  5153. "/Erms3/DeleteUserInfoApply": {
  5154. "get": {
  5155. "security": [
  5156. {
  5157. "ApiKeyAuth": []
  5158. }
  5159. ],
  5160. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5161. "produces": [
  5162. "application/json"
  5163. ],
  5164. "tags": [
  5165. "风险管理v3"
  5166. ],
  5167. "summary": "删除客户申请",
  5168. "parameters": [
  5169. {
  5170. "type": "integer",
  5171. "description": "用户ID",
  5172. "name": "userID",
  5173. "in": "query",
  5174. "required": true
  5175. }
  5176. ],
  5177. "responses": {
  5178. "200": {
  5179. "description": "OK",
  5180. "schema": {
  5181. "$ref": "#/definitions/app.Response"
  5182. }
  5183. },
  5184. "500": {
  5185. "description": "Internal Server Error",
  5186. "schema": {
  5187. "$ref": "#/definitions/app.Response"
  5188. }
  5189. }
  5190. }
  5191. }
  5192. },
  5193. "/Erms3/ModifyUserInfoApply": {
  5194. "post": {
  5195. "security": [
  5196. {
  5197. "ApiKeyAuth": []
  5198. }
  5199. ],
  5200. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5201. "produces": [
  5202. "application/json"
  5203. ],
  5204. "tags": [
  5205. "风险管理v3"
  5206. ],
  5207. "summary": "修改客户申请",
  5208. "parameters": [
  5209. {
  5210. "description": "用户信息",
  5211. "name": "jsonBody",
  5212. "in": "body",
  5213. "required": true,
  5214. "schema": {
  5215. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5216. }
  5217. }
  5218. ],
  5219. "responses": {
  5220. "200": {
  5221. "description": "OK",
  5222. "schema": {
  5223. "$ref": "#/definitions/app.Response"
  5224. }
  5225. },
  5226. "500": {
  5227. "description": "Internal Server Error",
  5228. "schema": {
  5229. "$ref": "#/definitions/app.Response"
  5230. }
  5231. }
  5232. }
  5233. }
  5234. },
  5235. "/Erms3/QueryBusinessInfo": {
  5236. "get": {
  5237. "security": [
  5238. {
  5239. "ApiKeyAuth": []
  5240. }
  5241. ],
  5242. "produces": [
  5243. "application/json"
  5244. ],
  5245. "tags": [
  5246. "风险管理v3"
  5247. ],
  5248. "summary": "查询业务表单数据",
  5249. "parameters": [
  5250. {
  5251. "type": "string",
  5252. "description": "资金账号ID列表,用逗号分隔",
  5253. "name": "accountids",
  5254. "in": "query",
  5255. "required": true
  5256. },
  5257. {
  5258. "type": "integer",
  5259. "description": "状态,0为未结束 1为已结束",
  5260. "name": "status",
  5261. "in": "query",
  5262. "required": true
  5263. }
  5264. ],
  5265. "responses": {
  5266. "200": {
  5267. "description": "OK",
  5268. "schema": {
  5269. "type": "array",
  5270. "items": {
  5271. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5272. }
  5273. }
  5274. },
  5275. "500": {
  5276. "description": "Internal Server Error",
  5277. "schema": {
  5278. "$ref": "#/definitions/app.Response"
  5279. }
  5280. }
  5281. }
  5282. }
  5283. },
  5284. "/Erms3/QueryPendingAuditContract": {
  5285. "get": {
  5286. "security": [
  5287. {
  5288. "ApiKeyAuth": []
  5289. }
  5290. ],
  5291. "produces": [
  5292. "application/json"
  5293. ],
  5294. "tags": [
  5295. "风险管理v3"
  5296. ],
  5297. "summary": "查询待审核合同",
  5298. "parameters": [
  5299. {
  5300. "type": "string",
  5301. "description": "资金账号ID列表,逗号隔开",
  5302. "name": "accountids",
  5303. "in": "query",
  5304. "required": true
  5305. },
  5306. {
  5307. "type": "integer",
  5308. "description": "合同类型 1-采购 -1-销售",
  5309. "name": "contracttype",
  5310. "in": "query",
  5311. "required": true
  5312. },
  5313. {
  5314. "type": "integer",
  5315. "description": "合同模式 1-普通 2-回购",
  5316. "name": "contractmode",
  5317. "in": "query",
  5318. "required": true
  5319. }
  5320. ],
  5321. "responses": {
  5322. "200": {
  5323. "description": "OK",
  5324. "schema": {
  5325. "type": "array",
  5326. "items": {
  5327. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5328. }
  5329. }
  5330. },
  5331. "500": {
  5332. "description": "Internal Server Error",
  5333. "schema": {
  5334. "$ref": "#/definitions/app.Response"
  5335. }
  5336. }
  5337. }
  5338. }
  5339. },
  5340. "/Erms3/QueryPendingBusiness": {
  5341. "get": {
  5342. "security": [
  5343. {
  5344. "ApiKeyAuth": []
  5345. }
  5346. ],
  5347. "produces": [
  5348. "application/json"
  5349. ],
  5350. "tags": [
  5351. "风险管理v3"
  5352. ],
  5353. "summary": "查询待审核基差贸易业务",
  5354. "parameters": [
  5355. {
  5356. "type": "string",
  5357. "description": "资金账号ID列表,逗号隔开",
  5358. "name": "accountids",
  5359. "in": "query",
  5360. "required": true
  5361. }
  5362. ],
  5363. "responses": {
  5364. "200": {
  5365. "description": "OK",
  5366. "schema": {
  5367. "type": "array",
  5368. "items": {
  5369. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5370. }
  5371. }
  5372. },
  5373. "500": {
  5374. "description": "Internal Server Error",
  5375. "schema": {
  5376. "$ref": "#/definitions/app.Response"
  5377. }
  5378. }
  5379. }
  5380. }
  5381. },
  5382. "/Erms3/QuerySpotContractAppleForm": {
  5383. "get": {
  5384. "security": [
  5385. {
  5386. "ApiKeyAuth": []
  5387. }
  5388. ],
  5389. "produces": [
  5390. "application/json"
  5391. ],
  5392. "tags": [
  5393. "风险管理v3"
  5394. ],
  5395. "summary": "查询合同申请表单数据",
  5396. "parameters": [
  5397. {
  5398. "type": "integer",
  5399. "description": "登录账号",
  5400. "name": "loginID",
  5401. "in": "query",
  5402. "required": true
  5403. }
  5404. ],
  5405. "responses": {
  5406. "200": {
  5407. "description": "OK",
  5408. "schema": {
  5409. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5410. }
  5411. },
  5412. "500": {
  5413. "description": "Internal Server Error",
  5414. "schema": {
  5415. "$ref": "#/definitions/app.Response"
  5416. }
  5417. }
  5418. }
  5419. }
  5420. },
  5421. "/Erms3/QuerySpotContractDetail": {
  5422. "get": {
  5423. "security": [
  5424. {
  5425. "ApiKeyAuth": []
  5426. }
  5427. ],
  5428. "produces": [
  5429. "application/json"
  5430. ],
  5431. "tags": [
  5432. "风险管理v3"
  5433. ],
  5434. "summary": "查询合同详细信息",
  5435. "parameters": [
  5436. {
  5437. "type": "string",
  5438. "description": "资金账号ID列表,用逗号分隔",
  5439. "name": "accountids",
  5440. "in": "query",
  5441. "required": true
  5442. },
  5443. {
  5444. "type": "integer",
  5445. "description": "合同类型,1为采购合同 -1为销售合同",
  5446. "name": "contracttype",
  5447. "in": "query",
  5448. "required": true
  5449. },
  5450. {
  5451. "type": "integer",
  5452. "description": "合同模式,1为普通合同 2为回购销售合同",
  5453. "name": "contractmode",
  5454. "in": "query",
  5455. "required": true
  5456. },
  5457. {
  5458. "type": "integer",
  5459. "description": "状态,0为履约中 1为已完成",
  5460. "name": "status",
  5461. "in": "query",
  5462. "required": true
  5463. }
  5464. ],
  5465. "responses": {
  5466. "200": {
  5467. "description": "OK",
  5468. "schema": {
  5469. "type": "array",
  5470. "items": {
  5471. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5472. }
  5473. }
  5474. },
  5475. "500": {
  5476. "description": "Internal Server Error",
  5477. "schema": {
  5478. "$ref": "#/definitions/app.Response"
  5479. }
  5480. }
  5481. }
  5482. }
  5483. },
  5484. "/Erms3/QueryUserInfoApplies": {
  5485. "get": {
  5486. "security": [
  5487. {
  5488. "ApiKeyAuth": []
  5489. }
  5490. ],
  5491. "produces": [
  5492. "application/json"
  5493. ],
  5494. "tags": [
  5495. "风险管理v3"
  5496. ],
  5497. "summary": "客户申请信息查询",
  5498. "parameters": [
  5499. {
  5500. "type": "integer",
  5501. "description": "页码",
  5502. "name": "page",
  5503. "in": "query"
  5504. },
  5505. {
  5506. "type": "integer",
  5507. "description": "每页条数",
  5508. "name": "pagesize",
  5509. "in": "query"
  5510. },
  5511. {
  5512. "type": "string",
  5513. "description": "客户名称,支持模糊查询",
  5514. "name": "userName",
  5515. "in": "query"
  5516. }
  5517. ],
  5518. "responses": {
  5519. "200": {
  5520. "description": "OK",
  5521. "schema": {
  5522. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5523. }
  5524. },
  5525. "500": {
  5526. "description": "Internal Server Error",
  5527. "schema": {
  5528. "$ref": "#/definitions/app.Response"
  5529. }
  5530. }
  5531. }
  5532. }
  5533. },
  5534. "/Erms3/QueryUserInfos": {
  5535. "get": {
  5536. "security": [
  5537. {
  5538. "ApiKeyAuth": []
  5539. }
  5540. ],
  5541. "produces": [
  5542. "application/json"
  5543. ],
  5544. "tags": [
  5545. "风险管理v3"
  5546. ],
  5547. "summary": "客户信息查询",
  5548. "parameters": [
  5549. {
  5550. "type": "integer",
  5551. "description": "页码",
  5552. "name": "page",
  5553. "in": "query"
  5554. },
  5555. {
  5556. "type": "integer",
  5557. "description": "每页条数",
  5558. "name": "pagesize",
  5559. "in": "query"
  5560. },
  5561. {
  5562. "type": "string",
  5563. "description": "客户名称,支持模糊查询",
  5564. "name": "userName",
  5565. "in": "query"
  5566. }
  5567. ],
  5568. "responses": {
  5569. "200": {
  5570. "description": "OK",
  5571. "schema": {
  5572. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5573. }
  5574. },
  5575. "500": {
  5576. "description": "Internal Server Error",
  5577. "schema": {
  5578. "$ref": "#/definitions/app.Response"
  5579. }
  5580. }
  5581. }
  5582. }
  5583. },
  5584. "/HSBY/GetHsbyMyCount": {
  5585. "get": {
  5586. "security": [
  5587. {
  5588. "ApiKeyAuth": []
  5589. }
  5590. ],
  5591. "description": "说明: 不包括已完成的数量。",
  5592. "produces": [
  5593. "application/json"
  5594. ],
  5595. "tags": [
  5596. "定制【海商报业】"
  5597. ],
  5598. "summary": "获取我的订单与包裹数量",
  5599. "parameters": [
  5600. {
  5601. "type": "string",
  5602. "description": "资金账户列表,格式:1,2,3",
  5603. "name": "accountIDs",
  5604. "in": "query",
  5605. "required": true
  5606. }
  5607. ],
  5608. "responses": {
  5609. "200": {
  5610. "description": "OK",
  5611. "schema": {
  5612. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5613. }
  5614. },
  5615. "500": {
  5616. "description": "Internal Server Error",
  5617. "schema": {
  5618. "$ref": "#/definitions/app.Response"
  5619. }
  5620. }
  5621. }
  5622. }
  5623. },
  5624. "/HSBY/QueryClientFixedADConfigs": {
  5625. "get": {
  5626. "security": [
  5627. {
  5628. "ApiKeyAuth": []
  5629. }
  5630. ],
  5631. "produces": [
  5632. "application/json"
  5633. ],
  5634. "tags": [
  5635. "定制【海商报业】"
  5636. ],
  5637. "summary": "获取终端固定广告配置",
  5638. "responses": {
  5639. "200": {
  5640. "description": "OK",
  5641. "schema": {
  5642. "$ref": "#/definitions/models.Clientfixedadconfig"
  5643. }
  5644. },
  5645. "500": {
  5646. "description": "Internal Server Error",
  5647. "schema": {
  5648. "$ref": "#/definitions/app.Response"
  5649. }
  5650. }
  5651. }
  5652. }
  5653. },
  5654. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5655. "get": {
  5656. "security": [
  5657. {
  5658. "ApiKeyAuth": []
  5659. }
  5660. ],
  5661. "produces": [
  5662. "application/json"
  5663. ],
  5664. "tags": [
  5665. "定制【海商报业】"
  5666. ],
  5667. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5668. "parameters": [
  5669. {
  5670. "type": "integer",
  5671. "description": "页码",
  5672. "name": "page",
  5673. "in": "query"
  5674. },
  5675. {
  5676. "type": "integer",
  5677. "description": "每页条数",
  5678. "name": "pagesize",
  5679. "in": "query"
  5680. },
  5681. {
  5682. "type": "string",
  5683. "description": "资金账户列表,格式:1,2,3",
  5684. "name": "accountIDs",
  5685. "in": "query",
  5686. "required": true
  5687. }
  5688. ],
  5689. "responses": {
  5690. "200": {
  5691. "description": "OK",
  5692. "schema": {
  5693. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5694. }
  5695. },
  5696. "500": {
  5697. "description": "Internal Server Error",
  5698. "schema": {
  5699. "$ref": "#/definitions/app.Response"
  5700. }
  5701. }
  5702. }
  5703. }
  5704. },
  5705. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5706. "get": {
  5707. "security": [
  5708. {
  5709. "ApiKeyAuth": []
  5710. }
  5711. ],
  5712. "description": "说明:查询结果已按委托价格和委托时间排序",
  5713. "produces": [
  5714. "application/json"
  5715. ],
  5716. "tags": [
  5717. "定制【海商报业】"
  5718. ],
  5719. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5720. "parameters": [
  5721. {
  5722. "type": "integer",
  5723. "description": "商品ID",
  5724. "name": "goodsID",
  5725. "in": "query",
  5726. "required": true
  5727. },
  5728. {
  5729. "type": "string",
  5730. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5731. "name": "accountIDs",
  5732. "in": "query"
  5733. },
  5734. {
  5735. "type": "integer",
  5736. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5737. "name": "buyOrSell",
  5738. "in": "query"
  5739. },
  5740. {
  5741. "type": "number",
  5742. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5743. "name": "price",
  5744. "in": "query"
  5745. },
  5746. {
  5747. "type": "integer",
  5748. "description": "档位,不传则默认为3档",
  5749. "name": "speed",
  5750. "in": "query"
  5751. }
  5752. ],
  5753. "responses": {
  5754. "200": {
  5755. "description": "OK",
  5756. "schema": {
  5757. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5758. }
  5759. },
  5760. "500": {
  5761. "description": "Internal Server Error",
  5762. "schema": {
  5763. "$ref": "#/definitions/app.Response"
  5764. }
  5765. }
  5766. }
  5767. }
  5768. },
  5769. "/HSBY/QueryHsbyListingGoodsDetail": {
  5770. "get": {
  5771. "security": [
  5772. {
  5773. "ApiKeyAuth": []
  5774. }
  5775. ],
  5776. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5777. "produces": [
  5778. "application/json"
  5779. ],
  5780. "tags": [
  5781. "定制【海商报业】"
  5782. ],
  5783. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5784. "parameters": [
  5785. {
  5786. "type": "integer",
  5787. "description": "商品ID",
  5788. "name": "goodsID",
  5789. "in": "query",
  5790. "required": true
  5791. },
  5792. {
  5793. "type": "integer",
  5794. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5795. "name": "accountID",
  5796. "in": "query"
  5797. }
  5798. ],
  5799. "responses": {
  5800. "200": {
  5801. "description": "OK",
  5802. "schema": {
  5803. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5804. }
  5805. },
  5806. "500": {
  5807. "description": "Internal Server Error",
  5808. "schema": {
  5809. "$ref": "#/definitions/app.Response"
  5810. }
  5811. }
  5812. }
  5813. }
  5814. },
  5815. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5816. "get": {
  5817. "security": [
  5818. {
  5819. "ApiKeyAuth": []
  5820. }
  5821. ],
  5822. "produces": [
  5823. "application/json"
  5824. ],
  5825. "tags": [
  5826. "定制【海商报业】"
  5827. ],
  5828. "summary": "查询三级市场(商城)商品信息详情",
  5829. "parameters": [
  5830. {
  5831. "type": "integer",
  5832. "description": "委托单号",
  5833. "name": "orderID",
  5834. "in": "query",
  5835. "required": true
  5836. },
  5837. {
  5838. "type": "integer",
  5839. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5840. "name": "accountID",
  5841. "in": "query"
  5842. }
  5843. ],
  5844. "responses": {
  5845. "200": {
  5846. "description": "OK",
  5847. "schema": {
  5848. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5849. }
  5850. },
  5851. "500": {
  5852. "description": "Internal Server Error",
  5853. "schema": {
  5854. "$ref": "#/definitions/app.Response"
  5855. }
  5856. }
  5857. }
  5858. }
  5859. },
  5860. "/HSBY/QueryHsbyMarketGoodses": {
  5861. "get": {
  5862. "security": [
  5863. {
  5864. "ApiKeyAuth": []
  5865. }
  5866. ],
  5867. "produces": [
  5868. "application/json"
  5869. ],
  5870. "tags": [
  5871. "定制【海商报业】"
  5872. ],
  5873. "summary": "查询特卖商品列表(三级商城)",
  5874. "parameters": [
  5875. {
  5876. "type": "integer",
  5877. "description": "页码",
  5878. "name": "page",
  5879. "in": "query"
  5880. },
  5881. {
  5882. "type": "integer",
  5883. "description": "每页条数",
  5884. "name": "pagesize",
  5885. "in": "query"
  5886. },
  5887. {
  5888. "type": "string",
  5889. "description": "市场ID列表,格式:1,2,3",
  5890. "name": "marketIDs",
  5891. "in": "query",
  5892. "required": true
  5893. },
  5894. {
  5895. "type": "integer",
  5896. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5897. "name": "accountID",
  5898. "in": "query",
  5899. "required": true
  5900. },
  5901. {
  5902. "type": "integer",
  5903. "description": "类别ID",
  5904. "name": "categoryID",
  5905. "in": "query"
  5906. },
  5907. {
  5908. "type": "string",
  5909. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5910. "name": "goodsIDs",
  5911. "in": "query"
  5912. },
  5913. {
  5914. "type": "integer",
  5915. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5916. "name": "couponTypeID",
  5917. "in": "query"
  5918. }
  5919. ],
  5920. "responses": {
  5921. "200": {
  5922. "description": "OK",
  5923. "schema": {
  5924. "$ref": "#/definitions/models.HsbyMarketGoods"
  5925. }
  5926. },
  5927. "500": {
  5928. "description": "Internal Server Error",
  5929. "schema": {
  5930. "$ref": "#/definitions/app.Response"
  5931. }
  5932. }
  5933. }
  5934. }
  5935. },
  5936. "/HSBY/QueryHsbyMarkets": {
  5937. "get": {
  5938. "security": [
  5939. {
  5940. "ApiKeyAuth": []
  5941. }
  5942. ],
  5943. "produces": [
  5944. "application/json"
  5945. ],
  5946. "tags": [
  5947. "定制【海商报业】"
  5948. ],
  5949. "summary": "查询海商报业相关市场信息",
  5950. "responses": {
  5951. "200": {
  5952. "description": "OK",
  5953. "schema": {
  5954. "$ref": "#/definitions/models.HsbyMarketInfo"
  5955. }
  5956. },
  5957. "500": {
  5958. "description": "Internal Server Error",
  5959. "schema": {
  5960. "$ref": "#/definitions/app.Response"
  5961. }
  5962. }
  5963. }
  5964. }
  5965. },
  5966. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5967. "get": {
  5968. "security": [
  5969. {
  5970. "ApiKeyAuth": []
  5971. }
  5972. ],
  5973. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5974. "produces": [
  5975. "application/json"
  5976. ],
  5977. "tags": [
  5978. "定制【海商报业】"
  5979. ],
  5980. "summary": "查询“我的订单”信息",
  5981. "parameters": [
  5982. {
  5983. "type": "string",
  5984. "description": "资金账户列表,格式:1,2,3",
  5985. "name": "accountIDs",
  5986. "in": "query",
  5987. "required": true
  5988. }
  5989. ],
  5990. "responses": {
  5991. "200": {
  5992. "description": "OK",
  5993. "schema": {
  5994. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5995. }
  5996. },
  5997. "500": {
  5998. "description": "Internal Server Error",
  5999. "schema": {
  6000. "$ref": "#/definitions/app.Response"
  6001. }
  6002. }
  6003. }
  6004. }
  6005. },
  6006. "/HSBY/QueryHsbyMyGoods": {
  6007. "get": {
  6008. "security": [
  6009. {
  6010. "ApiKeyAuth": []
  6011. }
  6012. ],
  6013. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6014. "produces": [
  6015. "application/json"
  6016. ],
  6017. "tags": [
  6018. "定制【海商报业】"
  6019. ],
  6020. "summary": "查询“我的商品”信息",
  6021. "parameters": [
  6022. {
  6023. "type": "string",
  6024. "description": "资金账户列表,格式:1,2,3",
  6025. "name": "accountIDs",
  6026. "in": "query",
  6027. "required": true
  6028. }
  6029. ],
  6030. "responses": {
  6031. "200": {
  6032. "description": "OK",
  6033. "schema": {
  6034. "$ref": "#/definitions/models.HsbyMyGoods"
  6035. }
  6036. },
  6037. "500": {
  6038. "description": "Internal Server Error",
  6039. "schema": {
  6040. "$ref": "#/definitions/app.Response"
  6041. }
  6042. }
  6043. }
  6044. }
  6045. },
  6046. "/HSBY/QueryHsbyMyPackages": {
  6047. "get": {
  6048. "security": [
  6049. {
  6050. "ApiKeyAuth": []
  6051. }
  6052. ],
  6053. "produces": [
  6054. "application/json"
  6055. ],
  6056. "tags": [
  6057. "定制【海商报业】"
  6058. ],
  6059. "summary": "查询我的包裹信息",
  6060. "parameters": [
  6061. {
  6062. "type": "string",
  6063. "description": "资金账户列表,格式:1,2,3",
  6064. "name": "accountIDs",
  6065. "in": "query",
  6066. "required": true
  6067. },
  6068. {
  6069. "type": "integer",
  6070. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6071. "name": "takeOrderStatus",
  6072. "in": "query"
  6073. }
  6074. ],
  6075. "responses": {
  6076. "200": {
  6077. "description": "OK",
  6078. "schema": {
  6079. "$ref": "#/definitions/models.HsbyMyPackage"
  6080. }
  6081. },
  6082. "500": {
  6083. "description": "Internal Server Error",
  6084. "schema": {
  6085. "$ref": "#/definitions/app.Response"
  6086. }
  6087. }
  6088. }
  6089. }
  6090. },
  6091. "/HSBY/QueryHsbyPreGoodsDetail": {
  6092. "get": {
  6093. "security": [
  6094. {
  6095. "ApiKeyAuth": []
  6096. }
  6097. ],
  6098. "produces": [
  6099. "application/json"
  6100. ],
  6101. "tags": [
  6102. "定制【海商报业】"
  6103. ],
  6104. "summary": "查询一级市场(预售)商品信息详情",
  6105. "parameters": [
  6106. {
  6107. "type": "integer",
  6108. "description": "商品ID",
  6109. "name": "goodsID",
  6110. "in": "query",
  6111. "required": true
  6112. },
  6113. {
  6114. "type": "integer",
  6115. "description": "资金账户,主要用于获取预售商品购买上限",
  6116. "name": "accountID",
  6117. "in": "query"
  6118. }
  6119. ],
  6120. "responses": {
  6121. "200": {
  6122. "description": "OK",
  6123. "schema": {
  6124. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6125. }
  6126. },
  6127. "500": {
  6128. "description": "Internal Server Error",
  6129. "schema": {
  6130. "$ref": "#/definitions/app.Response"
  6131. }
  6132. }
  6133. }
  6134. }
  6135. },
  6136. "/HSBY/QueryHsbyPreGoodses": {
  6137. "get": {
  6138. "security": [
  6139. {
  6140. "ApiKeyAuth": []
  6141. }
  6142. ],
  6143. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6144. "produces": [
  6145. "application/json"
  6146. ],
  6147. "tags": [
  6148. "定制【海商报业】"
  6149. ],
  6150. "summary": "查询新品上市商品列表(一级市场预售)",
  6151. "parameters": [
  6152. {
  6153. "type": "integer",
  6154. "description": "页码",
  6155. "name": "page",
  6156. "in": "query"
  6157. },
  6158. {
  6159. "type": "integer",
  6160. "description": "每页条数",
  6161. "name": "pagesize",
  6162. "in": "query"
  6163. },
  6164. {
  6165. "type": "string",
  6166. "description": "市场ID列表,格式:1,2,3",
  6167. "name": "marketIDs",
  6168. "in": "query",
  6169. "required": true
  6170. },
  6171. {
  6172. "type": "integer",
  6173. "description": "目的地(省)ID",
  6174. "name": "descProvinceID",
  6175. "in": "query"
  6176. },
  6177. {
  6178. "type": "integer",
  6179. "description": "目的地(市)ID",
  6180. "name": "descCityID",
  6181. "in": "query"
  6182. }
  6183. ],
  6184. "responses": {
  6185. "200": {
  6186. "description": "OK",
  6187. "schema": {
  6188. "$ref": "#/definitions/models.HsbyPreGoods"
  6189. }
  6190. },
  6191. "500": {
  6192. "description": "Internal Server Error",
  6193. "schema": {
  6194. "$ref": "#/definitions/app.Response"
  6195. }
  6196. }
  6197. }
  6198. }
  6199. },
  6200. "/HSBY/QueryHsbySellMyDetails": {
  6201. "get": {
  6202. "security": [
  6203. {
  6204. "ApiKeyAuth": []
  6205. }
  6206. ],
  6207. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6208. "produces": [
  6209. "application/json"
  6210. ],
  6211. "tags": [
  6212. "定制【海商报业】"
  6213. ],
  6214. "summary": "查询\"我的闲置\"单据信息",
  6215. "parameters": [
  6216. {
  6217. "type": "integer",
  6218. "description": "页码",
  6219. "name": "page",
  6220. "in": "query"
  6221. },
  6222. {
  6223. "type": "integer",
  6224. "description": "每页条数",
  6225. "name": "pagesize",
  6226. "in": "query"
  6227. },
  6228. {
  6229. "type": "string",
  6230. "description": "资金账户列表,格式:1,2,3",
  6231. "name": "accountIDs",
  6232. "in": "query",
  6233. "required": true
  6234. },
  6235. {
  6236. "type": "integer",
  6237. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6238. "name": "orderType",
  6239. "in": "query"
  6240. }
  6241. ],
  6242. "responses": {
  6243. "200": {
  6244. "description": "OK",
  6245. "schema": {
  6246. "$ref": "#/definitions/models.HsbySellMyDetail"
  6247. }
  6248. },
  6249. "500": {
  6250. "description": "Internal Server Error",
  6251. "schema": {
  6252. "$ref": "#/definitions/app.Response"
  6253. }
  6254. }
  6255. }
  6256. }
  6257. },
  6258. "/HSBY/QueryHsbyTopGoodses": {
  6259. "get": {
  6260. "security": [
  6261. {
  6262. "ApiKeyAuth": []
  6263. }
  6264. ],
  6265. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6266. "produces": [
  6267. "application/json"
  6268. ],
  6269. "tags": [
  6270. "定制【海商报业】"
  6271. ],
  6272. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6273. "parameters": [
  6274. {
  6275. "type": "integer",
  6276. "description": "页码",
  6277. "name": "page",
  6278. "in": "query"
  6279. },
  6280. {
  6281. "type": "integer",
  6282. "description": "每页条数",
  6283. "name": "pagesize",
  6284. "in": "query"
  6285. },
  6286. {
  6287. "type": "string",
  6288. "description": "市场ID列表,格式:1,2,3",
  6289. "name": "marketIDs",
  6290. "in": "query",
  6291. "required": true
  6292. },
  6293. {
  6294. "type": "integer",
  6295. "description": "目的地(省)ID",
  6296. "name": "descProvinceID",
  6297. "in": "query"
  6298. },
  6299. {
  6300. "type": "integer",
  6301. "description": "目的地(市)ID",
  6302. "name": "descCityID",
  6303. "in": "query"
  6304. }
  6305. ],
  6306. "responses": {
  6307. "200": {
  6308. "description": "OK",
  6309. "schema": {
  6310. "$ref": "#/definitions/models.HsbyTopGoods"
  6311. }
  6312. },
  6313. "500": {
  6314. "description": "Internal Server Error",
  6315. "schema": {
  6316. "$ref": "#/definitions/app.Response"
  6317. }
  6318. }
  6319. }
  6320. }
  6321. },
  6322. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6323. "get": {
  6324. "security": [
  6325. {
  6326. "ApiKeyAuth": []
  6327. }
  6328. ],
  6329. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6330. "produces": [
  6331. "application/json"
  6332. ],
  6333. "tags": [
  6334. "定制【海商报业】"
  6335. ],
  6336. "summary": "查询游客三级市场(商城)商品信息详情",
  6337. "parameters": [
  6338. {
  6339. "type": "integer",
  6340. "description": "商品ID",
  6341. "name": "goodsID",
  6342. "in": "query",
  6343. "required": true
  6344. }
  6345. ],
  6346. "responses": {
  6347. "200": {
  6348. "description": "OK",
  6349. "schema": {
  6350. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6351. }
  6352. },
  6353. "500": {
  6354. "description": "Internal Server Error",
  6355. "schema": {
  6356. "$ref": "#/definitions/app.Response"
  6357. }
  6358. }
  6359. }
  6360. }
  6361. },
  6362. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6363. "get": {
  6364. "security": [
  6365. {
  6366. "ApiKeyAuth": []
  6367. }
  6368. ],
  6369. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6370. "produces": [
  6371. "application/json"
  6372. ],
  6373. "tags": [
  6374. "定制【海商报业】"
  6375. ],
  6376. "summary": "查询游客特卖商品列表(三级商城)",
  6377. "parameters": [
  6378. {
  6379. "type": "integer",
  6380. "description": "页码",
  6381. "name": "page",
  6382. "in": "query"
  6383. },
  6384. {
  6385. "type": "integer",
  6386. "description": "每页条数",
  6387. "name": "pagesize",
  6388. "in": "query"
  6389. },
  6390. {
  6391. "type": "string",
  6392. "description": "市场ID列表,格式:1,2,3",
  6393. "name": "marketIDs",
  6394. "in": "query",
  6395. "required": true
  6396. },
  6397. {
  6398. "type": "integer",
  6399. "description": "类别ID",
  6400. "name": "categoryID",
  6401. "in": "query"
  6402. },
  6403. {
  6404. "type": "string",
  6405. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6406. "name": "goodsIDs",
  6407. "in": "query"
  6408. }
  6409. ],
  6410. "responses": {
  6411. "200": {
  6412. "description": "OK",
  6413. "schema": {
  6414. "$ref": "#/definitions/models.HsbyMarketGoods"
  6415. }
  6416. },
  6417. "500": {
  6418. "description": "Internal Server Error",
  6419. "schema": {
  6420. "$ref": "#/definitions/app.Response"
  6421. }
  6422. }
  6423. }
  6424. }
  6425. },
  6426. "/HSBY/QueryMyCollectionOrders": {
  6427. "get": {
  6428. "security": [
  6429. {
  6430. "ApiKeyAuth": []
  6431. }
  6432. ],
  6433. "produces": [
  6434. "application/json"
  6435. ],
  6436. "tags": [
  6437. "定制【海商报业】"
  6438. ],
  6439. "summary": "我的闲置中收款信息查询",
  6440. "parameters": [
  6441. {
  6442. "type": "integer",
  6443. "description": "页码",
  6444. "name": "page",
  6445. "in": "query"
  6446. },
  6447. {
  6448. "type": "integer",
  6449. "description": "每页条数",
  6450. "name": "pagesize",
  6451. "in": "query"
  6452. },
  6453. {
  6454. "type": "string",
  6455. "description": "资金账户,格式:1,2,3",
  6456. "name": "accountIDs",
  6457. "in": "query",
  6458. "required": true
  6459. }
  6460. ],
  6461. "responses": {
  6462. "200": {
  6463. "description": "OK",
  6464. "schema": {
  6465. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6466. }
  6467. },
  6468. "500": {
  6469. "description": "Internal Server Error",
  6470. "schema": {
  6471. "$ref": "#/definitions/app.Response"
  6472. }
  6473. }
  6474. }
  6475. }
  6476. },
  6477. "/HSBY/QueryMyCouponHolds": {
  6478. "get": {
  6479. "security": [
  6480. {
  6481. "ApiKeyAuth": []
  6482. }
  6483. ],
  6484. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6485. "produces": [
  6486. "application/json"
  6487. ],
  6488. "tags": [
  6489. "定制【海商报业】"
  6490. ],
  6491. "summary": "我的优惠卷持仓查询",
  6492. "parameters": [
  6493. {
  6494. "type": "string",
  6495. "description": "资金账户列表,格式:1,2,3",
  6496. "name": "accountIDs",
  6497. "in": "query",
  6498. "required": true
  6499. },
  6500. {
  6501. "type": "string",
  6502. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6503. "name": "holdStatus",
  6504. "in": "query"
  6505. }
  6506. ],
  6507. "responses": {
  6508. "200": {
  6509. "description": "OK",
  6510. "schema": {
  6511. "$ref": "#/definitions/models.MyCouponHold"
  6512. }
  6513. },
  6514. "500": {
  6515. "description": "Internal Server Error",
  6516. "schema": {
  6517. "$ref": "#/definitions/app.Response"
  6518. }
  6519. }
  6520. }
  6521. }
  6522. },
  6523. "/HSBY/QueryMyCoupons": {
  6524. "get": {
  6525. "security": [
  6526. {
  6527. "ApiKeyAuth": []
  6528. }
  6529. ],
  6530. "produces": [
  6531. "application/json"
  6532. ],
  6533. "tags": [
  6534. "定制【海商报业】"
  6535. ],
  6536. "summary": "我的优惠卷查询",
  6537. "parameters": [
  6538. {
  6539. "type": "string",
  6540. "description": "资金账户列表,格式:1,2,3",
  6541. "name": "accountIDs",
  6542. "in": "query",
  6543. "required": true
  6544. },
  6545. {
  6546. "type": "integer",
  6547. "description": "商品ID, 一般与sellUserID配套传入",
  6548. "name": "goodsID",
  6549. "in": "query"
  6550. },
  6551. {
  6552. "type": "integer",
  6553. "description": "卖方UserID",
  6554. "name": "sellUserID",
  6555. "in": "query"
  6556. }
  6557. ],
  6558. "responses": {
  6559. "200": {
  6560. "description": "OK",
  6561. "schema": {
  6562. "$ref": "#/definitions/models.MyCoupon"
  6563. }
  6564. },
  6565. "500": {
  6566. "description": "Internal Server Error",
  6567. "schema": {
  6568. "$ref": "#/definitions/app.Response"
  6569. }
  6570. }
  6571. }
  6572. }
  6573. },
  6574. "/HSBY/QueryMyPayOrders": {
  6575. "get": {
  6576. "security": [
  6577. {
  6578. "ApiKeyAuth": []
  6579. }
  6580. ],
  6581. "produces": [
  6582. "application/json"
  6583. ],
  6584. "tags": [
  6585. "定制【海商报业】"
  6586. ],
  6587. "summary": "获取我的订单中待付款信息",
  6588. "parameters": [
  6589. {
  6590. "type": "integer",
  6591. "description": "页码",
  6592. "name": "page",
  6593. "in": "query"
  6594. },
  6595. {
  6596. "type": "integer",
  6597. "description": "每页条数",
  6598. "name": "pagesize",
  6599. "in": "query"
  6600. },
  6601. {
  6602. "type": "string",
  6603. "description": "资金账户列表,格式:1,2,3",
  6604. "name": "accountIDs",
  6605. "in": "query",
  6606. "required": true
  6607. },
  6608. {
  6609. "type": "integer",
  6610. "description": "买方委托单号",
  6611. "name": "buyOrderID",
  6612. "in": "query"
  6613. },
  6614. {
  6615. "type": "integer",
  6616. "description": "卖方委托单号",
  6617. "name": "sellOrderID",
  6618. "in": "query"
  6619. }
  6620. ],
  6621. "responses": {
  6622. "200": {
  6623. "description": "OK",
  6624. "schema": {
  6625. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6626. }
  6627. },
  6628. "500": {
  6629. "description": "Internal Server Error",
  6630. "schema": {
  6631. "$ref": "#/definitions/app.Response"
  6632. }
  6633. }
  6634. }
  6635. }
  6636. },
  6637. "/HSBY/QueryMyUsedCoupon": {
  6638. "get": {
  6639. "security": [
  6640. {
  6641. "ApiKeyAuth": []
  6642. }
  6643. ],
  6644. "produces": [
  6645. "application/json"
  6646. ],
  6647. "tags": [
  6648. "定制【海商报业】"
  6649. ],
  6650. "summary": "已使用优惠卷查询",
  6651. "parameters": [
  6652. {
  6653. "type": "string",
  6654. "description": "资金账户列表,格式:1,2,3",
  6655. "name": "accountIDs",
  6656. "in": "query",
  6657. "required": true
  6658. }
  6659. ],
  6660. "responses": {
  6661. "200": {
  6662. "description": "OK",
  6663. "schema": {
  6664. "$ref": "#/definitions/models.MyUsedCoupon"
  6665. }
  6666. },
  6667. "500": {
  6668. "description": "Internal Server Error",
  6669. "schema": {
  6670. "$ref": "#/definitions/app.Response"
  6671. }
  6672. }
  6673. }
  6674. }
  6675. },
  6676. "/HSBY/QueryProvincesAndCities": {
  6677. "get": {
  6678. "security": [
  6679. {
  6680. "ApiKeyAuth": []
  6681. }
  6682. ],
  6683. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6684. "produces": [
  6685. "application/json"
  6686. ],
  6687. "tags": [
  6688. "定制【海商报业】"
  6689. ],
  6690. "summary": "查询省市信息(不包括区)",
  6691. "parameters": [
  6692. {
  6693. "type": "integer",
  6694. "description": "省ID",
  6695. "name": "provinceID",
  6696. "in": "query"
  6697. }
  6698. ],
  6699. "responses": {
  6700. "200": {
  6701. "description": "OK",
  6702. "schema": {
  6703. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6704. }
  6705. },
  6706. "500": {
  6707. "description": "Internal Server Error",
  6708. "schema": {
  6709. "$ref": "#/definitions/app.Response"
  6710. }
  6711. }
  6712. }
  6713. }
  6714. },
  6715. "/HSBY/SetHsbyMyPackagesStatus": {
  6716. "post": {
  6717. "security": [
  6718. {
  6719. "ApiKeyAuth": []
  6720. }
  6721. ],
  6722. "produces": [
  6723. "application/json"
  6724. ],
  6725. "tags": [
  6726. "定制【海商报业】"
  6727. ],
  6728. "summary": "设置我的包裹已收货状态",
  6729. "parameters": [
  6730. {
  6731. "type": "string",
  6732. "description": "提货单号",
  6733. "name": "takeOrderID",
  6734. "in": "query",
  6735. "required": true
  6736. },
  6737. {
  6738. "type": "integer",
  6739. "description": "资金账号",
  6740. "name": "accountID",
  6741. "in": "query",
  6742. "required": true
  6743. }
  6744. ],
  6745. "responses": {
  6746. "200": {
  6747. "description": "OK",
  6748. "schema": {
  6749. "$ref": "#/definitions/app.Response"
  6750. }
  6751. },
  6752. "500": {
  6753. "description": "Internal Server Error",
  6754. "schema": {
  6755. "$ref": "#/definitions/app.Response"
  6756. }
  6757. }
  6758. }
  6759. }
  6760. },
  6761. "/Market/GetAllExExchanges": {
  6762. "get": {
  6763. "security": [
  6764. {
  6765. "ApiKeyAuth": []
  6766. }
  6767. ],
  6768. "produces": [
  6769. "application/json"
  6770. ],
  6771. "tags": [
  6772. "通用市场"
  6773. ],
  6774. "summary": "获取所有外部交易所信息",
  6775. "responses": {
  6776. "200": {
  6777. "description": "OK",
  6778. "schema": {
  6779. "$ref": "#/definitions/models.Goods"
  6780. }
  6781. },
  6782. "500": {
  6783. "description": "Internal Server Error",
  6784. "schema": {
  6785. "$ref": "#/definitions/app.Response"
  6786. }
  6787. }
  6788. }
  6789. }
  6790. },
  6791. "/Market/QueryGoodsesByLoginID": {
  6792. "get": {
  6793. "security": [
  6794. {
  6795. "ApiKeyAuth": []
  6796. }
  6797. ],
  6798. "produces": [
  6799. "application/json"
  6800. ],
  6801. "tags": [
  6802. "通用市场"
  6803. ],
  6804. "summary": "获取登录账号有权限的商品信息",
  6805. "parameters": [
  6806. {
  6807. "type": "integer",
  6808. "description": "登录账号",
  6809. "name": "loginID",
  6810. "in": "query",
  6811. "required": true
  6812. },
  6813. {
  6814. "type": "string",
  6815. "description": "市场ID列表,格式:1,2,3",
  6816. "name": "marketIDs",
  6817. "in": "query"
  6818. }
  6819. ],
  6820. "responses": {
  6821. "200": {
  6822. "description": "OK",
  6823. "schema": {
  6824. "$ref": "#/definitions/models.Goods"
  6825. }
  6826. },
  6827. "500": {
  6828. "description": "Internal Server Error",
  6829. "schema": {
  6830. "$ref": "#/definitions/app.Response"
  6831. }
  6832. }
  6833. }
  6834. }
  6835. },
  6836. "/Market/QueryMarketRun": {
  6837. "get": {
  6838. "security": [
  6839. {
  6840. "ApiKeyAuth": []
  6841. }
  6842. ],
  6843. "produces": [
  6844. "application/json"
  6845. ],
  6846. "tags": [
  6847. "通用市场"
  6848. ],
  6849. "summary": "查询市场运行信息",
  6850. "parameters": [
  6851. {
  6852. "type": "integer",
  6853. "description": "市场ID,不传返回所有",
  6854. "name": "marketID",
  6855. "in": "query"
  6856. }
  6857. ],
  6858. "responses": {
  6859. "200": {
  6860. "description": "OK",
  6861. "schema": {
  6862. "$ref": "#/definitions/models.Marketrun"
  6863. }
  6864. },
  6865. "500": {
  6866. "description": "Internal Server Error",
  6867. "schema": {
  6868. "$ref": "#/definitions/app.Response"
  6869. }
  6870. }
  6871. }
  6872. }
  6873. },
  6874. "/Market/QueryMarketsByLoginID": {
  6875. "get": {
  6876. "security": [
  6877. {
  6878. "ApiKeyAuth": []
  6879. }
  6880. ],
  6881. "produces": [
  6882. "application/json"
  6883. ],
  6884. "tags": [
  6885. "通用市场"
  6886. ],
  6887. "summary": "获取登录账号有权限的市场信息",
  6888. "parameters": [
  6889. {
  6890. "type": "integer",
  6891. "description": "登录账号",
  6892. "name": "loginID",
  6893. "in": "query",
  6894. "required": true
  6895. }
  6896. ],
  6897. "responses": {
  6898. "200": {
  6899. "description": "OK",
  6900. "schema": {
  6901. "$ref": "#/definitions/models.Market"
  6902. }
  6903. },
  6904. "500": {
  6905. "description": "Internal Server Error",
  6906. "schema": {
  6907. "$ref": "#/definitions/app.Response"
  6908. }
  6909. }
  6910. }
  6911. }
  6912. },
  6913. "/Order/QueryHisTradeDetail": {
  6914. "get": {
  6915. "security": [
  6916. {
  6917. "ApiKeyAuth": []
  6918. }
  6919. ],
  6920. "produces": [
  6921. "application/json"
  6922. ],
  6923. "tags": [
  6924. "通用单据"
  6925. ],
  6926. "summary": "历史成交单查询(合约市场)",
  6927. "parameters": [
  6928. {
  6929. "type": "string",
  6930. "description": "资金账户 - 格式:1,2,3",
  6931. "name": "accountID",
  6932. "in": "query",
  6933. "required": true
  6934. },
  6935. {
  6936. "type": "integer",
  6937. "description": "成交单号",
  6938. "name": "tradeID",
  6939. "in": "query"
  6940. },
  6941. {
  6942. "type": "integer",
  6943. "description": "委托单号",
  6944. "name": "orderID",
  6945. "in": "query"
  6946. },
  6947. {
  6948. "type": "integer",
  6949. "description": "商品ID",
  6950. "name": "goodsID",
  6951. "in": "query"
  6952. },
  6953. {
  6954. "type": "string",
  6955. "description": "交易模式 - 格式:1,2,3",
  6956. "name": "tradeMode",
  6957. "in": "query"
  6958. },
  6959. {
  6960. "type": "integer",
  6961. "description": "委托单据类型",
  6962. "name": "buildType",
  6963. "in": "query"
  6964. },
  6965. {
  6966. "type": "string",
  6967. "description": "成交类别 - 格式:1,2,3",
  6968. "name": "tradeType",
  6969. "in": "query"
  6970. },
  6971. {
  6972. "type": "string",
  6973. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6974. "name": "startDate",
  6975. "in": "query"
  6976. },
  6977. {
  6978. "type": "string",
  6979. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6980. "name": "endDate",
  6981. "in": "query"
  6982. }
  6983. ],
  6984. "responses": {
  6985. "200": {
  6986. "description": "OK",
  6987. "schema": {
  6988. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6989. }
  6990. },
  6991. "500": {
  6992. "description": "Internal Server Error",
  6993. "schema": {
  6994. "$ref": "#/definitions/app.Response"
  6995. }
  6996. }
  6997. }
  6998. }
  6999. },
  7000. "/Order/QueryHisTradeOrderDetail": {
  7001. "get": {
  7002. "security": [
  7003. {
  7004. "ApiKeyAuth": []
  7005. }
  7006. ],
  7007. "produces": [
  7008. "application/json"
  7009. ],
  7010. "tags": [
  7011. "通用单据"
  7012. ],
  7013. "summary": "历史委托单查询请求(合约市场)",
  7014. "parameters": [
  7015. {
  7016. "type": "string",
  7017. "description": "资金账户 - 格式:1,2,3",
  7018. "name": "accountID",
  7019. "in": "query",
  7020. "required": true
  7021. },
  7022. {
  7023. "type": "string",
  7024. "description": "交易模式 - 格式:1,2,3",
  7025. "name": "tradeMode",
  7026. "in": "query"
  7027. },
  7028. {
  7029. "type": "string",
  7030. "description": "委托状态 - 格式:1,2,3",
  7031. "name": "orderStatus",
  7032. "in": "query"
  7033. },
  7034. {
  7035. "type": "integer",
  7036. "description": "委托单号",
  7037. "name": "orderID",
  7038. "in": "query"
  7039. },
  7040. {
  7041. "type": "string",
  7042. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7043. "name": "startDate",
  7044. "in": "query"
  7045. },
  7046. {
  7047. "type": "string",
  7048. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7049. "name": "endDate",
  7050. "in": "query"
  7051. }
  7052. ],
  7053. "responses": {
  7054. "200": {
  7055. "description": "OK",
  7056. "schema": {
  7057. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7058. }
  7059. },
  7060. "500": {
  7061. "description": "Internal Server Error",
  7062. "schema": {
  7063. "$ref": "#/definitions/app.Response"
  7064. }
  7065. }
  7066. }
  7067. }
  7068. },
  7069. "/Order/QueryTradeDetail": {
  7070. "get": {
  7071. "security": [
  7072. {
  7073. "ApiKeyAuth": []
  7074. }
  7075. ],
  7076. "produces": [
  7077. "application/json"
  7078. ],
  7079. "tags": [
  7080. "通用单据"
  7081. ],
  7082. "summary": "成交单查询(合约市场)",
  7083. "parameters": [
  7084. {
  7085. "type": "string",
  7086. "description": "资金账户 - 格式:1,2,3",
  7087. "name": "accountID",
  7088. "in": "query",
  7089. "required": true
  7090. },
  7091. {
  7092. "type": "integer",
  7093. "description": "成交单号",
  7094. "name": "tradeID",
  7095. "in": "query"
  7096. },
  7097. {
  7098. "type": "integer",
  7099. "description": "委托单号",
  7100. "name": "orderID",
  7101. "in": "query"
  7102. },
  7103. {
  7104. "type": "string",
  7105. "description": "交易模式 - 格式:1,2,3",
  7106. "name": "tradeMode",
  7107. "in": "query"
  7108. },
  7109. {
  7110. "type": "integer",
  7111. "description": "委托单据类型",
  7112. "name": "buildType",
  7113. "in": "query"
  7114. },
  7115. {
  7116. "type": "string",
  7117. "description": "成交类别 - 格式:1,2,3",
  7118. "name": "tradeType",
  7119. "in": "query"
  7120. },
  7121. {
  7122. "type": "integer",
  7123. "description": "商品ID",
  7124. "name": "goodsID",
  7125. "in": "query"
  7126. }
  7127. ],
  7128. "responses": {
  7129. "200": {
  7130. "description": "OK",
  7131. "schema": {
  7132. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7133. }
  7134. },
  7135. "500": {
  7136. "description": "Internal Server Error",
  7137. "schema": {
  7138. "$ref": "#/definitions/app.Response"
  7139. }
  7140. }
  7141. }
  7142. }
  7143. },
  7144. "/Order/QueryTradeOrderDetail": {
  7145. "get": {
  7146. "security": [
  7147. {
  7148. "ApiKeyAuth": []
  7149. }
  7150. ],
  7151. "produces": [
  7152. "application/json"
  7153. ],
  7154. "tags": [
  7155. "通用单据"
  7156. ],
  7157. "summary": "委托单查询请求(合约市场)",
  7158. "parameters": [
  7159. {
  7160. "type": "string",
  7161. "description": "资金账户 - 格式:1,2,3",
  7162. "name": "accountID",
  7163. "in": "query",
  7164. "required": true
  7165. },
  7166. {
  7167. "type": "string",
  7168. "description": "交易模式 - 格式:1,2,3",
  7169. "name": "tradeMode",
  7170. "in": "query"
  7171. },
  7172. {
  7173. "type": "string",
  7174. "description": "委托状态 - 格式:1,2,3",
  7175. "name": "orderStatus",
  7176. "in": "query"
  7177. },
  7178. {
  7179. "type": "integer",
  7180. "description": "委托单号",
  7181. "name": "orderID",
  7182. "in": "query"
  7183. }
  7184. ],
  7185. "responses": {
  7186. "200": {
  7187. "description": "OK",
  7188. "schema": {
  7189. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7190. }
  7191. },
  7192. "500": {
  7193. "description": "Internal Server Error",
  7194. "schema": {
  7195. "$ref": "#/definitions/app.Response"
  7196. }
  7197. }
  7198. }
  7199. }
  7200. },
  7201. "/Order/QueryTradePosition": {
  7202. "get": {
  7203. "security": [
  7204. {
  7205. "ApiKeyAuth": []
  7206. }
  7207. ],
  7208. "produces": [
  7209. "application/json"
  7210. ],
  7211. "tags": [
  7212. "通用单据"
  7213. ],
  7214. "summary": "持仓汇总查询(合约市场)",
  7215. "parameters": [
  7216. {
  7217. "type": "string",
  7218. "description": "资金账户 - 格式:1,2,3",
  7219. "name": "accountID",
  7220. "in": "query",
  7221. "required": true
  7222. },
  7223. {
  7224. "type": "string",
  7225. "description": "交易模式 - 格式:1,2,3",
  7226. "name": "tradeMode",
  7227. "in": "query"
  7228. }
  7229. ],
  7230. "responses": {
  7231. "200": {
  7232. "description": "OK",
  7233. "schema": {
  7234. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7235. }
  7236. },
  7237. "500": {
  7238. "description": "Internal Server Error",
  7239. "schema": {
  7240. "$ref": "#/definitions/app.Response"
  7241. }
  7242. }
  7243. }
  7244. }
  7245. },
  7246. "/Qhj/QueryAccountInOutApply": {
  7247. "get": {
  7248. "security": [
  7249. {
  7250. "ApiKeyAuth": []
  7251. }
  7252. ],
  7253. "produces": [
  7254. "application/json"
  7255. ],
  7256. "tags": [
  7257. "大连千海金"
  7258. ],
  7259. "summary": "查询充值提现",
  7260. "parameters": [
  7261. {
  7262. "type": "integer",
  7263. "description": "用户ID",
  7264. "name": "userid",
  7265. "in": "query",
  7266. "required": true
  7267. },
  7268. {
  7269. "type": "string",
  7270. "description": "申请起始日期(格式yyyymmdd)",
  7271. "name": "begindate",
  7272. "in": "query"
  7273. },
  7274. {
  7275. "type": "string",
  7276. "description": "申请截止日期(格式yyyymmdd)",
  7277. "name": "enddate",
  7278. "in": "query"
  7279. },
  7280. {
  7281. "type": "string",
  7282. "description": "模糊搜索名称",
  7283. "name": "likename",
  7284. "in": "query"
  7285. }
  7286. ],
  7287. "responses": {
  7288. "200": {
  7289. "description": "OK",
  7290. "schema": {
  7291. "type": "array",
  7292. "items": {
  7293. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7294. }
  7295. }
  7296. },
  7297. "500": {
  7298. "description": "Internal Server Error",
  7299. "schema": {
  7300. "$ref": "#/definitions/app.Response"
  7301. }
  7302. }
  7303. }
  7304. }
  7305. },
  7306. "/Qhj/QueryAreaFinanceConfig": {
  7307. "get": {
  7308. "security": [
  7309. {
  7310. "ApiKeyAuth": []
  7311. }
  7312. ],
  7313. "produces": [
  7314. "application/json"
  7315. ],
  7316. "tags": [
  7317. "大连千海金"
  7318. ],
  7319. "summary": "查询企业配置表",
  7320. "parameters": [
  7321. {
  7322. "type": "integer",
  7323. "description": "机构用户ID 其他做市关系,都设置为 1",
  7324. "name": "userid",
  7325. "in": "query"
  7326. }
  7327. ],
  7328. "responses": {
  7329. "200": {
  7330. "description": "OK",
  7331. "schema": {
  7332. "type": "array",
  7333. "items": {
  7334. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7335. }
  7336. }
  7337. },
  7338. "500": {
  7339. "description": "Internal Server Error",
  7340. "schema": {
  7341. "$ref": "#/definitions/app.Response"
  7342. }
  7343. }
  7344. }
  7345. }
  7346. },
  7347. "/Qhj/QueryBankAccountSign": {
  7348. "get": {
  7349. "security": [
  7350. {
  7351. "ApiKeyAuth": []
  7352. }
  7353. ],
  7354. "produces": [
  7355. "application/json"
  7356. ],
  7357. "tags": [
  7358. "大连千海金"
  7359. ],
  7360. "summary": "查询签约银行信息(提现账户管理)",
  7361. "parameters": [
  7362. {
  7363. "type": "integer",
  7364. "description": "用户ID",
  7365. "name": "userid",
  7366. "in": "query",
  7367. "required": true
  7368. }
  7369. ],
  7370. "responses": {
  7371. "200": {
  7372. "description": "OK",
  7373. "schema": {
  7374. "type": "array",
  7375. "items": {
  7376. "$ref": "#/definitions/models.QhjBankAccountSign"
  7377. }
  7378. }
  7379. },
  7380. "500": {
  7381. "description": "Internal Server Error",
  7382. "schema": {
  7383. "$ref": "#/definitions/app.Response"
  7384. }
  7385. }
  7386. }
  7387. }
  7388. },
  7389. "/Qhj/QueryBankInfo": {
  7390. "get": {
  7391. "security": [
  7392. {
  7393. "ApiKeyAuth": []
  7394. }
  7395. ],
  7396. "produces": [
  7397. "application/json"
  7398. ],
  7399. "tags": [
  7400. "大连千海金"
  7401. ],
  7402. "summary": "查询开户行",
  7403. "responses": {
  7404. "200": {
  7405. "description": "OK",
  7406. "schema": {
  7407. "type": "array",
  7408. "items": {
  7409. "$ref": "#/definitions/models.QhjBankInfo"
  7410. }
  7411. }
  7412. },
  7413. "500": {
  7414. "description": "Internal Server Error",
  7415. "schema": {
  7416. "$ref": "#/definitions/app.Response"
  7417. }
  7418. }
  7419. }
  7420. }
  7421. },
  7422. "/Qhj/QueryBrokerApply": {
  7423. "get": {
  7424. "security": [
  7425. {
  7426. "ApiKeyAuth": []
  7427. }
  7428. ],
  7429. "produces": [
  7430. "application/json"
  7431. ],
  7432. "tags": [
  7433. "大连千海金"
  7434. ],
  7435. "summary": "查询经纪人申请",
  7436. "parameters": [
  7437. {
  7438. "type": "integer",
  7439. "description": "所属机构ID",
  7440. "name": "userid",
  7441. "in": "query"
  7442. },
  7443. {
  7444. "type": "string",
  7445. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7446. "name": "filterstatus",
  7447. "in": "query"
  7448. }
  7449. ],
  7450. "responses": {
  7451. "200": {
  7452. "description": "OK",
  7453. "schema": {
  7454. "type": "array",
  7455. "items": {
  7456. "$ref": "#/definitions/models.QhjBrokerApply"
  7457. }
  7458. }
  7459. },
  7460. "500": {
  7461. "description": "Internal Server Error",
  7462. "schema": {
  7463. "$ref": "#/definitions/app.Response"
  7464. }
  7465. }
  7466. }
  7467. }
  7468. },
  7469. "/Qhj/QueryBrokerApplyEx": {
  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": "所属机构ID",
  7487. "name": "userid",
  7488. "in": "query"
  7489. }
  7490. ],
  7491. "responses": {
  7492. "200": {
  7493. "description": "OK",
  7494. "schema": {
  7495. "type": "array",
  7496. "items": {
  7497. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  7498. }
  7499. }
  7500. },
  7501. "500": {
  7502. "description": "Internal Server Error",
  7503. "schema": {
  7504. "$ref": "#/definitions/app.Response"
  7505. }
  7506. }
  7507. }
  7508. }
  7509. },
  7510. "/Qhj/QueryBrokerRewardLog": {
  7511. "get": {
  7512. "security": [
  7513. {
  7514. "ApiKeyAuth": []
  7515. }
  7516. ],
  7517. "produces": [
  7518. "application/json"
  7519. ],
  7520. "tags": [
  7521. "大连千海金"
  7522. ],
  7523. "summary": "查询奖励流水(我的奖励)",
  7524. "parameters": [
  7525. {
  7526. "type": "integer",
  7527. "description": "用户ID",
  7528. "name": "userid",
  7529. "in": "query",
  7530. "required": true
  7531. },
  7532. {
  7533. "type": "string",
  7534. "description": "开始交易日(yyyymmdd)",
  7535. "name": "begindate",
  7536. "in": "query"
  7537. },
  7538. {
  7539. "type": "string",
  7540. "description": "结束交易日(yyyymmdd)",
  7541. "name": "enddate",
  7542. "in": "query"
  7543. }
  7544. ],
  7545. "responses": {
  7546. "200": {
  7547. "description": "OK",
  7548. "schema": {
  7549. "type": "array",
  7550. "items": {
  7551. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  7552. }
  7553. }
  7554. },
  7555. "500": {
  7556. "description": "Internal Server Error",
  7557. "schema": {
  7558. "$ref": "#/definitions/app.Response"
  7559. }
  7560. }
  7561. }
  7562. }
  7563. },
  7564. "/Qhj/QueryContract": {
  7565. "get": {
  7566. "security": [
  7567. {
  7568. "ApiKeyAuth": []
  7569. }
  7570. ],
  7571. "produces": [
  7572. "application/json"
  7573. ],
  7574. "tags": [
  7575. "大连千海金"
  7576. ],
  7577. "summary": "查询融资明细(合同)",
  7578. "parameters": [
  7579. {
  7580. "type": "integer",
  7581. "description": "用户ID",
  7582. "name": "userid",
  7583. "in": "query"
  7584. },
  7585. {
  7586. "type": "integer",
  7587. "description": "scf合同id",
  7588. "name": "scfcontractid",
  7589. "in": "query"
  7590. }
  7591. ],
  7592. "responses": {
  7593. "200": {
  7594. "description": "OK",
  7595. "schema": {
  7596. "type": "array",
  7597. "items": {
  7598. "$ref": "#/definitions/models.QhjContract"
  7599. }
  7600. }
  7601. },
  7602. "500": {
  7603. "description": "Internal Server Error",
  7604. "schema": {
  7605. "$ref": "#/definitions/app.Response"
  7606. }
  7607. }
  7608. }
  7609. }
  7610. },
  7611. "/Qhj/QueryContractLog": {
  7612. "get": {
  7613. "security": [
  7614. {
  7615. "ApiKeyAuth": []
  7616. }
  7617. ],
  7618. "produces": [
  7619. "application/json"
  7620. ],
  7621. "tags": [
  7622. "大连千海金"
  7623. ],
  7624. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7625. "parameters": [
  7626. {
  7627. "type": "integer",
  7628. "description": "scf合同id",
  7629. "name": "scfcontractid",
  7630. "in": "query",
  7631. "required": true
  7632. },
  7633. {
  7634. "type": "string",
  7635. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7636. "name": "amounttype",
  7637. "in": "query"
  7638. }
  7639. ],
  7640. "responses": {
  7641. "200": {
  7642. "description": "OK",
  7643. "schema": {
  7644. "type": "array",
  7645. "items": {
  7646. "$ref": "#/definitions/models.QhjContractLog"
  7647. }
  7648. }
  7649. },
  7650. "500": {
  7651. "description": "Internal Server Error",
  7652. "schema": {
  7653. "$ref": "#/definitions/app.Response"
  7654. }
  7655. }
  7656. }
  7657. }
  7658. },
  7659. "/Qhj/QueryCusBankSignBank": {
  7660. "get": {
  7661. "security": [
  7662. {
  7663. "ApiKeyAuth": []
  7664. }
  7665. ],
  7666. "produces": [
  7667. "application/json"
  7668. ],
  7669. "tags": [
  7670. "大连千海金"
  7671. ],
  7672. "summary": "查询托管银行",
  7673. "responses": {
  7674. "200": {
  7675. "description": "OK",
  7676. "schema": {
  7677. "type": "array",
  7678. "items": {
  7679. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7680. }
  7681. }
  7682. },
  7683. "500": {
  7684. "description": "Internal Server Error",
  7685. "schema": {
  7686. "$ref": "#/definitions/app.Response"
  7687. }
  7688. }
  7689. }
  7690. }
  7691. },
  7692. "/Qhj/QueryCustomerInfo": {
  7693. "get": {
  7694. "security": [
  7695. {
  7696. "ApiKeyAuth": []
  7697. }
  7698. ],
  7699. "produces": [
  7700. "application/json"
  7701. ],
  7702. "tags": [
  7703. "大连千海金"
  7704. ],
  7705. "summary": "查询客户资料",
  7706. "parameters": [
  7707. {
  7708. "type": "integer",
  7709. "description": "用户ID",
  7710. "name": "userid",
  7711. "in": "query",
  7712. "required": true
  7713. },
  7714. {
  7715. "type": "integer",
  7716. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7717. "name": "querytype",
  7718. "in": "query",
  7719. "required": true
  7720. },
  7721. {
  7722. "type": "integer",
  7723. "description": "客户类型 1-个人 2-企业",
  7724. "name": "userinfotype",
  7725. "in": "query"
  7726. },
  7727. {
  7728. "type": "string",
  7729. "description": "客户名称(模糊匹配)",
  7730. "name": "customername",
  7731. "in": "query"
  7732. },
  7733. {
  7734. "type": "string",
  7735. "description": "昵称(模糊匹配)",
  7736. "name": "nickname",
  7737. "in": "query"
  7738. },
  7739. {
  7740. "type": "integer",
  7741. "description": "是否包含子级 1-包含",
  7742. "name": "includesub",
  7743. "in": "query"
  7744. }
  7745. ],
  7746. "responses": {
  7747. "200": {
  7748. "description": "OK",
  7749. "schema": {
  7750. "type": "array",
  7751. "items": {
  7752. "$ref": "#/definitions/models.QhjCustomer"
  7753. }
  7754. }
  7755. },
  7756. "500": {
  7757. "description": "Internal Server Error",
  7758. "schema": {
  7759. "$ref": "#/definitions/app.Response"
  7760. }
  7761. }
  7762. }
  7763. }
  7764. },
  7765. "/Qhj/QueryGoodsEx": {
  7766. "get": {
  7767. "security": [
  7768. {
  7769. "ApiKeyAuth": []
  7770. }
  7771. ],
  7772. "produces": [
  7773. "application/json"
  7774. ],
  7775. "tags": [
  7776. "大连千海金"
  7777. ],
  7778. "summary": "交易商品扩展表",
  7779. "parameters": [
  7780. {
  7781. "type": "integer",
  7782. "description": "商品id",
  7783. "name": "goodsid",
  7784. "in": "query"
  7785. }
  7786. ],
  7787. "responses": {
  7788. "200": {
  7789. "description": "OK",
  7790. "schema": {
  7791. "type": "array",
  7792. "items": {
  7793. "$ref": "#/definitions/models.Qhjgoodsex"
  7794. }
  7795. }
  7796. },
  7797. "500": {
  7798. "description": "Internal Server Error",
  7799. "schema": {
  7800. "$ref": "#/definitions/app.Response"
  7801. }
  7802. }
  7803. }
  7804. }
  7805. },
  7806. "/Qhj/QueryMyTeam": {
  7807. "get": {
  7808. "security": [
  7809. {
  7810. "ApiKeyAuth": []
  7811. }
  7812. ],
  7813. "produces": [
  7814. "application/json"
  7815. ],
  7816. "tags": [
  7817. "大连千海金"
  7818. ],
  7819. "summary": "查询我的团队",
  7820. "parameters": [
  7821. {
  7822. "type": "integer",
  7823. "description": "用户ID",
  7824. "name": "userid",
  7825. "in": "query",
  7826. "required": true
  7827. }
  7828. ],
  7829. "responses": {
  7830. "200": {
  7831. "description": "OK",
  7832. "schema": {
  7833. "type": "array",
  7834. "items": {
  7835. "$ref": "#/definitions/models.QhjMyTeamEx"
  7836. }
  7837. }
  7838. },
  7839. "500": {
  7840. "description": "Internal Server Error",
  7841. "schema": {
  7842. "$ref": "#/definitions/app.Response"
  7843. }
  7844. }
  7845. }
  7846. }
  7847. },
  7848. "/Qhj/QueryMyTeamOrder": {
  7849. "get": {
  7850. "security": [
  7851. {
  7852. "ApiKeyAuth": []
  7853. }
  7854. ],
  7855. "produces": [
  7856. "application/json"
  7857. ],
  7858. "tags": [
  7859. "大连千海金"
  7860. ],
  7861. "summary": "查询团队订单(我的团队/团队订单)",
  7862. "parameters": [
  7863. {
  7864. "type": "integer",
  7865. "description": "页码",
  7866. "name": "page",
  7867. "in": "query"
  7868. },
  7869. {
  7870. "type": "integer",
  7871. "description": "每页条数",
  7872. "name": "pagesize",
  7873. "in": "query"
  7874. },
  7875. {
  7876. "type": "integer",
  7877. "description": "用户ID",
  7878. "name": "userid",
  7879. "in": "query",
  7880. "required": true
  7881. },
  7882. {
  7883. "type": "integer",
  7884. "description": "交易模式",
  7885. "name": "trademode",
  7886. "in": "query"
  7887. },
  7888. {
  7889. "type": "string",
  7890. "description": "名称(模糊搜索账户)",
  7891. "name": "filtername",
  7892. "in": "query"
  7893. }
  7894. ],
  7895. "responses": {
  7896. "200": {
  7897. "description": "OK",
  7898. "schema": {
  7899. "type": "array",
  7900. "items": {
  7901. "$ref": "#/definitions/models.QhjTeamOrder"
  7902. }
  7903. }
  7904. },
  7905. "500": {
  7906. "description": "Internal Server Error",
  7907. "schema": {
  7908. "$ref": "#/definitions/app.Response"
  7909. }
  7910. }
  7911. }
  7912. }
  7913. },
  7914. "/Qhj/QueryParentAreaList": {
  7915. "get": {
  7916. "security": [
  7917. {
  7918. "ApiKeyAuth": []
  7919. }
  7920. ],
  7921. "produces": [
  7922. "application/json"
  7923. ],
  7924. "tags": [
  7925. "大连千海金"
  7926. ],
  7927. "summary": "查询所属机构列表",
  7928. "parameters": [
  7929. {
  7930. "type": "integer",
  7931. "description": "用户ID",
  7932. "name": "userid",
  7933. "in": "query",
  7934. "required": true
  7935. }
  7936. ],
  7937. "responses": {
  7938. "200": {
  7939. "description": "OK",
  7940. "schema": {
  7941. "type": "array",
  7942. "items": {
  7943. "$ref": "#/definitions/models.QhjParentAreaList"
  7944. }
  7945. }
  7946. },
  7947. "500": {
  7948. "description": "Internal Server Error",
  7949. "schema": {
  7950. "$ref": "#/definitions/app.Response"
  7951. }
  7952. }
  7953. }
  7954. }
  7955. },
  7956. "/Qhj/QueryPayOrder": {
  7957. "get": {
  7958. "security": [
  7959. {
  7960. "ApiKeyAuth": []
  7961. }
  7962. ],
  7963. "produces": [
  7964. "application/json"
  7965. ],
  7966. "tags": [
  7967. "大连千海金"
  7968. ],
  7969. "summary": "查询待付款单据",
  7970. "parameters": [
  7971. {
  7972. "type": "integer",
  7973. "description": "资金账号id",
  7974. "name": "accountid",
  7975. "in": "query",
  7976. "required": true
  7977. },
  7978. {
  7979. "type": "integer",
  7980. "description": "成交单号",
  7981. "name": "tradeid",
  7982. "in": "query"
  7983. },
  7984. {
  7985. "type": "string",
  7986. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7987. "name": "payflag",
  7988. "in": "query"
  7989. }
  7990. ],
  7991. "responses": {
  7992. "200": {
  7993. "description": "OK",
  7994. "schema": {
  7995. "type": "array",
  7996. "items": {
  7997. "$ref": "#/definitions/models.QhjPayOrder"
  7998. }
  7999. }
  8000. },
  8001. "500": {
  8002. "description": "Internal Server Error",
  8003. "schema": {
  8004. "$ref": "#/definitions/app.Response"
  8005. }
  8006. }
  8007. }
  8008. }
  8009. },
  8010. "/Qhj/QueryPickArea": {
  8011. "get": {
  8012. "security": [
  8013. {
  8014. "ApiKeyAuth": []
  8015. }
  8016. ],
  8017. "produces": [
  8018. "application/json"
  8019. ],
  8020. "tags": [
  8021. "大连千海金"
  8022. ],
  8023. "summary": "查询提货门店",
  8024. "parameters": [
  8025. {
  8026. "type": "integer",
  8027. "description": "用户ID",
  8028. "name": "userid",
  8029. "in": "query"
  8030. }
  8031. ],
  8032. "responses": {
  8033. "200": {
  8034. "description": "OK",
  8035. "schema": {
  8036. "type": "array",
  8037. "items": {
  8038. "$ref": "#/definitions/models.QhjPickArea"
  8039. }
  8040. }
  8041. },
  8042. "500": {
  8043. "description": "Internal Server Error",
  8044. "schema": {
  8045. "$ref": "#/definitions/app.Response"
  8046. }
  8047. }
  8048. }
  8049. }
  8050. },
  8051. "/Qhj/QueryPickGoods": {
  8052. "get": {
  8053. "security": [
  8054. {
  8055. "ApiKeyAuth": []
  8056. }
  8057. ],
  8058. "produces": [
  8059. "application/json"
  8060. ],
  8061. "tags": [
  8062. "大连千海金"
  8063. ],
  8064. "summary": "查询提货商品",
  8065. "parameters": [
  8066. {
  8067. "type": "integer",
  8068. "description": "交易商品id",
  8069. "name": "goodsid",
  8070. "in": "query",
  8071. "required": true
  8072. },
  8073. {
  8074. "type": "string",
  8075. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8076. "name": "status",
  8077. "in": "query"
  8078. }
  8079. ],
  8080. "responses": {
  8081. "200": {
  8082. "description": "OK",
  8083. "schema": {
  8084. "type": "array",
  8085. "items": {
  8086. "$ref": "#/definitions/models.QhjPickGoods"
  8087. }
  8088. }
  8089. },
  8090. "500": {
  8091. "description": "Internal Server Error",
  8092. "schema": {
  8093. "$ref": "#/definitions/app.Response"
  8094. }
  8095. }
  8096. }
  8097. }
  8098. },
  8099. "/Qhj/QueryRSTriggerLog": {
  8100. "get": {
  8101. "security": [
  8102. {
  8103. "ApiKeyAuth": []
  8104. }
  8105. ],
  8106. "produces": [
  8107. "application/json"
  8108. ],
  8109. "tags": [
  8110. "大连千海金"
  8111. ],
  8112. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8113. "parameters": [
  8114. {
  8115. "type": "integer",
  8116. "description": "用户ID",
  8117. "name": "userid",
  8118. "in": "query"
  8119. },
  8120. {
  8121. "type": "integer",
  8122. "description": "定投策略id",
  8123. "name": "regularlystrategyid",
  8124. "in": "query"
  8125. },
  8126. {
  8127. "type": "integer",
  8128. "description": "商品id",
  8129. "name": "goodsid",
  8130. "in": "query"
  8131. },
  8132. {
  8133. "type": "string",
  8134. "description": "开始交易日(yyyymmdd)",
  8135. "name": "begindate",
  8136. "in": "query"
  8137. },
  8138. {
  8139. "type": "string",
  8140. "description": "结束交易日(yyyymmdd)",
  8141. "name": "enddate",
  8142. "in": "query"
  8143. },
  8144. {
  8145. "type": "string",
  8146. "description": "名称(模糊搜索账户)",
  8147. "name": "filtername",
  8148. "in": "query"
  8149. }
  8150. ],
  8151. "responses": {
  8152. "200": {
  8153. "description": "OK",
  8154. "schema": {
  8155. "type": "array",
  8156. "items": {
  8157. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8158. }
  8159. }
  8160. },
  8161. "500": {
  8162. "description": "Internal Server Error",
  8163. "schema": {
  8164. "$ref": "#/definitions/app.Response"
  8165. }
  8166. }
  8167. }
  8168. }
  8169. },
  8170. "/Qhj/QueryRStrategy": {
  8171. "get": {
  8172. "security": [
  8173. {
  8174. "ApiKeyAuth": []
  8175. }
  8176. ],
  8177. "produces": [
  8178. "application/json"
  8179. ],
  8180. "tags": [
  8181. "大连千海金"
  8182. ],
  8183. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8184. "parameters": [
  8185. {
  8186. "type": "integer",
  8187. "description": "用户ID",
  8188. "name": "userid",
  8189. "in": "query"
  8190. },
  8191. {
  8192. "type": "integer",
  8193. "description": "商品id",
  8194. "name": "goodsid",
  8195. "in": "query"
  8196. },
  8197. {
  8198. "type": "string",
  8199. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8200. "name": "status",
  8201. "in": "query"
  8202. },
  8203. {
  8204. "type": "string",
  8205. "description": "名称(模糊搜索账户)",
  8206. "name": "filtername",
  8207. "in": "query"
  8208. }
  8209. ],
  8210. "responses": {
  8211. "200": {
  8212. "description": "OK",
  8213. "schema": {
  8214. "type": "array",
  8215. "items": {
  8216. "$ref": "#/definitions/models.QhjRStrategy"
  8217. }
  8218. }
  8219. },
  8220. "500": {
  8221. "description": "Internal Server Error",
  8222. "schema": {
  8223. "$ref": "#/definitions/app.Response"
  8224. }
  8225. }
  8226. }
  8227. }
  8228. },
  8229. "/Qhj/QueryReckonPriceLog": {
  8230. "get": {
  8231. "security": [
  8232. {
  8233. "ApiKeyAuth": []
  8234. }
  8235. ],
  8236. "produces": [
  8237. "application/json"
  8238. ],
  8239. "tags": [
  8240. "大连千海金"
  8241. ],
  8242. "summary": "查询定投价(结算价)",
  8243. "parameters": [
  8244. {
  8245. "type": "integer",
  8246. "description": "商品ID",
  8247. "name": "goodsid",
  8248. "in": "query"
  8249. },
  8250. {
  8251. "type": "string",
  8252. "description": "交易日 格式(yyyymmdd)",
  8253. "name": "tradedate",
  8254. "in": "query"
  8255. }
  8256. ],
  8257. "responses": {
  8258. "200": {
  8259. "description": "OK",
  8260. "schema": {
  8261. "type": "array",
  8262. "items": {
  8263. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8264. }
  8265. }
  8266. },
  8267. "500": {
  8268. "description": "Internal Server Error",
  8269. "schema": {
  8270. "$ref": "#/definitions/app.Response"
  8271. }
  8272. }
  8273. }
  8274. }
  8275. },
  8276. "/Qhj/QueryScoreLog": {
  8277. "get": {
  8278. "security": [
  8279. {
  8280. "ApiKeyAuth": []
  8281. }
  8282. ],
  8283. "produces": [
  8284. "application/json"
  8285. ],
  8286. "tags": [
  8287. "大连千海金"
  8288. ],
  8289. "summary": "查询积分流水(我的积分)",
  8290. "parameters": [
  8291. {
  8292. "type": "integer",
  8293. "description": "用户ID",
  8294. "name": "userid",
  8295. "in": "query",
  8296. "required": true
  8297. },
  8298. {
  8299. "type": "string",
  8300. "description": "开始交易日(yyyymmdd)",
  8301. "name": "begindate",
  8302. "in": "query"
  8303. },
  8304. {
  8305. "type": "string",
  8306. "description": "结束交易日(yyyymmdd)",
  8307. "name": "enddate",
  8308. "in": "query"
  8309. },
  8310. {
  8311. "type": "integer",
  8312. "description": "最近多少条",
  8313. "name": "lastnum",
  8314. "in": "query"
  8315. }
  8316. ],
  8317. "responses": {
  8318. "200": {
  8319. "description": "OK",
  8320. "schema": {
  8321. "type": "array",
  8322. "items": {
  8323. "$ref": "#/definitions/models.QhjScoreLog"
  8324. }
  8325. }
  8326. },
  8327. "500": {
  8328. "description": "Internal Server Error",
  8329. "schema": {
  8330. "$ref": "#/definitions/app.Response"
  8331. }
  8332. }
  8333. }
  8334. }
  8335. },
  8336. "/Qhj/QuerySiteColumnDetail": {
  8337. "get": {
  8338. "security": [
  8339. {
  8340. "ApiKeyAuth": []
  8341. }
  8342. ],
  8343. "produces": [
  8344. "application/json"
  8345. ],
  8346. "tags": [
  8347. "大连千海金"
  8348. ],
  8349. "summary": "查询资讯",
  8350. "parameters": [
  8351. {
  8352. "type": "integer",
  8353. "description": "用户ID",
  8354. "name": "userid",
  8355. "in": "query",
  8356. "required": true
  8357. }
  8358. ],
  8359. "responses": {
  8360. "200": {
  8361. "description": "OK",
  8362. "schema": {
  8363. "type": "array",
  8364. "items": {
  8365. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8366. }
  8367. }
  8368. },
  8369. "500": {
  8370. "description": "Internal Server Error",
  8371. "schema": {
  8372. "$ref": "#/definitions/app.Response"
  8373. }
  8374. }
  8375. }
  8376. }
  8377. },
  8378. "/Qhj/QueryTradeGoodsPickup": {
  8379. "get": {
  8380. "security": [
  8381. {
  8382. "ApiKeyAuth": []
  8383. }
  8384. ],
  8385. "produces": [
  8386. "application/json"
  8387. ],
  8388. "tags": [
  8389. "大连千海金"
  8390. ],
  8391. "summary": "查询提货",
  8392. "parameters": [
  8393. {
  8394. "type": "integer",
  8395. "description": "用户ID",
  8396. "name": "userid",
  8397. "in": "query",
  8398. "required": true
  8399. },
  8400. {
  8401. "type": "integer",
  8402. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8403. "name": "takeorderstatus",
  8404. "in": "query"
  8405. }
  8406. ],
  8407. "responses": {
  8408. "200": {
  8409. "description": "OK",
  8410. "schema": {
  8411. "type": "array",
  8412. "items": {
  8413. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8414. }
  8415. }
  8416. },
  8417. "500": {
  8418. "description": "Internal Server Error",
  8419. "schema": {
  8420. "$ref": "#/definitions/app.Response"
  8421. }
  8422. }
  8423. }
  8424. }
  8425. },
  8426. "/Qhj/QueryUserCollectConfig": {
  8427. "get": {
  8428. "security": [
  8429. {
  8430. "ApiKeyAuth": []
  8431. }
  8432. ],
  8433. "produces": [
  8434. "application/json"
  8435. ],
  8436. "tags": [
  8437. "大连千海金"
  8438. ],
  8439. "summary": "查询提现账户设置",
  8440. "parameters": [
  8441. {
  8442. "type": "integer",
  8443. "description": "用户ID",
  8444. "name": "userid",
  8445. "in": "query",
  8446. "required": true
  8447. }
  8448. ],
  8449. "responses": {
  8450. "200": {
  8451. "description": "OK",
  8452. "schema": {
  8453. "type": "array",
  8454. "items": {
  8455. "$ref": "#/definitions/models.UserCollectConfig"
  8456. }
  8457. }
  8458. },
  8459. "500": {
  8460. "description": "Internal Server Error",
  8461. "schema": {
  8462. "$ref": "#/definitions/app.Response"
  8463. }
  8464. }
  8465. }
  8466. }
  8467. },
  8468. "/Qhj/QueryUserReceiveInfo": {
  8469. "get": {
  8470. "security": [
  8471. {
  8472. "ApiKeyAuth": []
  8473. }
  8474. ],
  8475. "produces": [
  8476. "application/json"
  8477. ],
  8478. "tags": [
  8479. "大连千海金"
  8480. ],
  8481. "summary": "查询收货地址信息",
  8482. "parameters": [
  8483. {
  8484. "type": "integer",
  8485. "description": "用户ID",
  8486. "name": "userid",
  8487. "in": "query",
  8488. "required": true
  8489. }
  8490. ],
  8491. "responses": {
  8492. "200": {
  8493. "description": "OK",
  8494. "schema": {
  8495. "type": "array",
  8496. "items": {
  8497. "$ref": "#/definitions/models.UserReceiveInfo"
  8498. }
  8499. }
  8500. },
  8501. "500": {
  8502. "description": "Internal Server Error",
  8503. "schema": {
  8504. "$ref": "#/definitions/app.Response"
  8505. }
  8506. }
  8507. }
  8508. }
  8509. },
  8510. "/QhjMgr/QueryAccountInOutApply": {
  8511. "get": {
  8512. "security": [
  8513. {
  8514. "ApiKeyAuth": []
  8515. }
  8516. ],
  8517. "produces": [
  8518. "application/json"
  8519. ],
  8520. "tags": [
  8521. "大连千海金(PCWeb)"
  8522. ],
  8523. "summary": "查询充值提现",
  8524. "parameters": [
  8525. {
  8526. "type": "integer",
  8527. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8528. "name": "querytype",
  8529. "in": "query",
  8530. "required": true
  8531. },
  8532. {
  8533. "type": "integer",
  8534. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8535. "name": "applystatus",
  8536. "in": "query"
  8537. },
  8538. {
  8539. "type": "string",
  8540. "description": "申请起始日期(格式yyyymmdd)",
  8541. "name": "begindate",
  8542. "in": "query"
  8543. },
  8544. {
  8545. "type": "string",
  8546. "description": "申请截止日期(格式yyyymmdd)",
  8547. "name": "enddate",
  8548. "in": "query"
  8549. },
  8550. {
  8551. "type": "string",
  8552. "description": "模糊搜索名称",
  8553. "name": "likename",
  8554. "in": "query"
  8555. }
  8556. ],
  8557. "responses": {
  8558. "200": {
  8559. "description": "OK",
  8560. "schema": {
  8561. "type": "array",
  8562. "items": {
  8563. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8564. }
  8565. }
  8566. },
  8567. "500": {
  8568. "description": "Internal Server Error",
  8569. "schema": {
  8570. "$ref": "#/definitions/app.Response"
  8571. }
  8572. }
  8573. }
  8574. }
  8575. },
  8576. "/QhjMgr/QueryBrokerApply": {
  8577. "get": {
  8578. "security": [
  8579. {
  8580. "ApiKeyAuth": []
  8581. }
  8582. ],
  8583. "produces": [
  8584. "application/json"
  8585. ],
  8586. "tags": [
  8587. "大连千海金(PCWeb)"
  8588. ],
  8589. "summary": "查询经纪人申请",
  8590. "parameters": [
  8591. {
  8592. "type": "integer",
  8593. "description": "所属机构ID",
  8594. "name": "userid",
  8595. "in": "query"
  8596. },
  8597. {
  8598. "type": "string",
  8599. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8600. "name": "filterstatus",
  8601. "in": "query"
  8602. },
  8603. {
  8604. "type": "string",
  8605. "description": "名称(模糊匹配)",
  8606. "name": "filtername",
  8607. "in": "query"
  8608. },
  8609. {
  8610. "type": "integer",
  8611. "description": "是否包含子级 1-包含",
  8612. "name": "includesub",
  8613. "in": "query"
  8614. }
  8615. ],
  8616. "responses": {
  8617. "200": {
  8618. "description": "OK",
  8619. "schema": {
  8620. "type": "array",
  8621. "items": {
  8622. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8623. }
  8624. }
  8625. },
  8626. "500": {
  8627. "description": "Internal Server Error",
  8628. "schema": {
  8629. "$ref": "#/definitions/app.Response"
  8630. }
  8631. }
  8632. }
  8633. }
  8634. },
  8635. "/QhjMgr/QueryBrokerRewardReport": {
  8636. "get": {
  8637. "security": [
  8638. {
  8639. "ApiKeyAuth": []
  8640. }
  8641. ],
  8642. "produces": [
  8643. "application/json"
  8644. ],
  8645. "tags": [
  8646. "大连千海金(PCWeb)"
  8647. ],
  8648. "summary": "查询经纪人奖励报表(废弃)",
  8649. "parameters": [
  8650. {
  8651. "type": "integer",
  8652. "description": "所属机构ID",
  8653. "name": "userid",
  8654. "in": "query",
  8655. "required": true
  8656. },
  8657. {
  8658. "type": "integer",
  8659. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8660. "name": "cycletype",
  8661. "in": "query",
  8662. "required": true
  8663. },
  8664. {
  8665. "type": "string",
  8666. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8667. "name": "cycletime",
  8668. "in": "query",
  8669. "required": true
  8670. },
  8671. {
  8672. "type": "string",
  8673. "description": "名称(模糊匹配)",
  8674. "name": "filtername",
  8675. "in": "query"
  8676. },
  8677. {
  8678. "type": "integer",
  8679. "description": "是否包含子级 1-包含",
  8680. "name": "includesub",
  8681. "in": "query"
  8682. }
  8683. ],
  8684. "responses": {
  8685. "200": {
  8686. "description": "OK",
  8687. "schema": {
  8688. "type": "array",
  8689. "items": {
  8690. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8691. }
  8692. }
  8693. },
  8694. "500": {
  8695. "description": "Internal Server Error",
  8696. "schema": {
  8697. "$ref": "#/definitions/app.Response"
  8698. }
  8699. }
  8700. }
  8701. }
  8702. },
  8703. "/QhjMgr/QueryContract": {
  8704. "get": {
  8705. "security": [
  8706. {
  8707. "ApiKeyAuth": []
  8708. }
  8709. ],
  8710. "produces": [
  8711. "application/json"
  8712. ],
  8713. "tags": [
  8714. "大连千海金(PCWeb)"
  8715. ],
  8716. "summary": "查询融资信息(合同)",
  8717. "parameters": [
  8718. {
  8719. "type": "integer",
  8720. "description": "用户ID",
  8721. "name": "userid",
  8722. "in": "query"
  8723. },
  8724. {
  8725. "type": "integer",
  8726. "description": "商品id",
  8727. "name": "goodsid",
  8728. "in": "query"
  8729. },
  8730. {
  8731. "type": "string",
  8732. "description": "名称(模糊搜索账户)",
  8733. "name": "filtername",
  8734. "in": "query"
  8735. },
  8736. {
  8737. "type": "string",
  8738. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8739. "name": "risklevel",
  8740. "in": "query"
  8741. },
  8742. {
  8743. "type": "string",
  8744. "description": "开始交易日(yyyymmdd)",
  8745. "name": "begindate",
  8746. "in": "query"
  8747. },
  8748. {
  8749. "type": "string",
  8750. "description": "结束交易日(yyyymmdd)",
  8751. "name": "enddate",
  8752. "in": "query"
  8753. }
  8754. ],
  8755. "responses": {
  8756. "200": {
  8757. "description": "OK",
  8758. "schema": {
  8759. "type": "array",
  8760. "items": {
  8761. "$ref": "#/definitions/models.QhjMgrContract"
  8762. }
  8763. }
  8764. },
  8765. "500": {
  8766. "description": "Internal Server Error",
  8767. "schema": {
  8768. "$ref": "#/definitions/app.Response"
  8769. }
  8770. }
  8771. }
  8772. }
  8773. },
  8774. "/QhjMgr/QueryCustomerInfo": {
  8775. "get": {
  8776. "security": [
  8777. {
  8778. "ApiKeyAuth": []
  8779. }
  8780. ],
  8781. "produces": [
  8782. "application/json"
  8783. ],
  8784. "tags": [
  8785. "大连千海金(PCWeb)"
  8786. ],
  8787. "summary": "查询客户资料",
  8788. "parameters": [
  8789. {
  8790. "type": "integer",
  8791. "description": "用户ID",
  8792. "name": "userid",
  8793. "in": "query",
  8794. "required": true
  8795. },
  8796. {
  8797. "type": "integer",
  8798. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8799. "name": "querytype",
  8800. "in": "query",
  8801. "required": true
  8802. },
  8803. {
  8804. "type": "integer",
  8805. "description": "客户类型 1-个人 2-企业",
  8806. "name": "userinfotype",
  8807. "in": "query"
  8808. },
  8809. {
  8810. "type": "string",
  8811. "description": "客户名称(模糊匹配)",
  8812. "name": "customername",
  8813. "in": "query"
  8814. },
  8815. {
  8816. "type": "string",
  8817. "description": "昵称(模糊匹配)",
  8818. "name": "nickname",
  8819. "in": "query"
  8820. },
  8821. {
  8822. "type": "string",
  8823. "description": "所属客户经理(模糊匹配)",
  8824. "name": "brokername",
  8825. "in": "query"
  8826. },
  8827. {
  8828. "type": "string",
  8829. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  8830. "name": "birthday",
  8831. "in": "query"
  8832. },
  8833. {
  8834. "type": "integer",
  8835. "description": "是否包含子级 1-包含",
  8836. "name": "includesub",
  8837. "in": "query"
  8838. }
  8839. ],
  8840. "responses": {
  8841. "200": {
  8842. "description": "OK",
  8843. "schema": {
  8844. "type": "array",
  8845. "items": {
  8846. "$ref": "#/definitions/models.QhjMgrCustomer"
  8847. }
  8848. }
  8849. },
  8850. "500": {
  8851. "description": "Internal Server Error",
  8852. "schema": {
  8853. "$ref": "#/definitions/app.Response"
  8854. }
  8855. }
  8856. }
  8857. }
  8858. },
  8859. "/QhjMgr/QueryPickGoods": {
  8860. "get": {
  8861. "security": [
  8862. {
  8863. "ApiKeyAuth": []
  8864. }
  8865. ],
  8866. "produces": [
  8867. "application/json"
  8868. ],
  8869. "tags": [
  8870. "大连千海金(PCWeb)"
  8871. ],
  8872. "summary": "查询提货商品",
  8873. "parameters": [
  8874. {
  8875. "type": "string",
  8876. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8877. "name": "status",
  8878. "in": "query"
  8879. }
  8880. ],
  8881. "responses": {
  8882. "200": {
  8883. "description": "OK",
  8884. "schema": {
  8885. "type": "array",
  8886. "items": {
  8887. "$ref": "#/definitions/models.QhjMgrPickGoods"
  8888. }
  8889. }
  8890. },
  8891. "500": {
  8892. "description": "Internal Server Error",
  8893. "schema": {
  8894. "$ref": "#/definitions/app.Response"
  8895. }
  8896. }
  8897. }
  8898. }
  8899. },
  8900. "/QhjMgr/QuerySubArea": {
  8901. "get": {
  8902. "security": [
  8903. {
  8904. "ApiKeyAuth": []
  8905. }
  8906. ],
  8907. "produces": [
  8908. "application/json"
  8909. ],
  8910. "tags": [
  8911. "大连千海金(PCWeb)"
  8912. ],
  8913. "summary": "查询子机构列表",
  8914. "parameters": [
  8915. {
  8916. "type": "integer",
  8917. "description": "用户ID",
  8918. "name": "userid",
  8919. "in": "query",
  8920. "required": true
  8921. }
  8922. ],
  8923. "responses": {
  8924. "200": {
  8925. "description": "OK",
  8926. "schema": {
  8927. "type": "array",
  8928. "items": {
  8929. "$ref": "#/definitions/models.QhjMgrSubArea"
  8930. }
  8931. }
  8932. },
  8933. "500": {
  8934. "description": "Internal Server Error",
  8935. "schema": {
  8936. "$ref": "#/definitions/app.Response"
  8937. }
  8938. }
  8939. }
  8940. }
  8941. },
  8942. "/QhjMgr/QueryTradeDetail": {
  8943. "get": {
  8944. "security": [
  8945. {
  8946. "ApiKeyAuth": []
  8947. }
  8948. ],
  8949. "produces": [
  8950. "application/json"
  8951. ],
  8952. "tags": [
  8953. "大连千海金(PCWeb)"
  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": "integer",
  8966. "description": "用户类型 1-个人 2-企业",
  8967. "name": "userinfotype",
  8968. "in": "query"
  8969. },
  8970. {
  8971. "type": "integer",
  8972. "description": "交易模式",
  8973. "name": "trademode",
  8974. "in": "query"
  8975. },
  8976. {
  8977. "type": "integer",
  8978. "description": "商品id",
  8979. "name": "goodsid",
  8980. "in": "query"
  8981. },
  8982. {
  8983. "type": "string",
  8984. "description": "名称(模糊搜索账户)",
  8985. "name": "filtername",
  8986. "in": "query"
  8987. },
  8988. {
  8989. "type": "string",
  8990. "description": "开始交易日(yyyymmdd)",
  8991. "name": "begindate",
  8992. "in": "query"
  8993. },
  8994. {
  8995. "type": "string",
  8996. "description": "结束交易日(yyyymmdd)",
  8997. "name": "enddate",
  8998. "in": "query"
  8999. },
  9000. {
  9001. "type": "integer",
  9002. "description": "是否包含子级 1-包含",
  9003. "name": "includesub",
  9004. "in": "query"
  9005. }
  9006. ],
  9007. "responses": {
  9008. "200": {
  9009. "description": "OK",
  9010. "schema": {
  9011. "type": "array",
  9012. "items": {
  9013. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9014. }
  9015. }
  9016. },
  9017. "500": {
  9018. "description": "Internal Server Error",
  9019. "schema": {
  9020. "$ref": "#/definitions/app.Response"
  9021. }
  9022. }
  9023. }
  9024. }
  9025. },
  9026. "/QhjMgr/QueryTradeOrderDetail": {
  9027. "get": {
  9028. "security": [
  9029. {
  9030. "ApiKeyAuth": []
  9031. }
  9032. ],
  9033. "produces": [
  9034. "application/json"
  9035. ],
  9036. "tags": [
  9037. "大连千海金(PCWeb)"
  9038. ],
  9039. "summary": "查询委托明细",
  9040. "parameters": [
  9041. {
  9042. "type": "integer",
  9043. "description": "用户ID",
  9044. "name": "userid",
  9045. "in": "query",
  9046. "required": true
  9047. },
  9048. {
  9049. "type": "integer",
  9050. "description": "用户类型 1-个人 2-企业",
  9051. "name": "userinfotype",
  9052. "in": "query"
  9053. },
  9054. {
  9055. "type": "integer",
  9056. "description": "交易模式",
  9057. "name": "trademode",
  9058. "in": "query"
  9059. },
  9060. {
  9061. "type": "integer",
  9062. "description": "商品id",
  9063. "name": "goodsid",
  9064. "in": "query"
  9065. },
  9066. {
  9067. "type": "string",
  9068. "description": "名称(模糊搜索账户)",
  9069. "name": "filtername",
  9070. "in": "query"
  9071. },
  9072. {
  9073. "type": "string",
  9074. "description": "开始交易日(yyyymmdd)",
  9075. "name": "begindate",
  9076. "in": "query"
  9077. },
  9078. {
  9079. "type": "string",
  9080. "description": "结束交易日(yyyymmdd)",
  9081. "name": "enddate",
  9082. "in": "query"
  9083. },
  9084. {
  9085. "type": "integer",
  9086. "description": "是否包含子级 1-包含",
  9087. "name": "includesub",
  9088. "in": "query"
  9089. }
  9090. ],
  9091. "responses": {
  9092. "200": {
  9093. "description": "OK",
  9094. "schema": {
  9095. "type": "array",
  9096. "items": {
  9097. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9098. }
  9099. }
  9100. },
  9101. "500": {
  9102. "description": "Internal Server Error",
  9103. "schema": {
  9104. "$ref": "#/definitions/app.Response"
  9105. }
  9106. }
  9107. }
  9108. }
  9109. },
  9110. "/QhjMgr/QueryTradePayOrder": {
  9111. "get": {
  9112. "security": [
  9113. {
  9114. "ApiKeyAuth": []
  9115. }
  9116. ],
  9117. "produces": [
  9118. "application/json"
  9119. ],
  9120. "tags": [
  9121. "大连千海金(PCWeb)"
  9122. ],
  9123. "summary": "查询待付款单",
  9124. "parameters": [
  9125. {
  9126. "type": "integer",
  9127. "description": "用户ID",
  9128. "name": "userid",
  9129. "in": "query",
  9130. "required": true
  9131. },
  9132. {
  9133. "type": "string",
  9134. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9135. "name": "payflag",
  9136. "in": "query"
  9137. },
  9138. {
  9139. "type": "integer",
  9140. "description": "用户类型 1-个人 2-企业",
  9141. "name": "userinfotype",
  9142. "in": "query"
  9143. },
  9144. {
  9145. "type": "integer",
  9146. "description": "交易模式",
  9147. "name": "trademode",
  9148. "in": "query"
  9149. },
  9150. {
  9151. "type": "integer",
  9152. "description": "商品id",
  9153. "name": "goodsid",
  9154. "in": "query"
  9155. },
  9156. {
  9157. "type": "string",
  9158. "description": "名称(模糊搜索账户)",
  9159. "name": "filtername",
  9160. "in": "query"
  9161. },
  9162. {
  9163. "type": "string",
  9164. "description": "开始交易日(yyyymmdd)",
  9165. "name": "begindate",
  9166. "in": "query"
  9167. },
  9168. {
  9169. "type": "string",
  9170. "description": "结束交易日(yyyymmdd)",
  9171. "name": "enddate",
  9172. "in": "query"
  9173. },
  9174. {
  9175. "type": "integer",
  9176. "description": "是否包含子级 1-包含",
  9177. "name": "includesub",
  9178. "in": "query"
  9179. }
  9180. ],
  9181. "responses": {
  9182. "200": {
  9183. "description": "OK",
  9184. "schema": {
  9185. "type": "array",
  9186. "items": {
  9187. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9188. }
  9189. }
  9190. },
  9191. "500": {
  9192. "description": "Internal Server Error",
  9193. "schema": {
  9194. "$ref": "#/definitions/app.Response"
  9195. }
  9196. }
  9197. }
  9198. }
  9199. },
  9200. "/QhjMgr/QueryTradePosition": {
  9201. "get": {
  9202. "security": [
  9203. {
  9204. "ApiKeyAuth": []
  9205. }
  9206. ],
  9207. "produces": [
  9208. "application/json"
  9209. ],
  9210. "tags": [
  9211. "大连千海金(PCWeb)"
  9212. ],
  9213. "summary": "查询持仓汇总",
  9214. "parameters": [
  9215. {
  9216. "type": "integer",
  9217. "description": "用户ID",
  9218. "name": "userid",
  9219. "in": "query",
  9220. "required": true
  9221. },
  9222. {
  9223. "type": "integer",
  9224. "description": "用户类型 1-个人 2-企业",
  9225. "name": "userinfotype",
  9226. "in": "query"
  9227. },
  9228. {
  9229. "type": "integer",
  9230. "description": "交易模式",
  9231. "name": "trademode",
  9232. "in": "query"
  9233. },
  9234. {
  9235. "type": "integer",
  9236. "description": "商品id",
  9237. "name": "goodsid",
  9238. "in": "query"
  9239. },
  9240. {
  9241. "type": "string",
  9242. "description": "名称(模糊搜索账户)",
  9243. "name": "filtername",
  9244. "in": "query"
  9245. },
  9246. {
  9247. "type": "integer",
  9248. "description": "是否包含子级 1-包含",
  9249. "name": "includesub",
  9250. "in": "query"
  9251. }
  9252. ],
  9253. "responses": {
  9254. "200": {
  9255. "description": "OK",
  9256. "schema": {
  9257. "type": "array",
  9258. "items": {
  9259. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9260. }
  9261. }
  9262. },
  9263. "500": {
  9264. "description": "Internal Server Error",
  9265. "schema": {
  9266. "$ref": "#/definitions/app.Response"
  9267. }
  9268. }
  9269. }
  9270. }
  9271. },
  9272. "/QhjSys/QueryAgreementChangeLog": {
  9273. "get": {
  9274. "security": [
  9275. {
  9276. "ApiKeyAuth": []
  9277. }
  9278. ],
  9279. "produces": [
  9280. "application/json"
  9281. ],
  9282. "tags": [
  9283. "大连千海金(协议和签约信息)"
  9284. ],
  9285. "summary": "查询协议配置变更流水",
  9286. "parameters": [
  9287. {
  9288. "type": "integer",
  9289. "description": "协议ID",
  9290. "name": "agreementid",
  9291. "in": "query"
  9292. },
  9293. {
  9294. "type": "integer",
  9295. "description": "协议版本号",
  9296. "name": "agreementversion",
  9297. "in": "query"
  9298. },
  9299. {
  9300. "type": "integer",
  9301. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9302. "name": "agreementtype",
  9303. "in": "query"
  9304. },
  9305. {
  9306. "type": "string",
  9307. "description": "协议编号(模糊匹配)",
  9308. "name": "agreementno",
  9309. "in": "query"
  9310. },
  9311. {
  9312. "type": "string",
  9313. "description": "协议名称(模糊匹配)",
  9314. "name": "agreementname",
  9315. "in": "query"
  9316. }
  9317. ],
  9318. "responses": {
  9319. "200": {
  9320. "description": "OK",
  9321. "schema": {
  9322. "type": "array",
  9323. "items": {
  9324. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9325. }
  9326. }
  9327. },
  9328. "500": {
  9329. "description": "Internal Server Error",
  9330. "schema": {
  9331. "$ref": "#/definitions/app.Response"
  9332. }
  9333. }
  9334. }
  9335. }
  9336. },
  9337. "/QhjSys/QueryAgreementConfig": {
  9338. "get": {
  9339. "security": [
  9340. {
  9341. "ApiKeyAuth": []
  9342. }
  9343. ],
  9344. "produces": [
  9345. "application/json"
  9346. ],
  9347. "tags": [
  9348. "大连千海金(协议和签约信息)"
  9349. ],
  9350. "summary": "查询协议配置",
  9351. "parameters": [
  9352. {
  9353. "type": "integer",
  9354. "description": "协议ID",
  9355. "name": "agreementid",
  9356. "in": "query"
  9357. },
  9358. {
  9359. "type": "integer",
  9360. "description": "协议版本号",
  9361. "name": "agreementversion",
  9362. "in": "query"
  9363. },
  9364. {
  9365. "type": "integer",
  9366. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9367. "name": "agreementtype",
  9368. "in": "query"
  9369. },
  9370. {
  9371. "type": "integer",
  9372. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9373. "name": "isvalid",
  9374. "in": "query"
  9375. },
  9376. {
  9377. "type": "string",
  9378. "description": "协议编号(模糊匹配)",
  9379. "name": "agreementno",
  9380. "in": "query"
  9381. },
  9382. {
  9383. "type": "string",
  9384. "description": "协议名称(模糊匹配)",
  9385. "name": "agreementname",
  9386. "in": "query"
  9387. }
  9388. ],
  9389. "responses": {
  9390. "200": {
  9391. "description": "OK",
  9392. "schema": {
  9393. "type": "array",
  9394. "items": {
  9395. "$ref": "#/definitions/models.QhjAgreementConfig"
  9396. }
  9397. }
  9398. },
  9399. "500": {
  9400. "description": "Internal Server Error",
  9401. "schema": {
  9402. "$ref": "#/definitions/app.Response"
  9403. }
  9404. }
  9405. }
  9406. }
  9407. },
  9408. "/QhjSys/QueryCustomerSignStatus": {
  9409. "get": {
  9410. "security": [
  9411. {
  9412. "ApiKeyAuth": []
  9413. }
  9414. ],
  9415. "produces": [
  9416. "application/json"
  9417. ],
  9418. "tags": [
  9419. "大连千海金(协议和签约信息)"
  9420. ],
  9421. "summary": "查询客户协议签约状态",
  9422. "parameters": [
  9423. {
  9424. "type": "integer",
  9425. "description": "客户ID",
  9426. "name": "userid",
  9427. "in": "query"
  9428. },
  9429. {
  9430. "type": "integer",
  9431. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9432. "name": "nodetype",
  9433. "in": "query"
  9434. },
  9435. {
  9436. "type": "integer",
  9437. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9438. "name": "goodsid",
  9439. "in": "query"
  9440. },
  9441. {
  9442. "type": "string",
  9443. "description": "创建交易日(yyyyMMdd)",
  9444. "name": "tradedate",
  9445. "in": "query"
  9446. },
  9447. {
  9448. "type": "string",
  9449. "description": "用户名称(模糊匹配)",
  9450. "name": "username",
  9451. "in": "query"
  9452. }
  9453. ],
  9454. "responses": {
  9455. "200": {
  9456. "description": "OK",
  9457. "schema": {
  9458. "type": "array",
  9459. "items": {
  9460. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9461. }
  9462. }
  9463. },
  9464. "500": {
  9465. "description": "Internal Server Error",
  9466. "schema": {
  9467. "$ref": "#/definitions/app.Response"
  9468. }
  9469. }
  9470. }
  9471. }
  9472. },
  9473. "/QhjSys/QueryNodeAgreementConfig": {
  9474. "get": {
  9475. "security": [
  9476. {
  9477. "ApiKeyAuth": []
  9478. }
  9479. ],
  9480. "produces": [
  9481. "application/json"
  9482. ],
  9483. "tags": [
  9484. "大连千海金(协议和签约信息)"
  9485. ],
  9486. "summary": "查询协议节点配置",
  9487. "parameters": [
  9488. {
  9489. "type": "integer",
  9490. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9491. "name": "configid",
  9492. "in": "query"
  9493. },
  9494. {
  9495. "type": "integer",
  9496. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9497. "name": "nodetype",
  9498. "in": "query"
  9499. },
  9500. {
  9501. "type": "integer",
  9502. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9503. "name": "goodsid",
  9504. "in": "query"
  9505. },
  9506. {
  9507. "type": "integer",
  9508. "description": "协议ID",
  9509. "name": "agreementid",
  9510. "in": "query"
  9511. },
  9512. {
  9513. "type": "integer",
  9514. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9515. "name": "agreementtype",
  9516. "in": "query"
  9517. },
  9518. {
  9519. "type": "integer",
  9520. "description": "协议版本号",
  9521. "name": "agreementversion",
  9522. "in": "query"
  9523. },
  9524. {
  9525. "type": "string",
  9526. "description": "协议编号(模糊匹配)",
  9527. "name": "agreementno",
  9528. "in": "query"
  9529. },
  9530. {
  9531. "type": "string",
  9532. "description": "协议名称(模糊匹配)",
  9533. "name": "agreementname",
  9534. "in": "query"
  9535. }
  9536. ],
  9537. "responses": {
  9538. "200": {
  9539. "description": "OK",
  9540. "schema": {
  9541. "type": "array",
  9542. "items": {
  9543. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9544. }
  9545. }
  9546. },
  9547. "500": {
  9548. "description": "Internal Server Error",
  9549. "schema": {
  9550. "$ref": "#/definitions/app.Response"
  9551. }
  9552. }
  9553. }
  9554. }
  9555. },
  9556. "/QhjSys/QueryQhjCustomerSignLog": {
  9557. "get": {
  9558. "security": [
  9559. {
  9560. "ApiKeyAuth": []
  9561. }
  9562. ],
  9563. "produces": [
  9564. "application/json"
  9565. ],
  9566. "tags": [
  9567. "大连千海金(协议和签约信息)"
  9568. ],
  9569. "summary": "查询客户协议签约流水",
  9570. "parameters": [
  9571. {
  9572. "type": "integer",
  9573. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9574. "name": "logid",
  9575. "in": "query"
  9576. },
  9577. {
  9578. "type": "integer",
  9579. "description": "客户ID",
  9580. "name": "userid",
  9581. "in": "query"
  9582. },
  9583. {
  9584. "type": "integer",
  9585. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9586. "name": "nodetype",
  9587. "in": "query"
  9588. },
  9589. {
  9590. "type": "integer",
  9591. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9592. "name": "goodsid",
  9593. "in": "query"
  9594. },
  9595. {
  9596. "type": "integer",
  9597. "description": "协议ID",
  9598. "name": "agreementid",
  9599. "in": "query"
  9600. },
  9601. {
  9602. "type": "string",
  9603. "description": "用户名称(模糊匹配)",
  9604. "name": "username",
  9605. "in": "query"
  9606. },
  9607. {
  9608. "type": "string",
  9609. "description": "协议编号(模糊匹配)",
  9610. "name": "agreementno",
  9611. "in": "query"
  9612. },
  9613. {
  9614. "type": "string",
  9615. "description": "协议名称(模糊匹配)",
  9616. "name": "agreementname",
  9617. "in": "query"
  9618. }
  9619. ],
  9620. "responses": {
  9621. "200": {
  9622. "description": "OK",
  9623. "schema": {
  9624. "type": "array",
  9625. "items": {
  9626. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9627. }
  9628. }
  9629. },
  9630. "500": {
  9631. "description": "Internal Server Error",
  9632. "schema": {
  9633. "$ref": "#/definitions/app.Response"
  9634. }
  9635. }
  9636. }
  9637. }
  9638. },
  9639. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9640. "get": {
  9641. "security": [
  9642. {
  9643. "ApiKeyAuth": []
  9644. }
  9645. ],
  9646. "produces": [
  9647. "application/json"
  9648. ],
  9649. "tags": [
  9650. "大连千海金(协议和签约信息)"
  9651. ],
  9652. "summary": "查询用户协议节点配置和状态",
  9653. "parameters": [
  9654. {
  9655. "type": "integer",
  9656. "description": "客户ID",
  9657. "name": "userid",
  9658. "in": "query"
  9659. },
  9660. {
  9661. "type": "integer",
  9662. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9663. "name": "configid",
  9664. "in": "query"
  9665. },
  9666. {
  9667. "type": "string",
  9668. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9669. "name": "nodetype",
  9670. "in": "query"
  9671. },
  9672. {
  9673. "type": "integer",
  9674. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9675. "name": "goodsid",
  9676. "in": "query"
  9677. },
  9678. {
  9679. "type": "integer",
  9680. "description": "协议ID",
  9681. "name": "agreementid",
  9682. "in": "query"
  9683. },
  9684. {
  9685. "type": "integer",
  9686. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9687. "name": "agreementtype",
  9688. "in": "query"
  9689. },
  9690. {
  9691. "type": "integer",
  9692. "description": "协议版本号",
  9693. "name": "agreementversion",
  9694. "in": "query"
  9695. },
  9696. {
  9697. "type": "string",
  9698. "description": "协议编号(模糊匹配)",
  9699. "name": "agreementno",
  9700. "in": "query"
  9701. },
  9702. {
  9703. "type": "string",
  9704. "description": "协议名称(模糊匹配)",
  9705. "name": "agreementname",
  9706. "in": "query"
  9707. }
  9708. ],
  9709. "responses": {
  9710. "200": {
  9711. "description": "OK",
  9712. "schema": {
  9713. "type": "array",
  9714. "items": {
  9715. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9716. }
  9717. }
  9718. },
  9719. "500": {
  9720. "description": "Internal Server Error",
  9721. "schema": {
  9722. "$ref": "#/definitions/app.Response"
  9723. }
  9724. }
  9725. }
  9726. }
  9727. },
  9728. "/Quote/QueryHistoryDatas": {
  9729. "get": {
  9730. "security": [
  9731. {
  9732. "ApiKeyAuth": []
  9733. }
  9734. ],
  9735. "produces": [
  9736. "application/json"
  9737. ],
  9738. "tags": [
  9739. "行情服务"
  9740. ],
  9741. "summary": "查询行情历史数据",
  9742. "parameters": [
  9743. {
  9744. "type": "integer",
  9745. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9746. "name": "cycleType",
  9747. "in": "query",
  9748. "required": true
  9749. },
  9750. {
  9751. "type": "string",
  9752. "description": "商品代码",
  9753. "name": "goodsCode",
  9754. "in": "query",
  9755. "required": true
  9756. },
  9757. {
  9758. "type": "string",
  9759. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9760. "name": "startTime",
  9761. "in": "query"
  9762. },
  9763. {
  9764. "type": "string",
  9765. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9766. "name": "endTime",
  9767. "in": "query"
  9768. },
  9769. {
  9770. "type": "integer",
  9771. "description": "条数",
  9772. "name": "count",
  9773. "in": "query"
  9774. },
  9775. {
  9776. "type": "boolean",
  9777. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9778. "name": "isAsc",
  9779. "in": "query"
  9780. }
  9781. ],
  9782. "responses": {
  9783. "200": {
  9784. "description": "OK",
  9785. "schema": {
  9786. "$ref": "#/definitions/quote.HistoryData"
  9787. }
  9788. },
  9789. "500": {
  9790. "description": "Internal Server Error",
  9791. "schema": {
  9792. "$ref": "#/definitions/app.Response"
  9793. }
  9794. }
  9795. }
  9796. }
  9797. },
  9798. "/Quote/QueryHistoryTikDatas": {
  9799. "get": {
  9800. "security": [
  9801. {
  9802. "ApiKeyAuth": []
  9803. }
  9804. ],
  9805. "produces": [
  9806. "application/json"
  9807. ],
  9808. "tags": [
  9809. "行情服务"
  9810. ],
  9811. "summary": "查询行情Tik数据",
  9812. "parameters": [
  9813. {
  9814. "type": "string",
  9815. "description": "商品代码",
  9816. "name": "goodsCode",
  9817. "in": "query",
  9818. "required": true
  9819. },
  9820. {
  9821. "type": "string",
  9822. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9823. "name": "startTime",
  9824. "in": "query"
  9825. },
  9826. {
  9827. "type": "string",
  9828. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9829. "name": "endTime",
  9830. "in": "query"
  9831. },
  9832. {
  9833. "type": "integer",
  9834. "description": "条数",
  9835. "name": "count",
  9836. "in": "query"
  9837. },
  9838. {
  9839. "type": "boolean",
  9840. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9841. "name": "isAsc",
  9842. "in": "query"
  9843. }
  9844. ],
  9845. "responses": {
  9846. "200": {
  9847. "description": "OK",
  9848. "schema": {
  9849. "$ref": "#/definitions/quote.HistoryTikData"
  9850. }
  9851. },
  9852. "500": {
  9853. "description": "Internal Server Error",
  9854. "schema": {
  9855. "$ref": "#/definitions/app.Response"
  9856. }
  9857. }
  9858. }
  9859. }
  9860. },
  9861. "/Quote/QueryQuoteDay": {
  9862. "get": {
  9863. "security": [
  9864. {
  9865. "ApiKeyAuth": []
  9866. }
  9867. ],
  9868. "produces": [
  9869. "application/json"
  9870. ],
  9871. "tags": [
  9872. "行情服务"
  9873. ],
  9874. "summary": "获取商品盘面信息",
  9875. "parameters": [
  9876. {
  9877. "type": "string",
  9878. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9879. "name": "goodsCodes",
  9880. "in": "query",
  9881. "required": true
  9882. }
  9883. ],
  9884. "responses": {
  9885. "200": {
  9886. "description": "OK",
  9887. "schema": {
  9888. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9889. }
  9890. },
  9891. "500": {
  9892. "description": "Internal Server Error",
  9893. "schema": {
  9894. "$ref": "#/definitions/app.Response"
  9895. }
  9896. }
  9897. }
  9898. }
  9899. },
  9900. "/Quote/QueryTSData": {
  9901. "get": {
  9902. "security": [
  9903. {
  9904. "ApiKeyAuth": []
  9905. }
  9906. ],
  9907. "produces": [
  9908. "application/json"
  9909. ],
  9910. "tags": [
  9911. "行情服务"
  9912. ],
  9913. "summary": "分时图数据查询",
  9914. "parameters": [
  9915. {
  9916. "type": "string",
  9917. "description": "商品代码",
  9918. "name": "goodsCode",
  9919. "in": "query",
  9920. "required": true
  9921. }
  9922. ],
  9923. "responses": {
  9924. "200": {
  9925. "description": "OK",
  9926. "schema": {
  9927. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9928. }
  9929. },
  9930. "500": {
  9931. "description": "Internal Server Error",
  9932. "schema": {
  9933. "$ref": "#/definitions/app.Response"
  9934. }
  9935. }
  9936. }
  9937. }
  9938. },
  9939. "/SZDZ/QueryConvertConfig": {
  9940. "get": {
  9941. "security": [
  9942. {
  9943. "ApiKeyAuth": []
  9944. }
  9945. ],
  9946. "produces": [
  9947. "application/json"
  9948. ],
  9949. "tags": [
  9950. "定制【尚志大宗】"
  9951. ],
  9952. "summary": "查询交易系统转换设置",
  9953. "parameters": [
  9954. {
  9955. "type": "integer",
  9956. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9957. "name": "convertType",
  9958. "in": "query"
  9959. },
  9960. {
  9961. "type": "string",
  9962. "description": "外部商品代码[JD\\PD]",
  9963. "name": "outerGoodsCode",
  9964. "in": "query"
  9965. },
  9966. {
  9967. "type": "string",
  9968. "description": "内部商品ID列表[交易],格式:1,2,3",
  9969. "name": "innerGoodsIDs",
  9970. "in": "query"
  9971. }
  9972. ],
  9973. "responses": {
  9974. "200": {
  9975. "description": "OK",
  9976. "schema": {
  9977. "$ref": "#/definitions/models.Szdz3convertconfig"
  9978. }
  9979. },
  9980. "500": {
  9981. "description": "Internal Server Error",
  9982. "schema": {
  9983. "$ref": "#/definitions/app.Response"
  9984. }
  9985. }
  9986. }
  9987. }
  9988. },
  9989. "/SZDZ/QueryConvertLog": {
  9990. "get": {
  9991. "security": [
  9992. {
  9993. "ApiKeyAuth": []
  9994. }
  9995. ],
  9996. "produces": [
  9997. "application/json"
  9998. ],
  9999. "tags": [
  10000. "定制【尚志大宗】"
  10001. ],
  10002. "summary": "交易系统转换流水查询",
  10003. "parameters": [
  10004. {
  10005. "type": "string",
  10006. "description": "资金账户 - 格式:1,2,3",
  10007. "name": "accountID",
  10008. "in": "query",
  10009. "required": true
  10010. },
  10011. {
  10012. "type": "string",
  10013. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10014. "name": "startDate",
  10015. "in": "query"
  10016. },
  10017. {
  10018. "type": "string",
  10019. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10020. "name": "endDate",
  10021. "in": "query"
  10022. }
  10023. ],
  10024. "responses": {
  10025. "200": {
  10026. "description": "OK",
  10027. "schema": {
  10028. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10029. }
  10030. },
  10031. "500": {
  10032. "description": "Internal Server Error",
  10033. "schema": {
  10034. "$ref": "#/definitions/app.Response"
  10035. }
  10036. }
  10037. }
  10038. }
  10039. },
  10040. "/SZDZ/QueryGoodsPickup": {
  10041. "get": {
  10042. "security": [
  10043. {
  10044. "ApiKeyAuth": []
  10045. }
  10046. ],
  10047. "produces": [
  10048. "application/json"
  10049. ],
  10050. "tags": [
  10051. "定制【尚志大宗】"
  10052. ],
  10053. "summary": "商品提货单查询",
  10054. "parameters": [
  10055. {
  10056. "type": "string",
  10057. "description": "资金账户 - 格式:1,2,3",
  10058. "name": "accountID",
  10059. "in": "query",
  10060. "required": true
  10061. },
  10062. {
  10063. "type": "integer",
  10064. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10065. "name": "takeOrderStatus",
  10066. "in": "query"
  10067. }
  10068. ],
  10069. "responses": {
  10070. "200": {
  10071. "description": "OK",
  10072. "schema": {
  10073. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10074. }
  10075. },
  10076. "500": {
  10077. "description": "Internal Server Error",
  10078. "schema": {
  10079. "$ref": "#/definitions/app.Response"
  10080. }
  10081. }
  10082. }
  10083. }
  10084. },
  10085. "/SZDZ/QueryRecieptOrder": {
  10086. "get": {
  10087. "security": [
  10088. {
  10089. "ApiKeyAuth": []
  10090. }
  10091. ],
  10092. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10093. "produces": [
  10094. "application/json"
  10095. ],
  10096. "tags": [
  10097. "定制【尚志大宗】"
  10098. ],
  10099. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10100. "parameters": [
  10101. {
  10102. "type": "integer",
  10103. "description": "页码",
  10104. "name": "page",
  10105. "in": "query"
  10106. },
  10107. {
  10108. "type": "integer",
  10109. "description": "每页条数",
  10110. "name": "pagesize",
  10111. "in": "query"
  10112. },
  10113. {
  10114. "type": "integer",
  10115. "description": "商品ID",
  10116. "name": "goodsID",
  10117. "in": "query",
  10118. "required": true
  10119. },
  10120. {
  10121. "type": "string",
  10122. "description": "所属账户名称",
  10123. "name": "accountName",
  10124. "in": "query"
  10125. },
  10126. {
  10127. "type": "integer",
  10128. "description": "市场ID",
  10129. "name": "marketID",
  10130. "in": "query"
  10131. },
  10132. {
  10133. "type": "integer",
  10134. "description": "方向 - 0:买 1:卖",
  10135. "name": "buyorsell",
  10136. "in": "query",
  10137. "required": true
  10138. }
  10139. ],
  10140. "responses": {
  10141. "200": {
  10142. "description": "OK",
  10143. "schema": {
  10144. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10145. }
  10146. },
  10147. "500": {
  10148. "description": "Internal Server Error",
  10149. "schema": {
  10150. "$ref": "#/definitions/app.Response"
  10151. }
  10152. }
  10153. }
  10154. }
  10155. },
  10156. "/SZDZ/QuerySZDZTradePosition": {
  10157. "get": {
  10158. "security": [
  10159. {
  10160. "ApiKeyAuth": []
  10161. }
  10162. ],
  10163. "produces": [
  10164. "application/json"
  10165. ],
  10166. "tags": [
  10167. "定制【尚志大宗】"
  10168. ],
  10169. "summary": "持仓汇总查询(尚志大宗)",
  10170. "parameters": [
  10171. {
  10172. "type": "integer",
  10173. "description": "资金账户",
  10174. "name": "accountID",
  10175. "in": "query",
  10176. "required": true
  10177. }
  10178. ],
  10179. "responses": {
  10180. "200": {
  10181. "description": "OK",
  10182. "schema": {
  10183. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10184. }
  10185. },
  10186. "500": {
  10187. "description": "Internal Server Error",
  10188. "schema": {
  10189. "$ref": "#/definitions/app.Response"
  10190. }
  10191. }
  10192. }
  10193. }
  10194. },
  10195. "/SZDZ/SearchWhite": {
  10196. "get": {
  10197. "security": [
  10198. {
  10199. "ApiKeyAuth": []
  10200. }
  10201. ],
  10202. "produces": [
  10203. "application/json"
  10204. ],
  10205. "tags": [
  10206. "定制【尚志大宗】"
  10207. ],
  10208. "summary": "搜索白名单",
  10209. "parameters": [
  10210. {
  10211. "type": "integer",
  10212. "description": "用户ID",
  10213. "name": "userID",
  10214. "in": "query",
  10215. "required": true
  10216. }
  10217. ],
  10218. "responses": {
  10219. "200": {
  10220. "description": "OK",
  10221. "schema": {
  10222. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10223. }
  10224. },
  10225. "500": {
  10226. "description": "Internal Server Error",
  10227. "schema": {
  10228. "$ref": "#/definitions/app.Response"
  10229. }
  10230. }
  10231. }
  10232. }
  10233. },
  10234. "/Search/SearchGoodses": {
  10235. "get": {
  10236. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10237. "produces": [
  10238. "application/json"
  10239. ],
  10240. "tags": [
  10241. "检索服务"
  10242. ],
  10243. "summary": "检索商品信息",
  10244. "parameters": [
  10245. {
  10246. "type": "string",
  10247. "description": "检索内容",
  10248. "name": "content",
  10249. "in": "query",
  10250. "required": true
  10251. },
  10252. {
  10253. "type": "string",
  10254. "description": "交易模式,格式:1,2,3",
  10255. "name": "tradeModes",
  10256. "in": "query"
  10257. }
  10258. ],
  10259. "responses": {
  10260. "200": {
  10261. "description": "OK",
  10262. "schema": {
  10263. "$ref": "#/definitions/models.SearchGoods"
  10264. }
  10265. },
  10266. "500": {
  10267. "description": "Internal Server Error",
  10268. "schema": {
  10269. "$ref": "#/definitions/app.Response"
  10270. }
  10271. }
  10272. }
  10273. }
  10274. },
  10275. "/TaAccount/GetTaAccounts": {
  10276. "get": {
  10277. "security": [
  10278. {
  10279. "ApiKeyAuth": []
  10280. }
  10281. ],
  10282. "produces": [
  10283. "application/json"
  10284. ],
  10285. "tags": [
  10286. "资金账户"
  10287. ],
  10288. "summary": "获取资金账户信息",
  10289. "parameters": [
  10290. {
  10291. "type": "integer",
  10292. "description": "登录账户",
  10293. "name": "loginID",
  10294. "in": "query",
  10295. "required": true
  10296. },
  10297. {
  10298. "type": "integer",
  10299. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10300. "name": "taAccountType",
  10301. "in": "query"
  10302. }
  10303. ],
  10304. "responses": {
  10305. "200": {
  10306. "description": "OK",
  10307. "schema": {
  10308. "$ref": "#/definitions/models.Taaccount"
  10309. }
  10310. },
  10311. "500": {
  10312. "description": "Internal Server Error",
  10313. "schema": {
  10314. "$ref": "#/definitions/app.Response"
  10315. }
  10316. }
  10317. }
  10318. }
  10319. },
  10320. "/TaAccount/QueryAmountLog": {
  10321. "get": {
  10322. "security": [
  10323. {
  10324. "ApiKeyAuth": []
  10325. }
  10326. ],
  10327. "produces": [
  10328. "application/json"
  10329. ],
  10330. "tags": [
  10331. "资金账户"
  10332. ],
  10333. "summary": "资金流水查询(当前)",
  10334. "parameters": [
  10335. {
  10336. "type": "integer",
  10337. "description": "页码",
  10338. "name": "page",
  10339. "in": "query"
  10340. },
  10341. {
  10342. "type": "integer",
  10343. "description": "每页条数",
  10344. "name": "pagesize",
  10345. "in": "query"
  10346. },
  10347. {
  10348. "type": "string",
  10349. "description": "资金账户 - 格式:1,2,3",
  10350. "name": "accountID",
  10351. "in": "query",
  10352. "required": true
  10353. },
  10354. {
  10355. "type": "string",
  10356. "description": "资金操作类型 - 格式:1,2,3",
  10357. "name": "OperateType",
  10358. "in": "query"
  10359. }
  10360. ],
  10361. "responses": {
  10362. "200": {
  10363. "description": "OK",
  10364. "schema": {
  10365. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10366. }
  10367. },
  10368. "500": {
  10369. "description": "Internal Server Error",
  10370. "schema": {
  10371. "$ref": "#/definitions/app.Response"
  10372. }
  10373. }
  10374. }
  10375. }
  10376. },
  10377. "/TaAccount/QueryHisAmountLog": {
  10378. "get": {
  10379. "security": [
  10380. {
  10381. "ApiKeyAuth": []
  10382. }
  10383. ],
  10384. "produces": [
  10385. "application/json"
  10386. ],
  10387. "tags": [
  10388. "资金账户"
  10389. ],
  10390. "summary": "资金流水查询(历史)",
  10391. "parameters": [
  10392. {
  10393. "type": "integer",
  10394. "description": "页码",
  10395. "name": "page",
  10396. "in": "query"
  10397. },
  10398. {
  10399. "type": "integer",
  10400. "description": "每页条数",
  10401. "name": "pagesize",
  10402. "in": "query"
  10403. },
  10404. {
  10405. "type": "string",
  10406. "description": "资金账户 - 格式:1,2,3",
  10407. "name": "accountID",
  10408. "in": "query",
  10409. "required": true
  10410. },
  10411. {
  10412. "type": "string",
  10413. "description": "资金操作类型 - 格式:1,2,3",
  10414. "name": "OperateType",
  10415. "in": "query"
  10416. },
  10417. {
  10418. "type": "string",
  10419. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10420. "name": "startDate",
  10421. "in": "query"
  10422. },
  10423. {
  10424. "type": "string",
  10425. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10426. "name": "endDate",
  10427. "in": "query"
  10428. }
  10429. ],
  10430. "responses": {
  10431. "200": {
  10432. "description": "OK",
  10433. "schema": {
  10434. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10435. }
  10436. },
  10437. "500": {
  10438. "description": "Internal Server Error",
  10439. "schema": {
  10440. "$ref": "#/definitions/app.Response"
  10441. }
  10442. }
  10443. }
  10444. }
  10445. },
  10446. "/Trade/QueryRecieptOrder": {
  10447. "get": {
  10448. "security": [
  10449. {
  10450. "ApiKeyAuth": []
  10451. }
  10452. ],
  10453. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10454. "produces": [
  10455. "application/json"
  10456. ],
  10457. "tags": [
  10458. "通用交易"
  10459. ],
  10460. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10461. "parameters": [
  10462. {
  10463. "type": "integer",
  10464. "description": "页码",
  10465. "name": "page",
  10466. "in": "query"
  10467. },
  10468. {
  10469. "type": "integer",
  10470. "description": "每页条数",
  10471. "name": "pagesize",
  10472. "in": "query"
  10473. },
  10474. {
  10475. "type": "integer",
  10476. "description": "商品ID",
  10477. "name": "goodsID",
  10478. "in": "query",
  10479. "required": true
  10480. },
  10481. {
  10482. "type": "string",
  10483. "description": "所属账户名称",
  10484. "name": "accountName",
  10485. "in": "query"
  10486. },
  10487. {
  10488. "type": "integer",
  10489. "description": "市场ID",
  10490. "name": "marketID",
  10491. "in": "query"
  10492. },
  10493. {
  10494. "type": "integer",
  10495. "description": "方向 - 0:买 1:卖",
  10496. "name": "buyorsell",
  10497. "in": "query",
  10498. "required": true
  10499. }
  10500. ],
  10501. "responses": {
  10502. "200": {
  10503. "description": "OK",
  10504. "schema": {
  10505. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10506. }
  10507. },
  10508. "500": {
  10509. "description": "Internal Server Error",
  10510. "schema": {
  10511. "$ref": "#/definitions/app.Response"
  10512. }
  10513. }
  10514. }
  10515. }
  10516. },
  10517. "/User/AddMessageBoard": {
  10518. "post": {
  10519. "security": [
  10520. {
  10521. "ApiKeyAuth": []
  10522. }
  10523. ],
  10524. "produces": [
  10525. "application/json"
  10526. ],
  10527. "tags": [
  10528. "用户信息"
  10529. ],
  10530. "summary": "添加用户留言板信息",
  10531. "parameters": [
  10532. {
  10533. "type": "integer",
  10534. "description": "用户ID",
  10535. "name": "userID",
  10536. "in": "query",
  10537. "required": true
  10538. },
  10539. {
  10540. "type": "string",
  10541. "description": "留言信息",
  10542. "name": "message",
  10543. "in": "query",
  10544. "required": true
  10545. },
  10546. {
  10547. "type": "string",
  10548. "description": "联系电话",
  10549. "name": "contactNum",
  10550. "in": "query",
  10551. "required": true
  10552. }
  10553. ],
  10554. "responses": {
  10555. "200": {
  10556. "description": "OK",
  10557. "schema": {
  10558. "$ref": "#/definitions/app.Response"
  10559. }
  10560. },
  10561. "500": {
  10562. "description": "Internal Server Error",
  10563. "schema": {
  10564. "$ref": "#/definitions/app.Response"
  10565. }
  10566. }
  10567. }
  10568. }
  10569. },
  10570. "/User/AddUserFavoriteGoods": {
  10571. "post": {
  10572. "security": [
  10573. {
  10574. "ApiKeyAuth": []
  10575. }
  10576. ],
  10577. "produces": [
  10578. "application/json"
  10579. ],
  10580. "tags": [
  10581. "用户信息"
  10582. ],
  10583. "summary": "添加用户商品收藏信息",
  10584. "parameters": [
  10585. {
  10586. "type": "integer",
  10587. "description": "用户ID",
  10588. "name": "userID",
  10589. "in": "query",
  10590. "required": true
  10591. },
  10592. {
  10593. "type": "integer",
  10594. "description": "商品ID",
  10595. "name": "goodsID",
  10596. "in": "query",
  10597. "required": true
  10598. }
  10599. ],
  10600. "responses": {
  10601. "200": {
  10602. "description": "OK",
  10603. "schema": {
  10604. "$ref": "#/definitions/app.Response"
  10605. }
  10606. },
  10607. "500": {
  10608. "description": "Internal Server Error",
  10609. "schema": {
  10610. "$ref": "#/definitions/app.Response"
  10611. }
  10612. }
  10613. }
  10614. }
  10615. },
  10616. "/User/GetLoginID": {
  10617. "get": {
  10618. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10619. "produces": [
  10620. "application/json"
  10621. ],
  10622. "tags": [
  10623. "用户信息"
  10624. ],
  10625. "summary": "获取登录ID",
  10626. "parameters": [
  10627. {
  10628. "type": "string",
  10629. "description": "登录代码",
  10630. "name": "username",
  10631. "in": "query",
  10632. "required": true
  10633. }
  10634. ],
  10635. "responses": {
  10636. "200": {
  10637. "description": "OK",
  10638. "schema": {
  10639. "$ref": "#/definitions/app.Response"
  10640. }
  10641. },
  10642. "500": {
  10643. "description": "Internal Server Error",
  10644. "schema": {
  10645. "$ref": "#/definitions/app.Response"
  10646. }
  10647. }
  10648. }
  10649. }
  10650. },
  10651. "/User/GetUserAccount": {
  10652. "get": {
  10653. "security": [
  10654. {
  10655. "ApiKeyAuth": []
  10656. }
  10657. ],
  10658. "produces": [
  10659. "application/json"
  10660. ],
  10661. "tags": [
  10662. "用户信息"
  10663. ],
  10664. "summary": "获取用户账号信息",
  10665. "parameters": [
  10666. {
  10667. "type": "integer",
  10668. "description": "用户ID",
  10669. "name": "userID",
  10670. "in": "query",
  10671. "required": true
  10672. }
  10673. ],
  10674. "responses": {
  10675. "200": {
  10676. "description": "OK",
  10677. "schema": {
  10678. "$ref": "#/definitions/models.Useraccount"
  10679. }
  10680. },
  10681. "500": {
  10682. "description": "Internal Server Error",
  10683. "schema": {
  10684. "$ref": "#/definitions/app.Response"
  10685. }
  10686. }
  10687. }
  10688. }
  10689. },
  10690. "/User/GetUserAuthStatus": {
  10691. "get": {
  10692. "security": [
  10693. {
  10694. "ApiKeyAuth": []
  10695. }
  10696. ],
  10697. "produces": [
  10698. "application/json"
  10699. ],
  10700. "tags": [
  10701. "用户信息"
  10702. ],
  10703. "summary": "获取用户实名认证状态",
  10704. "parameters": [
  10705. {
  10706. "type": "integer",
  10707. "description": "用户ID",
  10708. "name": "userID",
  10709. "in": "query",
  10710. "required": true
  10711. }
  10712. ],
  10713. "responses": {
  10714. "200": {
  10715. "description": "OK",
  10716. "schema": {
  10717. "$ref": "#/definitions/app.Response"
  10718. }
  10719. },
  10720. "500": {
  10721. "description": "Internal Server Error",
  10722. "schema": {
  10723. "$ref": "#/definitions/app.Response"
  10724. }
  10725. }
  10726. }
  10727. }
  10728. },
  10729. "/User/LoginQuery": {
  10730. "get": {
  10731. "security": [
  10732. {
  10733. "ApiKeyAuth": []
  10734. }
  10735. ],
  10736. "produces": [
  10737. "application/json"
  10738. ],
  10739. "tags": [
  10740. "用户信息"
  10741. ],
  10742. "summary": "账户登录后信息查询",
  10743. "parameters": [
  10744. {
  10745. "type": "integer",
  10746. "description": "登录账号",
  10747. "name": "loginID",
  10748. "in": "query",
  10749. "required": true
  10750. }
  10751. ],
  10752. "responses": {
  10753. "200": {
  10754. "description": "OK",
  10755. "schema": {
  10756. "$ref": "#/definitions/user.LoginQueryRsp"
  10757. }
  10758. },
  10759. "500": {
  10760. "description": "Internal Server Error",
  10761. "schema": {
  10762. "$ref": "#/definitions/app.Response"
  10763. }
  10764. }
  10765. }
  10766. }
  10767. },
  10768. "/User/QueryMessageBoard": {
  10769. "get": {
  10770. "security": [
  10771. {
  10772. "ApiKeyAuth": []
  10773. }
  10774. ],
  10775. "produces": [
  10776. "application/json"
  10777. ],
  10778. "tags": [
  10779. "用户信息"
  10780. ],
  10781. "summary": "获取用户留言板信息",
  10782. "parameters": [
  10783. {
  10784. "type": "integer",
  10785. "description": "用户ID",
  10786. "name": "userID",
  10787. "in": "query",
  10788. "required": true
  10789. }
  10790. ],
  10791. "responses": {
  10792. "200": {
  10793. "description": "OK",
  10794. "schema": {
  10795. "$ref": "#/definitions/models.Messageboard"
  10796. }
  10797. },
  10798. "500": {
  10799. "description": "Internal Server Error",
  10800. "schema": {
  10801. "$ref": "#/definitions/app.Response"
  10802. }
  10803. }
  10804. }
  10805. }
  10806. },
  10807. "/User/QueryUserFavoriteGoodses": {
  10808. "get": {
  10809. "security": [
  10810. {
  10811. "ApiKeyAuth": []
  10812. }
  10813. ],
  10814. "produces": [
  10815. "application/json"
  10816. ],
  10817. "tags": [
  10818. "用户信息"
  10819. ],
  10820. "summary": "获取用户商品收藏信息",
  10821. "parameters": [
  10822. {
  10823. "type": "integer",
  10824. "description": "用户ID",
  10825. "name": "userID",
  10826. "in": "query",
  10827. "required": true
  10828. }
  10829. ],
  10830. "responses": {
  10831. "200": {
  10832. "description": "OK",
  10833. "schema": {
  10834. "$ref": "#/definitions/models.Userfavoritegoods"
  10835. }
  10836. },
  10837. "500": {
  10838. "description": "Internal Server Error",
  10839. "schema": {
  10840. "$ref": "#/definitions/app.Response"
  10841. }
  10842. }
  10843. }
  10844. }
  10845. },
  10846. "/User/QueryUserInfo": {
  10847. "get": {
  10848. "security": [
  10849. {
  10850. "ApiKeyAuth": []
  10851. }
  10852. ],
  10853. "produces": [
  10854. "application/json"
  10855. ],
  10856. "tags": [
  10857. "用户信息"
  10858. ],
  10859. "summary": "获取用户信息",
  10860. "parameters": [
  10861. {
  10862. "type": "integer",
  10863. "description": "用户ID",
  10864. "name": "userID",
  10865. "in": "query",
  10866. "required": true
  10867. },
  10868. {
  10869. "type": "boolean",
  10870. "description": "是否解密",
  10871. "name": "isDecrypt",
  10872. "in": "query"
  10873. }
  10874. ],
  10875. "responses": {
  10876. "200": {
  10877. "description": "OK",
  10878. "schema": {
  10879. "$ref": "#/definitions/models.Userinfo"
  10880. }
  10881. },
  10882. "500": {
  10883. "description": "Internal Server Error",
  10884. "schema": {
  10885. "$ref": "#/definitions/app.Response"
  10886. }
  10887. }
  10888. }
  10889. }
  10890. },
  10891. "/User/QueryUserReferNum": {
  10892. "get": {
  10893. "produces": [
  10894. "application/json"
  10895. ],
  10896. "tags": [
  10897. "用户信息"
  10898. ],
  10899. "summary": "获取用户邀请码",
  10900. "parameters": [
  10901. {
  10902. "type": "integer",
  10903. "description": "用户ID",
  10904. "name": "userID",
  10905. "in": "query",
  10906. "required": true
  10907. }
  10908. ],
  10909. "responses": {
  10910. "200": {
  10911. "description": "OK",
  10912. "schema": {
  10913. "$ref": "#/definitions/app.Response"
  10914. }
  10915. },
  10916. "500": {
  10917. "description": "Internal Server Error",
  10918. "schema": {
  10919. "$ref": "#/definitions/app.Response"
  10920. }
  10921. }
  10922. }
  10923. }
  10924. },
  10925. "/User/RemoveUserFavoriteGoods": {
  10926. "post": {
  10927. "security": [
  10928. {
  10929. "ApiKeyAuth": []
  10930. }
  10931. ],
  10932. "produces": [
  10933. "application/json"
  10934. ],
  10935. "tags": [
  10936. "用户信息"
  10937. ],
  10938. "summary": "移除用户商品收藏信息",
  10939. "parameters": [
  10940. {
  10941. "type": "integer",
  10942. "description": "用户ID",
  10943. "name": "userID",
  10944. "in": "query",
  10945. "required": true
  10946. },
  10947. {
  10948. "type": "integer",
  10949. "description": "商品ID",
  10950. "name": "goodsID",
  10951. "in": "query",
  10952. "required": true
  10953. }
  10954. ],
  10955. "responses": {
  10956. "200": {
  10957. "description": "OK",
  10958. "schema": {
  10959. "$ref": "#/definitions/app.Response"
  10960. }
  10961. },
  10962. "500": {
  10963. "description": "Internal Server Error",
  10964. "schema": {
  10965. "$ref": "#/definitions/app.Response"
  10966. }
  10967. }
  10968. }
  10969. }
  10970. },
  10971. "/User/UpdateUserAccountStatus": {
  10972. "post": {
  10973. "security": [
  10974. {
  10975. "ApiKeyAuth": []
  10976. }
  10977. ],
  10978. "produces": [
  10979. "application/json"
  10980. ],
  10981. "tags": [
  10982. "用户信息"
  10983. ],
  10984. "summary": "更新用户状态",
  10985. "parameters": [
  10986. {
  10987. "type": "integer",
  10988. "description": "用户ID",
  10989. "name": "userID",
  10990. "in": "query",
  10991. "required": true
  10992. },
  10993. {
  10994. "type": "integer",
  10995. "description": "账户状态 - 4:正常 6:注销(停用)",
  10996. "name": "accountStatus",
  10997. "in": "query",
  10998. "required": true
  10999. }
  11000. ],
  11001. "responses": {
  11002. "200": {
  11003. "description": "OK",
  11004. "schema": {
  11005. "$ref": "#/definitions/app.Response"
  11006. }
  11007. },
  11008. "500": {
  11009. "description": "Internal Server Error",
  11010. "schema": {
  11011. "$ref": "#/definitions/app.Response"
  11012. }
  11013. }
  11014. }
  11015. }
  11016. },
  11017. "/WRTrade/GetAllDeliveryGoods": {
  11018. "get": {
  11019. "security": [
  11020. {
  11021. "ApiKeyAuth": []
  11022. },
  11023. {
  11024. "ApiKeyAuth": []
  11025. }
  11026. ],
  11027. "produces": [
  11028. "application/json",
  11029. "application/json"
  11030. ],
  11031. "tags": [
  11032. "仓单贸易",
  11033. "仓单贸易"
  11034. ],
  11035. "summary": "获取带仓单分类的种类信息",
  11036. "responses": {
  11037. "200": {
  11038. "description": "OK",
  11039. "schema": {
  11040. "$ref": "#/definitions/app.Response"
  11041. }
  11042. },
  11043. "500": {
  11044. "description": "Internal Server Error",
  11045. "schema": {
  11046. "$ref": "#/definitions/app.Response"
  11047. }
  11048. }
  11049. }
  11050. }
  11051. },
  11052. "/WrTrade2/QueryFaProductDetail": {
  11053. "get": {
  11054. "security": [
  11055. {
  11056. "ApiKeyAuth": []
  11057. }
  11058. ],
  11059. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  11060. "produces": [
  11061. "application/json"
  11062. ],
  11063. "tags": [
  11064. "仓单贸易v2"
  11065. ],
  11066. "summary": "查询融资产品列表",
  11067. "parameters": [
  11068. {
  11069. "type": "integer",
  11070. "description": "仓单要素id",
  11071. "name": "wrfactortypeid",
  11072. "in": "query",
  11073. "required": true
  11074. }
  11075. ],
  11076. "responses": {
  11077. "200": {
  11078. "description": "OK",
  11079. "schema": {
  11080. "type": "array",
  11081. "items": {
  11082. "$ref": "#/definitions/models.WrFAProductDetail"
  11083. }
  11084. }
  11085. },
  11086. "500": {
  11087. "description": "Internal Server Error",
  11088. "schema": {
  11089. "$ref": "#/definitions/app.Response"
  11090. }
  11091. }
  11092. }
  11093. }
  11094. },
  11095. "/WrTrade2/QueryFilterItem": {
  11096. "get": {
  11097. "security": [
  11098. {
  11099. "ApiKeyAuth": []
  11100. }
  11101. ],
  11102. "produces": [
  11103. "application/json"
  11104. ],
  11105. "tags": [
  11106. "仓单贸易v2"
  11107. ],
  11108. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  11109. "parameters": [
  11110. {
  11111. "type": "string",
  11112. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  11113. "name": "itype",
  11114. "in": "query",
  11115. "required": true
  11116. }
  11117. ],
  11118. "responses": {
  11119. "200": {
  11120. "description": "OK",
  11121. "schema": {
  11122. "type": "array",
  11123. "items": {
  11124. "$ref": "#/definitions/models.WrFilterItem"
  11125. }
  11126. }
  11127. },
  11128. "500": {
  11129. "description": "Internal Server Error",
  11130. "schema": {
  11131. "$ref": "#/definitions/app.Response"
  11132. }
  11133. }
  11134. }
  11135. }
  11136. },
  11137. "/WrTrade2/QueryFtDeliveryGoods": {
  11138. "get": {
  11139. "security": [
  11140. {
  11141. "ApiKeyAuth": []
  11142. }
  11143. ],
  11144. "produces": [
  11145. "application/json"
  11146. ],
  11147. "tags": [
  11148. "仓单贸易v2"
  11149. ],
  11150. "summary": "查询品种品类筛选框列表",
  11151. "responses": {
  11152. "200": {
  11153. "description": "OK",
  11154. "schema": {
  11155. "type": "array",
  11156. "items": {
  11157. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  11158. }
  11159. }
  11160. },
  11161. "500": {
  11162. "description": "Internal Server Error",
  11163. "schema": {
  11164. "$ref": "#/definitions/app.Response"
  11165. }
  11166. }
  11167. }
  11168. }
  11169. },
  11170. "/WrTrade2/QueryHoldLB": {
  11171. "get": {
  11172. "security": [
  11173. {
  11174. "ApiKeyAuth": []
  11175. }
  11176. ],
  11177. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  11178. "produces": [
  11179. "application/json"
  11180. ],
  11181. "tags": [
  11182. "仓单贸易v2"
  11183. ],
  11184. "summary": "查询仓单持有记录",
  11185. "parameters": [
  11186. {
  11187. "type": "integer",
  11188. "description": "资金账号",
  11189. "name": "accountid",
  11190. "in": "query",
  11191. "required": true
  11192. },
  11193. {
  11194. "type": "integer",
  11195. "description": "仓库id",
  11196. "name": "warehouseid",
  11197. "in": "query"
  11198. },
  11199. {
  11200. "type": "integer",
  11201. "description": "品种id",
  11202. "name": "deliverygoodsid",
  11203. "in": "query"
  11204. },
  11205. {
  11206. "type": "integer",
  11207. "description": "品类id",
  11208. "name": "wrstandardid",
  11209. "in": "query"
  11210. },
  11211. {
  11212. "type": "integer",
  11213. "description": "仓单要素id",
  11214. "name": "wrfactortypeid",
  11215. "in": "query"
  11216. }
  11217. ],
  11218. "responses": {
  11219. "200": {
  11220. "description": "OK",
  11221. "schema": {
  11222. "type": "array",
  11223. "items": {
  11224. "$ref": "#/definitions/models.WrHoldLB"
  11225. }
  11226. }
  11227. },
  11228. "500": {
  11229. "description": "Internal Server Error",
  11230. "schema": {
  11231. "$ref": "#/definitions/app.Response"
  11232. }
  11233. }
  11234. }
  11235. }
  11236. },
  11237. "/WrTrade2/QueryOrderQuote": {
  11238. "get": {
  11239. "security": [
  11240. {
  11241. "ApiKeyAuth": []
  11242. }
  11243. ],
  11244. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  11245. "produces": [
  11246. "application/json"
  11247. ],
  11248. "tags": [
  11249. "仓单贸易v2"
  11250. ],
  11251. "summary": "查询大厅行情列表",
  11252. "parameters": [
  11253. {
  11254. "type": "integer",
  11255. "description": "页码",
  11256. "name": "page",
  11257. "in": "query"
  11258. },
  11259. {
  11260. "type": "integer",
  11261. "description": "每页条数",
  11262. "name": "pagesize",
  11263. "in": "query"
  11264. },
  11265. {
  11266. "type": "integer",
  11267. "description": "仓单贸易市场id",
  11268. "name": "marketid",
  11269. "in": "query"
  11270. },
  11271. {
  11272. "type": "integer",
  11273. "description": "价格方式 - 1:固定价 2-浮动价",
  11274. "name": "wrpricetype",
  11275. "in": "query",
  11276. "required": true
  11277. },
  11278. {
  11279. "type": "integer",
  11280. "description": "0:仓单预售 1:仓单贸易",
  11281. "name": "haswr",
  11282. "in": "query",
  11283. "required": true
  11284. },
  11285. {
  11286. "type": "string",
  11287. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11288. "name": "dgitemname",
  11289. "in": "query"
  11290. },
  11291. {
  11292. "type": "integer",
  11293. "description": "仓库id(筛选条件)",
  11294. "name": "warehouseid",
  11295. "in": "query"
  11296. },
  11297. {
  11298. "type": "integer",
  11299. "description": "品种id",
  11300. "name": "deliverygoodsid",
  11301. "in": "query"
  11302. },
  11303. {
  11304. "type": "integer",
  11305. "description": "品类id",
  11306. "name": "wrstandardid",
  11307. "in": "query"
  11308. },
  11309. {
  11310. "type": "integer",
  11311. "description": "仓单要素id",
  11312. "name": "wrfactortypeid",
  11313. "in": "query"
  11314. },
  11315. {
  11316. "type": "string",
  11317. "description": "交收月(yyyy-mm) 仓单预售填写",
  11318. "name": "deliverymonth",
  11319. "in": "query"
  11320. }
  11321. ],
  11322. "responses": {
  11323. "200": {
  11324. "description": "OK",
  11325. "schema": {
  11326. "type": "array",
  11327. "items": {
  11328. "$ref": "#/definitions/models.WrOrderQuote"
  11329. }
  11330. }
  11331. },
  11332. "500": {
  11333. "description": "Internal Server Error",
  11334. "schema": {
  11335. "$ref": "#/definitions/app.Response"
  11336. }
  11337. }
  11338. }
  11339. }
  11340. },
  11341. "/WrTrade2/QueryOrderQuoteDetail": {
  11342. "get": {
  11343. "security": [
  11344. {
  11345. "ApiKeyAuth": []
  11346. }
  11347. ],
  11348. "produces": [
  11349. "application/json"
  11350. ],
  11351. "tags": [
  11352. "仓单贸易v2"
  11353. ],
  11354. "summary": "查询买卖大厅",
  11355. "parameters": [
  11356. {
  11357. "type": "integer",
  11358. "description": "页码",
  11359. "name": "page",
  11360. "in": "query"
  11361. },
  11362. {
  11363. "type": "integer",
  11364. "description": "每页条数",
  11365. "name": "pagesize",
  11366. "in": "query"
  11367. },
  11368. {
  11369. "type": "integer",
  11370. "description": "仓单贸易市场id",
  11371. "name": "marketid",
  11372. "in": "query"
  11373. },
  11374. {
  11375. "type": "integer",
  11376. "description": "价格方式 - 1:固定价 2-浮动价",
  11377. "name": "wrpricetype",
  11378. "in": "query",
  11379. "required": true
  11380. },
  11381. {
  11382. "type": "integer",
  11383. "description": "0:仓单预售 1:仓单贸易",
  11384. "name": "haswr",
  11385. "in": "query",
  11386. "required": true
  11387. },
  11388. {
  11389. "type": "integer",
  11390. "description": "仓单要素id",
  11391. "name": "wrfactortypeid",
  11392. "in": "query",
  11393. "required": true
  11394. },
  11395. {
  11396. "type": "integer",
  11397. "description": "期货商品id(浮动价方式时填)",
  11398. "name": "goodsid",
  11399. "in": "query"
  11400. },
  11401. {
  11402. "type": "integer",
  11403. "description": "买卖方向 0-买 1-卖",
  11404. "name": "buyorsell",
  11405. "in": "query",
  11406. "required": true
  11407. },
  11408. {
  11409. "type": "string",
  11410. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  11411. "name": "deliverymonth",
  11412. "in": "query"
  11413. }
  11414. ],
  11415. "responses": {
  11416. "200": {
  11417. "description": "OK",
  11418. "schema": {
  11419. "type": "array",
  11420. "items": {
  11421. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11422. }
  11423. }
  11424. },
  11425. "500": {
  11426. "description": "Internal Server Error",
  11427. "schema": {
  11428. "$ref": "#/definitions/app.Response"
  11429. }
  11430. }
  11431. }
  11432. }
  11433. },
  11434. "/WrTrade2/QueryOrderQuoteMyq": {
  11435. "get": {
  11436. "security": [
  11437. {
  11438. "ApiKeyAuth": []
  11439. }
  11440. ],
  11441. "produces": [
  11442. "application/json"
  11443. ],
  11444. "tags": [
  11445. "仓单贸易v2"
  11446. ],
  11447. "summary": "查询贸易圈挂牌大厅",
  11448. "parameters": [
  11449. {
  11450. "type": "integer",
  11451. "description": "页码",
  11452. "name": "page",
  11453. "in": "query"
  11454. },
  11455. {
  11456. "type": "integer",
  11457. "description": "每页条数",
  11458. "name": "pagesize",
  11459. "in": "query"
  11460. },
  11461. {
  11462. "type": "integer",
  11463. "description": "用户id",
  11464. "name": "userid",
  11465. "in": "query",
  11466. "required": true
  11467. },
  11468. {
  11469. "type": "integer",
  11470. "description": "仓单贸易市场id",
  11471. "name": "marketid",
  11472. "in": "query"
  11473. },
  11474. {
  11475. "type": "integer",
  11476. "description": "0:仓单预售 1:仓单贸易",
  11477. "name": "haswr",
  11478. "in": "query",
  11479. "required": true
  11480. },
  11481. {
  11482. "type": "integer",
  11483. "description": "买卖方向 0-买 1-卖",
  11484. "name": "buyorsell",
  11485. "in": "query",
  11486. "required": true
  11487. },
  11488. {
  11489. "type": "integer",
  11490. "description": "品种id",
  11491. "name": "deliverygoodsid",
  11492. "in": "query"
  11493. },
  11494. {
  11495. "type": "integer",
  11496. "description": "品类id",
  11497. "name": "wrstandardid",
  11498. "in": "query"
  11499. },
  11500. {
  11501. "type": "string",
  11502. "description": "交收月(yyyy-mm) 仓单预售填写",
  11503. "name": "deliverymonth",
  11504. "in": "query"
  11505. },
  11506. {
  11507. "type": "string",
  11508. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11509. "name": "dgitemname",
  11510. "in": "query"
  11511. }
  11512. ],
  11513. "responses": {
  11514. "200": {
  11515. "description": "OK",
  11516. "schema": {
  11517. "type": "array",
  11518. "items": {
  11519. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  11520. }
  11521. }
  11522. },
  11523. "500": {
  11524. "description": "Internal Server Error",
  11525. "schema": {
  11526. "$ref": "#/definitions/app.Response"
  11527. }
  11528. }
  11529. }
  11530. }
  11531. },
  11532. "/WrTrade2/QueryPerformancePlan": {
  11533. "get": {
  11534. "security": [
  11535. {
  11536. "ApiKeyAuth": []
  11537. }
  11538. ],
  11539. "produces": [
  11540. "application/json"
  11541. ],
  11542. "tags": [
  11543. "仓单贸易v2"
  11544. ],
  11545. "summary": "查询履约信息",
  11546. "parameters": [
  11547. {
  11548. "type": "integer",
  11549. "description": "用户id",
  11550. "name": "userid",
  11551. "in": "query",
  11552. "required": true
  11553. },
  11554. {
  11555. "type": "integer",
  11556. "description": "买卖方向 0-买 1-卖",
  11557. "name": "buyorsell",
  11558. "in": "query",
  11559. "required": true
  11560. }
  11561. ],
  11562. "responses": {
  11563. "200": {
  11564. "description": "OK",
  11565. "schema": {
  11566. "type": "array",
  11567. "items": {
  11568. "$ref": "#/definitions/models.WrPerformancePlan"
  11569. }
  11570. }
  11571. },
  11572. "500": {
  11573. "description": "Internal Server Error",
  11574. "schema": {
  11575. "$ref": "#/definitions/app.Response"
  11576. }
  11577. }
  11578. }
  11579. }
  11580. },
  11581. "/WrTrade2/QueryPermancePlanTmp": {
  11582. "get": {
  11583. "security": [
  11584. {
  11585. "ApiKeyAuth": []
  11586. }
  11587. ],
  11588. "description": "返回指定用户的模板和公共模板(用户id为空)",
  11589. "produces": [
  11590. "application/json"
  11591. ],
  11592. "tags": [
  11593. "仓单贸易v2"
  11594. ],
  11595. "summary": "查询履约模板",
  11596. "parameters": [
  11597. {
  11598. "type": "integer",
  11599. "description": "用户id",
  11600. "name": "userid",
  11601. "in": "query"
  11602. },
  11603. {
  11604. "type": "string",
  11605. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  11606. "name": "tmptype",
  11607. "in": "query"
  11608. },
  11609. {
  11610. "type": "integer",
  11611. "description": "是否包含公共模板(用户id为空的) 1-包含",
  11612. "name": "includepub",
  11613. "in": "query"
  11614. }
  11615. ],
  11616. "responses": {
  11617. "200": {
  11618. "description": "OK",
  11619. "schema": {
  11620. "type": "array",
  11621. "items": {
  11622. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  11623. }
  11624. }
  11625. },
  11626. "500": {
  11627. "description": "Internal Server Error",
  11628. "schema": {
  11629. "$ref": "#/definitions/app.Response"
  11630. }
  11631. }
  11632. }
  11633. }
  11634. },
  11635. "/WrTrade2/QueryTradeHolderDetail": {
  11636. "get": {
  11637. "security": [
  11638. {
  11639. "ApiKeyAuth": []
  11640. }
  11641. ],
  11642. "produces": [
  11643. "application/json"
  11644. ],
  11645. "tags": [
  11646. "仓单贸易v2"
  11647. ],
  11648. "summary": "查询持仓明细",
  11649. "parameters": [
  11650. {
  11651. "type": "integer",
  11652. "description": "用户id",
  11653. "name": "userid",
  11654. "in": "query"
  11655. },
  11656. {
  11657. "type": "string",
  11658. "description": "资金账号, 格式 1,2,3",
  11659. "name": "accids",
  11660. "in": "query"
  11661. },
  11662. {
  11663. "type": "string",
  11664. "description": "交易模式, 格式 1,2,3",
  11665. "name": "trademodes",
  11666. "in": "query"
  11667. },
  11668. {
  11669. "type": "string",
  11670. "description": "市场id, 格式 1,2,3",
  11671. "name": "marketids",
  11672. "in": "query"
  11673. },
  11674. {
  11675. "type": "integer",
  11676. "description": "商品id",
  11677. "name": "goodsid",
  11678. "in": "query"
  11679. },
  11680. {
  11681. "type": "integer",
  11682. "description": "买卖方向 0-买 1-卖",
  11683. "name": "buyorsell",
  11684. "in": "query"
  11685. }
  11686. ],
  11687. "responses": {
  11688. "200": {
  11689. "description": "OK",
  11690. "schema": {
  11691. "type": "array",
  11692. "items": {
  11693. "$ref": "#/definitions/models.TradeHolderDetail"
  11694. }
  11695. }
  11696. },
  11697. "500": {
  11698. "description": "Internal Server Error",
  11699. "schema": {
  11700. "$ref": "#/definitions/app.Response"
  11701. }
  11702. }
  11703. }
  11704. }
  11705. },
  11706. "/WrTrade2/QueryWrAverageTradePrice": {
  11707. "get": {
  11708. "security": [
  11709. {
  11710. "ApiKeyAuth": []
  11711. }
  11712. ],
  11713. "produces": [
  11714. "application/json"
  11715. ],
  11716. "tags": [
  11717. "仓单贸易v2"
  11718. ],
  11719. "summary": "查询成交价(历史走势)",
  11720. "parameters": [
  11721. {
  11722. "type": "integer",
  11723. "description": "页码",
  11724. "name": "page",
  11725. "in": "query"
  11726. },
  11727. {
  11728. "type": "integer",
  11729. "description": "每页条数",
  11730. "name": "pagesize",
  11731. "in": "query"
  11732. },
  11733. {
  11734. "type": "integer",
  11735. "description": "0:仓单预售 1:仓单贸易",
  11736. "name": "haswr",
  11737. "in": "query",
  11738. "required": true
  11739. },
  11740. {
  11741. "type": "integer",
  11742. "description": "仓单要素id",
  11743. "name": "wrfactortypeid",
  11744. "in": "query",
  11745. "required": true
  11746. }
  11747. ],
  11748. "responses": {
  11749. "200": {
  11750. "description": "OK",
  11751. "schema": {
  11752. "type": "array",
  11753. "items": {
  11754. "$ref": "#/definitions/models.WrAverageTradePrice"
  11755. }
  11756. }
  11757. },
  11758. "500": {
  11759. "description": "Internal Server Error",
  11760. "schema": {
  11761. "$ref": "#/definitions/app.Response"
  11762. }
  11763. }
  11764. }
  11765. }
  11766. },
  11767. "/WrTrade2/QueryWrBsGoodsInfo": {
  11768. "get": {
  11769. "security": [
  11770. {
  11771. "ApiKeyAuth": []
  11772. }
  11773. ],
  11774. "description": "合约交易/买卖大厅/详情",
  11775. "produces": [
  11776. "application/json"
  11777. ],
  11778. "tags": [
  11779. "仓单贸易v2"
  11780. ],
  11781. "summary": "查询合约交易买卖大厅详情",
  11782. "parameters": [
  11783. {
  11784. "type": "integer",
  11785. "description": "商品id",
  11786. "name": "goodsid",
  11787. "in": "query",
  11788. "required": true
  11789. }
  11790. ],
  11791. "responses": {
  11792. "200": {
  11793. "description": "OK",
  11794. "schema": {
  11795. "type": "array",
  11796. "items": {
  11797. "$ref": "#/definitions/models.WrBsGoodsInfo"
  11798. }
  11799. }
  11800. },
  11801. "500": {
  11802. "description": "Internal Server Error",
  11803. "schema": {
  11804. "$ref": "#/definitions/app.Response"
  11805. }
  11806. }
  11807. }
  11808. }
  11809. },
  11810. "/WrTrade2/QueryWrBuybackDetail": {
  11811. "get": {
  11812. "security": [
  11813. {
  11814. "ApiKeyAuth": []
  11815. }
  11816. ],
  11817. "produces": [
  11818. "application/json"
  11819. ],
  11820. "tags": [
  11821. "仓单贸易v2"
  11822. ],
  11823. "summary": "查询仓单回购明细",
  11824. "parameters": [
  11825. {
  11826. "type": "integer",
  11827. "description": "融资合同id",
  11828. "name": "scfcontractid",
  11829. "in": "query"
  11830. }
  11831. ],
  11832. "responses": {
  11833. "200": {
  11834. "description": "OK",
  11835. "schema": {
  11836. "type": "array",
  11837. "items": {
  11838. "$ref": "#/definitions/models.WrBuybackDetail"
  11839. }
  11840. }
  11841. },
  11842. "500": {
  11843. "description": "Internal Server Error",
  11844. "schema": {
  11845. "$ref": "#/definitions/app.Response"
  11846. }
  11847. }
  11848. }
  11849. }
  11850. },
  11851. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  11852. "get": {
  11853. "security": [
  11854. {
  11855. "ApiKeyAuth": []
  11856. }
  11857. ],
  11858. "produces": [
  11859. "application/json"
  11860. ],
  11861. "tags": [
  11862. "仓单贸易v2"
  11863. ],
  11864. "summary": "查询合约交收可点选仓单",
  11865. "parameters": [
  11866. {
  11867. "type": "integer",
  11868. "description": "资金账号",
  11869. "name": "accountid",
  11870. "in": "query",
  11871. "required": true
  11872. },
  11873. {
  11874. "type": "integer",
  11875. "description": "商品id",
  11876. "name": "goodsid",
  11877. "in": "query",
  11878. "required": true
  11879. }
  11880. ],
  11881. "responses": {
  11882. "200": {
  11883. "description": "OK",
  11884. "schema": {
  11885. "type": "array",
  11886. "items": {
  11887. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  11888. }
  11889. }
  11890. },
  11891. "500": {
  11892. "description": "Internal Server Error",
  11893. "schema": {
  11894. "$ref": "#/definitions/app.Response"
  11895. }
  11896. }
  11897. }
  11898. }
  11899. },
  11900. "/WrTrade2/QueryWrDeliveryDetail": {
  11901. "get": {
  11902. "security": [
  11903. {
  11904. "ApiKeyAuth": []
  11905. }
  11906. ],
  11907. "produces": [
  11908. "application/json"
  11909. ],
  11910. "tags": [
  11911. "仓单贸易v2"
  11912. ],
  11913. "summary": "查询交收",
  11914. "parameters": [
  11915. {
  11916. "type": "integer",
  11917. "description": "用户id",
  11918. "name": "userid",
  11919. "in": "query",
  11920. "required": true
  11921. },
  11922. {
  11923. "type": "integer",
  11924. "description": "资金账号id",
  11925. "name": "accountid",
  11926. "in": "query"
  11927. }
  11928. ],
  11929. "responses": {
  11930. "200": {
  11931. "description": "OK",
  11932. "schema": {
  11933. "type": "array",
  11934. "items": {
  11935. "$ref": "#/definitions/models.WrDeliveryDetail"
  11936. }
  11937. }
  11938. },
  11939. "500": {
  11940. "description": "Internal Server Error",
  11941. "schema": {
  11942. "$ref": "#/definitions/app.Response"
  11943. }
  11944. }
  11945. }
  11946. }
  11947. },
  11948. "/WrTrade2/QueryWrFactorTypeInfo": {
  11949. "get": {
  11950. "security": [
  11951. {
  11952. "ApiKeyAuth": []
  11953. }
  11954. ],
  11955. "produces": [
  11956. "application/json"
  11957. ],
  11958. "tags": [
  11959. "仓单贸易v2"
  11960. ],
  11961. "summary": "查询仓单要素详细信息",
  11962. "parameters": [
  11963. {
  11964. "type": "integer",
  11965. "description": "仓单要素id",
  11966. "name": "wrfactortypeid",
  11967. "in": "query",
  11968. "required": true
  11969. }
  11970. ],
  11971. "responses": {
  11972. "200": {
  11973. "description": "OK",
  11974. "schema": {
  11975. "type": "array",
  11976. "items": {
  11977. "$ref": "#/definitions/models.WrFactorTypeInfo"
  11978. }
  11979. }
  11980. },
  11981. "500": {
  11982. "description": "Internal Server Error",
  11983. "schema": {
  11984. "$ref": "#/definitions/app.Response"
  11985. }
  11986. }
  11987. }
  11988. }
  11989. },
  11990. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  11991. "get": {
  11992. "security": [
  11993. {
  11994. "ApiKeyAuth": []
  11995. }
  11996. ],
  11997. "produces": [
  11998. "application/json"
  11999. ],
  12000. "tags": [
  12001. "仓单贸易v2"
  12002. ],
  12003. "summary": "查询仓单要素详细信息列表项",
  12004. "parameters": [
  12005. {
  12006. "type": "integer",
  12007. "description": "仓单要素id",
  12008. "name": "wrfactortypeid",
  12009. "in": "query",
  12010. "required": true
  12011. }
  12012. ],
  12013. "responses": {
  12014. "200": {
  12015. "description": "OK",
  12016. "schema": {
  12017. "type": "array",
  12018. "items": {
  12019. "$ref": "#/definitions/models.WrTypeItem"
  12020. }
  12021. }
  12022. },
  12023. "500": {
  12024. "description": "Internal Server Error",
  12025. "schema": {
  12026. "$ref": "#/definitions/app.Response"
  12027. }
  12028. }
  12029. }
  12030. }
  12031. },
  12032. "/WrTrade2/QueryWrFinanceBuyApply": {
  12033. "get": {
  12034. "security": [
  12035. {
  12036. "ApiKeyAuth": []
  12037. }
  12038. ],
  12039. "description": "页面 融资信息+ / 申请单",
  12040. "produces": [
  12041. "application/json"
  12042. ],
  12043. "tags": [
  12044. "仓单贸易v2"
  12045. ],
  12046. "summary": "查询融资购买申请",
  12047. "parameters": [
  12048. {
  12049. "type": "integer",
  12050. "description": "用户id",
  12051. "name": "userid",
  12052. "in": "query",
  12053. "required": true
  12054. }
  12055. ],
  12056. "responses": {
  12057. "200": {
  12058. "description": "OK",
  12059. "schema": {
  12060. "type": "array",
  12061. "items": {
  12062. "$ref": "#/definitions/models.WrFinanceBuyApply"
  12063. }
  12064. }
  12065. },
  12066. "500": {
  12067. "description": "Internal Server Error",
  12068. "schema": {
  12069. "$ref": "#/definitions/app.Response"
  12070. }
  12071. }
  12072. }
  12073. }
  12074. },
  12075. "/WrTrade2/QueryWrFriendApply": {
  12076. "get": {
  12077. "security": [
  12078. {
  12079. "ApiKeyAuth": []
  12080. }
  12081. ],
  12082. "produces": [
  12083. "application/json"
  12084. ],
  12085. "tags": [
  12086. "仓单贸易v2"
  12087. ],
  12088. "summary": "查询好友申请记录",
  12089. "parameters": [
  12090. {
  12091. "type": "integer",
  12092. "description": "用户id",
  12093. "name": "userid",
  12094. "in": "query",
  12095. "required": true
  12096. }
  12097. ],
  12098. "responses": {
  12099. "200": {
  12100. "description": "OK",
  12101. "schema": {
  12102. "type": "array",
  12103. "items": {
  12104. "$ref": "#/definitions/models.WrFriendApply"
  12105. }
  12106. }
  12107. },
  12108. "500": {
  12109. "description": "Internal Server Error",
  12110. "schema": {
  12111. "$ref": "#/definitions/app.Response"
  12112. }
  12113. }
  12114. }
  12115. }
  12116. },
  12117. "/WrTrade2/QueryWrGoodsInfo": {
  12118. "get": {
  12119. "security": [
  12120. {
  12121. "ApiKeyAuth": []
  12122. }
  12123. ],
  12124. "produces": [
  12125. "application/json"
  12126. ],
  12127. "tags": [
  12128. "仓单贸易v2"
  12129. ],
  12130. "summary": "查询仓单商品信息",
  12131. "parameters": [
  12132. {
  12133. "type": "integer",
  12134. "description": "仓单贸易市场id",
  12135. "name": "marketid",
  12136. "in": "query"
  12137. },
  12138. {
  12139. "type": "integer",
  12140. "description": "0:仓单预售 1:仓单贸易",
  12141. "name": "haswr",
  12142. "in": "query",
  12143. "required": true
  12144. },
  12145. {
  12146. "type": "integer",
  12147. "description": "仓单要素id",
  12148. "name": "wrfactortypeid",
  12149. "in": "query",
  12150. "required": true
  12151. },
  12152. {
  12153. "type": "integer",
  12154. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  12155. "name": "tmplateid",
  12156. "in": "query"
  12157. }
  12158. ],
  12159. "responses": {
  12160. "200": {
  12161. "description": "OK",
  12162. "schema": {
  12163. "type": "array",
  12164. "items": {
  12165. "$ref": "#/definitions/models.WrGoodsInfo"
  12166. }
  12167. }
  12168. },
  12169. "500": {
  12170. "description": "Internal Server Error",
  12171. "schema": {
  12172. "$ref": "#/definitions/app.Response"
  12173. }
  12174. }
  12175. }
  12176. }
  12177. },
  12178. "/WrTrade2/QueryWrMarketTradeConfig": {
  12179. "get": {
  12180. "security": [
  12181. {
  12182. "ApiKeyAuth": []
  12183. }
  12184. ],
  12185. "produces": [
  12186. "application/json"
  12187. ],
  12188. "tags": [
  12189. "仓单贸易v2"
  12190. ],
  12191. "summary": "查询市场交易参数配置",
  12192. "parameters": [
  12193. {
  12194. "type": "integer",
  12195. "description": "市场id",
  12196. "name": "marketid",
  12197. "in": "query"
  12198. }
  12199. ],
  12200. "responses": {
  12201. "200": {
  12202. "description": "OK",
  12203. "schema": {
  12204. "type": "array",
  12205. "items": {
  12206. "$ref": "#/definitions/models.WrMarketTradeConfig"
  12207. }
  12208. }
  12209. },
  12210. "500": {
  12211. "description": "Internal Server Error",
  12212. "schema": {
  12213. "$ref": "#/definitions/app.Response"
  12214. }
  12215. }
  12216. }
  12217. }
  12218. },
  12219. "/WrTrade2/QueryWrOrderDetail": {
  12220. "get": {
  12221. "security": [
  12222. {
  12223. "ApiKeyAuth": []
  12224. }
  12225. ],
  12226. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  12227. "produces": [
  12228. "application/json"
  12229. ],
  12230. "tags": [
  12231. "仓单贸易v2"
  12232. ],
  12233. "summary": "查询仓单委托单(挂单)",
  12234. "parameters": [
  12235. {
  12236. "type": "integer",
  12237. "description": "页码",
  12238. "name": "page",
  12239. "in": "query"
  12240. },
  12241. {
  12242. "type": "integer",
  12243. "description": "每页条数",
  12244. "name": "pagesize",
  12245. "in": "query"
  12246. },
  12247. {
  12248. "type": "integer",
  12249. "description": "用户id",
  12250. "name": "userid",
  12251. "in": "query",
  12252. "required": true
  12253. },
  12254. {
  12255. "type": "integer",
  12256. "description": "仓单贸易市场id",
  12257. "name": "marketid",
  12258. "in": "query"
  12259. },
  12260. {
  12261. "type": "integer",
  12262. "description": "0:仓单预售 1:仓单贸易",
  12263. "name": "haswr",
  12264. "in": "query",
  12265. "required": true
  12266. }
  12267. ],
  12268. "responses": {
  12269. "200": {
  12270. "description": "OK",
  12271. "schema": {
  12272. "type": "array",
  12273. "items": {
  12274. "$ref": "#/definitions/models.WrOrderDetail"
  12275. }
  12276. }
  12277. },
  12278. "500": {
  12279. "description": "Internal Server Error",
  12280. "schema": {
  12281. "$ref": "#/definitions/app.Response"
  12282. }
  12283. }
  12284. }
  12285. }
  12286. },
  12287. "/WrTrade2/QueryWrOutInApply": {
  12288. "get": {
  12289. "security": [
  12290. {
  12291. "ApiKeyAuth": []
  12292. }
  12293. ],
  12294. "produces": [
  12295. "application/json"
  12296. ],
  12297. "tags": [
  12298. "仓单贸易v2"
  12299. ],
  12300. "summary": "查询提货申请",
  12301. "parameters": [
  12302. {
  12303. "type": "integer",
  12304. "description": "用户id",
  12305. "name": "userid",
  12306. "in": "query",
  12307. "required": true
  12308. }
  12309. ],
  12310. "responses": {
  12311. "200": {
  12312. "description": "OK",
  12313. "schema": {
  12314. "type": "array",
  12315. "items": {
  12316. "$ref": "#/definitions/models.WrOutInApply"
  12317. }
  12318. }
  12319. },
  12320. "500": {
  12321. "description": "Internal Server Error",
  12322. "schema": {
  12323. "$ref": "#/definitions/app.Response"
  12324. }
  12325. }
  12326. }
  12327. }
  12328. },
  12329. "/WrTrade2/QueryWrPerformancePlanStep": {
  12330. "get": {
  12331. "security": [
  12332. {
  12333. "ApiKeyAuth": []
  12334. }
  12335. ],
  12336. "produces": [
  12337. "application/json"
  12338. ],
  12339. "tags": [
  12340. "仓单贸易v2"
  12341. ],
  12342. "summary": "查询履约信息详情",
  12343. "parameters": [
  12344. {
  12345. "type": "integer",
  12346. "description": "履约计划id(performanceplanid)",
  12347. "name": "planid",
  12348. "in": "query",
  12349. "required": true
  12350. },
  12351. {
  12352. "type": "integer",
  12353. "description": "当前步骤id",
  12354. "name": "curstepid",
  12355. "in": "query"
  12356. }
  12357. ],
  12358. "responses": {
  12359. "200": {
  12360. "description": "OK",
  12361. "schema": {
  12362. "type": "array",
  12363. "items": {
  12364. "$ref": "#/definitions/models.WrPerformancePlanStep"
  12365. }
  12366. }
  12367. },
  12368. "500": {
  12369. "description": "Internal Server Error",
  12370. "schema": {
  12371. "$ref": "#/definitions/app.Response"
  12372. }
  12373. }
  12374. }
  12375. }
  12376. },
  12377. "/WrTrade2/QueryWrPerformanceStepType": {
  12378. "get": {
  12379. "security": [
  12380. {
  12381. "ApiKeyAuth": []
  12382. }
  12383. ],
  12384. "produces": [
  12385. "application/json"
  12386. ],
  12387. "tags": [
  12388. "仓单贸易v2"
  12389. ],
  12390. "summary": "查询履约步骤枚举",
  12391. "responses": {
  12392. "200": {
  12393. "description": "OK",
  12394. "schema": {
  12395. "type": "array",
  12396. "items": {
  12397. "$ref": "#/definitions/models.WrPerformanceStepType"
  12398. }
  12399. }
  12400. },
  12401. "500": {
  12402. "description": "Internal Server Error",
  12403. "schema": {
  12404. "$ref": "#/definitions/app.Response"
  12405. }
  12406. }
  12407. }
  12408. }
  12409. },
  12410. "/WrTrade2/QueryWrPosition": {
  12411. "get": {
  12412. "security": [
  12413. {
  12414. "ApiKeyAuth": []
  12415. }
  12416. ],
  12417. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  12418. "produces": [
  12419. "application/json"
  12420. ],
  12421. "tags": [
  12422. "仓单贸易v2"
  12423. ],
  12424. "summary": "查询现货(预售)仓单持仓",
  12425. "parameters": [
  12426. {
  12427. "type": "integer",
  12428. "description": "用户id",
  12429. "name": "userid",
  12430. "in": "query",
  12431. "required": true
  12432. },
  12433. {
  12434. "type": "integer",
  12435. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  12436. "name": "querytype",
  12437. "in": "query",
  12438. "required": true
  12439. },
  12440. {
  12441. "type": "integer",
  12442. "description": "0:仓单预售 1:仓单贸易",
  12443. "name": "haswr",
  12444. "in": "query",
  12445. "required": true
  12446. },
  12447. {
  12448. "type": "string",
  12449. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12450. "name": "dgitemname",
  12451. "in": "query"
  12452. },
  12453. {
  12454. "type": "integer",
  12455. "description": "仓库id(筛选条件)",
  12456. "name": "warehouseid",
  12457. "in": "query"
  12458. },
  12459. {
  12460. "type": "integer",
  12461. "description": "品种id",
  12462. "name": "deliverygoodsid",
  12463. "in": "query"
  12464. },
  12465. {
  12466. "type": "integer",
  12467. "description": "品类id",
  12468. "name": "wrstandardid",
  12469. "in": "query"
  12470. }
  12471. ],
  12472. "responses": {
  12473. "200": {
  12474. "description": "OK",
  12475. "schema": {
  12476. "type": "array",
  12477. "items": {
  12478. "$ref": "#/definitions/models.WrPosition"
  12479. }
  12480. }
  12481. },
  12482. "500": {
  12483. "description": "Internal Server Error",
  12484. "schema": {
  12485. "$ref": "#/definitions/app.Response"
  12486. }
  12487. }
  12488. }
  12489. }
  12490. },
  12491. "/WrTrade2/QueryWrScfContract": {
  12492. "get": {
  12493. "security": [
  12494. {
  12495. "ApiKeyAuth": []
  12496. }
  12497. ],
  12498. "produces": [
  12499. "application/json"
  12500. ],
  12501. "tags": [
  12502. "仓单贸易v2"
  12503. ],
  12504. "summary": "查询仓单贸易融资合同",
  12505. "parameters": [
  12506. {
  12507. "type": "integer",
  12508. "description": "用户id",
  12509. "name": "userid",
  12510. "in": "query",
  12511. "required": true
  12512. },
  12513. {
  12514. "type": "integer",
  12515. "description": "融资合同id",
  12516. "name": "scfcontractid",
  12517. "in": "query"
  12518. }
  12519. ],
  12520. "responses": {
  12521. "200": {
  12522. "description": "OK",
  12523. "schema": {
  12524. "type": "array",
  12525. "items": {
  12526. "$ref": "#/definitions/models.WrScfContract"
  12527. }
  12528. }
  12529. },
  12530. "500": {
  12531. "description": "Internal Server Error",
  12532. "schema": {
  12533. "$ref": "#/definitions/app.Response"
  12534. }
  12535. }
  12536. }
  12537. }
  12538. },
  12539. "/WrTrade2/QueryWrScfContractInterest": {
  12540. "get": {
  12541. "security": [
  12542. {
  12543. "ApiKeyAuth": []
  12544. }
  12545. ],
  12546. "produces": [
  12547. "application/json"
  12548. ],
  12549. "tags": [
  12550. "仓单贸易v2"
  12551. ],
  12552. "summary": "查询融资合同费用明细",
  12553. "parameters": [
  12554. {
  12555. "type": "integer",
  12556. "description": "融资合同id",
  12557. "name": "scfcontractid",
  12558. "in": "query"
  12559. }
  12560. ],
  12561. "responses": {
  12562. "200": {
  12563. "description": "OK",
  12564. "schema": {
  12565. "type": "array",
  12566. "items": {
  12567. "$ref": "#/definitions/models.WrScfContractInterest"
  12568. }
  12569. }
  12570. },
  12571. "500": {
  12572. "description": "Internal Server Error",
  12573. "schema": {
  12574. "$ref": "#/definitions/app.Response"
  12575. }
  12576. }
  12577. }
  12578. }
  12579. },
  12580. "/WrTrade2/QueryWrSpecialMatchOrder": {
  12581. "get": {
  12582. "security": [
  12583. {
  12584. "ApiKeyAuth": []
  12585. }
  12586. ],
  12587. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  12588. "produces": [
  12589. "application/json"
  12590. ],
  12591. "tags": [
  12592. "仓单贸易v2"
  12593. ],
  12594. "summary": "查询指定成交",
  12595. "parameters": [
  12596. {
  12597. "type": "integer",
  12598. "description": "页码",
  12599. "name": "page",
  12600. "in": "query"
  12601. },
  12602. {
  12603. "type": "integer",
  12604. "description": "每页条数",
  12605. "name": "pagesize",
  12606. "in": "query"
  12607. },
  12608. {
  12609. "type": "integer",
  12610. "description": "用户id",
  12611. "name": "userid",
  12612. "in": "query",
  12613. "required": true
  12614. },
  12615. {
  12616. "type": "integer",
  12617. "description": "仓单贸易市场id",
  12618. "name": "marketid",
  12619. "in": "query"
  12620. },
  12621. {
  12622. "type": "integer",
  12623. "description": "0:仓单预售 1:仓单贸易",
  12624. "name": "haswr",
  12625. "in": "query",
  12626. "required": true
  12627. }
  12628. ],
  12629. "responses": {
  12630. "200": {
  12631. "description": "OK",
  12632. "schema": {
  12633. "type": "array",
  12634. "items": {
  12635. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  12636. }
  12637. }
  12638. },
  12639. "500": {
  12640. "description": "Internal Server Error",
  12641. "schema": {
  12642. "$ref": "#/definitions/app.Response"
  12643. }
  12644. }
  12645. }
  12646. }
  12647. },
  12648. "/WrTrade2/QueryWrStandardFactoryItem": {
  12649. "get": {
  12650. "security": [
  12651. {
  12652. "ApiKeyAuth": []
  12653. }
  12654. ],
  12655. "produces": [
  12656. "application/json"
  12657. ],
  12658. "tags": [
  12659. "仓单贸易v2"
  12660. ],
  12661. "summary": "查询品类要素定义项",
  12662. "parameters": [
  12663. {
  12664. "type": "integer",
  12665. "description": "品类id",
  12666. "name": "wrstandardid",
  12667. "in": "query",
  12668. "required": true
  12669. }
  12670. ],
  12671. "responses": {
  12672. "200": {
  12673. "description": "OK",
  12674. "schema": {
  12675. "type": "array",
  12676. "items": {
  12677. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  12678. }
  12679. }
  12680. },
  12681. "500": {
  12682. "description": "Internal Server Error",
  12683. "schema": {
  12684. "$ref": "#/definitions/app.Response"
  12685. }
  12686. }
  12687. }
  12688. }
  12689. },
  12690. "/WrTrade2/QueryWrTradeBargainApply": {
  12691. "get": {
  12692. "security": [
  12693. {
  12694. "ApiKeyAuth": []
  12695. }
  12696. ],
  12697. "description": "1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid",
  12698. "produces": [
  12699. "application/json"
  12700. ],
  12701. "tags": [
  12702. "仓单贸易v2"
  12703. ],
  12704. "summary": "查询议价单",
  12705. "parameters": [
  12706. {
  12707. "type": "integer",
  12708. "description": "议价人id(摘牌方)",
  12709. "name": "userid",
  12710. "in": "query"
  12711. },
  12712. {
  12713. "type": "integer",
  12714. "description": "关联委托单id",
  12715. "name": "wrtradeorderid",
  12716. "in": "query"
  12717. },
  12718. {
  12719. "type": "integer",
  12720. "description": "0:仓单预售 1:仓单贸易",
  12721. "name": "haswr",
  12722. "in": "query",
  12723. "required": true
  12724. }
  12725. ],
  12726. "responses": {
  12727. "200": {
  12728. "description": "OK",
  12729. "schema": {
  12730. "type": "array",
  12731. "items": {
  12732. "$ref": "#/definitions/models.WRTradeBargainApply"
  12733. }
  12734. }
  12735. },
  12736. "500": {
  12737. "description": "Internal Server Error",
  12738. "schema": {
  12739. "$ref": "#/definitions/app.Response"
  12740. }
  12741. }
  12742. }
  12743. }
  12744. },
  12745. "/WrTrade2/QueryWrTradeDetail": {
  12746. "get": {
  12747. "security": [
  12748. {
  12749. "ApiKeyAuth": []
  12750. }
  12751. ],
  12752. "produces": [
  12753. "application/json"
  12754. ],
  12755. "tags": [
  12756. "仓单贸易v2"
  12757. ],
  12758. "summary": "查询仓单成交明细",
  12759. "parameters": [
  12760. {
  12761. "type": "integer",
  12762. "description": "页码",
  12763. "name": "page",
  12764. "in": "query"
  12765. },
  12766. {
  12767. "type": "integer",
  12768. "description": "每页条数",
  12769. "name": "pagesize",
  12770. "in": "query"
  12771. },
  12772. {
  12773. "type": "integer",
  12774. "description": "用户id",
  12775. "name": "userid",
  12776. "in": "query",
  12777. "required": true
  12778. },
  12779. {
  12780. "type": "integer",
  12781. "description": "仓单贸易市场id",
  12782. "name": "marketid",
  12783. "in": "query"
  12784. },
  12785. {
  12786. "type": "integer",
  12787. "description": "0:仓单预售 1:仓单贸易",
  12788. "name": "haswr",
  12789. "in": "query",
  12790. "required": true
  12791. }
  12792. ],
  12793. "responses": {
  12794. "200": {
  12795. "description": "OK",
  12796. "schema": {
  12797. "type": "array",
  12798. "items": {
  12799. "$ref": "#/definitions/models.WrTradeDetail"
  12800. }
  12801. }
  12802. },
  12803. "500": {
  12804. "description": "Internal Server Error",
  12805. "schema": {
  12806. "$ref": "#/definitions/app.Response"
  12807. }
  12808. }
  12809. }
  12810. }
  12811. },
  12812. "/WrTrade2/QueryWrTradeOrderDetail": {
  12813. "get": {
  12814. "security": [
  12815. {
  12816. "ApiKeyAuth": []
  12817. }
  12818. ],
  12819. "produces": [
  12820. "application/json"
  12821. ],
  12822. "tags": [
  12823. "仓单贸易v2"
  12824. ],
  12825. "summary": "查询合约交易买卖大厅",
  12826. "parameters": [
  12827. {
  12828. "type": "integer",
  12829. "description": "页码",
  12830. "name": "page",
  12831. "in": "query"
  12832. },
  12833. {
  12834. "type": "integer",
  12835. "description": "每页条数",
  12836. "name": "pagesize",
  12837. "in": "query"
  12838. },
  12839. {
  12840. "type": "integer",
  12841. "description": "商品id",
  12842. "name": "goodsid",
  12843. "in": "query",
  12844. "required": true
  12845. },
  12846. {
  12847. "type": "integer",
  12848. "description": "买卖方向 0-买 1-卖",
  12849. "name": "buyorsell",
  12850. "in": "query",
  12851. "required": true
  12852. }
  12853. ],
  12854. "responses": {
  12855. "200": {
  12856. "description": "OK",
  12857. "schema": {
  12858. "type": "array",
  12859. "items": {
  12860. "$ref": "#/definitions/models.WrTradeOrderDetail"
  12861. }
  12862. }
  12863. },
  12864. "500": {
  12865. "description": "Internal Server Error",
  12866. "schema": {
  12867. "$ref": "#/definitions/app.Response"
  12868. }
  12869. }
  12870. }
  12871. }
  12872. },
  12873. "/WrTrade2/QueryWrUserFriend": {
  12874. "get": {
  12875. "security": [
  12876. {
  12877. "ApiKeyAuth": []
  12878. }
  12879. ],
  12880. "produces": [
  12881. "application/json"
  12882. ],
  12883. "tags": [
  12884. "仓单贸易v2"
  12885. ],
  12886. "summary": "查询我的朋友",
  12887. "parameters": [
  12888. {
  12889. "type": "integer",
  12890. "description": "用户id",
  12891. "name": "userid",
  12892. "in": "query",
  12893. "required": true
  12894. },
  12895. {
  12896. "type": "integer",
  12897. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  12898. "name": "newuserid",
  12899. "in": "query"
  12900. }
  12901. ],
  12902. "responses": {
  12903. "200": {
  12904. "description": "OK",
  12905. "schema": {
  12906. "type": "array",
  12907. "items": {
  12908. "$ref": "#/definitions/models.WrUserFriend"
  12909. }
  12910. }
  12911. },
  12912. "500": {
  12913. "description": "Internal Server Error",
  12914. "schema": {
  12915. "$ref": "#/definitions/app.Response"
  12916. }
  12917. }
  12918. }
  12919. }
  12920. }
  12921. },
  12922. "definitions": {
  12923. "app.Response": {
  12924. "type": "object",
  12925. "properties": {
  12926. "code": {
  12927. "type": "integer"
  12928. },
  12929. "data": {
  12930. "type": "object"
  12931. },
  12932. "msg": {
  12933. "type": "string"
  12934. },
  12935. "page": {
  12936. "description": "页码",
  12937. "type": "integer"
  12938. },
  12939. "pagesize": {
  12940. "description": "每页条数",
  12941. "type": "integer"
  12942. },
  12943. "total": {
  12944. "description": "总条数",
  12945. "type": "integer"
  12946. }
  12947. }
  12948. },
  12949. "common.ClientMenu": {
  12950. "type": "object",
  12951. "properties": {
  12952. "children": {
  12953. "description": "子菜单列表",
  12954. "type": "array",
  12955. "items": {
  12956. "$ref": "#/definitions/common.ClientMenu"
  12957. }
  12958. },
  12959. "code": {
  12960. "description": "ID",
  12961. "type": "string"
  12962. },
  12963. "isshow": {
  12964. "description": "是否显示",
  12965. "type": "boolean"
  12966. },
  12967. "remark": {
  12968. "description": "备注",
  12969. "type": "string"
  12970. },
  12971. "rulekey": {
  12972. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  12973. "type": "string"
  12974. },
  12975. "sort": {
  12976. "description": "排序",
  12977. "type": "integer"
  12978. },
  12979. "title": {
  12980. "description": "标题",
  12981. "type": "string"
  12982. },
  12983. "type": {
  12984. "description": "类型,1:菜单 2:按钮",
  12985. "type": "integer"
  12986. },
  12987. "url": {
  12988. "description": "URL",
  12989. "type": "string"
  12990. }
  12991. }
  12992. },
  12993. "common.QueryImageConfigsRsp": {
  12994. "type": "object",
  12995. "required": [
  12996. "configid"
  12997. ],
  12998. "properties": {
  12999. "areauserid": {
  13000. "description": "所属机构ID",
  13001. "type": "integer"
  13002. },
  13003. "configid": {
  13004. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  13005. "type": "integer"
  13006. },
  13007. "createdate": {
  13008. "description": "创建时间",
  13009. "type": "string"
  13010. },
  13011. "creatorid": {
  13012. "description": "创建人",
  13013. "type": "integer"
  13014. },
  13015. "imagepath": {
  13016. "description": "图片",
  13017. "type": "string"
  13018. },
  13019. "imagetype": {
  13020. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  13021. "type": "integer"
  13022. },
  13023. "isshow": {
  13024. "description": "是否展示 - 0:不展示 1:展示",
  13025. "type": "integer"
  13026. },
  13027. "marketid": {
  13028. "description": "市场ID",
  13029. "type": "integer"
  13030. },
  13031. "modifierid": {
  13032. "description": "操作人",
  13033. "type": "integer"
  13034. },
  13035. "sort": {
  13036. "description": "排序",
  13037. "type": "integer"
  13038. },
  13039. "title": {
  13040. "description": "标题",
  13041. "type": "string"
  13042. },
  13043. "trademode": {
  13044. "description": "交易模式",
  13045. "type": "integer"
  13046. },
  13047. "updatedate": {
  13048. "description": "修改时间",
  13049. "type": "string"
  13050. },
  13051. "url": {
  13052. "description": "链接(地址或商品ID)",
  13053. "type": "string"
  13054. },
  13055. "urltype": {
  13056. "description": "链接类型 - 1:直接地址 2:商品ID",
  13057. "type": "integer"
  13058. }
  13059. }
  13060. },
  13061. "common.QueryNoticeRsp": {
  13062. "type": "object",
  13063. "required": [
  13064. "autoid"
  13065. ],
  13066. "properties": {
  13067. "auditoruserid": {
  13068. "description": "审核人",
  13069. "type": "integer"
  13070. },
  13071. "auditremark": {
  13072. "description": "审核备注",
  13073. "type": "string"
  13074. },
  13075. "audittime": {
  13076. "description": "审核日期",
  13077. "type": "string"
  13078. },
  13079. "autoid": {
  13080. "description": "自增ID",
  13081. "type": "integer"
  13082. },
  13083. "content": {
  13084. "description": "内容",
  13085. "type": "string"
  13086. },
  13087. "createtime": {
  13088. "description": "创建时间",
  13089. "type": "string"
  13090. },
  13091. "creatorid": {
  13092. "description": "建仓人",
  13093. "type": "integer"
  13094. },
  13095. "endtime": {
  13096. "description": "结束时间",
  13097. "type": "string"
  13098. },
  13099. "istop": {
  13100. "description": "是否置顶 - 0:不置顶 1:置顶",
  13101. "type": "integer"
  13102. },
  13103. "msgiconurl": {
  13104. "description": "消息图标Url",
  13105. "type": "string"
  13106. },
  13107. "msgtype": {
  13108. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  13109. "type": "integer"
  13110. },
  13111. "publisher": {
  13112. "description": "消息发布者",
  13113. "type": "string"
  13114. },
  13115. "readed": {
  13116. "description": "是否已读",
  13117. "type": "boolean"
  13118. },
  13119. "scheduletime": {
  13120. "description": "计划发送时间",
  13121. "type": "string"
  13122. },
  13123. "sendtype": {
  13124. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  13125. "type": "integer"
  13126. },
  13127. "sentstatus": {
  13128. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  13129. "type": "integer"
  13130. },
  13131. "title": {
  13132. "description": "标题",
  13133. "type": "string"
  13134. },
  13135. "userid": {
  13136. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  13137. "type": "integer"
  13138. }
  13139. }
  13140. },
  13141. "common.QueryProvincesAndCitiesRsp": {
  13142. "type": "object",
  13143. "properties": {
  13144. "cities": {
  13145. "description": "市",
  13146. "type": "array",
  13147. "items": {
  13148. "$ref": "#/definitions/models.Division"
  13149. }
  13150. },
  13151. "province": {
  13152. "description": "省",
  13153. "type": "object",
  13154. "$ref": "#/definitions/models.Division"
  13155. }
  13156. }
  13157. },
  13158. "common.QueryTableDefineRsp": {
  13159. "type": "object",
  13160. "required": [
  13161. "tablekey"
  13162. ],
  13163. "properties": {
  13164. "columns": {
  13165. "description": "列头信息数组",
  13166. "type": "array",
  13167. "items": {
  13168. "$ref": "#/definitions/models.Tablecolumnconfig"
  13169. }
  13170. },
  13171. "remark": {
  13172. "description": "Remark",
  13173. "type": "string"
  13174. },
  13175. "tabelmenu": {
  13176. "description": "列表菜单",
  13177. "type": "string"
  13178. },
  13179. "tablekey": {
  13180. "description": "列表Key",
  13181. "type": "string"
  13182. },
  13183. "tablename": {
  13184. "description": "列表名称",
  13185. "type": "string"
  13186. },
  13187. "tabletype": {
  13188. "description": "列表类型 - 1:管理端 2:终端",
  13189. "type": "integer"
  13190. }
  13191. }
  13192. },
  13193. "common.QueryTraderMenuRsp": {
  13194. "type": "object",
  13195. "properties": {
  13196. "OperationMenu": {
  13197. "description": "功能菜单",
  13198. "type": "array",
  13199. "items": {
  13200. "$ref": "#/definitions/models.OperationPrimaryMenu"
  13201. }
  13202. },
  13203. "QuoteMenu": {
  13204. "description": "报价牌分类菜单",
  13205. "type": "array",
  13206. "items": {
  13207. "$ref": "#/definitions/models.QuotePrimaryMenu"
  13208. }
  13209. }
  13210. }
  13211. },
  13212. "cptrade.Cptradepositioncancel": {
  13213. "type": "object",
  13214. "required": [
  13215. "cancelid"
  13216. ],
  13217. "properties": {
  13218. "accountid": {
  13219. "description": "申请人账户ID",
  13220. "type": "integer"
  13221. },
  13222. "applystatus": {
  13223. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13224. "type": "integer"
  13225. },
  13226. "applytime": {
  13227. "description": "申请时间",
  13228. "type": "string"
  13229. },
  13230. "cancelid": {
  13231. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  13232. "type": "integer"
  13233. },
  13234. "cancelqty": {
  13235. "description": "注销数量",
  13236. "type": "integer"
  13237. },
  13238. "createtime": {
  13239. "description": "创建时间",
  13240. "type": "string"
  13241. },
  13242. "creatorid": {
  13243. "description": "创建人ID",
  13244. "type": "integer"
  13245. },
  13246. "creatorname": {
  13247. "description": "创建人",
  13248. "type": "string"
  13249. },
  13250. "goodscode": {
  13251. "description": "订单商品代码",
  13252. "type": "string"
  13253. },
  13254. "goodsid": {
  13255. "description": "商品ID",
  13256. "type": "integer"
  13257. },
  13258. "goodsname": {
  13259. "description": "订单商品名称",
  13260. "type": "string"
  13261. },
  13262. "goodunit": {
  13263. "description": "报价单位",
  13264. "type": "string"
  13265. },
  13266. "handlestatus": {
  13267. "description": "处理状态",
  13268. "type": "integer"
  13269. },
  13270. "marketid": {
  13271. "description": "市场ID",
  13272. "type": "integer"
  13273. },
  13274. "marketname": {
  13275. "description": "市场名称",
  13276. "type": "string"
  13277. },
  13278. "tradedate": {
  13279. "description": "交易日(yyyyMMdd)",
  13280. "type": "string"
  13281. },
  13282. "userid": {
  13283. "description": "申请人ID",
  13284. "type": "integer"
  13285. }
  13286. }
  13287. },
  13288. "cptrade.Cptradepresaleapply": {
  13289. "type": "object",
  13290. "required": [
  13291. "applyid"
  13292. ],
  13293. "properties": {
  13294. "accountid": {
  13295. "description": "申请人账户ID",
  13296. "type": "integer"
  13297. },
  13298. "applyid": {
  13299. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  13300. "type": "integer"
  13301. },
  13302. "applyremark": {
  13303. "description": "申请备注",
  13304. "type": "string"
  13305. },
  13306. "applystatus": {
  13307. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13308. "type": "integer"
  13309. },
  13310. "applytime": {
  13311. "description": "申请时间",
  13312. "type": "string"
  13313. },
  13314. "attachmenturl": {
  13315. "description": "附件地址",
  13316. "type": "string"
  13317. },
  13318. "endtime": {
  13319. "description": "预售结束时间",
  13320. "type": "string"
  13321. },
  13322. "goodscode": {
  13323. "description": "商品代码",
  13324. "type": "string"
  13325. },
  13326. "goodsid": {
  13327. "description": "商品ID",
  13328. "type": "integer"
  13329. },
  13330. "goodsname": {
  13331. "description": "商品名称",
  13332. "type": "string"
  13333. },
  13334. "goodunit": {
  13335. "description": "报价单位",
  13336. "type": "string"
  13337. },
  13338. "handlestatus": {
  13339. "description": "处理状态",
  13340. "type": "integer"
  13341. },
  13342. "marketid": {
  13343. "description": "预售市场ID",
  13344. "type": "integer"
  13345. },
  13346. "marketname": {
  13347. "description": "预售市场名称",
  13348. "type": "string"
  13349. },
  13350. "presaleqty": {
  13351. "description": "预售数量",
  13352. "type": "integer"
  13353. },
  13354. "relatedgoodscode": {
  13355. "description": "关联交易合约代码",
  13356. "type": "string"
  13357. },
  13358. "relatedgoodsid": {
  13359. "description": "关联交易合约ID",
  13360. "type": "integer"
  13361. },
  13362. "relatedgoodsname": {
  13363. "description": "关联交易合约名称",
  13364. "type": "string"
  13365. },
  13366. "starttime": {
  13367. "description": "预售开始时间",
  13368. "type": "string"
  13369. },
  13370. "tradedate": {
  13371. "description": "交易日(yyyyMMdd)",
  13372. "type": "string"
  13373. },
  13374. "trademode": {
  13375. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  13376. "type": "integer"
  13377. },
  13378. "userid": {
  13379. "description": "申请人ID",
  13380. "type": "integer"
  13381. }
  13382. }
  13383. },
  13384. "cptrade.Cptradeusergoodsdata": {
  13385. "type": "object",
  13386. "required": [
  13387. "accountid",
  13388. "goodsid"
  13389. ],
  13390. "properties": {
  13391. "EnabledQty": {
  13392. "description": "可用量",
  13393. "type": "integer"
  13394. },
  13395. "GoodsCode": {
  13396. "description": "订单商品代码",
  13397. "type": "string"
  13398. },
  13399. "GoodsName": {
  13400. "description": "订单商品名称",
  13401. "type": "string"
  13402. },
  13403. "WRStandardCode": {
  13404. "description": "仓单标准代码",
  13405. "type": "string"
  13406. },
  13407. "WRStandardName": {
  13408. "description": "仓单标准名称",
  13409. "type": "string"
  13410. },
  13411. "accountid": {
  13412. "description": "账户ID",
  13413. "type": "integer"
  13414. },
  13415. "cancelqty": {
  13416. "description": "注销量",
  13417. "type": "integer"
  13418. },
  13419. "curpresaleqty": {
  13420. "description": "当前预售量",
  13421. "type": "integer"
  13422. },
  13423. "deliveryqty": {
  13424. "description": "交割量",
  13425. "type": "integer"
  13426. },
  13427. "freezeamount": {
  13428. "description": "冻结金额",
  13429. "type": "number"
  13430. },
  13431. "goodsid": {
  13432. "description": "商品ID",
  13433. "type": "integer"
  13434. },
  13435. "goodunit": {
  13436. "description": "报价单位",
  13437. "type": "string"
  13438. },
  13439. "hasspotfreeze": {
  13440. "description": "是否有现货冻结 - 0:否 1:有",
  13441. "type": "integer"
  13442. },
  13443. "inqty": {
  13444. "description": "转入量(总数量)",
  13445. "type": "integer"
  13446. },
  13447. "marketid": {
  13448. "description": "市场ID",
  13449. "type": "integer"
  13450. },
  13451. "presaledamount": {
  13452. "description": "已预售总金额",
  13453. "type": "integer"
  13454. },
  13455. "presaledqty": {
  13456. "description": "已预售量",
  13457. "type": "integer"
  13458. },
  13459. "userid": {
  13460. "description": "用户ID",
  13461. "type": "integer"
  13462. },
  13463. "wrstandardid": {
  13464. "description": "仓单标准ID",
  13465. "type": "integer"
  13466. }
  13467. }
  13468. },
  13469. "cptrade.QueryCPTradeMyBidRsp": {
  13470. "type": "object",
  13471. "required": [
  13472. "accountid",
  13473. "goodsid",
  13474. "marketid",
  13475. "orderid",
  13476. "orderqty",
  13477. "ordertime",
  13478. "tradeprice",
  13479. "tradeqty"
  13480. ],
  13481. "properties": {
  13482. "accountid": {
  13483. "description": "账户ID[报价币种]",
  13484. "type": "integer"
  13485. },
  13486. "goodsid": {
  13487. "description": "商品ID",
  13488. "type": "integer"
  13489. },
  13490. "goodunit": {
  13491. "description": "报价单位",
  13492. "type": "string"
  13493. },
  13494. "marketid": {
  13495. "description": "市场ID",
  13496. "type": "integer"
  13497. },
  13498. "orderid": {
  13499. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13500. "type": "integer"
  13501. },
  13502. "orderprice": {
  13503. "description": "委托价格",
  13504. "type": "number"
  13505. },
  13506. "orderqty": {
  13507. "description": "委托数量",
  13508. "type": "integer"
  13509. },
  13510. "ordertime": {
  13511. "description": "委托时间",
  13512. "type": "string"
  13513. },
  13514. "ordertotalprice": {
  13515. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  13516. "type": "number"
  13517. },
  13518. "ordertotalweight": {
  13519. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  13520. "type": "integer"
  13521. },
  13522. "totaltotalprice": {
  13523. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  13524. "type": "number"
  13525. },
  13526. "tradeprice": {
  13527. "description": "成交价格",
  13528. "type": "number"
  13529. },
  13530. "tradeqty": {
  13531. "description": "成交数量",
  13532. "type": "integer"
  13533. }
  13534. }
  13535. },
  13536. "cptrade.QueryCPTradeOrderDetailRsq": {
  13537. "type": "object",
  13538. "required": [
  13539. "accountid",
  13540. "buildtype",
  13541. "buyorsell",
  13542. "goodsid",
  13543. "marketid",
  13544. "memberuserid",
  13545. "operatetype",
  13546. "orderqty",
  13547. "ordertime",
  13548. "pricemode",
  13549. "strorderid",
  13550. "tradedate",
  13551. "validtype"
  13552. ],
  13553. "properties": {
  13554. "accountid": {
  13555. "description": "账户ID[报价币种]",
  13556. "type": "integer"
  13557. },
  13558. "buildtype": {
  13559. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13560. "type": "integer"
  13561. },
  13562. "buyorsell": {
  13563. "description": "买卖 - 0:买 1:卖",
  13564. "type": "integer"
  13565. },
  13566. "cancelorderid": {
  13567. "description": "撤单单号(撤单时填写)",
  13568. "type": "integer"
  13569. },
  13570. "cancelqty": {
  13571. "description": "撤单数量",
  13572. "type": "integer"
  13573. },
  13574. "clientordertime": {
  13575. "description": "客户端委托时间",
  13576. "type": "string"
  13577. },
  13578. "clientticket": {
  13579. "description": "客户端流水号",
  13580. "type": "string"
  13581. },
  13582. "clienttype": {
  13583. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13584. "type": "integer"
  13585. },
  13586. "closeexchagechargevalue": {
  13587. "description": "平仓交易所手续费设置值",
  13588. "type": "number"
  13589. },
  13590. "closefeealgorithm": {
  13591. "description": "平仓手续费收取方式 1:比率 2:固定",
  13592. "type": "integer"
  13593. },
  13594. "closefreezecharge": {
  13595. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13596. "type": "number"
  13597. },
  13598. "closememberchargevalue": {
  13599. "description": "平仓会员手续费设置值",
  13600. "type": "number"
  13601. },
  13602. "closeqty": {
  13603. "description": "平仓数量(先建后平操作 需要记录)",
  13604. "type": "integer"
  13605. },
  13606. "closetradeqty": {
  13607. "description": "平仓成交数量(先建后平操作,需要记录)",
  13608. "type": "integer"
  13609. },
  13610. "closeunfreezecharge": {
  13611. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13612. "type": "number"
  13613. },
  13614. "delistingtype": {
  13615. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13616. "type": "integer"
  13617. },
  13618. "freezecharge": {
  13619. "description": "冻结手续费",
  13620. "type": "number"
  13621. },
  13622. "freezemargin": {
  13623. "description": "冻结保证金(冻结交易金额)",
  13624. "type": "number"
  13625. },
  13626. "gcaccountid": {
  13627. "description": "账户ID[合约币种]",
  13628. "type": "integer"
  13629. },
  13630. "goodsid": {
  13631. "description": "商品ID",
  13632. "type": "integer"
  13633. },
  13634. "isconfirmexercise": {
  13635. "description": "是否确认行权- 0:否 1:是",
  13636. "type": "integer"
  13637. },
  13638. "ispreexercise": {
  13639. "description": "是否预申报- 0:否 1:是",
  13640. "type": "integer"
  13641. },
  13642. "listingselecttype": {
  13643. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13644. "type": "integer"
  13645. },
  13646. "marginalgorithm": {
  13647. "description": "保证金收取方式 1:比率 2:固定",
  13648. "type": "integer"
  13649. },
  13650. "marginvalue": {
  13651. "description": "即市保证金设置值",
  13652. "type": "number"
  13653. },
  13654. "marketid": {
  13655. "description": "市场ID",
  13656. "type": "integer"
  13657. },
  13658. "marketmaxsub": {
  13659. "description": "市价最大偏移范围",
  13660. "type": "number"
  13661. },
  13662. "memberuserid": {
  13663. "description": "所属会员UserID",
  13664. "type": "integer"
  13665. },
  13666. "openexchagechargevalue": {
  13667. "description": "建仓交易所手续费设置值",
  13668. "type": "number"
  13669. },
  13670. "openfeealgorithm": {
  13671. "description": "建仓手续费收取方式 1:比率 2:固定",
  13672. "type": "integer"
  13673. },
  13674. "openfreezecharge": {
  13675. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13676. "type": "number"
  13677. },
  13678. "openmemberchargevalue": {
  13679. "description": "建仓会员手续费设置值",
  13680. "type": "number"
  13681. },
  13682. "openqty": {
  13683. "description": "开仓数量(先建后平操作,需要记录)",
  13684. "type": "integer"
  13685. },
  13686. "opentradeqty": {
  13687. "description": "开仓成交数量(先建后平操作,需要记录)",
  13688. "type": "integer"
  13689. },
  13690. "openunfreezecharge": {
  13691. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13692. "type": "number"
  13693. },
  13694. "operatetype": {
  13695. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13696. "type": "integer"
  13697. },
  13698. "operatorid": {
  13699. "description": "登录账号(LoginID)",
  13700. "type": "integer"
  13701. },
  13702. "optiontype": {
  13703. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13704. "type": "integer"
  13705. },
  13706. "orderprice": {
  13707. "description": "委托价格",
  13708. "type": "number"
  13709. },
  13710. "orderqty": {
  13711. "description": "委托数量",
  13712. "type": "integer"
  13713. },
  13714. "ordersrc": {
  13715. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13716. "type": "integer"
  13717. },
  13718. "orderstatus": {
  13719. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13720. "type": "integer"
  13721. },
  13722. "ordertime": {
  13723. "description": "委托时间",
  13724. "type": "string"
  13725. },
  13726. "preexerciseprice": {
  13727. "description": "预申报价格",
  13728. "type": "number"
  13729. },
  13730. "premium": {
  13731. "description": "权利金",
  13732. "type": "number"
  13733. },
  13734. "preorderid": {
  13735. "description": "关联预埋单号(止盈止损单时填写)",
  13736. "type": "integer"
  13737. },
  13738. "pricemode": {
  13739. "description": "取价方式 - 1:市价 2: 限价",
  13740. "type": "integer"
  13741. },
  13742. "quoteid": {
  13743. "description": "报价单ID",
  13744. "type": "integer"
  13745. },
  13746. "relatedid": {
  13747. "description": "关联单号(交割单)",
  13748. "type": "integer"
  13749. },
  13750. "retcode": {
  13751. "description": "错误代码",
  13752. "type": "integer"
  13753. },
  13754. "sessionid": {
  13755. "description": "会话ID",
  13756. "type": "integer"
  13757. },
  13758. "strorderid": {
  13759. "description": "委托单号",
  13760. "type": "string"
  13761. },
  13762. "tradedate": {
  13763. "description": "交易日(yyyyMMdd)",
  13764. "type": "string"
  13765. },
  13766. "tradeproperty": {
  13767. "description": "交易属性",
  13768. "type": "integer"
  13769. },
  13770. "tradeqty": {
  13771. "description": "成交数量",
  13772. "type": "integer"
  13773. },
  13774. "unfreezecharge": {
  13775. "description": "解冻手续费",
  13776. "type": "number"
  13777. },
  13778. "unfreezemargin": {
  13779. "description": "解冻保证金",
  13780. "type": "number"
  13781. },
  13782. "updatetime": {
  13783. "description": "更新时间",
  13784. "type": "string"
  13785. },
  13786. "uuid": {
  13787. "description": "发起端唯一id",
  13788. "type": "string"
  13789. },
  13790. "validtime": {
  13791. "description": "有效期限",
  13792. "type": "string"
  13793. },
  13794. "validtype": {
  13795. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13796. "type": "integer"
  13797. },
  13798. "volumetype": {
  13799. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13800. "type": "integer"
  13801. }
  13802. }
  13803. },
  13804. "cptrade.QueryMyCPTradeGoodsRsp": {
  13805. "type": "object",
  13806. "required": [
  13807. "goodscode",
  13808. "goodsid",
  13809. "goodsname",
  13810. "marketid",
  13811. "relatedgoodscode",
  13812. "relatedgoodsname"
  13813. ],
  13814. "properties": {
  13815. "accountid": {
  13816. "description": "卖方账户ID",
  13817. "type": "integer"
  13818. },
  13819. "agreeunit": {
  13820. "description": "合约单位",
  13821. "type": "number"
  13822. },
  13823. "applyid": {
  13824. "description": "关联申请ID",
  13825. "type": "integer"
  13826. },
  13827. "attachmenturl": {
  13828. "description": "附件地址",
  13829. "type": "string"
  13830. },
  13831. "createtime": {
  13832. "description": "创建时间",
  13833. "type": "string"
  13834. },
  13835. "currencyid": {
  13836. "description": "报价货币ID",
  13837. "type": "integer"
  13838. },
  13839. "decimalplace": {
  13840. "description": "报价小数位",
  13841. "type": "integer"
  13842. },
  13843. "endtime": {
  13844. "description": "预售结束时间",
  13845. "type": "string"
  13846. },
  13847. "floorprice": {
  13848. "description": "底价[大宗式竞拍]",
  13849. "type": "number"
  13850. },
  13851. "goodscode": {
  13852. "description": "商品代码(预售)",
  13853. "type": "string"
  13854. },
  13855. "goodsdetail": {
  13856. "description": "详情[大宗]",
  13857. "type": "string"
  13858. },
  13859. "goodsid": {
  13860. "description": "商品ID(自增ID SEQ_GOODS)",
  13861. "type": "integer"
  13862. },
  13863. "goodsname": {
  13864. "description": "商品名称(预售)",
  13865. "type": "string"
  13866. },
  13867. "goodunit": {
  13868. "description": "报价单位",
  13869. "type": "string"
  13870. },
  13871. "goodunitid": {
  13872. "description": "报价单位ID",
  13873. "type": "integer"
  13874. },
  13875. "marketid": {
  13876. "description": "所属市场ID",
  13877. "type": "integer"
  13878. },
  13879. "marketname": {
  13880. "description": "预售市场名称",
  13881. "type": "string"
  13882. },
  13883. "presaledamount": {
  13884. "description": "已预售总金额(预售结束时更新)",
  13885. "type": "number"
  13886. },
  13887. "presaledqty": {
  13888. "description": "已预售量(预售结束时更新)",
  13889. "type": "integer"
  13890. },
  13891. "presalemode": {
  13892. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  13893. "type": "integer"
  13894. },
  13895. "presaleqty": {
  13896. "description": "预售数量",
  13897. "type": "integer"
  13898. },
  13899. "refprice": {
  13900. "description": "参考价格[一口价]",
  13901. "type": "number"
  13902. },
  13903. "relatedgoodscode": {
  13904. "description": "商品代码(订单)",
  13905. "type": "string"
  13906. },
  13907. "relatedgoodsid": {
  13908. "description": "关联交易合约ID",
  13909. "type": "integer"
  13910. },
  13911. "relatedgoodsname": {
  13912. "description": "商品名称(订单)",
  13913. "type": "string"
  13914. },
  13915. "relatedmarketid": {
  13916. "description": "关联交易合约市场ID",
  13917. "type": "integer"
  13918. },
  13919. "sellstatus": {
  13920. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  13921. "type": "integer"
  13922. },
  13923. "startprice": {
  13924. "description": "起拍价[大宗式竞拍]",
  13925. "type": "number"
  13926. },
  13927. "starttime": {
  13928. "description": "预售开始时间",
  13929. "type": "string"
  13930. },
  13931. "tradedate": {
  13932. "description": "交易日(yyyyMMdd)",
  13933. "type": "string"
  13934. },
  13935. "tradeprice": {
  13936. "description": "成交价[大宗]",
  13937. "type": "number"
  13938. },
  13939. "userid": {
  13940. "description": "卖方用户ID",
  13941. "type": "integer"
  13942. }
  13943. }
  13944. },
  13945. "cptrade.QueryPresaleGoodsExRsp": {
  13946. "type": "object",
  13947. "required": [
  13948. "goodsid"
  13949. ],
  13950. "properties": {
  13951. "attachmenturl": {
  13952. "description": "附件地址",
  13953. "type": "string"
  13954. },
  13955. "createtime": {
  13956. "description": "创建时间",
  13957. "type": "string"
  13958. },
  13959. "endtime": {
  13960. "description": "预售结束时间",
  13961. "type": "string"
  13962. },
  13963. "floorprice": {
  13964. "description": "底价[大宗式竞拍]",
  13965. "type": "number"
  13966. },
  13967. "goodsdetail": {
  13968. "description": "详情[大宗]",
  13969. "type": "string"
  13970. },
  13971. "goodsid": {
  13972. "description": "商品ID(预售)",
  13973. "type": "integer"
  13974. },
  13975. "goodunit": {
  13976. "description": "报价单位",
  13977. "type": "string"
  13978. },
  13979. "marketid": {
  13980. "description": "预售市场ID - 根据预售模式选择市场",
  13981. "type": "integer"
  13982. },
  13983. "presaledamount": {
  13984. "description": "已预售总金额(预售结束时更新)",
  13985. "type": "number"
  13986. },
  13987. "presaledqty": {
  13988. "description": "已预售量(预售结束时更新)",
  13989. "type": "integer"
  13990. },
  13991. "presalemode": {
  13992. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  13993. "type": "integer"
  13994. },
  13995. "presaleqty": {
  13996. "description": "预售数量",
  13997. "type": "integer"
  13998. },
  13999. "refprice": {
  14000. "description": "参考价格[一口价]",
  14001. "type": "number"
  14002. },
  14003. "relatedgoodsid": {
  14004. "description": "关联交易合约ID",
  14005. "type": "integer"
  14006. },
  14007. "relatedmarketid": {
  14008. "description": "关联交易合约市场ID",
  14009. "type": "integer"
  14010. },
  14011. "sellstatus": {
  14012. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14013. "type": "integer"
  14014. },
  14015. "startprice": {
  14016. "description": "起拍价[大宗式竞拍]",
  14017. "type": "number"
  14018. },
  14019. "starttime": {
  14020. "description": "预售开始时间",
  14021. "type": "string"
  14022. },
  14023. "tradedate": {
  14024. "description": "交易日(yyyyMMdd)",
  14025. "type": "string"
  14026. },
  14027. "tradeprice": {
  14028. "description": "成交价[大宗]",
  14029. "type": "number"
  14030. }
  14031. }
  14032. },
  14033. "delivery.QueryDeliveryRelationRsp": {
  14034. "type": "object",
  14035. "required": [
  14036. "begindate",
  14037. "enddate",
  14038. "goodsid",
  14039. "mindeliveryqty",
  14040. "xdeliveryratio"
  14041. ],
  14042. "properties": {
  14043. "begindate": {
  14044. "description": "起始日期(yyyyMMdd)",
  14045. "type": "string"
  14046. },
  14047. "buytemplateid": {
  14048. "description": "买履约计划模板ID",
  14049. "type": "integer"
  14050. },
  14051. "deliverygoodscode": {
  14052. "description": "品种代码",
  14053. "type": "string"
  14054. },
  14055. "deliverygoodsid": {
  14056. "description": "交割商品",
  14057. "type": "integer"
  14058. },
  14059. "deliverygoodsname": {
  14060. "description": "品种名称",
  14061. "type": "string"
  14062. },
  14063. "deliverymode": {
  14064. "description": "交割方式 - 1:点选式 2:申报式",
  14065. "type": "integer"
  14066. },
  14067. "deliverypricerule": {
  14068. "description": "交割价规则- 1:行情价 2:建仓价",
  14069. "type": "integer"
  14070. },
  14071. "deliverytype": {
  14072. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  14073. "type": "integer"
  14074. },
  14075. "enddate": {
  14076. "description": "结束日期(yyyyMMdd)",
  14077. "type": "string"
  14078. },
  14079. "enumdicname": {
  14080. "description": "品类单位名称",
  14081. "type": "string"
  14082. },
  14083. "goodscode": {
  14084. "description": "商品代码",
  14085. "type": "string"
  14086. },
  14087. "goodsid": {
  14088. "description": "交易合约ID",
  14089. "type": "integer"
  14090. },
  14091. "goodsname": {
  14092. "description": "商品名称",
  14093. "type": "string"
  14094. },
  14095. "marketid": {
  14096. "description": "市场ID",
  14097. "type": "integer"
  14098. },
  14099. "mindeliveryqty": {
  14100. "description": "最小交割系数(K)",
  14101. "type": "integer"
  14102. },
  14103. "p2deliveryprice": {
  14104. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  14105. "type": "number"
  14106. },
  14107. "p2deliveryratio": {
  14108. "description": "P2合约系数(p)",
  14109. "type": "integer"
  14110. },
  14111. "p2goodsid": {
  14112. "description": "P2合约ID",
  14113. "type": "integer"
  14114. },
  14115. "p2pricemode": {
  14116. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  14117. "type": "integer"
  14118. },
  14119. "pdeliveryprice": {
  14120. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  14121. "type": "number"
  14122. },
  14123. "pdeliveryratio": {
  14124. "description": "P合约系数(n)",
  14125. "type": "integer"
  14126. },
  14127. "pgoodscode": {
  14128. "description": "p合约代码",
  14129. "type": "string"
  14130. },
  14131. "pgoodsid": {
  14132. "description": "P合约ID",
  14133. "type": "integer"
  14134. },
  14135. "ppricemode": {
  14136. "description": "P合约价格方式 - 1:商品价 2:固定值",
  14137. "type": "integer"
  14138. },
  14139. "rratio": {
  14140. "description": "兑换系数(R)",
  14141. "type": "integer"
  14142. },
  14143. "rratio1": {
  14144. "description": "兑换系数(交易合约)(R1)",
  14145. "type": "integer"
  14146. },
  14147. "rratio2": {
  14148. "description": "兑换系数(仓单标准)(R2)",
  14149. "type": "integer"
  14150. },
  14151. "selltemplateid": {
  14152. "description": "卖履约计划模板ID",
  14153. "type": "integer"
  14154. },
  14155. "wrstandardid": {
  14156. "description": "仓单标准ID",
  14157. "type": "integer"
  14158. },
  14159. "xdeliveryratio": {
  14160. "description": "交易合约系数(m)",
  14161. "type": "integer"
  14162. }
  14163. }
  14164. },
  14165. "ermcp.ExposureDetailRsp": {
  14166. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  14167. },
  14168. "ermcp.ExposureHedgePosDetailRsp": {
  14169. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  14170. },
  14171. "ermcp.ExposureHedgePositionRsp": {
  14172. "$ref": "#/definitions/models.ErmcpHedgePosition"
  14173. },
  14174. "ermcp.ExposureSpotDetailRsp": {
  14175. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  14176. },
  14177. "ermcp.ExposureSpotRsp": {
  14178. "$ref": "#/definitions/models.AreaSpotModel"
  14179. },
  14180. "ermcp.HisExposureRsp": {
  14181. "$ref": "#/definitions/models.ErmcpHisExposureS"
  14182. },
  14183. "ermcp.PendingAuditCntRsp": {
  14184. "$ref": "#/definitions/models.ErmcpPendingAudit"
  14185. },
  14186. "ermcp.QryAvalidGPRsp": {
  14187. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  14188. },
  14189. "ermcp.QryBusinessDjRsp": {
  14190. "type": "object",
  14191. "properties": {
  14192. "amount": {
  14193. "description": "点价金额=(点价价格+升贴水)*点价数量",
  14194. "type": "number"
  14195. },
  14196. "applyid": {
  14197. "description": "申请人",
  14198. "type": "string"
  14199. },
  14200. "applyname": {
  14201. "description": "申请人名称",
  14202. "type": "string"
  14203. },
  14204. "applystatus": {
  14205. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14206. "type": "integer"
  14207. },
  14208. "applytime": {
  14209. "description": "申请时间",
  14210. "type": "string"
  14211. },
  14212. "attachurl": {
  14213. "description": "附件",
  14214. "type": "string"
  14215. },
  14216. "auditid": {
  14217. "description": "审核人ID",
  14218. "type": "string"
  14219. },
  14220. "auditname": {
  14221. "description": "审核人名称",
  14222. "type": "string"
  14223. },
  14224. "audittime": {
  14225. "description": "审核时间",
  14226. "type": "string"
  14227. },
  14228. "buyusername": {
  14229. "description": "采购方名称",
  14230. "type": "string"
  14231. },
  14232. "contractno": {
  14233. "description": "合同编号",
  14234. "type": "string"
  14235. },
  14236. "contractstatus": {
  14237. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14238. "type": "integer"
  14239. },
  14240. "contracttype": {
  14241. "description": "现货合同类型 - 1:采购 -1:销售",
  14242. "type": "integer"
  14243. },
  14244. "deliverygoodscode": {
  14245. "description": "现货品种代码",
  14246. "type": "string"
  14247. },
  14248. "deliverygoodsid": {
  14249. "description": "现货商品ID",
  14250. "type": "integer"
  14251. },
  14252. "deliverygoodsname": {
  14253. "description": "现货品种名称",
  14254. "type": "string"
  14255. },
  14256. "enumdicname": {
  14257. "description": "单位名称",
  14258. "type": "string"
  14259. },
  14260. "goodscode": {
  14261. "description": "点价合约",
  14262. "type": "string"
  14263. },
  14264. "goodsname": {
  14265. "description": "商品名称",
  14266. "type": "string"
  14267. },
  14268. "operateapplyid": {
  14269. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14270. "type": "string"
  14271. },
  14272. "operateapplytype": {
  14273. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14274. "type": "integer"
  14275. },
  14276. "pricedPrice": {
  14277. "description": "点价价格(非必填)",
  14278. "type": "number"
  14279. },
  14280. "pricedQty": {
  14281. "description": "点价数量(非必填)",
  14282. "type": "number"
  14283. },
  14284. "pricemove": {
  14285. "description": "升贴水",
  14286. "type": "number"
  14287. },
  14288. "pricetype": {
  14289. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14290. "type": "integer"
  14291. },
  14292. "relatedid": {
  14293. "description": "现货合同ID",
  14294. "type": "string"
  14295. },
  14296. "sellusername": {
  14297. "description": "销售方名字",
  14298. "type": "string"
  14299. },
  14300. "userid": {
  14301. "description": "用户ID",
  14302. "type": "integer"
  14303. },
  14304. "wrstandardcode": {
  14305. "description": "品类代码",
  14306. "type": "string"
  14307. },
  14308. "wrstandardid": {
  14309. "description": "品类id",
  14310. "type": "integer"
  14311. },
  14312. "wrstandardname": {
  14313. "description": "品类名称",
  14314. "type": "string"
  14315. }
  14316. }
  14317. },
  14318. "ermcp.QryBussinessFpRsp": {
  14319. "type": "object",
  14320. "properties": {
  14321. "applyid": {
  14322. "description": "申请人",
  14323. "type": "string"
  14324. },
  14325. "applyname": {
  14326. "description": "申请人名称",
  14327. "type": "string"
  14328. },
  14329. "applystatus": {
  14330. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14331. "type": "integer"
  14332. },
  14333. "applytime": {
  14334. "description": "申请时间",
  14335. "type": "string"
  14336. },
  14337. "attachurl": {
  14338. "description": "附件",
  14339. "type": "string"
  14340. },
  14341. "auditid": {
  14342. "description": "审核人ID",
  14343. "type": "string"
  14344. },
  14345. "auditname": {
  14346. "description": "审核人名称",
  14347. "type": "string"
  14348. },
  14349. "audittime": {
  14350. "description": "审核时间",
  14351. "type": "string"
  14352. },
  14353. "buyusername": {
  14354. "description": "采购方名称",
  14355. "type": "string"
  14356. },
  14357. "contractno": {
  14358. "description": "合同编号",
  14359. "type": "string"
  14360. },
  14361. "contractstatus": {
  14362. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14363. "type": "integer"
  14364. },
  14365. "contracttype": {
  14366. "description": "现货合同类型 - 1:采购 -1:销售",
  14367. "type": "integer"
  14368. },
  14369. "deliverygoodscode": {
  14370. "description": "现货品种代码",
  14371. "type": "string"
  14372. },
  14373. "deliverygoodsid": {
  14374. "description": "现货商品ID",
  14375. "type": "integer"
  14376. },
  14377. "deliverygoodsname": {
  14378. "description": "现货品种名称",
  14379. "type": "string"
  14380. },
  14381. "enumdicname": {
  14382. "description": "单位名称",
  14383. "type": "string"
  14384. },
  14385. "goodscode": {
  14386. "description": "点价合约",
  14387. "type": "string"
  14388. },
  14389. "goodsname": {
  14390. "description": "商品名称",
  14391. "type": "string"
  14392. },
  14393. "invoiceAmount": {
  14394. "description": "已开收票金额(销售为开票,采购为收票)",
  14395. "type": "number"
  14396. },
  14397. "operateapplyid": {
  14398. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14399. "type": "string"
  14400. },
  14401. "operateapplytype": {
  14402. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14403. "type": "integer"
  14404. },
  14405. "pricemove": {
  14406. "description": "升贴水",
  14407. "type": "number"
  14408. },
  14409. "pricetype": {
  14410. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14411. "type": "integer"
  14412. },
  14413. "relatedid": {
  14414. "description": "现货合同ID",
  14415. "type": "string"
  14416. },
  14417. "sellusername": {
  14418. "description": "销售方名字",
  14419. "type": "string"
  14420. },
  14421. "userid": {
  14422. "description": "用户ID",
  14423. "type": "integer"
  14424. },
  14425. "wrstandardcode": {
  14426. "description": "品类代码",
  14427. "type": "string"
  14428. },
  14429. "wrstandardid": {
  14430. "description": "品类id",
  14431. "type": "integer"
  14432. },
  14433. "wrstandardname": {
  14434. "description": "品类名称",
  14435. "type": "string"
  14436. }
  14437. }
  14438. },
  14439. "ermcp.QryBussinessJsExRsp": {
  14440. "type": "object",
  14441. "properties": {
  14442. "applyid": {
  14443. "description": "申请人",
  14444. "type": "string"
  14445. },
  14446. "applyname": {
  14447. "description": "申请人名称",
  14448. "type": "string"
  14449. },
  14450. "applystatus": {
  14451. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14452. "type": "integer"
  14453. },
  14454. "applytime": {
  14455. "description": "申请时间",
  14456. "type": "string"
  14457. },
  14458. "attachurl": {
  14459. "description": "附件",
  14460. "type": "string"
  14461. },
  14462. "auditid": {
  14463. "description": "审核人ID",
  14464. "type": "string"
  14465. },
  14466. "auditname": {
  14467. "description": "审核人名称",
  14468. "type": "string"
  14469. },
  14470. "audittime": {
  14471. "description": "审核时间",
  14472. "type": "string"
  14473. },
  14474. "buyusername": {
  14475. "description": "采购方名称",
  14476. "type": "string"
  14477. },
  14478. "contractno": {
  14479. "description": "合同编号",
  14480. "type": "string"
  14481. },
  14482. "contractstatus": {
  14483. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14484. "type": "integer"
  14485. },
  14486. "contracttype": {
  14487. "description": "现货合同类型 - 1:采购 -1:销售",
  14488. "type": "integer"
  14489. },
  14490. "deliverygoodscode": {
  14491. "description": "现货品种代码",
  14492. "type": "string"
  14493. },
  14494. "deliverygoodsid": {
  14495. "description": "现货商品ID",
  14496. "type": "integer"
  14497. },
  14498. "deliverygoodsname": {
  14499. "description": "现货品种名称",
  14500. "type": "string"
  14501. },
  14502. "enumdicname": {
  14503. "description": "单位名称",
  14504. "type": "string"
  14505. },
  14506. "goodscode": {
  14507. "description": "点价合约",
  14508. "type": "string"
  14509. },
  14510. "goodsname": {
  14511. "description": "商品名称",
  14512. "type": "string"
  14513. },
  14514. "operateapplyid": {
  14515. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14516. "type": "string"
  14517. },
  14518. "operateapplytype": {
  14519. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14520. "type": "integer"
  14521. },
  14522. "pricemove": {
  14523. "description": "升贴水",
  14524. "type": "number"
  14525. },
  14526. "pricetype": {
  14527. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14528. "type": "integer"
  14529. },
  14530. "reckontype": {
  14531. "description": "结算类型",
  14532. "type": "string"
  14533. },
  14534. "reckonvalue": {
  14535. "description": "值",
  14536. "type": "number"
  14537. },
  14538. "relatedid": {
  14539. "description": "现货合同ID",
  14540. "type": "string"
  14541. },
  14542. "sellusername": {
  14543. "description": "销售方名字",
  14544. "type": "string"
  14545. },
  14546. "userid": {
  14547. "description": "用户ID",
  14548. "type": "integer"
  14549. },
  14550. "wrstandardcode": {
  14551. "description": "品类代码",
  14552. "type": "string"
  14553. },
  14554. "wrstandardid": {
  14555. "description": "品类id",
  14556. "type": "integer"
  14557. },
  14558. "wrstandardname": {
  14559. "description": "品类名称",
  14560. "type": "string"
  14561. }
  14562. }
  14563. },
  14564. "ermcp.QryBussinessJsRsp": {
  14565. "type": "object",
  14566. "properties": {
  14567. "addmargin": {
  14568. "description": "追加保证金(非必填)",
  14569. "type": "number"
  14570. },
  14571. "applyid": {
  14572. "description": "申请人",
  14573. "type": "string"
  14574. },
  14575. "applyname": {
  14576. "description": "申请人名称",
  14577. "type": "string"
  14578. },
  14579. "applystatus": {
  14580. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14581. "type": "integer"
  14582. },
  14583. "applytime": {
  14584. "description": "申请时间",
  14585. "type": "string"
  14586. },
  14587. "attachurl": {
  14588. "description": "附件",
  14589. "type": "string"
  14590. },
  14591. "auditid": {
  14592. "description": "审核人ID",
  14593. "type": "string"
  14594. },
  14595. "auditname": {
  14596. "description": "审核人名称",
  14597. "type": "string"
  14598. },
  14599. "audittime": {
  14600. "description": "审核时间",
  14601. "type": "string"
  14602. },
  14603. "buyusername": {
  14604. "description": "采购方名称",
  14605. "type": "string"
  14606. },
  14607. "contractno": {
  14608. "description": "合同编号",
  14609. "type": "string"
  14610. },
  14611. "contractstatus": {
  14612. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14613. "type": "integer"
  14614. },
  14615. "contracttype": {
  14616. "description": "现货合同类型 - 1:采购 -1:销售",
  14617. "type": "integer"
  14618. },
  14619. "decmargin": {
  14620. "description": "减少保证金(非必填)",
  14621. "type": "number"
  14622. },
  14623. "deliverygoodscode": {
  14624. "description": "现货品种代码",
  14625. "type": "string"
  14626. },
  14627. "deliverygoodsid": {
  14628. "description": "现货商品ID",
  14629. "type": "integer"
  14630. },
  14631. "deliverygoodsname": {
  14632. "description": "现货品种名称",
  14633. "type": "string"
  14634. },
  14635. "enumdicname": {
  14636. "description": "单位名称",
  14637. "type": "string"
  14638. },
  14639. "goodscode": {
  14640. "description": "点价合约",
  14641. "type": "string"
  14642. },
  14643. "goodsname": {
  14644. "description": "商品名称",
  14645. "type": "string"
  14646. },
  14647. "operateapplyid": {
  14648. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14649. "type": "string"
  14650. },
  14651. "operateapplytype": {
  14652. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14653. "type": "integer"
  14654. },
  14655. "pricemove": {
  14656. "description": "升贴水",
  14657. "type": "number"
  14658. },
  14659. "pricetype": {
  14660. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14661. "type": "integer"
  14662. },
  14663. "reckonadjustamount": {
  14664. "description": "结算调整金额(非必填)",
  14665. "type": "number"
  14666. },
  14667. "reckonosamount": {
  14668. "description": "结算溢短金额(非必填)",
  14669. "type": "number"
  14670. },
  14671. "reckonotheramount": {
  14672. "description": "结算其他费用(非必填)",
  14673. "type": "number"
  14674. },
  14675. "reckonrealqty": {
  14676. "description": "结算实际数量(非必填)",
  14677. "type": "number"
  14678. },
  14679. "relatedid": {
  14680. "description": "现货合同ID",
  14681. "type": "string"
  14682. },
  14683. "sellusername": {
  14684. "description": "销售方名字",
  14685. "type": "string"
  14686. },
  14687. "userid": {
  14688. "description": "用户ID",
  14689. "type": "integer"
  14690. },
  14691. "wrstandardcode": {
  14692. "description": "品类代码",
  14693. "type": "string"
  14694. },
  14695. "wrstandardid": {
  14696. "description": "品类id",
  14697. "type": "integer"
  14698. },
  14699. "wrstandardname": {
  14700. "description": "品类名称",
  14701. "type": "string"
  14702. }
  14703. }
  14704. },
  14705. "ermcp.QryBussinessKxRsp": {
  14706. "type": "object",
  14707. "properties": {
  14708. "applyid": {
  14709. "description": "申请人",
  14710. "type": "string"
  14711. },
  14712. "applyname": {
  14713. "description": "申请人名称",
  14714. "type": "string"
  14715. },
  14716. "applystatus": {
  14717. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14718. "type": "integer"
  14719. },
  14720. "applytime": {
  14721. "description": "申请时间",
  14722. "type": "string"
  14723. },
  14724. "attachurl": {
  14725. "description": "附件",
  14726. "type": "string"
  14727. },
  14728. "auditid": {
  14729. "description": "审核人ID",
  14730. "type": "string"
  14731. },
  14732. "auditname": {
  14733. "description": "审核人名称",
  14734. "type": "string"
  14735. },
  14736. "audittime": {
  14737. "description": "审核时间",
  14738. "type": "string"
  14739. },
  14740. "buyusername": {
  14741. "description": "采购方名称",
  14742. "type": "string"
  14743. },
  14744. "contractno": {
  14745. "description": "合同编号",
  14746. "type": "string"
  14747. },
  14748. "contractstatus": {
  14749. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14750. "type": "integer"
  14751. },
  14752. "contracttype": {
  14753. "description": "现货合同类型 - 1:采购 -1:销售",
  14754. "type": "integer"
  14755. },
  14756. "deductamount": {
  14757. "description": "退款(非必填)",
  14758. "type": "number"
  14759. },
  14760. "deliverygoodscode": {
  14761. "description": "现货品种代码",
  14762. "type": "string"
  14763. },
  14764. "deliverygoodsid": {
  14765. "description": "现货商品ID",
  14766. "type": "integer"
  14767. },
  14768. "deliverygoodsname": {
  14769. "description": "现货品种名称",
  14770. "type": "string"
  14771. },
  14772. "enumdicname": {
  14773. "description": "单位名称",
  14774. "type": "string"
  14775. },
  14776. "goodscode": {
  14777. "description": "点价合约",
  14778. "type": "string"
  14779. },
  14780. "goodsname": {
  14781. "description": "商品名称",
  14782. "type": "string"
  14783. },
  14784. "kxtype": {
  14785. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  14786. "type": "integer"
  14787. },
  14788. "operateapplyid": {
  14789. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14790. "type": "string"
  14791. },
  14792. "operateapplytype": {
  14793. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14794. "type": "integer"
  14795. },
  14796. "payamount": {
  14797. "description": "收付款(非必填)",
  14798. "type": "number"
  14799. },
  14800. "pricemove": {
  14801. "description": "升贴水",
  14802. "type": "number"
  14803. },
  14804. "pricetype": {
  14805. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14806. "type": "integer"
  14807. },
  14808. "relatedid": {
  14809. "description": "现货合同ID",
  14810. "type": "string"
  14811. },
  14812. "sellusername": {
  14813. "description": "销售方名字",
  14814. "type": "string"
  14815. },
  14816. "userid": {
  14817. "description": "用户ID",
  14818. "type": "integer"
  14819. },
  14820. "wrstandardcode": {
  14821. "description": "品类代码",
  14822. "type": "string"
  14823. },
  14824. "wrstandardid": {
  14825. "description": "品类id",
  14826. "type": "integer"
  14827. },
  14828. "wrstandardname": {
  14829. "description": "品类名称",
  14830. "type": "string"
  14831. }
  14832. }
  14833. },
  14834. "ermcp.QryGGCovertCfgRsp": {
  14835. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  14836. },
  14837. "ermcp.QryMGChangeLogRsp": {
  14838. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  14839. },
  14840. "ermcp.QryMiddleGoodsDetailRsp": {
  14841. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  14842. },
  14843. "ermcp.QryMiddleGoodsRsp": {
  14844. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14845. },
  14846. "ermcp.QryOPLogRsp": {
  14847. "$ref": "#/definitions/models.ErmcpOPLogModel"
  14848. },
  14849. "ermcp.QryUserInfoRsp": {
  14850. "$ref": "#/definitions/models.ErmcpUserModel"
  14851. },
  14852. "ermcp.QryWarehouseRsp": {
  14853. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  14854. },
  14855. "ermcp.QueryErmcpTradePositionRsp": {
  14856. "type": "object",
  14857. "properties": {
  14858. "agreeunit": {
  14859. "description": "合约单位",
  14860. "type": "number"
  14861. },
  14862. "buyorsell": {
  14863. "description": "方向 - 0:买 1:卖",
  14864. "type": "integer"
  14865. },
  14866. "curpositionqty": {
  14867. "description": "持仓(总仓数量, 期末头寸)",
  14868. "type": "integer"
  14869. },
  14870. "curtdposition": {
  14871. "description": "今仓数量(期末今日头寸)",
  14872. "type": "integer"
  14873. },
  14874. "curtdpositionenabled": {
  14875. "description": "今仓可用",
  14876. "type": "integer"
  14877. },
  14878. "decimalplace": {
  14879. "description": "报价小数位",
  14880. "type": "integer"
  14881. },
  14882. "enableqty": {
  14883. "description": "可用(总仓可用)",
  14884. "type": "integer"
  14885. },
  14886. "exexchangename": {
  14887. "description": "外部交易所名称",
  14888. "type": "string"
  14889. },
  14890. "goodscode": {
  14891. "description": "商品代码(内部)",
  14892. "type": "string"
  14893. },
  14894. "goodsid": {
  14895. "description": "商品ID(自增ID SEQ_GOODS)",
  14896. "type": "integer"
  14897. },
  14898. "goodsname": {
  14899. "description": "商品名称",
  14900. "type": "string"
  14901. },
  14902. "last": {
  14903. "description": "现价",
  14904. "type": "number"
  14905. },
  14906. "marketid": {
  14907. "description": "所属市场ID",
  14908. "type": "integer"
  14909. },
  14910. "openaverageprice": {
  14911. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  14912. "type": "number"
  14913. },
  14914. "opencost": {
  14915. "description": "开仓成本",
  14916. "type": "number"
  14917. },
  14918. "openpl": {
  14919. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  14920. "type": "number"
  14921. },
  14922. "outgoodscode": {
  14923. "description": "商品代码(外部)",
  14924. "type": "string"
  14925. },
  14926. "positionaverageprice": {
  14927. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  14928. "type": "number"
  14929. },
  14930. "positioncost": {
  14931. "description": "持仓成本",
  14932. "type": "number"
  14933. },
  14934. "positionpl": {
  14935. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  14936. "type": "number"
  14937. },
  14938. "positionplrate": {
  14939. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  14940. "type": "number"
  14941. },
  14942. "usedmargin": {
  14943. "description": "占用保证金",
  14944. "type": "number"
  14945. }
  14946. }
  14947. },
  14948. "ermcp.RealtimeExposurePositionRsp": {
  14949. "$ref": "#/definitions/models.ErmcpExposurePostion"
  14950. },
  14951. "ermcp.RealtimeExposureRsp": {
  14952. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  14953. },
  14954. "erms2.QueryArbitrageStrategyRsp": {
  14955. "type": "object",
  14956. "required": [
  14957. "asapplyid"
  14958. ],
  14959. "properties": {
  14960. "applybasis": {
  14961. "description": "申请基差",
  14962. "type": "number"
  14963. },
  14964. "asapplyid": {
  14965. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  14966. "type": "string"
  14967. },
  14968. "asname": {
  14969. "description": "策略名称",
  14970. "type": "string"
  14971. },
  14972. "asno": {
  14973. "description": "策略编号",
  14974. "type": "string"
  14975. },
  14976. "basischangepl": {
  14977. "description": "基差变动损益[结算更新]",
  14978. "type": "number"
  14979. },
  14980. "biztype": {
  14981. "description": "业务类型 - 1:正向套利 -1:反向套利",
  14982. "type": "integer"
  14983. },
  14984. "closetradedate": {
  14985. "description": "完结交易日(yyyyMMdd)",
  14986. "type": "string"
  14987. },
  14988. "curbasis": {
  14989. "description": "当前基差[结算更新]",
  14990. "type": "number"
  14991. },
  14992. "deliverygoodsid": {
  14993. "description": "现货品种ID",
  14994. "type": "integer"
  14995. },
  14996. "futureavgprice": {
  14997. "description": "期货建仓均价",
  14998. "type": "number"
  14999. },
  15000. "futurecloseamount": {
  15001. "description": "期货平仓金额",
  15002. "type": "number"
  15003. },
  15004. "futurecloseqty": {
  15005. "description": "期货平仓数量",
  15006. "type": "number"
  15007. },
  15008. "futureopenamount": {
  15009. "description": "期货开仓金额",
  15010. "type": "number"
  15011. },
  15012. "futureopenqty": {
  15013. "description": "期货开仓数量",
  15014. "type": "number"
  15015. },
  15016. "futurepl": {
  15017. "description": "期货总盈亏[结算更新]",
  15018. "type": "number"
  15019. },
  15020. "futureqty": {
  15021. "description": "期货持仓数量",
  15022. "type": "number"
  15023. },
  15024. "futurequote": {
  15025. "description": "期货额度",
  15026. "type": "number"
  15027. },
  15028. "goodsgroupid": {
  15029. "description": "期货品种ID",
  15030. "type": "integer"
  15031. },
  15032. "marketid": {
  15033. "description": "市场ID",
  15034. "type": "integer"
  15035. },
  15036. "netexposure": {
  15037. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  15038. "type": "number"
  15039. },
  15040. "netexposurepl": {
  15041. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  15042. "type": "number"
  15043. },
  15044. "netexposurerate": {
  15045. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  15046. "type": "number"
  15047. },
  15048. "openbasis": {
  15049. "description": "建仓基差",
  15050. "type": "number"
  15051. },
  15052. "pricedspotqty": {
  15053. "description": "已定价现货数量",
  15054. "type": "number"
  15055. },
  15056. "pricedspotqtynotax": {
  15057. "description": "已定价现货不含税数量",
  15058. "type": "number"
  15059. },
  15060. "remark": {
  15061. "description": "备注",
  15062. "type": "string"
  15063. },
  15064. "spotavgprice": {
  15065. "description": "现货均价",
  15066. "type": "number"
  15067. },
  15068. "spotbuyamount": {
  15069. "description": "现货采购金额",
  15070. "type": "number"
  15071. },
  15072. "spotbuyqty": {
  15073. "description": "现货采购数量",
  15074. "type": "number"
  15075. },
  15076. "spotpl": {
  15077. "description": "现货总盈亏[结算更新]",
  15078. "type": "number"
  15079. },
  15080. "spotquota": {
  15081. "description": "现货额度",
  15082. "type": "number"
  15083. },
  15084. "spotsellamount": {
  15085. "description": "现货销售金额",
  15086. "type": "number"
  15087. },
  15088. "spotsellqty": {
  15089. "description": "现货销售数量",
  15090. "type": "number"
  15091. },
  15092. "spotusedquota": {
  15093. "description": "现货占用资金",
  15094. "type": "number"
  15095. },
  15096. "strategystatus": {
  15097. "description": "策略状态 - 0:未结束 1:已结束",
  15098. "type": "integer"
  15099. },
  15100. "totalpl": {
  15101. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  15102. "type": "number"
  15103. },
  15104. "tradedate": {
  15105. "description": "交易日(yyyyMMdd)",
  15106. "type": "string"
  15107. },
  15108. "updatetime": {
  15109. "description": "更新时间",
  15110. "type": "string"
  15111. },
  15112. "usedquota": {
  15113. "description": "已占用资金",
  15114. "type": "number"
  15115. },
  15116. "userid": {
  15117. "description": "所属机构",
  15118. "type": "integer"
  15119. }
  15120. }
  15121. },
  15122. "erms2.QueryInnerTradeDetailRsp": {
  15123. "type": "object",
  15124. "required": [
  15125. "asapplyid",
  15126. "buyorsell",
  15127. "goodscode",
  15128. "goodsgroupid",
  15129. "goodsgroupname",
  15130. "goodsname",
  15131. "tradeid"
  15132. ],
  15133. "properties": {
  15134. "accountid": {
  15135. "description": "账号ID",
  15136. "type": "integer"
  15137. },
  15138. "agreeunit": {
  15139. "description": "合约单位",
  15140. "type": "number"
  15141. },
  15142. "asapplyid": {
  15143. "description": "策略申请ID",
  15144. "type": "integer"
  15145. },
  15146. "asname": {
  15147. "description": "策略名称",
  15148. "type": "string"
  15149. },
  15150. "asno": {
  15151. "description": "策略编号",
  15152. "type": "string"
  15153. },
  15154. "buyorsell": {
  15155. "description": "方向 - 0:买 1:卖",
  15156. "type": "integer"
  15157. },
  15158. "channelbuildtype": {
  15159. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  15160. "type": "integer"
  15161. },
  15162. "closetype": {
  15163. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15164. "type": "integer"
  15165. },
  15166. "decimalplace": {
  15167. "description": "报价小数位",
  15168. "type": "integer"
  15169. },
  15170. "detailtype": {
  15171. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  15172. "type": "integer"
  15173. },
  15174. "exexchangecode": {
  15175. "description": "外部交易所代码",
  15176. "type": "string"
  15177. },
  15178. "exexchangename": {
  15179. "description": "外部交易所名称",
  15180. "type": "string"
  15181. },
  15182. "goodscode": {
  15183. "description": "商品代码(合约)",
  15184. "type": "string"
  15185. },
  15186. "goodsgroupid": {
  15187. "description": "商品组ID(品种ID)",
  15188. "type": "integer"
  15189. },
  15190. "goodsgroupname": {
  15191. "description": "商品组名称(品种)",
  15192. "type": "string"
  15193. },
  15194. "goodsid": {
  15195. "description": "商品ID",
  15196. "type": "integer"
  15197. },
  15198. "goodsname": {
  15199. "description": "商品名称(合约)",
  15200. "type": "string"
  15201. },
  15202. "goodunit": {
  15203. "description": "报价单位",
  15204. "type": "string"
  15205. },
  15206. "marketid": {
  15207. "description": "市场ID",
  15208. "type": "integer"
  15209. },
  15210. "orderid": {
  15211. "description": "委托单号",
  15212. "type": "string"
  15213. },
  15214. "outgoodscode": {
  15215. "description": "商品代码(外部)",
  15216. "type": "string"
  15217. },
  15218. "relatedouttradeid": {
  15219. "description": "关联外部成交单ID",
  15220. "type": "string"
  15221. },
  15222. "remark": {
  15223. "description": "备注",
  15224. "type": "string"
  15225. },
  15226. "spotcontractid": {
  15227. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  15228. "type": "integer"
  15229. },
  15230. "spotcontractno": {
  15231. "description": "现货合同编号",
  15232. "type": "string"
  15233. },
  15234. "tradeid": {
  15235. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15236. "type": "string"
  15237. },
  15238. "tradeprice": {
  15239. "description": "成交价格",
  15240. "type": "number"
  15241. },
  15242. "tradeqty": {
  15243. "description": "成交数量",
  15244. "type": "integer"
  15245. },
  15246. "tradetime": {
  15247. "description": "成交时间",
  15248. "type": "string"
  15249. },
  15250. "updatetime": {
  15251. "description": "更新时间",
  15252. "type": "string"
  15253. }
  15254. }
  15255. },
  15256. "erms2.QuerySpotContractRsp": {
  15257. "type": "object",
  15258. "required": [
  15259. "spotcontractid"
  15260. ],
  15261. "properties": {
  15262. "accountid": {
  15263. "description": "资金账户ID",
  15264. "type": "integer"
  15265. },
  15266. "areauserid": {
  15267. "description": "所属机构",
  15268. "type": "integer"
  15269. },
  15270. "closedate": {
  15271. "description": "终止日期",
  15272. "type": "string"
  15273. },
  15274. "closeremark": {
  15275. "description": "结束备注",
  15276. "type": "string"
  15277. },
  15278. "closetradedate": {
  15279. "description": "完结交易日(yyyyMMdd)",
  15280. "type": "string"
  15281. },
  15282. "closetype": {
  15283. "description": "终止类型 - 1:违约 2:提前终止",
  15284. "type": "integer"
  15285. },
  15286. "contractamount": {
  15287. "description": "合同金额",
  15288. "type": "number"
  15289. },
  15290. "contractattachment": {
  15291. "description": "合同附件",
  15292. "type": "string"
  15293. },
  15294. "contractno": {
  15295. "description": "现货合同编号",
  15296. "type": "string"
  15297. },
  15298. "contractqty": {
  15299. "description": "合同数量(数值) (用于计算)",
  15300. "type": "number"
  15301. },
  15302. "contractqtychar": {
  15303. "description": "合同数量\\已订价数量 (用于显示)",
  15304. "type": "string"
  15305. },
  15306. "contractstatus": {
  15307. "description": "合同状态 - 0:未结束 1:已结束",
  15308. "type": "integer"
  15309. },
  15310. "contracttype": {
  15311. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  15312. "type": "integer"
  15313. },
  15314. "customeraccountid": {
  15315. "description": "客户资金账户ID",
  15316. "type": "integer"
  15317. },
  15318. "customeruserid": {
  15319. "description": "客户ID",
  15320. "type": "integer"
  15321. },
  15322. "deliverygoodsdesc": {
  15323. "description": "品种说明",
  15324. "type": "string"
  15325. },
  15326. "deliverygoodsid": {
  15327. "description": "现货品种ID",
  15328. "type": "integer"
  15329. },
  15330. "handlestatus": {
  15331. "description": "处理状态",
  15332. "type": "integer"
  15333. },
  15334. "invoiceatt": {
  15335. "description": "发票附件",
  15336. "type": "string"
  15337. },
  15338. "invoicedatetime": {
  15339. "description": "开收票更新时间",
  15340. "type": "string"
  15341. },
  15342. "invoiceopentime": {
  15343. "description": "开票时间",
  15344. "type": "string"
  15345. },
  15346. "invoiceremark": {
  15347. "description": "发票备注",
  15348. "type": "string"
  15349. },
  15350. "invoicestatus": {
  15351. "description": "开收票状态 - 0:未开票 1:已开票",
  15352. "type": "integer"
  15353. },
  15354. "lastdate": {
  15355. "description": "交货时间",
  15356. "type": "string"
  15357. },
  15358. "marketid": {
  15359. "description": "市场ID",
  15360. "type": "integer"
  15361. },
  15362. "paydatetime": {
  15363. "description": "收付款更新时间",
  15364. "type": "string"
  15365. },
  15366. "payremark": {
  15367. "description": "收付款备注",
  15368. "type": "string"
  15369. },
  15370. "paystatus": {
  15371. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  15372. "type": "integer"
  15373. },
  15374. "positionqty": {
  15375. "description": "头寸数量 - 合同数量去小数部分",
  15376. "type": "integer"
  15377. },
  15378. "producttype": {
  15379. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15380. "type": "integer"
  15381. },
  15382. "relatedqty": {
  15383. "description": "已关联数量",
  15384. "type": "number"
  15385. },
  15386. "relatedstatus": {
  15387. "description": "关联完结状态 - 0:未结束 1:已结束",
  15388. "type": "integer"
  15389. },
  15390. "remark": {
  15391. "description": "备注",
  15392. "type": "string"
  15393. },
  15394. "signdate": {
  15395. "description": "签订日期",
  15396. "type": "string"
  15397. },
  15398. "spotcontractid": {
  15399. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  15400. "type": "string"
  15401. },
  15402. "spotdatetime": {
  15403. "description": "收发货更新时间",
  15404. "type": "string"
  15405. },
  15406. "spotprice": {
  15407. "description": "价格",
  15408. "type": "number"
  15409. },
  15410. "spotremark": {
  15411. "description": "收发货备注",
  15412. "type": "string"
  15413. },
  15414. "spotstatus": {
  15415. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  15416. "type": "integer"
  15417. },
  15418. "tradedate": {
  15419. "description": "交易日(yyyyMMdd)",
  15420. "type": "string"
  15421. },
  15422. "userid": {
  15423. "description": "业务员用户ID",
  15424. "type": "integer"
  15425. },
  15426. "warehouseid": {
  15427. "description": "仓库ID",
  15428. "type": "integer"
  15429. },
  15430. "wrfactortypeid": {
  15431. "description": "仓单要素类型ID",
  15432. "type": "integer"
  15433. },
  15434. "wrstandardid": {
  15435. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15436. "type": "integer"
  15437. }
  15438. }
  15439. },
  15440. "erms3.AddErms2ASApplyReq": {
  15441. "type": "object",
  15442. "required": [
  15443. "asapplyid"
  15444. ],
  15445. "properties": {
  15446. "applybasis": {
  15447. "description": "申请基差",
  15448. "type": "number"
  15449. },
  15450. "applystatus": {
  15451. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15452. "type": "integer"
  15453. },
  15454. "asapplyid": {
  15455. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  15456. "type": "integer"
  15457. },
  15458. "asname": {
  15459. "description": "策略名称",
  15460. "type": "string"
  15461. },
  15462. "asno": {
  15463. "description": "策略编号",
  15464. "type": "string"
  15465. },
  15466. "auditid": {
  15467. "description": "审核人",
  15468. "type": "integer"
  15469. },
  15470. "auditremark": {
  15471. "description": "审核备注",
  15472. "type": "string"
  15473. },
  15474. "audittime": {
  15475. "description": "审核时间",
  15476. "type": "string"
  15477. },
  15478. "biztype": {
  15479. "description": "业务类型 - 1:正向套利 2:反向套利",
  15480. "type": "integer"
  15481. },
  15482. "createtime": {
  15483. "description": "创建时间",
  15484. "type": "string"
  15485. },
  15486. "creatorid": {
  15487. "description": "创建人",
  15488. "type": "integer"
  15489. },
  15490. "deliverygoodsid": {
  15491. "description": "现货品种ID",
  15492. "type": "integer"
  15493. },
  15494. "futurequote": {
  15495. "description": "期货额度",
  15496. "type": "number"
  15497. },
  15498. "goodsgroupid": {
  15499. "description": "期货品种ID",
  15500. "type": "integer"
  15501. },
  15502. "marketid": {
  15503. "description": "市场ID",
  15504. "type": "integer"
  15505. },
  15506. "remark": {
  15507. "description": "备注",
  15508. "type": "string"
  15509. },
  15510. "spotquota": {
  15511. "description": "现货额度",
  15512. "type": "number"
  15513. },
  15514. "tradedate": {
  15515. "description": "交易日(yyyyMMdd)",
  15516. "type": "string"
  15517. },
  15518. "userid": {
  15519. "description": "所属机构",
  15520. "type": "integer"
  15521. }
  15522. }
  15523. },
  15524. "erms3.AddErms2SpotTradeApplyReq": {
  15525. "type": "object",
  15526. "required": [
  15527. "spottradeid"
  15528. ],
  15529. "properties": {
  15530. "applyjsondetail": {
  15531. "description": "申请明细(JSON)",
  15532. "type": "string"
  15533. },
  15534. "applystatus": {
  15535. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15536. "type": "integer"
  15537. },
  15538. "areauserid": {
  15539. "description": "所属机构",
  15540. "type": "integer"
  15541. },
  15542. "auditid": {
  15543. "description": "审核人",
  15544. "type": "integer"
  15545. },
  15546. "auditremark": {
  15547. "description": "审核备注",
  15548. "type": "string"
  15549. },
  15550. "audittime": {
  15551. "description": "审核时间",
  15552. "type": "string"
  15553. },
  15554. "createtime": {
  15555. "description": "创建时间",
  15556. "type": "string"
  15557. },
  15558. "creatorid": {
  15559. "description": "创建人",
  15560. "type": "integer"
  15561. },
  15562. "deliverygoodsid": {
  15563. "description": "现货品种ID",
  15564. "type": "integer"
  15565. },
  15566. "futureaccountid": {
  15567. "description": "期货资金账户",
  15568. "type": "integer"
  15569. },
  15570. "goodsgroupid": {
  15571. "description": "期货品种",
  15572. "type": "integer"
  15573. },
  15574. "marketid": {
  15575. "description": "市场ID",
  15576. "type": "integer"
  15577. },
  15578. "remark": {
  15579. "description": "备注",
  15580. "type": "string"
  15581. },
  15582. "spotaccountid": {
  15583. "description": "现货资金账户",
  15584. "type": "integer"
  15585. },
  15586. "spottradeid": {
  15587. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  15588. "type": "integer"
  15589. },
  15590. "spottradename": {
  15591. "description": "业务名称",
  15592. "type": "string"
  15593. },
  15594. "spottradeno": {
  15595. "description": "业务编号",
  15596. "type": "string"
  15597. },
  15598. "tradedate": {
  15599. "description": "交易日(yyyyMMdd)",
  15600. "type": "string"
  15601. },
  15602. "wrstandardid": {
  15603. "description": "仓单标准ID",
  15604. "type": "integer"
  15605. }
  15606. }
  15607. },
  15608. "erms3.AddSpotContractApplyReq": {
  15609. "type": "object",
  15610. "required": [
  15611. "accountid",
  15612. "areauserid",
  15613. "contractno",
  15614. "contracttype",
  15615. "customeraccountid",
  15616. "customeruserid",
  15617. "details",
  15618. "orimargin",
  15619. "signdate"
  15620. ],
  15621. "properties": {
  15622. "accountid": {
  15623. "description": "资金账户ID",
  15624. "type": "integer"
  15625. },
  15626. "areauserid": {
  15627. "description": "所属机构",
  15628. "type": "integer"
  15629. },
  15630. "contractattachment": {
  15631. "description": "合同附件",
  15632. "type": "string"
  15633. },
  15634. "contractno": {
  15635. "description": "现货合同编号",
  15636. "type": "string"
  15637. },
  15638. "contracttype": {
  15639. "description": "现货合同类型 - 1:采购 -1:销售",
  15640. "type": "integer"
  15641. },
  15642. "creatorid": {
  15643. "description": "申请人",
  15644. "type": "integer"
  15645. },
  15646. "customeraccountid": {
  15647. "description": "客户资金账户ID",
  15648. "type": "integer"
  15649. },
  15650. "customeruserid": {
  15651. "description": "客户ID",
  15652. "type": "integer"
  15653. },
  15654. "details": {
  15655. "description": "明细",
  15656. "type": "array",
  15657. "items": {
  15658. "$ref": "#/definitions/erms3.SoptContractDetail"
  15659. }
  15660. },
  15661. "orimargin": {
  15662. "description": "初始保证金",
  15663. "type": "number"
  15664. },
  15665. "remark": {
  15666. "description": "备注",
  15667. "type": "string"
  15668. },
  15669. "signdate": {
  15670. "description": "签订日期",
  15671. "type": "string"
  15672. }
  15673. }
  15674. },
  15675. "erms3.AddSpotContractApplyRsp": {
  15676. "type": "object",
  15677. "required": [
  15678. "contractno"
  15679. ],
  15680. "properties": {
  15681. "contractno": {
  15682. "description": "现货合同编号",
  15683. "type": "string"
  15684. },
  15685. "spotcontractid": {
  15686. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  15687. "type": "integer"
  15688. }
  15689. }
  15690. },
  15691. "erms3.AddUserInfoApplyReq": {
  15692. "type": "object",
  15693. "required": [
  15694. "userid"
  15695. ],
  15696. "properties": {
  15697. "accountid": {
  15698. "description": "交易系统帐号Id (加密存储)",
  15699. "type": "integer"
  15700. },
  15701. "areacode": {
  15702. "description": "机构代码",
  15703. "type": "string"
  15704. },
  15705. "areaid": {
  15706. "description": "机构Id",
  15707. "type": "integer"
  15708. },
  15709. "attachment1": {
  15710. "description": "附件1",
  15711. "type": "string"
  15712. },
  15713. "attachment2": {
  15714. "description": "附件2",
  15715. "type": "string"
  15716. },
  15717. "attachment3": {
  15718. "description": "附件3",
  15719. "type": "string"
  15720. },
  15721. "attachment4": {
  15722. "description": "附件4",
  15723. "type": "string"
  15724. },
  15725. "attachment5": {
  15726. "description": "附件5",
  15727. "type": "string"
  15728. },
  15729. "auditedby": {
  15730. "description": "审核人",
  15731. "type": "string"
  15732. },
  15733. "auditime": {
  15734. "description": "审核时间",
  15735. "type": "string"
  15736. },
  15737. "auditsrc": {
  15738. "description": "审核来源 - 1:管理端 2:终端",
  15739. "type": "integer"
  15740. },
  15741. "bankaccount": {
  15742. "description": "银行帐号 (加密存储)",
  15743. "type": "string"
  15744. },
  15745. "bankaccountname": {
  15746. "description": "收款人名称",
  15747. "type": "string"
  15748. },
  15749. "bankcardbackphotourl": {
  15750. "description": "银行卡背面照地址",
  15751. "type": "string"
  15752. },
  15753. "bankcardfrontphotourl": {
  15754. "description": "银行卡正面照地址",
  15755. "type": "string"
  15756. },
  15757. "bankid": {
  15758. "description": "银行编码",
  15759. "type": "string"
  15760. },
  15761. "bankname": {
  15762. "description": "银行名称",
  15763. "type": "string"
  15764. },
  15765. "bankpictureurl": {
  15766. "description": "银行卡正面地址",
  15767. "type": "string"
  15768. },
  15769. "biznature": {
  15770. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15771. "type": "integer"
  15772. },
  15773. "bizscope": {
  15774. "description": "企业经营范围(企业)",
  15775. "type": "string"
  15776. },
  15777. "biztype": {
  15778. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  15779. "type": "integer"
  15780. },
  15781. "brokerid": {
  15782. "description": "经纪人ID(加密存储)",
  15783. "type": "string"
  15784. },
  15785. "cardaddress": {
  15786. "description": "证件地址 (加密存储)",
  15787. "type": "string"
  15788. },
  15789. "cardbackphotourl": {
  15790. "description": "背面证件照地址",
  15791. "type": "string"
  15792. },
  15793. "cardfrontphotourl": {
  15794. "description": "正面证件照地址",
  15795. "type": "string"
  15796. },
  15797. "cardnum": {
  15798. "description": "证件号码 (加密存储)",
  15799. "type": "string"
  15800. },
  15801. "cardtype": {
  15802. "description": "证件类型",
  15803. "type": "integer"
  15804. },
  15805. "cityid": {
  15806. "description": "市",
  15807. "type": "integer"
  15808. },
  15809. "company": {
  15810. "description": "公司(个人)",
  15811. "type": "string"
  15812. },
  15813. "contactcardbackphotourl": {
  15814. "description": "联系人证件背面图片地址",
  15815. "type": "string"
  15816. },
  15817. "contactcardfrontphotourl": {
  15818. "description": "联系人证件正面图片地址",
  15819. "type": "string"
  15820. },
  15821. "contactname": {
  15822. "description": "联系人",
  15823. "type": "string"
  15824. },
  15825. "countryid": {
  15826. "description": "国家",
  15827. "type": "integer"
  15828. },
  15829. "createtime": {
  15830. "description": "开户申请时间",
  15831. "type": "string"
  15832. },
  15833. "cusbankid": {
  15834. "description": "签约类型",
  15835. "type": "string"
  15836. },
  15837. "cusbankname": {
  15838. "description": "签约类型名称",
  15839. "type": "string"
  15840. },
  15841. "customername": {
  15842. "description": "客户名称(企业名称)",
  15843. "type": "string"
  15844. },
  15845. "districtid": {
  15846. "description": "地区",
  15847. "type": "integer"
  15848. },
  15849. "email": {
  15850. "description": "Email地址(加密存储)",
  15851. "type": "string"
  15852. },
  15853. "halfbodyphotourl": {
  15854. "description": "半身照地址",
  15855. "type": "string"
  15856. },
  15857. "headurl": {
  15858. "description": "头像地址",
  15859. "type": "string"
  15860. },
  15861. "ipaddress": {
  15862. "description": "IP地址",
  15863. "type": "string"
  15864. },
  15865. "isvalidate": {
  15866. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  15867. "type": "string"
  15868. },
  15869. "legalcardbackphotourl": {
  15870. "description": "法人身份证背面照地址",
  15871. "type": "string"
  15872. },
  15873. "legalcardfrontphotourl": {
  15874. "description": "法人身份证正面照地址",
  15875. "type": "string"
  15876. },
  15877. "legalpersonname": {
  15878. "description": "法人姓名(企业)",
  15879. "type": "string"
  15880. },
  15881. "logincode": {
  15882. "description": "登录帐号 (加密存储)",
  15883. "type": "string"
  15884. },
  15885. "memberareaid": {
  15886. "description": "所属会员ID",
  15887. "type": "integer"
  15888. },
  15889. "mobile2": {
  15890. "description": "手机号码[明文-尚志]",
  15891. "type": "string"
  15892. },
  15893. "mobilephone": {
  15894. "description": "手机号码 (加密存储)",
  15895. "type": "string"
  15896. },
  15897. "modifiedby": {
  15898. "description": "修改人帐号",
  15899. "type": "integer"
  15900. },
  15901. "modifiedtime": {
  15902. "description": "修改时间",
  15903. "type": "string"
  15904. },
  15905. "nickname": {
  15906. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  15907. "type": "string"
  15908. },
  15909. "openmode": {
  15910. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  15911. "type": "integer"
  15912. },
  15913. "otherurl": {
  15914. "description": "其它图片地址[使用分号分隔]",
  15915. "type": "string"
  15916. },
  15917. "postalcode": {
  15918. "description": "邮政编码",
  15919. "type": "string"
  15920. },
  15921. "provinceid": {
  15922. "description": "省",
  15923. "type": "integer"
  15924. },
  15925. "proxystatementurl": {
  15926. "description": "授权委托书",
  15927. "type": "string"
  15928. },
  15929. "qq": {
  15930. "description": "QQ(加密存储",
  15931. "type": "string"
  15932. },
  15933. "referral": {
  15934. "description": "推荐人编码",
  15935. "type": "string"
  15936. },
  15937. "remark": {
  15938. "description": "备注",
  15939. "type": "string"
  15940. },
  15941. "removebeforestatus": {
  15942. "description": "REMOVEBEFORESTATUS",
  15943. "type": "integer"
  15944. },
  15945. "sex": {
  15946. "description": "性别 - 0:女 1:男",
  15947. "type": "integer"
  15948. },
  15949. "signedstatus": {
  15950. "description": "账户一号签签约状态",
  15951. "type": "integer"
  15952. },
  15953. "signpdfurl": {
  15954. "description": "签约pdf文件",
  15955. "type": "string"
  15956. },
  15957. "subbranch": {
  15958. "description": "开户支行",
  15959. "type": "string"
  15960. },
  15961. "taxpayernum": {
  15962. "description": "纳税人识别号",
  15963. "type": "string"
  15964. },
  15965. "telphone": {
  15966. "description": "联系电话(加密存储)",
  15967. "type": "string"
  15968. },
  15969. "userid": {
  15970. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  15971. "type": "integer"
  15972. },
  15973. "userinfotype": {
  15974. "description": "用户信息类型 - 1:个人 2:企业",
  15975. "type": "integer"
  15976. },
  15977. "username": {
  15978. "description": "用户姓名",
  15979. "type": "string"
  15980. },
  15981. "userstate": {
  15982. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15983. "type": "integer"
  15984. },
  15985. "usertype": {
  15986. "description": "用户类型 - 1:投资者 2:机构",
  15987. "type": "integer"
  15988. },
  15989. "videourl": {
  15990. "description": "视频地址",
  15991. "type": "string"
  15992. },
  15993. "wechat": {
  15994. "description": "微信号 (加密存储)",
  15995. "type": "string"
  15996. }
  15997. }
  15998. },
  15999. "erms3.CustomerInfo": {
  16000. "type": "object",
  16001. "required": [
  16002. "userid"
  16003. ],
  16004. "properties": {
  16005. "accountids": {
  16006. "description": "资金账户ID列表",
  16007. "type": "array",
  16008. "items": {
  16009. "type": "integer"
  16010. }
  16011. },
  16012. "customername": {
  16013. "description": "名称(企业名称)",
  16014. "type": "string"
  16015. },
  16016. "mobile": {
  16017. "description": "手机号码",
  16018. "type": "string"
  16019. },
  16020. "userid": {
  16021. "description": "用户ID",
  16022. "type": "integer"
  16023. }
  16024. }
  16025. },
  16026. "erms3.ModifyUserInfoApplyReq": {
  16027. "type": "object",
  16028. "required": [
  16029. "userid"
  16030. ],
  16031. "properties": {
  16032. "accountid": {
  16033. "description": "交易系统帐号Id (加密存储)",
  16034. "type": "integer"
  16035. },
  16036. "areacode": {
  16037. "description": "机构代码",
  16038. "type": "string"
  16039. },
  16040. "areaid": {
  16041. "description": "机构Id",
  16042. "type": "integer"
  16043. },
  16044. "attachment1": {
  16045. "description": "附件1",
  16046. "type": "string"
  16047. },
  16048. "attachment2": {
  16049. "description": "附件2",
  16050. "type": "string"
  16051. },
  16052. "attachment3": {
  16053. "description": "附件3",
  16054. "type": "string"
  16055. },
  16056. "attachment4": {
  16057. "description": "附件4",
  16058. "type": "string"
  16059. },
  16060. "attachment5": {
  16061. "description": "附件5",
  16062. "type": "string"
  16063. },
  16064. "auditedby": {
  16065. "description": "审核人",
  16066. "type": "string"
  16067. },
  16068. "auditime": {
  16069. "description": "审核时间",
  16070. "type": "string"
  16071. },
  16072. "auditsrc": {
  16073. "description": "审核来源 - 1:管理端 2:终端",
  16074. "type": "integer"
  16075. },
  16076. "bankaccount": {
  16077. "description": "银行帐号 (加密存储)",
  16078. "type": "string"
  16079. },
  16080. "bankaccountname": {
  16081. "description": "收款人名称",
  16082. "type": "string"
  16083. },
  16084. "bankcardbackphotourl": {
  16085. "description": "银行卡背面照地址",
  16086. "type": "string"
  16087. },
  16088. "bankcardfrontphotourl": {
  16089. "description": "银行卡正面照地址",
  16090. "type": "string"
  16091. },
  16092. "bankid": {
  16093. "description": "银行编码",
  16094. "type": "string"
  16095. },
  16096. "bankname": {
  16097. "description": "银行名称",
  16098. "type": "string"
  16099. },
  16100. "bankpictureurl": {
  16101. "description": "银行卡正面地址",
  16102. "type": "string"
  16103. },
  16104. "biznature": {
  16105. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16106. "type": "integer"
  16107. },
  16108. "bizscope": {
  16109. "description": "企业经营范围(企业)",
  16110. "type": "string"
  16111. },
  16112. "biztype": {
  16113. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  16114. "type": "integer"
  16115. },
  16116. "brokerid": {
  16117. "description": "经纪人ID(加密存储)",
  16118. "type": "string"
  16119. },
  16120. "cardaddress": {
  16121. "description": "证件地址 (加密存储)",
  16122. "type": "string"
  16123. },
  16124. "cardbackphotourl": {
  16125. "description": "背面证件照地址",
  16126. "type": "string"
  16127. },
  16128. "cardfrontphotourl": {
  16129. "description": "正面证件照地址",
  16130. "type": "string"
  16131. },
  16132. "cardnum": {
  16133. "description": "证件号码 (加密存储)",
  16134. "type": "string"
  16135. },
  16136. "cardtype": {
  16137. "description": "证件类型",
  16138. "type": "integer"
  16139. },
  16140. "cityid": {
  16141. "description": "市",
  16142. "type": "integer"
  16143. },
  16144. "company": {
  16145. "description": "公司(个人)",
  16146. "type": "string"
  16147. },
  16148. "contactcardbackphotourl": {
  16149. "description": "联系人证件背面图片地址",
  16150. "type": "string"
  16151. },
  16152. "contactcardfrontphotourl": {
  16153. "description": "联系人证件正面图片地址",
  16154. "type": "string"
  16155. },
  16156. "contactname": {
  16157. "description": "联系人",
  16158. "type": "string"
  16159. },
  16160. "countryid": {
  16161. "description": "国家",
  16162. "type": "integer"
  16163. },
  16164. "createtime": {
  16165. "description": "开户申请时间",
  16166. "type": "string"
  16167. },
  16168. "cusbankid": {
  16169. "description": "签约类型",
  16170. "type": "string"
  16171. },
  16172. "cusbankname": {
  16173. "description": "签约类型名称",
  16174. "type": "string"
  16175. },
  16176. "customername": {
  16177. "description": "客户名称(企业名称)",
  16178. "type": "string"
  16179. },
  16180. "districtid": {
  16181. "description": "地区",
  16182. "type": "integer"
  16183. },
  16184. "email": {
  16185. "description": "Email地址(加密存储)",
  16186. "type": "string"
  16187. },
  16188. "halfbodyphotourl": {
  16189. "description": "半身照地址",
  16190. "type": "string"
  16191. },
  16192. "headurl": {
  16193. "description": "头像地址",
  16194. "type": "string"
  16195. },
  16196. "ipaddress": {
  16197. "description": "IP地址",
  16198. "type": "string"
  16199. },
  16200. "isvalidate": {
  16201. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  16202. "type": "string"
  16203. },
  16204. "legalcardbackphotourl": {
  16205. "description": "法人身份证背面照地址",
  16206. "type": "string"
  16207. },
  16208. "legalcardfrontphotourl": {
  16209. "description": "法人身份证正面照地址",
  16210. "type": "string"
  16211. },
  16212. "legalpersonname": {
  16213. "description": "法人姓名(企业)",
  16214. "type": "string"
  16215. },
  16216. "logincode": {
  16217. "description": "登录帐号 (加密存储)",
  16218. "type": "string"
  16219. },
  16220. "memberareaid": {
  16221. "description": "所属会员ID",
  16222. "type": "integer"
  16223. },
  16224. "mobile2": {
  16225. "description": "手机号码[明文-尚志]",
  16226. "type": "string"
  16227. },
  16228. "mobilephone": {
  16229. "description": "手机号码 (加密存储)",
  16230. "type": "string"
  16231. },
  16232. "modifiedby": {
  16233. "description": "修改人帐号",
  16234. "type": "integer"
  16235. },
  16236. "modifiedtime": {
  16237. "description": "修改时间",
  16238. "type": "string"
  16239. },
  16240. "nickname": {
  16241. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  16242. "type": "string"
  16243. },
  16244. "openmode": {
  16245. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  16246. "type": "integer"
  16247. },
  16248. "otherurl": {
  16249. "description": "其它图片地址[使用分号分隔]",
  16250. "type": "string"
  16251. },
  16252. "postalcode": {
  16253. "description": "邮政编码",
  16254. "type": "string"
  16255. },
  16256. "provinceid": {
  16257. "description": "省",
  16258. "type": "integer"
  16259. },
  16260. "proxystatementurl": {
  16261. "description": "授权委托书",
  16262. "type": "string"
  16263. },
  16264. "qq": {
  16265. "description": "QQ(加密存储",
  16266. "type": "string"
  16267. },
  16268. "referral": {
  16269. "description": "推荐人编码",
  16270. "type": "string"
  16271. },
  16272. "remark": {
  16273. "description": "备注",
  16274. "type": "string"
  16275. },
  16276. "removebeforestatus": {
  16277. "description": "REMOVEBEFORESTATUS",
  16278. "type": "integer"
  16279. },
  16280. "sex": {
  16281. "description": "性别 - 0:女 1:男",
  16282. "type": "integer"
  16283. },
  16284. "signedstatus": {
  16285. "description": "账户一号签签约状态",
  16286. "type": "integer"
  16287. },
  16288. "signpdfurl": {
  16289. "description": "签约pdf文件",
  16290. "type": "string"
  16291. },
  16292. "subbranch": {
  16293. "description": "开户支行",
  16294. "type": "string"
  16295. },
  16296. "taxpayernum": {
  16297. "description": "纳税人识别号",
  16298. "type": "string"
  16299. },
  16300. "telphone": {
  16301. "description": "联系电话(加密存储)",
  16302. "type": "string"
  16303. },
  16304. "userid": {
  16305. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  16306. "type": "integer"
  16307. },
  16308. "userinfotype": {
  16309. "description": "用户信息类型 - 1:个人 2:企业",
  16310. "type": "integer"
  16311. },
  16312. "username": {
  16313. "description": "用户姓名",
  16314. "type": "string"
  16315. },
  16316. "userstate": {
  16317. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16318. "type": "integer"
  16319. },
  16320. "usertype": {
  16321. "description": "用户类型 - 1:投资者 2:机构",
  16322. "type": "integer"
  16323. },
  16324. "videourl": {
  16325. "description": "视频地址",
  16326. "type": "string"
  16327. },
  16328. "wechat": {
  16329. "description": "微信号 (加密存储)",
  16330. "type": "string"
  16331. }
  16332. }
  16333. },
  16334. "erms3.QryAuditContractRsp": {
  16335. "type": "object",
  16336. "required": [
  16337. "matchcustomername",
  16338. "spotcontractid"
  16339. ],
  16340. "properties": {
  16341. "accountid": {
  16342. "description": "交易员ID",
  16343. "type": "string"
  16344. },
  16345. "applystatus": {
  16346. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16347. "type": "integer"
  16348. },
  16349. "curdeliveryqty": {
  16350. "description": "未交收量",
  16351. "type": "integer"
  16352. },
  16353. "customername": {
  16354. "description": "采购方ID",
  16355. "type": "string"
  16356. },
  16357. "deliverygoodsid": {
  16358. "description": "品种ID",
  16359. "type": "string"
  16360. },
  16361. "deliveryqty": {
  16362. "description": "交收量",
  16363. "type": "integer"
  16364. },
  16365. "enumdicname": {
  16366. "description": "单位名称",
  16367. "type": "string"
  16368. },
  16369. "matchaccountid": {
  16370. "description": "业务员ID",
  16371. "type": "string"
  16372. },
  16373. "matchcustomername": {
  16374. "description": "销售方ID",
  16375. "type": "string"
  16376. },
  16377. "pricedqty": {
  16378. "description": "定价量",
  16379. "type": "number"
  16380. },
  16381. "signdate": {
  16382. "description": "签订日期",
  16383. "type": "string"
  16384. },
  16385. "spotcontractid": {
  16386. "description": "合同ID",
  16387. "type": "string"
  16388. },
  16389. "totaldqty": {
  16390. "description": "合同量",
  16391. "type": "number"
  16392. },
  16393. "unpricedqty": {
  16394. "description": "未定价量",
  16395. "type": "number"
  16396. },
  16397. "wrstandardname": {
  16398. "description": "商品名称",
  16399. "type": "string"
  16400. }
  16401. }
  16402. },
  16403. "erms3.QryPendingBizRsp": {
  16404. "$ref": "#/definitions/models.PendingAuditBizModel"
  16405. },
  16406. "erms3.QueryBusinessInfoRsp": {
  16407. "type": "object",
  16408. "properties": {
  16409. "businessid": {
  16410. "description": "业务ID.",
  16411. "type": "integer"
  16412. },
  16413. "buyamount": {
  16414. "description": "采购额.",
  16415. "type": "number"
  16416. },
  16417. "buyqty": {
  16418. "description": "采购量.",
  16419. "type": "string"
  16420. },
  16421. "futurepl": {
  16422. "description": "期货盈亏.",
  16423. "type": "number"
  16424. },
  16425. "futureqty": {
  16426. "description": "期货敞口.",
  16427. "type": "string"
  16428. },
  16429. "goodsid": {
  16430. "description": "商品名称/商品代码.",
  16431. "type": "string"
  16432. },
  16433. "hedgingqty": {
  16434. "description": "套保量.",
  16435. "type": "string"
  16436. },
  16437. "sellamount": {
  16438. "description": "销售额.",
  16439. "type": "number"
  16440. },
  16441. "sellqty": {
  16442. "description": "销售量.",
  16443. "type": "string"
  16444. },
  16445. "spotmarketvalue": {
  16446. "description": "现货市值.",
  16447. "type": "number"
  16448. },
  16449. "spotpl": {
  16450. "description": "浮动权益.",
  16451. "type": "number"
  16452. },
  16453. "spotqty": {
  16454. "description": "现货量.",
  16455. "type": "string"
  16456. },
  16457. "statu": {
  16458. "description": "状态,0-未结束 1-已结束.",
  16459. "type": "integer"
  16460. },
  16461. "totalpl": {
  16462. "description": "总盈亏.",
  16463. "type": "number"
  16464. },
  16465. "totalqty": {
  16466. "description": "总敞口.",
  16467. "type": "string"
  16468. },
  16469. "type": {
  16470. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  16471. "type": "integer"
  16472. }
  16473. }
  16474. },
  16475. "erms3.QuerySpotContractAppleFormRsp": {
  16476. "type": "object",
  16477. "properties": {
  16478. "goodses": {
  16479. "description": "合约列表",
  16480. "type": "array",
  16481. "items": {
  16482. "$ref": "#/definitions/models.GoodsIDAndName"
  16483. }
  16484. },
  16485. "oppositeusers": {
  16486. "description": "对方账号列表",
  16487. "type": "array",
  16488. "items": {
  16489. "$ref": "#/definitions/erms3.CustomerInfo"
  16490. }
  16491. },
  16492. "ouruser": {
  16493. "description": "我方账号",
  16494. "type": "object",
  16495. "$ref": "#/definitions/erms3.CustomerInfo"
  16496. },
  16497. "warehouseinfos": {
  16498. "description": "仓库信息列表",
  16499. "type": "array",
  16500. "items": {
  16501. "$ref": "#/definitions/models.Warehouseinfo"
  16502. }
  16503. },
  16504. "wrstandards": {
  16505. "description": "仓单标准列表",
  16506. "type": "array",
  16507. "items": {
  16508. "$ref": "#/definitions/models.WRStandardInfo"
  16509. }
  16510. }
  16511. }
  16512. },
  16513. "erms3.QuerySpotContractInfoRsp": {
  16514. "type": "object",
  16515. "properties": {
  16516. "accountid": {
  16517. "description": "表示交易员ID.",
  16518. "type": "integer"
  16519. },
  16520. "curdeliveryqty": {
  16521. "description": "表示未交收量.",
  16522. "type": "number"
  16523. },
  16524. "customername": {
  16525. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  16526. "type": "string"
  16527. },
  16528. "deliverygoodsid": {
  16529. "description": "表示品种ID.",
  16530. "type": "string"
  16531. },
  16532. "deliveryqty": {
  16533. "description": "表示交收量.",
  16534. "type": "number"
  16535. },
  16536. "matchaccountid": {
  16537. "description": "表示业务员ID.",
  16538. "type": "integer"
  16539. },
  16540. "matchcustomername": {
  16541. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  16542. "type": "string"
  16543. },
  16544. "priceqty": {
  16545. "description": "表示定价量.",
  16546. "type": "number"
  16547. },
  16548. "relatedbizid": {
  16549. "description": "表示业务ID.",
  16550. "type": "string"
  16551. },
  16552. "signdate": {
  16553. "description": "表示签订日期.",
  16554. "type": "string"
  16555. },
  16556. "spotcontractid": {
  16557. "description": "合同ID",
  16558. "type": "string"
  16559. },
  16560. "status": {
  16561. "description": "表示状态,0-履约中 1-已完成.",
  16562. "type": "integer"
  16563. },
  16564. "totalqty": {
  16565. "description": "表示合同量.",
  16566. "type": "number"
  16567. },
  16568. "unpricedqty": {
  16569. "description": "表示未定价量.",
  16570. "type": "number"
  16571. },
  16572. "wrstandardname": {
  16573. "description": "表示商品ID.",
  16574. "type": "string"
  16575. }
  16576. }
  16577. },
  16578. "erms3.QueryUserInfoAppliesRsp": {
  16579. "type": "object",
  16580. "required": [
  16581. "userid"
  16582. ],
  16583. "properties": {
  16584. "biznature": {
  16585. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16586. "type": "integer"
  16587. },
  16588. "contactname": {
  16589. "description": "联系人",
  16590. "type": "string"
  16591. },
  16592. "createtime": {
  16593. "description": "开户申请时间",
  16594. "type": "string"
  16595. },
  16596. "userid": {
  16597. "description": "用户ID(自增ID)",
  16598. "type": "integer"
  16599. },
  16600. "userinfotype": {
  16601. "description": "用户信息类型 - 1:个人 2:企业",
  16602. "type": "integer"
  16603. },
  16604. "username": {
  16605. "description": "用户姓名",
  16606. "type": "string"
  16607. },
  16608. "userstate": {
  16609. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16610. "type": "integer"
  16611. }
  16612. }
  16613. },
  16614. "erms3.QueryUserInfosRsp": {
  16615. "type": "object",
  16616. "required": [
  16617. "userid"
  16618. ],
  16619. "properties": {
  16620. "biznature": {
  16621. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16622. "type": "integer"
  16623. },
  16624. "contactname": {
  16625. "description": "联系人",
  16626. "type": "string"
  16627. },
  16628. "customername": {
  16629. "description": "客户名称(企业名称)",
  16630. "type": "string"
  16631. },
  16632. "userid": {
  16633. "description": "用户ID",
  16634. "type": "integer"
  16635. },
  16636. "userinfotype": {
  16637. "description": "用户信息类型 - 1:个人 2:企业",
  16638. "type": "integer"
  16639. },
  16640. "userstatus": {
  16641. "description": "用户状态 - 1:正常 2:注销",
  16642. "type": "integer"
  16643. }
  16644. }
  16645. },
  16646. "erms3.SoptContractDetail": {
  16647. "type": "object",
  16648. "required": [
  16649. "deliverygoodsid",
  16650. "producttype",
  16651. "unitname",
  16652. "warehouseid",
  16653. "wrstandardid",
  16654. "wrstandardname"
  16655. ],
  16656. "properties": {
  16657. "deliverygoodsdesc": {
  16658. "description": "现货品种说明",
  16659. "type": "string"
  16660. },
  16661. "deliverygoodsid": {
  16662. "description": "现货品种ID",
  16663. "type": "integer"
  16664. },
  16665. "deliverygoodsname": {
  16666. "description": "现货品种名称",
  16667. "type": "string"
  16668. },
  16669. "pointdesc": {
  16670. "description": "点价描述",
  16671. "type": "string"
  16672. },
  16673. "producttype": {
  16674. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  16675. "type": "integer"
  16676. },
  16677. "producttypename": {
  16678. "description": "产品类型名称",
  16679. "type": "string"
  16680. },
  16681. "spotPointOrderVoList": {
  16682. "description": "点价列表",
  16683. "type": "array",
  16684. "items": {
  16685. "$ref": "#/definitions/erms3.SpotPointOrder"
  16686. }
  16687. },
  16688. "spotPriceOrderList": {
  16689. "description": "定价列表",
  16690. "type": "array",
  16691. "items": {
  16692. "$ref": "#/definitions/erms3.SpotPriceOrder"
  16693. }
  16694. },
  16695. "unitname": {
  16696. "description": "单位名称",
  16697. "type": "string"
  16698. },
  16699. "warehouseid": {
  16700. "description": "仓库ID",
  16701. "type": "integer"
  16702. },
  16703. "warehousename": {
  16704. "description": "仓库名称",
  16705. "type": "string"
  16706. },
  16707. "wrstandardid": {
  16708. "description": "交易标的ID",
  16709. "type": "integer"
  16710. },
  16711. "wrstandardname": {
  16712. "description": "交易标的名称",
  16713. "type": "string"
  16714. }
  16715. }
  16716. },
  16717. "erms3.SpotPointOrder": {
  16718. "type": "object",
  16719. "required": [
  16720. "basic",
  16721. "goodsid",
  16722. "qty"
  16723. ],
  16724. "properties": {
  16725. "basic": {
  16726. "description": "基差",
  16727. "type": "number"
  16728. },
  16729. "deliveryenddate": {
  16730. "description": "交收结束日期",
  16731. "type": "string"
  16732. },
  16733. "deliverystartdate": {
  16734. "description": "交收开始日期",
  16735. "type": "string"
  16736. },
  16737. "enddate": {
  16738. "description": "点价结束日期",
  16739. "type": "string"
  16740. },
  16741. "goodsid": {
  16742. "description": "商品ID",
  16743. "type": "integer"
  16744. },
  16745. "goodsname": {
  16746. "description": "商品名称",
  16747. "type": "string"
  16748. },
  16749. "qty": {
  16750. "description": "数量",
  16751. "type": "number"
  16752. },
  16753. "startdate": {
  16754. "description": "点价开始日期",
  16755. "type": "string"
  16756. }
  16757. }
  16758. },
  16759. "erms3.SpotPriceOrder": {
  16760. "type": "object",
  16761. "required": [
  16762. "amount",
  16763. "price",
  16764. "qty"
  16765. ],
  16766. "properties": {
  16767. "amount": {
  16768. "description": "金额",
  16769. "type": "number"
  16770. },
  16771. "deliveryenddate": {
  16772. "description": "交收结束日期",
  16773. "type": "string"
  16774. },
  16775. "deliverystartdate": {
  16776. "description": "交收开始日期",
  16777. "type": "string"
  16778. },
  16779. "price": {
  16780. "description": "价格",
  16781. "type": "number"
  16782. },
  16783. "qty": {
  16784. "description": "数量",
  16785. "type": "number"
  16786. }
  16787. }
  16788. },
  16789. "hsby.GetHsbyMyCountRsp": {
  16790. "type": "object",
  16791. "properties": {
  16792. "myCouponCount": {
  16793. "description": "我的优惠卷数量",
  16794. "type": "integer"
  16795. },
  16796. "myOrderDetailListingCount": {
  16797. "description": "我的订单求购中数量",
  16798. "type": "integer"
  16799. },
  16800. "myOrderDetailPreCount": {
  16801. "description": "我的订单抢购中数量",
  16802. "type": "integer"
  16803. },
  16804. "myPackageUnReceiveCount": {
  16805. "description": "我的包裹待收货数量",
  16806. "type": "integer"
  16807. },
  16808. "myPackageUnSendCount": {
  16809. "description": "我的包裹待发货数量",
  16810. "type": "integer"
  16811. },
  16812. "myPayOrderCount": {
  16813. "description": "我的订单待付款数量",
  16814. "type": "integer"
  16815. }
  16816. }
  16817. },
  16818. "hsby.QueryProvincesAndCitiesRsp": {
  16819. "type": "object",
  16820. "properties": {
  16821. "cities": {
  16822. "description": "市",
  16823. "type": "array",
  16824. "items": {
  16825. "$ref": "#/definitions/models.Division"
  16826. }
  16827. },
  16828. "province": {
  16829. "description": "省",
  16830. "type": "object",
  16831. "$ref": "#/definitions/models.Division"
  16832. }
  16833. }
  16834. },
  16835. "models.AreaSpotModel": {
  16836. "type": "object",
  16837. "properties": {
  16838. "areauserid": {
  16839. "description": "所属机构",
  16840. "type": "integer"
  16841. },
  16842. "decreaseqty": {
  16843. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16844. "type": "number"
  16845. },
  16846. "increaseqty": {
  16847. "description": "增加数量=销售计划数量+采购已定价数量",
  16848. "type": "number"
  16849. },
  16850. "oritoalspotqty": {
  16851. "description": "昨日数量",
  16852. "type": "number"
  16853. },
  16854. "totalspotqty": {
  16855. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16856. "type": "number"
  16857. },
  16858. "updatetime": {
  16859. "description": "更新时间",
  16860. "type": "string"
  16861. },
  16862. "wrstandardcode": {
  16863. "description": "现货品种代码",
  16864. "type": "string"
  16865. },
  16866. "wrstandardid": {
  16867. "description": "现货商品ID",
  16868. "type": "integer"
  16869. },
  16870. "wrstandardname": {
  16871. "description": "现货品种",
  16872. "type": "string"
  16873. }
  16874. }
  16875. },
  16876. "models.Arearole": {
  16877. "type": "object",
  16878. "required": [
  16879. "roletype",
  16880. "userid"
  16881. ],
  16882. "properties": {
  16883. "createtime": {
  16884. "description": "创建时间",
  16885. "type": "string"
  16886. },
  16887. "creatorid": {
  16888. "description": "创建人ID",
  16889. "type": "integer"
  16890. },
  16891. "fromuserid": {
  16892. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  16893. "type": "integer"
  16894. },
  16895. "isreturnscore": {
  16896. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  16897. "type": "integer"
  16898. },
  16899. "modifierid": {
  16900. "description": "修改人ID",
  16901. "type": "integer"
  16902. },
  16903. "modifytime": {
  16904. "description": "修改时间",
  16905. "type": "string"
  16906. },
  16907. "orgtype": {
  16908. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  16909. "type": "integer"
  16910. },
  16911. "outuserid": {
  16912. "description": "外部账户[场外期权做市商]",
  16913. "type": "string"
  16914. },
  16915. "parentuserid": {
  16916. "description": "上级组织机构(组织机构)",
  16917. "type": "integer"
  16918. },
  16919. "roletype": {
  16920. "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:门店",
  16921. "type": "integer"
  16922. },
  16923. "rootuserid": {
  16924. "description": "顶级组织机构用户ID(组织机构)",
  16925. "type": "integer"
  16926. },
  16927. "shoppassword": {
  16928. "description": "商城店铺登陆密码(商城店铺角色使用)",
  16929. "type": "string"
  16930. },
  16931. "sublevelpath": {
  16932. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  16933. "type": "string"
  16934. },
  16935. "suborgtype": {
  16936. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  16937. "type": "integer"
  16938. },
  16939. "tradeaccountid": {
  16940. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  16941. "type": "integer"
  16942. },
  16943. "transurl": {
  16944. "description": "物流地址(物流机构)",
  16945. "type": "string"
  16946. },
  16947. "userid": {
  16948. "description": "机构用户ID其他做市关系,都设置为 1",
  16949. "type": "integer"
  16950. }
  16951. }
  16952. },
  16953. "models.Clientfixedadconfig": {
  16954. "type": "object",
  16955. "required": [
  16956. "adsort",
  16957. "adtype"
  16958. ],
  16959. "properties": {
  16960. "adsort": {
  16961. "description": "排序",
  16962. "type": "integer"
  16963. },
  16964. "adtype": {
  16965. "description": "广告位类型 - 1:新品抢购(HSBY)",
  16966. "type": "integer"
  16967. },
  16968. "areauserid": {
  16969. "description": "所属机构ID",
  16970. "type": "integer"
  16971. },
  16972. "createdate": {
  16973. "description": "创建时间",
  16974. "type": "string"
  16975. },
  16976. "creatorid": {
  16977. "description": "创建人",
  16978. "type": "integer"
  16979. },
  16980. "imagepath": {
  16981. "description": "图片",
  16982. "type": "string"
  16983. },
  16984. "isshow": {
  16985. "description": "是否展示 - 0:不展示 1:展示",
  16986. "type": "integer"
  16987. },
  16988. "modifierid": {
  16989. "description": "操作人",
  16990. "type": "integer"
  16991. },
  16992. "recsize": {
  16993. "description": "推荐尺寸",
  16994. "type": "string"
  16995. },
  16996. "title": {
  16997. "description": "标题",
  16998. "type": "string"
  16999. },
  17000. "updatedate": {
  17001. "description": "更新时间",
  17002. "type": "string"
  17003. },
  17004. "urlcontent": {
  17005. "description": "链接(地址或商品ID)",
  17006. "type": "string"
  17007. },
  17008. "urltype": {
  17009. "description": "链接类型 - 1:直接地址 2:商品ID",
  17010. "type": "integer"
  17011. }
  17012. }
  17013. },
  17014. "models.Division": {
  17015. "type": "object",
  17016. "required": [
  17017. "autoid",
  17018. "divisioncode"
  17019. ],
  17020. "properties": {
  17021. "autoid": {
  17022. "description": "自增ID",
  17023. "type": "integer"
  17024. },
  17025. "divisioncode": {
  17026. "description": "行政代码",
  17027. "type": "string"
  17028. },
  17029. "divisionlevel": {
  17030. "description": "行政级别",
  17031. "type": "string"
  17032. },
  17033. "divisionname": {
  17034. "description": "行政名称",
  17035. "type": "string"
  17036. },
  17037. "modifierid": {
  17038. "description": "修改人",
  17039. "type": "integer"
  17040. },
  17041. "modifytime": {
  17042. "description": "修改时间",
  17043. "type": "string"
  17044. },
  17045. "parentcode": {
  17046. "description": "上级行政代码",
  17047. "type": "string"
  17048. },
  17049. "pathname": {
  17050. "description": "路径名称",
  17051. "type": "string"
  17052. },
  17053. "postcode": {
  17054. "description": "邮政编码",
  17055. "type": "string"
  17056. },
  17057. "separablename": {
  17058. "description": "可拆分的全称",
  17059. "type": "string"
  17060. },
  17061. "shortcode": {
  17062. "description": "地区简码",
  17063. "type": "string"
  17064. }
  17065. }
  17066. },
  17067. "models.Enumdicitem": {
  17068. "type": "object",
  17069. "required": [
  17070. "autoid",
  17071. "enumdiccode",
  17072. "enumdicid",
  17073. "enumitemname"
  17074. ],
  17075. "properties": {
  17076. "autoid": {
  17077. "description": "自增ID",
  17078. "type": "integer"
  17079. },
  17080. "bankmappedvalue": {
  17081. "description": "银行服务对应值",
  17082. "type": "string"
  17083. },
  17084. "enumdiccode": {
  17085. "description": "所属枚举代码",
  17086. "type": "string"
  17087. },
  17088. "enumdicid": {
  17089. "description": "所属枚举ID",
  17090. "type": "integer"
  17091. },
  17092. "enumdicname": {
  17093. "description": "枚举项名称",
  17094. "type": "string"
  17095. },
  17096. "enumitemname": {
  17097. "description": "枚举项值",
  17098. "type": "integer"
  17099. },
  17100. "enumitemstatus": {
  17101. "description": "枚举项状态 - 1.启用 2.不启用",
  17102. "type": "integer"
  17103. },
  17104. "enumitemvalue": {
  17105. "description": "通用值 - [币种通用简写]",
  17106. "type": "string"
  17107. },
  17108. "param1": {
  17109. "description": "参数1[币种:币种小数位]",
  17110. "type": "string"
  17111. },
  17112. "param2": {
  17113. "description": "参数1[币种:币种显示单位]",
  17114. "type": "string"
  17115. },
  17116. "remark": {
  17117. "description": "备注",
  17118. "type": "string"
  17119. }
  17120. }
  17121. },
  17122. "models.Ermcp3AreaSpot": {
  17123. "type": "object",
  17124. "properties": {
  17125. "areauserid": {
  17126. "description": "所属机构",
  17127. "type": "integer"
  17128. },
  17129. "decreaseqty": {
  17130. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17131. "type": "number"
  17132. },
  17133. "deliverygoodscode": {
  17134. "description": "现货品种代码",
  17135. "type": "string"
  17136. },
  17137. "deliverygoodsid": {
  17138. "description": "现货品种id",
  17139. "type": "integer"
  17140. },
  17141. "deliverygoodsname": {
  17142. "description": "现货品种名称",
  17143. "type": "string"
  17144. },
  17145. "enumdicname": {
  17146. "description": "单位名称",
  17147. "type": "string"
  17148. },
  17149. "goodsunitid": {
  17150. "description": "现货品种单位id",
  17151. "type": "integer"
  17152. },
  17153. "increaseqty": {
  17154. "description": "增加数量=销售计划数量+采购已定价数量",
  17155. "type": "number"
  17156. },
  17157. "oritoalspotqty": {
  17158. "description": "昨日数量",
  17159. "type": "number"
  17160. },
  17161. "totalspotqty": {
  17162. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17163. "type": "number"
  17164. },
  17165. "updatetime": {
  17166. "description": "更新时间",
  17167. "type": "string"
  17168. }
  17169. }
  17170. },
  17171. "models.Ermcp3AreaSpotDetail": {
  17172. "type": "object",
  17173. "properties": {
  17174. "contracttype": {
  17175. "description": "合同类型 1-采购 -1-销售",
  17176. "type": "integer"
  17177. },
  17178. "createtime": {
  17179. "description": "创建时间",
  17180. "type": "string"
  17181. },
  17182. "deliverygoodscode": {
  17183. "description": "现货品种代码",
  17184. "type": "string"
  17185. },
  17186. "deliverygoodsid": {
  17187. "description": "现货品种id",
  17188. "type": "integer"
  17189. },
  17190. "deliverygoodsname": {
  17191. "description": "现货品种名称",
  17192. "type": "string"
  17193. },
  17194. "enumdicname": {
  17195. "description": "现货商品单位名称",
  17196. "type": "string"
  17197. },
  17198. "logtype": {
  17199. "description": "记录类型 1-套保 2-现货合同",
  17200. "type": "integer"
  17201. },
  17202. "qty": {
  17203. "description": "数量",
  17204. "type": "number"
  17205. },
  17206. "recordname": {
  17207. "description": "类型名称",
  17208. "type": "string"
  17209. },
  17210. "relatedid": {
  17211. "description": "套保计划ID/现货合同ID",
  17212. "type": "string"
  17213. },
  17214. "relatedno": {
  17215. "description": "编号",
  17216. "type": "string"
  17217. },
  17218. "strtime": {
  17219. "description": "时间",
  17220. "type": "string"
  17221. }
  17222. }
  17223. },
  17224. "models.Ermcp3AreaSpotPLReport": {
  17225. "type": "object",
  17226. "properties": {
  17227. "accountid": {
  17228. "description": "期货账户ID (作废, 默认为0)",
  17229. "type": "integer"
  17230. },
  17231. "accountname": {
  17232. "description": "机构名称",
  17233. "type": "string"
  17234. },
  17235. "actualpl": {
  17236. "description": "现货损益",
  17237. "type": "number"
  17238. },
  17239. "areauserid": {
  17240. "description": "所属机构\\交易用户ID",
  17241. "type": "integer"
  17242. },
  17243. "begindate": {
  17244. "description": "开始交易日",
  17245. "type": "string"
  17246. },
  17247. "biztype": {
  17248. "description": "业务类型 - 1:套保 2:套利",
  17249. "type": "integer"
  17250. },
  17251. "brandname": {
  17252. "description": "品牌名称",
  17253. "type": "string"
  17254. },
  17255. "curamount": {
  17256. "description": "期末额",
  17257. "type": "number"
  17258. },
  17259. "curaverageprice": {
  17260. "description": "期末均价",
  17261. "type": "number"
  17262. },
  17263. "curbuyamount": {
  17264. "description": "期末采购总额",
  17265. "type": "number"
  17266. },
  17267. "curbuyqty": {
  17268. "description": "期末采购总量",
  17269. "type": "number"
  17270. },
  17271. "curmarketvalue": {
  17272. "description": "参考市值(期末市值)",
  17273. "type": "number"
  17274. },
  17275. "curqty": {
  17276. "description": "期末量",
  17277. "type": "number"
  17278. },
  17279. "currencyid": {
  17280. "description": "结算币种ID【原值】",
  17281. "type": "integer"
  17282. },
  17283. "currencyname": {
  17284. "description": "币种名称",
  17285. "type": "string"
  17286. },
  17287. "cursellamount": {
  17288. "description": "期末销售总额",
  17289. "type": "number"
  17290. },
  17291. "cursellqty": {
  17292. "description": "期末销售总量",
  17293. "type": "number"
  17294. },
  17295. "curspotprice": {
  17296. "description": "参考市价(最新价)",
  17297. "type": "number"
  17298. },
  17299. "cycletime": {
  17300. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17301. "type": "string"
  17302. },
  17303. "cycletype": {
  17304. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17305. "type": "integer"
  17306. },
  17307. "deliverygoodscode": {
  17308. "description": "现货商品代码",
  17309. "type": "string"
  17310. },
  17311. "deliverygoodsid": {
  17312. "description": "现货品种ID",
  17313. "type": "integer"
  17314. },
  17315. "deliverygoodsname": {
  17316. "description": "现货商品名称",
  17317. "type": "string"
  17318. },
  17319. "enddate": {
  17320. "description": "结束交易日",
  17321. "type": "string"
  17322. },
  17323. "enumdicname": {
  17324. "description": "现货商品单位名称",
  17325. "type": "string"
  17326. },
  17327. "floatpl": {
  17328. "description": "浮动损益",
  17329. "type": "number"
  17330. },
  17331. "goodsunitid": {
  17332. "description": "现货商品单位id",
  17333. "type": "integer"
  17334. },
  17335. "oriamount": {
  17336. "description": "期初额",
  17337. "type": "number"
  17338. },
  17339. "oriaverageprice": {
  17340. "description": "期初均价",
  17341. "type": "number"
  17342. },
  17343. "oribuyamount": {
  17344. "description": "期初采购总额",
  17345. "type": "number"
  17346. },
  17347. "oribuyqty": {
  17348. "description": "期初采购总量",
  17349. "type": "number"
  17350. },
  17351. "oriqty": {
  17352. "description": "期初量",
  17353. "type": "number"
  17354. },
  17355. "orisellamount": {
  17356. "description": "期初销售总额",
  17357. "type": "number"
  17358. },
  17359. "orisellqty": {
  17360. "description": "期初销售总量",
  17361. "type": "number"
  17362. },
  17363. "reckondate": {
  17364. "description": "日照时期(yyyyMMdd)",
  17365. "type": "string"
  17366. },
  17367. "spotgoodsbrandid": {
  17368. "description": "现货品牌ID",
  17369. "type": "integer"
  17370. },
  17371. "todaybuyamount": {
  17372. "description": "今日采购额(今采购额)",
  17373. "type": "number"
  17374. },
  17375. "todaybuyaverageprice": {
  17376. "description": "今日采购均价",
  17377. "type": "number"
  17378. },
  17379. "todaybuyqty": {
  17380. "description": "今日采购量(今采购量)",
  17381. "type": "number"
  17382. },
  17383. "todayinqty": {
  17384. "description": "今日入库量(今入库量)",
  17385. "type": "number"
  17386. },
  17387. "todayoutqty": {
  17388. "description": "今日出库量(今出库量)",
  17389. "type": "number"
  17390. },
  17391. "todaysellamount": {
  17392. "description": "今日销售额(今销售额)",
  17393. "type": "number"
  17394. },
  17395. "todaysellaverageprice": {
  17396. "description": "今日销售均价",
  17397. "type": "number"
  17398. },
  17399. "todaysellqty": {
  17400. "description": "今日销售量(今销售量)",
  17401. "type": "number"
  17402. },
  17403. "unitid": {
  17404. "description": "品类单位id",
  17405. "type": "integer"
  17406. },
  17407. "unitidname": {
  17408. "description": "品类单位名称",
  17409. "type": "string"
  17410. },
  17411. "updatetime": {
  17412. "description": "更新时间",
  17413. "type": "string"
  17414. },
  17415. "wrfactortypeid": {
  17416. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  17417. "type": "integer"
  17418. },
  17419. "wrstandardcode": {
  17420. "description": "品类代码",
  17421. "type": "string"
  17422. },
  17423. "wrstandardid": {
  17424. "description": "现货品类ID",
  17425. "type": "integer"
  17426. },
  17427. "wrstandardname": {
  17428. "description": "品类名称",
  17429. "type": "string"
  17430. }
  17431. }
  17432. },
  17433. "models.Ermcp3AreaStock": {
  17434. "type": "object",
  17435. "required": [
  17436. "userid"
  17437. ],
  17438. "properties": {
  17439. "brandname": {
  17440. "description": "品牌名称",
  17441. "type": "string"
  17442. },
  17443. "curstock": {
  17444. "description": "期末库存量(今日量)",
  17445. "type": "number"
  17446. },
  17447. "deliverygoodscode": {
  17448. "description": "现货品种代码",
  17449. "type": "string"
  17450. },
  17451. "deliverygoodsid": {
  17452. "description": "现货品种id",
  17453. "type": "integer"
  17454. },
  17455. "deliverygoodsname": {
  17456. "description": "现货品种名称",
  17457. "type": "string"
  17458. },
  17459. "enumdicname": {
  17460. "description": "单位名称",
  17461. "type": "string"
  17462. },
  17463. "goodsunitid": {
  17464. "description": "现货商品单位id",
  17465. "type": "integer"
  17466. },
  17467. "oristock": {
  17468. "description": "期初库存量(昨日量)",
  17469. "type": "number"
  17470. },
  17471. "spotgoodsbrandid": {
  17472. "description": "现货品牌ID",
  17473. "type": "integer"
  17474. },
  17475. "todaybuyinqty": {
  17476. "description": "今日采购入库量",
  17477. "type": "number"
  17478. },
  17479. "todayproduceinqty": {
  17480. "description": "今日生产入库量",
  17481. "type": "number"
  17482. },
  17483. "todayproduceoutqty": {
  17484. "description": "今日生产出库量",
  17485. "type": "number"
  17486. },
  17487. "todayselloutqty": {
  17488. "description": "今日销售出库量",
  17489. "type": "number"
  17490. },
  17491. "unitid": {
  17492. "description": "单位id",
  17493. "type": "integer"
  17494. },
  17495. "updatetime": {
  17496. "description": "更新时间",
  17497. "type": "string"
  17498. },
  17499. "userid": {
  17500. "description": "机构ID",
  17501. "type": "integer"
  17502. },
  17503. "username": {
  17504. "description": "机构名称",
  17505. "type": "string"
  17506. },
  17507. "warehousecode": {
  17508. "description": "仓库代码",
  17509. "type": "string"
  17510. },
  17511. "warehouseinfoid": {
  17512. "description": "仓库ID",
  17513. "type": "string"
  17514. },
  17515. "warehousename": {
  17516. "description": "仓库名称",
  17517. "type": "string"
  17518. },
  17519. "warehousetype": {
  17520. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17521. "type": "integer"
  17522. },
  17523. "wrstandardcode": {
  17524. "description": "品类代码",
  17525. "type": "string"
  17526. },
  17527. "wrstandardid": {
  17528. "description": "品类ID",
  17529. "type": "string"
  17530. },
  17531. "wrstandardname": {
  17532. "description": "品类名称",
  17533. "type": "string"
  17534. }
  17535. }
  17536. },
  17537. "models.Ermcp3AreaStockApply": {
  17538. "type": "object",
  17539. "properties": {
  17540. "applyid": {
  17541. "description": "申请人",
  17542. "type": "integer"
  17543. },
  17544. "applyname": {
  17545. "description": "申请人名称",
  17546. "type": "string"
  17547. },
  17548. "applyremark": {
  17549. "description": "申请备注",
  17550. "type": "string"
  17551. },
  17552. "applysrc": {
  17553. "description": "申请来源 - 1:管理端 2:终端",
  17554. "type": "integer"
  17555. },
  17556. "applystatus": {
  17557. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17558. "type": "integer"
  17559. },
  17560. "applytime": {
  17561. "description": "申请时间",
  17562. "type": "string"
  17563. },
  17564. "auditid": {
  17565. "description": "审核人",
  17566. "type": "integer"
  17567. },
  17568. "auditname": {
  17569. "description": "审核人名称",
  17570. "type": "string"
  17571. },
  17572. "auditremark": {
  17573. "description": "审核备注",
  17574. "type": "string"
  17575. },
  17576. "auditsrc": {
  17577. "description": "审核来源 - 1:管理端 2:终端",
  17578. "type": "integer"
  17579. },
  17580. "audittime": {
  17581. "description": "审核时间",
  17582. "type": "string"
  17583. },
  17584. "audittradedate": {
  17585. "description": "审核交易日(yyyyMMdd)",
  17586. "type": "string"
  17587. },
  17588. "brandname": {
  17589. "description": "品牌名称",
  17590. "type": "string"
  17591. },
  17592. "buynickname": {
  17593. "description": "采购方昵称",
  17594. "type": "string"
  17595. },
  17596. "buyuserid": {
  17597. "description": "采购方userid",
  17598. "type": "integer"
  17599. },
  17600. "buyusername": {
  17601. "description": "采购方名称",
  17602. "type": "string"
  17603. },
  17604. "contractno": {
  17605. "description": "合同编号",
  17606. "type": "string"
  17607. },
  17608. "contractqty": {
  17609. "description": "合同量",
  17610. "type": "number"
  17611. },
  17612. "contracttype": {
  17613. "description": "现货合同类型 - 1:采购 -1:销售",
  17614. "type": "integer"
  17615. },
  17616. "deliverygoodscode": {
  17617. "description": "现货品种代码",
  17618. "type": "string"
  17619. },
  17620. "deliverygoodsid": {
  17621. "description": "现货品种id",
  17622. "type": "integer"
  17623. },
  17624. "deliverygoodsname": {
  17625. "description": "现货品种名称",
  17626. "type": "string"
  17627. },
  17628. "detailjson": {
  17629. "description": "明细数据",
  17630. "type": "string"
  17631. },
  17632. "enumdicname": {
  17633. "description": "现货商品单位名称",
  17634. "type": "string"
  17635. },
  17636. "inoutapplyid": {
  17637. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  17638. "type": "string"
  17639. },
  17640. "inouttype": {
  17641. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17642. "type": "integer"
  17643. },
  17644. "pricetype": {
  17645. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17646. "type": "integer"
  17647. },
  17648. "qty": {
  17649. "description": "数量",
  17650. "type": "number"
  17651. },
  17652. "sellnickname": {
  17653. "description": "销售方昵称",
  17654. "type": "string"
  17655. },
  17656. "selluserid": {
  17657. "description": "销售方userid",
  17658. "type": "integer"
  17659. },
  17660. "sellusername": {
  17661. "description": "销售方名称",
  17662. "type": "string"
  17663. },
  17664. "spotcontractid": {
  17665. "description": "关联现货合同ID",
  17666. "type": "string"
  17667. },
  17668. "spotgoodsbrandid": {
  17669. "description": "现货品牌ID",
  17670. "type": "integer"
  17671. },
  17672. "unitid": {
  17673. "description": "单位id",
  17674. "type": "integer"
  17675. },
  17676. "userid": {
  17677. "description": "机构ID",
  17678. "type": "integer"
  17679. },
  17680. "warehousecode": {
  17681. "description": "仓库代码",
  17682. "type": "string"
  17683. },
  17684. "warehouseinfoid": {
  17685. "description": "现货仓库ID",
  17686. "type": "string"
  17687. },
  17688. "warehousename": {
  17689. "description": "仓库名称",
  17690. "type": "string"
  17691. },
  17692. "warehousetype": {
  17693. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17694. "type": "integer"
  17695. },
  17696. "wrstandardcode": {
  17697. "description": "品类代码",
  17698. "type": "string"
  17699. },
  17700. "wrstandardid": {
  17701. "description": "品类ID",
  17702. "type": "integer"
  17703. },
  17704. "wrstandardname": {
  17705. "description": "品类名称",
  17706. "type": "string"
  17707. }
  17708. }
  17709. },
  17710. "models.Ermcp3AreaStockApplySum": {
  17711. "type": "object",
  17712. "properties": {
  17713. "brandname": {
  17714. "description": "品牌名称",
  17715. "type": "string"
  17716. },
  17717. "inouttype": {
  17718. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17719. "type": "integer"
  17720. },
  17721. "spotcontractid": {
  17722. "description": "关联现货合同ID",
  17723. "type": "string"
  17724. },
  17725. "spotgoodsbrandid": {
  17726. "description": "品牌id",
  17727. "type": "integer"
  17728. },
  17729. "totalqty": {
  17730. "description": "总数量",
  17731. "type": "number"
  17732. },
  17733. "wrstandardid": {
  17734. "description": "品类id",
  17735. "type": "integer"
  17736. },
  17737. "wrstandardname": {
  17738. "description": "品类名称",
  17739. "type": "string"
  17740. }
  17741. }
  17742. },
  17743. "models.Ermcp3AreaStockReportEx": {
  17744. "type": "object",
  17745. "properties": {
  17746. "begindate": {
  17747. "description": "开始交易日",
  17748. "type": "string"
  17749. },
  17750. "brandname": {
  17751. "description": "品牌名称",
  17752. "type": "string"
  17753. },
  17754. "curstock": {
  17755. "description": "期末库存量",
  17756. "type": "number"
  17757. },
  17758. "cycletime": {
  17759. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17760. "type": "string"
  17761. },
  17762. "cycletype": {
  17763. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17764. "type": "integer"
  17765. },
  17766. "deliverygoodscode": {
  17767. "description": "现货品种代码",
  17768. "type": "string"
  17769. },
  17770. "deliverygoodsid": {
  17771. "description": "现货品种id",
  17772. "type": "integer"
  17773. },
  17774. "deliverygoodsname": {
  17775. "description": "现货品种名称",
  17776. "type": "string"
  17777. },
  17778. "diffqty": {
  17779. "description": "库存变化量 = 期末 - 期初",
  17780. "type": "number"
  17781. },
  17782. "enddate": {
  17783. "description": "结束交易日",
  17784. "type": "string"
  17785. },
  17786. "enumdicname": {
  17787. "description": "单位名称",
  17788. "type": "string"
  17789. },
  17790. "goodsunitid": {
  17791. "description": "现货单位id",
  17792. "type": "integer"
  17793. },
  17794. "oristock": {
  17795. "description": "期初库存量",
  17796. "type": "number"
  17797. },
  17798. "reckondate": {
  17799. "description": "日照时期(yyyyMMdd)",
  17800. "type": "string"
  17801. },
  17802. "spotgoodsbrandid": {
  17803. "description": "现货品牌ID",
  17804. "type": "integer"
  17805. },
  17806. "todaybuyinqty": {
  17807. "description": "今采购入库量",
  17808. "type": "number"
  17809. },
  17810. "todayproduceinqty": {
  17811. "description": "今内部入库量",
  17812. "type": "number"
  17813. },
  17814. "todayproduceoutqty": {
  17815. "description": "今内部出库量",
  17816. "type": "number"
  17817. },
  17818. "todayselloutqty": {
  17819. "description": "今销售出库量",
  17820. "type": "number"
  17821. },
  17822. "unbuyinqty": {
  17823. "description": "采购未入库量(数据库未找到相关字段?)",
  17824. "type": "number"
  17825. },
  17826. "unitid": {
  17827. "description": "品类单位id",
  17828. "type": "integer"
  17829. },
  17830. "unselloutqty": {
  17831. "description": "销售未出库量(数据库未找到相关字段?)",
  17832. "type": "number"
  17833. },
  17834. "updatetime": {
  17835. "description": "更新时间",
  17836. "type": "string"
  17837. },
  17838. "userid": {
  17839. "description": "机构ID",
  17840. "type": "integer"
  17841. },
  17842. "username": {
  17843. "description": "机构名称",
  17844. "type": "string"
  17845. },
  17846. "warehousecode": {
  17847. "description": "仓库代码",
  17848. "type": "string"
  17849. },
  17850. "warehouseinfoid": {
  17851. "description": "仓库ID",
  17852. "type": "string"
  17853. },
  17854. "warehousename": {
  17855. "description": "仓库名称",
  17856. "type": "string"
  17857. },
  17858. "warehousetype": {
  17859. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17860. "type": "integer"
  17861. },
  17862. "wrstandardcode": {
  17863. "description": "品类代码",
  17864. "type": "string"
  17865. },
  17866. "wrstandardid": {
  17867. "description": "品类ID",
  17868. "type": "integer"
  17869. },
  17870. "wrstandardname": {
  17871. "description": "品类名称",
  17872. "type": "string"
  17873. }
  17874. }
  17875. },
  17876. "models.Ermcp3ArealSumPL": {
  17877. "type": "object",
  17878. "properties": {
  17879. "accountname": {
  17880. "description": "机构名称",
  17881. "type": "string"
  17882. },
  17883. "areauserid": {
  17884. "description": "所属机构\\交易用户ID",
  17885. "type": "integer"
  17886. },
  17887. "begindate": {
  17888. "description": "开始交易日",
  17889. "type": "string"
  17890. },
  17891. "currencyid": {
  17892. "description": "结算币种ID",
  17893. "type": "integer"
  17894. },
  17895. "currencyname": {
  17896. "description": "币种名称",
  17897. "type": "string"
  17898. },
  17899. "cycletime": {
  17900. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17901. "type": "string"
  17902. },
  17903. "cycletype": {
  17904. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17905. "type": "integer"
  17906. },
  17907. "enddate": {
  17908. "description": "结束交易日",
  17909. "type": "string"
  17910. },
  17911. "enumdicname": {
  17912. "description": "单位名称(套保品种)",
  17913. "type": "string"
  17914. },
  17915. "futureactualpl": {
  17916. "description": "期货损益",
  17917. "type": "number"
  17918. },
  17919. "futurefloatpl": {
  17920. "description": "期货浮动损益",
  17921. "type": "number"
  17922. },
  17923. "goodsunitid": {
  17924. "description": "套保品种单位id",
  17925. "type": "integer"
  17926. },
  17927. "middlegoodscode": {
  17928. "description": "套保品种代码",
  17929. "type": "string"
  17930. },
  17931. "middlegoodsid": {
  17932. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17933. "type": "integer"
  17934. },
  17935. "middlegoodsname": {
  17936. "description": "套保品种名称",
  17937. "type": "string"
  17938. },
  17939. "reckondate": {
  17940. "description": "日照时期(yyyyMMdd)",
  17941. "type": "string"
  17942. },
  17943. "spotactualpl": {
  17944. "description": "现货损益",
  17945. "type": "number"
  17946. },
  17947. "spotfloatpl": {
  17948. "description": "现货浮动损益",
  17949. "type": "number"
  17950. },
  17951. "sumactualpl": {
  17952. "description": "实际损益 = (ActualPL + FutureActualPL)",
  17953. "type": "number"
  17954. },
  17955. "sumpl": {
  17956. "description": "汇总损益",
  17957. "type": "number"
  17958. },
  17959. "updatetime": {
  17960. "description": "更新时间",
  17961. "type": "string"
  17962. }
  17963. }
  17964. },
  17965. "models.Ermcp3Brand": {
  17966. "type": "object",
  17967. "properties": {
  17968. "areauserid": {
  17969. "description": "用户id",
  17970. "type": "integer"
  17971. },
  17972. "brandid": {
  17973. "description": "品牌id",
  17974. "type": "integer"
  17975. },
  17976. "brandname": {
  17977. "description": "品牌名称",
  17978. "type": "string"
  17979. },
  17980. "deliverygoodsid": {
  17981. "description": "品种ID",
  17982. "type": "integer"
  17983. }
  17984. }
  17985. },
  17986. "models.Ermcp3Contract": {
  17987. "type": "object",
  17988. "properties": {
  17989. "accountid": {
  17990. "description": "期货账户id",
  17991. "type": "string"
  17992. },
  17993. "amount": {
  17994. "description": "金额 [1:一口价、3:暂定价]",
  17995. "type": "number"
  17996. },
  17997. "attachment": {
  17998. "description": "附件",
  17999. "type": "string"
  18000. },
  18001. "auditremark": {
  18002. "description": "审核意见",
  18003. "type": "string"
  18004. },
  18005. "audittime": {
  18006. "description": "审核时间",
  18007. "type": "string"
  18008. },
  18009. "biztype": {
  18010. "description": "业务类型 1-套保 2-套利",
  18011. "type": "integer"
  18012. },
  18013. "brandname": {
  18014. "description": "品牌名称",
  18015. "type": "string"
  18016. },
  18017. "buynickname": {
  18018. "description": "销售方昵称",
  18019. "type": "string"
  18020. },
  18021. "buyuserid": {
  18022. "description": "采购方ID",
  18023. "type": "integer"
  18024. },
  18025. "buyusername": {
  18026. "description": "采购方名称",
  18027. "type": "string"
  18028. },
  18029. "contracctstatus": {
  18030. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18031. "type": "integer"
  18032. },
  18033. "contractmargin": {
  18034. "description": "合同保证金",
  18035. "type": "number"
  18036. },
  18037. "contractno": {
  18038. "description": "现货合同编号",
  18039. "type": "string"
  18040. },
  18041. "contracttype": {
  18042. "description": "现货合同类型 - 1:采购 -1:销售",
  18043. "type": "integer"
  18044. },
  18045. "convertfactor": {
  18046. "description": "标仓系数(品类)",
  18047. "type": "number"
  18048. },
  18049. "createtime": {
  18050. "description": "创建时间",
  18051. "type": "string"
  18052. },
  18053. "currencyid": {
  18054. "description": "币种id",
  18055. "type": "integer"
  18056. },
  18057. "currencyname": {
  18058. "description": "币种名称",
  18059. "type": "string"
  18060. },
  18061. "deliveryenddate": {
  18062. "description": "交收期(结束)",
  18063. "type": "string"
  18064. },
  18065. "deliverygoodscode": {
  18066. "description": "现货品种代码",
  18067. "type": "string"
  18068. },
  18069. "deliverygoodsid": {
  18070. "description": "现货品种ID",
  18071. "type": "integer"
  18072. },
  18073. "deliverygoodsname": {
  18074. "description": "现货品种名称",
  18075. "type": "string"
  18076. },
  18077. "deliverystartdate": {
  18078. "description": "交收期(开始)",
  18079. "type": "string"
  18080. },
  18081. "enddate": {
  18082. "description": "点价结束日期 [2:点价 3:暂定价]",
  18083. "type": "string"
  18084. },
  18085. "enumdicname": {
  18086. "description": "单位名称",
  18087. "type": "string"
  18088. },
  18089. "goodscode": {
  18090. "description": "点价合约代码",
  18091. "type": "string"
  18092. },
  18093. "goodsid": {
  18094. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  18095. "type": "integer"
  18096. },
  18097. "goodsname": {
  18098. "description": "点价商品名称",
  18099. "type": "string"
  18100. },
  18101. "margin": {
  18102. "description": "当前保证金",
  18103. "type": "number"
  18104. },
  18105. "meruserid": {
  18106. "description": "跟单员id",
  18107. "type": "integer"
  18108. },
  18109. "meruserlogincode": {
  18110. "description": "跟单员登录代码",
  18111. "type": "string"
  18112. },
  18113. "merusername": {
  18114. "description": "跟单员名称",
  18115. "type": "string"
  18116. },
  18117. "price": {
  18118. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  18119. "type": "number"
  18120. },
  18121. "pricemove": {
  18122. "description": "升贴水 [2:点价 3:暂定价]",
  18123. "type": "number"
  18124. },
  18125. "pricetype": {
  18126. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18127. "type": "integer"
  18128. },
  18129. "producttype": {
  18130. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18131. "type": "integer"
  18132. },
  18133. "qty": {
  18134. "description": "数量",
  18135. "type": "number"
  18136. },
  18137. "remark": {
  18138. "description": "备注",
  18139. "type": "string"
  18140. },
  18141. "saleuserid": {
  18142. "description": "业务员id",
  18143. "type": "integer"
  18144. },
  18145. "saleuserlogincode": {
  18146. "description": "业务员登录代码",
  18147. "type": "string"
  18148. },
  18149. "saleusername": {
  18150. "description": "业务员名称",
  18151. "type": "string"
  18152. },
  18153. "sellnickname": {
  18154. "description": "采购方昵称",
  18155. "type": "string"
  18156. },
  18157. "selluserid": {
  18158. "description": "销售方ID",
  18159. "type": "integer"
  18160. },
  18161. "sellusername": {
  18162. "description": "销售方名称",
  18163. "type": "string"
  18164. },
  18165. "spotcontractid": {
  18166. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  18167. "type": "string"
  18168. },
  18169. "spotgoodsbrandid": {
  18170. "description": "现货品牌ID(DGFactoryItem表的ID)",
  18171. "type": "integer"
  18172. },
  18173. "spotgoodsdesc": {
  18174. "description": "商品型号",
  18175. "type": "string"
  18176. },
  18177. "startdate": {
  18178. "description": "点价开始日期 [2:点价 3:暂定价]",
  18179. "type": "string"
  18180. },
  18181. "tradeuserid": {
  18182. "description": "交易员id",
  18183. "type": "integer"
  18184. },
  18185. "tradeuserlogincode": {
  18186. "description": "交易员登录代码",
  18187. "type": "string"
  18188. },
  18189. "tradeusername": {
  18190. "description": "交易员名称",
  18191. "type": "string"
  18192. },
  18193. "unitid": {
  18194. "description": "单位id(取品类上的单位id)",
  18195. "type": "integer"
  18196. },
  18197. "updatetime": {
  18198. "description": "更新时间",
  18199. "type": "string"
  18200. },
  18201. "userid": {
  18202. "description": "所属机构ID",
  18203. "type": "integer"
  18204. },
  18205. "wrstandardcode": {
  18206. "description": "品类代码",
  18207. "type": "string"
  18208. },
  18209. "wrstandardid": {
  18210. "description": "品类ID",
  18211. "type": "integer"
  18212. },
  18213. "wrstandardname": {
  18214. "description": "品类名称",
  18215. "type": "string"
  18216. }
  18217. }
  18218. },
  18219. "models.Ermcp3ExposureContractDetail": {
  18220. "type": "object",
  18221. "properties": {
  18222. "biztype": {
  18223. "description": "业务类型 1-套保 2-套利",
  18224. "type": "integer"
  18225. },
  18226. "brandname": {
  18227. "description": "品牌名称",
  18228. "type": "string"
  18229. },
  18230. "buyuserid": {
  18231. "description": "采购方id",
  18232. "type": "integer"
  18233. },
  18234. "buyusername": {
  18235. "description": "采购方名称",
  18236. "type": "string"
  18237. },
  18238. "contractno": {
  18239. "description": "合同编号",
  18240. "type": "string"
  18241. },
  18242. "contracttype": {
  18243. "description": "现货合同类型 - 1:采购 -1:销售",
  18244. "type": "integer"
  18245. },
  18246. "convertfactor": {
  18247. "description": "标仓系数",
  18248. "type": "number"
  18249. },
  18250. "convertratio": {
  18251. "description": "折算系数(套保品种)",
  18252. "type": "number"
  18253. },
  18254. "curqty": {
  18255. "description": "今定价量",
  18256. "type": "number"
  18257. },
  18258. "deliverygoodscode": {
  18259. "description": "现货商品代码",
  18260. "type": "string"
  18261. },
  18262. "deliverygoodsid": {
  18263. "description": "现货商品id",
  18264. "type": "integer"
  18265. },
  18266. "deliverygoodsname": {
  18267. "description": "现货商品名称",
  18268. "type": "string"
  18269. },
  18270. "diffhedgeqty": {
  18271. "description": "套保变动量",
  18272. "type": "number"
  18273. },
  18274. "diffneedhedgeqty": {
  18275. "description": "应套保变动量",
  18276. "type": "number"
  18277. },
  18278. "diffqty": {
  18279. "description": "套保品种今变动量",
  18280. "type": "number"
  18281. },
  18282. "enumdicname": {
  18283. "description": "单位名称",
  18284. "type": "string"
  18285. },
  18286. "mgunitname": {
  18287. "description": "套保品种单位名称",
  18288. "type": "string"
  18289. },
  18290. "middlegoodscode": {
  18291. "description": "套保品种代码",
  18292. "type": "string"
  18293. },
  18294. "middlegoodsid": {
  18295. "description": "套保品种id",
  18296. "type": "integer"
  18297. },
  18298. "middlegoodsname": {
  18299. "description": "套保品种名称",
  18300. "type": "string"
  18301. },
  18302. "needarbitrageratio": {
  18303. "description": "应套利比例",
  18304. "type": "number"
  18305. },
  18306. "needhedgeratio": {
  18307. "description": "应套保比例",
  18308. "type": "number"
  18309. },
  18310. "pricedqty": {
  18311. "description": "已定价量",
  18312. "type": "number"
  18313. },
  18314. "qty": {
  18315. "description": "合同量",
  18316. "type": "number"
  18317. },
  18318. "selluserid": {
  18319. "description": "销售方id",
  18320. "type": "integer"
  18321. },
  18322. "sellusername": {
  18323. "description": "销售方名称",
  18324. "type": "string"
  18325. },
  18326. "spotcontractid": {
  18327. "description": "合同id",
  18328. "type": "string"
  18329. },
  18330. "todaypricedqty": {
  18331. "description": "今定价量",
  18332. "type": "number"
  18333. },
  18334. "tradedate": {
  18335. "description": "交易日",
  18336. "type": "string"
  18337. },
  18338. "unitid": {
  18339. "description": "品类单位id",
  18340. "type": "integer"
  18341. },
  18342. "userid": {
  18343. "description": "机构id",
  18344. "type": "integer"
  18345. },
  18346. "username": {
  18347. "description": "交易用户",
  18348. "type": "string"
  18349. },
  18350. "wrstandardcode": {
  18351. "description": "品类代码",
  18352. "type": "string"
  18353. },
  18354. "wrstandardid": {
  18355. "description": "品类id",
  18356. "type": "integer"
  18357. },
  18358. "wrstandardname": {
  18359. "description": "品类名称",
  18360. "type": "string"
  18361. }
  18362. }
  18363. },
  18364. "models.Ermcp3ExposureDetail": {
  18365. "type": "object",
  18366. "properties": {
  18367. "areauserid": {
  18368. "description": "机构ID",
  18369. "type": "integer"
  18370. },
  18371. "changeQty": {
  18372. "description": "套保变动量",
  18373. "type": "number"
  18374. },
  18375. "contracttype": {
  18376. "description": "现货合同类型 - 1:采购 -1:销售",
  18377. "type": "integer"
  18378. },
  18379. "convertfactor": {
  18380. "description": "标仓系数",
  18381. "type": "number"
  18382. },
  18383. "convertratio": {
  18384. "description": "套保系数",
  18385. "type": "number"
  18386. },
  18387. "createtime": {
  18388. "description": "时间",
  18389. "type": "string"
  18390. },
  18391. "deliverygoodscode": {
  18392. "description": "现货品种代码",
  18393. "type": "string"
  18394. },
  18395. "deliverygoodsid": {
  18396. "description": "现货品种id",
  18397. "type": "integer"
  18398. },
  18399. "deliverygoodsname": {
  18400. "description": "现货品种名称",
  18401. "type": "string"
  18402. },
  18403. "enumdicname": {
  18404. "description": "现货商品单位名称",
  18405. "type": "string"
  18406. },
  18407. "logtype": {
  18408. "description": "类型 - 1:套保计划 2:现货合同",
  18409. "type": "integer"
  18410. },
  18411. "mgunitid": {
  18412. "description": "套保品种单位id",
  18413. "type": "integer"
  18414. },
  18415. "mgunitidname": {
  18416. "description": "套保品种单位名称",
  18417. "type": "string"
  18418. },
  18419. "middlegoodsId": {
  18420. "description": "套保商品id",
  18421. "type": "integer"
  18422. },
  18423. "middlegoodscode": {
  18424. "description": "套保商品代码",
  18425. "type": "string"
  18426. },
  18427. "middlegoodsname": {
  18428. "description": "套保商品名称",
  18429. "type": "string"
  18430. },
  18431. "qty": {
  18432. "description": "数量",
  18433. "type": "number"
  18434. },
  18435. "relateNo": {
  18436. "description": "现货合同/套保计划编号",
  18437. "type": "string"
  18438. }
  18439. }
  18440. },
  18441. "models.Ermcp3ExposureFutuDetail": {
  18442. "type": "object",
  18443. "properties": {
  18444. "accountid": {
  18445. "description": "交易账户id",
  18446. "type": "integer"
  18447. },
  18448. "accountname": {
  18449. "description": "交易账户",
  18450. "type": "string"
  18451. },
  18452. "begindate": {
  18453. "description": "开始交易日",
  18454. "type": "string"
  18455. },
  18456. "buyorsell": {
  18457. "description": "方向 0-买 1-卖",
  18458. "type": "integer"
  18459. },
  18460. "diffmgqty": {
  18461. "description": "套保品种今变化量",
  18462. "type": "number"
  18463. },
  18464. "diffneedqty": {
  18465. "description": "应套保总量变化量",
  18466. "type": "number"
  18467. },
  18468. "difftradeqty": {
  18469. "description": "交易品种今变化量",
  18470. "type": "number"
  18471. },
  18472. "enddate": {
  18473. "description": "结束交易日",
  18474. "type": "string"
  18475. },
  18476. "enumdicname": {
  18477. "description": "单位名称",
  18478. "type": "string"
  18479. },
  18480. "goodscode": {
  18481. "description": "商品代码",
  18482. "type": "string"
  18483. },
  18484. "goodsid": {
  18485. "description": "商品id",
  18486. "type": "integer"
  18487. },
  18488. "goodsname": {
  18489. "description": "商品名称",
  18490. "type": "string"
  18491. },
  18492. "holdqty": {
  18493. "description": "期末持仓量",
  18494. "type": "number"
  18495. },
  18496. "middlegoodscode": {
  18497. "description": "套保商品代码",
  18498. "type": "string"
  18499. },
  18500. "middlegoodsid": {
  18501. "description": "套保商品id",
  18502. "type": "integer"
  18503. },
  18504. "middlegoodsname": {
  18505. "description": "套保商品名称",
  18506. "type": "string"
  18507. },
  18508. "oriholdqty": {
  18509. "description": "期初持仓量",
  18510. "type": "number"
  18511. },
  18512. "todaycloseqty": {
  18513. "description": "今平仓量",
  18514. "type": "number"
  18515. },
  18516. "todayopenqty": {
  18517. "description": "今开仓量",
  18518. "type": "number"
  18519. },
  18520. "tradedate": {
  18521. "description": "交易日",
  18522. "type": "string"
  18523. }
  18524. }
  18525. },
  18526. "models.Ermcp3ExposureHedgeplanDetail": {
  18527. "type": "object",
  18528. "properties": {
  18529. "biztype": {
  18530. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  18531. "type": "integer"
  18532. },
  18533. "changqty": {
  18534. "description": "应套保总量变化量",
  18535. "type": "number"
  18536. },
  18537. "contracttype": {
  18538. "description": "计划类型 - 1:采购 -1:销售",
  18539. "type": "integer"
  18540. },
  18541. "convertratio": {
  18542. "description": "折算系数(套保品种)",
  18543. "type": "number"
  18544. },
  18545. "deliverygoodscode": {
  18546. "description": "现货商品代码",
  18547. "type": "string"
  18548. },
  18549. "deliverygoodsid": {
  18550. "description": "现货商品id",
  18551. "type": "integer"
  18552. },
  18553. "deliverygoodsname": {
  18554. "description": "现货商吕名称",
  18555. "type": "string"
  18556. },
  18557. "dgunitid": {
  18558. "description": "现货商品单位id",
  18559. "type": "integer"
  18560. },
  18561. "dgunitidname": {
  18562. "description": "单位名称(现货商品)",
  18563. "type": "string"
  18564. },
  18565. "diffqty": {
  18566. "description": "套保品种今变动量",
  18567. "type": "number"
  18568. },
  18569. "enumdicname": {
  18570. "description": "单位名称(品类)",
  18571. "type": "string"
  18572. },
  18573. "hedgeplanid": {
  18574. "description": "套保计划id",
  18575. "type": "string"
  18576. },
  18577. "hedgeplanno": {
  18578. "description": "套保计划名称",
  18579. "type": "string"
  18580. },
  18581. "hedgeplanstatus": {
  18582. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18583. "type": "integer"
  18584. },
  18585. "mgunitidname": {
  18586. "description": "单位名称(套保商品)",
  18587. "type": "string"
  18588. },
  18589. "middlegoodscode": {
  18590. "description": "套保品种代码",
  18591. "type": "string"
  18592. },
  18593. "middlegoodsid": {
  18594. "description": "套保品种id",
  18595. "type": "integer"
  18596. },
  18597. "middlegoodsname": {
  18598. "description": "套保品种名称",
  18599. "type": "string"
  18600. },
  18601. "needarbitrageratio": {
  18602. "description": "应套利比例",
  18603. "type": "number"
  18604. },
  18605. "needhedgeratio": {
  18606. "description": "应套保比例",
  18607. "type": "number"
  18608. },
  18609. "pricedqty": {
  18610. "description": "已定价量",
  18611. "type": "number"
  18612. },
  18613. "qty": {
  18614. "description": "合同量",
  18615. "type": "number"
  18616. },
  18617. "tradedate": {
  18618. "description": "交易日(登记日)",
  18619. "type": "string"
  18620. },
  18621. "unitid": {
  18622. "description": "品类单位id",
  18623. "type": "integer"
  18624. },
  18625. "userid": {
  18626. "description": "机构id",
  18627. "type": "integer"
  18628. },
  18629. "wrstandardcode": {
  18630. "description": "品类代码",
  18631. "type": "string"
  18632. },
  18633. "wrstandardid": {
  18634. "description": "品类id",
  18635. "type": "integer"
  18636. },
  18637. "wrstandardname": {
  18638. "description": "品类名称",
  18639. "type": "string"
  18640. }
  18641. }
  18642. },
  18643. "models.Ermcp3ExposureParamChLog": {
  18644. "type": "object",
  18645. "properties": {
  18646. "accountid": {
  18647. "description": "期货账户ID (作废, 默认为0)",
  18648. "type": "integer"
  18649. },
  18650. "aftervalue": {
  18651. "description": "应套保\\套利量变更后(调整后应套保总量)",
  18652. "type": "number"
  18653. },
  18654. "areauserid": {
  18655. "description": "所属机构\\交易用户ID",
  18656. "type": "integer"
  18657. },
  18658. "beforevalue": {
  18659. "description": "应套保\\套利量变更前(调整前应套保总量)",
  18660. "type": "number"
  18661. },
  18662. "begindate": {
  18663. "description": "开始交易日",
  18664. "type": "string"
  18665. },
  18666. "changelogtype": {
  18667. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  18668. "type": "integer"
  18669. },
  18670. "curvalue": {
  18671. "description": "当前套保\\套利量(套保总量|套利总量)",
  18672. "type": "number"
  18673. },
  18674. "diffvalue": {
  18675. "description": "应套保总量变化量",
  18676. "type": "number"
  18677. },
  18678. "enddate": {
  18679. "description": "结束交易日",
  18680. "type": "string"
  18681. },
  18682. "logdatetime": {
  18683. "description": "流水日期",
  18684. "type": "string"
  18685. },
  18686. "logid": {
  18687. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  18688. "type": "string"
  18689. },
  18690. "middlegoodscode": {
  18691. "description": "套保品种代码",
  18692. "type": "string"
  18693. },
  18694. "middlegoodsid": {
  18695. "description": "套保品种",
  18696. "type": "integer"
  18697. },
  18698. "middlegoodsname": {
  18699. "description": "套保品种名称",
  18700. "type": "string"
  18701. },
  18702. "paramaftervalue": {
  18703. "description": "参数变更后(调整后参数值)",
  18704. "type": "number"
  18705. },
  18706. "parambeforevalue": {
  18707. "description": "参数变更前(调整前参数值)",
  18708. "type": "number"
  18709. },
  18710. "tradedate": {
  18711. "description": "交易日(yyyyMMdd)",
  18712. "type": "string"
  18713. }
  18714. }
  18715. },
  18716. "models.Ermcp3ExpourseReport": {
  18717. "type": "object",
  18718. "properties": {
  18719. "accountid": {
  18720. "description": "期货账户ID (作废, 默认为0)",
  18721. "type": "integer"
  18722. },
  18723. "accountname": {
  18724. "description": "机构名称",
  18725. "type": "string"
  18726. },
  18727. "arbitrageqty": {
  18728. "description": "套利量",
  18729. "type": "number"
  18730. },
  18731. "areauserid": {
  18732. "description": "所属机构\\交易用户ID",
  18733. "type": "integer"
  18734. },
  18735. "begindate": {
  18736. "description": "开始交易日",
  18737. "type": "string"
  18738. },
  18739. "buyfutureqty": {
  18740. "description": "买入期货数量",
  18741. "type": "number"
  18742. },
  18743. "buyplanqty": {
  18744. "description": "采购计划数量",
  18745. "type": "number"
  18746. },
  18747. "buypricedqty": {
  18748. "description": "采购合同已定价数量",
  18749. "type": "number"
  18750. },
  18751. "cycletime": {
  18752. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18753. "type": "string"
  18754. },
  18755. "cycletype": {
  18756. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18757. "type": "integer"
  18758. },
  18759. "diffexposure": {
  18760. "description": "变动量(套保敞口)",
  18761. "type": "number"
  18762. },
  18763. "difffutuqty": {
  18764. "description": "变动量(期货)",
  18765. "type": "number"
  18766. },
  18767. "diffhedgeqty": {
  18768. "description": "变动量(现货应套保总量)",
  18769. "type": "number"
  18770. },
  18771. "diffmgqtya": {
  18772. "description": "套保变动量",
  18773. "type": "number"
  18774. },
  18775. "diffmgqtyb": {
  18776. "description": "套利变动量",
  18777. "type": "number"
  18778. },
  18779. "diffqty": {
  18780. "description": "变动量(总敞口)",
  18781. "type": "number"
  18782. },
  18783. "diffspotqty": {
  18784. "description": "变动量(现货)",
  18785. "type": "number"
  18786. },
  18787. "enddate": {
  18788. "description": "结束交易日",
  18789. "type": "string"
  18790. },
  18791. "enumdicname": {
  18792. "description": "单位名称",
  18793. "type": "string"
  18794. },
  18795. "hedgeqty": {
  18796. "description": "套保量",
  18797. "type": "number"
  18798. },
  18799. "mgneedhedgeratio": {
  18800. "description": "套保比例(套保品的)",
  18801. "type": "number"
  18802. },
  18803. "middlegoodsid": {
  18804. "description": "套保品种ID",
  18805. "type": "integer"
  18806. },
  18807. "middlegoodsname": {
  18808. "description": "套保商品名称",
  18809. "type": "string"
  18810. },
  18811. "middlgoodscode": {
  18812. "description": "套保商品代码",
  18813. "type": "string"
  18814. },
  18815. "needarbitrageqty": {
  18816. "description": "应套利量",
  18817. "type": "number"
  18818. },
  18819. "needarbitrageratio": {
  18820. "description": "套利比例(套保品的)",
  18821. "type": "number"
  18822. },
  18823. "needhedgeexposoure": {
  18824. "description": "应套保敞口(套保敞口)",
  18825. "type": "number"
  18826. },
  18827. "needhedgeqty": {
  18828. "description": "应套保量",
  18829. "type": "number"
  18830. },
  18831. "needhedgeratio": {
  18832. "description": "应套保敞口比例",
  18833. "type": "number"
  18834. },
  18835. "oriarbitrageqty": {
  18836. "description": "期初套利量",
  18837. "type": "number"
  18838. },
  18839. "oribuyfutureqty": {
  18840. "description": "期初买入期货数量",
  18841. "type": "number"
  18842. },
  18843. "oribuyplanqty": {
  18844. "description": "期初采购计划数量",
  18845. "type": "number"
  18846. },
  18847. "oribuypricedqty": {
  18848. "description": "期初采购合同已定价数量",
  18849. "type": "number"
  18850. },
  18851. "orihedgeqty": {
  18852. "description": "期初套保量",
  18853. "type": "number"
  18854. },
  18855. "orineedarbitrageqty": {
  18856. "description": "期初应套利量",
  18857. "type": "number"
  18858. },
  18859. "orineedhedgeexposoure": {
  18860. "description": "期初应套保敞口",
  18861. "type": "number"
  18862. },
  18863. "orineedhedgeqty": {
  18864. "description": "期初应套保量",
  18865. "type": "number"
  18866. },
  18867. "orisellfutureqty": {
  18868. "description": "期初卖出期货数量",
  18869. "type": "number"
  18870. },
  18871. "orisellplanqty": {
  18872. "description": "期初销售计划数量",
  18873. "type": "number"
  18874. },
  18875. "orisellpricedqty": {
  18876. "description": "期初销售合同已定价数量",
  18877. "type": "number"
  18878. },
  18879. "oritotalexposure": {
  18880. "description": "期初实时总敞口",
  18881. "type": "number"
  18882. },
  18883. "oritotalfutureqty": {
  18884. "description": "期初期货头寸总量",
  18885. "type": "number"
  18886. },
  18887. "oritotalneedhedgeqty": {
  18888. "description": "期初应套保总量",
  18889. "type": "number"
  18890. },
  18891. "oritotalspotqty": {
  18892. "description": "期初现货头寸总量",
  18893. "type": "number"
  18894. },
  18895. "reckondate": {
  18896. "description": "日照时期(yyyyMMdd)",
  18897. "type": "string"
  18898. },
  18899. "sellfutureqty": {
  18900. "description": "卖出期货数量",
  18901. "type": "number"
  18902. },
  18903. "sellplanqty": {
  18904. "description": "销售计划数量",
  18905. "type": "number"
  18906. },
  18907. "sellpricedqty": {
  18908. "description": "销售合同已定价数量",
  18909. "type": "number"
  18910. },
  18911. "totalexposure": {
  18912. "description": "实时总敞口(总敞口)",
  18913. "type": "number"
  18914. },
  18915. "totalfutureqty": {
  18916. "description": "期货头寸总量(期货总量)",
  18917. "type": "number"
  18918. },
  18919. "totalhedgeratio": {
  18920. "description": "敞口比例",
  18921. "type": "number"
  18922. },
  18923. "totalneedhedgeqty": {
  18924. "description": "应套保总量(现货应套保总量)",
  18925. "type": "number"
  18926. },
  18927. "totalspotqty": {
  18928. "description": "现货头寸总量",
  18929. "type": "number"
  18930. },
  18931. "unitid": {
  18932. "description": "单位id",
  18933. "type": "integer"
  18934. },
  18935. "updatetime": {
  18936. "description": "更新时间",
  18937. "type": "string"
  18938. }
  18939. }
  18940. },
  18941. "models.Ermcp3FinanceReport": {
  18942. "type": "object",
  18943. "properties": {
  18944. "accountname": {
  18945. "description": "机构名称",
  18946. "type": "string"
  18947. },
  18948. "areauserid": {
  18949. "description": "所属机构\\交易用户ID",
  18950. "type": "integer"
  18951. },
  18952. "begindate": {
  18953. "description": "开始交易日",
  18954. "type": "string"
  18955. },
  18956. "biztype": {
  18957. "description": "业务类型 - 1:套保 2:套利",
  18958. "type": "integer"
  18959. },
  18960. "brandname": {
  18961. "description": "品牌名称",
  18962. "type": "string"
  18963. },
  18964. "buypreinvoicedamount": {
  18965. "description": "采购预收票额(预收票额)",
  18966. "type": "number"
  18967. },
  18968. "buyprepaidamount": {
  18969. "description": "采购预付款额(预付货款额)",
  18970. "type": "number"
  18971. },
  18972. "buytodayinvoiceamount": {
  18973. "description": "采购今收票额(今收票额)",
  18974. "type": "number"
  18975. },
  18976. "buytodayrefundamount": {
  18977. "description": "采购今收退款额(今收退款额)",
  18978. "type": "number"
  18979. },
  18980. "buytodaysettleamount": {
  18981. "description": "采购今付款额(今付货款额)",
  18982. "type": "number"
  18983. },
  18984. "buyuninvoicedamount": {
  18985. "description": "采购应收票额(应收票额)",
  18986. "type": "number"
  18987. },
  18988. "buyunpaidamount": {
  18989. "description": "采购应付款额(应付货款额)",
  18990. "type": "number"
  18991. },
  18992. "currencyid": {
  18993. "description": "结算币种ID",
  18994. "type": "integer"
  18995. },
  18996. "currencyname": {
  18997. "description": "币种名称",
  18998. "type": "string"
  18999. },
  19000. "cycletime": {
  19001. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19002. "type": "string"
  19003. },
  19004. "cycletype": {
  19005. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19006. "type": "integer"
  19007. },
  19008. "deliverygoodscode": {
  19009. "description": "现货品种代码",
  19010. "type": "string"
  19011. },
  19012. "deliverygoodsid": {
  19013. "description": "现货品种ID",
  19014. "type": "integer"
  19015. },
  19016. "deliverygoodsname": {
  19017. "description": "现货品种名称",
  19018. "type": "string"
  19019. },
  19020. "enddate": {
  19021. "description": "结束交易日",
  19022. "type": "string"
  19023. },
  19024. "reckondate": {
  19025. "description": "日照时期(yyyyMMdd)",
  19026. "type": "string"
  19027. },
  19028. "sellpreinvoicedamount": {
  19029. "description": "销售预开票额(预开票额)",
  19030. "type": "number"
  19031. },
  19032. "sellprepaidamount": {
  19033. "description": "销售预收款额(预收货款额)",
  19034. "type": "number"
  19035. },
  19036. "selltodayinvoiceamount": {
  19037. "description": "销售今开票额(今开票额)",
  19038. "type": "number"
  19039. },
  19040. "selltodayrefundamount": {
  19041. "description": "销售今付退款额(今付退款额)",
  19042. "type": "number"
  19043. },
  19044. "selltodaysettleamount": {
  19045. "description": "销售今收款额(今收货款额)",
  19046. "type": "number"
  19047. },
  19048. "selluninvoicedamount": {
  19049. "description": "销售应开票额(应开票额)",
  19050. "type": "number"
  19051. },
  19052. "sellunpaidamount": {
  19053. "description": "销售应收款额(应收货款额)",
  19054. "type": "number"
  19055. },
  19056. "spotgoodsbrandid": {
  19057. "description": "现货品牌ID",
  19058. "type": "integer"
  19059. },
  19060. "todaypaysum": {
  19061. "description": "今付款合计",
  19062. "type": "number"
  19063. },
  19064. "todayreceivesum": {
  19065. "description": "今收款合计",
  19066. "type": "number"
  19067. },
  19068. "updatetime": {
  19069. "description": "更新时间",
  19070. "type": "string"
  19071. },
  19072. "wrfactortypeid": {
  19073. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19074. "type": "integer"
  19075. },
  19076. "wrstandardcode": {
  19077. "description": "品类代码",
  19078. "type": "string"
  19079. },
  19080. "wrstandardid": {
  19081. "description": "现货商品ID",
  19082. "type": "integer"
  19083. },
  19084. "wrstandardname": {
  19085. "description": "品类名称",
  19086. "type": "string"
  19087. }
  19088. }
  19089. },
  19090. "models.Ermcp3Goods": {
  19091. "type": "object",
  19092. "properties": {
  19093. "agreeunit": {
  19094. "description": "合约单位(合约乘数)",
  19095. "type": "number"
  19096. },
  19097. "enumdicname": {
  19098. "description": "单位名称",
  19099. "type": "string"
  19100. },
  19101. "exexchangecode": {
  19102. "description": "交易所代码",
  19103. "type": "string"
  19104. },
  19105. "goodscode": {
  19106. "description": "期货商品代码",
  19107. "type": "string"
  19108. },
  19109. "goodsid": {
  19110. "description": "期货商品id",
  19111. "type": "integer"
  19112. },
  19113. "goodsname": {
  19114. "description": "期货商品名称",
  19115. "type": "string"
  19116. }
  19117. }
  19118. },
  19119. "models.Ermcp3GoodsGroup": {
  19120. "type": "object",
  19121. "required": [
  19122. "areauserid"
  19123. ],
  19124. "properties": {
  19125. "agreeunit": {
  19126. "description": "合约单位",
  19127. "type": "number"
  19128. },
  19129. "areauserid": {
  19130. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  19131. "type": "integer"
  19132. },
  19133. "canshort": {
  19134. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19135. "type": "integer"
  19136. },
  19137. "closepricemode": {
  19138. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19139. "type": "integer"
  19140. },
  19141. "createtime": {
  19142. "description": "创建时间",
  19143. "type": "string"
  19144. },
  19145. "creatorid": {
  19146. "description": "创建人",
  19147. "type": "integer"
  19148. },
  19149. "currencyid": {
  19150. "description": "报价货币ID",
  19151. "type": "integer"
  19152. },
  19153. "decimalplace": {
  19154. "description": "报价小数位",
  19155. "type": "integer"
  19156. },
  19157. "enumdicname": {
  19158. "description": "单位名称",
  19159. "type": "string"
  19160. },
  19161. "exchangefullname": {
  19162. "description": "交易所全称",
  19163. "type": "string"
  19164. },
  19165. "excludecfg": {
  19166. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  19167. "type": "integer"
  19168. },
  19169. "exexchangecode": {
  19170. "description": "交易所代码",
  19171. "type": "string"
  19172. },
  19173. "exexchangeid": {
  19174. "description": "外部交易所ID[通道交易]",
  19175. "type": "integer"
  19176. },
  19177. "exexchangename": {
  19178. "description": "交易所名称",
  19179. "type": "string"
  19180. },
  19181. "goodsgroupid": {
  19182. "description": "商品组ID(自增ID)",
  19183. "type": "integer"
  19184. },
  19185. "goodsgroupname": {
  19186. "description": "商品组名称",
  19187. "type": "string"
  19188. },
  19189. "goodsgroupstatus": {
  19190. "description": "商品组状态 - 1:正常 2:注销",
  19191. "type": "integer"
  19192. },
  19193. "goodunitid": {
  19194. "description": "报价单位ID",
  19195. "type": "integer"
  19196. },
  19197. "groupcategroyid": {
  19198. "description": "品种分类ID",
  19199. "type": "integer"
  19200. },
  19201. "innerdealmode": {
  19202. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19203. "type": "integer"
  19204. },
  19205. "marketid": {
  19206. "description": "所属市场ID",
  19207. "type": "integer"
  19208. },
  19209. "modifierid": {
  19210. "description": "修改人",
  19211. "type": "integer"
  19212. },
  19213. "modifytime": {
  19214. "description": "修改时间",
  19215. "type": "string"
  19216. },
  19217. "outerdealmode": {
  19218. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19219. "type": "integer"
  19220. },
  19221. "outergroupcode": {
  19222. "description": "外部商品组代码[通道交易]",
  19223. "type": "string"
  19224. },
  19225. "quoteminunit": {
  19226. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19227. "type": "integer"
  19228. },
  19229. "quotesourcegroupid": {
  19230. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19231. "type": "integer"
  19232. },
  19233. "syncgoodsqty": {
  19234. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19235. "type": "integer"
  19236. }
  19237. }
  19238. },
  19239. "models.Ermcp3GoodsGroupEx": {
  19240. "type": "object",
  19241. "properties": {
  19242. "convertratio": {
  19243. "description": "折算系数(品种系数)",
  19244. "type": "number"
  19245. },
  19246. "enumdicname": {
  19247. "description": "单位名称",
  19248. "type": "string"
  19249. },
  19250. "exexchangecode": {
  19251. "description": "交易所代码",
  19252. "type": "string"
  19253. },
  19254. "glist": {
  19255. "description": "合约列表",
  19256. "type": "array",
  19257. "items": {
  19258. "$ref": "#/definitions/models.Ermcp3Goods"
  19259. }
  19260. },
  19261. "goodsgroupid": {
  19262. "description": "商品组id",
  19263. "type": "integer"
  19264. },
  19265. "goodsgroupname": {
  19266. "description": "商品组名称",
  19267. "type": "string"
  19268. },
  19269. "goodsunitid": {
  19270. "description": "单位id",
  19271. "type": "integer"
  19272. },
  19273. "middlegoodsid": {
  19274. "description": "套保商品id",
  19275. "type": "integer"
  19276. }
  19277. }
  19278. },
  19279. "models.Ermcp3HedgePlan": {
  19280. "type": "object",
  19281. "properties": {
  19282. "accountid": {
  19283. "description": "资金账号",
  19284. "type": "integer"
  19285. },
  19286. "areauserid": {
  19287. "description": "用户ID",
  19288. "type": "integer"
  19289. },
  19290. "auditid": {
  19291. "description": "审核id",
  19292. "type": "integer"
  19293. },
  19294. "auditname": {
  19295. "description": "审核人名称",
  19296. "type": "string"
  19297. },
  19298. "auditremark": {
  19299. "description": "审核备注",
  19300. "type": "string"
  19301. },
  19302. "auditsrc": {
  19303. "description": "审核来源 1-管理端 2-终端",
  19304. "type": "integer"
  19305. },
  19306. "audittime": {
  19307. "description": "审核时间",
  19308. "type": "string"
  19309. },
  19310. "contracttype": {
  19311. "description": "计划类型 - 1:采购 -1:销售",
  19312. "type": "integer"
  19313. },
  19314. "convertfactor": {
  19315. "description": "标仓系数",
  19316. "type": "number"
  19317. },
  19318. "createtime": {
  19319. "description": "创建时间",
  19320. "type": "string"
  19321. },
  19322. "currencyid": {
  19323. "description": "币种id",
  19324. "type": "integer"
  19325. },
  19326. "currencyname": {
  19327. "description": "币种名称",
  19328. "type": "string"
  19329. },
  19330. "deliverygoodscode": {
  19331. "description": "现货品种代码",
  19332. "type": "string"
  19333. },
  19334. "deliverygoodsid": {
  19335. "description": "现货品种ID",
  19336. "type": "integer"
  19337. },
  19338. "deliverygoodsname": {
  19339. "description": "现货品种名称",
  19340. "type": "string"
  19341. },
  19342. "enumdicname": {
  19343. "description": "单位名称(现货商品)",
  19344. "type": "string"
  19345. },
  19346. "hedgeplanid": {
  19347. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  19348. "type": "string"
  19349. },
  19350. "hedgeplanno": {
  19351. "description": "套保计划编号(名称)",
  19352. "type": "string"
  19353. },
  19354. "hedgeplanstatus": {
  19355. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19356. "type": "integer"
  19357. },
  19358. "planqty": {
  19359. "description": "计划数量",
  19360. "type": "number"
  19361. },
  19362. "plantime": {
  19363. "description": "计划时间",
  19364. "type": "string"
  19365. },
  19366. "producttype": {
  19367. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19368. "type": "integer"
  19369. },
  19370. "remark": {
  19371. "description": "备注",
  19372. "type": "string"
  19373. },
  19374. "spotgoodsdesc": {
  19375. "description": "商品型号",
  19376. "type": "string"
  19377. },
  19378. "taaccountname": {
  19379. "description": "资金账号名称",
  19380. "type": "string"
  19381. },
  19382. "tradeuserid": {
  19383. "description": "交易用户id",
  19384. "type": "integer"
  19385. },
  19386. "tradeusername": {
  19387. "description": "交易用户名称",
  19388. "type": "string"
  19389. },
  19390. "unitid": {
  19391. "description": "单位id(现货商品)",
  19392. "type": "integer"
  19393. },
  19394. "updatetime": {
  19395. "description": "更新时间",
  19396. "type": "string"
  19397. },
  19398. "wrstandardcode": {
  19399. "description": "品类代码",
  19400. "type": "string"
  19401. },
  19402. "wrstandardid": {
  19403. "description": "品类id",
  19404. "type": "integer"
  19405. },
  19406. "wrstandardname": {
  19407. "description": "品类名称",
  19408. "type": "string"
  19409. },
  19410. "wrunitid": {
  19411. "description": "品类单位id",
  19412. "type": "integer"
  19413. },
  19414. "wrunitidame": {
  19415. "description": "品类单位名称",
  19416. "type": "string"
  19417. }
  19418. }
  19419. },
  19420. "models.Ermcp3MiddleGoodsDetail2": {
  19421. "type": "object",
  19422. "properties": {
  19423. "convertratio": {
  19424. "description": "套保系数(折算系数)",
  19425. "type": "number"
  19426. },
  19427. "gplist": {
  19428. "description": "关联商品组列表",
  19429. "type": "array",
  19430. "items": {
  19431. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  19432. }
  19433. },
  19434. "mg": {
  19435. "description": "套保商品信息",
  19436. "type": "object",
  19437. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19438. }
  19439. }
  19440. },
  19441. "models.Ermcp3MiddleGoodsDetailEx": {
  19442. "type": "object",
  19443. "properties": {
  19444. "dglist": {
  19445. "description": "关联的现货品种列表",
  19446. "type": "array",
  19447. "items": {
  19448. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  19449. }
  19450. },
  19451. "gplist": {
  19452. "description": "关联商品组列表",
  19453. "type": "array",
  19454. "items": {
  19455. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  19456. }
  19457. },
  19458. "mg": {
  19459. "description": "套保商品信息",
  19460. "type": "object",
  19461. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19462. }
  19463. }
  19464. },
  19465. "models.Ermcp3PaAreaAuditCfg": {
  19466. "type": "object",
  19467. "properties": {
  19468. "areauserid": {
  19469. "description": "用户ID",
  19470. "type": "integer"
  19471. },
  19472. "buyinauditflag": {
  19473. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  19474. "type": "integer"
  19475. },
  19476. "customerauditflag": {
  19477. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  19478. "type": "integer"
  19479. },
  19480. "deliveryauditflag": {
  19481. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  19482. "type": "integer"
  19483. },
  19484. "invoiceauditflag": {
  19485. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  19486. "type": "integer"
  19487. },
  19488. "moneyauditflag": {
  19489. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  19490. "type": "integer"
  19491. },
  19492. "operatorid": {
  19493. "description": "操作人",
  19494. "type": "integer"
  19495. },
  19496. "operatorsrc": {
  19497. "description": "操作来源 - 1:管理端 2:终端",
  19498. "type": "integer"
  19499. },
  19500. "pointpriceauditflag": {
  19501. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  19502. "type": "integer"
  19503. },
  19504. "produceinauditflag": {
  19505. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  19506. "type": "integer"
  19507. },
  19508. "produceoutauditflag": {
  19509. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  19510. "type": "integer"
  19511. },
  19512. "selloutauditflag": {
  19513. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  19514. "type": "integer"
  19515. },
  19516. "spotcontractauditflag": {
  19517. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  19518. "type": "integer"
  19519. },
  19520. "updatetime": {
  19521. "description": "更新时间",
  19522. "type": "string"
  19523. }
  19524. }
  19525. },
  19526. "models.Ermcp3PaAreaSubject": {
  19527. "type": "object",
  19528. "properties": {
  19529. "areauserid": {
  19530. "description": "所属机构",
  19531. "type": "integer"
  19532. },
  19533. "canmodify": {
  19534. "description": "是否可修改 - 0:否 1:是",
  19535. "type": "integer"
  19536. },
  19537. "createtime": {
  19538. "description": "创建时间",
  19539. "type": "string"
  19540. },
  19541. "creatorid": {
  19542. "description": "创建人ID",
  19543. "type": "string"
  19544. },
  19545. "creatorsrc": {
  19546. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  19547. "type": "integer"
  19548. },
  19549. "modifierid": {
  19550. "description": "修改人",
  19551. "type": "string"
  19552. },
  19553. "modifiersrc": {
  19554. "description": "修改人来源 - 1:管理端 2:终端",
  19555. "type": "integer"
  19556. },
  19557. "modifytime": {
  19558. "description": "修改时间",
  19559. "type": "string"
  19560. },
  19561. "parentsubjectid": {
  19562. "description": "上级主体ID",
  19563. "type": "string"
  19564. },
  19565. "remark": {
  19566. "description": "备注",
  19567. "type": "string"
  19568. },
  19569. "subjectid": {
  19570. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  19571. "type": "integer"
  19572. },
  19573. "subjectname": {
  19574. "description": "主体名称",
  19575. "type": "string"
  19576. },
  19577. "subjectstatus": {
  19578. "description": "主体状态 - 1:正常 2: 停用",
  19579. "type": "integer"
  19580. },
  19581. "subjecttype": {
  19582. "description": "主体类型 - 1:交易主体 2:业务部门",
  19583. "type": "integer"
  19584. }
  19585. }
  19586. },
  19587. "models.Ermcp3RootUserAccount": {
  19588. "type": "object",
  19589. "properties": {
  19590. "accountname": {
  19591. "description": "账户名称(机构名称)",
  19592. "type": "string"
  19593. },
  19594. "accountstatus": {
  19595. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  19596. "type": "integer"
  19597. },
  19598. "applysrc": {
  19599. "description": "申请来源 - 1:管理端 2:终端",
  19600. "type": "integer"
  19601. },
  19602. "auditremark": {
  19603. "description": "审核备注",
  19604. "type": "string"
  19605. },
  19606. "auditsrc": {
  19607. "description": "审核来源 - 1:管理端 2:终端",
  19608. "type": "integer"
  19609. },
  19610. "audittime": {
  19611. "description": "审核时间",
  19612. "type": "string"
  19613. },
  19614. "audituserid": {
  19615. "description": "审核人",
  19616. "type": "integer"
  19617. },
  19618. "broker": {
  19619. "description": "所属经纪人ID",
  19620. "type": "integer"
  19621. },
  19622. "canceltime": {
  19623. "description": "销户时间",
  19624. "type": "string"
  19625. },
  19626. "canceluserid": {
  19627. "description": "销户人",
  19628. "type": "integer"
  19629. },
  19630. "canrecommend": {
  19631. "description": "是否可推荐 - 0:不可 1;可",
  19632. "type": "integer"
  19633. },
  19634. "createtime": {
  19635. "description": "创建时间",
  19636. "type": "string"
  19637. },
  19638. "creatorid": {
  19639. "description": "创建人",
  19640. "type": "integer"
  19641. },
  19642. "hasauth": {
  19643. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  19644. "type": "integer"
  19645. },
  19646. "isanonymous": {
  19647. "description": "是否匿名下单 - 0:否 1:是",
  19648. "type": "integer"
  19649. },
  19650. "maxinvestornum": {
  19651. "description": "最大用户数(经纪会员下投资者个数)",
  19652. "type": "integer"
  19653. },
  19654. "memberuserid": {
  19655. "description": "所属会员ID",
  19656. "type": "integer"
  19657. },
  19658. "modifierid": {
  19659. "description": "修改人",
  19660. "type": "integer"
  19661. },
  19662. "modifyremark": {
  19663. "description": "变更备注",
  19664. "type": "string"
  19665. },
  19666. "modifystatus": {
  19667. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  19668. "type": "integer"
  19669. },
  19670. "modifytime": {
  19671. "description": "修改时间",
  19672. "type": "string"
  19673. },
  19674. "parenttopuser": {
  19675. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  19676. "type": "string"
  19677. },
  19678. "parentuserid": {
  19679. "description": "所属机构ID",
  19680. "type": "integer"
  19681. },
  19682. "reckonaccountid": {
  19683. "description": "默认结算资金账号ID(机构分润使用) 作废",
  19684. "type": "integer"
  19685. },
  19686. "refercount": {
  19687. "description": "推荐总人数",
  19688. "type": "integer"
  19689. },
  19690. "refereeuserid": {
  19691. "description": "推荐人ID",
  19692. "type": "integer"
  19693. },
  19694. "refernum": {
  19695. "description": "推荐码",
  19696. "type": "string"
  19697. },
  19698. "rootuserid": {
  19699. "description": "根用户ID",
  19700. "type": "integer"
  19701. },
  19702. "subaccountlevel": {
  19703. "description": "子账户层数",
  19704. "type": "integer"
  19705. },
  19706. "subarealevelpath": {
  19707. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  19708. "type": "string"
  19709. },
  19710. "userid": {
  19711. "description": "用户ID",
  19712. "type": "integer"
  19713. },
  19714. "usertype": {
  19715. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  19716. "type": "integer"
  19717. }
  19718. }
  19719. },
  19720. "models.Ermcp3SellBuyContract": {
  19721. "type": "object",
  19722. "properties": {
  19723. "accountid": {
  19724. "description": "期货账户id",
  19725. "type": "string"
  19726. },
  19727. "accountname": {
  19728. "description": "账户名称",
  19729. "type": "string"
  19730. },
  19731. "attachment": {
  19732. "description": "附件",
  19733. "type": "string"
  19734. },
  19735. "audittime": {
  19736. "description": "审核时间",
  19737. "type": "string"
  19738. },
  19739. "biztype": {
  19740. "description": "业务类型 1-套保 2-套利",
  19741. "type": "integer"
  19742. },
  19743. "brandname": {
  19744. "description": "品牌名称",
  19745. "type": "string"
  19746. },
  19747. "contracctstatus": {
  19748. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19749. "type": "integer"
  19750. },
  19751. "contractmargin": {
  19752. "description": "合同保证金",
  19753. "type": "number"
  19754. },
  19755. "contractno": {
  19756. "description": "合同编号",
  19757. "type": "string"
  19758. },
  19759. "contracttype": {
  19760. "description": "合同类型 1-采购, -1-销售",
  19761. "type": "integer"
  19762. },
  19763. "convertfactor": {
  19764. "description": "标仓系数(品类)",
  19765. "type": "number"
  19766. },
  19767. "createtime": {
  19768. "description": "创建时间",
  19769. "type": "string"
  19770. },
  19771. "currencyid": {
  19772. "description": "币种id",
  19773. "type": "integer"
  19774. },
  19775. "currencyname": {
  19776. "description": "币种名称",
  19777. "type": "string"
  19778. },
  19779. "daikaiamount": {
  19780. "description": "应收(开)票额",
  19781. "type": "number"
  19782. },
  19783. "deliveryenddate": {
  19784. "description": "交割结束日",
  19785. "type": "string"
  19786. },
  19787. "deliverygoodscode": {
  19788. "description": "现货品种代码",
  19789. "type": "string"
  19790. },
  19791. "deliverygoodsid": {
  19792. "description": "现货商品ID",
  19793. "type": "integer"
  19794. },
  19795. "deliverygoodsname": {
  19796. "description": "现货品种名称",
  19797. "type": "string"
  19798. },
  19799. "deliverystartdate": {
  19800. "description": "交割开始日",
  19801. "type": "string"
  19802. },
  19803. "enddate": {
  19804. "description": "点价结束日",
  19805. "type": "string"
  19806. },
  19807. "enumdicname": {
  19808. "description": "单位名称",
  19809. "type": "string"
  19810. },
  19811. "goodscode": {
  19812. "description": "点价商品代码",
  19813. "type": "string"
  19814. },
  19815. "goodsid": {
  19816. "description": "点价商品ID",
  19817. "type": "integer"
  19818. },
  19819. "goodsname": {
  19820. "description": "点价商品名称",
  19821. "type": "string"
  19822. },
  19823. "invoiceamount": {
  19824. "description": "已开票额",
  19825. "type": "number"
  19826. },
  19827. "loanamount": {
  19828. "description": "贷款总额=已定价额+调整金额",
  19829. "type": "number"
  19830. },
  19831. "margin": {
  19832. "description": "保证金",
  19833. "type": "number"
  19834. },
  19835. "meruserid": {
  19836. "description": "跟单员id",
  19837. "type": "integer"
  19838. },
  19839. "meruserlogincode": {
  19840. "description": "跟单员登录代码",
  19841. "type": "string"
  19842. },
  19843. "merusername": {
  19844. "description": "跟单员名称",
  19845. "type": "string"
  19846. },
  19847. "nickname": {
  19848. "description": "账户昵称",
  19849. "type": "string"
  19850. },
  19851. "payamount": {
  19852. "description": "已收付额(收款或付款)",
  19853. "type": "number"
  19854. },
  19855. "preinvoiceamount": {
  19856. "description": "预收(开)票额",
  19857. "type": "number"
  19858. },
  19859. "prepayamount": {
  19860. "description": "预收付额",
  19861. "type": "number"
  19862. },
  19863. "price": {
  19864. "description": "价格",
  19865. "type": "number"
  19866. },
  19867. "pricedamount": {
  19868. "description": "已定价额",
  19869. "type": "number"
  19870. },
  19871. "pricedavg": {
  19872. "description": "已点均价",
  19873. "type": "number"
  19874. },
  19875. "pricedqty": {
  19876. "description": "已定价量",
  19877. "type": "number"
  19878. },
  19879. "pricemove": {
  19880. "description": "升贴水",
  19881. "type": "number"
  19882. },
  19883. "pricetype": {
  19884. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19885. "type": "integer"
  19886. },
  19887. "producttype": {
  19888. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19889. "type": "integer"
  19890. },
  19891. "qty": {
  19892. "description": "合同量",
  19893. "type": "number"
  19894. },
  19895. "reckonadjustamount": {
  19896. "description": "调整金额",
  19897. "type": "number"
  19898. },
  19899. "reckonedamount": {
  19900. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  19901. "type": "number"
  19902. },
  19903. "reckonotheramount": {
  19904. "description": "其它费用",
  19905. "type": "number"
  19906. },
  19907. "reckonrealqty": {
  19908. "description": "已确定量",
  19909. "type": "number"
  19910. },
  19911. "remark": {
  19912. "description": "备注",
  19913. "type": "string"
  19914. },
  19915. "saleuserid": {
  19916. "description": "业务员id",
  19917. "type": "integer"
  19918. },
  19919. "saleuserlogincode": {
  19920. "description": "业务员登录代码",
  19921. "type": "string"
  19922. },
  19923. "saleusername": {
  19924. "description": "业务员名称",
  19925. "type": "string"
  19926. },
  19927. "spotcontractid": {
  19928. "description": "合同ID",
  19929. "type": "string"
  19930. },
  19931. "spotgoodsbrandid": {
  19932. "description": "现货品牌ID(DGFactoryItem表的ID)",
  19933. "type": "integer"
  19934. },
  19935. "spotgoodsdesc": {
  19936. "description": "商品型号(商品规格)",
  19937. "type": "string"
  19938. },
  19939. "startdate": {
  19940. "description": "点价开始日",
  19941. "type": "string"
  19942. },
  19943. "totalamount": {
  19944. "description": "合计总额",
  19945. "type": "number"
  19946. },
  19947. "tradeuserid": {
  19948. "description": "交易员id",
  19949. "type": "integer"
  19950. },
  19951. "tradeuserlogincode": {
  19952. "description": "交易员登录代码",
  19953. "type": "string"
  19954. },
  19955. "tradeusername": {
  19956. "description": "交易员名称",
  19957. "type": "string"
  19958. },
  19959. "unpayamount": {
  19960. "description": "应收付款额(应支付或应收款)",
  19961. "type": "number"
  19962. },
  19963. "unpricedqty": {
  19964. "description": "未定价量",
  19965. "type": "number"
  19966. },
  19967. "unsureqty": {
  19968. "description": "未确定量",
  19969. "type": "number"
  19970. },
  19971. "userid": {
  19972. "description": "机构ID",
  19973. "type": "integer"
  19974. },
  19975. "wrstandardcode": {
  19976. "description": "品类代码",
  19977. "type": "string"
  19978. },
  19979. "wrstandardid": {
  19980. "description": "品类ID",
  19981. "type": "integer"
  19982. },
  19983. "wrstandardname": {
  19984. "description": "品类名称",
  19985. "type": "string"
  19986. }
  19987. }
  19988. },
  19989. "models.Ermcp3SpotGoodsPrice": {
  19990. "type": "object",
  19991. "properties": {
  19992. "areauserid": {
  19993. "description": "所属机构id",
  19994. "type": "integer"
  19995. },
  19996. "brandname": {
  19997. "description": "品牌名称",
  19998. "type": "string"
  19999. },
  20000. "currencyid": {
  20001. "description": "报价货币ID",
  20002. "type": "integer"
  20003. },
  20004. "currencyname": {
  20005. "description": "币种名称",
  20006. "type": "string"
  20007. },
  20008. "deliverygoodscode": {
  20009. "description": "现货商品代码",
  20010. "type": "string"
  20011. },
  20012. "deliverygoodsid": {
  20013. "description": "现货商品id",
  20014. "type": "integer"
  20015. },
  20016. "deliverygoodsname": {
  20017. "description": "现货商品名称",
  20018. "type": "string"
  20019. },
  20020. "enumdicname": {
  20021. "description": "现货商品单位名称",
  20022. "type": "string"
  20023. },
  20024. "gbenumdicname": {
  20025. "description": "品类单位名称",
  20026. "type": "string"
  20027. },
  20028. "gmunitid": {
  20029. "description": "品类单位id",
  20030. "type": "integer"
  20031. },
  20032. "isvalid": {
  20033. "description": "是否有效 - 0:无效 1:有效",
  20034. "type": "integer"
  20035. },
  20036. "operateid": {
  20037. "description": "最后操作人",
  20038. "type": "integer"
  20039. },
  20040. "operatesrc": {
  20041. "description": "最后操作来源 - 1:管理端 2:终端",
  20042. "type": "integer"
  20043. },
  20044. "operatetime": {
  20045. "description": "最后操作时间",
  20046. "type": "string"
  20047. },
  20048. "operatorname": {
  20049. "description": "操作人名称",
  20050. "type": "string"
  20051. },
  20052. "spotgoodsbrandid": {
  20053. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  20054. "type": "integer"
  20055. },
  20056. "spotgoodsprice": {
  20057. "description": "现货价格",
  20058. "type": "number"
  20059. },
  20060. "tradedate": {
  20061. "description": "交易日(yyyyMMdd)",
  20062. "type": "string"
  20063. },
  20064. "unitid": {
  20065. "description": "现货商品单位id",
  20066. "type": "integer"
  20067. },
  20068. "wrstandardcode": {
  20069. "description": "品类代码",
  20070. "type": "string"
  20071. },
  20072. "wrstandardid": {
  20073. "description": "现货品类ID(通用则为0)",
  20074. "type": "integer"
  20075. },
  20076. "wrstandardname": {
  20077. "description": "品类名称",
  20078. "type": "string"
  20079. }
  20080. }
  20081. },
  20082. "models.Ermcp3SpotGoodsPriceLog": {
  20083. "type": "object",
  20084. "properties": {
  20085. "areauserid": {
  20086. "description": "所属机构id",
  20087. "type": "integer"
  20088. },
  20089. "brandname": {
  20090. "description": "品牌名称",
  20091. "type": "string"
  20092. },
  20093. "currencyid": {
  20094. "description": "报价货币ID",
  20095. "type": "integer"
  20096. },
  20097. "deliverygoodscode": {
  20098. "description": "现货商品代码",
  20099. "type": "string"
  20100. },
  20101. "deliverygoodsid": {
  20102. "description": "现货商品id",
  20103. "type": "integer"
  20104. },
  20105. "deliverygoodsname": {
  20106. "description": "现货商品名称",
  20107. "type": "string"
  20108. },
  20109. "enumdicname": {
  20110. "description": "现货商品单位名称",
  20111. "type": "string"
  20112. },
  20113. "gbenumdicname": {
  20114. "description": "品类单位名称",
  20115. "type": "string"
  20116. },
  20117. "gmunitid": {
  20118. "description": "品类单位id",
  20119. "type": "integer"
  20120. },
  20121. "logid": {
  20122. "description": "日志id",
  20123. "type": "integer"
  20124. },
  20125. "operateid": {
  20126. "description": "最后操作人",
  20127. "type": "integer"
  20128. },
  20129. "operatesrc": {
  20130. "description": "最后操作来源 - 1:管理端 2:终端",
  20131. "type": "integer"
  20132. },
  20133. "operatetime": {
  20134. "description": "最后操作时间",
  20135. "type": "string"
  20136. },
  20137. "operatorname": {
  20138. "description": "操作人名称",
  20139. "type": "string"
  20140. },
  20141. "spotgoodsbrandid": {
  20142. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  20143. "type": "integer"
  20144. },
  20145. "spotgoodsprice": {
  20146. "description": "现货价格",
  20147. "type": "number"
  20148. },
  20149. "tradedate": {
  20150. "description": "交易日(yyyyMMdd)",
  20151. "type": "string"
  20152. },
  20153. "unitid": {
  20154. "description": "现货商品单位id",
  20155. "type": "integer"
  20156. },
  20157. "wrstandardcode": {
  20158. "description": "品类代码",
  20159. "type": "string"
  20160. },
  20161. "wrstandardid": {
  20162. "description": "现货品类ID(通用则为0)",
  20163. "type": "integer"
  20164. },
  20165. "wrstandardname": {
  20166. "description": "品类名称",
  20167. "type": "string"
  20168. }
  20169. }
  20170. },
  20171. "models.Ermcp3TaFutuReDataReport": {
  20172. "type": "object",
  20173. "properties": {
  20174. "accountid": {
  20175. "description": "交易账户",
  20176. "type": "integer"
  20177. },
  20178. "accountname": {
  20179. "description": "交易账号名称",
  20180. "type": "string"
  20181. },
  20182. "agreeunit": {
  20183. "description": "商品合约单位",
  20184. "type": "number"
  20185. },
  20186. "begindate": {
  20187. "description": "开始交易日",
  20188. "type": "string"
  20189. },
  20190. "buyorsell": {
  20191. "description": "持仓方向",
  20192. "type": "integer"
  20193. },
  20194. "charge": {
  20195. "description": "手续费",
  20196. "type": "number"
  20197. },
  20198. "closeavgprice": {
  20199. "description": "平仓均价",
  20200. "type": "number"
  20201. },
  20202. "closepl": {
  20203. "description": "平仓损益",
  20204. "type": "number"
  20205. },
  20206. "currencyid": {
  20207. "description": "结算币种ID",
  20208. "type": "integer"
  20209. },
  20210. "currencyname": {
  20211. "description": "币种名称",
  20212. "type": "string"
  20213. },
  20214. "cycletime": {
  20215. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20216. "type": "string"
  20217. },
  20218. "cycletype": {
  20219. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20220. "type": "integer"
  20221. },
  20222. "enddate": {
  20223. "description": "结束交易日",
  20224. "type": "string"
  20225. },
  20226. "enumdicname": {
  20227. "description": "单位名称",
  20228. "type": "string"
  20229. },
  20230. "floatpl": {
  20231. "description": "浮动损益",
  20232. "type": "number"
  20233. },
  20234. "goodscode": {
  20235. "description": "交易合约代码",
  20236. "type": "string"
  20237. },
  20238. "goodsgroupid": {
  20239. "description": "交易品种",
  20240. "type": "integer"
  20241. },
  20242. "goodsgroupname": {
  20243. "description": "交易品种名称",
  20244. "type": "string"
  20245. },
  20246. "goodsgroupspotqty": {
  20247. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  20248. "type": "number"
  20249. },
  20250. "goodsid": {
  20251. "description": "交易合约",
  20252. "type": "integer"
  20253. },
  20254. "goodsname": {
  20255. "description": "交易合约名称",
  20256. "type": "string"
  20257. },
  20258. "goodunitid": {
  20259. "description": "交易合约单位id",
  20260. "type": "integer"
  20261. },
  20262. "holdamount": {
  20263. "description": "期末持仓额",
  20264. "type": "number"
  20265. },
  20266. "holdqty": {
  20267. "description": "期末持仓量",
  20268. "type": "number"
  20269. },
  20270. "lastholdamount": {
  20271. "description": "当前持仓额",
  20272. "type": "number"
  20273. },
  20274. "lastprice": {
  20275. "description": "最新价",
  20276. "type": "number"
  20277. },
  20278. "middlegoodsid": {
  20279. "description": "套保品种id",
  20280. "type": "integer"
  20281. },
  20282. "middlegoodsname": {
  20283. "description": "套保商品名称",
  20284. "type": "string"
  20285. },
  20286. "middlegoodsqty": {
  20287. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  20288. "type": "number"
  20289. },
  20290. "middlgoodscode": {
  20291. "description": "套保商品代码",
  20292. "type": "string"
  20293. },
  20294. "openamount": {
  20295. "description": "期末开仓额",
  20296. "type": "number"
  20297. },
  20298. "openavgprice": {
  20299. "description": "开仓均价",
  20300. "type": "number"
  20301. },
  20302. "oriholdamount": {
  20303. "description": "期初持仓额",
  20304. "type": "number"
  20305. },
  20306. "oriholdqty": {
  20307. "description": "期初持仓量",
  20308. "type": "number"
  20309. },
  20310. "oriopenamount": {
  20311. "description": "期初开仓额",
  20312. "type": "number"
  20313. },
  20314. "outergroupcode": {
  20315. "description": "交易品种代码",
  20316. "type": "string"
  20317. },
  20318. "qtydecimalplace": {
  20319. "description": "成交量小数位",
  20320. "type": "integer"
  20321. },
  20322. "reckondate": {
  20323. "description": "日照时期(yyyyMMdd)",
  20324. "type": "string"
  20325. },
  20326. "reckonholdamount": {
  20327. "description": "结算持仓额",
  20328. "type": "number"
  20329. },
  20330. "reckonpl": {
  20331. "description": "结算损益",
  20332. "type": "number"
  20333. },
  20334. "reckonpl2": {
  20335. "description": "结算逐笔盈亏",
  20336. "type": "number"
  20337. },
  20338. "reckonprice": {
  20339. "description": "结算价",
  20340. "type": "number"
  20341. },
  20342. "relateduserid": {
  20343. "description": "账户关联用户ID",
  20344. "type": "integer"
  20345. },
  20346. "todaycloseamount": {
  20347. "description": "今平仓额",
  20348. "type": "number"
  20349. },
  20350. "todaycloseqty": {
  20351. "description": "今平仓量",
  20352. "type": "number"
  20353. },
  20354. "todaygoodsgroupspotqty": {
  20355. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  20356. "type": "number"
  20357. },
  20358. "todaymiddlegoodsqty": {
  20359. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  20360. "type": "number"
  20361. },
  20362. "todayopenamount": {
  20363. "description": "今开仓额",
  20364. "type": "number"
  20365. },
  20366. "todayopenqty": {
  20367. "description": "今开仓量",
  20368. "type": "number"
  20369. },
  20370. "userid": {
  20371. "description": "账户所属用户ID",
  20372. "type": "integer"
  20373. }
  20374. }
  20375. },
  20376. "models.Ermcp3Wrstandard": {
  20377. "type": "object",
  20378. "properties": {
  20379. "areauserid": {
  20380. "description": "所属机构",
  20381. "type": "integer"
  20382. },
  20383. "cantrade": {
  20384. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  20385. "type": "integer"
  20386. },
  20387. "convertfactor": {
  20388. "description": "标仓系数",
  20389. "type": "number"
  20390. },
  20391. "createtime": {
  20392. "description": "创建时间",
  20393. "type": "string"
  20394. },
  20395. "creatorid": {
  20396. "description": "创建人",
  20397. "type": "integer"
  20398. },
  20399. "deliverygoodsid": {
  20400. "description": "现货品种ID",
  20401. "type": "integer"
  20402. },
  20403. "enumdicname": {
  20404. "description": "品类单位名称",
  20405. "type": "string"
  20406. },
  20407. "isvalid": {
  20408. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  20409. "type": "integer"
  20410. },
  20411. "minivalue": {
  20412. "description": "最小变动值",
  20413. "type": "integer"
  20414. },
  20415. "minivaluedp": {
  20416. "description": "最小变动值小数位",
  20417. "type": "integer"
  20418. },
  20419. "realminivalue": {
  20420. "description": "实际最小变动值",
  20421. "type": "integer"
  20422. },
  20423. "realminivaluedp": {
  20424. "description": "实际最小变动值小数位",
  20425. "type": "integer"
  20426. },
  20427. "remark": {
  20428. "description": "备注",
  20429. "type": "string"
  20430. },
  20431. "unitid": {
  20432. "description": "品类单位ID",
  20433. "type": "integer"
  20434. },
  20435. "updatetime": {
  20436. "description": "更新时间",
  20437. "type": "string"
  20438. },
  20439. "wrstandardcode": {
  20440. "description": "品类代码",
  20441. "type": "string"
  20442. },
  20443. "wrstandardid": {
  20444. "description": "品类ID(SEQ_WRSTANDARD)",
  20445. "type": "integer"
  20446. },
  20447. "wrstandardname": {
  20448. "description": "品类名称",
  20449. "type": "string"
  20450. }
  20451. }
  20452. },
  20453. "models.ErmcpAreaSpotDetailModel": {
  20454. "type": "object",
  20455. "properties": {
  20456. "contracttype": {
  20457. "description": "合同类型 1-采购 -1-销售",
  20458. "type": "integer"
  20459. },
  20460. "createtime": {
  20461. "description": "创建时间",
  20462. "type": "string"
  20463. },
  20464. "enumdicname": {
  20465. "description": "现货商品单位名称",
  20466. "type": "string"
  20467. },
  20468. "logtype": {
  20469. "description": "记录类型 1-套保 2-现货合同",
  20470. "type": "integer"
  20471. },
  20472. "qty": {
  20473. "description": "数量",
  20474. "type": "number"
  20475. },
  20476. "recordname": {
  20477. "description": "类型名称",
  20478. "type": "string"
  20479. },
  20480. "relatedid": {
  20481. "description": "套保计划ID/现货合同ID",
  20482. "type": "string"
  20483. },
  20484. "relatedno": {
  20485. "description": "编号",
  20486. "type": "string"
  20487. },
  20488. "strtime": {
  20489. "description": "时间",
  20490. "type": "string"
  20491. },
  20492. "wrstandardcode": {
  20493. "description": "现货商品代码",
  20494. "type": "string"
  20495. },
  20496. "wrstandardname": {
  20497. "description": "现货商品名称",
  20498. "type": "string"
  20499. }
  20500. }
  20501. },
  20502. "models.ErmcpAvalidGoodsGroupModel": {
  20503. "type": "object",
  20504. "properties": {
  20505. "goodsgroupid": {
  20506. "description": "期货品种id",
  20507. "type": "integer"
  20508. },
  20509. "goodsgroupname": {
  20510. "description": "期货品种名称",
  20511. "type": "string"
  20512. },
  20513. "goodunitid": {
  20514. "description": "品种单位id",
  20515. "type": "integer"
  20516. },
  20517. "goodunitname": {
  20518. "description": "品种单位名称",
  20519. "type": "string"
  20520. },
  20521. "outergroupcode": {
  20522. "description": "期货品种代码",
  20523. "type": "string"
  20524. }
  20525. }
  20526. },
  20527. "models.ErmcpBizGroupEx": {
  20528. "type": "object",
  20529. "properties": {
  20530. "acclist": {
  20531. "description": "账号列表",
  20532. "type": "array",
  20533. "items": {
  20534. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  20535. }
  20536. },
  20537. "bizgroupid": {
  20538. "description": "业务分组id",
  20539. "type": "integer"
  20540. },
  20541. "biztype": {
  20542. "description": "业务类型 1-套保 2-套利",
  20543. "type": "integer"
  20544. },
  20545. "wrlist": {
  20546. "description": "现货商品表",
  20547. "type": "array",
  20548. "items": {
  20549. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  20550. }
  20551. }
  20552. }
  20553. },
  20554. "models.ErmcpBizGroupSpotGoods": {
  20555. "type": "object",
  20556. "properties": {
  20557. "areauserid": {
  20558. "description": "所属机构id",
  20559. "type": "integer"
  20560. },
  20561. "bizgroupid": {
  20562. "description": "分组id",
  20563. "type": "integer"
  20564. },
  20565. "biztype": {
  20566. "description": "业务类型 1-套保 2-套利",
  20567. "type": "integer"
  20568. },
  20569. "deliverygoodscode": {
  20570. "description": "现货商品代码",
  20571. "type": "string"
  20572. },
  20573. "deliverygoodsid": {
  20574. "description": "现货商品id",
  20575. "type": "integer"
  20576. },
  20577. "deliverygoodsname": {
  20578. "description": "现货商品名称",
  20579. "type": "string"
  20580. },
  20581. "unitid": {
  20582. "description": "现货商品单位id",
  20583. "type": "integer"
  20584. }
  20585. }
  20586. },
  20587. "models.ErmcpBizGroupTaAccount": {
  20588. "type": "object",
  20589. "properties": {
  20590. "accountid": {
  20591. "description": "账号id",
  20592. "type": "integer"
  20593. },
  20594. "accountname": {
  20595. "description": "账号名称",
  20596. "type": "string"
  20597. },
  20598. "areauserid": {
  20599. "description": "所属机构id",
  20600. "type": "integer"
  20601. },
  20602. "bizgroupid": {
  20603. "description": "业务分组id",
  20604. "type": "integer"
  20605. },
  20606. "ismain": {
  20607. "description": "是否主账号 1-是 0-否",
  20608. "type": "integer"
  20609. }
  20610. }
  20611. },
  20612. "models.ErmcpDGFactoryItem": {
  20613. "type": "object",
  20614. "properties": {
  20615. "areauserid": {
  20616. "description": "用户id",
  20617. "type": "integer"
  20618. },
  20619. "deliverygoodsid": {
  20620. "description": "现货品种ID",
  20621. "type": "integer"
  20622. },
  20623. "dgfactoryitemid": {
  20624. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  20625. "type": "integer"
  20626. },
  20627. "dgfactoryitemtypeid": {
  20628. "description": "要素项类型",
  20629. "type": "integer"
  20630. },
  20631. "dgfactoryitemvalue": {
  20632. "description": "要素项值(类型为仓库时填写仓库名称)",
  20633. "type": "string"
  20634. },
  20635. "isvalid": {
  20636. "description": "是否有效 - 0:无效 1:有效",
  20637. "type": "integer"
  20638. },
  20639. "orderindex": {
  20640. "description": "顺序",
  20641. "type": "integer"
  20642. },
  20643. "warehouseid": {
  20644. "description": "仓库ID(类型为仓库时填写)",
  20645. "type": "integer"
  20646. }
  20647. }
  20648. },
  20649. "models.ErmcpDeliveryGoods": {
  20650. "type": "object",
  20651. "properties": {
  20652. "agreeunit": {
  20653. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  20654. "type": "integer"
  20655. },
  20656. "areauserid": {
  20657. "description": "所属机构",
  20658. "type": "integer"
  20659. },
  20660. "auditflag": {
  20661. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  20662. "type": "integer"
  20663. },
  20664. "categoryid": {
  20665. "description": "类别ID(SEQ_WRCATEGORY)",
  20666. "type": "integer"
  20667. },
  20668. "deliverygoodscode": {
  20669. "description": "现货品种代码",
  20670. "type": "string"
  20671. },
  20672. "deliverygoodsid": {
  20673. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  20674. "type": "integer"
  20675. },
  20676. "deliverygoodsname": {
  20677. "description": "现货品种名称",
  20678. "type": "string"
  20679. },
  20680. "deliverygoodstype": {
  20681. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  20682. "type": "integer"
  20683. },
  20684. "dgstatus": {
  20685. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  20686. "type": "integer"
  20687. },
  20688. "enumdicname": {
  20689. "description": "现货品种单位名称",
  20690. "type": "string"
  20691. },
  20692. "goodsunitid": {
  20693. "description": "现货品种单位ID",
  20694. "type": "integer"
  20695. },
  20696. "isvalid": {
  20697. "description": "是否有效 - 0:无效 1:有效",
  20698. "type": "integer"
  20699. },
  20700. "qtydecimalplace": {
  20701. "description": "成交量小数位",
  20702. "type": "integer"
  20703. },
  20704. "remark": {
  20705. "description": "备注",
  20706. "type": "string"
  20707. },
  20708. "standardqty": {
  20709. "description": "标准数量(库位数量) [标准品特有]",
  20710. "type": "integer"
  20711. },
  20712. "standardqtyrange": {
  20713. "description": "标准数量偏差范围 [标准品特有]",
  20714. "type": "integer"
  20715. }
  20716. }
  20717. },
  20718. "models.ErmcpDeliveryGoodsDetail2": {
  20719. "type": "object",
  20720. "properties": {
  20721. "convertratio": {
  20722. "description": "套保系数(折算系数)",
  20723. "type": "number"
  20724. },
  20725. "data": {
  20726. "description": "现货商品基本信息(交割品种)",
  20727. "type": "object",
  20728. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  20729. },
  20730. "gblist": {
  20731. "description": "品牌列表",
  20732. "type": "array",
  20733. "items": {
  20734. "$ref": "#/definitions/models.Ermcp3Brand"
  20735. }
  20736. },
  20737. "gmlist": {
  20738. "description": "品类列表(仓单标准)",
  20739. "type": "array",
  20740. "items": {
  20741. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  20742. }
  20743. }
  20744. }
  20745. },
  20746. "models.ErmcpDeliveryGoodsDetailEx": {
  20747. "type": "object",
  20748. "properties": {
  20749. "data": {
  20750. "description": "现货商品基本信息(交割品种)",
  20751. "type": "object",
  20752. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  20753. },
  20754. "gblist": {
  20755. "description": "品牌列表",
  20756. "type": "array",
  20757. "items": {
  20758. "$ref": "#/definitions/models.Ermcp3Brand"
  20759. }
  20760. },
  20761. "gmlist": {
  20762. "description": "品类列表(仓单标准)",
  20763. "type": "array",
  20764. "items": {
  20765. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  20766. }
  20767. },
  20768. "mgList": {
  20769. "description": "套保列表",
  20770. "type": "array",
  20771. "items": {
  20772. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  20773. }
  20774. }
  20775. }
  20776. },
  20777. "models.ErmcpExposureDetailModel": {
  20778. "type": "object",
  20779. "properties": {
  20780. "areauserid": {
  20781. "description": "机构ID",
  20782. "type": "integer"
  20783. },
  20784. "changeQty": {
  20785. "description": "套保变动量",
  20786. "type": "number"
  20787. },
  20788. "contracttype": {
  20789. "description": "现货合同类型 - 1:采购 -1:销售",
  20790. "type": "integer"
  20791. },
  20792. "convertfactor": {
  20793. "description": "标仓系数",
  20794. "type": "number"
  20795. },
  20796. "convertratio": {
  20797. "description": "套保系数",
  20798. "type": "number"
  20799. },
  20800. "createtime": {
  20801. "description": "时间",
  20802. "type": "string"
  20803. },
  20804. "enumdicname": {
  20805. "description": "现货商品单位名称",
  20806. "type": "string"
  20807. },
  20808. "logtype": {
  20809. "description": "类型 - 1:套保计划 2:现货合同",
  20810. "type": "integer"
  20811. },
  20812. "middlegoodsId": {
  20813. "description": "套保商品id",
  20814. "type": "integer"
  20815. },
  20816. "middlegoodscode": {
  20817. "description": "套保商品代码",
  20818. "type": "string"
  20819. },
  20820. "middlegoodsname": {
  20821. "description": "套保商品名称",
  20822. "type": "string"
  20823. },
  20824. "qty": {
  20825. "description": "数量",
  20826. "type": "number"
  20827. },
  20828. "relateNo": {
  20829. "description": "现货合同/套保计划编号",
  20830. "type": "string"
  20831. },
  20832. "wrstandardcode": {
  20833. "description": "现货商品代码",
  20834. "type": "string"
  20835. },
  20836. "wrstandardid": {
  20837. "description": "现货商品ID",
  20838. "type": "integer"
  20839. },
  20840. "wrstandardname": {
  20841. "description": "现货商品名称",
  20842. "type": "string"
  20843. }
  20844. }
  20845. },
  20846. "models.ErmcpExposurePostion": {
  20847. "type": "object",
  20848. "properties": {
  20849. "agreeunit": {
  20850. "description": "合约单位",
  20851. "type": "string"
  20852. },
  20853. "areauserid": {
  20854. "description": "所属机构id",
  20855. "type": "integer"
  20856. },
  20857. "convertratio": {
  20858. "description": "期货品种系数(折算系数)",
  20859. "type": "number"
  20860. },
  20861. "curqty": {
  20862. "description": "当前持仓",
  20863. "type": "integer"
  20864. },
  20865. "diffhedgeqty": {
  20866. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  20867. "type": "number"
  20868. },
  20869. "diffqty": {
  20870. "description": "持仓变动量=当前持仓-昨日持仓",
  20871. "type": "integer"
  20872. },
  20873. "goodscode": {
  20874. "description": "商品代码",
  20875. "type": "string"
  20876. },
  20877. "goodsid": {
  20878. "description": "商品id",
  20879. "type": "integer"
  20880. },
  20881. "goodsname": {
  20882. "description": "商品名称",
  20883. "type": "string"
  20884. },
  20885. "middlegoodsid": {
  20886. "description": "套保商品id",
  20887. "type": "integer"
  20888. },
  20889. "ydqty": {
  20890. "description": "昨日持仓",
  20891. "type": "integer"
  20892. }
  20893. }
  20894. },
  20895. "models.ErmcpFuturesCompany": {
  20896. "type": "object",
  20897. "properties": {
  20898. "brokerid": {
  20899. "description": "经纪公司代码",
  20900. "type": "string"
  20901. },
  20902. "channeladdress": {
  20903. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  20904. "type": "string"
  20905. },
  20906. "channelid": {
  20907. "description": "对冲渠道ID",
  20908. "type": "string"
  20909. },
  20910. "createtime": {
  20911. "description": "创建时间",
  20912. "type": "string"
  20913. },
  20914. "creatorid": {
  20915. "description": "创建人",
  20916. "type": "string"
  20917. },
  20918. "fcid": {
  20919. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  20920. "type": "integer"
  20921. },
  20922. "fcname": {
  20923. "description": "期货公司名称",
  20924. "type": "string"
  20925. },
  20926. "isvalid": {
  20927. "description": "是否有效 - 0:无效 1:有效",
  20928. "type": "integer"
  20929. },
  20930. "mhpaddress": {
  20931. "description": "MHP服务地址(IP:Port)",
  20932. "type": "string"
  20933. },
  20934. "riskrulegroupid": {
  20935. "description": "风控规则组ID",
  20936. "type": "string"
  20937. },
  20938. "tradefeetmpid": {
  20939. "description": "手续费模板ID[TradeConfigTmpType为2]",
  20940. "type": "string"
  20941. },
  20942. "trademargintmpid": {
  20943. "description": "保证金模板ID [TradeConfigTmpType为1]",
  20944. "type": "string"
  20945. },
  20946. "traderatetmpid": {
  20947. "description": "汇率模板ID[TradeConfigTmpType为3]",
  20948. "type": "string"
  20949. },
  20950. "updatetime": {
  20951. "description": "更新时间",
  20952. "type": "string"
  20953. },
  20954. "updatorid": {
  20955. "description": "更新人",
  20956. "type": "string"
  20957. }
  20958. }
  20959. },
  20960. "models.ErmcpGGConvertCfg": {
  20961. "type": "object",
  20962. "properties": {
  20963. "convertratio": {
  20964. "description": "折算系数",
  20965. "type": "number"
  20966. },
  20967. "destgoodsgroupid": {
  20968. "description": "目标品种ID",
  20969. "type": "integer"
  20970. },
  20971. "dstcode": {
  20972. "description": "目录品种代码",
  20973. "type": "string"
  20974. },
  20975. "dstexchangecode": {
  20976. "description": "目标期货交易所",
  20977. "type": "string"
  20978. },
  20979. "dstname": {
  20980. "description": "目标品种名称",
  20981. "type": "string"
  20982. },
  20983. "dstunitid": {
  20984. "description": "目标品种单位ID",
  20985. "type": "integer"
  20986. },
  20987. "dstunitidname": {
  20988. "description": "目标品种单位名称",
  20989. "type": "string"
  20990. },
  20991. "modifytime": {
  20992. "description": "修改时间",
  20993. "type": "string"
  20994. },
  20995. "srccode": {
  20996. "description": "源品种代码",
  20997. "type": "string"
  20998. },
  20999. "srcexchangecode": {
  21000. "description": "源期货交易所",
  21001. "type": "string"
  21002. },
  21003. "srcgoodsgroupid": {
  21004. "description": "源品种ID",
  21005. "type": "integer"
  21006. },
  21007. "srcname": {
  21008. "description": "源品种名称",
  21009. "type": "string"
  21010. },
  21011. "srcunitid": {
  21012. "description": "源品种单位ID",
  21013. "type": "integer"
  21014. },
  21015. "srcunitidname": {
  21016. "description": "源品种单位名称",
  21017. "type": "string"
  21018. }
  21019. }
  21020. },
  21021. "models.ErmcpGoods": {
  21022. "type": "object",
  21023. "required": [
  21024. "goodscode",
  21025. "goodsid",
  21026. "goodsname",
  21027. "marketid"
  21028. ],
  21029. "properties": {
  21030. "agreeunit": {
  21031. "description": "合约单位",
  21032. "type": "number"
  21033. },
  21034. "areauserid": {
  21035. "description": "所属机构",
  21036. "type": "integer"
  21037. },
  21038. "auditaccountid": {
  21039. "description": "审核操作员账号",
  21040. "type": "integer"
  21041. },
  21042. "audittime": {
  21043. "description": "审核时间",
  21044. "type": "string"
  21045. },
  21046. "cancelaccountid": {
  21047. "description": "注销操作员账号",
  21048. "type": "integer"
  21049. },
  21050. "canceltime": {
  21051. "description": "注销时间",
  21052. "type": "string"
  21053. },
  21054. "closepricemode": {
  21055. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21056. "type": "integer"
  21057. },
  21058. "closepriceparam": {
  21059. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  21060. "type": "number"
  21061. },
  21062. "createtime": {
  21063. "description": "创建时间",
  21064. "type": "string"
  21065. },
  21066. "creatorid": {
  21067. "description": "创建人",
  21068. "type": "integer"
  21069. },
  21070. "currencyid": {
  21071. "description": "报价货币ID",
  21072. "type": "integer"
  21073. },
  21074. "cutmode": {
  21075. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  21076. "type": "integer"
  21077. },
  21078. "decimalplace": {
  21079. "description": "报价小数位",
  21080. "type": "integer"
  21081. },
  21082. "delistingdate": {
  21083. "description": "商品退市时间(状态:退市) -- 已作废",
  21084. "type": "string"
  21085. },
  21086. "delistingmode": {
  21087. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  21088. "type": "integer"
  21089. },
  21090. "deliveryflag": {
  21091. "description": "交割标志 - 0:不可交割 1:可交割",
  21092. "type": "integer"
  21093. },
  21094. "enumdicname": {
  21095. "description": "单位名称",
  21096. "type": "string"
  21097. },
  21098. "forceclosemode": {
  21099. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  21100. "type": "integer"
  21101. },
  21102. "forceclosevalue": {
  21103. "description": "定期强平参数 [收益权]",
  21104. "type": "integer"
  21105. },
  21106. "goodscode": {
  21107. "description": "商品代码(内部)",
  21108. "type": "string"
  21109. },
  21110. "goodscurrencyid": {
  21111. "description": "合约货币ID",
  21112. "type": "integer"
  21113. },
  21114. "goodsgroupid": {
  21115. "description": "所属商品组ID",
  21116. "type": "integer"
  21117. },
  21118. "goodsid": {
  21119. "description": "商品ID(自增ID SEQ_GOODS)",
  21120. "type": "integer"
  21121. },
  21122. "goodsname": {
  21123. "description": "商品名称",
  21124. "type": "string"
  21125. },
  21126. "goodsquotetype": {
  21127. "description": "合约报价类型: 1-直接报价 2-间接报价",
  21128. "type": "integer"
  21129. },
  21130. "goodsstatus": {
  21131. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21132. "type": "integer"
  21133. },
  21134. "goodstradetype": {
  21135. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  21136. "type": "integer"
  21137. },
  21138. "goodunitid": {
  21139. "description": "报价单位ID",
  21140. "type": "integer"
  21141. },
  21142. "hasquoter": {
  21143. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  21144. "type": "integer"
  21145. },
  21146. "hqprotecttime": {
  21147. "description": "行情保护时间(秒)",
  21148. "type": "integer"
  21149. },
  21150. "innerdealmode": {
  21151. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21152. "type": "integer"
  21153. },
  21154. "isbuylimited": {
  21155. "description": "是否限制建仓量 - 0:不限制 1:限制",
  21156. "type": "integer"
  21157. },
  21158. "isvisible": {
  21159. "description": "游客是否可见 - 0:不可见 1:可见",
  21160. "type": "integer"
  21161. },
  21162. "lasttradedate": {
  21163. "description": "最后交易日期(状态:待退市)",
  21164. "type": "string"
  21165. },
  21166. "listingdate": {
  21167. "description": "交易开始日期",
  21168. "type": "string"
  21169. },
  21170. "marketid": {
  21171. "description": "所属市场ID",
  21172. "type": "integer"
  21173. },
  21174. "modifierid": {
  21175. "description": "修改人",
  21176. "type": "integer"
  21177. },
  21178. "modifystatus": {
  21179. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  21180. "type": "integer"
  21181. },
  21182. "modifytime": {
  21183. "description": "修改时间",
  21184. "type": "string"
  21185. },
  21186. "outerdealmode": {
  21187. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21188. "type": "integer"
  21189. },
  21190. "outgoodscode": {
  21191. "description": "商品代码(外部)",
  21192. "type": "string"
  21193. },
  21194. "pictureurl": {
  21195. "description": "商品图片",
  21196. "type": "string"
  21197. },
  21198. "qtydecimalplace": {
  21199. "description": "成交量小数位",
  21200. "type": "integer"
  21201. },
  21202. "quotegear": {
  21203. "description": "行情档位(1-10)",
  21204. "type": "integer"
  21205. },
  21206. "quoteminunit": {
  21207. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21208. "type": "integer"
  21209. },
  21210. "quoteshowtype": {
  21211. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  21212. "type": "integer"
  21213. },
  21214. "quoteshowtypeinterval": {
  21215. "description": "行情报价间隔时间(秒)(成交价时为0)",
  21216. "type": "integer"
  21217. },
  21218. "relatedgoodsid": {
  21219. "description": "关联参考商品ID",
  21220. "type": "integer"
  21221. },
  21222. "remark": {
  21223. "description": "备注",
  21224. "type": "string"
  21225. },
  21226. "trademode": {
  21227. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21228. "type": "integer"
  21229. }
  21230. }
  21231. },
  21232. "models.ErmcpGoodsBrand": {
  21233. "type": "object",
  21234. "properties": {
  21235. "areauserid": {
  21236. "description": "所属机构",
  21237. "type": "integer"
  21238. },
  21239. "brandid": {
  21240. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  21241. "type": "integer"
  21242. },
  21243. "brandname": {
  21244. "description": "品牌名称",
  21245. "type": "string"
  21246. },
  21247. "createtime": {
  21248. "description": "创建时间",
  21249. "type": "string"
  21250. },
  21251. "creatorid": {
  21252. "description": "创建人",
  21253. "type": "integer"
  21254. },
  21255. "creatorsrc": {
  21256. "description": "创建人来源 - 1:管理端 2:终端",
  21257. "type": "integer"
  21258. },
  21259. "deliverygoodsid": {
  21260. "description": "现货品种ID",
  21261. "type": "integer"
  21262. },
  21263. "isvalid": {
  21264. "description": "是否有效 - 0:无效 1:有效",
  21265. "type": "integer"
  21266. },
  21267. "updatetime": {
  21268. "description": "更新时间",
  21269. "type": "string"
  21270. },
  21271. "updatorid": {
  21272. "description": "更新人",
  21273. "type": "integer"
  21274. },
  21275. "updatorsrc": {
  21276. "description": "更新人来源 - 1:管理端 2:终端",
  21277. "type": "integer"
  21278. },
  21279. "wrstandardid": {
  21280. "description": "现货商品ID",
  21281. "type": "integer"
  21282. }
  21283. }
  21284. },
  21285. "models.ErmcpGoodsModel": {
  21286. "type": "object",
  21287. "properties": {
  21288. "areauserid": {
  21289. "description": "所属机构",
  21290. "type": "integer"
  21291. },
  21292. "convertfactor": {
  21293. "description": "标仓系数",
  21294. "type": "number"
  21295. },
  21296. "createtime": {
  21297. "description": "创建时间",
  21298. "type": "string"
  21299. },
  21300. "creatorid": {
  21301. "description": "创建人",
  21302. "type": "integer"
  21303. },
  21304. "creatorsrc": {
  21305. "description": "创建人来源 - 1:管理端 2:终端",
  21306. "type": "integer"
  21307. },
  21308. "deliverygoodsid": {
  21309. "description": "现货品种ID",
  21310. "type": "integer"
  21311. },
  21312. "isvalid": {
  21313. "description": "是否有效 - 0:无效 1:有效",
  21314. "type": "integer"
  21315. },
  21316. "modelid": {
  21317. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  21318. "type": "integer"
  21319. },
  21320. "modelname": {
  21321. "description": "型号名称",
  21322. "type": "string"
  21323. },
  21324. "updatetime": {
  21325. "description": "更新时间",
  21326. "type": "string"
  21327. },
  21328. "updatorid": {
  21329. "description": "更新人",
  21330. "type": "integer"
  21331. },
  21332. "updatorsrc": {
  21333. "description": "更新人来源 - 1:管理端 2:终端",
  21334. "type": "integer"
  21335. },
  21336. "wrstandardid": {
  21337. "description": "现货商品ID",
  21338. "type": "integer"
  21339. }
  21340. }
  21341. },
  21342. "models.ErmcpHedgePosition": {
  21343. "type": "object",
  21344. "properties": {
  21345. "accountid": {
  21346. "description": "资金账号[外部母账户]",
  21347. "type": "integer"
  21348. },
  21349. "curbuyposition": {
  21350. "description": "期末买头寸",
  21351. "type": "integer"
  21352. },
  21353. "cursellposition": {
  21354. "description": "期末卖头寸",
  21355. "type": "integer"
  21356. },
  21357. "curtdbuyposition": {
  21358. "description": "期末今日买头寸",
  21359. "type": "integer"
  21360. },
  21361. "curtdsellposition": {
  21362. "description": "期末今日卖头寸",
  21363. "type": "integer"
  21364. },
  21365. "curydbuyposition": {
  21366. "description": "期末上日买头寸",
  21367. "type": "integer"
  21368. },
  21369. "curydsellposition": {
  21370. "description": "期末上日卖头寸",
  21371. "type": "integer"
  21372. },
  21373. "decreaseqty": {
  21374. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  21375. "type": "integer"
  21376. },
  21377. "fretdbuyposition": {
  21378. "description": "冻结今日买头寸",
  21379. "type": "integer"
  21380. },
  21381. "fretdsellposition": {
  21382. "description": "冻结今日卖头寸",
  21383. "type": "integer"
  21384. },
  21385. "freydbuyposition": {
  21386. "description": "冻结上日买头寸",
  21387. "type": "integer"
  21388. },
  21389. "freydsellposition": {
  21390. "description": "冻结上日卖头寸",
  21391. "type": "integer"
  21392. },
  21393. "goodscode": {
  21394. "description": "商品代码",
  21395. "type": "string"
  21396. },
  21397. "goodsid": {
  21398. "description": "商品id",
  21399. "type": "integer"
  21400. },
  21401. "goodsname": {
  21402. "description": "商品名称",
  21403. "type": "string"
  21404. },
  21405. "hedgeaccountcode": {
  21406. "description": "对冲账号",
  21407. "type": "string"
  21408. },
  21409. "hedgegoodsid": {
  21410. "description": "对冲合约ID",
  21411. "type": "integer"
  21412. },
  21413. "increaseqty": {
  21414. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  21415. "type": "integer"
  21416. },
  21417. "marketid": {
  21418. "description": "市场ID",
  21419. "type": "integer"
  21420. },
  21421. "relateduserid": {
  21422. "description": "关联用户id",
  21423. "type": "integer"
  21424. },
  21425. "totalcurqty": {
  21426. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  21427. "type": "integer"
  21428. },
  21429. "totalydqty": {
  21430. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  21431. "type": "integer"
  21432. },
  21433. "tradedate": {
  21434. "description": "交易日(yyyyMMdd)",
  21435. "type": "string"
  21436. },
  21437. "ydbuyposition": {
  21438. "description": "期初买头寸",
  21439. "type": "integer"
  21440. },
  21441. "ydsellposition": {
  21442. "description": "期初卖头寸",
  21443. "type": "integer"
  21444. }
  21445. }
  21446. },
  21447. "models.ErmcpHedgePositionDetail": {
  21448. "type": "object",
  21449. "properties": {
  21450. "buyorsell": {
  21451. "description": "买卖方向 0-买 1-卖",
  21452. "type": "integer"
  21453. },
  21454. "channelbuildtype": {
  21455. "description": "开平方向 1-建仓 2-平仓",
  21456. "type": "integer"
  21457. },
  21458. "goodscode": {
  21459. "description": "商品代码",
  21460. "type": "string"
  21461. },
  21462. "goodsname": {
  21463. "description": "商品名称",
  21464. "type": "string"
  21465. },
  21466. "hedgegoodsid": {
  21467. "description": "商品id",
  21468. "type": "integer"
  21469. },
  21470. "tradeqty": {
  21471. "description": "数量(成交数量)",
  21472. "type": "integer"
  21473. },
  21474. "tradetime": {
  21475. "description": "时间(成交时间)",
  21476. "type": "string"
  21477. }
  21478. }
  21479. },
  21480. "models.ErmcpHisExposure": {
  21481. "type": "object",
  21482. "properties": {
  21483. "needhedgeexposoure": {
  21484. "description": "应套保敞口",
  21485. "type": "number"
  21486. },
  21487. "reckondate": {
  21488. "description": "日照时期(yyyyMMdd)",
  21489. "type": "string"
  21490. },
  21491. "totalexposure": {
  21492. "description": "总敞口",
  21493. "type": "number"
  21494. }
  21495. }
  21496. },
  21497. "models.ErmcpHisExposureS": {
  21498. "type": "object",
  21499. "properties": {
  21500. "data": {
  21501. "description": "历史敞口",
  21502. "type": "array",
  21503. "items": {
  21504. "$ref": "#/definitions/models.ErmcpHisExposure"
  21505. }
  21506. },
  21507. "enumdicname": {
  21508. "description": "单位名称",
  21509. "type": "string"
  21510. },
  21511. "middlegoodscode": {
  21512. "description": "套保品种代码",
  21513. "type": "string"
  21514. },
  21515. "middlegoodsid": {
  21516. "description": "套保品种ID",
  21517. "type": "integer"
  21518. },
  21519. "middlegoodsname": {
  21520. "description": "套保品种名称",
  21521. "type": "string"
  21522. }
  21523. }
  21524. },
  21525. "models.ErmcpLoginTaAccount": {
  21526. "type": "object",
  21527. "properties": {
  21528. "accountid": {
  21529. "description": "账号id",
  21530. "type": "integer"
  21531. },
  21532. "accountname": {
  21533. "description": "账号名称",
  21534. "type": "string"
  21535. }
  21536. }
  21537. },
  21538. "models.ErmcpLoginUser": {
  21539. "type": "object",
  21540. "properties": {
  21541. "acclist": {
  21542. "description": "关联资金账号",
  21543. "type": "array",
  21544. "items": {
  21545. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  21546. }
  21547. },
  21548. "accountname": {
  21549. "description": "用户名称",
  21550. "type": "string"
  21551. },
  21552. "clientroleid": {
  21553. "description": "角色id(usertype=2)",
  21554. "type": "integer"
  21555. },
  21556. "createtime": {
  21557. "description": "创建时间",
  21558. "type": "string"
  21559. },
  21560. "logincode": {
  21561. "description": "登录代码",
  21562. "type": "string"
  21563. },
  21564. "loginid": {
  21565. "description": "登录id(LOGINID)",
  21566. "type": "integer"
  21567. },
  21568. "loginname": {
  21569. "description": "登录名称(loginaccount表中的accountname字段)",
  21570. "type": "string"
  21571. },
  21572. "loginstatus": {
  21573. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  21574. "type": "integer"
  21575. },
  21576. "memberuserid": {
  21577. "description": "所属会员id",
  21578. "type": "integer"
  21579. },
  21580. "mobile": {
  21581. "description": "手机号",
  21582. "type": "string"
  21583. },
  21584. "modifytime": {
  21585. "description": "修改时间",
  21586. "type": "string"
  21587. },
  21588. "password": {
  21589. "description": "密码(不可解密)",
  21590. "type": "string"
  21591. },
  21592. "rolename": {
  21593. "description": "角色名称",
  21594. "type": "string"
  21595. },
  21596. "rolestatus": {
  21597. "description": "角色状态 1-启用 2-停用",
  21598. "type": "integer"
  21599. },
  21600. "roletype": {
  21601. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  21602. "type": "string"
  21603. },
  21604. "userid": {
  21605. "description": "用户id",
  21606. "type": "integer"
  21607. },
  21608. "usertype": {
  21609. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  21610. "type": "integer"
  21611. }
  21612. }
  21613. },
  21614. "models.ErmcpLoginUserEx": {
  21615. "type": "object",
  21616. "properties": {
  21617. "accountstatus": {
  21618. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  21619. "type": "integer"
  21620. },
  21621. "mobile": {
  21622. "description": "手机号",
  21623. "type": "string"
  21624. },
  21625. "querytype": {
  21626. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  21627. "type": "integer"
  21628. },
  21629. "roleid": {
  21630. "description": "角色id(交易账户-\u003e用户id)",
  21631. "type": "integer"
  21632. },
  21633. "rolename": {
  21634. "description": "角色名称(交易账户-\u003e用户名称)",
  21635. "type": "string"
  21636. },
  21637. "userlist": {
  21638. "description": "用户列表",
  21639. "type": "array",
  21640. "items": {
  21641. "$ref": "#/definitions/models.ErmcpLoginUser"
  21642. }
  21643. },
  21644. "usertype": {
  21645. "description": "用户类型 2-机构 7-企业成员(云平台)",
  21646. "type": "integer"
  21647. }
  21648. }
  21649. },
  21650. "models.ErmcpMiddleGoodsChangeLog": {
  21651. "type": "object",
  21652. "properties": {
  21653. "aftervalue": {
  21654. "description": "变更后",
  21655. "type": "number"
  21656. },
  21657. "applyid": {
  21658. "description": "操作人",
  21659. "type": "integer"
  21660. },
  21661. "applyname": {
  21662. "description": "操作人名称",
  21663. "type": "string"
  21664. },
  21665. "applysrc": {
  21666. "description": "操作来源 - 1:管理端 2:终端",
  21667. "type": "integer"
  21668. },
  21669. "beforevalue": {
  21670. "description": "变更前",
  21671. "type": "number"
  21672. },
  21673. "changelogtype": {
  21674. "description": "变更流水类型 - 1:套保比率变更",
  21675. "type": "integer"
  21676. },
  21677. "handlestatus": {
  21678. "description": "处理状态",
  21679. "type": "integer"
  21680. },
  21681. "logdatetime": {
  21682. "description": "流水日期",
  21683. "type": "string"
  21684. },
  21685. "logid": {
  21686. "description": "流水ID",
  21687. "type": "integer"
  21688. },
  21689. "logremark": {
  21690. "description": "流水备注",
  21691. "type": "string"
  21692. },
  21693. "middlegoodsid": {
  21694. "description": "套保品种ID",
  21695. "type": "integer"
  21696. },
  21697. "tradedate": {
  21698. "description": "交易日(yyyyMMdd)",
  21699. "type": "string"
  21700. },
  21701. "updatetime": {
  21702. "description": "更新时间",
  21703. "type": "string"
  21704. }
  21705. }
  21706. },
  21707. "models.ErmcpMiddleGoodsDetail": {
  21708. "type": "object",
  21709. "properties": {
  21710. "cvList": {
  21711. "description": "期货品种折算列表",
  21712. "type": "array",
  21713. "items": {
  21714. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  21715. }
  21716. },
  21717. "mg": {
  21718. "description": "套保品种基本信息",
  21719. "type": "object",
  21720. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  21721. },
  21722. "wrcList": {
  21723. "description": "现货品种列表(现货商品折算配置)",
  21724. "type": "array",
  21725. "items": {
  21726. "$ref": "#/definitions/models.WRSConverTDetail"
  21727. }
  21728. }
  21729. }
  21730. },
  21731. "models.ErmcpMiddleGoodsModel": {
  21732. "type": "object",
  21733. "properties": {
  21734. "areauserid": {
  21735. "description": "机构用户ID",
  21736. "type": "integer"
  21737. },
  21738. "createtime": {
  21739. "description": "修改时间",
  21740. "type": "string"
  21741. },
  21742. "enumdicname": {
  21743. "description": "单位名称",
  21744. "type": "string"
  21745. },
  21746. "evaluateratio": {
  21747. "description": "估价系数",
  21748. "type": "number"
  21749. },
  21750. "goodsgroupid": {
  21751. "description": "关联期货品种ID",
  21752. "type": "integer"
  21753. },
  21754. "goodsunitid": {
  21755. "description": "单位ID",
  21756. "type": "integer"
  21757. },
  21758. "isvalid": {
  21759. "description": "状态 0-无效(停用) 1-有效(正常)",
  21760. "type": "integer"
  21761. },
  21762. "middlegoodscode": {
  21763. "description": "套保品种代码",
  21764. "type": "string"
  21765. },
  21766. "middlegoodsid": {
  21767. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  21768. "type": "integer"
  21769. },
  21770. "middlegoodsname": {
  21771. "description": "套保品种名称",
  21772. "type": "string"
  21773. },
  21774. "modifytime": {
  21775. "description": "修改时间",
  21776. "type": "string"
  21777. },
  21778. "needarbitrageratio": {
  21779. "description": "套利比例",
  21780. "type": "number"
  21781. },
  21782. "needhedgeratio": {
  21783. "description": "套保比率",
  21784. "type": "number"
  21785. },
  21786. "qtydecimalplace": {
  21787. "description": "数量小数位",
  21788. "type": "integer"
  21789. },
  21790. "relatedgoodsid": {
  21791. "description": "关联交易商品ID",
  21792. "type": "integer"
  21793. },
  21794. "relatedgoodstype": {
  21795. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  21796. "type": "integer"
  21797. },
  21798. "remark": {
  21799. "description": "备注",
  21800. "type": "string"
  21801. }
  21802. }
  21803. },
  21804. "models.ErmcpMiddlegoodsRelateGoods": {
  21805. "type": "object",
  21806. "properties": {
  21807. "agreeunit": {
  21808. "description": "合约乘数",
  21809. "type": "number"
  21810. },
  21811. "convertratio": {
  21812. "description": "折算系数",
  21813. "type": "number"
  21814. },
  21815. "enumdicname": {
  21816. "description": "单位名称(交易商品)",
  21817. "type": "string"
  21818. },
  21819. "goodscode": {
  21820. "description": "交易商品代码",
  21821. "type": "string"
  21822. },
  21823. "goodsgroupid": {
  21824. "description": "交易品种id",
  21825. "type": "integer"
  21826. },
  21827. "goodsid": {
  21828. "description": "商品Id",
  21829. "type": "integer"
  21830. },
  21831. "goodsname": {
  21832. "description": "交易商品名称",
  21833. "type": "string"
  21834. },
  21835. "goodunitid": {
  21836. "description": "交易商品单位id",
  21837. "type": "integer"
  21838. },
  21839. "middlegoodsid": {
  21840. "description": "套保商品id",
  21841. "type": "integer"
  21842. },
  21843. "middlegoodsname": {
  21844. "description": "套保商品名称",
  21845. "type": "string"
  21846. },
  21847. "middlegoodsswcode": {
  21848. "description": "套保商品代码",
  21849. "type": "string"
  21850. },
  21851. "needarbitrageratio": {
  21852. "description": "应套利比例",
  21853. "type": "number"
  21854. },
  21855. "needhedgeratio": {
  21856. "description": "应套保比例",
  21857. "type": "number"
  21858. }
  21859. }
  21860. },
  21861. "models.ErmcpOPLogModel": {
  21862. "type": "object",
  21863. "properties": {
  21864. "aftervalue": {
  21865. "description": "变更后",
  21866. "type": "number"
  21867. },
  21868. "applyid": {
  21869. "description": "操作人ID",
  21870. "type": "string"
  21871. },
  21872. "applyname": {
  21873. "description": "操作人名称",
  21874. "type": "string"
  21875. },
  21876. "beforevalue": {
  21877. "description": "变更前",
  21878. "type": "number"
  21879. },
  21880. "biztype": {
  21881. "description": "业务类型 - 1:套保计划 2:现货合同",
  21882. "type": "integer"
  21883. },
  21884. "contracttype": {
  21885. "description": "现货合同类型 - 1:采购 -1:销售",
  21886. "type": "integer"
  21887. },
  21888. "logvalue": {
  21889. "description": "数值",
  21890. "type": "number"
  21891. },
  21892. "operatelogtype": {
  21893. "description": "操作流水类型",
  21894. "type": "integer"
  21895. },
  21896. "operatelogtypedesc": {
  21897. "description": "操作流水类型名称",
  21898. "type": "string"
  21899. },
  21900. "relatedid": {
  21901. "description": "现货合同ID\\套保计划",
  21902. "type": "string"
  21903. },
  21904. "updatetime": {
  21905. "description": "更新时间",
  21906. "type": "string"
  21907. }
  21908. }
  21909. },
  21910. "models.ErmcpPendingAudit": {
  21911. "type": "object",
  21912. "properties": {
  21913. "areastockqty": {
  21914. "description": "待审核数量: 库存申请",
  21915. "type": "integer"
  21916. },
  21917. "businessdjqty": {
  21918. "description": "待审核数量: 点价",
  21919. "type": "integer"
  21920. },
  21921. "businessfpqty": {
  21922. "description": "待审核数量: 发票",
  21923. "type": "integer"
  21924. },
  21925. "businessjsqty": {
  21926. "description": "待审核数量: 结算",
  21927. "type": "integer"
  21928. },
  21929. "businesskxqty": {
  21930. "description": "待审核数量: 款项",
  21931. "type": "integer"
  21932. },
  21933. "hedgeplanqty": {
  21934. "description": "待审核数量: 套保计划",
  21935. "type": "integer"
  21936. },
  21937. "spotcontractqty": {
  21938. "description": "待审核数量: 现货合同",
  21939. "type": "integer"
  21940. },
  21941. "userqty": {
  21942. "description": "待审核数量: 用户",
  21943. "type": "integer"
  21944. }
  21945. }
  21946. },
  21947. "models.ErmcpRealExposureModel": {
  21948. "type": "object",
  21949. "properties": {
  21950. "AreaUserID": {
  21951. "description": "所属机构",
  21952. "type": "integer"
  21953. },
  21954. "BuyFutureQty": {
  21955. "description": "买入期货数量",
  21956. "type": "number"
  21957. },
  21958. "BuyPlanQty": {
  21959. "description": "采购计划数量",
  21960. "type": "number"
  21961. },
  21962. "BuyPricedQty": {
  21963. "description": "采购合同已定价数量",
  21964. "type": "number"
  21965. },
  21966. "MiddleGoodsCode": {
  21967. "description": "套保品种代码",
  21968. "type": "string"
  21969. },
  21970. "MiddleGoodsHedgeRatio": {
  21971. "description": "套保比例",
  21972. "type": "number"
  21973. },
  21974. "MiddleGoodsID": {
  21975. "description": "套保品种",
  21976. "type": "integer"
  21977. },
  21978. "MiddleGoodsName": {
  21979. "description": "套保品种名称",
  21980. "type": "string"
  21981. },
  21982. "NeedHedgeExposoure": {
  21983. "description": "应套保敞口(套保敞口)",
  21984. "type": "number"
  21985. },
  21986. "NeedHedgeRatio": {
  21987. "description": "应套保敞口比例",
  21988. "type": "number"
  21989. },
  21990. "OriBuyFutureQty": {
  21991. "description": "期初买入期货数量",
  21992. "type": "number"
  21993. },
  21994. "OriBuyPlanQty": {
  21995. "description": "期初采购计划数量",
  21996. "type": "number"
  21997. },
  21998. "OriBuyPricedQty": {
  21999. "description": "期初采购合同已定价数量",
  22000. "type": "number"
  22001. },
  22002. "OriSellFutureQty": {
  22003. "description": "期初卖出期货数量",
  22004. "type": "number"
  22005. },
  22006. "OriSellPlanQty": {
  22007. "description": "期初销售计划数量",
  22008. "type": "number"
  22009. },
  22010. "OriSellPricedQty": {
  22011. "description": "期初销售合同已定价数量",
  22012. "type": "number"
  22013. },
  22014. "SellFutureQty": {
  22015. "description": "卖出期货数量",
  22016. "type": "number"
  22017. },
  22018. "SellPlanQty": {
  22019. "description": "销售计划数量",
  22020. "type": "number"
  22021. },
  22022. "SellPricedQty": {
  22023. "description": "销售合同已定价数量",
  22024. "type": "number"
  22025. },
  22026. "TotalExposure": {
  22027. "description": "总敞口",
  22028. "type": "number"
  22029. },
  22030. "TotalFutureQty": {
  22031. "description": "期货总量",
  22032. "type": "number"
  22033. },
  22034. "TotalHedgeRatio": {
  22035. "description": "敞口比例",
  22036. "type": "number"
  22037. },
  22038. "TotalNeedHedgeQty": {
  22039. "description": "应套保总量(现货应套保总量)",
  22040. "type": "number"
  22041. },
  22042. "TotalSpotQty": {
  22043. "description": "现货总量",
  22044. "type": "number"
  22045. },
  22046. "arbitrageqty": {
  22047. "description": "套利量",
  22048. "type": "number"
  22049. },
  22050. "diffArbitrageQty": {
  22051. "description": "套利变动量",
  22052. "type": "number"
  22053. },
  22054. "diffExposoureQty": {
  22055. "description": "变动量(套保敞口)",
  22056. "type": "number"
  22057. },
  22058. "diffFutuQty": {
  22059. "description": "变动量(期货总量)",
  22060. "type": "number"
  22061. },
  22062. "diffHedgeQty": {
  22063. "description": "套保变动量",
  22064. "type": "number"
  22065. },
  22066. "diffQty": {
  22067. "description": "变动量(总敞口)",
  22068. "type": "number"
  22069. },
  22070. "diffSpotHedgeQty": {
  22071. "description": "变动量(现货应套保总量)",
  22072. "type": "number"
  22073. },
  22074. "diffSpotQty": {
  22075. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  22076. "type": "number"
  22077. },
  22078. "enumdicname": {
  22079. "description": "单位名称",
  22080. "type": "string"
  22081. },
  22082. "hedgeqty": {
  22083. "description": "套保量",
  22084. "type": "number"
  22085. },
  22086. "needarbitrageqty": {
  22087. "description": "应套利量",
  22088. "type": "number"
  22089. },
  22090. "needarbitrageratio": {
  22091. "description": "套利比例",
  22092. "type": "number"
  22093. },
  22094. "needhedgeqty": {
  22095. "description": "应套保量",
  22096. "type": "number"
  22097. },
  22098. "oriTotalFutuQty": {
  22099. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  22100. "type": "number"
  22101. },
  22102. "oriTotalSpotQty": {
  22103. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  22104. "type": "number"
  22105. },
  22106. "oriarbitrageqty": {
  22107. "description": "期初套利量",
  22108. "type": "number"
  22109. },
  22110. "orihedgeqty": {
  22111. "description": "期初套保量",
  22112. "type": "number"
  22113. },
  22114. "orineedhedgeexposoure": {
  22115. "description": "期初套保敞口",
  22116. "type": "number"
  22117. },
  22118. "oritotalexposure": {
  22119. "description": "期初总敞口",
  22120. "type": "number"
  22121. },
  22122. "oritotalfutureqty": {
  22123. "description": "期初期货总量",
  22124. "type": "number"
  22125. },
  22126. "oritotalneedhedgeqty": {
  22127. "description": "期初现货应套保量",
  22128. "type": "number"
  22129. }
  22130. }
  22131. },
  22132. "models.ErmcpRole": {
  22133. "type": "object",
  22134. "properties": {
  22135. "areauserid": {
  22136. "description": "所属机构",
  22137. "type": "integer"
  22138. },
  22139. "autoid": {
  22140. "description": "角色ID(自增ID)",
  22141. "type": "integer"
  22142. },
  22143. "modifierid": {
  22144. "description": "修改人(创建人)",
  22145. "type": "integer"
  22146. },
  22147. "modifiername": {
  22148. "description": "修改人名称",
  22149. "type": "string"
  22150. },
  22151. "modifytime": {
  22152. "description": "修改时间(创建时间)",
  22153. "type": "string"
  22154. },
  22155. "rolename": {
  22156. "description": "角色名称",
  22157. "type": "string"
  22158. },
  22159. "rolestatus": {
  22160. "description": "角色状态 - 1:启用 2:停用",
  22161. "type": "integer"
  22162. },
  22163. "roletype": {
  22164. "description": "角色类型 - 1- 管理端 2- 交易端",
  22165. "type": "integer"
  22166. }
  22167. }
  22168. },
  22169. "models.ErmcpRoleMenu": {
  22170. "type": "object",
  22171. "properties": {
  22172. "iconame": {
  22173. "description": "菜单图标",
  22174. "type": "string"
  22175. },
  22176. "ishadrole": {
  22177. "description": "是否有权限",
  22178. "type": "boolean"
  22179. },
  22180. "menutype": {
  22181. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  22182. "type": "integer"
  22183. },
  22184. "parentcode": {
  22185. "description": "上级资源代码",
  22186. "type": "string"
  22187. },
  22188. "remark": {
  22189. "description": "菜单备注",
  22190. "type": "string"
  22191. },
  22192. "resourcecode": {
  22193. "description": "菜单代码",
  22194. "type": "string"
  22195. },
  22196. "resourcelevel": {
  22197. "description": "级别",
  22198. "type": "integer"
  22199. },
  22200. "resourcename": {
  22201. "description": "菜单名称",
  22202. "type": "string"
  22203. },
  22204. "roleid": {
  22205. "description": "角色id",
  22206. "type": "integer"
  22207. },
  22208. "sort": {
  22209. "description": "排序",
  22210. "type": "integer"
  22211. },
  22212. "url": {
  22213. "description": "URL",
  22214. "type": "string"
  22215. },
  22216. "userid": {
  22217. "description": "用户id",
  22218. "type": "integer"
  22219. }
  22220. }
  22221. },
  22222. "models.ErmcpRoleMenuEx": {
  22223. "type": "object",
  22224. "properties": {
  22225. "menu": {
  22226. "description": "父级菜单",
  22227. "type": "object",
  22228. "$ref": "#/definitions/models.ErmcpRoleMenu"
  22229. },
  22230. "subMenu": {
  22231. "description": "子级菜单",
  22232. "type": "array",
  22233. "items": {
  22234. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  22235. }
  22236. }
  22237. }
  22238. },
  22239. "models.ErmcpTaAccount": {
  22240. "type": "object",
  22241. "properties": {
  22242. "accountid": {
  22243. "description": "账户id",
  22244. "type": "integer"
  22245. },
  22246. "accountname": {
  22247. "description": "账户名称",
  22248. "type": "string"
  22249. },
  22250. "currencyid": {
  22251. "description": "币种id",
  22252. "type": "integer"
  22253. },
  22254. "hedgeaccountcode": {
  22255. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  22256. "type": "string"
  22257. },
  22258. "ismain": {
  22259. "description": "是否主账户 0-否 1-是",
  22260. "type": "integer"
  22261. },
  22262. "parentaccountid": {
  22263. "description": "父账户id",
  22264. "type": "integer"
  22265. },
  22266. "relateduserid": {
  22267. "description": "关联userid",
  22268. "type": "integer"
  22269. },
  22270. "tradefeetmpid": {
  22271. "description": "手续费模板id",
  22272. "type": "integer"
  22273. },
  22274. "tradefeetmpname": {
  22275. "description": "手续费模板名称",
  22276. "type": "string"
  22277. },
  22278. "trademargintmpid": {
  22279. "description": "保证金模板id",
  22280. "type": "integer"
  22281. },
  22282. "trademargintmpname": {
  22283. "description": "保证金模板名称",
  22284. "type": "string"
  22285. },
  22286. "traderatetmpid": {
  22287. "description": "汇率模板id",
  22288. "type": "integer"
  22289. },
  22290. "traderatetmpname": {
  22291. "description": "汇率模板名称",
  22292. "type": "string"
  22293. },
  22294. "tradestatus": {
  22295. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22296. "type": "integer"
  22297. },
  22298. "userid": {
  22299. "description": "用户id",
  22300. "type": "integer"
  22301. }
  22302. }
  22303. },
  22304. "models.ErmcpTaAccountEx": {
  22305. "type": "object",
  22306. "properties": {
  22307. "mainAcc": {
  22308. "description": "主账号",
  22309. "type": "object",
  22310. "$ref": "#/definitions/models.ErmcpTaAccountM"
  22311. },
  22312. "subacclist": {
  22313. "description": "子账号列表",
  22314. "type": "array",
  22315. "items": {
  22316. "$ref": "#/definitions/models.ErmcpTaAccount"
  22317. }
  22318. }
  22319. }
  22320. },
  22321. "models.ErmcpTaAccountInfo": {
  22322. "type": "object",
  22323. "properties": {
  22324. "accountid": {
  22325. "description": "资金账户ID",
  22326. "type": "integer"
  22327. },
  22328. "accountname": {
  22329. "description": "账户名称",
  22330. "type": "string"
  22331. },
  22332. "balance": {
  22333. "description": "期初余额",
  22334. "type": "number"
  22335. },
  22336. "capitalbalance": {
  22337. "description": "本金余额[外部子账户实际出入金余额]",
  22338. "type": "number"
  22339. },
  22340. "closepl": {
  22341. "description": "今日平仓盈亏",
  22342. "type": "number"
  22343. },
  22344. "creditdecrease": {
  22345. "description": "今日授信减少",
  22346. "type": "number"
  22347. },
  22348. "creditincrease": {
  22349. "description": "今日授信增加",
  22350. "type": "number"
  22351. },
  22352. "curdebt": {
  22353. "description": "期末欠款",
  22354. "type": "number"
  22355. },
  22356. "currencyid": {
  22357. "description": "货币ID",
  22358. "type": "integer"
  22359. },
  22360. "currentbalance": {
  22361. "description": "期末余额",
  22362. "type": "number"
  22363. },
  22364. "freezecharge": {
  22365. "description": "手续费冻结",
  22366. "type": "number"
  22367. },
  22368. "freezemargin": {
  22369. "description": "冻结保证金",
  22370. "type": "number"
  22371. },
  22372. "fromaccountid": {
  22373. "description": "所属上级账户",
  22374. "type": "integer"
  22375. },
  22376. "inamount": {
  22377. "description": "今日入金金额(包括三方入金)",
  22378. "type": "number"
  22379. },
  22380. "ismain": {
  22381. "description": "是否母账号 0:不是母账户 1:是母账户",
  22382. "type": "integer"
  22383. },
  22384. "mortgagecredit": {
  22385. "description": "授信金额",
  22386. "type": "number"
  22387. },
  22388. "oridebt": {
  22389. "description": "期初欠款",
  22390. "type": "number"
  22391. },
  22392. "orifreezecharge": {
  22393. "description": "期初手续费冻结",
  22394. "type": "number"
  22395. },
  22396. "orifreezemargin": {
  22397. "description": "期初冻结保证金",
  22398. "type": "number"
  22399. },
  22400. "orimortgagecredit": {
  22401. "description": "期初授信金额",
  22402. "type": "number"
  22403. },
  22404. "oriothercredit": {
  22405. "description": "期初其它授信金额",
  22406. "type": "number"
  22407. },
  22408. "oriotherfreezemargin": {
  22409. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  22410. "type": "number"
  22411. },
  22412. "orioutamountfreeze": {
  22413. "description": "期初出金冻结",
  22414. "type": "number"
  22415. },
  22416. "oriusedmargin": {
  22417. "description": "期初占用保证金",
  22418. "type": "number"
  22419. },
  22420. "othercredit": {
  22421. "description": "其它授信金额",
  22422. "type": "number"
  22423. },
  22424. "othercreditdecrease": {
  22425. "description": "今日其它授信减少",
  22426. "type": "number"
  22427. },
  22428. "othercreditincrease": {
  22429. "description": "今日其它授信增加",
  22430. "type": "number"
  22431. },
  22432. "otherfreezemargin": {
  22433. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  22434. "type": "number"
  22435. },
  22436. "outamount": {
  22437. "description": "今日出金金额(包括三方出金)",
  22438. "type": "number"
  22439. },
  22440. "outamountfreeze": {
  22441. "description": "出金冻结",
  22442. "type": "number"
  22443. },
  22444. "outthreshold": {
  22445. "description": "出金阈值",
  22446. "type": "number"
  22447. },
  22448. "parentaccountid": {
  22449. "description": "所属根账号",
  22450. "type": "integer"
  22451. },
  22452. "paycharge": {
  22453. "description": "今日手续费支出",
  22454. "type": "number"
  22455. },
  22456. "relateduserid": {
  22457. "description": "关联用户",
  22458. "type": "integer"
  22459. },
  22460. "signstatus": {
  22461. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  22462. "type": "integer"
  22463. },
  22464. "sublevelpath": {
  22465. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  22466. "type": "string"
  22467. },
  22468. "taaccounttype": {
  22469. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  22470. "type": "integer"
  22471. },
  22472. "thirdinamount": {
  22473. "description": "今日三方入金",
  22474. "type": "number"
  22475. },
  22476. "thirdoutamount": {
  22477. "description": "今日三方出金",
  22478. "type": "number"
  22479. },
  22480. "tradestatus": {
  22481. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22482. "type": "integer"
  22483. },
  22484. "transferamount": {
  22485. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  22486. "type": "number"
  22487. },
  22488. "usedmargin": {
  22489. "description": "占用保证金",
  22490. "type": "number"
  22491. },
  22492. "userid": {
  22493. "description": "用户ID",
  22494. "type": "integer"
  22495. }
  22496. }
  22497. },
  22498. "models.ErmcpTaAccountM": {
  22499. "type": "object",
  22500. "properties": {
  22501. "accountid": {
  22502. "description": "账户id",
  22503. "type": "integer"
  22504. },
  22505. "accountname": {
  22506. "description": "账户名称",
  22507. "type": "string"
  22508. },
  22509. "currencyid": {
  22510. "description": "币种id",
  22511. "type": "integer"
  22512. },
  22513. "fcid": {
  22514. "description": "期货公司id",
  22515. "type": "integer"
  22516. },
  22517. "fcname": {
  22518. "description": "期货公司代码",
  22519. "type": "string"
  22520. },
  22521. "hedgeaccountcode": {
  22522. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  22523. "type": "string"
  22524. },
  22525. "ismain": {
  22526. "description": "是否主账户 0-否 1-是",
  22527. "type": "integer"
  22528. },
  22529. "parentaccountid": {
  22530. "description": "父账户id",
  22531. "type": "integer"
  22532. },
  22533. "relateduserid": {
  22534. "description": "关联userid",
  22535. "type": "integer"
  22536. },
  22537. "tradefeetmpid": {
  22538. "description": "手续费模板id",
  22539. "type": "integer"
  22540. },
  22541. "tradefeetmpname": {
  22542. "description": "手续费模板名称",
  22543. "type": "string"
  22544. },
  22545. "trademargintmpid": {
  22546. "description": "保证金模板id",
  22547. "type": "integer"
  22548. },
  22549. "trademargintmpname": {
  22550. "description": "保证金模板名称",
  22551. "type": "string"
  22552. },
  22553. "traderatetmpid": {
  22554. "description": "汇率模板id",
  22555. "type": "integer"
  22556. },
  22557. "traderatetmpname": {
  22558. "description": "汇率模板名称",
  22559. "type": "string"
  22560. },
  22561. "tradestatus": {
  22562. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22563. "type": "integer"
  22564. },
  22565. "userid": {
  22566. "description": "用户id",
  22567. "type": "integer"
  22568. }
  22569. }
  22570. },
  22571. "models.ErmcpTradeConfigTMP": {
  22572. "type": "object",
  22573. "properties": {
  22574. "areauserid": {
  22575. "description": "所属机构",
  22576. "type": "integer"
  22577. },
  22578. "basiccurrencyid": {
  22579. "description": "基本币种ID[汇率] - 目标币种",
  22580. "type": "integer"
  22581. },
  22582. "mainaccountid": {
  22583. "description": "主账户ID",
  22584. "type": "integer"
  22585. },
  22586. "modifierid": {
  22587. "description": "修改人",
  22588. "type": "integer"
  22589. },
  22590. "remark": {
  22591. "description": "备注",
  22592. "type": "string"
  22593. },
  22594. "tradeconfigtmpid": {
  22595. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  22596. "type": "integer"
  22597. },
  22598. "tradeconfigtmpname": {
  22599. "description": "交易配置模板名称",
  22600. "type": "string"
  22601. },
  22602. "tradeconfigtmptype": {
  22603. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  22604. "type": "integer"
  22605. },
  22606. "updatetime": {
  22607. "description": "更新时间",
  22608. "type": "string"
  22609. }
  22610. }
  22611. },
  22612. "models.ErmcpUserModel": {
  22613. "type": "object",
  22614. "properties": {
  22615. "address": {
  22616. "description": "通讯地址",
  22617. "type": "string"
  22618. },
  22619. "attachment1": {
  22620. "description": "附件1",
  22621. "type": "string"
  22622. },
  22623. "audittime": {
  22624. "description": "审核时间",
  22625. "type": "string"
  22626. },
  22627. "cardbackphotourl": {
  22628. "description": "证件反面图片地址",
  22629. "type": "string"
  22630. },
  22631. "cardfrontphotourl": {
  22632. "description": "证件正面图片地址",
  22633. "type": "string"
  22634. },
  22635. "cardnum": {
  22636. "description": "证件号码",
  22637. "type": "string"
  22638. },
  22639. "cardtype": {
  22640. "description": "证件类型",
  22641. "type": "integer"
  22642. },
  22643. "cardtypename": {
  22644. "description": "证件类型名称",
  22645. "type": "string"
  22646. },
  22647. "cityid": {
  22648. "description": "市",
  22649. "type": "integer"
  22650. },
  22651. "contactname": {
  22652. "description": "联系人",
  22653. "type": "string"
  22654. },
  22655. "countryid": {
  22656. "description": "国家",
  22657. "type": "integer"
  22658. },
  22659. "createtime": {
  22660. "description": "创建时间",
  22661. "type": "string"
  22662. },
  22663. "customername": {
  22664. "description": "企业名称",
  22665. "type": "string"
  22666. },
  22667. "districtid": {
  22668. "description": "区域",
  22669. "type": "integer"
  22670. },
  22671. "email": {
  22672. "description": "邮件",
  22673. "type": "string"
  22674. },
  22675. "legalpersonname": {
  22676. "description": "法人姓名(企业)",
  22677. "type": "string"
  22678. },
  22679. "memberuserid": {
  22680. "description": "所属机构ID",
  22681. "type": "integer"
  22682. },
  22683. "mobile": {
  22684. "description": "手机号码",
  22685. "type": "string"
  22686. },
  22687. "modifytime": {
  22688. "description": "修改时间",
  22689. "type": "string"
  22690. },
  22691. "nickname": {
  22692. "description": "昵称",
  22693. "type": "string"
  22694. },
  22695. "provinceid": {
  22696. "description": "省",
  22697. "type": "integer"
  22698. },
  22699. "remark": {
  22700. "description": "备注",
  22701. "type": "string"
  22702. },
  22703. "status": {
  22704. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22705. "type": "integer"
  22706. },
  22707. "statusdesc": {
  22708. "description": "账户状态中文描述",
  22709. "type": "string"
  22710. },
  22711. "taxpayernum": {
  22712. "description": "纳税人识别号",
  22713. "type": "string"
  22714. },
  22715. "telphone": {
  22716. "description": "联系电话",
  22717. "type": "string"
  22718. },
  22719. "userid": {
  22720. "description": "用户ID",
  22721. "type": "integer"
  22722. },
  22723. "userinfotype": {
  22724. "description": "客户类型",
  22725. "type": "string"
  22726. }
  22727. }
  22728. },
  22729. "models.ErmcpWareHouseInfo": {
  22730. "type": "object",
  22731. "properties": {
  22732. "address": {
  22733. "description": "详细地址",
  22734. "type": "string"
  22735. },
  22736. "areauserid": {
  22737. "description": "所属机构",
  22738. "type": "integer"
  22739. },
  22740. "autoid": {
  22741. "description": "自增ID(仓库ID)",
  22742. "type": "integer"
  22743. },
  22744. "cityid": {
  22745. "description": "市",
  22746. "type": "integer"
  22747. },
  22748. "contactname": {
  22749. "description": "联系人",
  22750. "type": "string"
  22751. },
  22752. "contactnum": {
  22753. "description": "联系电话",
  22754. "type": "string"
  22755. },
  22756. "countryid": {
  22757. "description": "国家",
  22758. "type": "integer"
  22759. },
  22760. "createtime": {
  22761. "description": "创建时间",
  22762. "type": "string"
  22763. },
  22764. "districtid": {
  22765. "description": "区",
  22766. "type": "integer"
  22767. },
  22768. "hasvideo": {
  22769. "description": "是否有视频 - 0:无 1:有",
  22770. "type": "integer"
  22771. },
  22772. "provinceid": {
  22773. "description": "省",
  22774. "type": "integer"
  22775. },
  22776. "remark": {
  22777. "description": "审核备注",
  22778. "type": "string"
  22779. },
  22780. "videourl": {
  22781. "description": "视频地址",
  22782. "type": "string"
  22783. },
  22784. "warehousecode": {
  22785. "description": "仓库代码",
  22786. "type": "string"
  22787. },
  22788. "warehousename": {
  22789. "description": "仓库名称",
  22790. "type": "string"
  22791. },
  22792. "warehousestatus": {
  22793. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22794. "type": "integer"
  22795. },
  22796. "warehousetype": {
  22797. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22798. "type": "integer"
  22799. }
  22800. }
  22801. },
  22802. "models.Externalexchange": {
  22803. "type": "object",
  22804. "required": [
  22805. "autoid"
  22806. ],
  22807. "properties": {
  22808. "autoid": {
  22809. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  22810. "type": "integer"
  22811. },
  22812. "exchangefullname": {
  22813. "description": "外部交易所全称",
  22814. "type": "string"
  22815. },
  22816. "exexchangecode": {
  22817. "description": "外部交易所代码",
  22818. "type": "string"
  22819. },
  22820. "exexchangename": {
  22821. "description": "外部交易所名称(简称)",
  22822. "type": "string"
  22823. },
  22824. "ismarketprice": {
  22825. "description": "是否支持市价 - 0:不支持 1:支持",
  22826. "type": "integer"
  22827. },
  22828. "quotegear": {
  22829. "description": "行情档位(1-10)",
  22830. "type": "integer"
  22831. },
  22832. "showbrokerflag": {
  22833. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  22834. "type": "integer"
  22835. },
  22836. "updatetime": {
  22837. "description": "更新时间",
  22838. "type": "string"
  22839. }
  22840. }
  22841. },
  22842. "models.Funcmenulist": {
  22843. "type": "object",
  22844. "required": [
  22845. "resourcecode"
  22846. ],
  22847. "properties": {
  22848. "iconame": {
  22849. "description": "菜单图标",
  22850. "type": "string"
  22851. },
  22852. "menutype": {
  22853. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  22854. "type": "integer"
  22855. },
  22856. "parentcode": {
  22857. "description": "上级资源代码",
  22858. "type": "string"
  22859. },
  22860. "remark": {
  22861. "description": "备注",
  22862. "type": "string"
  22863. },
  22864. "resourcecode": {
  22865. "description": "资源代码",
  22866. "type": "string"
  22867. },
  22868. "resourcelevel": {
  22869. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  22870. "type": "integer"
  22871. },
  22872. "resourcename": {
  22873. "description": "资源名",
  22874. "type": "string"
  22875. },
  22876. "sort": {
  22877. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  22878. "type": "integer"
  22879. },
  22880. "url": {
  22881. "description": "URL",
  22882. "type": "string"
  22883. }
  22884. }
  22885. },
  22886. "models.Goods": {
  22887. "type": "object",
  22888. "required": [
  22889. "goodscode",
  22890. "goodsid",
  22891. "goodsname",
  22892. "marketid"
  22893. ],
  22894. "properties": {
  22895. "agreeunit": {
  22896. "description": "合约单位",
  22897. "type": "number"
  22898. },
  22899. "areauserid": {
  22900. "description": "所属机构",
  22901. "type": "integer"
  22902. },
  22903. "auditaccountid": {
  22904. "description": "审核操作员账号",
  22905. "type": "integer"
  22906. },
  22907. "audittime": {
  22908. "description": "审核时间",
  22909. "type": "string"
  22910. },
  22911. "cancelaccountid": {
  22912. "description": "注销操作员账号",
  22913. "type": "integer"
  22914. },
  22915. "canceltime": {
  22916. "description": "注销时间",
  22917. "type": "string"
  22918. },
  22919. "closepricemode": {
  22920. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  22921. "type": "integer"
  22922. },
  22923. "closepriceparam": {
  22924. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  22925. "type": "number"
  22926. },
  22927. "createtime": {
  22928. "description": "创建时间",
  22929. "type": "string"
  22930. },
  22931. "creatorid": {
  22932. "description": "创建人",
  22933. "type": "integer"
  22934. },
  22935. "currencyid": {
  22936. "description": "报价货币ID",
  22937. "type": "integer"
  22938. },
  22939. "cutmode": {
  22940. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  22941. "type": "integer"
  22942. },
  22943. "decimalplace": {
  22944. "description": "报价小数位",
  22945. "type": "integer"
  22946. },
  22947. "delistingdate": {
  22948. "description": "商品退市时间(状态:退市) -- 已作废",
  22949. "type": "string"
  22950. },
  22951. "delistingmode": {
  22952. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  22953. "type": "integer"
  22954. },
  22955. "deliveryflag": {
  22956. "description": "交割标志 - 0:不可交割 1:可交割",
  22957. "type": "integer"
  22958. },
  22959. "forceclosemode": {
  22960. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  22961. "type": "integer"
  22962. },
  22963. "forceclosevalue": {
  22964. "description": "定期强平参数 [收益权]",
  22965. "type": "integer"
  22966. },
  22967. "goodscode": {
  22968. "description": "商品代码(内部)",
  22969. "type": "string"
  22970. },
  22971. "goodscurrencyid": {
  22972. "description": "合约货币ID",
  22973. "type": "integer"
  22974. },
  22975. "goodsgroupid": {
  22976. "description": "所属商品组ID",
  22977. "type": "integer"
  22978. },
  22979. "goodsid": {
  22980. "description": "商品ID(自增ID SEQ_GOODS)",
  22981. "type": "integer"
  22982. },
  22983. "goodsname": {
  22984. "description": "商品名称",
  22985. "type": "string"
  22986. },
  22987. "goodsquotetype": {
  22988. "description": "合约报价类型: 1-直接报价 2-间接报价",
  22989. "type": "integer"
  22990. },
  22991. "goodsstatus": {
  22992. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  22993. "type": "integer"
  22994. },
  22995. "goodstradetype": {
  22996. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  22997. "type": "integer"
  22998. },
  22999. "goodunitid": {
  23000. "description": "报价单位ID",
  23001. "type": "integer"
  23002. },
  23003. "hasquoter": {
  23004. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  23005. "type": "integer"
  23006. },
  23007. "hqprotecttime": {
  23008. "description": "行情保护时间(秒)",
  23009. "type": "integer"
  23010. },
  23011. "innerdealmode": {
  23012. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23013. "type": "integer"
  23014. },
  23015. "isbuylimited": {
  23016. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23017. "type": "integer"
  23018. },
  23019. "isvisible": {
  23020. "description": "游客是否可见 - 0:不可见 1:可见",
  23021. "type": "integer"
  23022. },
  23023. "lasttradedate": {
  23024. "description": "最后交易日期(状态:待退市)",
  23025. "type": "string"
  23026. },
  23027. "listingdate": {
  23028. "description": "交易开始日期",
  23029. "type": "string"
  23030. },
  23031. "marketid": {
  23032. "description": "所属市场ID",
  23033. "type": "integer"
  23034. },
  23035. "modifierid": {
  23036. "description": "修改人",
  23037. "type": "integer"
  23038. },
  23039. "modifystatus": {
  23040. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  23041. "type": "integer"
  23042. },
  23043. "modifytime": {
  23044. "description": "修改时间",
  23045. "type": "string"
  23046. },
  23047. "outerdealmode": {
  23048. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23049. "type": "integer"
  23050. },
  23051. "outgoodscode": {
  23052. "description": "商品代码(外部)",
  23053. "type": "string"
  23054. },
  23055. "pictureurl": {
  23056. "description": "商品图片",
  23057. "type": "string"
  23058. },
  23059. "qtydecimalplace": {
  23060. "description": "成交量小数位",
  23061. "type": "integer"
  23062. },
  23063. "quotegear": {
  23064. "description": "行情档位(1-10)",
  23065. "type": "integer"
  23066. },
  23067. "quoteminunit": {
  23068. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23069. "type": "integer"
  23070. },
  23071. "quoteshowtype": {
  23072. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  23073. "type": "integer"
  23074. },
  23075. "quoteshowtypeinterval": {
  23076. "description": "行情报价间隔时间(秒)(成交价时为0)",
  23077. "type": "integer"
  23078. },
  23079. "remark": {
  23080. "description": "备注",
  23081. "type": "string"
  23082. }
  23083. }
  23084. },
  23085. "models.GoodsIDAndName": {
  23086. "type": "object",
  23087. "required": [
  23088. "goodscode",
  23089. "goodsid",
  23090. "goodsname",
  23091. "marketid"
  23092. ],
  23093. "properties": {
  23094. "goodscode": {
  23095. "description": "商品代码(内部)",
  23096. "type": "string"
  23097. },
  23098. "goodsid": {
  23099. "description": "商品ID(自增ID SEQ_GOODS)",
  23100. "type": "integer"
  23101. },
  23102. "goodsname": {
  23103. "description": "商品名称",
  23104. "type": "string"
  23105. },
  23106. "marketid": {
  23107. "description": "所属市场ID",
  23108. "type": "integer"
  23109. }
  23110. }
  23111. },
  23112. "models.Goodsgroup": {
  23113. "type": "object",
  23114. "required": [
  23115. "goodsgroupid",
  23116. "goodsgroupname",
  23117. "goodsgroupstatus",
  23118. "marketid"
  23119. ],
  23120. "properties": {
  23121. "agreeunit": {
  23122. "description": "合约单位",
  23123. "type": "number"
  23124. },
  23125. "canshort": {
  23126. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  23127. "type": "integer"
  23128. },
  23129. "closepricemode": {
  23130. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23131. "type": "integer"
  23132. },
  23133. "closepriceparam": {
  23134. "description": "强平最新价浮动比例 - 方式为2时使用",
  23135. "type": "number"
  23136. },
  23137. "createtime": {
  23138. "description": "创建时间",
  23139. "type": "string"
  23140. },
  23141. "creatorid": {
  23142. "description": "创建人",
  23143. "type": "integer"
  23144. },
  23145. "currencyid": {
  23146. "description": "报价货币ID",
  23147. "type": "integer"
  23148. },
  23149. "decimalplace": {
  23150. "description": "报价小数位",
  23151. "type": "integer"
  23152. },
  23153. "exercisetype": {
  23154. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  23155. "type": "integer"
  23156. },
  23157. "exexchangeid": {
  23158. "description": "外部交易所ID[通道交易]",
  23159. "type": "integer"
  23160. },
  23161. "goodsgroupid": {
  23162. "description": "商品组ID(自增ID)",
  23163. "type": "integer"
  23164. },
  23165. "goodsgroupname": {
  23166. "description": "商品组名称",
  23167. "type": "string"
  23168. },
  23169. "goodsgroupstatus": {
  23170. "description": "商品组状态 - 1:正常 2:注销",
  23171. "type": "integer"
  23172. },
  23173. "goodunitid": {
  23174. "description": "报价单位ID",
  23175. "type": "integer"
  23176. },
  23177. "innerdealmode": {
  23178. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23179. "type": "integer"
  23180. },
  23181. "isbuylimited": {
  23182. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23183. "type": "integer"
  23184. },
  23185. "marketid": {
  23186. "description": "所属市场ID",
  23187. "type": "integer"
  23188. },
  23189. "modifierid": {
  23190. "description": "修改人",
  23191. "type": "integer"
  23192. },
  23193. "modifytime": {
  23194. "description": "修改时间",
  23195. "type": "string"
  23196. },
  23197. "outerdealmode": {
  23198. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23199. "type": "integer"
  23200. },
  23201. "outergroupcode": {
  23202. "description": "外部商品组代码[通道交易]",
  23203. "type": "string"
  23204. },
  23205. "premiumdecimalplace": {
  23206. "description": "权利金小数位[场外期权]",
  23207. "type": "integer"
  23208. },
  23209. "premiumspreadalgorithm": {
  23210. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  23211. "type": "integer"
  23212. },
  23213. "premiumspreadvalue": {
  23214. "description": "权利金点差值[场外期权]",
  23215. "type": "number"
  23216. },
  23217. "qtydecimalplace": {
  23218. "description": "成交量小数位",
  23219. "type": "integer"
  23220. },
  23221. "quotegear": {
  23222. "description": "行情档位(1-10)",
  23223. "type": "integer"
  23224. },
  23225. "quoteminunit": {
  23226. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23227. "type": "integer"
  23228. },
  23229. "quoterid": {
  23230. "description": "报价商ID[场外期权]",
  23231. "type": "integer"
  23232. },
  23233. "quotesourcegroupid": {
  23234. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  23235. "type": "integer"
  23236. },
  23237. "syncgoodsqty": {
  23238. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  23239. "type": "integer"
  23240. }
  23241. }
  23242. },
  23243. "models.Goodssortbypreposition": {
  23244. "type": "object",
  23245. "required": [
  23246. "goodscode",
  23247. "tradedate"
  23248. ],
  23249. "properties": {
  23250. "goodscode": {
  23251. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  23252. "type": "string"
  23253. },
  23254. "goodsgroupcode": {
  23255. "description": "品种代码",
  23256. "type": "string"
  23257. },
  23258. "prepositionqty": {
  23259. "description": "昨持仓量",
  23260. "type": "integer"
  23261. },
  23262. "sortindex": {
  23263. "description": "排序",
  23264. "type": "integer"
  23265. },
  23266. "tradedate": {
  23267. "description": "交易日",
  23268. "type": "string"
  23269. },
  23270. "updatetime": {
  23271. "description": "更新时间",
  23272. "type": "string"
  23273. }
  23274. }
  23275. },
  23276. "models.Hedgeinnerholderdetail": {
  23277. "type": "object",
  23278. "required": [
  23279. "buyorsell",
  23280. "tradeid"
  23281. ],
  23282. "properties": {
  23283. "accountid": {
  23284. "description": "账号ID",
  23285. "type": "integer"
  23286. },
  23287. "buyorsell": {
  23288. "description": "方向 - 0:买 1:卖",
  23289. "type": "integer"
  23290. },
  23291. "freezeqty": {
  23292. "description": "冻结数量 - 按单平使用",
  23293. "type": "integer"
  23294. },
  23295. "goodsid": {
  23296. "description": "商品ID",
  23297. "type": "integer"
  23298. },
  23299. "holderamount": {
  23300. "description": "持仓金额 [商品币种]",
  23301. "type": "number"
  23302. },
  23303. "holderdays": {
  23304. "description": "剩余冻结天数",
  23305. "type": "integer"
  23306. },
  23307. "holderprice": {
  23308. "description": "持仓价格",
  23309. "type": "number"
  23310. },
  23311. "holderqty": {
  23312. "description": "持仓数量",
  23313. "type": "integer"
  23314. },
  23315. "marketid": {
  23316. "description": "市场ID",
  23317. "type": "integer"
  23318. },
  23319. "openprice": {
  23320. "description": "建仓价格",
  23321. "type": "number"
  23322. },
  23323. "openqty": {
  23324. "description": "建仓数量",
  23325. "type": "integer"
  23326. },
  23327. "parentaccountid": {
  23328. "description": "所属母账户",
  23329. "type": "integer"
  23330. },
  23331. "releaseamount": {
  23332. "description": "释放持仓金额[商品币种]",
  23333. "type": "number"
  23334. },
  23335. "tradeamount": {
  23336. "description": "成交金额[账户]",
  23337. "type": "number"
  23338. },
  23339. "tradedate": {
  23340. "description": "交易日(yyyyMMdd)",
  23341. "type": "string"
  23342. },
  23343. "tradeid": {
  23344. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23345. "type": "string"
  23346. },
  23347. "tradetime": {
  23348. "description": "交易时间",
  23349. "type": "string"
  23350. }
  23351. }
  23352. },
  23353. "models.Hedgemarketopenlog": {
  23354. "type": "object",
  23355. "required": [
  23356. "accountid"
  23357. ],
  23358. "properties": {
  23359. "accountid": {
  23360. "description": "资金账号[外部母账户]",
  23361. "type": "integer"
  23362. },
  23363. "fcname": {
  23364. "description": "期货公司名称",
  23365. "type": "string"
  23366. },
  23367. "handlestatus": {
  23368. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  23369. "type": "integer"
  23370. },
  23371. "marketid": {
  23372. "description": "市场ID",
  23373. "type": "integer"
  23374. },
  23375. "status": {
  23376. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  23377. "type": "integer"
  23378. },
  23379. "tradedate": {
  23380. "description": "交易日(yyyyMMdd)",
  23381. "type": "string"
  23382. },
  23383. "updatetime": {
  23384. "description": "更新时间",
  23385. "type": "string"
  23386. }
  23387. }
  23388. },
  23389. "models.HsbyBuyMyPayOrder": {
  23390. "type": "object",
  23391. "required": [
  23392. "goodscode",
  23393. "goodsname",
  23394. "tradeid",
  23395. "trademode"
  23396. ],
  23397. "properties": {
  23398. "agreeunit": {
  23399. "description": "合约单位",
  23400. "type": "number"
  23401. },
  23402. "buyaccountid": {
  23403. "description": "买方账号ID[报价币种]",
  23404. "type": "integer"
  23405. },
  23406. "buyorderid": {
  23407. "description": "买方委托单号",
  23408. "type": "string"
  23409. },
  23410. "createtime": {
  23411. "description": "创建时间",
  23412. "type": "string"
  23413. },
  23414. "currencysign": {
  23415. "description": "货币符号",
  23416. "type": "string"
  23417. },
  23418. "decimalplace": {
  23419. "description": "报价小数位",
  23420. "type": "integer"
  23421. },
  23422. "goodscode": {
  23423. "description": "商品代码(内部)",
  23424. "type": "string"
  23425. },
  23426. "goodsid": {
  23427. "description": "商品ID",
  23428. "type": "integer"
  23429. },
  23430. "goodsname": {
  23431. "description": "商品名称",
  23432. "type": "string"
  23433. },
  23434. "marketid": {
  23435. "description": "市场ID",
  23436. "type": "integer"
  23437. },
  23438. "offamount": {
  23439. "description": "优惠金额",
  23440. "type": "number"
  23441. },
  23442. "originalamount": {
  23443. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  23444. "type": "number"
  23445. },
  23446. "payamount": {
  23447. "description": "支付金额 = TradeAmount + TradeCharge",
  23448. "type": "number"
  23449. },
  23450. "payflag": {
  23451. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23452. "type": "integer"
  23453. },
  23454. "paylimitedtime": {
  23455. "description": "支付期限",
  23456. "type": "string"
  23457. },
  23458. "paytime": {
  23459. "description": "付款时间",
  23460. "type": "string"
  23461. },
  23462. "picurls1": {
  23463. "description": "预售商品介绍图片[多张用逗号分隔]",
  23464. "type": "string"
  23465. },
  23466. "picurls2": {
  23467. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23468. "type": "string"
  23469. },
  23470. "sellaccountid": {
  23471. "description": "卖方账号ID[报价币种]",
  23472. "type": "integer"
  23473. },
  23474. "sellorderid": {
  23475. "description": "卖方委托单号",
  23476. "type": "string"
  23477. },
  23478. "tradeamount": {
  23479. "description": "成交金额",
  23480. "type": "number"
  23481. },
  23482. "tradecharge": {
  23483. "description": "成交手续费(买方)",
  23484. "type": "number"
  23485. },
  23486. "tradedate": {
  23487. "description": "交易日(yyyyMMdd)",
  23488. "type": "string"
  23489. },
  23490. "tradeid": {
  23491. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23492. "type": "string"
  23493. },
  23494. "trademode": {
  23495. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23496. "type": "integer"
  23497. },
  23498. "tradeprice": {
  23499. "description": "成交价格",
  23500. "type": "number"
  23501. },
  23502. "tradeqty": {
  23503. "description": "成交数量",
  23504. "type": "integer"
  23505. },
  23506. "vendorname1": {
  23507. "description": "预售商品供应商名称",
  23508. "type": "string"
  23509. },
  23510. "vendorname2": {
  23511. "description": "挂牌商品供应商名称",
  23512. "type": "string"
  23513. }
  23514. }
  23515. },
  23516. "models.HsbyBuyMyTradeDetail": {
  23517. "type": "object",
  23518. "required": [
  23519. "accountid",
  23520. "buyorsell",
  23521. "goodscode",
  23522. "goodsid",
  23523. "goodsname",
  23524. "marketid",
  23525. "orderid",
  23526. "qty",
  23527. "time",
  23528. "trademode"
  23529. ],
  23530. "properties": {
  23531. "accountid": {
  23532. "description": "账户ID[报价币种]",
  23533. "type": "integer"
  23534. },
  23535. "agreeunit": {
  23536. "description": "合约单位",
  23537. "type": "number"
  23538. },
  23539. "amount": {
  23540. "description": "金额 = 价格 * 数量 * 合约单位",
  23541. "type": "number"
  23542. },
  23543. "buyorsell": {
  23544. "description": "买卖 - 0:买 1:卖",
  23545. "type": "integer"
  23546. },
  23547. "currencysign": {
  23548. "description": "货币符号",
  23549. "type": "string"
  23550. },
  23551. "decimalplace": {
  23552. "description": "报价小数位",
  23553. "type": "integer"
  23554. },
  23555. "goodscode": {
  23556. "description": "商品代码(内部)",
  23557. "type": "string"
  23558. },
  23559. "goodsid": {
  23560. "description": "商品ID",
  23561. "type": "integer"
  23562. },
  23563. "goodsname": {
  23564. "description": "商品名称",
  23565. "type": "string"
  23566. },
  23567. "marketid": {
  23568. "description": "市场ID",
  23569. "type": "integer"
  23570. },
  23571. "orderamount": {
  23572. "description": "委托金额",
  23573. "type": "number"
  23574. },
  23575. "orderid": {
  23576. "description": "单号(成交单号)",
  23577. "type": "string"
  23578. },
  23579. "picurls1": {
  23580. "description": "预售商品介绍图片[多张用逗号分隔]",
  23581. "type": "string"
  23582. },
  23583. "picurls2": {
  23584. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23585. "type": "string"
  23586. },
  23587. "price": {
  23588. "description": "价格",
  23589. "type": "number"
  23590. },
  23591. "qty": {
  23592. "description": "数量",
  23593. "type": "integer"
  23594. },
  23595. "time": {
  23596. "description": "时间",
  23597. "type": "string"
  23598. },
  23599. "trademode": {
  23600. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23601. "type": "integer"
  23602. },
  23603. "vendorname1": {
  23604. "description": "预售商品供应商名称",
  23605. "type": "string"
  23606. },
  23607. "vendorname2": {
  23608. "description": "挂牌商品供应商名称",
  23609. "type": "string"
  23610. }
  23611. }
  23612. },
  23613. "models.HsbyGoodsOrderDetail": {
  23614. "type": "object",
  23615. "required": [
  23616. "buyorsell",
  23617. "orderid",
  23618. "ordertime"
  23619. ],
  23620. "properties": {
  23621. "buyorsell": {
  23622. "description": "买卖 - 0:买 1:卖",
  23623. "type": "integer"
  23624. },
  23625. "currencysign": {
  23626. "description": "货币符号",
  23627. "type": "string"
  23628. },
  23629. "customername": {
  23630. "description": "客户名称(企业名称),已脱敏",
  23631. "type": "string"
  23632. },
  23633. "enableqty": {
  23634. "description": "可用数量",
  23635. "type": "integer"
  23636. },
  23637. "goodunit": {
  23638. "description": "报价单位",
  23639. "type": "string"
  23640. },
  23641. "orderid": {
  23642. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23643. "type": "string"
  23644. },
  23645. "orderprice": {
  23646. "description": "委托价格",
  23647. "type": "number"
  23648. },
  23649. "ordertime": {
  23650. "description": "委托时间",
  23651. "type": "string"
  23652. }
  23653. }
  23654. },
  23655. "models.HsbyListingGoodsDetail": {
  23656. "type": "object",
  23657. "required": [
  23658. "goodscode",
  23659. "goodsid",
  23660. "goodsname",
  23661. "marketid",
  23662. "trademode"
  23663. ],
  23664. "properties": {
  23665. "agreeunit": {
  23666. "description": "合约单位",
  23667. "type": "number"
  23668. },
  23669. "buymaxqty": {
  23670. "description": "购买上限 [71] - 0为不限",
  23671. "type": "integer"
  23672. },
  23673. "currency": {
  23674. "description": "货币",
  23675. "type": "string"
  23676. },
  23677. "currencysign": {
  23678. "description": "货币符号",
  23679. "type": "string"
  23680. },
  23681. "decimalplace": {
  23682. "description": "报价小数位",
  23683. "type": "integer"
  23684. },
  23685. "desccityid": {
  23686. "description": "目的地(市)ID",
  23687. "type": "integer"
  23688. },
  23689. "descprovinceid": {
  23690. "description": "目的地(省)ID",
  23691. "type": "integer"
  23692. },
  23693. "goodscode": {
  23694. "description": "商品代码(内部)",
  23695. "type": "string"
  23696. },
  23697. "goodsdesc": {
  23698. "description": "商品详情",
  23699. "type": "string"
  23700. },
  23701. "goodsid": {
  23702. "description": "商品ID(自增ID SEQ_GOODS)",
  23703. "type": "integer"
  23704. },
  23705. "goodsname": {
  23706. "description": "商品名称",
  23707. "type": "string"
  23708. },
  23709. "goodsprice": {
  23710. "description": "商品价格",
  23711. "type": "number"
  23712. },
  23713. "hotindex": {
  23714. "description": "景点热度",
  23715. "type": "integer"
  23716. },
  23717. "last": {
  23718. "description": "现价",
  23719. "type": "number"
  23720. },
  23721. "limitdown": {
  23722. "description": "跌停价",
  23723. "type": "number"
  23724. },
  23725. "limitup": {
  23726. "description": "涨停价",
  23727. "type": "number"
  23728. },
  23729. "lotsize": {
  23730. "description": "手数最小变动单位",
  23731. "type": "integer"
  23732. },
  23733. "marketid": {
  23734. "description": "所属市场ID",
  23735. "type": "integer"
  23736. },
  23737. "picurls": {
  23738. "description": "介绍图片[多张用逗号分隔]",
  23739. "type": "string"
  23740. },
  23741. "quoteminunit": {
  23742. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23743. "type": "integer"
  23744. },
  23745. "stepvalue": {
  23746. "description": "价格最小变动单位",
  23747. "type": "number"
  23748. },
  23749. "trademode": {
  23750. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23751. "type": "integer"
  23752. },
  23753. "vendorattr": {
  23754. "description": "供应商附件(多张,逗号分隔)",
  23755. "type": "string"
  23756. },
  23757. "vendorname": {
  23758. "description": "供应商名称",
  23759. "type": "string"
  23760. },
  23761. "vendorphone": {
  23762. "description": "供应商客服电话",
  23763. "type": "string"
  23764. },
  23765. "videourls": {
  23766. "description": "介绍视频[多张用逗号分隔]",
  23767. "type": "string"
  23768. }
  23769. }
  23770. },
  23771. "models.HsbyMarketGoods": {
  23772. "type": "object",
  23773. "required": [
  23774. "accountid",
  23775. "buyorsell",
  23776. "goodscode",
  23777. "goodsid",
  23778. "goodsname",
  23779. "marketid",
  23780. "orderid",
  23781. "trademode"
  23782. ],
  23783. "properties": {
  23784. "accountid": {
  23785. "description": "账户ID[报价币种]",
  23786. "type": "integer"
  23787. },
  23788. "agreeunit": {
  23789. "description": "合约单位",
  23790. "type": "number"
  23791. },
  23792. "buyorsell": {
  23793. "description": "买卖 - 0:买 1:卖",
  23794. "type": "integer"
  23795. },
  23796. "categoryid": {
  23797. "description": "类别ID(WRCATEGORY)",
  23798. "type": "integer"
  23799. },
  23800. "currency": {
  23801. "description": "货币",
  23802. "type": "string"
  23803. },
  23804. "currencysign": {
  23805. "description": "货币符号",
  23806. "type": "string"
  23807. },
  23808. "customername": {
  23809. "description": "卖家名称",
  23810. "type": "string"
  23811. },
  23812. "decimalplace": {
  23813. "description": "报价小数位",
  23814. "type": "integer"
  23815. },
  23816. "goodscode": {
  23817. "description": "商品代码(内部)",
  23818. "type": "string"
  23819. },
  23820. "goodsid": {
  23821. "description": "商品ID",
  23822. "type": "integer"
  23823. },
  23824. "goodsname": {
  23825. "description": "商品名称",
  23826. "type": "string"
  23827. },
  23828. "goodsprice": {
  23829. "description": "商品价格",
  23830. "type": "number"
  23831. },
  23832. "hascoupon": {
  23833. "description": "是否可用优惠卷",
  23834. "type": "boolean"
  23835. },
  23836. "hotindex": {
  23837. "description": "景点热度",
  23838. "type": "integer"
  23839. },
  23840. "marketid": {
  23841. "description": "市场ID",
  23842. "type": "integer"
  23843. },
  23844. "orderid": {
  23845. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23846. "type": "string"
  23847. },
  23848. "orderprice": {
  23849. "description": "委托价格",
  23850. "type": "number"
  23851. },
  23852. "orderstatus": {
  23853. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23854. "type": "integer"
  23855. },
  23856. "picurls": {
  23857. "description": "介绍图片[多张用逗号分隔]",
  23858. "type": "string"
  23859. },
  23860. "quoteminunit": {
  23861. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23862. "type": "integer"
  23863. },
  23864. "sellUserID": {
  23865. "description": "卖方UserID",
  23866. "type": "integer"
  23867. },
  23868. "trademode": {
  23869. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23870. "type": "integer"
  23871. },
  23872. "videourls": {
  23873. "description": "介绍视频[多张用逗号分隔]",
  23874. "type": "string"
  23875. }
  23876. }
  23877. },
  23878. "models.HsbyMarketGoodsDetail": {
  23879. "type": "object",
  23880. "required": [
  23881. "accountid",
  23882. "buyorsell",
  23883. "goodscode",
  23884. "goodsid",
  23885. "goodsname",
  23886. "marketid",
  23887. "orderid",
  23888. "orderqty",
  23889. "trademode"
  23890. ],
  23891. "properties": {
  23892. "accountid": {
  23893. "description": "账户ID[报价币种]",
  23894. "type": "integer"
  23895. },
  23896. "agreeunit": {
  23897. "description": "合约单位",
  23898. "type": "number"
  23899. },
  23900. "buymaxqty": {
  23901. "description": "购买上限 [71] - 0为不限",
  23902. "type": "integer"
  23903. },
  23904. "buyorsell": {
  23905. "description": "买卖 - 0:买 1:卖",
  23906. "type": "integer"
  23907. },
  23908. "cancelqty": {
  23909. "description": "撤单数量",
  23910. "type": "integer"
  23911. },
  23912. "categoryid": {
  23913. "description": "类别ID(WRCATEGORY)",
  23914. "type": "integer"
  23915. },
  23916. "currency": {
  23917. "description": "货币",
  23918. "type": "string"
  23919. },
  23920. "currencysign": {
  23921. "description": "货币符号",
  23922. "type": "string"
  23923. },
  23924. "customername": {
  23925. "description": "卖家名称",
  23926. "type": "string"
  23927. },
  23928. "decimalplace": {
  23929. "description": "报价小数位",
  23930. "type": "integer"
  23931. },
  23932. "goodscode": {
  23933. "description": "商品代码(内部)",
  23934. "type": "string"
  23935. },
  23936. "goodsdesc": {
  23937. "description": "商品详情",
  23938. "type": "string"
  23939. },
  23940. "goodsid": {
  23941. "description": "商品ID",
  23942. "type": "integer"
  23943. },
  23944. "goodsname": {
  23945. "description": "商品名称",
  23946. "type": "string"
  23947. },
  23948. "goodsprice": {
  23949. "description": "商品价格",
  23950. "type": "number"
  23951. },
  23952. "hotindex": {
  23953. "description": "景点热度",
  23954. "type": "integer"
  23955. },
  23956. "lotsize": {
  23957. "description": "手数最小变动单位",
  23958. "type": "integer"
  23959. },
  23960. "marketid": {
  23961. "description": "市场ID",
  23962. "type": "integer"
  23963. },
  23964. "orderid": {
  23965. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23966. "type": "string"
  23967. },
  23968. "orderprice": {
  23969. "description": "委托价格",
  23970. "type": "number"
  23971. },
  23972. "orderqty": {
  23973. "description": "委托数量",
  23974. "type": "integer"
  23975. },
  23976. "orderstatus": {
  23977. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23978. "type": "integer"
  23979. },
  23980. "picurls": {
  23981. "description": "介绍图片[多张用逗号分隔]",
  23982. "type": "string"
  23983. },
  23984. "quoteminunit": {
  23985. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23986. "type": "integer"
  23987. },
  23988. "sellUserID": {
  23989. "description": "卖方UserID",
  23990. "type": "integer"
  23991. },
  23992. "trademode": {
  23993. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23994. "type": "integer"
  23995. },
  23996. "tradeqty": {
  23997. "description": "成交数量",
  23998. "type": "integer"
  23999. },
  24000. "vendorattr": {
  24001. "description": "供应商附件(多张,逗号分隔)",
  24002. "type": "string"
  24003. },
  24004. "vendorname": {
  24005. "description": "供应商名称",
  24006. "type": "string"
  24007. },
  24008. "vendorphone": {
  24009. "description": "供应商客服电话",
  24010. "type": "string"
  24011. },
  24012. "videourls": {
  24013. "description": "介绍视频[多张用逗号分隔]",
  24014. "type": "string"
  24015. }
  24016. }
  24017. },
  24018. "models.HsbyMarketInfo": {
  24019. "type": "object",
  24020. "required": [
  24021. "marketid",
  24022. "marketstatus",
  24023. "trademode"
  24024. ],
  24025. "properties": {
  24026. "marketid": {
  24027. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  24028. "type": "integer"
  24029. },
  24030. "marketname": {
  24031. "description": "市场名称",
  24032. "type": "string"
  24033. },
  24034. "marketstatus": {
  24035. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  24036. "type": "integer"
  24037. },
  24038. "trademode": {
  24039. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24040. "type": "integer"
  24041. }
  24042. }
  24043. },
  24044. "models.HsbyMyGoods": {
  24045. "type": "object",
  24046. "required": [
  24047. "accountid",
  24048. "goodscode",
  24049. "goodsid",
  24050. "goodsname",
  24051. "marketid",
  24052. "trademode"
  24053. ],
  24054. "properties": {
  24055. "accountid": {
  24056. "description": "账号Id",
  24057. "type": "integer"
  24058. },
  24059. "agreeunit": {
  24060. "description": "合约单位",
  24061. "type": "number"
  24062. },
  24063. "buyaverageprice": {
  24064. "description": "持仓均价",
  24065. "type": "number"
  24066. },
  24067. "buycurholderamount": {
  24068. "description": "买当前持仓总金额[商品币种]",
  24069. "type": "number"
  24070. },
  24071. "buycurpositionqty": {
  24072. "description": "买当前持仓总数量",
  24073. "type": "integer"
  24074. },
  24075. "buymaxqty": {
  24076. "description": "购买上限 [71] - 0为不限",
  24077. "type": "integer"
  24078. },
  24079. "currencysign": {
  24080. "description": "货币符号",
  24081. "type": "string"
  24082. },
  24083. "decimalplace": {
  24084. "description": "报价小数位",
  24085. "type": "integer"
  24086. },
  24087. "enableqty": {
  24088. "description": "可用数量",
  24089. "type": "integer"
  24090. },
  24091. "goodscode": {
  24092. "description": "商品代码(内部)",
  24093. "type": "string"
  24094. },
  24095. "goodsid": {
  24096. "description": "商品Id",
  24097. "type": "integer"
  24098. },
  24099. "goodsname": {
  24100. "description": "商品名称",
  24101. "type": "string"
  24102. },
  24103. "goodsprice": {
  24104. "description": "商品价格",
  24105. "type": "number"
  24106. },
  24107. "goodsstatus": {
  24108. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24109. "type": "integer"
  24110. },
  24111. "last": {
  24112. "description": "现价(仅使用于挂牌点选)",
  24113. "type": "number"
  24114. },
  24115. "limitdown": {
  24116. "description": "跌停价(仅使用于挂牌点选)",
  24117. "type": "number"
  24118. },
  24119. "limitup": {
  24120. "description": "涨停价(仅使用于挂牌点选)",
  24121. "type": "number"
  24122. },
  24123. "lotsize": {
  24124. "description": "手数最小变动单位",
  24125. "type": "integer"
  24126. },
  24127. "marketid": {
  24128. "description": "所属市场ID",
  24129. "type": "integer"
  24130. },
  24131. "picurls": {
  24132. "description": "介绍图片[多张用逗号分隔]",
  24133. "type": "string"
  24134. },
  24135. "quoteminunit": {
  24136. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24137. "type": "integer"
  24138. },
  24139. "stepvalue": {
  24140. "description": "价格最小变动单位",
  24141. "type": "number"
  24142. },
  24143. "trademode": {
  24144. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24145. "type": "integer"
  24146. }
  24147. }
  24148. },
  24149. "models.HsbyMyPackage": {
  24150. "type": "object",
  24151. "required": [
  24152. "goodscode",
  24153. "goodsname",
  24154. "takeorderid",
  24155. "trademode"
  24156. ],
  24157. "properties": {
  24158. "accountid": {
  24159. "description": "账户ID",
  24160. "type": "integer"
  24161. },
  24162. "address": {
  24163. "description": "提货人详细地址",
  24164. "type": "string"
  24165. },
  24166. "agreeunit": {
  24167. "description": "合约单位",
  24168. "type": "number"
  24169. },
  24170. "amount": {
  24171. "description": "提货金额",
  24172. "type": "number"
  24173. },
  24174. "auditer": {
  24175. "description": "审核人",
  24176. "type": "integer"
  24177. },
  24178. "audittime": {
  24179. "description": "审核时间",
  24180. "type": "string"
  24181. },
  24182. "averageprice": {
  24183. "description": "均价",
  24184. "type": "number"
  24185. },
  24186. "cardnum": {
  24187. "description": "提货人证件号码",
  24188. "type": "string"
  24189. },
  24190. "cardtypeid": {
  24191. "description": "提货人证件类型",
  24192. "type": "integer"
  24193. },
  24194. "checkremark": {
  24195. "description": "审核备注",
  24196. "type": "string"
  24197. },
  24198. "currencysign": {
  24199. "description": "货币符号",
  24200. "type": "string"
  24201. },
  24202. "decimalplace": {
  24203. "description": "报价小数位",
  24204. "type": "integer"
  24205. },
  24206. "goodscode": {
  24207. "description": "商品代码(内部)",
  24208. "type": "string"
  24209. },
  24210. "goodsid": {
  24211. "description": "商品ID",
  24212. "type": "integer"
  24213. },
  24214. "goodsname": {
  24215. "description": "商品名称",
  24216. "type": "string"
  24217. },
  24218. "handlestatus": {
  24219. "description": "处理状态",
  24220. "type": "integer"
  24221. },
  24222. "marketid": {
  24223. "description": "市场ID",
  24224. "type": "integer"
  24225. },
  24226. "phonenum": {
  24227. "description": "提货人联系方式",
  24228. "type": "string"
  24229. },
  24230. "picurls": {
  24231. "description": "介绍图片[多张用逗号分隔]",
  24232. "type": "string"
  24233. },
  24234. "qty": {
  24235. "description": "提货数量",
  24236. "type": "number"
  24237. },
  24238. "recivername": {
  24239. "description": "提货人姓名",
  24240. "type": "string"
  24241. },
  24242. "reqtime": {
  24243. "description": "更新时间",
  24244. "type": "string"
  24245. },
  24246. "takemode": {
  24247. "description": "提货方式 - 2:自提 3:配送",
  24248. "type": "integer"
  24249. },
  24250. "takeorderid": {
  24251. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24252. "type": "string"
  24253. },
  24254. "takeorderstatus": {
  24255. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  24256. "type": "integer"
  24257. },
  24258. "takeremark": {
  24259. "description": "提货备注",
  24260. "type": "string"
  24261. },
  24262. "tradedate": {
  24263. "description": "交易日(yyyyMMdd)",
  24264. "type": "string"
  24265. },
  24266. "trademode": {
  24267. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24268. "type": "integer"
  24269. },
  24270. "userid": {
  24271. "description": "用户ID",
  24272. "type": "integer"
  24273. },
  24274. "vendorname": {
  24275. "description": "供应商名称",
  24276. "type": "string"
  24277. }
  24278. }
  24279. },
  24280. "models.HsbyPreGoods": {
  24281. "type": "object",
  24282. "required": [
  24283. "goodscode",
  24284. "goodsid",
  24285. "goodsname",
  24286. "marketid",
  24287. "trademode"
  24288. ],
  24289. "properties": {
  24290. "agreeunit": {
  24291. "description": "合约单位",
  24292. "type": "number"
  24293. },
  24294. "currency": {
  24295. "description": "货币",
  24296. "type": "string"
  24297. },
  24298. "currencysign": {
  24299. "description": "货币符号",
  24300. "type": "string"
  24301. },
  24302. "decimalplace": {
  24303. "description": "报价小数位",
  24304. "type": "integer"
  24305. },
  24306. "desccityid": {
  24307. "description": "目的地(市)",
  24308. "type": "integer"
  24309. },
  24310. "descprovinceid": {
  24311. "description": "目的地(省)",
  24312. "type": "integer"
  24313. },
  24314. "enableqty": {
  24315. "description": "剩余数量",
  24316. "type": "integer"
  24317. },
  24318. "goodscode": {
  24319. "description": "商品代码(内部)",
  24320. "type": "string"
  24321. },
  24322. "goodsid": {
  24323. "description": "商品ID(自增ID SEQ_GOODS)",
  24324. "type": "integer"
  24325. },
  24326. "goodsname": {
  24327. "description": "商品名称",
  24328. "type": "string"
  24329. },
  24330. "goodsstatus": {
  24331. "description": "商品状态- 2:未上市 3:上市",
  24332. "type": "integer"
  24333. },
  24334. "lasttradedate": {
  24335. "description": "最后交易日期(状态:待退市)",
  24336. "type": "string"
  24337. },
  24338. "listingdate": {
  24339. "description": "交易开始日期",
  24340. "type": "string"
  24341. },
  24342. "marketid": {
  24343. "description": "所属市场ID",
  24344. "type": "integer"
  24345. },
  24346. "picurls": {
  24347. "description": "介绍图片[多张用逗号分隔]",
  24348. "type": "string"
  24349. },
  24350. "presaledqty": {
  24351. "description": "已预售量(预售结束时更新)",
  24352. "type": "integer"
  24353. },
  24354. "presaleqty": {
  24355. "description": "预售数量",
  24356. "type": "integer"
  24357. },
  24358. "quoteminunit": {
  24359. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24360. "type": "integer"
  24361. },
  24362. "refprice": {
  24363. "description": "参考价格[一口价]",
  24364. "type": "number"
  24365. },
  24366. "relatedgoodsid": {
  24367. "description": "关联交易合约ID",
  24368. "type": "integer"
  24369. },
  24370. "trademode": {
  24371. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24372. "type": "integer"
  24373. },
  24374. "videourls": {
  24375. "description": "介绍视频[多张用逗号分隔]",
  24376. "type": "string"
  24377. }
  24378. }
  24379. },
  24380. "models.HsbyPreGoodsDetail": {
  24381. "type": "object",
  24382. "required": [
  24383. "goodscode",
  24384. "goodsid",
  24385. "goodsname",
  24386. "marketid",
  24387. "trademode"
  24388. ],
  24389. "properties": {
  24390. "agreeunit": {
  24391. "description": "合约单位",
  24392. "type": "number"
  24393. },
  24394. "buymaxqty": {
  24395. "description": "购买上限 [71] - 0为不限",
  24396. "type": "integer"
  24397. },
  24398. "currency": {
  24399. "description": "货币",
  24400. "type": "string"
  24401. },
  24402. "currencysign": {
  24403. "description": "货币符号",
  24404. "type": "string"
  24405. },
  24406. "customername": {
  24407. "description": "发行单位",
  24408. "type": "string"
  24409. },
  24410. "decimalplace": {
  24411. "description": "报价小数位",
  24412. "type": "integer"
  24413. },
  24414. "desccityid": {
  24415. "description": "目的地(市)ID",
  24416. "type": "integer"
  24417. },
  24418. "descprovinceid": {
  24419. "description": "目的地(省)ID",
  24420. "type": "integer"
  24421. },
  24422. "enableqty": {
  24423. "description": "剩余数量",
  24424. "type": "integer"
  24425. },
  24426. "goodscode": {
  24427. "description": "商品代码(内部)",
  24428. "type": "string"
  24429. },
  24430. "goodsdesc": {
  24431. "description": "商品详情",
  24432. "type": "string"
  24433. },
  24434. "goodsid": {
  24435. "description": "商品ID(自增ID SEQ_GOODS)",
  24436. "type": "integer"
  24437. },
  24438. "goodsname": {
  24439. "description": "商品名称",
  24440. "type": "string"
  24441. },
  24442. "goodsstatus": {
  24443. "description": "商品状态- 2:未上市 3:上市",
  24444. "type": "integer"
  24445. },
  24446. "goodunit": {
  24447. "description": "报价单位",
  24448. "type": "string"
  24449. },
  24450. "lasttradedate": {
  24451. "description": "最后交易日期(状态:待退市)",
  24452. "type": "string"
  24453. },
  24454. "listingdate": {
  24455. "description": "交易开始日期",
  24456. "type": "string"
  24457. },
  24458. "lotsize": {
  24459. "description": "手数最小变动单位",
  24460. "type": "integer"
  24461. },
  24462. "marketid": {
  24463. "description": "所属市场ID",
  24464. "type": "integer"
  24465. },
  24466. "picurls": {
  24467. "description": "介绍图片[多张用逗号分隔]",
  24468. "type": "string"
  24469. },
  24470. "presaledqty": {
  24471. "description": "已预售量(预售结束时更新)",
  24472. "type": "integer"
  24473. },
  24474. "presaleqty": {
  24475. "description": "预售数量",
  24476. "type": "integer"
  24477. },
  24478. "quoteminunit": {
  24479. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24480. "type": "integer"
  24481. },
  24482. "refprice": {
  24483. "description": "参考价格[一口价]",
  24484. "type": "number"
  24485. },
  24486. "relatedgoodsid": {
  24487. "description": "关联交易合约ID",
  24488. "type": "integer"
  24489. },
  24490. "stepvalue": {
  24491. "description": "价格最小变动单位",
  24492. "type": "number"
  24493. },
  24494. "trademode": {
  24495. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24496. "type": "integer"
  24497. },
  24498. "vendorattr": {
  24499. "description": "供应商附件(多张,逗号分隔)",
  24500. "type": "string"
  24501. },
  24502. "vendorname": {
  24503. "description": "供应商名称",
  24504. "type": "string"
  24505. },
  24506. "vendorphone": {
  24507. "description": "供应商客服电话",
  24508. "type": "string"
  24509. },
  24510. "videourls": {
  24511. "description": "介绍视频[多张用逗号分隔]",
  24512. "type": "string"
  24513. }
  24514. }
  24515. },
  24516. "models.HsbySellCollectionOrder": {
  24517. "type": "object",
  24518. "required": [
  24519. "goodscode",
  24520. "goodsname",
  24521. "tradeid",
  24522. "trademode"
  24523. ],
  24524. "properties": {
  24525. "agreeunit": {
  24526. "description": "合约单位",
  24527. "type": "number"
  24528. },
  24529. "buyaccountid": {
  24530. "description": "买方账号ID[报价币种]",
  24531. "type": "integer"
  24532. },
  24533. "buyorderid": {
  24534. "description": "买方委托单号",
  24535. "type": "string"
  24536. },
  24537. "createtime": {
  24538. "description": "创建时间",
  24539. "type": "string"
  24540. },
  24541. "currencysign": {
  24542. "description": "货币符号",
  24543. "type": "string"
  24544. },
  24545. "decimalplace": {
  24546. "description": "报价小数位",
  24547. "type": "integer"
  24548. },
  24549. "goodscode": {
  24550. "description": "商品代码(内部)",
  24551. "type": "string"
  24552. },
  24553. "goodsid": {
  24554. "description": "商品ID",
  24555. "type": "integer"
  24556. },
  24557. "goodsname": {
  24558. "description": "商品名称",
  24559. "type": "string"
  24560. },
  24561. "marketid": {
  24562. "description": "市场ID",
  24563. "type": "integer"
  24564. },
  24565. "offamount": {
  24566. "description": "优惠金额",
  24567. "type": "number"
  24568. },
  24569. "payamount": {
  24570. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  24571. "type": "number"
  24572. },
  24573. "payflag": {
  24574. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  24575. "type": "integer"
  24576. },
  24577. "paylimitedtime": {
  24578. "description": "支付期限",
  24579. "type": "string"
  24580. },
  24581. "paytime": {
  24582. "description": "付款时间",
  24583. "type": "string"
  24584. },
  24585. "picurls": {
  24586. "description": "商品介绍图片[多张用逗号分隔]",
  24587. "type": "string"
  24588. },
  24589. "sellaccountid": {
  24590. "description": "卖方账号ID[报价币种]",
  24591. "type": "integer"
  24592. },
  24593. "sellorderid": {
  24594. "description": "卖方委托单号",
  24595. "type": "string"
  24596. },
  24597. "tradeamount": {
  24598. "description": "成交金额",
  24599. "type": "number"
  24600. },
  24601. "tradecharge": {
  24602. "description": "成交手续费(买方)",
  24603. "type": "number"
  24604. },
  24605. "tradedate": {
  24606. "description": "交易日(yyyyMMdd)",
  24607. "type": "string"
  24608. },
  24609. "tradeid": {
  24610. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24611. "type": "string"
  24612. },
  24613. "trademode": {
  24614. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24615. "type": "integer"
  24616. },
  24617. "tradeprice": {
  24618. "description": "成交价格",
  24619. "type": "number"
  24620. },
  24621. "tradeqty": {
  24622. "description": "成交数量",
  24623. "type": "integer"
  24624. }
  24625. }
  24626. },
  24627. "models.HsbySellMyDetail": {
  24628. "type": "object",
  24629. "required": [
  24630. "accountid",
  24631. "buyorsell",
  24632. "goodscode",
  24633. "goodsid",
  24634. "goodsname",
  24635. "marketid",
  24636. "orderid",
  24637. "time",
  24638. "trademode"
  24639. ],
  24640. "properties": {
  24641. "accountid": {
  24642. "description": "账户ID[报价币种]",
  24643. "type": "integer"
  24644. },
  24645. "agreeunit": {
  24646. "description": "合约单位",
  24647. "type": "number"
  24648. },
  24649. "buyorsell": {
  24650. "description": "买卖 - 0:买 1:卖",
  24651. "type": "integer"
  24652. },
  24653. "currencysign": {
  24654. "description": "货币符号",
  24655. "type": "string"
  24656. },
  24657. "decimalplace": {
  24658. "description": "报价小数位",
  24659. "type": "integer"
  24660. },
  24661. "goodscode": {
  24662. "description": "商品代码(内部)",
  24663. "type": "string"
  24664. },
  24665. "goodsid": {
  24666. "description": "商品ID",
  24667. "type": "integer"
  24668. },
  24669. "goodsname": {
  24670. "description": "商品名称",
  24671. "type": "string"
  24672. },
  24673. "marketid": {
  24674. "description": "市场ID",
  24675. "type": "integer"
  24676. },
  24677. "orderid": {
  24678. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  24679. "type": "string"
  24680. },
  24681. "ordertype": {
  24682. "description": "单据类型:0 - 发布中, 1 - 已完成",
  24683. "type": "integer"
  24684. },
  24685. "picurls": {
  24686. "description": "介绍图片[多张用逗号分隔]",
  24687. "type": "string"
  24688. },
  24689. "price": {
  24690. "description": "价格",
  24691. "type": "number"
  24692. },
  24693. "qty": {
  24694. "description": "数量",
  24695. "type": "integer"
  24696. },
  24697. "time": {
  24698. "description": "时间",
  24699. "type": "string"
  24700. },
  24701. "trademode": {
  24702. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24703. "type": "integer"
  24704. },
  24705. "vendorname": {
  24706. "description": "供应商名称",
  24707. "type": "string"
  24708. }
  24709. }
  24710. },
  24711. "models.HsbyTopGoods": {
  24712. "type": "object",
  24713. "required": [
  24714. "goodscode",
  24715. "goodsid",
  24716. "goodsname",
  24717. "marketid",
  24718. "trademode"
  24719. ],
  24720. "properties": {
  24721. "agreeunit": {
  24722. "description": "合约单位",
  24723. "type": "number"
  24724. },
  24725. "currency": {
  24726. "description": "货币",
  24727. "type": "string"
  24728. },
  24729. "currencysign": {
  24730. "description": "货币符号",
  24731. "type": "string"
  24732. },
  24733. "decimalplace": {
  24734. "description": "报价小数位",
  24735. "type": "integer"
  24736. },
  24737. "desccityid": {
  24738. "description": "目的地(市)",
  24739. "type": "integer"
  24740. },
  24741. "descprovinceid": {
  24742. "description": "目的地(省)",
  24743. "type": "integer"
  24744. },
  24745. "goodscode": {
  24746. "description": "商品代码(内部)",
  24747. "type": "string"
  24748. },
  24749. "goodsid": {
  24750. "description": "商品ID(自增ID SEQ_GOODS)",
  24751. "type": "integer"
  24752. },
  24753. "goodsname": {
  24754. "description": "商品名称",
  24755. "type": "string"
  24756. },
  24757. "hotindex": {
  24758. "description": "景点热度",
  24759. "type": "integer"
  24760. },
  24761. "last": {
  24762. "description": "现价",
  24763. "type": "number"
  24764. },
  24765. "marketid": {
  24766. "description": "所属市场ID",
  24767. "type": "integer"
  24768. },
  24769. "picurls": {
  24770. "description": "介绍图片[多张用逗号分隔]",
  24771. "type": "string"
  24772. },
  24773. "quoteminunit": {
  24774. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24775. "type": "integer"
  24776. },
  24777. "trademode": {
  24778. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24779. "type": "integer"
  24780. },
  24781. "videourls": {
  24782. "description": "介绍视频[多张用逗号分隔]",
  24783. "type": "string"
  24784. }
  24785. }
  24786. },
  24787. "models.HybsMyBuyOrderDetail": {
  24788. "type": "object",
  24789. "required": [
  24790. "accountid",
  24791. "buyorsell",
  24792. "goodscode",
  24793. "goodsid",
  24794. "goodsname",
  24795. "marketid",
  24796. "orderid",
  24797. "orderqty",
  24798. "ordertime",
  24799. "trademode"
  24800. ],
  24801. "properties": {
  24802. "accountid": {
  24803. "description": "账户ID[报价币种]",
  24804. "type": "integer"
  24805. },
  24806. "agreeunit": {
  24807. "description": "合约单位",
  24808. "type": "number"
  24809. },
  24810. "buyorsell": {
  24811. "description": "买卖 - 0:买 1:卖",
  24812. "type": "integer"
  24813. },
  24814. "cancelqty": {
  24815. "description": "撤单数量",
  24816. "type": "integer"
  24817. },
  24818. "currencysign": {
  24819. "description": "货币符号",
  24820. "type": "string"
  24821. },
  24822. "decimalplace": {
  24823. "description": "报价小数位",
  24824. "type": "integer"
  24825. },
  24826. "goodscode": {
  24827. "description": "商品代码(内部)",
  24828. "type": "string"
  24829. },
  24830. "goodsid": {
  24831. "description": "商品ID",
  24832. "type": "integer"
  24833. },
  24834. "goodsname": {
  24835. "description": "商品名称",
  24836. "type": "string"
  24837. },
  24838. "listingselecttype": {
  24839. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24840. "type": "integer"
  24841. },
  24842. "marketid": {
  24843. "description": "市场ID",
  24844. "type": "integer"
  24845. },
  24846. "mybuystatus": {
  24847. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  24848. "type": "integer"
  24849. },
  24850. "orderamount": {
  24851. "description": "委托金额",
  24852. "type": "number"
  24853. },
  24854. "orderid": {
  24855. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24856. "type": "string"
  24857. },
  24858. "orderprice": {
  24859. "description": "委托价格",
  24860. "type": "number"
  24861. },
  24862. "orderqty": {
  24863. "description": "委托数量",
  24864. "type": "integer"
  24865. },
  24866. "orderstatus": {
  24867. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24868. "type": "integer"
  24869. },
  24870. "ordertime": {
  24871. "description": "委托时间",
  24872. "type": "string"
  24873. },
  24874. "picurls1": {
  24875. "description": "预售商品介绍图片[多张用逗号分隔]",
  24876. "type": "string"
  24877. },
  24878. "picurls2": {
  24879. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  24880. "type": "string"
  24881. },
  24882. "trademode": {
  24883. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24884. "type": "integer"
  24885. },
  24886. "tradeqty": {
  24887. "description": "成交数量",
  24888. "type": "integer"
  24889. },
  24890. "vendorname1": {
  24891. "description": "预售商品供应商名称",
  24892. "type": "string"
  24893. },
  24894. "vendorname2": {
  24895. "description": "挂牌商品供应商名称",
  24896. "type": "string"
  24897. }
  24898. }
  24899. },
  24900. "models.Loginaccount": {
  24901. "type": "object",
  24902. "required": [
  24903. "loginid"
  24904. ],
  24905. "properties": {
  24906. "accountname": {
  24907. "description": "账户名称",
  24908. "type": "string"
  24909. },
  24910. "canoutin": {
  24911. "description": "是否可出入金 - 0:不可 1:可",
  24912. "type": "integer"
  24913. },
  24914. "clientroleid": {
  24915. "description": "终端角色ID",
  24916. "type": "integer"
  24917. },
  24918. "haslogined": {
  24919. "description": "是否已登录 - 0:未登录 1:已登录",
  24920. "type": "integer"
  24921. },
  24922. "hasupdatedpwd": {
  24923. "description": "是否已更改密码 - 0:未修改 1:已修改",
  24924. "type": "integer"
  24925. },
  24926. "lastloginip": {
  24927. "description": "最新登录地址",
  24928. "type": "string"
  24929. },
  24930. "lastloginmode": {
  24931. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  24932. "type": "integer"
  24933. },
  24934. "lastloginremark": {
  24935. "description": "最新登录描述",
  24936. "type": "string"
  24937. },
  24938. "lastlogintime": {
  24939. "description": "最新登录时间",
  24940. "type": "string"
  24941. },
  24942. "logincode": {
  24943. "description": "登录代码",
  24944. "type": "string"
  24945. },
  24946. "loginfailnum": {
  24947. "description": "连续登录失败次数(登录成功时清零)",
  24948. "type": "integer"
  24949. },
  24950. "loginid": {
  24951. "description": "登陆账号",
  24952. "type": "integer"
  24953. },
  24954. "loginport": {
  24955. "description": "最新登录端口",
  24956. "type": "integer"
  24957. },
  24958. "loginstatus": {
  24959. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  24960. "type": "integer"
  24961. },
  24962. "loginusertype": {
  24963. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  24964. "type": "integer"
  24965. },
  24966. "mobile": {
  24967. "description": "手机号码(加密存储)",
  24968. "type": "string"
  24969. },
  24970. "modifierid": {
  24971. "description": "修改人",
  24972. "type": "integer"
  24973. },
  24974. "modifysrc": {
  24975. "description": "审核来源 - 1:管理端 2:终端",
  24976. "type": "integer"
  24977. },
  24978. "modifytime": {
  24979. "description": "修改时间",
  24980. "type": "string"
  24981. },
  24982. "password": {
  24983. "description": "登陆密码",
  24984. "type": "string"
  24985. },
  24986. "pwdwrongcount": {
  24987. "description": "密码错误次数",
  24988. "type": "integer"
  24989. },
  24990. "relateduserid": {
  24991. "description": "关联用户ID(机构)",
  24992. "type": "integer"
  24993. },
  24994. "taaccountrighttype": {
  24995. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  24996. "type": "integer"
  24997. },
  24998. "unfreezetime": {
  24999. "description": "账户解冻时间",
  25000. "type": "string"
  25001. },
  25002. "userid": {
  25003. "description": "用户ID",
  25004. "type": "integer"
  25005. }
  25006. }
  25007. },
  25008. "models.MainAccountInfo": {
  25009. "type": "object",
  25010. "properties": {
  25011. "accountid": {
  25012. "description": "账号id",
  25013. "type": "integer"
  25014. },
  25015. "accountname": {
  25016. "description": "账号名称(taaccount表中的名称)",
  25017. "type": "string"
  25018. },
  25019. "appid": {
  25020. "description": "AppID",
  25021. "type": "string"
  25022. },
  25023. "authcode": {
  25024. "description": "授权码",
  25025. "type": "string"
  25026. },
  25027. "brokerid": {
  25028. "description": "经纪商id",
  25029. "type": "string"
  25030. },
  25031. "fcid": {
  25032. "description": "期货公司id",
  25033. "type": "integer"
  25034. },
  25035. "fcname": {
  25036. "description": "期货公司代码",
  25037. "type": "string"
  25038. },
  25039. "hedgeaccountcode": {
  25040. "description": "外部账号代码(主账号登录代码)",
  25041. "type": "string"
  25042. },
  25043. "hedgeaccountpwd": {
  25044. "description": "密码",
  25045. "type": "string"
  25046. },
  25047. "ismain": {
  25048. "description": "是否主账号",
  25049. "type": "integer"
  25050. },
  25051. "relateduserid": {
  25052. "description": "关联用户id",
  25053. "type": "integer"
  25054. },
  25055. "userid": {
  25056. "description": "关联用户id",
  25057. "type": "integer"
  25058. }
  25059. }
  25060. },
  25061. "models.Market": {
  25062. "type": "object",
  25063. "required": [
  25064. "marketid",
  25065. "marketstatus",
  25066. "openmethod",
  25067. "reckonpricealgorithm",
  25068. "trademode",
  25069. "tradeproperty"
  25070. ],
  25071. "properties": {
  25072. "auctionwrtype": {
  25073. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  25074. "type": "integer"
  25075. },
  25076. "canacceptquote": {
  25077. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  25078. "type": "integer"
  25079. },
  25080. "cangoodsexercise": {
  25081. "description": "[期权]是否可现货行权- 0:否 1:是",
  25082. "type": "integer"
  25083. },
  25084. "cangoodsexercisetype": {
  25085. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  25086. "type": "integer"
  25087. },
  25088. "canmanualquotestrike": {
  25089. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  25090. "type": "integer"
  25091. },
  25092. "canmutistage": {
  25093. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  25094. "type": "integer"
  25095. },
  25096. "canpreexercise": {
  25097. "description": "[期权]是否可预申报- 0:否 1:是",
  25098. "type": "integer"
  25099. },
  25100. "clearinterval": {
  25101. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  25102. "type": "integer"
  25103. },
  25104. "contracttmp": {
  25105. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  25106. "type": "string"
  25107. },
  25108. "exchareaid": {
  25109. "description": "所属交易所,可以没有",
  25110. "type": "integer"
  25111. },
  25112. "goodstype": {
  25113. "description": "商品类型 - 1:交易商品 2:仓单商品",
  25114. "type": "integer"
  25115. },
  25116. "hasrebate": {
  25117. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  25118. "type": "integer"
  25119. },
  25120. "hastradecredit": {
  25121. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  25122. "type": "integer"
  25123. },
  25124. "haswr": {
  25125. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  25126. "type": "integer"
  25127. },
  25128. "isdeductmargin": {
  25129. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  25130. "type": "integer"
  25131. },
  25132. "isrecordsource": {
  25133. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  25134. "type": "integer"
  25135. },
  25136. "isreleasemargin": {
  25137. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  25138. "type": "integer"
  25139. },
  25140. "marginformula": {
  25141. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  25142. "type": "integer"
  25143. },
  25144. "marginformula2": {
  25145. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  25146. "type": "integer"
  25147. },
  25148. "marketid": {
  25149. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  25150. "type": "integer"
  25151. },
  25152. "marketname": {
  25153. "description": "市场名称",
  25154. "type": "string"
  25155. },
  25156. "marketserviceid": {
  25157. "description": "市场服务ID",
  25158. "type": "integer"
  25159. },
  25160. "marketstatus": {
  25161. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  25162. "type": "integer"
  25163. },
  25164. "markettype": {
  25165. "description": "市场类型- 1:非交易服务 2:交易服务",
  25166. "type": "integer"
  25167. },
  25168. "matchermode": {
  25169. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  25170. "type": "integer"
  25171. },
  25172. "openmethod": {
  25173. "description": "开盘模式 - 0 自动 1手动",
  25174. "type": "integer"
  25175. },
  25176. "otcuserid": {
  25177. "description": "场外期权做市商[场外期权]",
  25178. "type": "integer"
  25179. },
  25180. "outersynctime": {
  25181. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  25182. "type": "string"
  25183. },
  25184. "pendingflag": {
  25185. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  25186. "type": "integer"
  25187. },
  25188. "pendingtime": {
  25189. "description": "待开市时间[通道交易-对冲](HH:mm)",
  25190. "type": "string"
  25191. },
  25192. "performancetempid": {
  25193. "description": "履约计划模板ID - 作废",
  25194. "type": "integer"
  25195. },
  25196. "premiumquotemode": {
  25197. "description": "权利金报价方式 - 1:自动 2:手动",
  25198. "type": "integer"
  25199. },
  25200. "rebateratio": {
  25201. "description": "返利比率[竞价式]",
  25202. "type": "number"
  25203. },
  25204. "reckonorder": {
  25205. "description": "结算顺序",
  25206. "type": "integer"
  25207. },
  25208. "reckonpricealgorithm": {
  25209. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  25210. "type": "integer"
  25211. },
  25212. "reckonpriceparam": {
  25213. "description": "结算价参数",
  25214. "type": "integer"
  25215. },
  25216. "reckontime": {
  25217. "description": "结算时间[通道交易-对冲](HH:mm)",
  25218. "type": "string"
  25219. },
  25220. "roleprioritytype": {
  25221. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  25222. "type": "integer"
  25223. },
  25224. "selllistingauditflag": {
  25225. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  25226. "type": "integer"
  25227. },
  25228. "trademarkettype": {
  25229. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  25230. "type": "integer"
  25231. },
  25232. "trademode": {
  25233. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25234. "type": "integer"
  25235. },
  25236. "tradeproperty": {
  25237. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  25238. "type": "integer"
  25239. },
  25240. "tradetype": {
  25241. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  25242. "type": "integer"
  25243. }
  25244. }
  25245. },
  25246. "models.Marketrun": {
  25247. "type": "object",
  25248. "required": [
  25249. "marketid",
  25250. "nexttradedate",
  25251. "reckonflag",
  25252. "runstatus",
  25253. "tradedate",
  25254. "tradedate2"
  25255. ],
  25256. "properties": {
  25257. "afternexttradedate": {
  25258. "description": "下下交易日",
  25259. "type": "string"
  25260. },
  25261. "clearquoteflag": {
  25262. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  25263. "type": "integer"
  25264. },
  25265. "lastreckondate": {
  25266. "description": "最新交易日(结算成功)",
  25267. "type": "string"
  25268. },
  25269. "machinedate": {
  25270. "description": "机器时间",
  25271. "type": "string"
  25272. },
  25273. "manualflag": {
  25274. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  25275. "type": "integer"
  25276. },
  25277. "marketid": {
  25278. "description": "市场ID",
  25279. "type": "integer"
  25280. },
  25281. "nexttradedate": {
  25282. "description": "下一交易日",
  25283. "type": "string"
  25284. },
  25285. "pretradedate": {
  25286. "description": "上一交易日",
  25287. "type": "string"
  25288. },
  25289. "reckonflag": {
  25290. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  25291. "type": "integer"
  25292. },
  25293. "runstatus": {
  25294. "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.今日免清算",
  25295. "type": "integer"
  25296. },
  25297. "sectionid": {
  25298. "description": "时间段号[多时段时用]",
  25299. "type": "integer"
  25300. },
  25301. "tradedate": {
  25302. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  25303. "type": "string"
  25304. },
  25305. "tradedate2": {
  25306. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  25307. "type": "string"
  25308. },
  25309. "updatetime": {
  25310. "description": "更新时间",
  25311. "type": "string"
  25312. }
  25313. }
  25314. },
  25315. "models.Messageboard": {
  25316. "type": "object",
  25317. "required": [
  25318. "messageboardid"
  25319. ],
  25320. "properties": {
  25321. "contactnum": {
  25322. "description": "联系电话",
  25323. "type": "string"
  25324. },
  25325. "createtime": {
  25326. "description": "创建时间",
  25327. "type": "string"
  25328. },
  25329. "message": {
  25330. "description": "留言信息",
  25331. "type": "string"
  25332. },
  25333. "messageboardid": {
  25334. "description": "留言簿ID(SEQ_MessageBoard)",
  25335. "type": "integer"
  25336. },
  25337. "userid": {
  25338. "description": "用户ID",
  25339. "type": "integer"
  25340. }
  25341. }
  25342. },
  25343. "models.MyCoupon": {
  25344. "type": "object",
  25345. "required": [
  25346. "accountid",
  25347. "coupontypeid"
  25348. ],
  25349. "properties": {
  25350. "accountid": {
  25351. "description": "资金账户ID",
  25352. "type": "integer"
  25353. },
  25354. "areauserid": {
  25355. "description": "所属机构",
  25356. "type": "integer"
  25357. },
  25358. "conditionvalue": {
  25359. "description": "条件阈值(可为0)",
  25360. "type": "number"
  25361. },
  25362. "couponcategroy": {
  25363. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  25364. "type": "integer"
  25365. },
  25366. "couponname": {
  25367. "description": "优惠券名称",
  25368. "type": "string"
  25369. },
  25370. "coupontypeid": {
  25371. "description": "优惠券类型ID",
  25372. "type": "string"
  25373. },
  25374. "couponvalue": {
  25375. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25376. "type": "number"
  25377. },
  25378. "curfreezeqty": {
  25379. "description": "期末冻结数量",
  25380. "type": "integer"
  25381. },
  25382. "curqty": {
  25383. "description": "期末数量",
  25384. "type": "integer"
  25385. },
  25386. "isgeneral": {
  25387. "description": "是否通用券 - 0:否 1:是",
  25388. "type": "integer"
  25389. },
  25390. "isunusable": {
  25391. "description": "是否不可用",
  25392. "type": "boolean"
  25393. },
  25394. "limitedflag": {
  25395. "description": "是否指定商品 - 0:不限 1:限制",
  25396. "type": "integer"
  25397. },
  25398. "limitedgoodsids": {
  25399. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  25400. "type": "string"
  25401. },
  25402. "orifreezeqty": {
  25403. "description": "期初冻结数量",
  25404. "type": "integer"
  25405. },
  25406. "oriqty": {
  25407. "description": "期初数量",
  25408. "type": "integer"
  25409. },
  25410. "reasontype": {
  25411. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  25412. "type": "integer"
  25413. },
  25414. "todaydecrease": {
  25415. "description": "今日减少",
  25416. "type": "integer"
  25417. },
  25418. "todayincrease": {
  25419. "description": "今日增加",
  25420. "type": "integer"
  25421. },
  25422. "userid": {
  25423. "description": "用户ID",
  25424. "type": "integer"
  25425. },
  25426. "userscope": {
  25427. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  25428. "type": "string"
  25429. }
  25430. }
  25431. },
  25432. "models.MyCouponHold": {
  25433. "type": "object",
  25434. "required": [
  25435. "couponholdid"
  25436. ],
  25437. "properties": {
  25438. "accountid": {
  25439. "description": "资金账户ID",
  25440. "type": "integer"
  25441. },
  25442. "conditionvalue": {
  25443. "description": "条件阈值(可为0)",
  25444. "type": "number"
  25445. },
  25446. "couponcategroy": {
  25447. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  25448. "type": "integer"
  25449. },
  25450. "couponholdid": {
  25451. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  25452. "type": "string"
  25453. },
  25454. "couponname": {
  25455. "description": "优惠券名称",
  25456. "type": "string"
  25457. },
  25458. "coupontypeid": {
  25459. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  25460. "type": "string"
  25461. },
  25462. "couponvalue": {
  25463. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25464. "type": "number"
  25465. },
  25466. "createtime": {
  25467. "description": "创建时间",
  25468. "type": "string"
  25469. },
  25470. "enddate": {
  25471. "description": "结束日期",
  25472. "type": "string"
  25473. },
  25474. "giveapplyid": {
  25475. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  25476. "type": "integer"
  25477. },
  25478. "holdstatus": {
  25479. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  25480. "type": "integer"
  25481. },
  25482. "isgeneral": {
  25483. "description": "是否通用券 - 0:否 1:是",
  25484. "type": "integer"
  25485. },
  25486. "limitedflag": {
  25487. "description": "是否指定商品 - 0:不限 1:限制",
  25488. "type": "integer"
  25489. },
  25490. "limitedgoodsids": {
  25491. "description": "指定商品IDs[逗号分隔]",
  25492. "type": "string"
  25493. },
  25494. "qty": {
  25495. "description": "数量(按1平铺)",
  25496. "type": "integer"
  25497. },
  25498. "startdate": {
  25499. "description": "开始日期",
  25500. "type": "string"
  25501. },
  25502. "userid": {
  25503. "description": "用户ID",
  25504. "type": "integer"
  25505. },
  25506. "userscope": {
  25507. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  25508. "type": "string"
  25509. }
  25510. }
  25511. },
  25512. "models.MyUsedCoupon": {
  25513. "type": "object",
  25514. "required": [
  25515. "coupontypeid",
  25516. "orderid"
  25517. ],
  25518. "properties": {
  25519. "accountid": {
  25520. "description": "资金账户ID(买方)",
  25521. "type": "integer"
  25522. },
  25523. "conditionvalue": {
  25524. "description": "条件阈值(可为0)",
  25525. "type": "number"
  25526. },
  25527. "couponcategroy": {
  25528. "description": "种类 - 1:现金券 2:折扣券",
  25529. "type": "integer"
  25530. },
  25531. "couponname": {
  25532. "description": "优惠券名称",
  25533. "type": "string"
  25534. },
  25535. "coupontypeid": {
  25536. "description": "优惠券类型ID(买方)",
  25537. "type": "string"
  25538. },
  25539. "couponvalue": {
  25540. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  25541. "type": "number"
  25542. },
  25543. "createtime": {
  25544. "description": "创建时间",
  25545. "type": "string"
  25546. },
  25547. "goodsid": {
  25548. "description": "商品ID",
  25549. "type": "integer"
  25550. },
  25551. "handlestatus": {
  25552. "description": "处理状态",
  25553. "type": "integer"
  25554. },
  25555. "marketid": {
  25556. "description": "市场ID",
  25557. "type": "integer"
  25558. },
  25559. "offamount": {
  25560. "description": "优惠金额",
  25561. "type": "number"
  25562. },
  25563. "orderid": {
  25564. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25565. "type": "string"
  25566. },
  25567. "sellaccountid": {
  25568. "description": "资金账户ID(卖方)",
  25569. "type": "integer"
  25570. },
  25571. "tradeamount": {
  25572. "description": "成交金额",
  25573. "type": "number"
  25574. },
  25575. "tradeid": {
  25576. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25577. "type": "string"
  25578. },
  25579. "usedqty": {
  25580. "description": "使用数量",
  25581. "type": "integer"
  25582. }
  25583. }
  25584. },
  25585. "models.OperationPrimaryMenu": {
  25586. "type": "object",
  25587. "properties": {
  25588. "Children": {
  25589. "description": "二级功能菜单",
  25590. "type": "array",
  25591. "items": {
  25592. "$ref": "#/definitions/models.OperationSecondaryMenu"
  25593. }
  25594. },
  25595. "Key": {
  25596. "description": "菜单KEY",
  25597. "type": "string"
  25598. },
  25599. "Label": {
  25600. "description": "菜单标题",
  25601. "type": "string"
  25602. }
  25603. }
  25604. },
  25605. "models.OperationSecondaryMenu": {
  25606. "type": "object",
  25607. "properties": {
  25608. "Key": {
  25609. "description": "菜单KEY",
  25610. "type": "string"
  25611. },
  25612. "Label": {
  25613. "description": "菜单标题",
  25614. "type": "string"
  25615. },
  25616. "TabList": {
  25617. "description": "三级功能菜单",
  25618. "type": "array",
  25619. "items": {
  25620. "$ref": "#/definitions/models.OperationTabMenu"
  25621. }
  25622. }
  25623. }
  25624. },
  25625. "models.OperationTabMenu": {
  25626. "type": "object",
  25627. "properties": {
  25628. "Key": {
  25629. "description": "菜单KEY",
  25630. "type": "string"
  25631. },
  25632. "Label": {
  25633. "description": "菜单标题",
  25634. "type": "string"
  25635. }
  25636. }
  25637. },
  25638. "models.PendingAuditBizModel": {
  25639. "type": "object",
  25640. "properties": {
  25641. "accountid": {
  25642. "description": "现货账户",
  25643. "type": "string"
  25644. },
  25645. "areaname": {
  25646. "description": "所属部门",
  25647. "type": "string"
  25648. },
  25649. "bizid": {
  25650. "description": "业务ID",
  25651. "type": "string"
  25652. },
  25653. "bizname": {
  25654. "description": "业务名称",
  25655. "type": "string"
  25656. },
  25657. "status": {
  25658. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  25659. "type": "integer"
  25660. },
  25661. "type": {
  25662. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  25663. "type": "integer"
  25664. }
  25665. }
  25666. },
  25667. "models.QhjAccountOutInApply": {
  25668. "type": "object",
  25669. "properties": {
  25670. "accountcode": {
  25671. "description": "资金账号",
  25672. "type": "string"
  25673. },
  25674. "accountname": {
  25675. "description": "用户名称(名称)",
  25676. "type": "string"
  25677. },
  25678. "accountpwd": {
  25679. "description": "资金密码",
  25680. "type": "string"
  25681. },
  25682. "accountticket": {
  25683. "description": "最新账户服务流水号",
  25684. "type": "string"
  25685. },
  25686. "amount": {
  25687. "description": "金额",
  25688. "type": "number"
  25689. },
  25690. "applyremark": {
  25691. "description": "申请备注",
  25692. "type": "string"
  25693. },
  25694. "applystatus": {
  25695. "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: 复审通过,账户冻结金额检查中;",
  25696. "type": "integer"
  25697. },
  25698. "auditid": {
  25699. "description": "审核人",
  25700. "type": "integer"
  25701. },
  25702. "audittime": {
  25703. "description": "审核时间",
  25704. "type": "string"
  25705. },
  25706. "bank_apply_ticket": {
  25707. "description": "银行申请流水",
  25708. "type": "string"
  25709. },
  25710. "bankaccountname": {
  25711. "description": "银行账户名",
  25712. "type": "string"
  25713. },
  25714. "bankaccountno": {
  25715. "description": "银行卡号",
  25716. "type": "string"
  25717. },
  25718. "bankid": {
  25719. "description": "银行编号",
  25720. "type": "string"
  25721. },
  25722. "bankticket": {
  25723. "description": "银行流水",
  25724. "type": "string"
  25725. },
  25726. "branchbankid": {
  25727. "description": "银行支行号",
  25728. "type": "string"
  25729. },
  25730. "branchbankname": {
  25731. "description": "银行支行名称",
  25732. "type": "string"
  25733. },
  25734. "capamountout": {
  25735. "description": "出金(劣后本金) - 外部子账户",
  25736. "type": "number"
  25737. },
  25738. "certificatephotourl": {
  25739. "description": "凭证地址",
  25740. "type": "string"
  25741. },
  25742. "charge": {
  25743. "description": "手续费",
  25744. "type": "number"
  25745. },
  25746. "checkerrorflag": {
  25747. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  25748. "type": "integer"
  25749. },
  25750. "currency": {
  25751. "description": "币种",
  25752. "type": "string"
  25753. },
  25754. "cusbankid": {
  25755. "description": "托管银行编号",
  25756. "type": "string"
  25757. },
  25758. "exchticket": {
  25759. "description": "银行服务流水号",
  25760. "type": "string"
  25761. },
  25762. "executetype": {
  25763. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  25764. "type": "integer"
  25765. },
  25766. "extendinfo": {
  25767. "description": "扩展信息",
  25768. "type": "string"
  25769. },
  25770. "extoperateid": {
  25771. "description": "交易服务流水号",
  25772. "type": "integer"
  25773. },
  25774. "infamount": {
  25775. "description": "劣后金额(自有)",
  25776. "type": "number"
  25777. },
  25778. "logincode": {
  25779. "description": "登录账号(账号)",
  25780. "type": "string"
  25781. },
  25782. "netaddr": {
  25783. "description": "调转网址",
  25784. "type": "string"
  25785. },
  25786. "priamount": {
  25787. "description": "优先金额(授信)",
  25788. "type": "number"
  25789. },
  25790. "reauditid": {
  25791. "description": "复审人",
  25792. "type": "integer"
  25793. },
  25794. "reauditremark": {
  25795. "description": "复审备注",
  25796. "type": "string"
  25797. },
  25798. "reaudittime": {
  25799. "description": "复审时间",
  25800. "type": "string"
  25801. },
  25802. "relatedorderid": {
  25803. "description": "三方关联ID",
  25804. "type": "string"
  25805. },
  25806. "remark": {
  25807. "description": "备注",
  25808. "type": "string"
  25809. },
  25810. "remark2": {
  25811. "description": "备注(失败原因)",
  25812. "type": "string"
  25813. },
  25814. "soucreamount": {
  25815. "description": "原始出入金金额",
  25816. "type": "number"
  25817. },
  25818. "soucrecurrencyid": {
  25819. "description": "原始出入金币种",
  25820. "type": "integer"
  25821. },
  25822. "tradedate": {
  25823. "description": "交易日(yyyyMMdd)",
  25824. "type": "string"
  25825. },
  25826. "updatetime": {
  25827. "description": "更新时间(申请时间)",
  25828. "type": "string"
  25829. },
  25830. "userid": {
  25831. "description": "用户id",
  25832. "type": "integer"
  25833. },
  25834. "userinfotype": {
  25835. "description": "账户类型 1-个人 2-企业",
  25836. "type": "integer"
  25837. }
  25838. }
  25839. },
  25840. "models.QhjAgreementChangeLog": {
  25841. "type": "object",
  25842. "properties": {
  25843. "agreementcontent": {
  25844. "description": "协议内容",
  25845. "type": "string"
  25846. },
  25847. "agreementfrequency": {
  25848. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  25849. "type": "integer"
  25850. },
  25851. "agreementid": {
  25852. "description": "协议ID",
  25853. "type": "integer"
  25854. },
  25855. "agreementname": {
  25856. "description": "协议名称",
  25857. "type": "string"
  25858. },
  25859. "agreementno": {
  25860. "description": "协议编号",
  25861. "type": "string"
  25862. },
  25863. "agreementtype": {
  25864. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25865. "type": "integer"
  25866. },
  25867. "agreementversion": {
  25868. "description": "协议版本号",
  25869. "type": "integer"
  25870. },
  25871. "logid": {
  25872. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  25873. "type": "integer"
  25874. },
  25875. "reviserid": {
  25876. "description": "修改人",
  25877. "type": "integer"
  25878. },
  25879. "revisersrc": {
  25880. "description": "修改来源 - 1:管理端 2:终端",
  25881. "type": "integer"
  25882. },
  25883. "updatetime": {
  25884. "description": "更新时间",
  25885. "type": "string"
  25886. }
  25887. }
  25888. },
  25889. "models.QhjAgreementConfig": {
  25890. "type": "object",
  25891. "properties": {
  25892. "agreementcontent": {
  25893. "description": "协议内容",
  25894. "type": "string"
  25895. },
  25896. "agreementfrequency": {
  25897. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  25898. "type": "integer"
  25899. },
  25900. "agreementid": {
  25901. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  25902. "type": "integer"
  25903. },
  25904. "agreementname": {
  25905. "description": "协议名称",
  25906. "type": "string"
  25907. },
  25908. "agreementno": {
  25909. "description": "协议编号",
  25910. "type": "string"
  25911. },
  25912. "agreementtype": {
  25913. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25914. "type": "integer"
  25915. },
  25916. "agreementversion": {
  25917. "description": "协议版本号(从1开始每次修改加1)",
  25918. "type": "integer"
  25919. },
  25920. "createtime": {
  25921. "description": "创建时间",
  25922. "type": "string"
  25923. },
  25924. "creatorid": {
  25925. "description": "创建人",
  25926. "type": "integer"
  25927. },
  25928. "creatorsrc": {
  25929. "description": "创建来源 - 1:管理端 2:终端",
  25930. "type": "integer"
  25931. },
  25932. "isvalid": {
  25933. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  25934. "type": "integer"
  25935. },
  25936. "reviserid": {
  25937. "description": "修改人",
  25938. "type": "integer"
  25939. },
  25940. "revisersrc": {
  25941. "description": "修改来源 - 1:管理端 2:终端",
  25942. "type": "integer"
  25943. },
  25944. "updatetime": {
  25945. "description": "更新时间",
  25946. "type": "string"
  25947. }
  25948. }
  25949. },
  25950. "models.QhjAreaFinanceConfig": {
  25951. "type": "object",
  25952. "properties": {
  25953. "additionalratio": {
  25954. "description": "追加款比例",
  25955. "type": "number"
  25956. },
  25957. "advanceratio": {
  25958. "description": "预付款比例",
  25959. "type": "number"
  25960. },
  25961. "alarmratio": {
  25962. "description": "告警比例",
  25963. "type": "number"
  25964. },
  25965. "consumptiondirectreward": {
  25966. "description": "消费直推奖励值",
  25967. "type": "number"
  25968. },
  25969. "consumptionenabled": {
  25970. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  25971. "type": "integer"
  25972. },
  25973. "consumptionindirectreward": {
  25974. "description": "消费间推奖励值",
  25975. "type": "number"
  25976. },
  25977. "consumptionmodel": {
  25978. "description": "消费奖励方式 - 1:比率 2:固定",
  25979. "type": "integer"
  25980. },
  25981. "customerservicenum": {
  25982. "description": "客服电话",
  25983. "type": "string"
  25984. },
  25985. "dayinterestrate": {
  25986. "description": "日利率",
  25987. "type": "number"
  25988. },
  25989. "disableconsumptiontips": {
  25990. "description": "关闭消费奖励提示",
  25991. "type": "string"
  25992. },
  25993. "modifierid": {
  25994. "description": "修改人ID",
  25995. "type": "integer"
  25996. },
  25997. "modifysrc": {
  25998. "description": "审核来源 - 1:管理端 2:终端",
  25999. "type": "integer"
  26000. },
  26001. "modifytime": {
  26002. "description": "修改时间",
  26003. "type": "string"
  26004. },
  26005. "promotionvalue": {
  26006. "description": "推广奖励值(固定)",
  26007. "type": "number"
  26008. },
  26009. "scoreconfigvalue1": {
  26010. "description": "提货积分配置1",
  26011. "type": "integer"
  26012. },
  26013. "scoreconfigvalue2": {
  26014. "description": "提货积分配置2",
  26015. "type": "integer"
  26016. },
  26017. "userid": {
  26018. "description": "机构用户ID其他做市关系,都设置为 1",
  26019. "type": "integer"
  26020. },
  26021. "username": {
  26022. "description": "用户名称",
  26023. "type": "string"
  26024. }
  26025. }
  26026. },
  26027. "models.QhjBankAccountSign": {
  26028. "type": "object",
  26029. "properties": {
  26030. "accountcode": {
  26031. "description": "资金账号",
  26032. "type": "string"
  26033. },
  26034. "accountname": {
  26035. "description": "资金账号对应的账号名(UserName)",
  26036. "type": "string"
  26037. },
  26038. "accountname2": {
  26039. "description": "资金账号对应的账号名(UserName) - 密文",
  26040. "type": "string"
  26041. },
  26042. "accounttype": {
  26043. "description": "账户类型(UserType)",
  26044. "type": "integer"
  26045. },
  26046. "applicationtime": {
  26047. "description": "最后一次更新的时间",
  26048. "type": "string"
  26049. },
  26050. "applyexchticket": {
  26051. "description": "申请流水",
  26052. "type": "string"
  26053. },
  26054. "auditid": {
  26055. "description": "审核人",
  26056. "type": "integer"
  26057. },
  26058. "audittime": {
  26059. "description": "审核时间",
  26060. "type": "string"
  26061. },
  26062. "bankaccountname": {
  26063. "description": "签约银行卡账号名",
  26064. "type": "string"
  26065. },
  26066. "bankaccountname2": {
  26067. "description": "签约银行卡账号名 - 密文",
  26068. "type": "string"
  26069. },
  26070. "bankaccountno": {
  26071. "description": "银行卡号",
  26072. "type": "string"
  26073. },
  26074. "bankaccountno2": {
  26075. "description": "银行卡号 - 密文",
  26076. "type": "string"
  26077. },
  26078. "bankaccounttype": {
  26079. "description": "银行账户类型 - 1-对私; 2-对公",
  26080. "type": "integer"
  26081. },
  26082. "bankcardtype": {
  26083. "description": "银行卡类型",
  26084. "type": "integer"
  26085. },
  26086. "bankchildaccount": {
  26087. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  26088. "type": "string"
  26089. },
  26090. "bankcity": {
  26091. "description": "开户行城市",
  26092. "type": "string"
  26093. },
  26094. "bankid": {
  26095. "description": "签约银行ID",
  26096. "type": "string"
  26097. },
  26098. "bankname": {
  26099. "description": "签约银行名称",
  26100. "type": "string"
  26101. },
  26102. "bankprovince": {
  26103. "description": "开户行省份",
  26104. "type": "string"
  26105. },
  26106. "branchbankid": {
  26107. "description": "签约银行支行号",
  26108. "type": "string"
  26109. },
  26110. "branchbankname": {
  26111. "description": "签约银行支行名称",
  26112. "type": "string"
  26113. },
  26114. "cardno": {
  26115. "description": "证件号码",
  26116. "type": "string"
  26117. },
  26118. "cardno2": {
  26119. "description": "证件号码 - 密文",
  26120. "type": "string"
  26121. },
  26122. "cardtype": {
  26123. "description": "证件类型",
  26124. "type": "string"
  26125. },
  26126. "currency": {
  26127. "description": "币种",
  26128. "type": "string"
  26129. },
  26130. "cusbankid": {
  26131. "description": "托管银行编号",
  26132. "type": "string"
  26133. },
  26134. "direct": {
  26135. "description": "方向(可以判断那方先发起的签约)",
  26136. "type": "integer"
  26137. },
  26138. "exchticket": {
  26139. "description": "最后一次签约成功的流水号",
  26140. "type": "string"
  26141. },
  26142. "extendinfo": {
  26143. "description": "扩展信息(JSON字符串)",
  26144. "type": "string"
  26145. },
  26146. "mobilephone": {
  26147. "description": "手机号",
  26148. "type": "string"
  26149. },
  26150. "mobilephone2": {
  26151. "description": "手机号 - 密文",
  26152. "type": "string"
  26153. },
  26154. "netaddr": {
  26155. "description": "调转网址",
  26156. "type": "string"
  26157. },
  26158. "relateduserid": {
  26159. "description": "关联使用者userid",
  26160. "type": "integer"
  26161. },
  26162. "signstatus": {
  26163. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  26164. "type": "integer"
  26165. },
  26166. "updatetime": {
  26167. "description": "更新时间(签解约更新时间)",
  26168. "type": "string"
  26169. }
  26170. }
  26171. },
  26172. "models.QhjBankInfo": {
  26173. "type": "object",
  26174. "properties": {
  26175. "bankid": {
  26176. "description": "银行ID",
  26177. "type": "string"
  26178. },
  26179. "bankname": {
  26180. "description": "银行名称",
  26181. "type": "string"
  26182. },
  26183. "clearbankno": {
  26184. "description": "清算系统银行编号",
  26185. "type": "string"
  26186. },
  26187. "orderindex": {
  26188. "description": "排序顺序",
  26189. "type": "integer"
  26190. },
  26191. "status": {
  26192. "description": "状态 - 0:正常 1:注销",
  26193. "type": "integer"
  26194. }
  26195. }
  26196. },
  26197. "models.QhjBrokerApply": {
  26198. "type": "object",
  26199. "properties": {
  26200. "applicantid": {
  26201. "description": "申请人",
  26202. "type": "integer"
  26203. },
  26204. "applysrc": {
  26205. "description": "申请来源 - 1:管理端 2:终端",
  26206. "type": "integer"
  26207. },
  26208. "applystatus": {
  26209. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26210. "type": "integer"
  26211. },
  26212. "applytime": {
  26213. "description": "申请时间",
  26214. "type": "string"
  26215. },
  26216. "auditorid": {
  26217. "description": "审核人",
  26218. "type": "integer"
  26219. },
  26220. "auditremark": {
  26221. "description": "审核备注",
  26222. "type": "string"
  26223. },
  26224. "auditsrc": {
  26225. "description": "审核来源 - 1:管理端 2:终端",
  26226. "type": "integer"
  26227. },
  26228. "audittime": {
  26229. "description": "审核时间",
  26230. "type": "string"
  26231. },
  26232. "audittradedate": {
  26233. "description": "审核交易日(yyyyMMdd)",
  26234. "type": "string"
  26235. },
  26236. "brokerapplyid": {
  26237. "description": "申请ID(SEQ_BROKERAPPLY)",
  26238. "type": "integer"
  26239. },
  26240. "cardbackphotourl": {
  26241. "description": "证件背面图片地址",
  26242. "type": "string"
  26243. },
  26244. "cardfrontphotourl": {
  26245. "description": "证件正面图片地址",
  26246. "type": "string"
  26247. },
  26248. "cardnum": {
  26249. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  26250. "type": "string"
  26251. },
  26252. "customername": {
  26253. "description": "姓名",
  26254. "type": "string"
  26255. },
  26256. "logincode": {
  26257. "description": "登录代码",
  26258. "type": "string"
  26259. },
  26260. "mobile": {
  26261. "description": "手机号码",
  26262. "type": "string"
  26263. },
  26264. "parentuserid": {
  26265. "description": "所属机构id",
  26266. "type": "integer"
  26267. },
  26268. "parentusername": {
  26269. "description": "所属机构名称",
  26270. "type": "string"
  26271. },
  26272. "refereeuserid": {
  26273. "description": "推荐人id(经纪人)",
  26274. "type": "integer"
  26275. },
  26276. "refernum": {
  26277. "description": "推荐码",
  26278. "type": "string"
  26279. },
  26280. "remark": {
  26281. "description": "备注",
  26282. "type": "string"
  26283. },
  26284. "subarealevelpath": {
  26285. "description": "层级路径",
  26286. "type": "string"
  26287. },
  26288. "tradedate": {
  26289. "description": "交易日(yyyyMMdd)",
  26290. "type": "string"
  26291. },
  26292. "userid": {
  26293. "description": "申请人用户ID",
  26294. "type": "integer"
  26295. },
  26296. "userinfotype": {
  26297. "description": "用户类型 1-个人 2-企业",
  26298. "type": "integer"
  26299. },
  26300. "username": {
  26301. "description": "用户名称",
  26302. "type": "string"
  26303. }
  26304. }
  26305. },
  26306. "models.QhjBrokerApplyEx": {
  26307. "type": "object",
  26308. "properties": {
  26309. "applylist": {
  26310. "description": "经纪人申请记录(只返回最新一条)",
  26311. "type": "array",
  26312. "items": {
  26313. "$ref": "#/definitions/models.QhjBrokerApply"
  26314. }
  26315. },
  26316. "canrecommend": {
  26317. "description": "是否经纪人 0-不是 1-是",
  26318. "type": "integer"
  26319. },
  26320. "refernum": {
  26321. "description": "推荐码",
  26322. "type": "string"
  26323. },
  26324. "userid": {
  26325. "description": "用户id",
  26326. "type": "integer"
  26327. },
  26328. "userinfotype": {
  26329. "description": "用户类型 1-个人 2-企业",
  26330. "type": "integer"
  26331. }
  26332. }
  26333. },
  26334. "models.QhjBrokerRewardLog": {
  26335. "type": "object",
  26336. "properties": {
  26337. "accountid": {
  26338. "description": "资金账号ID",
  26339. "type": "integer"
  26340. },
  26341. "createtime": {
  26342. "description": "创建时间(时间)",
  26343. "type": "string"
  26344. },
  26345. "handlestatus": {
  26346. "description": "处理状态",
  26347. "type": "integer"
  26348. },
  26349. "logid": {
  26350. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26351. "type": "string"
  26352. },
  26353. "marketid": {
  26354. "description": "市场ID",
  26355. "type": "integer"
  26356. },
  26357. "mmaccountid": {
  26358. "description": "做市商资金账号ID",
  26359. "type": "string"
  26360. },
  26361. "mmuserid": {
  26362. "description": "做市商用户ID",
  26363. "type": "string"
  26364. },
  26365. "rewardamount": {
  26366. "description": "奖励金额",
  26367. "type": "number"
  26368. },
  26369. "rewardmodel": {
  26370. "description": "消费奖励方式 - 1:比率 2:固定",
  26371. "type": "integer"
  26372. },
  26373. "rewardtype": {
  26374. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  26375. "type": "integer"
  26376. },
  26377. "rewardvalue": {
  26378. "description": "配置奖励值",
  26379. "type": "number"
  26380. },
  26381. "srcamount": {
  26382. "description": "成交金额 [消费奖励] (金额)",
  26383. "type": "number"
  26384. },
  26385. "srcgoodsid": {
  26386. "description": "来源商品ID [消费奖励]",
  26387. "type": "string"
  26388. },
  26389. "srctime": {
  26390. "description": "来源时间 (成交时间) [消费奖励]",
  26391. "type": "string"
  26392. },
  26393. "srctradeid": {
  26394. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  26395. "type": "string"
  26396. },
  26397. "srcuserid": {
  26398. "description": "来源用户ID(推广账户)",
  26399. "type": "string"
  26400. },
  26401. "srcusername": {
  26402. "description": "推广账户名称",
  26403. "type": "string"
  26404. },
  26405. "tradedate": {
  26406. "description": "交易日(yyyyMMdd)",
  26407. "type": "string"
  26408. },
  26409. "userid": {
  26410. "description": "经纪人用户ID",
  26411. "type": "integer"
  26412. }
  26413. }
  26414. },
  26415. "models.QhjContract": {
  26416. "type": "object",
  26417. "properties": {
  26418. "contractconfirmtime": {
  26419. "description": "合同确认时间(时间)",
  26420. "type": "string"
  26421. },
  26422. "currisklevel": {
  26423. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  26424. "type": "integer"
  26425. },
  26426. "decimalplace": {
  26427. "description": "商品报价小数位",
  26428. "type": "integer"
  26429. },
  26430. "enumdicname": {
  26431. "description": "单位名称",
  26432. "type": "string"
  26433. },
  26434. "goodscode": {
  26435. "description": "商品代码",
  26436. "type": "string"
  26437. },
  26438. "goodsid": {
  26439. "description": "商品ID [5:融资单]",
  26440. "type": "integer"
  26441. },
  26442. "goodsname": {
  26443. "description": "商品名称",
  26444. "type": "string"
  26445. },
  26446. "goodunitid": {
  26447. "description": "商品单位id",
  26448. "type": "integer"
  26449. },
  26450. "initmargin": {
  26451. "description": "初始保证金(首付款)",
  26452. "type": "number"
  26453. },
  26454. "lenderamount": {
  26455. "description": "贷款金额(总额|订单总额)",
  26456. "type": "number"
  26457. },
  26458. "marginratio": {
  26459. "description": "保证金比率(首付比例)",
  26460. "type": "number"
  26461. },
  26462. "payamount": {
  26463. "description": "已付(已付货款)",
  26464. "type": "number"
  26465. },
  26466. "reckonrecovermargin": {
  26467. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  26468. "type": "number"
  26469. },
  26470. "recoveredmargin": {
  26471. "description": "已追缴保证金",
  26472. "type": "number"
  26473. },
  26474. "remainamount": {
  26475. "description": "合同剩余金额(融资额)",
  26476. "type": "number"
  26477. },
  26478. "scfcontractid": {
  26479. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26480. "type": "string"
  26481. },
  26482. "scfcontractstatus": {
  26483. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  26484. "type": "integer"
  26485. },
  26486. "scfcontracttype": {
  26487. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  26488. "type": "integer"
  26489. },
  26490. "totalinterest": {
  26491. "description": "已计总利息(利息)",
  26492. "type": "number"
  26493. },
  26494. "tradeprice": {
  26495. "description": "成交价格(成本价格)",
  26496. "type": "number"
  26497. },
  26498. "userid": {
  26499. "description": "用户ID",
  26500. "type": "integer"
  26501. },
  26502. "username": {
  26503. "description": "用户名称",
  26504. "type": "string"
  26505. },
  26506. "wrqty": {
  26507. "description": "仓单数量(数量)",
  26508. "type": "number"
  26509. }
  26510. }
  26511. },
  26512. "models.QhjContractLog": {
  26513. "type": "object",
  26514. "properties": {
  26515. "amount": {
  26516. "description": "支付金额",
  26517. "type": "number"
  26518. },
  26519. "amounttype": {
  26520. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  26521. "type": "integer"
  26522. },
  26523. "logid": {
  26524. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26525. "type": "string"
  26526. },
  26527. "remainamount": {
  26528. "description": "剩余货款",
  26529. "type": "number"
  26530. },
  26531. "scfcontractid": {
  26532. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26533. "type": "integer"
  26534. },
  26535. "updatetime": {
  26536. "description": "更新时间",
  26537. "type": "string"
  26538. }
  26539. }
  26540. },
  26541. "models.QhjCusBankSignBankEx": {
  26542. "type": "object",
  26543. "properties": {
  26544. "banklst": {
  26545. "description": "银行列表",
  26546. "type": "array",
  26547. "items": {
  26548. "$ref": "#/definitions/models.QhjBankInfo"
  26549. }
  26550. },
  26551. "canallot": {
  26552. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  26553. "type": "integer"
  26554. },
  26555. "canallotquery": {
  26556. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  26557. "type": "integer"
  26558. },
  26559. "canbindcard": {
  26560. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  26561. "type": "integer"
  26562. },
  26563. "caninamount": {
  26564. "description": "是否可入金 - 0:不可 1:可以",
  26565. "type": "integer"
  26566. },
  26567. "caninamount2": {
  26568. "description": "是否可入金(网银端) - 0:不可 1:可以",
  26569. "type": "integer"
  26570. },
  26571. "canmodifybankcard": {
  26572. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  26573. "type": "integer"
  26574. },
  26575. "canmodifyphone": {
  26576. "description": "是否可修改手机号 - 0:不可 1:可以",
  26577. "type": "integer"
  26578. },
  26579. "canmodifysigninfo": {
  26580. "description": "是否可修改签约信息 - 0:不可 1:可以",
  26581. "type": "integer"
  26582. },
  26583. "canoutamount": {
  26584. "description": "是否可出金 - 0:不可 1:可以",
  26585. "type": "integer"
  26586. },
  26587. "canoutamount2": {
  26588. "description": "是否可出金(网银端) - 0:不可 1:可以",
  26589. "type": "integer"
  26590. },
  26591. "canrelease": {
  26592. "description": "是否可解约 - 0:不可 1:可以",
  26593. "type": "integer"
  26594. },
  26595. "canrelease2": {
  26596. "description": "是否可解约(网银端) - 0:不可 1:可以",
  26597. "type": "integer"
  26598. },
  26599. "cansign": {
  26600. "description": "是否可签约 - 0:不可 1:可以",
  26601. "type": "integer"
  26602. },
  26603. "cansign2": {
  26604. "description": "是否可签约(网银端) - 0:不可 1:可以",
  26605. "type": "integer"
  26606. },
  26607. "currency": {
  26608. "description": "币种",
  26609. "type": "string"
  26610. },
  26611. "cusbankid": {
  26612. "description": "托管银行编号(对应清算中心TRAN_NO)",
  26613. "type": "string"
  26614. },
  26615. "cusbankname": {
  26616. "description": "银行业务名称",
  26617. "type": "string"
  26618. },
  26619. "cusbankshortname": {
  26620. "description": "银行业务简称",
  26621. "type": "string"
  26622. },
  26623. "exchbankid": {
  26624. "description": "交易所开户银行ID",
  26625. "type": "string"
  26626. },
  26627. "exchpaybankaccname": {
  26628. "description": "交易所支出结算账户户名",
  26629. "type": "string"
  26630. },
  26631. "exchpaybankaccno": {
  26632. "description": "交易所支出结算账户",
  26633. "type": "string"
  26634. },
  26635. "isneedcheck": {
  26636. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  26637. "type": "integer"
  26638. },
  26639. "isneedclear": {
  26640. "description": "是否需要清算 - 0:不需要 1:需要",
  26641. "type": "integer"
  26642. },
  26643. "lastcheckstatus": {
  26644. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  26645. "type": "integer"
  26646. },
  26647. "lastchecktime": {
  26648. "description": "最后对账时间",
  26649. "type": "string"
  26650. },
  26651. "lastclearstatus": {
  26652. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  26653. "type": "integer"
  26654. },
  26655. "lastcleartime": {
  26656. "description": "最后清算时间",
  26657. "type": "string"
  26658. },
  26659. "lastsignintime": {
  26660. "description": "最后签到时间",
  26661. "type": "string"
  26662. },
  26663. "lastsignouttime": {
  26664. "description": "最后签退时间",
  26665. "type": "string"
  26666. },
  26667. "riskinfo": {
  26668. "description": "签约风险提示书",
  26669. "type": "string"
  26670. },
  26671. "signstatus": {
  26672. "description": "当前签到/签退状态 - 1:签到 2:签退",
  26673. "type": "integer"
  26674. },
  26675. "tradedate": {
  26676. "description": "交易日(yyyyMMdd)",
  26677. "type": "string"
  26678. },
  26679. "updatetime": {
  26680. "description": "当前签到/签退更新时间",
  26681. "type": "string"
  26682. }
  26683. }
  26684. },
  26685. "models.QhjCustomer": {
  26686. "type": "object",
  26687. "properties": {
  26688. "address": {
  26689. "description": "通讯地址",
  26690. "type": "string"
  26691. },
  26692. "attachment1": {
  26693. "description": "附件1",
  26694. "type": "string"
  26695. },
  26696. "audittime": {
  26697. "description": "审核时间",
  26698. "type": "string"
  26699. },
  26700. "cardbackphotourl": {
  26701. "description": "证件反面图片地址",
  26702. "type": "string"
  26703. },
  26704. "cardfrontphotourl": {
  26705. "description": "证件正面图片地址",
  26706. "type": "string"
  26707. },
  26708. "cardnum": {
  26709. "description": "证件号码",
  26710. "type": "string"
  26711. },
  26712. "cardtype": {
  26713. "description": "证件类型",
  26714. "type": "integer"
  26715. },
  26716. "cardtypename": {
  26717. "description": "证件类型名称",
  26718. "type": "string"
  26719. },
  26720. "cityid": {
  26721. "description": "市",
  26722. "type": "integer"
  26723. },
  26724. "cityname": {
  26725. "description": "城市名称",
  26726. "type": "string"
  26727. },
  26728. "contactname": {
  26729. "description": "联系人",
  26730. "type": "string"
  26731. },
  26732. "countryid": {
  26733. "description": "国家",
  26734. "type": "integer"
  26735. },
  26736. "countryname": {
  26737. "description": "国家名称",
  26738. "type": "string"
  26739. },
  26740. "createtime": {
  26741. "description": "创建时间",
  26742. "type": "string"
  26743. },
  26744. "customername": {
  26745. "description": "客户名称",
  26746. "type": "string"
  26747. },
  26748. "districtid": {
  26749. "description": "区域",
  26750. "type": "integer"
  26751. },
  26752. "districtname": {
  26753. "description": "地区名称",
  26754. "type": "string"
  26755. },
  26756. "email": {
  26757. "description": "邮件",
  26758. "type": "string"
  26759. },
  26760. "legalpersonname": {
  26761. "description": "法人姓名(企业)",
  26762. "type": "string"
  26763. },
  26764. "logincode": {
  26765. "description": "登录账号(代码)",
  26766. "type": "string"
  26767. },
  26768. "memberuserid": {
  26769. "description": "所属机构ID(所属会员)",
  26770. "type": "integer"
  26771. },
  26772. "memberusername": {
  26773. "description": "所属会员名称",
  26774. "type": "string"
  26775. },
  26776. "mobile": {
  26777. "description": "手机号码",
  26778. "type": "string"
  26779. },
  26780. "modifytime": {
  26781. "description": "修改时间",
  26782. "type": "string"
  26783. },
  26784. "nickname": {
  26785. "description": "昵称",
  26786. "type": "string"
  26787. },
  26788. "parentuserid": {
  26789. "description": "上级机构(所属机构)",
  26790. "type": "integer"
  26791. },
  26792. "parentusername": {
  26793. "description": "所属机构名称",
  26794. "type": "string"
  26795. },
  26796. "provinceid": {
  26797. "description": "省",
  26798. "type": "integer"
  26799. },
  26800. "provincename": {
  26801. "description": "省名称",
  26802. "type": "string"
  26803. },
  26804. "proxystatementurl": {
  26805. "description": "授权委托书",
  26806. "type": "string"
  26807. },
  26808. "remark": {
  26809. "description": "备注",
  26810. "type": "string"
  26811. },
  26812. "status": {
  26813. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  26814. "type": "integer"
  26815. },
  26816. "statusdesc": {
  26817. "description": "账户状态中文描述",
  26818. "type": "string"
  26819. },
  26820. "taxpayernum": {
  26821. "description": "纳税人识别号",
  26822. "type": "string"
  26823. },
  26824. "telphone": {
  26825. "description": "联系电话",
  26826. "type": "string"
  26827. },
  26828. "userid": {
  26829. "description": "用户ID",
  26830. "type": "integer"
  26831. },
  26832. "userinfotype": {
  26833. "description": "客户类型 1-个人 2-企业",
  26834. "type": "integer"
  26835. },
  26836. "username": {
  26837. "description": "用户名称",
  26838. "type": "string"
  26839. }
  26840. }
  26841. },
  26842. "models.QhjCustomerSignLog": {
  26843. "type": "object",
  26844. "properties": {
  26845. "agreementcontent": {
  26846. "description": "协议内容",
  26847. "type": "string"
  26848. },
  26849. "agreementid": {
  26850. "description": "协议ID",
  26851. "type": "integer"
  26852. },
  26853. "agreementname": {
  26854. "description": "协议名称",
  26855. "type": "string"
  26856. },
  26857. "agreementno": {
  26858. "description": "协议编号",
  26859. "type": "string"
  26860. },
  26861. "agreementtype": {
  26862. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26863. "type": "integer"
  26864. },
  26865. "agreementversion": {
  26866. "description": "协议版本号",
  26867. "type": "integer"
  26868. },
  26869. "createtime": {
  26870. "description": "创建时间",
  26871. "type": "string"
  26872. },
  26873. "goodscode": {
  26874. "description": "商品代码",
  26875. "type": "string"
  26876. },
  26877. "goodsid": {
  26878. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26879. "type": "integer"
  26880. },
  26881. "goodsname": {
  26882. "description": "商品名称",
  26883. "type": "string"
  26884. },
  26885. "logid": {
  26886. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  26887. "type": "integer"
  26888. },
  26889. "nodetype": {
  26890. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  26891. "type": "integer"
  26892. },
  26893. "signadressurl": {
  26894. "description": "签约文件地址",
  26895. "type": "string"
  26896. },
  26897. "signtimestamp": {
  26898. "description": "签约状态时间戳",
  26899. "type": "string"
  26900. },
  26901. "userid": {
  26902. "description": "客户ID",
  26903. "type": "integer"
  26904. },
  26905. "username": {
  26906. "description": "客户名称",
  26907. "type": "string"
  26908. }
  26909. }
  26910. },
  26911. "models.QhjCustomerSignStatus": {
  26912. "type": "object",
  26913. "properties": {
  26914. "createtime": {
  26915. "description": "创建时间",
  26916. "type": "string"
  26917. },
  26918. "goodscode": {
  26919. "description": "商品代码",
  26920. "type": "string"
  26921. },
  26922. "goodsid": {
  26923. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26924. "type": "integer"
  26925. },
  26926. "goodsname": {
  26927. "description": "商品名称",
  26928. "type": "string"
  26929. },
  26930. "nodetype": {
  26931. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  26932. "type": "integer"
  26933. },
  26934. "signtimestamp": {
  26935. "description": "签约状态时间戳",
  26936. "type": "string"
  26937. },
  26938. "tradedate": {
  26939. "description": "创建交易日(yyyyMMdd)",
  26940. "type": "string"
  26941. },
  26942. "updatetime": {
  26943. "description": "更新时间",
  26944. "type": "string"
  26945. },
  26946. "userid": {
  26947. "description": "客户ID",
  26948. "type": "integer"
  26949. },
  26950. "username": {
  26951. "description": "客户名称",
  26952. "type": "string"
  26953. }
  26954. }
  26955. },
  26956. "models.QhjMgrAccountOutInApply": {
  26957. "type": "object",
  26958. "properties": {
  26959. "accountcode": {
  26960. "description": "资金账号",
  26961. "type": "string"
  26962. },
  26963. "accountname": {
  26964. "description": "用户名称(名称)",
  26965. "type": "string"
  26966. },
  26967. "accountpwd": {
  26968. "description": "资金密码",
  26969. "type": "string"
  26970. },
  26971. "accountticket": {
  26972. "description": "最新账户服务流水号",
  26973. "type": "string"
  26974. },
  26975. "amount": {
  26976. "description": "金额",
  26977. "type": "number"
  26978. },
  26979. "applyremark": {
  26980. "description": "申请备注",
  26981. "type": "string"
  26982. },
  26983. "applystatus": {
  26984. "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: 复审通过,账户冻结金额检查中;",
  26985. "type": "integer"
  26986. },
  26987. "auditid": {
  26988. "description": "审核人",
  26989. "type": "integer"
  26990. },
  26991. "audittime": {
  26992. "description": "审核时间",
  26993. "type": "string"
  26994. },
  26995. "bank_apply_ticket": {
  26996. "description": "银行申请流水",
  26997. "type": "string"
  26998. },
  26999. "bankaccountname": {
  27000. "description": "银行账户名",
  27001. "type": "string"
  27002. },
  27003. "bankaccountno": {
  27004. "description": "银行卡号",
  27005. "type": "string"
  27006. },
  27007. "bankid": {
  27008. "description": "银行编号",
  27009. "type": "string"
  27010. },
  27011. "bankname": {
  27012. "description": "银行名称",
  27013. "type": "string"
  27014. },
  27015. "bankticket": {
  27016. "description": "银行流水",
  27017. "type": "string"
  27018. },
  27019. "branchbankid": {
  27020. "description": "银行支行号",
  27021. "type": "string"
  27022. },
  27023. "branchbankname": {
  27024. "description": "银行支行名称",
  27025. "type": "string"
  27026. },
  27027. "capamountout": {
  27028. "description": "出金(劣后本金) - 外部子账户",
  27029. "type": "number"
  27030. },
  27031. "certificatephotourl": {
  27032. "description": "凭证地址",
  27033. "type": "string"
  27034. },
  27035. "charge": {
  27036. "description": "手续费",
  27037. "type": "number"
  27038. },
  27039. "checkerrorflag": {
  27040. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27041. "type": "integer"
  27042. },
  27043. "currency": {
  27044. "description": "币种",
  27045. "type": "string"
  27046. },
  27047. "cusbankid": {
  27048. "description": "托管银行编号",
  27049. "type": "string"
  27050. },
  27051. "exchticket": {
  27052. "description": "银行服务流水号",
  27053. "type": "string"
  27054. },
  27055. "executetype": {
  27056. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27057. "type": "integer"
  27058. },
  27059. "extendinfo": {
  27060. "description": "扩展信息",
  27061. "type": "string"
  27062. },
  27063. "extoperateid": {
  27064. "description": "交易服务流水号",
  27065. "type": "integer"
  27066. },
  27067. "infamount": {
  27068. "description": "劣后金额(自有)",
  27069. "type": "number"
  27070. },
  27071. "logincode": {
  27072. "description": "登录账号(账号)",
  27073. "type": "string"
  27074. },
  27075. "netaddr": {
  27076. "description": "调转网址",
  27077. "type": "string"
  27078. },
  27079. "priamount": {
  27080. "description": "优先金额(授信)",
  27081. "type": "number"
  27082. },
  27083. "reauditid": {
  27084. "description": "复审人",
  27085. "type": "integer"
  27086. },
  27087. "reauditremark": {
  27088. "description": "复审备注",
  27089. "type": "string"
  27090. },
  27091. "reaudittime": {
  27092. "description": "复审时间",
  27093. "type": "string"
  27094. },
  27095. "relatedorderid": {
  27096. "description": "三方关联ID",
  27097. "type": "string"
  27098. },
  27099. "remark": {
  27100. "description": "备注",
  27101. "type": "string"
  27102. },
  27103. "remark2": {
  27104. "description": "备注(失败原因)",
  27105. "type": "string"
  27106. },
  27107. "soucreamount": {
  27108. "description": "原始出入金金额",
  27109. "type": "number"
  27110. },
  27111. "soucrecurrencyid": {
  27112. "description": "原始出入金币种",
  27113. "type": "integer"
  27114. },
  27115. "tradedate": {
  27116. "description": "交易日(yyyyMMdd)",
  27117. "type": "string"
  27118. },
  27119. "updatetime": {
  27120. "description": "更新时间(申请时间)",
  27121. "type": "string"
  27122. },
  27123. "userid": {
  27124. "description": "用户id",
  27125. "type": "integer"
  27126. },
  27127. "userinfotype": {
  27128. "description": "账户类型 1-个人 2-企业",
  27129. "type": "integer"
  27130. }
  27131. }
  27132. },
  27133. "models.QhjMgrBrokerApply": {
  27134. "type": "object",
  27135. "properties": {
  27136. "applicantid": {
  27137. "description": "申请人",
  27138. "type": "integer"
  27139. },
  27140. "applysrc": {
  27141. "description": "申请来源 - 1:管理端 2:终端",
  27142. "type": "integer"
  27143. },
  27144. "applystatus": {
  27145. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  27146. "type": "integer"
  27147. },
  27148. "applytime": {
  27149. "description": "申请时间",
  27150. "type": "string"
  27151. },
  27152. "auditorid": {
  27153. "description": "审核人",
  27154. "type": "integer"
  27155. },
  27156. "auditremark": {
  27157. "description": "审核备注",
  27158. "type": "string"
  27159. },
  27160. "auditsrc": {
  27161. "description": "审核来源 - 1:管理端 2:终端",
  27162. "type": "integer"
  27163. },
  27164. "audittime": {
  27165. "description": "审核时间",
  27166. "type": "string"
  27167. },
  27168. "audittradedate": {
  27169. "description": "审核交易日(yyyyMMdd)",
  27170. "type": "string"
  27171. },
  27172. "brokerapplyid": {
  27173. "description": "申请ID(SEQ_BROKERAPPLY)",
  27174. "type": "integer"
  27175. },
  27176. "cardbackphotourl": {
  27177. "description": "证件背面图片地址",
  27178. "type": "string"
  27179. },
  27180. "cardfrontphotourl": {
  27181. "description": "证件正面图片地址",
  27182. "type": "string"
  27183. },
  27184. "cardnum": {
  27185. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  27186. "type": "string"
  27187. },
  27188. "customername": {
  27189. "description": "姓名",
  27190. "type": "string"
  27191. },
  27192. "filterstatus": {
  27193. "description": "筛选条件",
  27194. "type": "string"
  27195. },
  27196. "logincode": {
  27197. "description": "登录代码",
  27198. "type": "string"
  27199. },
  27200. "mobile": {
  27201. "description": "手机号码",
  27202. "type": "string"
  27203. },
  27204. "parentuserid": {
  27205. "description": "所属机构id",
  27206. "type": "integer"
  27207. },
  27208. "parentusername": {
  27209. "description": "所属机构名称",
  27210. "type": "string"
  27211. },
  27212. "refereeuserid": {
  27213. "description": "推荐人id(经纪人)",
  27214. "type": "integer"
  27215. },
  27216. "refernum": {
  27217. "description": "推荐码",
  27218. "type": "string"
  27219. },
  27220. "remark": {
  27221. "description": "备注",
  27222. "type": "string"
  27223. },
  27224. "subarealevelpath": {
  27225. "description": "层级路径",
  27226. "type": "string"
  27227. },
  27228. "tradedate": {
  27229. "description": "交易日(yyyyMMdd)",
  27230. "type": "string"
  27231. },
  27232. "userid": {
  27233. "description": "申请人用户ID",
  27234. "type": "integer"
  27235. },
  27236. "userinfotype": {
  27237. "description": "用户类型 1-个人 2-企业",
  27238. "type": "integer"
  27239. },
  27240. "username": {
  27241. "description": "用户名称",
  27242. "type": "string"
  27243. }
  27244. }
  27245. },
  27246. "models.QhjMgrBrokerRewardReport": {
  27247. "type": "object",
  27248. "properties": {
  27249. "createtime": {
  27250. "description": "创建时间(注册时间)",
  27251. "type": "string"
  27252. },
  27253. "cycletime": {
  27254. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  27255. "type": "string"
  27256. },
  27257. "cycletype": {
  27258. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  27259. "type": "integer"
  27260. },
  27261. "directtotalnum": {
  27262. "description": "直推总人数【期末】",
  27263. "type": "integer"
  27264. },
  27265. "indirecttotalnum": {
  27266. "description": "间推总人数【期末】",
  27267. "type": "integer"
  27268. },
  27269. "mobile": {
  27270. "description": "电话号码",
  27271. "type": "string"
  27272. },
  27273. "refereeuserid": {
  27274. "description": "推荐人id(经纪人id)",
  27275. "type": "integer"
  27276. },
  27277. "refereeusername": {
  27278. "description": "推荐人名称(经纪人) 上级经纪人名称",
  27279. "type": "string"
  27280. },
  27281. "refernum": {
  27282. "description": "推荐码",
  27283. "type": "string"
  27284. },
  27285. "subarealevelpath": {
  27286. "description": "用户层级路径",
  27287. "type": "string"
  27288. },
  27289. "todayrewardamount": {
  27290. "description": "奖励总金额【汇总】",
  27291. "type": "number"
  27292. },
  27293. "updatetime": {
  27294. "description": "更新时间",
  27295. "type": "string"
  27296. },
  27297. "userid": {
  27298. "description": "经纪人用户ID",
  27299. "type": "integer"
  27300. },
  27301. "userinfotype": {
  27302. "description": "用户类型 1-个人 2-企业",
  27303. "type": "integer"
  27304. },
  27305. "username": {
  27306. "description": "用户名称",
  27307. "type": "string"
  27308. }
  27309. }
  27310. },
  27311. "models.QhjMgrContract": {
  27312. "type": "object",
  27313. "properties": {
  27314. "contractconfirmtime": {
  27315. "description": "合同确认时间(时间)",
  27316. "type": "string"
  27317. },
  27318. "currisklevel": {
  27319. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  27320. "type": "integer"
  27321. },
  27322. "decimalplace": {
  27323. "description": "商品报价小数位",
  27324. "type": "integer"
  27325. },
  27326. "enumdicname": {
  27327. "description": "单位名称",
  27328. "type": "string"
  27329. },
  27330. "goodscode": {
  27331. "description": "商品代码",
  27332. "type": "string"
  27333. },
  27334. "goodsid": {
  27335. "description": "商品ID [5:融资单]",
  27336. "type": "integer"
  27337. },
  27338. "goodsname": {
  27339. "description": "商品名称",
  27340. "type": "string"
  27341. },
  27342. "goodunitid": {
  27343. "description": "商品单位id",
  27344. "type": "integer"
  27345. },
  27346. "initmargin": {
  27347. "description": "初始保证金(首付款)",
  27348. "type": "number"
  27349. },
  27350. "lenderamount": {
  27351. "description": "贷款金额(总额|订单总额)",
  27352. "type": "number"
  27353. },
  27354. "logincode": {
  27355. "description": "账号(登录代码)",
  27356. "type": "string"
  27357. },
  27358. "marginratio": {
  27359. "description": "保证金比率(首付比例)",
  27360. "type": "number"
  27361. },
  27362. "mobile": {
  27363. "description": "电话号码(用户资料里的电话)",
  27364. "type": "string"
  27365. },
  27366. "payamount": {
  27367. "description": "已付(已付货款)",
  27368. "type": "number"
  27369. },
  27370. "reckonrecovermargin": {
  27371. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  27372. "type": "number"
  27373. },
  27374. "recoveredmargin": {
  27375. "description": "已追缴保证金",
  27376. "type": "number"
  27377. },
  27378. "remainamount": {
  27379. "description": "合同剩余金额(融资额)",
  27380. "type": "number"
  27381. },
  27382. "scfcontractid": {
  27383. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  27384. "type": "string"
  27385. },
  27386. "scfcontractstatus": {
  27387. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  27388. "type": "integer"
  27389. },
  27390. "scfcontracttype": {
  27391. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  27392. "type": "integer"
  27393. },
  27394. "totalinterest": {
  27395. "description": "已计总利息(利息)",
  27396. "type": "number"
  27397. },
  27398. "tradedate": {
  27399. "description": "交易日",
  27400. "type": "string"
  27401. },
  27402. "tradeprice": {
  27403. "description": "成交价格(成本价格)",
  27404. "type": "number"
  27405. },
  27406. "userid": {
  27407. "description": "用户ID",
  27408. "type": "integer"
  27409. },
  27410. "userinfotype": {
  27411. "description": "用户类型 1-个人 2-企业",
  27412. "type": "integer"
  27413. },
  27414. "username": {
  27415. "description": "用户名称",
  27416. "type": "string"
  27417. },
  27418. "wrqty": {
  27419. "description": "仓单数量(数量)",
  27420. "type": "number"
  27421. }
  27422. }
  27423. },
  27424. "models.QhjMgrCustomer": {
  27425. "type": "object",
  27426. "properties": {
  27427. "address": {
  27428. "description": "通讯地址",
  27429. "type": "string"
  27430. },
  27431. "attachment1": {
  27432. "description": "附件1",
  27433. "type": "string"
  27434. },
  27435. "audittime": {
  27436. "description": "审核时间",
  27437. "type": "string"
  27438. },
  27439. "birthday": {
  27440. "description": "生日",
  27441. "type": "string"
  27442. },
  27443. "brokerid": {
  27444. "description": "所属客户经理id",
  27445. "type": "integer"
  27446. },
  27447. "brokername": {
  27448. "description": "所属客户经理名称",
  27449. "type": "string"
  27450. },
  27451. "cardbackphotourl": {
  27452. "description": "证件反面图片地址",
  27453. "type": "string"
  27454. },
  27455. "cardfrontphotourl": {
  27456. "description": "证件正面图片地址",
  27457. "type": "string"
  27458. },
  27459. "cardnum": {
  27460. "description": "证件号码",
  27461. "type": "string"
  27462. },
  27463. "cardtype": {
  27464. "description": "证件类型",
  27465. "type": "integer"
  27466. },
  27467. "cardtypename": {
  27468. "description": "证件类型名称",
  27469. "type": "string"
  27470. },
  27471. "cityid": {
  27472. "description": "市",
  27473. "type": "integer"
  27474. },
  27475. "cityname": {
  27476. "description": "城市名称",
  27477. "type": "string"
  27478. },
  27479. "contactname": {
  27480. "description": "联系人",
  27481. "type": "string"
  27482. },
  27483. "countryid": {
  27484. "description": "国家",
  27485. "type": "integer"
  27486. },
  27487. "countryname": {
  27488. "description": "国家名称",
  27489. "type": "string"
  27490. },
  27491. "createtime": {
  27492. "description": "创建时间",
  27493. "type": "string"
  27494. },
  27495. "customername": {
  27496. "description": "客户名称",
  27497. "type": "string"
  27498. },
  27499. "districtid": {
  27500. "description": "区域",
  27501. "type": "integer"
  27502. },
  27503. "districtname": {
  27504. "description": "地区名称",
  27505. "type": "string"
  27506. },
  27507. "email": {
  27508. "description": "邮件",
  27509. "type": "string"
  27510. },
  27511. "legalpersonname": {
  27512. "description": "法人姓名(企业)",
  27513. "type": "string"
  27514. },
  27515. "logincode": {
  27516. "description": "登录账号(代码)",
  27517. "type": "string"
  27518. },
  27519. "memberuserid": {
  27520. "description": "所属机构ID(所属会员)",
  27521. "type": "integer"
  27522. },
  27523. "memberusername": {
  27524. "description": "所属会员名称",
  27525. "type": "string"
  27526. },
  27527. "mobile": {
  27528. "description": "手机号码",
  27529. "type": "string"
  27530. },
  27531. "modifytime": {
  27532. "description": "修改时间",
  27533. "type": "string"
  27534. },
  27535. "nickname": {
  27536. "description": "昵称",
  27537. "type": "string"
  27538. },
  27539. "parentuserid": {
  27540. "description": "上级机构(所属机构)",
  27541. "type": "integer"
  27542. },
  27543. "parentusername": {
  27544. "description": "所属机构名称",
  27545. "type": "string"
  27546. },
  27547. "provinceid": {
  27548. "description": "省",
  27549. "type": "integer"
  27550. },
  27551. "provincename": {
  27552. "description": "省名称",
  27553. "type": "string"
  27554. },
  27555. "proxystatementurl": {
  27556. "description": "授权委托书",
  27557. "type": "string"
  27558. },
  27559. "querytype": {
  27560. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  27561. "type": "integer"
  27562. },
  27563. "remark": {
  27564. "description": "备注",
  27565. "type": "string"
  27566. },
  27567. "sex": {
  27568. "description": "性别 0-女 1-男",
  27569. "type": "integer"
  27570. },
  27571. "status": {
  27572. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27573. "type": "integer"
  27574. },
  27575. "statusdesc": {
  27576. "description": "账户状态中文描述",
  27577. "type": "string"
  27578. },
  27579. "taxpayernum": {
  27580. "description": "纳税人识别号",
  27581. "type": "string"
  27582. },
  27583. "telphone": {
  27584. "description": "联系电话",
  27585. "type": "string"
  27586. },
  27587. "userid": {
  27588. "description": "用户ID",
  27589. "type": "integer"
  27590. },
  27591. "userinfotype": {
  27592. "description": "客户类型 1-个人 2-企业",
  27593. "type": "integer"
  27594. },
  27595. "username": {
  27596. "description": "用户名称",
  27597. "type": "string"
  27598. }
  27599. }
  27600. },
  27601. "models.QhjMgrPickGoods": {
  27602. "type": "object",
  27603. "properties": {
  27604. "enumdicname": {
  27605. "description": "单位名称(提货商品)",
  27606. "type": "string"
  27607. },
  27608. "goodsid": {
  27609. "description": "商品id",
  27610. "type": "integer"
  27611. },
  27612. "imageaddress": {
  27613. "description": "图片",
  27614. "type": "string"
  27615. },
  27616. "modifierid": {
  27617. "description": "修改人",
  27618. "type": "integer"
  27619. },
  27620. "modifiername": {
  27621. "description": "修改人名称",
  27622. "type": "string"
  27623. },
  27624. "modifysrc": {
  27625. "description": "修改来源 - 1:管理端 2:终端",
  27626. "type": "integer"
  27627. },
  27628. "pickupgoodsagreeunit": {
  27629. "description": "合约乘数",
  27630. "type": "number"
  27631. },
  27632. "pickupgoodsdesc": {
  27633. "description": "描述",
  27634. "type": "string"
  27635. },
  27636. "pickupgoodsid": {
  27637. "description": "提货商品ID",
  27638. "type": "string"
  27639. },
  27640. "pickupgoodsname": {
  27641. "description": "提货商品名称",
  27642. "type": "string"
  27643. },
  27644. "pickupgoodsstatus": {
  27645. "description": "状态 - 1:正常 2:停用 3:注销",
  27646. "type": "integer"
  27647. },
  27648. "pickupgoodsunitid": {
  27649. "description": "单位ID",
  27650. "type": "integer"
  27651. },
  27652. "pickupratio": {
  27653. "description": "提货系数",
  27654. "type": "number"
  27655. },
  27656. "preparedays": {
  27657. "description": "备货期(天)",
  27658. "type": "integer"
  27659. },
  27660. "remark": {
  27661. "description": "备注",
  27662. "type": "string"
  27663. },
  27664. "updatetime": {
  27665. "description": "更新时间",
  27666. "type": "string"
  27667. }
  27668. }
  27669. },
  27670. "models.QhjMgrPositionRsp": {
  27671. "type": "object",
  27672. "properties": {
  27673. "accountid": {
  27674. "description": "账号Id",
  27675. "type": "integer"
  27676. },
  27677. "accountname": {
  27678. "description": "用户名称",
  27679. "type": "string"
  27680. },
  27681. "agreeunit": {
  27682. "description": "合约乘数",
  27683. "type": "number"
  27684. },
  27685. "averageprice": {
  27686. "description": "均价",
  27687. "type": "number"
  27688. },
  27689. "avialqty": {
  27690. "description": "可用数量",
  27691. "type": "number"
  27692. },
  27693. "decimalplace": {
  27694. "description": "报价小数位",
  27695. "type": "integer"
  27696. },
  27697. "enumdicname": {
  27698. "description": "单位名称(商品)",
  27699. "type": "string"
  27700. },
  27701. "frozenqty": {
  27702. "description": "冻结数量",
  27703. "type": "number"
  27704. },
  27705. "goodscode": {
  27706. "description": "商品代码(内部)",
  27707. "type": "string"
  27708. },
  27709. "goodsid": {
  27710. "description": "商品Id",
  27711. "type": "integer"
  27712. },
  27713. "goodsname": {
  27714. "description": "商品名称",
  27715. "type": "string"
  27716. },
  27717. "goodunitid": {
  27718. "description": "报价单位ID",
  27719. "type": "integer"
  27720. },
  27721. "holderamount": {
  27722. "description": "金额",
  27723. "type": "number"
  27724. },
  27725. "holderqty": {
  27726. "description": "持有数量",
  27727. "type": "number"
  27728. },
  27729. "holdertype": {
  27730. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  27731. "type": "integer"
  27732. },
  27733. "logincode": {
  27734. "description": "登录代码(账户)",
  27735. "type": "string"
  27736. },
  27737. "marketid": {
  27738. "description": "市场id",
  27739. "type": "integer"
  27740. },
  27741. "qtydecimalplace": {
  27742. "description": "成交量小数位",
  27743. "type": "integer"
  27744. },
  27745. "trademode": {
  27746. "description": "交易模式",
  27747. "type": "integer"
  27748. },
  27749. "userid": {
  27750. "description": "用户id",
  27751. "type": "integer"
  27752. },
  27753. "userinfotype": {
  27754. "description": "账户类型 1-个人 2-企业",
  27755. "type": "integer"
  27756. }
  27757. }
  27758. },
  27759. "models.QhjMgrSubArea": {
  27760. "type": "object",
  27761. "properties": {
  27762. "accountname": {
  27763. "description": "账户名称(机构名称)",
  27764. "type": "string"
  27765. },
  27766. "memberuserid": {
  27767. "description": "所属会员ID",
  27768. "type": "integer"
  27769. },
  27770. "parenttopuser": {
  27771. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  27772. "type": "string"
  27773. },
  27774. "parentuserid": {
  27775. "description": "所属机构ID",
  27776. "type": "integer"
  27777. },
  27778. "rootuserid": {
  27779. "description": "根用户ID",
  27780. "type": "string"
  27781. },
  27782. "subaccountlevel": {
  27783. "description": "子账户层数",
  27784. "type": "integer"
  27785. },
  27786. "subarealevelpath": {
  27787. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  27788. "type": "string"
  27789. },
  27790. "userid": {
  27791. "description": "用户ID",
  27792. "type": "integer"
  27793. },
  27794. "usertype": {
  27795. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27796. "type": "integer"
  27797. }
  27798. }
  27799. },
  27800. "models.QhjMgrTradeDetailRsp": {
  27801. "type": "object",
  27802. "properties": {
  27803. "accountid": {
  27804. "description": "资金账号",
  27805. "type": "integer"
  27806. },
  27807. "accountname": {
  27808. "description": "用户名称",
  27809. "type": "string"
  27810. },
  27811. "agreeunit": {
  27812. "description": "合约乘数",
  27813. "type": "number"
  27814. },
  27815. "buyorsell": {
  27816. "description": "成交类型(方向) 0:买 1:卖",
  27817. "type": "integer"
  27818. },
  27819. "decimalplace": {
  27820. "description": "报价小数位",
  27821. "type": "integer"
  27822. },
  27823. "enumdicname": {
  27824. "description": "单位名称(商品)",
  27825. "type": "string"
  27826. },
  27827. "goodscode": {
  27828. "description": "商品代码(内部)",
  27829. "type": "string"
  27830. },
  27831. "goodsid": {
  27832. "description": "商品id",
  27833. "type": "integer"
  27834. },
  27835. "goodsname": {
  27836. "description": "商品名称",
  27837. "type": "string"
  27838. },
  27839. "goodunitid": {
  27840. "description": "报价单位ID",
  27841. "type": "integer"
  27842. },
  27843. "logincode": {
  27844. "description": "登录代码(账户)",
  27845. "type": "string"
  27846. },
  27847. "marketid": {
  27848. "description": "市场id",
  27849. "type": "integer"
  27850. },
  27851. "orderid": {
  27852. "description": "关联委托单号",
  27853. "type": "string"
  27854. },
  27855. "qtydecimalplace": {
  27856. "description": "成交量小数位",
  27857. "type": "integer"
  27858. },
  27859. "tradeamount": {
  27860. "description": "金额",
  27861. "type": "number"
  27862. },
  27863. "tradedate": {
  27864. "description": "交易日",
  27865. "type": "string"
  27866. },
  27867. "tradeid": {
  27868. "description": "成交单号",
  27869. "type": "string"
  27870. },
  27871. "trademode": {
  27872. "description": "交易模式",
  27873. "type": "integer"
  27874. },
  27875. "tradeprice": {
  27876. "description": "价格",
  27877. "type": "number"
  27878. },
  27879. "tradeqty": {
  27880. "description": "数量",
  27881. "type": "number"
  27882. },
  27883. "tradetime": {
  27884. "description": "成交时间",
  27885. "type": "string"
  27886. },
  27887. "userid": {
  27888. "description": "用户id",
  27889. "type": "integer"
  27890. },
  27891. "userinfotype": {
  27892. "description": "账户类型 1-个人 2-企业",
  27893. "type": "integer"
  27894. }
  27895. }
  27896. },
  27897. "models.QhjMgrTradeOrderDetailRsp": {
  27898. "type": "object",
  27899. "properties": {
  27900. "accountid": {
  27901. "description": "资金账号",
  27902. "type": "integer"
  27903. },
  27904. "accountname": {
  27905. "description": "用户名称",
  27906. "type": "string"
  27907. },
  27908. "agreeunit": {
  27909. "description": "合约乘数",
  27910. "type": "number"
  27911. },
  27912. "amount": {
  27913. "description": "金额",
  27914. "type": "number"
  27915. },
  27916. "decimalplace": {
  27917. "description": "报价小数位",
  27918. "type": "integer"
  27919. },
  27920. "enumdicname": {
  27921. "description": "单位名称(商品)",
  27922. "type": "string"
  27923. },
  27924. "goodscode": {
  27925. "description": "商品代码(内部)",
  27926. "type": "string"
  27927. },
  27928. "goodsid": {
  27929. "description": "商品id",
  27930. "type": "integer"
  27931. },
  27932. "goodsname": {
  27933. "description": "商品名称",
  27934. "type": "string"
  27935. },
  27936. "goodunitid": {
  27937. "description": "报价单位ID",
  27938. "type": "integer"
  27939. },
  27940. "logincode": {
  27941. "description": "登录代码(账户)",
  27942. "type": "string"
  27943. },
  27944. "marketid": {
  27945. "description": "市场id",
  27946. "type": "integer"
  27947. },
  27948. "orderid": {
  27949. "description": "关联委托单号",
  27950. "type": "string"
  27951. },
  27952. "orderprice": {
  27953. "description": "价格",
  27954. "type": "number"
  27955. },
  27956. "orderqty": {
  27957. "description": "数量",
  27958. "type": "number"
  27959. },
  27960. "orderstatus": {
  27961. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27962. "type": "integer"
  27963. },
  27964. "ordertime": {
  27965. "description": "委托时间",
  27966. "type": "string"
  27967. },
  27968. "qtydecimalplace": {
  27969. "description": "成交量小数位",
  27970. "type": "integer"
  27971. },
  27972. "tradedate": {
  27973. "description": "交易日",
  27974. "type": "string"
  27975. },
  27976. "trademode": {
  27977. "description": "交易模式",
  27978. "type": "integer"
  27979. },
  27980. "userid": {
  27981. "description": "用户id",
  27982. "type": "integer"
  27983. },
  27984. "userinfotype": {
  27985. "description": "账户类型 1-个人 2-企业",
  27986. "type": "integer"
  27987. }
  27988. }
  27989. },
  27990. "models.QhjMgrTradePayOrder": {
  27991. "type": "object",
  27992. "properties": {
  27993. "accountname": {
  27994. "description": "用户名称",
  27995. "type": "string"
  27996. },
  27997. "advanceratio": {
  27998. "description": "首付比率",
  27999. "type": "number"
  28000. },
  28001. "agreeunit": {
  28002. "description": "合约乘数",
  28003. "type": "number"
  28004. },
  28005. "buyaccountid": {
  28006. "description": "买方账号ID[报价币种]",
  28007. "type": "integer"
  28008. },
  28009. "buyorderid": {
  28010. "description": "买方委托单号(关联单号)",
  28011. "type": "string"
  28012. },
  28013. "createtime": {
  28014. "description": "创建时间",
  28015. "type": "string"
  28016. },
  28017. "decimalplace": {
  28018. "description": "报价小数位",
  28019. "type": "integer"
  28020. },
  28021. "enumdicname": {
  28022. "description": "单位名称(商品)",
  28023. "type": "string"
  28024. },
  28025. "goodscode": {
  28026. "description": "商品代码(内部)",
  28027. "type": "string"
  28028. },
  28029. "goodsid": {
  28030. "description": "商品ID",
  28031. "type": "integer"
  28032. },
  28033. "goodsname": {
  28034. "description": "商品名称",
  28035. "type": "string"
  28036. },
  28037. "goodunitid": {
  28038. "description": "报价单位ID",
  28039. "type": "integer"
  28040. },
  28041. "logincode": {
  28042. "description": "登录代码(账户)",
  28043. "type": "string"
  28044. },
  28045. "marketid": {
  28046. "description": "市场id",
  28047. "type": "integer"
  28048. },
  28049. "offamount": {
  28050. "description": "优惠金额",
  28051. "type": "number"
  28052. },
  28053. "operatetype": {
  28054. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  28055. "type": "integer"
  28056. },
  28057. "payamount": {
  28058. "description": "支付金额(金额)",
  28059. "type": "number"
  28060. },
  28061. "payflag": {
  28062. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  28063. "type": "integer"
  28064. },
  28065. "paylimitedtime": {
  28066. "description": "支付期限",
  28067. "type": "string"
  28068. },
  28069. "paytime": {
  28070. "description": "付款时间",
  28071. "type": "string"
  28072. },
  28073. "qtydecimalplace": {
  28074. "description": "成交量小数位",
  28075. "type": "integer"
  28076. },
  28077. "sellaccountid": {
  28078. "description": "卖方账号ID[报价币种]",
  28079. "type": "integer"
  28080. },
  28081. "sellorderid": {
  28082. "description": "卖方委托单号",
  28083. "type": "string"
  28084. },
  28085. "tradeamount": {
  28086. "description": "成交金额(优惠后金额)",
  28087. "type": "number"
  28088. },
  28089. "tradecharge": {
  28090. "description": "成交手续费(买方)",
  28091. "type": "number"
  28092. },
  28093. "tradedate": {
  28094. "description": "交易日(yyyyMMdd)",
  28095. "type": "string"
  28096. },
  28097. "tradeid": {
  28098. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28099. "type": "string"
  28100. },
  28101. "trademode": {
  28102. "description": "交易模式",
  28103. "type": "integer"
  28104. },
  28105. "tradeprice": {
  28106. "description": "成交价格(价格)",
  28107. "type": "number"
  28108. },
  28109. "tradeqty": {
  28110. "description": "成交数量(数量)",
  28111. "type": "number"
  28112. },
  28113. "tradetime": {
  28114. "description": "成交时间",
  28115. "type": "string"
  28116. },
  28117. "userid": {
  28118. "description": "用户id",
  28119. "type": "integer"
  28120. },
  28121. "userinfotype": {
  28122. "description": "账户类型 1-个人 2-企业",
  28123. "type": "integer"
  28124. }
  28125. }
  28126. },
  28127. "models.QhjMyTeamEx": {
  28128. "type": "object",
  28129. "properties": {
  28130. "accountname": {
  28131. "description": "用户名称",
  28132. "type": "string"
  28133. },
  28134. "accountstatus": {
  28135. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28136. "type": "integer"
  28137. },
  28138. "createtime": {
  28139. "description": "创建时间",
  28140. "type": "string"
  28141. },
  28142. "mobile": {
  28143. "description": "手机号码",
  28144. "type": "string"
  28145. },
  28146. "refereeuserid": {
  28147. "description": "推荐人id",
  28148. "type": "integer"
  28149. },
  28150. "refernum": {
  28151. "description": "推荐码",
  28152. "type": "string"
  28153. },
  28154. "subList": {
  28155. "type": "array",
  28156. "items": {
  28157. "$ref": "#/definitions/models.QhjMyTeamEx"
  28158. }
  28159. },
  28160. "userid": {
  28161. "description": "用户id",
  28162. "type": "integer"
  28163. },
  28164. "userinfotype": {
  28165. "description": "用户类型 1-个人 2-企业",
  28166. "type": "integer"
  28167. }
  28168. }
  28169. },
  28170. "models.QhjNodeAgreementConfig": {
  28171. "type": "object",
  28172. "properties": {
  28173. "agreementcontent": {
  28174. "description": "协议内容",
  28175. "type": "string"
  28176. },
  28177. "agreementid": {
  28178. "description": "协议ID",
  28179. "type": "integer"
  28180. },
  28181. "agreementname": {
  28182. "description": "协议名称",
  28183. "type": "string"
  28184. },
  28185. "agreementno": {
  28186. "description": "协议编号",
  28187. "type": "string"
  28188. },
  28189. "agreementtype": {
  28190. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28191. "type": "integer"
  28192. },
  28193. "agreementversion": {
  28194. "description": "协议版本号",
  28195. "type": "integer"
  28196. },
  28197. "configid": {
  28198. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  28199. "type": "integer"
  28200. },
  28201. "createtime": {
  28202. "description": "创建时间",
  28203. "type": "string"
  28204. },
  28205. "goodsid": {
  28206. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28207. "type": "integer"
  28208. },
  28209. "nodetype": {
  28210. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28211. "type": "integer"
  28212. }
  28213. }
  28214. },
  28215. "models.QhjParentAreaList": {
  28216. "type": "object",
  28217. "properties": {
  28218. "accountname": {
  28219. "description": "账户名称(机构名称)",
  28220. "type": "string"
  28221. },
  28222. "userid": {
  28223. "description": "用户ID",
  28224. "type": "integer"
  28225. },
  28226. "usertype": {
  28227. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28228. "type": "integer"
  28229. }
  28230. }
  28231. },
  28232. "models.QhjPayOrder": {
  28233. "type": "object",
  28234. "properties": {
  28235. "advanceratio": {
  28236. "description": "首付比率",
  28237. "type": "number"
  28238. },
  28239. "buyaccountid": {
  28240. "description": "买方账号ID[报价币种]",
  28241. "type": "integer"
  28242. },
  28243. "buyorderid": {
  28244. "description": "买方委托单号",
  28245. "type": "string"
  28246. },
  28247. "createtime": {
  28248. "description": "创建时间",
  28249. "type": "string"
  28250. },
  28251. "decimalplace": {
  28252. "description": "商品报价小数位",
  28253. "type": "integer"
  28254. },
  28255. "enumdicname": {
  28256. "description": "单位名称",
  28257. "type": "string"
  28258. },
  28259. "goodscode": {
  28260. "description": "商品代码",
  28261. "type": "string"
  28262. },
  28263. "goodsid": {
  28264. "description": "商品ID",
  28265. "type": "integer"
  28266. },
  28267. "goodsname": {
  28268. "description": "商品名称",
  28269. "type": "string"
  28270. },
  28271. "goodunitid": {
  28272. "description": "商品单位id",
  28273. "type": "integer"
  28274. },
  28275. "marketid": {
  28276. "description": "市场ID",
  28277. "type": "integer"
  28278. },
  28279. "offamount": {
  28280. "description": "优惠金额",
  28281. "type": "number"
  28282. },
  28283. "operatetype": {
  28284. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  28285. "type": "integer"
  28286. },
  28287. "payamount": {
  28288. "description": "支付金额",
  28289. "type": "number"
  28290. },
  28291. "payflag": {
  28292. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  28293. "type": "integer"
  28294. },
  28295. "paylimitedtime": {
  28296. "description": "支付期限",
  28297. "type": "string"
  28298. },
  28299. "paytime": {
  28300. "description": "付款时间",
  28301. "type": "string"
  28302. },
  28303. "qtydecimalplace": {
  28304. "description": "成交量小数位",
  28305. "type": "integer"
  28306. },
  28307. "sellaccountid": {
  28308. "description": "卖方账号ID[报价币种]",
  28309. "type": "integer"
  28310. },
  28311. "sellorderid": {
  28312. "description": "卖方委托单号",
  28313. "type": "string"
  28314. },
  28315. "tradeamount": {
  28316. "description": "成交金额(优惠后金额)",
  28317. "type": "number"
  28318. },
  28319. "tradecharge": {
  28320. "description": "成交手续费(买方)",
  28321. "type": "number"
  28322. },
  28323. "tradedate": {
  28324. "description": "交易日(yyyyMMdd)",
  28325. "type": "string"
  28326. },
  28327. "tradeid": {
  28328. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28329. "type": "string"
  28330. },
  28331. "tradeprice": {
  28332. "description": "成交价格",
  28333. "type": "number"
  28334. },
  28335. "tradeqty": {
  28336. "description": "成交数量",
  28337. "type": "number"
  28338. }
  28339. }
  28340. },
  28341. "models.QhjPickArea": {
  28342. "type": "object",
  28343. "properties": {
  28344. "address": {
  28345. "description": "详细地址",
  28346. "type": "string"
  28347. },
  28348. "cityid": {
  28349. "description": "市",
  28350. "type": "integer"
  28351. },
  28352. "cityname": {
  28353. "description": "城市名称",
  28354. "type": "string"
  28355. },
  28356. "countryid": {
  28357. "description": "国家",
  28358. "type": "integer"
  28359. },
  28360. "countryname": {
  28361. "description": "国家名称",
  28362. "type": "string"
  28363. },
  28364. "districtid": {
  28365. "description": "地区",
  28366. "type": "integer"
  28367. },
  28368. "districtname": {
  28369. "description": "地区名称",
  28370. "type": "string"
  28371. },
  28372. "fromuserid": {
  28373. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  28374. "type": "integer"
  28375. },
  28376. "fromusername": {
  28377. "description": "所属机构名称",
  28378. "type": "string"
  28379. },
  28380. "provinceid": {
  28381. "description": "省",
  28382. "type": "integer"
  28383. },
  28384. "provincename": {
  28385. "description": "省名称",
  28386. "type": "string"
  28387. },
  28388. "suborgtype": {
  28389. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  28390. "type": "integer"
  28391. },
  28392. "userid": {
  28393. "description": "机构用户ID 其他做市关系,都设置为 1",
  28394. "type": "integer"
  28395. },
  28396. "username": {
  28397. "description": "机构用户名称(门店门称)",
  28398. "type": "string"
  28399. }
  28400. }
  28401. },
  28402. "models.QhjPickGoods": {
  28403. "type": "object",
  28404. "properties": {
  28405. "enumdicname": {
  28406. "description": "单位名称(提货商品)",
  28407. "type": "string"
  28408. },
  28409. "goodsid": {
  28410. "description": "商品id",
  28411. "type": "integer"
  28412. },
  28413. "imageaddress": {
  28414. "description": "图片",
  28415. "type": "string"
  28416. },
  28417. "modifierid": {
  28418. "description": "修改人",
  28419. "type": "integer"
  28420. },
  28421. "modifiername": {
  28422. "description": "修改人名称",
  28423. "type": "string"
  28424. },
  28425. "modifysrc": {
  28426. "description": "修改来源 - 1:管理端 2:终端",
  28427. "type": "integer"
  28428. },
  28429. "pickupgoodsagreeunit": {
  28430. "description": "合约乘数",
  28431. "type": "number"
  28432. },
  28433. "pickupgoodsdesc": {
  28434. "description": "描述",
  28435. "type": "string"
  28436. },
  28437. "pickupgoodsid": {
  28438. "description": "提货商品ID",
  28439. "type": "string"
  28440. },
  28441. "pickupgoodsname": {
  28442. "description": "提货商品名称",
  28443. "type": "string"
  28444. },
  28445. "pickupgoodsstatus": {
  28446. "description": "状态 - 1:正常 2:停用 3:注销",
  28447. "type": "integer"
  28448. },
  28449. "pickupgoodsunitid": {
  28450. "description": "单位ID",
  28451. "type": "integer"
  28452. },
  28453. "pickupratio": {
  28454. "description": "提货系数",
  28455. "type": "number"
  28456. },
  28457. "preparedays": {
  28458. "description": "备货期(天)",
  28459. "type": "integer"
  28460. },
  28461. "remark": {
  28462. "description": "备注",
  28463. "type": "string"
  28464. },
  28465. "updatetime": {
  28466. "description": "更新时间",
  28467. "type": "string"
  28468. }
  28469. }
  28470. },
  28471. "models.QhjRSTriggerLog": {
  28472. "type": "object",
  28473. "properties": {
  28474. "accountid": {
  28475. "description": "用户资金账户",
  28476. "type": "integer"
  28477. },
  28478. "accountname": {
  28479. "description": "账号名称(ACCOUNTID对应的名称)",
  28480. "type": "string"
  28481. },
  28482. "currencyid": {
  28483. "description": "币种id",
  28484. "type": "integer"
  28485. },
  28486. "currencyname": {
  28487. "description": "币种名称",
  28488. "type": "string"
  28489. },
  28490. "decimalplace": {
  28491. "description": "商品报价小数位",
  28492. "type": "integer"
  28493. },
  28494. "enumdicname": {
  28495. "description": "单位名称",
  28496. "type": "string"
  28497. },
  28498. "goodscode": {
  28499. "description": "定投商品代码",
  28500. "type": "string"
  28501. },
  28502. "goodsid": {
  28503. "description": "定投商品ID",
  28504. "type": "integer"
  28505. },
  28506. "goodsname": {
  28507. "description": "定投商品名称",
  28508. "type": "string"
  28509. },
  28510. "goodunitid": {
  28511. "description": "定投商品单位id",
  28512. "type": "integer"
  28513. },
  28514. "logid": {
  28515. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  28516. "type": "string"
  28517. },
  28518. "logincode": {
  28519. "description": "账号(登录代码)",
  28520. "type": "string"
  28521. },
  28522. "qtydecimalplace": {
  28523. "description": "成交量小数位",
  28524. "type": "integer"
  28525. },
  28526. "regularlycycle": {
  28527. "description": "定投频率 - 1:每周 2:每月",
  28528. "type": "integer"
  28529. },
  28530. "regularlycyclevalue": {
  28531. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28532. "type": "string"
  28533. },
  28534. "regularlymode": {
  28535. "description": "定投方式 - 1:按数量 2:按金额",
  28536. "type": "integer"
  28537. },
  28538. "regularlymodevalue": {
  28539. "description": "定投方式值 - 数量或金额",
  28540. "type": "number"
  28541. },
  28542. "regularlystrategyid": {
  28543. "description": "定投策略ID",
  28544. "type": "integer"
  28545. },
  28546. "retcode": {
  28547. "description": "错误码",
  28548. "type": "string"
  28549. },
  28550. "tradeid": {
  28551. "description": "成交单ID",
  28552. "type": "string"
  28553. },
  28554. "triggeramount": {
  28555. "description": "触发金额",
  28556. "type": "number"
  28557. },
  28558. "triggerqty": {
  28559. "description": "触发数量",
  28560. "type": "number"
  28561. },
  28562. "triggerstatus": {
  28563. "description": "触发状态 - 1:成功 2:失败",
  28564. "type": "integer"
  28565. },
  28566. "triggertime": {
  28567. "description": "触发时间",
  28568. "type": "string"
  28569. },
  28570. "triggertradedate": {
  28571. "description": "触发交易日",
  28572. "type": "string"
  28573. },
  28574. "userid": {
  28575. "description": "所属用户ID",
  28576. "type": "integer"
  28577. },
  28578. "userinfotype": {
  28579. "description": "用户类型 1-个人 2-企业",
  28580. "type": "integer"
  28581. },
  28582. "username": {
  28583. "description": "用户名称(userid对应的名称)",
  28584. "type": "string"
  28585. }
  28586. }
  28587. },
  28588. "models.QhjRStrategy": {
  28589. "type": "object",
  28590. "properties": {
  28591. "accountid": {
  28592. "description": "用户资金账户",
  28593. "type": "integer"
  28594. },
  28595. "accountname": {
  28596. "description": "账号名称(ACCOUNTID对应的名称)",
  28597. "type": "string"
  28598. },
  28599. "currencyid": {
  28600. "description": "币种id",
  28601. "type": "integer"
  28602. },
  28603. "currencyname": {
  28604. "description": "币种名称",
  28605. "type": "string"
  28606. },
  28607. "decimalplace": {
  28608. "description": "商品报价小数位",
  28609. "type": "integer"
  28610. },
  28611. "enumdicname": {
  28612. "description": "单位名称",
  28613. "type": "string"
  28614. },
  28615. "goodscode": {
  28616. "description": "定投商品代码",
  28617. "type": "string"
  28618. },
  28619. "goodsid": {
  28620. "description": "定投商品ID",
  28621. "type": "integer"
  28622. },
  28623. "goodsname": {
  28624. "description": "定投商品名称",
  28625. "type": "string"
  28626. },
  28627. "goodunitid": {
  28628. "description": "定投商品单位id",
  28629. "type": "integer"
  28630. },
  28631. "lasteffecttradedate": {
  28632. "description": "最新生效交易日",
  28633. "type": "string"
  28634. },
  28635. "laststoptradedate": {
  28636. "description": "最新暂停交易日",
  28637. "type": "string"
  28638. },
  28639. "lasttriggertradedate": {
  28640. "description": "最新触发交易日",
  28641. "type": "string"
  28642. },
  28643. "logincode": {
  28644. "description": "账号(登录代码)",
  28645. "type": "string"
  28646. },
  28647. "nexttriggeramount": {
  28648. "description": "下次触发金额",
  28649. "type": "number"
  28650. },
  28651. "nexttriggerdate": {
  28652. "description": "下次触发日期",
  28653. "type": "string"
  28654. },
  28655. "nexttriggerqty": {
  28656. "description": "下次触发数量 [按小数位放大值]",
  28657. "type": "number"
  28658. },
  28659. "qtydecimalplace": {
  28660. "description": "成交量小数位",
  28661. "type": "integer"
  28662. },
  28663. "regularlycycle": {
  28664. "description": "定投频率 - 1:每周 2:每月",
  28665. "type": "integer"
  28666. },
  28667. "regularlycyclevalue": {
  28668. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28669. "type": "string"
  28670. },
  28671. "regularlymode": {
  28672. "description": "定投方式 - 1:按数量 2:按金额",
  28673. "type": "integer"
  28674. },
  28675. "regularlymodevalue": {
  28676. "description": "定投方式值 - 数量或金额",
  28677. "type": "number"
  28678. },
  28679. "regularlystrategyid": {
  28680. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  28681. "type": "integer"
  28682. },
  28683. "regularlystrategystatus": {
  28684. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  28685. "type": "integer"
  28686. },
  28687. "remark": {
  28688. "description": "备注",
  28689. "type": "string"
  28690. },
  28691. "triggersuccesstimes": {
  28692. "description": "累计定投成功次数",
  28693. "type": "string"
  28694. },
  28695. "triggertotalamount": {
  28696. "description": "累计定投金额(成功)",
  28697. "type": "number"
  28698. },
  28699. "triggertotalqty": {
  28700. "description": "累计定投数量(成功) [按小数位放大值]",
  28701. "type": "number"
  28702. },
  28703. "triggertotaltimes": {
  28704. "description": "累计定投总次数",
  28705. "type": "string"
  28706. },
  28707. "updatesrc": {
  28708. "description": "更新来源 - 1:管理端 2:终端",
  28709. "type": "integer"
  28710. },
  28711. "updatetime": {
  28712. "description": "更新时间",
  28713. "type": "string"
  28714. },
  28715. "updatorid": {
  28716. "description": "更新人",
  28717. "type": "string"
  28718. },
  28719. "userid": {
  28720. "description": "所属用户ID",
  28721. "type": "integer"
  28722. },
  28723. "userinfotype": {
  28724. "description": "用户类型 1-个人 2-企业",
  28725. "type": "integer"
  28726. },
  28727. "username": {
  28728. "description": "用户名称(userid对应的名称)",
  28729. "type": "string"
  28730. }
  28731. }
  28732. },
  28733. "models.QhjReckonPriceLog": {
  28734. "type": "object",
  28735. "properties": {
  28736. "decimalplace": {
  28737. "description": "商品报价小数位",
  28738. "type": "integer"
  28739. },
  28740. "goodscode": {
  28741. "description": "商品代码",
  28742. "type": "string"
  28743. },
  28744. "goodsid": {
  28745. "description": "商品ID",
  28746. "type": "integer"
  28747. },
  28748. "goodsname": {
  28749. "description": "商品名称",
  28750. "type": "string"
  28751. },
  28752. "lastreckonprice": {
  28753. "description": "上日结算价",
  28754. "type": "number"
  28755. },
  28756. "nextdnlimitprice": {
  28757. "description": "下个交易日跌停价",
  28758. "type": "number"
  28759. },
  28760. "nexttrade": {
  28761. "description": "下个交易日",
  28762. "type": "string"
  28763. },
  28764. "nextuplimitprice": {
  28765. "description": "下个交易日涨停价",
  28766. "type": "number"
  28767. },
  28768. "reckonprice": {
  28769. "description": "今日结算价(定投价)",
  28770. "type": "number"
  28771. },
  28772. "reckontime": {
  28773. "description": "结算时间",
  28774. "type": "string"
  28775. },
  28776. "totalholderqty": {
  28777. "description": "总持仓数",
  28778. "type": "integer"
  28779. },
  28780. "totalstock": {
  28781. "description": "总库存",
  28782. "type": "integer"
  28783. },
  28784. "tradedate": {
  28785. "description": "交易日",
  28786. "type": "string"
  28787. },
  28788. "updowncount": {
  28789. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  28790. "type": "integer"
  28791. },
  28792. "updownflag": {
  28793. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  28794. "type": "integer"
  28795. },
  28796. "updownrate": {
  28797. "description": "今日涨跌幅",
  28798. "type": "number"
  28799. },
  28800. "updownrate_2d": {
  28801. "description": "连续两日涨跌幅",
  28802. "type": "number"
  28803. },
  28804. "updownrate_3d": {
  28805. "description": "连续三日涨跌幅",
  28806. "type": "number"
  28807. }
  28808. }
  28809. },
  28810. "models.QhjScoreLog": {
  28811. "type": "object",
  28812. "properties": {
  28813. "accountid": {
  28814. "description": "账户ID",
  28815. "type": "integer"
  28816. },
  28817. "createtime": {
  28818. "description": "创建时间(时间)",
  28819. "type": "string"
  28820. },
  28821. "goodsid": {
  28822. "description": "商品ID",
  28823. "type": "integer"
  28824. },
  28825. "hasuploaded": {
  28826. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  28827. "type": "integer"
  28828. },
  28829. "logid": {
  28830. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28831. "type": "string"
  28832. },
  28833. "marketid": {
  28834. "description": "市场ID",
  28835. "type": "integer"
  28836. },
  28837. "relatedamount": {
  28838. "description": "关联金额",
  28839. "type": "number"
  28840. },
  28841. "relatedorderid": {
  28842. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  28843. "type": "string"
  28844. },
  28845. "scoreconfigvalue1": {
  28846. "description": "积分配置1",
  28847. "type": "integer"
  28848. },
  28849. "scoreconfigvalue2": {
  28850. "description": "积分配置1",
  28851. "type": "integer"
  28852. },
  28853. "scoretype": {
  28854. "description": "积分类型 - 1:提货积分",
  28855. "type": "integer"
  28856. },
  28857. "scorevalue": {
  28858. "description": "积分",
  28859. "type": "number"
  28860. },
  28861. "tradedate": {
  28862. "description": "交易日(yyyyMMdd)",
  28863. "type": "string"
  28864. },
  28865. "uploadedtime": {
  28866. "description": "同步时间",
  28867. "type": "string"
  28868. },
  28869. "userid": {
  28870. "description": "用户ID",
  28871. "type": "integer"
  28872. }
  28873. }
  28874. },
  28875. "models.QhjSiteColumnDetail": {
  28876. "type": "object",
  28877. "properties": {
  28878. "author": {
  28879. "description": "作者",
  28880. "type": "string"
  28881. },
  28882. "brief": {
  28883. "description": "简介",
  28884. "type": "string"
  28885. },
  28886. "columnid": {
  28887. "description": "所属栏目",
  28888. "type": "integer"
  28889. },
  28890. "context": {
  28891. "description": "内容",
  28892. "type": "string"
  28893. },
  28894. "coverimage": {
  28895. "description": "封面图片",
  28896. "type": "string"
  28897. },
  28898. "creaedate": {
  28899. "description": "创建时间",
  28900. "type": "string"
  28901. },
  28902. "creatorid": {
  28903. "description": "创建人",
  28904. "type": "integer"
  28905. },
  28906. "hits": {
  28907. "description": "点击数",
  28908. "type": "integer"
  28909. },
  28910. "id": {
  28911. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  28912. "type": "integer"
  28913. },
  28914. "isshow": {
  28915. "description": "是否展示 - 0:不展示 1:展示",
  28916. "type": "integer"
  28917. },
  28918. "istop": {
  28919. "description": "是否置顶 - 0:不置 1:置顶",
  28920. "type": "integer"
  28921. },
  28922. "modifierid": {
  28923. "description": "操作人",
  28924. "type": "integer"
  28925. },
  28926. "publishdate": {
  28927. "description": "发布日期",
  28928. "type": "string"
  28929. },
  28930. "status": {
  28931. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  28932. "type": "integer"
  28933. },
  28934. "title": {
  28935. "description": "标题",
  28936. "type": "string"
  28937. },
  28938. "updatedate": {
  28939. "description": "修改时间",
  28940. "type": "string"
  28941. },
  28942. "userid": {
  28943. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  28944. "type": "integer"
  28945. },
  28946. "username": {
  28947. "description": "用户名称",
  28948. "type": "string"
  28949. }
  28950. }
  28951. },
  28952. "models.QhjTeamOrder": {
  28953. "type": "object",
  28954. "properties": {
  28955. "accountid": {
  28956. "description": "账户ID[报价币种]",
  28957. "type": "integer"
  28958. },
  28959. "accountname": {
  28960. "description": "账户名称",
  28961. "type": "string"
  28962. },
  28963. "agreeunit": {
  28964. "description": "合约乘数",
  28965. "type": "number"
  28966. },
  28967. "buyorsell": {
  28968. "description": "方向 - 0:买 1:卖",
  28969. "type": "integer"
  28970. },
  28971. "decimalplace": {
  28972. "description": "报价小数位",
  28973. "type": "integer"
  28974. },
  28975. "enumdicname": {
  28976. "description": "单位名称",
  28977. "type": "string"
  28978. },
  28979. "goodscode": {
  28980. "description": "商品代码(内部)",
  28981. "type": "string"
  28982. },
  28983. "goodsid": {
  28984. "description": "商品ID",
  28985. "type": "integer"
  28986. },
  28987. "goodsname": {
  28988. "description": "商品名称",
  28989. "type": "string"
  28990. },
  28991. "goodunitid": {
  28992. "description": "报价单位ID",
  28993. "type": "integer"
  28994. },
  28995. "marketid": {
  28996. "description": "市场ID",
  28997. "type": "integer"
  28998. },
  28999. "marketname": {
  29000. "description": "市场名称",
  29001. "type": "string"
  29002. },
  29003. "qtydecimalplace": {
  29004. "description": "成交量小数位",
  29005. "type": "integer"
  29006. },
  29007. "refereeuserid": {
  29008. "description": "推荐人ID",
  29009. "type": "integer"
  29010. },
  29011. "tradeamount": {
  29012. "description": "成交金额[账户币种,用于所有权]",
  29013. "type": "number"
  29014. },
  29015. "tradedate": {
  29016. "description": "交易日(yyyyMMdd)",
  29017. "type": "string"
  29018. },
  29019. "trademode": {
  29020. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29021. "type": "integer"
  29022. },
  29023. "tradeprice": {
  29024. "description": "成交价格",
  29025. "type": "number"
  29026. },
  29027. "tradeqty": {
  29028. "description": "成交数量",
  29029. "type": "number"
  29030. },
  29031. "tradetime": {
  29032. "description": "成交时间",
  29033. "type": "string"
  29034. },
  29035. "userid": {
  29036. "description": "用户ID",
  29037. "type": "integer"
  29038. }
  29039. }
  29040. },
  29041. "models.QhjTradeGoodsPickup": {
  29042. "type": "object",
  29043. "properties": {
  29044. "accountid": {
  29045. "description": "账户ID",
  29046. "type": "integer"
  29047. },
  29048. "address": {
  29049. "description": "提货人详细地址",
  29050. "type": "string"
  29051. },
  29052. "amount": {
  29053. "description": "提货金额",
  29054. "type": "number"
  29055. },
  29056. "artradedate": {
  29057. "description": "自动收货交易日(yyyyMMdd)",
  29058. "type": "string"
  29059. },
  29060. "auditer": {
  29061. "description": "审核人",
  29062. "type": "integer"
  29063. },
  29064. "auditsrc": {
  29065. "description": "更新来源 - 1:管理端 2:终端",
  29066. "type": "integer"
  29067. },
  29068. "audittime": {
  29069. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  29070. "type": "string"
  29071. },
  29072. "audittradedate": {
  29073. "description": "审核交易日(yyyyMMdd)",
  29074. "type": "string"
  29075. },
  29076. "cardnum": {
  29077. "description": "提货人证件号码",
  29078. "type": "string"
  29079. },
  29080. "cardtypeid": {
  29081. "description": "提货人证件类型",
  29082. "type": "integer"
  29083. },
  29084. "checkremark": {
  29085. "description": "审核备注",
  29086. "type": "string"
  29087. },
  29088. "cityid": {
  29089. "description": "市",
  29090. "type": "integer"
  29091. },
  29092. "cityname": {
  29093. "description": "城市名称",
  29094. "type": "string"
  29095. },
  29096. "confirmtime": {
  29097. "description": "取货时间 或 收货时间",
  29098. "type": "string"
  29099. },
  29100. "countryid": {
  29101. "description": "国家",
  29102. "type": "integer"
  29103. },
  29104. "countryname": {
  29105. "description": "国家名称",
  29106. "type": "string"
  29107. },
  29108. "decimalplace": {
  29109. "description": "商品报价小数位",
  29110. "type": "integer"
  29111. },
  29112. "districtid": {
  29113. "description": "地区",
  29114. "type": "integer"
  29115. },
  29116. "districtname": {
  29117. "description": "地区名称",
  29118. "type": "string"
  29119. },
  29120. "enumdicname": {
  29121. "description": "单位名称(提货商品)",
  29122. "type": "string"
  29123. },
  29124. "expresscompany": {
  29125. "description": "物流公司",
  29126. "type": "string"
  29127. },
  29128. "expressnum": {
  29129. "description": "物流单号",
  29130. "type": "string"
  29131. },
  29132. "goodsagreeunit": {
  29133. "description": "交易商品乘数",
  29134. "type": "number"
  29135. },
  29136. "goodscode": {
  29137. "description": "商品代码",
  29138. "type": "string"
  29139. },
  29140. "goodsid": {
  29141. "description": "商品ID",
  29142. "type": "integer"
  29143. },
  29144. "goodsname": {
  29145. "description": "商品名称",
  29146. "type": "string"
  29147. },
  29148. "goodsqty": {
  29149. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  29150. "type": "number"
  29151. },
  29152. "handlestatus": {
  29153. "description": "处理状态",
  29154. "type": "integer"
  29155. },
  29156. "logincode": {
  29157. "description": "账号(登录代码, 有可能为空)",
  29158. "type": "string"
  29159. },
  29160. "marketid": {
  29161. "description": "市场ID",
  29162. "type": "integer"
  29163. },
  29164. "phonenum": {
  29165. "description": "提货人联系方式",
  29166. "type": "string"
  29167. },
  29168. "pickupgoodsagreeunit": {
  29169. "description": "提货商品合约乘数",
  29170. "type": "number"
  29171. },
  29172. "pickupgoodsid": {
  29173. "description": "提货商品ID",
  29174. "type": "string"
  29175. },
  29176. "pickupgoodsname": {
  29177. "description": "提货商品名称",
  29178. "type": "string"
  29179. },
  29180. "pickupgoodsqty": {
  29181. "description": "提货商品手数(数量)",
  29182. "type": "number"
  29183. },
  29184. "pickupgoodsunitid": {
  29185. "description": "单位ID(提货商品)",
  29186. "type": "integer"
  29187. },
  29188. "pickupratio": {
  29189. "description": "提货系数",
  29190. "type": "number"
  29191. },
  29192. "preparedays": {
  29193. "description": "备货期(天)-提货单明细表",
  29194. "type": "integer"
  29195. },
  29196. "provinceid": {
  29197. "description": "省",
  29198. "type": "integer"
  29199. },
  29200. "provincename": {
  29201. "description": "省名称",
  29202. "type": "string"
  29203. },
  29204. "qty": {
  29205. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  29206. "type": "number"
  29207. },
  29208. "qtydecimalplace": {
  29209. "description": "商品数量小数位",
  29210. "type": "integer"
  29211. },
  29212. "recivername": {
  29213. "description": "提货人姓名",
  29214. "type": "string"
  29215. },
  29216. "reqtime": {
  29217. "description": "提货申请时间",
  29218. "type": "string"
  29219. },
  29220. "storeuserid": {
  29221. "description": "门店用户ID (千海金)",
  29222. "type": "integer"
  29223. },
  29224. "storeusername": {
  29225. "description": "门店用户名称",
  29226. "type": "string"
  29227. },
  29228. "takemode": {
  29229. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  29230. "type": "integer"
  29231. },
  29232. "takeorderid": {
  29233. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  29234. "type": "string"
  29235. },
  29236. "takeorderstatus": {
  29237. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  29238. "type": "integer"
  29239. },
  29240. "takeremark": {
  29241. "description": "提货备注",
  29242. "type": "string"
  29243. },
  29244. "tradedate": {
  29245. "description": "交易日(yyyyMMdd)",
  29246. "type": "string"
  29247. },
  29248. "updatetime": {
  29249. "description": "更新时间",
  29250. "type": "string"
  29251. },
  29252. "userid": {
  29253. "description": "用户ID",
  29254. "type": "integer"
  29255. },
  29256. "userinfotype": {
  29257. "description": "客户类型 1-个人 2-企业",
  29258. "type": "integer"
  29259. },
  29260. "username": {
  29261. "description": "用户名称",
  29262. "type": "string"
  29263. }
  29264. }
  29265. },
  29266. "models.QhjUserNodeCfgAndStatus": {
  29267. "type": "object",
  29268. "properties": {
  29269. "agreementcontent": {
  29270. "description": "协议内容",
  29271. "type": "string"
  29272. },
  29273. "agreementid": {
  29274. "description": "协议ID",
  29275. "type": "integer"
  29276. },
  29277. "agreementname": {
  29278. "description": "协议名称",
  29279. "type": "string"
  29280. },
  29281. "agreementno": {
  29282. "description": "协议编号",
  29283. "type": "string"
  29284. },
  29285. "agreementtype": {
  29286. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29287. "type": "integer"
  29288. },
  29289. "agreementversion": {
  29290. "description": "协议版本号",
  29291. "type": "integer"
  29292. },
  29293. "configid": {
  29294. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  29295. "type": "integer"
  29296. },
  29297. "createtime": {
  29298. "description": "创建时间",
  29299. "type": "string"
  29300. },
  29301. "goodsid": {
  29302. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29303. "type": "integer"
  29304. },
  29305. "nodetype": {
  29306. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29307. "type": "integer"
  29308. },
  29309. "signtimestamp": {
  29310. "description": "签约状态时间戳(最近一次)",
  29311. "type": "string"
  29312. },
  29313. "tradedate": {
  29314. "description": "签约交易日(yyyyMMdd)",
  29315. "type": "string"
  29316. },
  29317. "userid": {
  29318. "description": "客户ID",
  29319. "type": "integer"
  29320. }
  29321. }
  29322. },
  29323. "models.Qhjgoodsex": {
  29324. "type": "object",
  29325. "properties": {
  29326. "canfinance": {
  29327. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  29328. "type": "integer"
  29329. },
  29330. "canregularlybuy": {
  29331. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  29332. "type": "integer"
  29333. },
  29334. "defaulttradeuserid": {
  29335. "description": "默认交易用户ID",
  29336. "type": "integer"
  29337. },
  29338. "deliverygoodsid": {
  29339. "description": "现货品种ID",
  29340. "type": "integer"
  29341. },
  29342. "goodsid": {
  29343. "description": "商品ID(自增ID SEQ_GOODS)",
  29344. "type": "integer"
  29345. },
  29346. "minamount": {
  29347. "description": "最小购买金额",
  29348. "type": "number"
  29349. },
  29350. "regularlybuyminamount": {
  29351. "description": "定投最小金额",
  29352. "type": "number"
  29353. },
  29354. "regularlybuyminqty": {
  29355. "description": "定投最小数量",
  29356. "type": "number"
  29357. },
  29358. "spotgoodsbrandid": {
  29359. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  29360. "type": "integer"
  29361. },
  29362. "visibilityforenterprise": {
  29363. "description": "企业客户是否可见 - 0:不可见 1:可见",
  29364. "type": "integer"
  29365. },
  29366. "visibilityforpersonal": {
  29367. "description": "个人客户是否可见 - 0:不可见 1:可见",
  29368. "type": "integer"
  29369. },
  29370. "wrstandardid": {
  29371. "description": "现货商品ID",
  29372. "type": "integer"
  29373. }
  29374. }
  29375. },
  29376. "models.QueryErrorInfosRsp": {
  29377. "type": "object",
  29378. "required": [
  29379. "errorid"
  29380. ],
  29381. "properties": {
  29382. "description": {
  29383. "description": "异常描述",
  29384. "type": "string"
  29385. },
  29386. "errorcode": {
  29387. "description": "异常代码",
  29388. "type": "string"
  29389. },
  29390. "errorid": {
  29391. "description": "异常ID",
  29392. "type": "integer"
  29393. },
  29394. "modulecode": {
  29395. "description": "所属模块",
  29396. "type": "string"
  29397. },
  29398. "operatecode": {
  29399. "description": "所属操作",
  29400. "type": "string"
  29401. },
  29402. "rownumber": {
  29403. "description": "行号",
  29404. "type": "string"
  29405. }
  29406. }
  29407. },
  29408. "models.QueryHedgeOrderDetailRsp": {
  29409. "type": "object",
  29410. "properties": {
  29411. "accountid": {
  29412. "description": "账户ID",
  29413. "type": "integer"
  29414. },
  29415. "buyorsell": {
  29416. "description": "买卖 - 0:买 1:卖",
  29417. "type": "integer"
  29418. },
  29419. "cancellogincode": {
  29420. "description": "撤单人",
  29421. "type": "string"
  29422. },
  29423. "channelbuildtype": {
  29424. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  29425. "type": "integer"
  29426. },
  29427. "channelinnerorderstatus": {
  29428. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  29429. "type": "integer"
  29430. },
  29431. "channeloperatetype": {
  29432. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  29433. "type": "integer"
  29434. },
  29435. "closetype": {
  29436. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29437. "type": "integer"
  29438. },
  29439. "curexchangerate": {
  29440. "description": "当前汇率",
  29441. "type": "number"
  29442. },
  29443. "exchangefullname": {
  29444. "description": "外部交易所全称",
  29445. "type": "string"
  29446. },
  29447. "goodscode": {
  29448. "description": "商品代码(内部)",
  29449. "type": "string"
  29450. },
  29451. "goodsid": {
  29452. "description": "商品ID",
  29453. "type": "integer"
  29454. },
  29455. "goodsname": {
  29456. "description": "商品名称",
  29457. "type": "string"
  29458. },
  29459. "marketid": {
  29460. "description": "市场ID",
  29461. "type": "integer"
  29462. },
  29463. "openfreezemargin": {
  29464. "description": "冻结保证金(冻结交易金额)",
  29465. "type": "number"
  29466. },
  29467. "orderid": {
  29468. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29469. "type": "string"
  29470. },
  29471. "orderlogincode": {
  29472. "description": "委托人",
  29473. "type": "string"
  29474. },
  29475. "orderprice": {
  29476. "description": "委托价格(账户)",
  29477. "type": "number"
  29478. },
  29479. "orderqty": {
  29480. "description": "委托数量",
  29481. "type": "integer"
  29482. },
  29483. "ordertime": {
  29484. "description": "委托时间",
  29485. "type": "string"
  29486. },
  29487. "pricemode": {
  29488. "description": "取价方式 - 1:市价 2: 限价",
  29489. "type": "integer"
  29490. },
  29491. "tradedate": {
  29492. "description": "交易日(yyyyMMdd)",
  29493. "type": "string"
  29494. },
  29495. "tradeqty": {
  29496. "description": "成交数量",
  29497. "type": "integer"
  29498. }
  29499. }
  29500. },
  29501. "models.QueryHedgeTradeDetailRsp": {
  29502. "type": "object",
  29503. "properties": {
  29504. "accountid": {
  29505. "description": "账号ID",
  29506. "type": "integer"
  29507. },
  29508. "buyorsell": {
  29509. "description": "方向 - 0:买 1:卖",
  29510. "type": "integer"
  29511. },
  29512. "channelbuildtype": {
  29513. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  29514. "type": "integer"
  29515. },
  29516. "closecharge": {
  29517. "description": "平仓手续费(账户)",
  29518. "type": "number"
  29519. },
  29520. "closecharge2": {
  29521. "description": "平仓手续费(商品)",
  29522. "type": "number"
  29523. },
  29524. "closepl": {
  29525. "description": "平仓盈亏(账户)",
  29526. "type": "number"
  29527. },
  29528. "closepl2": {
  29529. "description": "平仓盈亏(商品)",
  29530. "type": "number"
  29531. },
  29532. "closepl3": {
  29533. "description": "平仓盈亏(账户)(逐笔)",
  29534. "type": "number"
  29535. },
  29536. "closepl4": {
  29537. "description": "平仓盈亏(商品)(逐笔)",
  29538. "type": "number"
  29539. },
  29540. "closetype": {
  29541. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29542. "type": "integer"
  29543. },
  29544. "curexchangerate": {
  29545. "description": "当前汇率",
  29546. "type": "number"
  29547. },
  29548. "exchangefullname": {
  29549. "description": "外部交易所全称",
  29550. "type": "string"
  29551. },
  29552. "goodscode": {
  29553. "description": "商品代码(内部)",
  29554. "type": "string"
  29555. },
  29556. "goodsid": {
  29557. "description": "商品ID",
  29558. "type": "integer"
  29559. },
  29560. "goodsname": {
  29561. "description": "商品名称",
  29562. "type": "string"
  29563. },
  29564. "marketid": {
  29565. "description": "市场ID",
  29566. "type": "integer"
  29567. },
  29568. "opencharge": {
  29569. "description": "建仓手续费(账户)",
  29570. "type": "number"
  29571. },
  29572. "opencharge2": {
  29573. "description": "建仓手续费(商品)",
  29574. "type": "number"
  29575. },
  29576. "orderid": {
  29577. "description": "委托单号",
  29578. "type": "string"
  29579. },
  29580. "orderlogincode": {
  29581. "description": "委托人",
  29582. "type": "string"
  29583. },
  29584. "tradeamount": {
  29585. "description": "成交金额(账户)",
  29586. "type": "number"
  29587. },
  29588. "tradedate": {
  29589. "description": "交易日(yyyyMMdd)",
  29590. "type": "string"
  29591. },
  29592. "tradeid": {
  29593. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29594. "type": "string"
  29595. },
  29596. "tradeprice": {
  29597. "description": "成交价格",
  29598. "type": "number"
  29599. },
  29600. "tradeqty": {
  29601. "description": "成交数量",
  29602. "type": "integer"
  29603. },
  29604. "tradetime": {
  29605. "description": "成交时间",
  29606. "type": "string"
  29607. },
  29608. "tradetype": {
  29609. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  29610. "type": "integer"
  29611. }
  29612. }
  29613. },
  29614. "models.QuotePrimaryMenu": {
  29615. "type": "object",
  29616. "properties": {
  29617. "Index": {
  29618. "description": "序号",
  29619. "type": "integer"
  29620. },
  29621. "Key": {
  29622. "description": "键名",
  29623. "type": "string"
  29624. },
  29625. "Name": {
  29626. "description": "菜单名称",
  29627. "type": "string"
  29628. },
  29629. "SubMenus": {
  29630. "description": "子菜单",
  29631. "type": "array",
  29632. "items": {
  29633. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  29634. }
  29635. },
  29636. "SubTitleType": {
  29637. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  29638. "type": "integer"
  29639. },
  29640. "TradeModes": {
  29641. "description": "包含市场交易类型",
  29642. "type": "string"
  29643. }
  29644. }
  29645. },
  29646. "models.QuoteSecondaryMenu": {
  29647. "type": "object",
  29648. "properties": {
  29649. "ExExchangeCode": {
  29650. "description": "外部交易所代码",
  29651. "type": "string"
  29652. },
  29653. "ExExchangeID": {
  29654. "description": "外部交易所ID",
  29655. "type": "integer"
  29656. },
  29657. "GoodsGroupIDs": {
  29658. "description": "商品组ID列表",
  29659. "type": "array",
  29660. "items": {
  29661. "type": "integer"
  29662. }
  29663. },
  29664. "Index": {
  29665. "description": "序号",
  29666. "type": "integer"
  29667. },
  29668. "MarketID": {
  29669. "description": "市场ID",
  29670. "type": "integer"
  29671. },
  29672. "MenuTitle": {
  29673. "description": "菜单标题(市场名称或外部交易所名称)",
  29674. "type": "string"
  29675. },
  29676. "TradeMode": {
  29677. "description": "交易模式",
  29678. "type": "integer"
  29679. }
  29680. }
  29681. },
  29682. "models.RoleMenu": {
  29683. "type": "object",
  29684. "properties": {
  29685. "hasright": {
  29686. "description": "是否有权限 0-没有权限 1-有权限",
  29687. "type": "integer"
  29688. },
  29689. "iconame": {
  29690. "description": "菜单图标",
  29691. "type": "string"
  29692. },
  29693. "menutype": {
  29694. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  29695. "type": "integer"
  29696. },
  29697. "parentcode": {
  29698. "description": "上级资源代码",
  29699. "type": "string"
  29700. },
  29701. "remark": {
  29702. "description": "菜单备注",
  29703. "type": "string"
  29704. },
  29705. "resourcecode": {
  29706. "description": "菜单代码",
  29707. "type": "string"
  29708. },
  29709. "resourcelevel": {
  29710. "description": "级别",
  29711. "type": "integer"
  29712. },
  29713. "resourcename": {
  29714. "description": "菜单名称",
  29715. "type": "string"
  29716. },
  29717. "roleid": {
  29718. "description": "角色id",
  29719. "type": "integer"
  29720. },
  29721. "sort": {
  29722. "description": "排序",
  29723. "type": "integer"
  29724. },
  29725. "subMenu": {
  29726. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  29727. "type": "array",
  29728. "items": {
  29729. "$ref": "#/definitions/models.RoleMenu"
  29730. }
  29731. },
  29732. "url": {
  29733. "description": "URL",
  29734. "type": "string"
  29735. },
  29736. "userid": {
  29737. "description": "用户id",
  29738. "type": "integer"
  29739. }
  29740. }
  29741. },
  29742. "models.SearchGoods": {
  29743. "type": "object",
  29744. "required": [
  29745. "goodscode",
  29746. "goodsid",
  29747. "goodsname",
  29748. "marketid",
  29749. "trademode"
  29750. ],
  29751. "properties": {
  29752. "goodscode": {
  29753. "description": "商品代码(内部)",
  29754. "type": "string"
  29755. },
  29756. "goodsid": {
  29757. "description": "商品ID(自增ID SEQ_GOODS)",
  29758. "type": "integer"
  29759. },
  29760. "goodsname": {
  29761. "description": "商品名称",
  29762. "type": "string"
  29763. },
  29764. "marketid": {
  29765. "description": "所属市场ID",
  29766. "type": "integer"
  29767. },
  29768. "marketname": {
  29769. "description": "市场名称",
  29770. "type": "string"
  29771. },
  29772. "trademode": {
  29773. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29774. "type": "integer"
  29775. }
  29776. }
  29777. },
  29778. "models.Systemparam": {
  29779. "type": "object",
  29780. "required": [
  29781. "paramcode"
  29782. ],
  29783. "properties": {
  29784. "loginid": {
  29785. "description": "更新用户账号,登录账号",
  29786. "type": "string"
  29787. },
  29788. "modifyflag": {
  29789. "description": "修改标志0 不允许修改 1 允许修改",
  29790. "type": "integer"
  29791. },
  29792. "paramcode": {
  29793. "description": "参数代码",
  29794. "type": "string"
  29795. },
  29796. "paramname": {
  29797. "description": "参数名",
  29798. "type": "string"
  29799. },
  29800. "paramtype": {
  29801. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  29802. "type": "integer"
  29803. },
  29804. "paramvalue": {
  29805. "description": "参数值",
  29806. "type": "string"
  29807. },
  29808. "paramvalue2": {
  29809. "description": "参数值(CLOB)",
  29810. "type": "string"
  29811. },
  29812. "regexpress": {
  29813. "description": "正则表达式",
  29814. "type": "string"
  29815. },
  29816. "remark": {
  29817. "description": "备注",
  29818. "type": "string"
  29819. },
  29820. "serverip": {
  29821. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  29822. "type": "string"
  29823. },
  29824. "showflag": {
  29825. "description": "是否显示0 不显示 1 显示",
  29826. "type": "integer"
  29827. },
  29828. "updatetime": {
  29829. "description": "更新时间",
  29830. "type": "string"
  29831. },
  29832. "userid": {
  29833. "description": "更新用户ID",
  29834. "type": "integer"
  29835. }
  29836. }
  29837. },
  29838. "models.Szdz3convertconfig": {
  29839. "type": "object",
  29840. "required": [
  29841. "converttype",
  29842. "innergoodsid",
  29843. "outergoodscode"
  29844. ],
  29845. "properties": {
  29846. "canin": {
  29847. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  29848. "type": "integer"
  29849. },
  29850. "canout": {
  29851. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  29852. "type": "integer"
  29853. },
  29854. "converttype": {
  29855. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  29856. "type": "integer"
  29857. },
  29858. "createtime": {
  29859. "description": "创建时间",
  29860. "type": "string"
  29861. },
  29862. "creatorid": {
  29863. "description": "创建人",
  29864. "type": "integer"
  29865. },
  29866. "daymaxvalue": {
  29867. "description": "当日最大转入限制",
  29868. "type": "number"
  29869. },
  29870. "freezedays": {
  29871. "description": "冻结天数 [5:花生米转交易]",
  29872. "type": "integer"
  29873. },
  29874. "innergoodsid": {
  29875. "description": "内部商品ID[交易]",
  29876. "type": "integer"
  29877. },
  29878. "inratio": {
  29879. "description": "目标值",
  29880. "type": "integer"
  29881. },
  29882. "modifierid": {
  29883. "description": "修改人",
  29884. "type": "integer"
  29885. },
  29886. "modifytime": {
  29887. "description": "修改时间",
  29888. "type": "string"
  29889. },
  29890. "outergoodscode": {
  29891. "description": "外部商品代码[JD\\PD]",
  29892. "type": "string"
  29893. },
  29894. "outratio": {
  29895. "description": "源值",
  29896. "type": "integer"
  29897. },
  29898. "pddecimalplace": {
  29899. "description": "PD小数位",
  29900. "type": "integer"
  29901. },
  29902. "timemaxvalue": {
  29903. "description": "单次最大转入限制",
  29904. "type": "number"
  29905. },
  29906. "timeminvalue": {
  29907. "description": "单次最小转入限制",
  29908. "type": "number"
  29909. }
  29910. }
  29911. },
  29912. "models.Szdz3searchwhitelist": {
  29913. "type": "object",
  29914. "required": [
  29915. "userid"
  29916. ],
  29917. "properties": {
  29918. "createtime": {
  29919. "description": "创建时间",
  29920. "type": "string"
  29921. },
  29922. "creatorid": {
  29923. "description": "创建人",
  29924. "type": "integer"
  29925. },
  29926. "modifierid": {
  29927. "description": "修改人",
  29928. "type": "integer"
  29929. },
  29930. "modifytime": {
  29931. "description": "修改时间",
  29932. "type": "string"
  29933. },
  29934. "userid": {
  29935. "description": "用户ID",
  29936. "type": "integer"
  29937. }
  29938. }
  29939. },
  29940. "models.Taaccount": {
  29941. "type": "object",
  29942. "required": [
  29943. "accountid",
  29944. "userid"
  29945. ],
  29946. "properties": {
  29947. "accountflag": {
  29948. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  29949. "type": "integer"
  29950. },
  29951. "accountid": {
  29952. "description": "资金账户ID",
  29953. "type": "integer"
  29954. },
  29955. "accountname": {
  29956. "description": "账户名称",
  29957. "type": "string"
  29958. },
  29959. "balance": {
  29960. "description": "期初余额",
  29961. "type": "number"
  29962. },
  29963. "capitalbalance": {
  29964. "description": "本金余额[外部子账户实际出入金余额]",
  29965. "type": "number"
  29966. },
  29967. "changeflag": {
  29968. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  29969. "type": "integer"
  29970. },
  29971. "changetime": {
  29972. "description": "账户状态变更时间",
  29973. "type": "string"
  29974. },
  29975. "closepl": {
  29976. "description": "今日平仓盈亏",
  29977. "type": "number"
  29978. },
  29979. "creditdecrease": {
  29980. "description": "今日授信减少",
  29981. "type": "number"
  29982. },
  29983. "creditincrease": {
  29984. "description": "今日授信增加",
  29985. "type": "number"
  29986. },
  29987. "curamount": {
  29988. "description": "总市值(从持仓中统计)",
  29989. "type": "number"
  29990. },
  29991. "currencyid": {
  29992. "description": "货币ID",
  29993. "type": "integer"
  29994. },
  29995. "currentbalance": {
  29996. "description": "期末余额",
  29997. "type": "number"
  29998. },
  29999. "freezecharge": {
  30000. "description": "手续费冻结",
  30001. "type": "number"
  30002. },
  30003. "freezemargin": {
  30004. "description": "冻结保证金",
  30005. "type": "number"
  30006. },
  30007. "fromaccountid": {
  30008. "description": "所属上级账户",
  30009. "type": "integer"
  30010. },
  30011. "inamount": {
  30012. "description": "今日入金金额(包括三方入金)",
  30013. "type": "number"
  30014. },
  30015. "ismain": {
  30016. "description": "是否母账号 0:不是母账户 1:是母账户",
  30017. "type": "integer"
  30018. },
  30019. "ismarketaccount": {
  30020. "description": "是否机构接单账号 0:不是 1:是",
  30021. "type": "integer"
  30022. },
  30023. "isreckonaccount": {
  30024. "description": "是否机构分润账号 0:不是 1:是",
  30025. "type": "integer"
  30026. },
  30027. "mortgagecredit": {
  30028. "description": "授信金额",
  30029. "type": "number"
  30030. },
  30031. "orifreezecharge": {
  30032. "description": "期初手续费冻结",
  30033. "type": "number"
  30034. },
  30035. "orifreezemargin": {
  30036. "description": "期初冻结保证金",
  30037. "type": "number"
  30038. },
  30039. "orimortgagecredit": {
  30040. "description": "期初授信金额",
  30041. "type": "number"
  30042. },
  30043. "oriothercredit": {
  30044. "description": "期初其它授信金额",
  30045. "type": "number"
  30046. },
  30047. "oriotherfreezemargin": {
  30048. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  30049. "type": "number"
  30050. },
  30051. "orioutamountfreeze": {
  30052. "description": "期初出金冻结",
  30053. "type": "number"
  30054. },
  30055. "oriusedmargin": {
  30056. "description": "期初占用保证金",
  30057. "type": "number"
  30058. },
  30059. "othercredit": {
  30060. "description": "其它授信金额",
  30061. "type": "number"
  30062. },
  30063. "othercreditdecrease": {
  30064. "description": "今日其它授信减少",
  30065. "type": "number"
  30066. },
  30067. "othercreditincrease": {
  30068. "description": "今日其它授信增加",
  30069. "type": "number"
  30070. },
  30071. "otherfreezemargin": {
  30072. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  30073. "type": "number"
  30074. },
  30075. "otherincome": {
  30076. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  30077. "type": "number"
  30078. },
  30079. "otherpay": {
  30080. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  30081. "type": "number"
  30082. },
  30083. "outamount": {
  30084. "description": "今日出金金额(包括三方出金)",
  30085. "type": "number"
  30086. },
  30087. "outamountfreeze": {
  30088. "description": "出金冻结",
  30089. "type": "number"
  30090. },
  30091. "outthreshold": {
  30092. "description": "出金阈值",
  30093. "type": "number"
  30094. },
  30095. "parentaccountid": {
  30096. "description": "所属根账号",
  30097. "type": "integer"
  30098. },
  30099. "paycharge": {
  30100. "description": "今日手续费支出",
  30101. "type": "number"
  30102. },
  30103. "relatedaccountstatus": {
  30104. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  30105. "type": "integer"
  30106. },
  30107. "relateduserid": {
  30108. "description": "关联用户",
  30109. "type": "integer"
  30110. },
  30111. "remainamount": {
  30112. "description": "融资额(从融资合同中统计)",
  30113. "type": "number"
  30114. },
  30115. "serivcegroup": {
  30116. "description": "服务分组",
  30117. "type": "integer"
  30118. },
  30119. "signstatus": {
  30120. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  30121. "type": "integer"
  30122. },
  30123. "sublevelpath": {
  30124. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  30125. "type": "string"
  30126. },
  30127. "taaccounttype": {
  30128. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  30129. "type": "integer"
  30130. },
  30131. "thirdinamount": {
  30132. "description": "今日三方入金",
  30133. "type": "number"
  30134. },
  30135. "thirdoutamount": {
  30136. "description": "今日三方出金",
  30137. "type": "number"
  30138. },
  30139. "tradestatus": {
  30140. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  30141. "type": "integer"
  30142. },
  30143. "tradestatuschangetime": {
  30144. "description": "激活时间",
  30145. "type": "string"
  30146. },
  30147. "transferamount": {
  30148. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  30149. "type": "number"
  30150. },
  30151. "usedmargin": {
  30152. "description": "占用保证金",
  30153. "type": "number"
  30154. },
  30155. "userid": {
  30156. "description": "用户ID",
  30157. "type": "integer"
  30158. }
  30159. }
  30160. },
  30161. "models.Tablecolumnconfig": {
  30162. "type": "object",
  30163. "required": [
  30164. "autoid"
  30165. ],
  30166. "properties": {
  30167. "aligntype": {
  30168. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  30169. "type": "integer"
  30170. },
  30171. "autoid": {
  30172. "description": "AutoID",
  30173. "type": "integer"
  30174. },
  30175. "columnfield": {
  30176. "description": "列字段",
  30177. "type": "string"
  30178. },
  30179. "columntitle": {
  30180. "description": "列Title",
  30181. "type": "string"
  30182. },
  30183. "columnwidth": {
  30184. "description": "列宽",
  30185. "type": "string"
  30186. },
  30187. "formatterstring": {
  30188. "description": "格式化字符",
  30189. "type": "string"
  30190. },
  30191. "formattertype": {
  30192. "description": "格式化类型",
  30193. "type": "string"
  30194. },
  30195. "groupname": {
  30196. "description": "表头分组名称",
  30197. "type": "string"
  30198. },
  30199. "isshow": {
  30200. "description": "是否显示 - 0:不显示 1:显示",
  30201. "type": "integer"
  30202. },
  30203. "needsummary": {
  30204. "description": "是否需要汇总 - 0:不需要 1:需要",
  30205. "type": "integer"
  30206. },
  30207. "orderindex": {
  30208. "description": "顺序",
  30209. "type": "integer"
  30210. },
  30211. "remark": {
  30212. "description": "备注",
  30213. "type": "string"
  30214. },
  30215. "summarytype": {
  30216. "description": "汇总类型 - 1:加总 2:最后一个",
  30217. "type": "integer"
  30218. },
  30219. "tablekey": {
  30220. "description": "列表Key",
  30221. "type": "string"
  30222. }
  30223. }
  30224. },
  30225. "models.TradeHolderDetail": {
  30226. "type": "object",
  30227. "properties": {
  30228. "accountid": {
  30229. "description": "账号ID",
  30230. "type": "integer"
  30231. },
  30232. "agreeunit": {
  30233. "description": "合约乘数",
  30234. "type": "number"
  30235. },
  30236. "buyorsell": {
  30237. "description": "方向 - 0:买 1:卖",
  30238. "type": "integer"
  30239. },
  30240. "currencyid": {
  30241. "description": "商品币种id",
  30242. "type": "integer"
  30243. },
  30244. "currencyname": {
  30245. "description": "币种名称",
  30246. "type": "string"
  30247. },
  30248. "decimalplace": {
  30249. "description": "商品价格小数位",
  30250. "type": "integer"
  30251. },
  30252. "enumdicname": {
  30253. "description": "商品单位名称",
  30254. "type": "string"
  30255. },
  30256. "expirecycle": {
  30257. "description": "行权周期(天) - 1:滚动行权时填写",
  30258. "type": "integer"
  30259. },
  30260. "expiredate": {
  30261. "description": "行权日(yyyyMMdd) - 到期日",
  30262. "type": "string"
  30263. },
  30264. "expiretype": {
  30265. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  30266. "type": "integer"
  30267. },
  30268. "freezeqty": {
  30269. "description": "冻结数量",
  30270. "type": "number"
  30271. },
  30272. "goodscode": {
  30273. "description": "商品代码",
  30274. "type": "string"
  30275. },
  30276. "goodsid": {
  30277. "description": "商品ID",
  30278. "type": "integer"
  30279. },
  30280. "goodsname": {
  30281. "description": "商品名称",
  30282. "type": "string"
  30283. },
  30284. "goodunitid": {
  30285. "description": "商品单位id",
  30286. "type": "integer"
  30287. },
  30288. "holderamount": {
  30289. "description": "持仓金额",
  30290. "type": "number"
  30291. },
  30292. "holdercredit": {
  30293. "description": "持仓授信金额",
  30294. "type": "number"
  30295. },
  30296. "holderdays": {
  30297. "description": "剩余冻结天数",
  30298. "type": "integer"
  30299. },
  30300. "holderprice": {
  30301. "description": "持仓价格",
  30302. "type": "number"
  30303. },
  30304. "holderqty": {
  30305. "description": "持仓数量",
  30306. "type": "number"
  30307. },
  30308. "isconfirmexercise": {
  30309. "description": "是否确认行权- 0:否 1:是",
  30310. "type": "integer"
  30311. },
  30312. "ispreexercise": {
  30313. "description": "是否预申报- 0:否 1:是 2:不可行权",
  30314. "type": "integer"
  30315. },
  30316. "marketid": {
  30317. "description": "市场id",
  30318. "type": "integer"
  30319. },
  30320. "marketname": {
  30321. "description": "市场名称",
  30322. "type": "string"
  30323. },
  30324. "openprice": {
  30325. "description": "建仓价格",
  30326. "type": "number"
  30327. },
  30328. "openqty": {
  30329. "description": "建仓数量",
  30330. "type": "number"
  30331. },
  30332. "optiontype": {
  30333. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  30334. "type": "integer"
  30335. },
  30336. "preexerciseprice": {
  30337. "description": "预申报价格",
  30338. "type": "number"
  30339. },
  30340. "premium": {
  30341. "description": "权利金",
  30342. "type": "number"
  30343. },
  30344. "qtydecimalplace": {
  30345. "description": "商品成交量小数位",
  30346. "type": "integer"
  30347. },
  30348. "releaseamount": {
  30349. "description": "释放持仓金额",
  30350. "type": "number"
  30351. },
  30352. "releaseholdercredit": {
  30353. "description": "释放持仓授信金额",
  30354. "type": "number"
  30355. },
  30356. "taname": {
  30357. "description": "资金账号名称",
  30358. "type": "string"
  30359. },
  30360. "tradeamount": {
  30361. "description": "成交金额",
  30362. "type": "number"
  30363. },
  30364. "tradedate": {
  30365. "description": "交易日(yyyyMMdd)",
  30366. "type": "string"
  30367. },
  30368. "tradeid": {
  30369. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30370. "type": "string"
  30371. },
  30372. "trademode": {
  30373. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  30374. "type": "integer"
  30375. },
  30376. "tradeproperty": {
  30377. "description": "交易属性",
  30378. "type": "integer"
  30379. },
  30380. "tradetime": {
  30381. "description": "交易时间",
  30382. "type": "string"
  30383. },
  30384. "userid": {
  30385. "description": "用户id",
  30386. "type": "integer"
  30387. },
  30388. "username": {
  30389. "description": "用户名称",
  30390. "type": "string"
  30391. }
  30392. }
  30393. },
  30394. "models.UserCollectConfig": {
  30395. "type": "object",
  30396. "properties": {
  30397. "accountstatus": {
  30398. "description": "账户状态 - 1:正常 2:停用 3:注销",
  30399. "type": "integer"
  30400. },
  30401. "collectaccountname": {
  30402. "description": "收款人账户名称",
  30403. "type": "string"
  30404. },
  30405. "collectaccountno": {
  30406. "description": "收款人账户",
  30407. "type": "string"
  30408. },
  30409. "collectbankname": {
  30410. "description": "收款人开户行",
  30411. "type": "string"
  30412. },
  30413. "collectbranchbankname": {
  30414. "description": "收款人开户支行",
  30415. "type": "string"
  30416. },
  30417. "collectconfigid": {
  30418. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  30419. "type": "string"
  30420. },
  30421. "remark": {
  30422. "description": "备注",
  30423. "type": "string"
  30424. },
  30425. "userid": {
  30426. "description": "收款人用户ID",
  30427. "type": "integer"
  30428. }
  30429. }
  30430. },
  30431. "models.UserReceiveInfo": {
  30432. "type": "object",
  30433. "properties": {
  30434. "address": {
  30435. "description": "提货人详细地址",
  30436. "type": "string"
  30437. },
  30438. "autoid": {
  30439. "description": "AutoID",
  30440. "type": "integer"
  30441. },
  30442. "cardnum": {
  30443. "description": "证件号码(加密存储)",
  30444. "type": "string"
  30445. },
  30446. "cardtypeid": {
  30447. "description": "证件类型",
  30448. "type": "integer"
  30449. },
  30450. "cityid": {
  30451. "description": "市",
  30452. "type": "integer"
  30453. },
  30454. "cityname": {
  30455. "description": "城市名称",
  30456. "type": "string"
  30457. },
  30458. "countryid": {
  30459. "description": "国家",
  30460. "type": "integer"
  30461. },
  30462. "countryname": {
  30463. "description": "国家名称",
  30464. "type": "string"
  30465. },
  30466. "districtid": {
  30467. "description": "地区",
  30468. "type": "integer"
  30469. },
  30470. "districtname": {
  30471. "description": "地区名称",
  30472. "type": "string"
  30473. },
  30474. "hasencrypt": {
  30475. "description": "数据是否已加密 - 0:未加密 1:已加密",
  30476. "type": "integer"
  30477. },
  30478. "isdefault": {
  30479. "description": "是否默认地址 - 0:否 1:是",
  30480. "type": "integer"
  30481. },
  30482. "phonenum": {
  30483. "description": "提货人联系方式(加密存储)",
  30484. "type": "string"
  30485. },
  30486. "provinceid": {
  30487. "description": "省",
  30488. "type": "integer"
  30489. },
  30490. "provincename": {
  30491. "description": "省名称",
  30492. "type": "string"
  30493. },
  30494. "receivername": {
  30495. "description": "提货人姓名",
  30496. "type": "string"
  30497. },
  30498. "takeremark": {
  30499. "description": "提货备注",
  30500. "type": "string"
  30501. },
  30502. "userid": {
  30503. "description": "用户ID",
  30504. "type": "integer"
  30505. }
  30506. }
  30507. },
  30508. "models.Useraccount": {
  30509. "type": "object",
  30510. "required": [
  30511. "userid"
  30512. ],
  30513. "properties": {
  30514. "accountname": {
  30515. "description": "账户名称(机构名称)",
  30516. "type": "string"
  30517. },
  30518. "accountstatus": {
  30519. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30520. "type": "integer"
  30521. },
  30522. "applysrc": {
  30523. "description": "申请来源 - 1:管理端 2:终端",
  30524. "type": "integer"
  30525. },
  30526. "auditremark": {
  30527. "description": "审核备注",
  30528. "type": "string"
  30529. },
  30530. "auditsrc": {
  30531. "description": "审核来源 - 1:管理端 2:终端",
  30532. "type": "integer"
  30533. },
  30534. "audittime": {
  30535. "description": "审核时间",
  30536. "type": "string"
  30537. },
  30538. "audituserid": {
  30539. "description": "审核人",
  30540. "type": "integer"
  30541. },
  30542. "broker": {
  30543. "description": "所属经纪人ID",
  30544. "type": "integer"
  30545. },
  30546. "canceltime": {
  30547. "description": "销户时间",
  30548. "type": "string"
  30549. },
  30550. "canceluserid": {
  30551. "description": "销户人",
  30552. "type": "integer"
  30553. },
  30554. "canrecommend": {
  30555. "description": "是否可推荐 - 0:不可 1;可",
  30556. "type": "integer"
  30557. },
  30558. "createtime": {
  30559. "description": "创建时间",
  30560. "type": "string"
  30561. },
  30562. "creatorid": {
  30563. "description": "创建人",
  30564. "type": "integer"
  30565. },
  30566. "hasauth": {
  30567. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  30568. "type": "integer"
  30569. },
  30570. "isanonymous": {
  30571. "description": "是否匿名下单 - 0:否 1:是",
  30572. "type": "integer"
  30573. },
  30574. "maxinvestornum": {
  30575. "description": "最大用户数(经纪会员下投资者个数)",
  30576. "type": "integer"
  30577. },
  30578. "memberuserid": {
  30579. "description": "所属会员ID",
  30580. "type": "integer"
  30581. },
  30582. "modifierid": {
  30583. "description": "修改人",
  30584. "type": "integer"
  30585. },
  30586. "modifyremark": {
  30587. "description": "变更备注",
  30588. "type": "string"
  30589. },
  30590. "modifystatus": {
  30591. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  30592. "type": "integer"
  30593. },
  30594. "modifytime": {
  30595. "description": "修改时间",
  30596. "type": "string"
  30597. },
  30598. "parenttopuser": {
  30599. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  30600. "type": "string"
  30601. },
  30602. "parentuserid": {
  30603. "description": "所属机构ID",
  30604. "type": "integer"
  30605. },
  30606. "reckonaccountid": {
  30607. "description": "默认结算资金账号ID(机构分润使用) 作废",
  30608. "type": "integer"
  30609. },
  30610. "refercount": {
  30611. "description": "推荐总人数",
  30612. "type": "integer"
  30613. },
  30614. "refereeuserid": {
  30615. "description": "推荐人ID",
  30616. "type": "integer"
  30617. },
  30618. "refernum": {
  30619. "description": "推荐码",
  30620. "type": "string"
  30621. },
  30622. "rootuserid": {
  30623. "description": "根用户ID",
  30624. "type": "integer"
  30625. },
  30626. "subaccountlevel": {
  30627. "description": "子账户层数",
  30628. "type": "integer"
  30629. },
  30630. "subarealevelpath": {
  30631. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  30632. "type": "string"
  30633. },
  30634. "userid": {
  30635. "description": "用户ID",
  30636. "type": "integer"
  30637. },
  30638. "usertype": {
  30639. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30640. "type": "integer"
  30641. }
  30642. }
  30643. },
  30644. "models.Userfavoritegoods": {
  30645. "type": "object",
  30646. "required": [
  30647. "goodsid"
  30648. ],
  30649. "properties": {
  30650. "goodsid": {
  30651. "description": "商品ID",
  30652. "type": "integer"
  30653. }
  30654. }
  30655. },
  30656. "models.Userinfo": {
  30657. "type": "object",
  30658. "required": [
  30659. "userid"
  30660. ],
  30661. "properties": {
  30662. "address": {
  30663. "description": "地址",
  30664. "type": "string"
  30665. },
  30666. "attachment1": {
  30667. "description": "附件1",
  30668. "type": "string"
  30669. },
  30670. "attachment2": {
  30671. "description": "附件2",
  30672. "type": "string"
  30673. },
  30674. "bankaccount": {
  30675. "description": "银行帐号 (加密存储)",
  30676. "type": "string"
  30677. },
  30678. "bankaccountname": {
  30679. "description": "收款人名称",
  30680. "type": "string"
  30681. },
  30682. "bankcardfrontphotourl": {
  30683. "description": "银行卡正面照地址",
  30684. "type": "string"
  30685. },
  30686. "bankid": {
  30687. "description": "银行编码",
  30688. "type": "string"
  30689. },
  30690. "bankname": {
  30691. "description": "银行名称",
  30692. "type": "string"
  30693. },
  30694. "biznature": {
  30695. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  30696. "type": "integer"
  30697. },
  30698. "bizscope": {
  30699. "description": "企业经营范围(企业)",
  30700. "type": "string"
  30701. },
  30702. "cardbackphotourl": {
  30703. "description": "证件背面图片地址",
  30704. "type": "string"
  30705. },
  30706. "cardfrontphotourl": {
  30707. "description": "证件正面图片地址",
  30708. "type": "string"
  30709. },
  30710. "cardnum": {
  30711. "description": "证件号码(加密存储)",
  30712. "type": "string"
  30713. },
  30714. "cardtypeid": {
  30715. "description": "证件类型ID",
  30716. "type": "integer"
  30717. },
  30718. "cityid": {
  30719. "description": "市",
  30720. "type": "integer"
  30721. },
  30722. "company": {
  30723. "description": "公司(个人)",
  30724. "type": "string"
  30725. },
  30726. "contactname": {
  30727. "description": "联系人",
  30728. "type": "string"
  30729. },
  30730. "countryid": {
  30731. "description": "国家",
  30732. "type": "integer"
  30733. },
  30734. "createtime": {
  30735. "description": "创建时间",
  30736. "type": "string"
  30737. },
  30738. "creatorid": {
  30739. "description": "创建人",
  30740. "type": "integer"
  30741. },
  30742. "customername": {
  30743. "description": "客户名称(企业名称)",
  30744. "type": "string"
  30745. },
  30746. "districtid": {
  30747. "description": "地区",
  30748. "type": "integer"
  30749. },
  30750. "email": {
  30751. "description": "邮件(加密存储)",
  30752. "type": "string"
  30753. },
  30754. "fax": {
  30755. "description": "传真(加密存储)",
  30756. "type": "string"
  30757. },
  30758. "halfbodyphotourl": {
  30759. "description": "半身照地址",
  30760. "type": "string"
  30761. },
  30762. "hasencrypt": {
  30763. "description": "数据是否已加密 - 0:未加密 1:已加密",
  30764. "type": "integer"
  30765. },
  30766. "headurl": {
  30767. "description": "头像地址",
  30768. "type": "string"
  30769. },
  30770. "legalcardbackphotourl": {
  30771. "description": "法人身份证背面照地址",
  30772. "type": "string"
  30773. },
  30774. "legalcardfrontphotourl": {
  30775. "description": "法人身份证正面照地址",
  30776. "type": "string"
  30777. },
  30778. "legalpersonname": {
  30779. "description": "法人姓名(企业)",
  30780. "type": "string"
  30781. },
  30782. "mobile": {
  30783. "description": "手机号码(加密存储)",
  30784. "type": "string"
  30785. },
  30786. "mobile2": {
  30787. "description": "手机号码[明文-尚志]",
  30788. "type": "string"
  30789. },
  30790. "modifierid": {
  30791. "description": "修改人",
  30792. "type": "integer"
  30793. },
  30794. "modifiertime": {
  30795. "description": "修改时间",
  30796. "type": "string"
  30797. },
  30798. "needinvoice": {
  30799. "description": "是否需要发票 - 0:不需要 1:需要",
  30800. "type": "integer"
  30801. },
  30802. "nickname": {
  30803. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  30804. "type": "string"
  30805. },
  30806. "openmode": {
  30807. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  30808. "type": "integer"
  30809. },
  30810. "otherurl": {
  30811. "description": "其它图片地址[使用分号分隔]",
  30812. "type": "string"
  30813. },
  30814. "postalcode": {
  30815. "description": "邮政编码",
  30816. "type": "string"
  30817. },
  30818. "provinceid": {
  30819. "description": "省",
  30820. "type": "integer"
  30821. },
  30822. "qq": {
  30823. "description": "QQ(加密存储",
  30824. "type": "string"
  30825. },
  30826. "remark": {
  30827. "description": "备注",
  30828. "type": "string"
  30829. },
  30830. "sex": {
  30831. "description": "用户性别 0: 女 1: 男",
  30832. "type": "integer"
  30833. },
  30834. "signpdfurl": {
  30835. "description": "签约pdf文件",
  30836. "type": "string"
  30837. },
  30838. "telphone": {
  30839. "description": "联系电话(加密存储)",
  30840. "type": "string"
  30841. },
  30842. "userid": {
  30843. "description": "用户ID",
  30844. "type": "integer"
  30845. },
  30846. "userinfotype": {
  30847. "description": "用户信息类型 - 1:个人 2:企业",
  30848. "type": "integer"
  30849. },
  30850. "userstatus": {
  30851. "description": "用户状态 - 1:正常 2:注销",
  30852. "type": "integer"
  30853. },
  30854. "usertype": {
  30855. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  30856. "type": "integer"
  30857. },
  30858. "wechat": {
  30859. "description": "微信(加密存储)",
  30860. "type": "string"
  30861. },
  30862. "wskhinfo": {
  30863. "description": "开户申请信息(JSON)",
  30864. "type": "string"
  30865. }
  30866. }
  30867. },
  30868. "models.WRSConverTDetail": {
  30869. "type": "object",
  30870. "properties": {
  30871. "convertratio": {
  30872. "description": "套保系数",
  30873. "type": "number"
  30874. },
  30875. "deliverygoodscode": {
  30876. "description": "现货商品代码",
  30877. "type": "string"
  30878. },
  30879. "deliverygoodsid": {
  30880. "description": "现货品种ID",
  30881. "type": "integer"
  30882. },
  30883. "deliverygoodsname": {
  30884. "description": "现货商品名称",
  30885. "type": "string"
  30886. },
  30887. "enumdicname": {
  30888. "description": "单位名称",
  30889. "type": "string"
  30890. },
  30891. "goodsunitid": {
  30892. "description": "套保品种单位id",
  30893. "type": "integer"
  30894. },
  30895. "middlegoodscode": {
  30896. "description": "套保品种代码",
  30897. "type": "string"
  30898. },
  30899. "middlegoodsid": {
  30900. "description": "套保品种ID",
  30901. "type": "integer"
  30902. },
  30903. "middlegoodsname": {
  30904. "description": "套保品种名称",
  30905. "type": "string"
  30906. },
  30907. "modifytime": {
  30908. "description": "修改时间",
  30909. "type": "string"
  30910. },
  30911. "wrstandardid": {
  30912. "description": "品类ID",
  30913. "type": "integer"
  30914. }
  30915. }
  30916. },
  30917. "models.WRStandardInfo": {
  30918. "type": "object",
  30919. "required": [
  30920. "wrstandardid"
  30921. ],
  30922. "properties": {
  30923. "areauserid": {
  30924. "description": "所属机构",
  30925. "type": "integer"
  30926. },
  30927. "convertfactor": {
  30928. "description": "标仓系数",
  30929. "type": "number"
  30930. },
  30931. "createtime": {
  30932. "description": "创建时间",
  30933. "type": "string"
  30934. },
  30935. "creatorid": {
  30936. "description": "创建人",
  30937. "type": "integer"
  30938. },
  30939. "deliverygoodsid": {
  30940. "description": "品种ID",
  30941. "type": "integer"
  30942. },
  30943. "deliverygoodsname": {
  30944. "description": "交割商品名称",
  30945. "type": "string"
  30946. },
  30947. "factoryitemjson": {
  30948. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  30949. "type": "string"
  30950. },
  30951. "isvalid": {
  30952. "description": "是否有效 - 0:无效 1:有效",
  30953. "type": "integer"
  30954. },
  30955. "minivalue": {
  30956. "description": "最小变动值",
  30957. "type": "integer"
  30958. },
  30959. "minivaluedp": {
  30960. "description": "最小变动值小数位",
  30961. "type": "integer"
  30962. },
  30963. "realminivalue": {
  30964. "description": "实际最小变动值",
  30965. "type": "integer"
  30966. },
  30967. "realminivaluedp": {
  30968. "description": "实际最小变动值小数位",
  30969. "type": "integer"
  30970. },
  30971. "remark": {
  30972. "description": "备注",
  30973. "type": "string"
  30974. },
  30975. "unitid": {
  30976. "description": "单位ID",
  30977. "type": "integer"
  30978. },
  30979. "unitname": {
  30980. "description": "单位",
  30981. "type": "string"
  30982. },
  30983. "updatetime": {
  30984. "description": "更新时间",
  30985. "type": "string"
  30986. },
  30987. "updatorid": {
  30988. "description": "更新人",
  30989. "type": "integer"
  30990. },
  30991. "wrsstatus": {
  30992. "description": "状态 - 作废 - 0:未激活 1:正常",
  30993. "type": "integer"
  30994. },
  30995. "wrstandardcode": {
  30996. "description": "现货品类代码",
  30997. "type": "string"
  30998. },
  30999. "wrstandardid": {
  31000. "description": "现货品类ID(SEQ_WRSTANDARD)",
  31001. "type": "integer"
  31002. },
  31003. "wrstandardname": {
  31004. "description": "现货品类名称",
  31005. "type": "string"
  31006. }
  31007. }
  31008. },
  31009. "models.WRTradeBargainApply": {
  31010. "type": "object",
  31011. "properties": {
  31012. "accountid": {
  31013. "description": "摘牌资金账号",
  31014. "type": "integer"
  31015. },
  31016. "applyprice": {
  31017. "description": "申请价格(议价价格)",
  31018. "type": "string"
  31019. },
  31020. "applyqty": {
  31021. "description": "摘牌数量(议价数量)",
  31022. "type": "number"
  31023. },
  31024. "applyremark": {
  31025. "description": "申请备注",
  31026. "type": "string"
  31027. },
  31028. "applystatus": {
  31029. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  31030. "type": "integer"
  31031. },
  31032. "applytime": {
  31033. "description": "申请时间(议价时间)",
  31034. "type": "string"
  31035. },
  31036. "buyorsell": {
  31037. "description": "买卖(挂牌类型) - 0:买 1:卖",
  31038. "type": "integer"
  31039. },
  31040. "confirmremark": {
  31041. "description": "确认备注",
  31042. "type": "string"
  31043. },
  31044. "confirmtime": {
  31045. "description": "确认时间",
  31046. "type": "string"
  31047. },
  31048. "confirmuserid": {
  31049. "description": "确认人",
  31050. "type": "integer"
  31051. },
  31052. "deliverygoodscode": {
  31053. "description": "品种代码",
  31054. "type": "string"
  31055. },
  31056. "deliverygoodsid": {
  31057. "description": "品种ID",
  31058. "type": "integer"
  31059. },
  31060. "deliverygoodsname": {
  31061. "description": "品种名称",
  31062. "type": "string"
  31063. },
  31064. "deliverymonth": {
  31065. "description": "交收月",
  31066. "type": "string"
  31067. },
  31068. "enumdicname": {
  31069. "description": "单位名称",
  31070. "type": "string"
  31071. },
  31072. "fixedprice": {
  31073. "description": "挂牌价格",
  31074. "type": "number"
  31075. },
  31076. "handlestatus": {
  31077. "description": "处理状态",
  31078. "type": "integer"
  31079. },
  31080. "marginvalue": {
  31081. "description": "履约保证金比例",
  31082. "type": "number"
  31083. },
  31084. "marketid": {
  31085. "description": "市场ID",
  31086. "type": "integer"
  31087. },
  31088. "matchaccountid": {
  31089. "description": "挂牌方资金账号",
  31090. "type": "integer"
  31091. },
  31092. "matchuserid": {
  31093. "description": "挂牌方用户id",
  31094. "type": "integer"
  31095. },
  31096. "matchusername": {
  31097. "description": "挂牌方用户名称(已脱敏)",
  31098. "type": "string"
  31099. },
  31100. "minivalue": {
  31101. "description": "现货商品最小变动值",
  31102. "type": "integer"
  31103. },
  31104. "optioncompare": {
  31105. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31106. "type": "string"
  31107. },
  31108. "orderqty": {
  31109. "description": "挂牌数量",
  31110. "type": "integer"
  31111. },
  31112. "refprice": {
  31113. "description": "参考价格",
  31114. "type": "string"
  31115. },
  31116. "retcode": {
  31117. "description": "委托返回代码",
  31118. "type": "integer"
  31119. },
  31120. "templatename": {
  31121. "description": "履约方式(履约模板名称)",
  31122. "type": "string"
  31123. },
  31124. "tradedate": {
  31125. "description": "交易日(yyyyMMdd)",
  31126. "type": "string"
  31127. },
  31128. "userid": {
  31129. "description": "摘牌人用户ID(议价人ID)",
  31130. "type": "integer"
  31131. },
  31132. "username": {
  31133. "description": "议价人名字(已脱敏)",
  31134. "type": "string"
  31135. },
  31136. "validtime": {
  31137. "description": "有效期限",
  31138. "type": "string"
  31139. },
  31140. "warehouseid": {
  31141. "description": "仓库ID",
  31142. "type": "integer"
  31143. },
  31144. "warehousename": {
  31145. "description": "仓库名称",
  31146. "type": "string"
  31147. },
  31148. "wrbargainid": {
  31149. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  31150. "type": "string"
  31151. },
  31152. "wrfactortypeid": {
  31153. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31154. "type": "string"
  31155. },
  31156. "wrfactortypename": {
  31157. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31158. "type": "string"
  31159. },
  31160. "wrstandardcode": {
  31161. "description": "现货商品代码",
  31162. "type": "string"
  31163. },
  31164. "wrstandardid": {
  31165. "description": "现货商品ID",
  31166. "type": "integer"
  31167. },
  31168. "wrstandardname": {
  31169. "description": "商品名称",
  31170. "type": "string"
  31171. },
  31172. "wrtradeorderid": {
  31173. "description": "关联委托单ID",
  31174. "type": "string"
  31175. },
  31176. "wrtypename": {
  31177. "description": "商品",
  31178. "type": "string"
  31179. }
  31180. }
  31181. },
  31182. "models.Warehouseinfo": {
  31183. "type": "object",
  31184. "required": [
  31185. "autoid",
  31186. "warehousecode"
  31187. ],
  31188. "properties": {
  31189. "address": {
  31190. "description": "详细地址",
  31191. "type": "string"
  31192. },
  31193. "areauserid": {
  31194. "description": "所属机构",
  31195. "type": "integer"
  31196. },
  31197. "autoid": {
  31198. "description": "自增ID",
  31199. "type": "integer"
  31200. },
  31201. "cityid": {
  31202. "description": "市",
  31203. "type": "integer"
  31204. },
  31205. "contactname": {
  31206. "description": "联系人",
  31207. "type": "string"
  31208. },
  31209. "contactnum": {
  31210. "description": "联系电话",
  31211. "type": "string"
  31212. },
  31213. "countryid": {
  31214. "description": "国家",
  31215. "type": "integer"
  31216. },
  31217. "createtime": {
  31218. "description": "创建时间",
  31219. "type": "string"
  31220. },
  31221. "districtid": {
  31222. "description": "区",
  31223. "type": "integer"
  31224. },
  31225. "hasvideo": {
  31226. "description": "是否有视频 - 0:无 1:有",
  31227. "type": "integer"
  31228. },
  31229. "provinceid": {
  31230. "description": "省",
  31231. "type": "integer"
  31232. },
  31233. "remark": {
  31234. "description": "审核备注",
  31235. "type": "string"
  31236. },
  31237. "videourl": {
  31238. "description": "视频地址",
  31239. "type": "string"
  31240. },
  31241. "warehousecode": {
  31242. "description": "仓库代码",
  31243. "type": "string"
  31244. },
  31245. "warehousename": {
  31246. "description": "仓库名称",
  31247. "type": "string"
  31248. },
  31249. "warehousestatus": {
  31250. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  31251. "type": "integer"
  31252. },
  31253. "warehousetype": {
  31254. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  31255. "type": "integer"
  31256. }
  31257. }
  31258. },
  31259. "models.WrAverageTradePrice": {
  31260. "type": "object",
  31261. "properties": {
  31262. "averageprice": {
  31263. "description": "成交均价",
  31264. "type": "number"
  31265. },
  31266. "tradedate": {
  31267. "description": "交易日yyyymm",
  31268. "type": "string"
  31269. }
  31270. }
  31271. },
  31272. "models.WrBsGoodsInfo": {
  31273. "type": "object",
  31274. "properties": {
  31275. "buyorsell": {
  31276. "description": "买卖方向 0-买 1-卖",
  31277. "type": "integer"
  31278. },
  31279. "goodsid": {
  31280. "description": "交易合约ID",
  31281. "type": "integer"
  31282. },
  31283. "lstitem": {
  31284. "description": "商品信息项",
  31285. "type": "array",
  31286. "items": {
  31287. "$ref": "#/definitions/models.WrTypeItem"
  31288. }
  31289. },
  31290. "lststep": {
  31291. "description": "履约规则",
  31292. "type": "array",
  31293. "items": {
  31294. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  31295. }
  31296. }
  31297. }
  31298. },
  31299. "models.WrBuybackDetail": {
  31300. "type": "object",
  31301. "properties": {
  31302. "buybackamount": {
  31303. "description": "回购金额",
  31304. "type": "number"
  31305. },
  31306. "buybackqty": {
  31307. "description": "回购数量",
  31308. "type": "number"
  31309. },
  31310. "buybackreleasemargin": {
  31311. "description": "回购释放保证金",
  31312. "type": "number"
  31313. },
  31314. "buybacktime": {
  31315. "description": "回购时间",
  31316. "type": "string"
  31317. },
  31318. "errordesc": {
  31319. "description": "错误描述",
  31320. "type": "string"
  31321. },
  31322. "handlestatus": {
  31323. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  31324. "type": "integer"
  31325. },
  31326. "relatedwrid": {
  31327. "description": "关联仓单ID",
  31328. "type": "integer"
  31329. },
  31330. "scfcontractid": {
  31331. "description": "SCF合同ID",
  31332. "type": "string"
  31333. },
  31334. "scfwrbuybackid": {
  31335. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  31336. "type": "integer"
  31337. },
  31338. "tradedate": {
  31339. "description": "交易日(yyyyMMdd)",
  31340. "type": "string"
  31341. }
  31342. }
  31343. },
  31344. "models.WrDeliveryAvalidHoldLB": {
  31345. "type": "object",
  31346. "properties": {
  31347. "accountid": {
  31348. "description": "资金账号",
  31349. "type": "integer"
  31350. },
  31351. "avalidqty": {
  31352. "description": "数量(可点选数量)",
  31353. "type": "number"
  31354. },
  31355. "deliverygoodsid": {
  31356. "description": "品种id",
  31357. "type": "integer"
  31358. },
  31359. "enumdicname": {
  31360. "description": "单位名称",
  31361. "type": "string"
  31362. },
  31363. "goodsid": {
  31364. "description": "x合约商品id",
  31365. "type": "integer"
  31366. },
  31367. "ladingbillid": {
  31368. "description": "提单id",
  31369. "type": "string"
  31370. },
  31371. "pgoodscode": {
  31372. "description": "p商品代码(点价合约)",
  31373. "type": "string"
  31374. },
  31375. "pgoodsid": {
  31376. "description": "p商品id(点价合约)",
  31377. "type": "integer"
  31378. },
  31379. "pgoodsname": {
  31380. "description": "p商品名称(点价合约)",
  31381. "type": "string"
  31382. },
  31383. "pricemove": {
  31384. "description": "升贴水",
  31385. "type": "number"
  31386. },
  31387. "subnum": {
  31388. "description": "提单子id",
  31389. "type": "integer"
  31390. },
  31391. "userid": {
  31392. "description": "用户id",
  31393. "type": "integer"
  31394. },
  31395. "username": {
  31396. "description": "仓单持有人",
  31397. "type": "string"
  31398. },
  31399. "warehousecode": {
  31400. "description": "仓库代码",
  31401. "type": "string"
  31402. },
  31403. "warehouseid": {
  31404. "description": "仓库id",
  31405. "type": "integer"
  31406. },
  31407. "warehousename": {
  31408. "description": "仓库名称",
  31409. "type": "string"
  31410. },
  31411. "wrfactortypeid": {
  31412. "description": "仓单要素id",
  31413. "type": "string"
  31414. },
  31415. "wrstandardcode": {
  31416. "description": "品代码",
  31417. "type": "string"
  31418. },
  31419. "wrstandardid": {
  31420. "description": "品类d",
  31421. "type": "integer"
  31422. },
  31423. "wrstandardname": {
  31424. "description": "品类名称",
  31425. "type": "string"
  31426. },
  31427. "wrtypename": {
  31428. "description": "商品",
  31429. "type": "string"
  31430. },
  31431. "xgoodscode": {
  31432. "description": "x合约代码",
  31433. "type": "string"
  31434. },
  31435. "xgoodsname": {
  31436. "description": "x合约名称",
  31437. "type": "string"
  31438. }
  31439. }
  31440. },
  31441. "models.WrDeliveryDetail": {
  31442. "type": "object",
  31443. "properties": {
  31444. "accountid": {
  31445. "description": "账号ID",
  31446. "type": "integer"
  31447. },
  31448. "averageprice": {
  31449. "description": "交割均价 = 交割金额 / 交割数量",
  31450. "type": "number"
  31451. },
  31452. "buyorsell": {
  31453. "description": "方向 - 0:买 1:卖",
  31454. "type": "integer"
  31455. },
  31456. "deliveryamount": {
  31457. "description": "货款金额(X总货款+P总货款)",
  31458. "type": "number"
  31459. },
  31460. "deliveryid": {
  31461. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  31462. "type": "string"
  31463. },
  31464. "deliveryorderid": {
  31465. "description": "申报单号",
  31466. "type": "string"
  31467. },
  31468. "deliverypricemove": {
  31469. "description": "升贴水(升贴水总额)",
  31470. "type": "number"
  31471. },
  31472. "deliveryqty": {
  31473. "description": "交收数量(点选数量)",
  31474. "type": "number"
  31475. },
  31476. "deliverystatus": {
  31477. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  31478. "type": "integer"
  31479. },
  31480. "deliverytime": {
  31481. "description": "交割时间",
  31482. "type": "string"
  31483. },
  31484. "deliverytotalamount": {
  31485. "description": "交收金额",
  31486. "type": "number"
  31487. },
  31488. "enumdicname": {
  31489. "description": "单位名称",
  31490. "type": "string"
  31491. },
  31492. "matchaccountid": {
  31493. "description": "对手账号ID",
  31494. "type": "integer"
  31495. },
  31496. "matchusername": {
  31497. "description": "对手方名称(仓单持有人)",
  31498. "type": "string"
  31499. },
  31500. "p1goodsremainamount": {
  31501. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31502. "type": "number"
  31503. },
  31504. "pdeliverycloseqty": {
  31505. "description": "p合约平仓数量",
  31506. "type": "number"
  31507. },
  31508. "pdeliveryprice": {
  31509. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31510. "type": "number"
  31511. },
  31512. "pgoodscode": {
  31513. "description": "商品代码",
  31514. "type": "string"
  31515. },
  31516. "pgoodsid": {
  31517. "description": "p点选合约id",
  31518. "type": "integer"
  31519. },
  31520. "pgoodsname": {
  31521. "description": "商品名称",
  31522. "type": "string"
  31523. },
  31524. "ppricemode": {
  31525. "description": "点价价格方式 - 1:商品价 2:固定值",
  31526. "type": "integer"
  31527. },
  31528. "tradedate": {
  31529. "description": "交易日(yyyymmdd)",
  31530. "type": "string"
  31531. },
  31532. "userid": {
  31533. "description": "用户id",
  31534. "type": "integer"
  31535. },
  31536. "username": {
  31537. "description": "用户名称",
  31538. "type": "string"
  31539. },
  31540. "warehousename": {
  31541. "description": "仓库名称",
  31542. "type": "string"
  31543. },
  31544. "wrfactortypeid": {
  31545. "description": "仓单要素类型ID",
  31546. "type": "string"
  31547. },
  31548. "wrtypename": {
  31549. "description": "商品",
  31550. "type": "string"
  31551. },
  31552. "xdeliverycloseqty": {
  31553. "description": "合约数量",
  31554. "type": "number"
  31555. },
  31556. "xgoodsamount": {
  31557. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  31558. "type": "number"
  31559. },
  31560. "xgoodscode": {
  31561. "description": "商品代码",
  31562. "type": "string"
  31563. },
  31564. "xgoodsid": {
  31565. "description": "x交易合约ID",
  31566. "type": "integer"
  31567. },
  31568. "xgoodsname": {
  31569. "description": "商品名称",
  31570. "type": "string"
  31571. }
  31572. }
  31573. },
  31574. "models.WrFAProductDetail": {
  31575. "type": "object",
  31576. "properties": {
  31577. "accountid": {
  31578. "description": "资金账号",
  31579. "type": "integer"
  31580. },
  31581. "areauserid": {
  31582. "description": "金融机构ID",
  31583. "type": "integer"
  31584. },
  31585. "financingdays": {
  31586. "description": "天数(天)",
  31587. "type": "integer"
  31588. },
  31589. "interestminlen": {
  31590. "description": "最小起息天数",
  31591. "type": "integer"
  31592. },
  31593. "interestrate": {
  31594. "description": "利率",
  31595. "type": "number"
  31596. },
  31597. "interestratemode": {
  31598. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  31599. "type": "integer"
  31600. },
  31601. "interestsettlemode": {
  31602. "description": "结息方式 - 1:按日结息 3:按月结息",
  31603. "type": "integer"
  31604. },
  31605. "interestsettlevalue": {
  31606. "description": "结息方式值",
  31607. "type": "integer"
  31608. },
  31609. "isautoloan": {
  31610. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  31611. "type": "integer"
  31612. },
  31613. "loantag": {
  31614. "description": "放款标识: \"放款快\" 或者为空",
  31615. "type": "string"
  31616. },
  31617. "marginratio": {
  31618. "description": "保证金比率质押率 - [仓单质押]",
  31619. "type": "number"
  31620. },
  31621. "productdetailid": {
  31622. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  31623. "type": "integer"
  31624. },
  31625. "productid": {
  31626. "description": "金融产品ID",
  31627. "type": "integer"
  31628. },
  31629. "productname": {
  31630. "description": "产品名称",
  31631. "type": "string"
  31632. },
  31633. "updatetime": {
  31634. "description": "更新时间",
  31635. "type": "string"
  31636. },
  31637. "username": {
  31638. "description": "融出方",
  31639. "type": "string"
  31640. }
  31641. }
  31642. },
  31643. "models.WrFactorTypeInfo": {
  31644. "type": "object",
  31645. "properties": {
  31646. "deliverygoodscode": {
  31647. "description": "品种代码",
  31648. "type": "string"
  31649. },
  31650. "deliverygoodsname": {
  31651. "description": "品种名称",
  31652. "type": "string"
  31653. },
  31654. "dgfactoryitemid": {
  31655. "description": "选择项id",
  31656. "type": "integer"
  31657. },
  31658. "dgfactoryitemtypeid": {
  31659. "description": "要素选择项ID (1-仓库 2-品牌)",
  31660. "type": "integer"
  31661. },
  31662. "dgfactoryitemvalue": {
  31663. "description": "要素项值",
  31664. "type": "string"
  31665. },
  31666. "itemtypename": {
  31667. "description": "要素项名称",
  31668. "type": "string"
  31669. },
  31670. "optioncompare": {
  31671. "description": "选择比较串",
  31672. "type": "string"
  31673. },
  31674. "warehouseid": {
  31675. "description": "仓库id",
  31676. "type": "integer"
  31677. },
  31678. "wrfactortypeid": {
  31679. "description": "仓单要素ID",
  31680. "type": "string"
  31681. },
  31682. "wrfactortypename": {
  31683. "description": "要素名称",
  31684. "type": "string"
  31685. },
  31686. "wrfactortypename2": {
  31687. "description": "要素名称(不含仓库)",
  31688. "type": "string"
  31689. },
  31690. "wrstandardcode": {
  31691. "description": "品类代码",
  31692. "type": "string"
  31693. },
  31694. "wrstandardid": {
  31695. "description": "品类id",
  31696. "type": "integer"
  31697. },
  31698. "wrstandardname": {
  31699. "description": "品类名称",
  31700. "type": "string"
  31701. }
  31702. }
  31703. },
  31704. "models.WrFilterItem": {
  31705. "type": "object",
  31706. "properties": {
  31707. "itemcode": {
  31708. "description": "代码",
  31709. "type": "string"
  31710. },
  31711. "itemid": {
  31712. "description": "项id",
  31713. "type": "integer"
  31714. },
  31715. "itemname": {
  31716. "description": "名称",
  31717. "type": "string"
  31718. },
  31719. "itemtype": {
  31720. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  31721. "type": "integer"
  31722. }
  31723. }
  31724. },
  31725. "models.WrFinanceBuyApply": {
  31726. "type": "object",
  31727. "properties": {
  31728. "applydate": {
  31729. "description": "申请时间",
  31730. "type": "string"
  31731. },
  31732. "applystatus": {
  31733. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  31734. "type": "integer"
  31735. },
  31736. "applyuserid": {
  31737. "description": "申请人",
  31738. "type": "integer"
  31739. },
  31740. "auditdate": {
  31741. "description": "审核时间",
  31742. "type": "string"
  31743. },
  31744. "auditremark": {
  31745. "description": "审核备注",
  31746. "type": "string"
  31747. },
  31748. "audituserid": {
  31749. "description": "审核人",
  31750. "type": "integer"
  31751. },
  31752. "buyaccountid": {
  31753. "description": "买方资金账号",
  31754. "type": "integer"
  31755. },
  31756. "buyorsell": {
  31757. "description": "买卖 - 0:买 1:卖",
  31758. "type": "integer"
  31759. },
  31760. "buyuserid": {
  31761. "description": "买方用户ID",
  31762. "type": "integer"
  31763. },
  31764. "buyusername": {
  31765. "description": "买方名称",
  31766. "type": "string"
  31767. },
  31768. "buywrtradeorderid": {
  31769. "description": "融资方买委托单ID",
  31770. "type": "string"
  31771. },
  31772. "deliverygoodscode": {
  31773. "description": "品种代码",
  31774. "type": "string"
  31775. },
  31776. "deliverygoodsid": {
  31777. "description": "品种ID",
  31778. "type": "integer"
  31779. },
  31780. "deliverygoodsname": {
  31781. "description": "品种名称",
  31782. "type": "string"
  31783. },
  31784. "deliverymonth": {
  31785. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  31786. "type": "string"
  31787. },
  31788. "enumdicname": {
  31789. "description": "单位名称",
  31790. "type": "string"
  31791. },
  31792. "financeaccountid": {
  31793. "description": "融资方资金帐户ID",
  31794. "type": "integer"
  31795. },
  31796. "financeapplyid": {
  31797. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31798. "type": "string"
  31799. },
  31800. "financeareauserid": {
  31801. "description": "融资方用户ID",
  31802. "type": "string"
  31803. },
  31804. "financename": {
  31805. "description": "融出方名称",
  31806. "type": "string"
  31807. },
  31808. "financetype": {
  31809. "description": "融资类型 1-融资回购",
  31810. "type": "integer"
  31811. },
  31812. "financingdays": {
  31813. "description": "天数(天)",
  31814. "type": "integer"
  31815. },
  31816. "freezebuymargin": {
  31817. "description": "冻结融资保证金(买方)",
  31818. "type": "number"
  31819. },
  31820. "handleremark": {
  31821. "description": "处理备注",
  31822. "type": "string"
  31823. },
  31824. "handlestatus": {
  31825. "description": "处理状态",
  31826. "type": "integer"
  31827. },
  31828. "interestminlen": {
  31829. "description": "最小起息天数",
  31830. "type": "integer"
  31831. },
  31832. "interestrate": {
  31833. "description": "利率",
  31834. "type": "number"
  31835. },
  31836. "interestratemode": {
  31837. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  31838. "type": "integer"
  31839. },
  31840. "interestsettlemode": {
  31841. "description": "结息方式 - 1:按日结息 3:按月结息",
  31842. "type": "integer"
  31843. },
  31844. "interestsettlevalue": {
  31845. "description": "结息方式值",
  31846. "type": "integer"
  31847. },
  31848. "isautoloan": {
  31849. "description": "是否自动放款 - 0:手动 1:自动",
  31850. "type": "integer"
  31851. },
  31852. "marginratio": {
  31853. "description": "保证金比率质押率 - [仓单质押]",
  31854. "type": "number"
  31855. },
  31856. "marketid": {
  31857. "description": "市场ID",
  31858. "type": "integer"
  31859. },
  31860. "minivalue": {
  31861. "description": "现货商品最小变动值",
  31862. "type": "integer"
  31863. },
  31864. "optioncompare": {
  31865. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31866. "type": "string"
  31867. },
  31868. "orderqty": {
  31869. "description": "委托数量(商品数量)",
  31870. "type": "number"
  31871. },
  31872. "productdetailid": {
  31873. "description": "产品组合ID",
  31874. "type": "integer"
  31875. },
  31876. "productid": {
  31877. "description": "金融产品ID",
  31878. "type": "integer"
  31879. },
  31880. "productname": {
  31881. "description": "产品名称",
  31882. "type": "string"
  31883. },
  31884. "remark": {
  31885. "description": "备注",
  31886. "type": "string"
  31887. },
  31888. "scfcontractid": {
  31889. "description": "仓单回购合同ID",
  31890. "type": "string"
  31891. },
  31892. "sellaccountid": {
  31893. "description": "卖方资金账号",
  31894. "type": "integer"
  31895. },
  31896. "selluserid": {
  31897. "description": "卖方用户ID",
  31898. "type": "integer"
  31899. },
  31900. "sellwrtradeorderid": {
  31901. "description": "卖方委托单ID",
  31902. "type": "string"
  31903. },
  31904. "tradeamount": {
  31905. "description": "成交金额(借款金额)",
  31906. "type": "number"
  31907. },
  31908. "tradedate": {
  31909. "description": "交易日(yyyyMMdd)",
  31910. "type": "string"
  31911. },
  31912. "tradeprice": {
  31913. "description": "成交价格",
  31914. "type": "number"
  31915. },
  31916. "warehouseid": {
  31917. "description": "仓库ID",
  31918. "type": "integer"
  31919. },
  31920. "warehousename": {
  31921. "description": "仓库名称",
  31922. "type": "string"
  31923. },
  31924. "wrfactortypeid": {
  31925. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31926. "type": "string"
  31927. },
  31928. "wrfactortypename": {
  31929. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31930. "type": "string"
  31931. },
  31932. "wrpricetype": {
  31933. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  31934. "type": "integer"
  31935. },
  31936. "wrstandardcode": {
  31937. "description": "现货商品代码",
  31938. "type": "string"
  31939. },
  31940. "wrstandardid": {
  31941. "description": "现货商品ID",
  31942. "type": "integer"
  31943. },
  31944. "wrstandardname": {
  31945. "description": "商品名称",
  31946. "type": "string"
  31947. },
  31948. "wrtypename": {
  31949. "description": "商品",
  31950. "type": "string"
  31951. }
  31952. }
  31953. },
  31954. "models.WrFriendApply": {
  31955. "type": "object",
  31956. "properties": {
  31957. "applicantid": {
  31958. "description": "申请人",
  31959. "type": "integer"
  31960. },
  31961. "applyname": {
  31962. "description": "申请人名称",
  31963. "type": "string"
  31964. },
  31965. "applysrc": {
  31966. "description": "申请来源 - 1:管理端 2:终端",
  31967. "type": "integer"
  31968. },
  31969. "applystatus": {
  31970. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  31971. "type": "integer"
  31972. },
  31973. "applytime": {
  31974. "description": "申请时间",
  31975. "type": "string"
  31976. },
  31977. "auditname": {
  31978. "description": "审核人名称",
  31979. "type": "string"
  31980. },
  31981. "auditorid": {
  31982. "description": "审核人",
  31983. "type": "integer"
  31984. },
  31985. "auditremark": {
  31986. "description": "审核备注",
  31987. "type": "string"
  31988. },
  31989. "auditsrc": {
  31990. "description": "审核来源 - 1:管理端 2:终端",
  31991. "type": "integer"
  31992. },
  31993. "audittime": {
  31994. "description": "审核时间",
  31995. "type": "string"
  31996. },
  31997. "friendapplyid": {
  31998. "description": "申请ID(SEQ_FRIENDAPPLY)",
  31999. "type": "string"
  32000. },
  32001. "friendname": {
  32002. "description": "好友名字(已脱敏)",
  32003. "type": "string"
  32004. },
  32005. "frienduserid": {
  32006. "description": "好友用户ID",
  32007. "type": "string"
  32008. },
  32009. "remark": {
  32010. "description": "备注",
  32011. "type": "string"
  32012. },
  32013. "userid": {
  32014. "description": "申请人用户ID",
  32015. "type": "integer"
  32016. }
  32017. }
  32018. },
  32019. "models.WrFtDeliveryGoods": {
  32020. "type": "object",
  32021. "properties": {
  32022. "deliverygoodscode": {
  32023. "description": "品种代码",
  32024. "type": "string"
  32025. },
  32026. "deliverygoodsid": {
  32027. "description": "品种ID",
  32028. "type": "integer"
  32029. },
  32030. "deliverygoodsname": {
  32031. "description": "品种名称",
  32032. "type": "string"
  32033. },
  32034. "wdlst": {
  32035. "description": "商品列表",
  32036. "type": "array",
  32037. "items": {
  32038. "$ref": "#/definitions/models.WrFtWrstandard"
  32039. }
  32040. }
  32041. }
  32042. },
  32043. "models.WrFtWrstandard": {
  32044. "type": "object",
  32045. "properties": {
  32046. "enumdicname": {
  32047. "description": "单位名称",
  32048. "type": "string"
  32049. },
  32050. "minivalue": {
  32051. "description": "最小变动值",
  32052. "type": "integer"
  32053. },
  32054. "wrstandardcode": {
  32055. "description": "现货商品代码",
  32056. "type": "string"
  32057. },
  32058. "wrstandardid": {
  32059. "description": "现货商品ID",
  32060. "type": "integer"
  32061. },
  32062. "wrstandardname": {
  32063. "description": "商品名称",
  32064. "type": "string"
  32065. }
  32066. }
  32067. },
  32068. "models.WrGoodsInfo": {
  32069. "type": "object",
  32070. "properties": {
  32071. "haswr": {
  32072. "description": "0:仓单预售 1:仓单贸易",
  32073. "type": "integer"
  32074. },
  32075. "lstitem": {
  32076. "description": "商品信息项",
  32077. "type": "array",
  32078. "items": {
  32079. "$ref": "#/definitions/models.WrTypeItem"
  32080. }
  32081. },
  32082. "lststep": {
  32083. "description": "履约规则",
  32084. "type": "array",
  32085. "items": {
  32086. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  32087. }
  32088. },
  32089. "marketid": {
  32090. "description": "市场id",
  32091. "type": "integer"
  32092. }
  32093. }
  32094. },
  32095. "models.WrGoodsPerformanceStep": {
  32096. "type": "object",
  32097. "properties": {
  32098. "autoid": {
  32099. "description": "AutoID",
  32100. "type": "integer"
  32101. },
  32102. "isauto": {
  32103. "description": "是否自动 - 0:不自动 1:自动",
  32104. "type": "integer"
  32105. },
  32106. "remark": {
  32107. "description": "备注",
  32108. "type": "string"
  32109. },
  32110. "stepdate": {
  32111. "description": "天数信息(T+N)",
  32112. "type": "string"
  32113. },
  32114. "stepdays": {
  32115. "description": "距离上一步天数",
  32116. "type": "integer"
  32117. },
  32118. "stepindex": {
  32119. "description": "步骤序号",
  32120. "type": "integer"
  32121. },
  32122. "stepinfo": {
  32123. "description": "步骤信息(步骤名称+步骤值)",
  32124. "type": "string"
  32125. },
  32126. "steptypeid": {
  32127. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  32128. "type": "integer"
  32129. },
  32130. "steptypename": {
  32131. "description": "步骤名称",
  32132. "type": "string"
  32133. },
  32134. "stepvalue": {
  32135. "description": "步骤值",
  32136. "type": "number"
  32137. },
  32138. "templateid": {
  32139. "description": "履约计划模板ID",
  32140. "type": "integer"
  32141. }
  32142. }
  32143. },
  32144. "models.WrHoldLB": {
  32145. "type": "object",
  32146. "properties": {
  32147. "accountid": {
  32148. "description": "持有人帐户ID",
  32149. "type": "integer"
  32150. },
  32151. "createtime": {
  32152. "description": "创建时间(过户时间)",
  32153. "type": "string"
  32154. },
  32155. "deliverygoodscode": {
  32156. "description": "品种代码",
  32157. "type": "string"
  32158. },
  32159. "deliverygoodsid": {
  32160. "description": "品种ID",
  32161. "type": "integer"
  32162. },
  32163. "deliverygoodsname": {
  32164. "description": "品种名称",
  32165. "type": "string"
  32166. },
  32167. "enableqty": {
  32168. "description": "可用数量",
  32169. "type": "number"
  32170. },
  32171. "enumdicname": {
  32172. "description": "单位名称",
  32173. "type": "string"
  32174. },
  32175. "freezerqty": {
  32176. "description": "冻结数量",
  32177. "type": "number"
  32178. },
  32179. "ladingbillid": {
  32180. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  32181. "type": "string"
  32182. },
  32183. "minivalue": {
  32184. "description": "现货商品最小变动值",
  32185. "type": "integer"
  32186. },
  32187. "optioncompare": {
  32188. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32189. "type": "string"
  32190. },
  32191. "parentsubnum": {
  32192. "description": "拆分父子单号",
  32193. "type": "integer"
  32194. },
  32195. "pledgeqty": {
  32196. "description": "质押数量",
  32197. "type": "number"
  32198. },
  32199. "qty": {
  32200. "description": "数量",
  32201. "type": "number"
  32202. },
  32203. "subnum": {
  32204. "description": "提单子单号",
  32205. "type": "integer"
  32206. },
  32207. "tradedate": {
  32208. "description": "交易日(yyyyMMdd)",
  32209. "type": "string"
  32210. },
  32211. "userid": {
  32212. "description": "持有人ID",
  32213. "type": "integer"
  32214. },
  32215. "warehouseid": {
  32216. "description": "仓库ID",
  32217. "type": "integer"
  32218. },
  32219. "warehousename": {
  32220. "description": "仓库名称",
  32221. "type": "string"
  32222. },
  32223. "wrfactortypeid": {
  32224. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32225. "type": "string"
  32226. },
  32227. "wrfactortypename": {
  32228. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32229. "type": "string"
  32230. },
  32231. "wrholdeno": {
  32232. "description": "仓单编号",
  32233. "type": "string"
  32234. },
  32235. "wrid": {
  32236. "description": "仓单变更ID",
  32237. "type": "string"
  32238. },
  32239. "wrstandardcode": {
  32240. "description": "现货商品代码",
  32241. "type": "string"
  32242. },
  32243. "wrstandardid": {
  32244. "description": "现货商品ID",
  32245. "type": "integer"
  32246. },
  32247. "wrstandardname": {
  32248. "description": "商品名称",
  32249. "type": "string"
  32250. },
  32251. "wrtypename": {
  32252. "description": "商品",
  32253. "type": "string"
  32254. }
  32255. }
  32256. },
  32257. "models.WrMarketTradeConfig": {
  32258. "type": "object",
  32259. "properties": {
  32260. "basisdownratio": {
  32261. "description": "浮动价基差下限比例(仓单贸易)",
  32262. "type": "number"
  32263. },
  32264. "basisupratio": {
  32265. "description": "浮动价基差上限比例(仓单贸易)",
  32266. "type": "number"
  32267. },
  32268. "buychargealgorithm": {
  32269. "description": "买方手续费收取方式 1:比率 2:固定",
  32270. "type": "integer"
  32271. },
  32272. "buychargealgorithm2": {
  32273. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  32274. "type": "integer"
  32275. },
  32276. "buychargealgorithmvalue": {
  32277. "description": "买方手续费设置值(交易所部分)",
  32278. "type": "number"
  32279. },
  32280. "buychargealgorithmvalue2": {
  32281. "description": "买方手续费设置值(会员部分)",
  32282. "type": "number"
  32283. },
  32284. "buychargealgorithmvalue3": {
  32285. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  32286. "type": "number"
  32287. },
  32288. "buychargealgorithmvalue4": {
  32289. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  32290. "type": "number"
  32291. },
  32292. "buyfirstmarginalgorithm": {
  32293. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  32294. "type": "integer"
  32295. },
  32296. "buyfirstmarginvalue": {
  32297. "description": "买方出价保证金设置值 - [竞拍]",
  32298. "type": "number"
  32299. },
  32300. "buymarginalgorithm": {
  32301. "description": "买方保证金方式 - 1:比率 2:固定",
  32302. "type": "integer"
  32303. },
  32304. "buymarginvalue": {
  32305. "description": "买方保证金设置值",
  32306. "type": "number"
  32307. },
  32308. "buyreleaseratio": {
  32309. "description": "买方释放比率[2:分步履约]",
  32310. "type": "number"
  32311. },
  32312. "executemode": {
  32313. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  32314. "type": "integer"
  32315. },
  32316. "executeside": {
  32317. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  32318. "type": "integer"
  32319. },
  32320. "failedchargealgorithm": {
  32321. "description": "流拍手续费收取方式 1:比率 2:固定",
  32322. "type": "integer"
  32323. },
  32324. "failedchargevalue": {
  32325. "description": "流拍手续费设置值",
  32326. "type": "number"
  32327. },
  32328. "failedchargevalue2": {
  32329. "description": "流拍卖方手续费设置值",
  32330. "type": "number"
  32331. },
  32332. "holddays": {
  32333. "description": "合同期限[2:分步履约]",
  32334. "type": "integer"
  32335. },
  32336. "marketid": {
  32337. "description": "市场ID-仓单贸易、竞拍、预售",
  32338. "type": "integer"
  32339. },
  32340. "minqty": {
  32341. "description": "最小执行量[2:分步履约]",
  32342. "type": "number"
  32343. },
  32344. "modifierid": {
  32345. "description": "修改人",
  32346. "type": "integer"
  32347. },
  32348. "performancetempid": {
  32349. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  32350. "type": "integer"
  32351. },
  32352. "performancetempid2": {
  32353. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  32354. "type": "integer"
  32355. },
  32356. "performanceway": {
  32357. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  32358. "type": "integer"
  32359. },
  32360. "sellchargealgorithm": {
  32361. "description": "卖方手续费收取方式 1:比率 2:固定",
  32362. "type": "integer"
  32363. },
  32364. "sellchargealgorithm2": {
  32365. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  32366. "type": "integer"
  32367. },
  32368. "sellchargealgorithmvalue": {
  32369. "description": "卖方手续费设置值(交易所部分)",
  32370. "type": "number"
  32371. },
  32372. "sellchargealgorithmvalue2": {
  32373. "description": "卖方手续费设置值(会员部分)",
  32374. "type": "number"
  32375. },
  32376. "sellchargealgorithmvalue3": {
  32377. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  32378. "type": "number"
  32379. },
  32380. "sellchargealgorithmvalue4": {
  32381. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  32382. "type": "number"
  32383. },
  32384. "sellmarginalgorithm": {
  32385. "description": "卖方保证金方式 - 1:比率 2:固定",
  32386. "type": "integer"
  32387. },
  32388. "sellmarginvalue": {
  32389. "description": "卖方保证金设置值",
  32390. "type": "number"
  32391. },
  32392. "sellmarginvalue2": {
  32393. "description": "卖方保证金设置值(无仓单)",
  32394. "type": "number"
  32395. },
  32396. "sellreleaseratio": {
  32397. "description": "卖方释放比率[2:分步履约]",
  32398. "type": "number"
  32399. },
  32400. "updatetime": {
  32401. "description": "更新时间",
  32402. "type": "string"
  32403. }
  32404. }
  32405. },
  32406. "models.WrOrderDetail": {
  32407. "type": "object",
  32408. "properties": {
  32409. "accountid": {
  32410. "description": "交易账号(资金账号)",
  32411. "type": "integer"
  32412. },
  32413. "allfriendsflag": {
  32414. "description": "是否全好友可见 - 0:否 1:是",
  32415. "type": "integer"
  32416. },
  32417. "amount": {
  32418. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  32419. "type": "number"
  32420. },
  32421. "buyorsell": {
  32422. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  32423. "type": "integer"
  32424. },
  32425. "canbargain": {
  32426. "description": "是否可议价 - 0:不可 1:可",
  32427. "type": "integer"
  32428. },
  32429. "cancelqty": {
  32430. "description": "撤销数量",
  32431. "type": "number"
  32432. },
  32433. "canpart": {
  32434. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  32435. "type": "integer"
  32436. },
  32437. "delistminqty": {
  32438. "description": "起摘数量",
  32439. "type": "integer"
  32440. },
  32441. "deliverygoodscode": {
  32442. "description": "品种代码",
  32443. "type": "string"
  32444. },
  32445. "deliverygoodsid": {
  32446. "description": "品种ID",
  32447. "type": "integer"
  32448. },
  32449. "deliverygoodsname": {
  32450. "description": "品种名称",
  32451. "type": "string"
  32452. },
  32453. "deliverymonth": {
  32454. "description": "交收月",
  32455. "type": "string"
  32456. },
  32457. "enumdicname": {
  32458. "description": "单位名称",
  32459. "type": "string"
  32460. },
  32461. "fixedprice": {
  32462. "description": "固定价格 - [挂牌]",
  32463. "type": "number"
  32464. },
  32465. "freezemargin": {
  32466. "description": "冻结保证金(保证金)",
  32467. "type": "number"
  32468. },
  32469. "futupricemove": {
  32470. "description": "期货升贴水",
  32471. "type": "number"
  32472. },
  32473. "futushow": {
  32474. "description": "期货合约/升贴水",
  32475. "type": "string"
  32476. },
  32477. "goodscode": {
  32478. "description": "期货合约",
  32479. "type": "string"
  32480. },
  32481. "goodsid": {
  32482. "description": "期货商品id",
  32483. "type": "integer"
  32484. },
  32485. "goodsname": {
  32486. "description": "商品名称",
  32487. "type": "string"
  32488. },
  32489. "haswr": {
  32490. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  32491. "type": "integer"
  32492. },
  32493. "isspecified": {
  32494. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  32495. "type": "integer"
  32496. },
  32497. "marginvalue": {
  32498. "description": "保证金设置值(履约保证金)",
  32499. "type": "number"
  32500. },
  32501. "marketid": {
  32502. "description": "市场ID",
  32503. "type": "integer"
  32504. },
  32505. "matchusername": {
  32506. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  32507. "type": "string"
  32508. },
  32509. "minivalue": {
  32510. "description": "现货商品最小变动值",
  32511. "type": "integer"
  32512. },
  32513. "optioncompare": {
  32514. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32515. "type": "string"
  32516. },
  32517. "orderqty": {
  32518. "description": "委托数量",
  32519. "type": "number"
  32520. },
  32521. "ordertime": {
  32522. "description": "委托时间(挂牌时间)",
  32523. "type": "string"
  32524. },
  32525. "performancetemplateid": {
  32526. "description": "履约模板id",
  32527. "type": "integer"
  32528. },
  32529. "pricemove": {
  32530. "description": "升贴水(浮动价时填写) - [挂牌]",
  32531. "type": "number"
  32532. },
  32533. "taname": {
  32534. "description": "交易用户名称(资金账号名称)",
  32535. "type": "string"
  32536. },
  32537. "tradedate": {
  32538. "description": "交易日(yyyyMMdd)",
  32539. "type": "string"
  32540. },
  32541. "tradeprice": {
  32542. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  32543. "type": "number"
  32544. },
  32545. "tradeqty": {
  32546. "description": "成交数量",
  32547. "type": "number"
  32548. },
  32549. "userid": {
  32550. "description": "用户ID",
  32551. "type": "integer"
  32552. },
  32553. "validtime": {
  32554. "description": "挂牌有效期",
  32555. "type": "string"
  32556. },
  32557. "warehouseid": {
  32558. "description": "仓库ID",
  32559. "type": "integer"
  32560. },
  32561. "warehousename": {
  32562. "description": "仓库名称",
  32563. "type": "string"
  32564. },
  32565. "wrfactortypeid": {
  32566. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32567. "type": "string"
  32568. },
  32569. "wrfactortypename": {
  32570. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32571. "type": "string"
  32572. },
  32573. "wrpricetype": {
  32574. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  32575. "type": "integer"
  32576. },
  32577. "wrstandardcode": {
  32578. "description": "现货商品代码",
  32579. "type": "string"
  32580. },
  32581. "wrstandardid": {
  32582. "description": "现货商品ID",
  32583. "type": "integer"
  32584. },
  32585. "wrstandardname": {
  32586. "description": "商品名称",
  32587. "type": "string"
  32588. },
  32589. "wrtradeorderid": {
  32590. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32591. "type": "string"
  32592. },
  32593. "wrtradeorderstatus": {
  32594. "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:撤单解冻贷款失败",
  32595. "type": "integer"
  32596. },
  32597. "wrtradetype": {
  32598. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  32599. "type": "integer"
  32600. },
  32601. "wrtypename": {
  32602. "description": "商品",
  32603. "type": "string"
  32604. }
  32605. }
  32606. },
  32607. "models.WrOrderQuote": {
  32608. "type": "object",
  32609. "properties": {
  32610. "buyprice": {
  32611. "description": "买价",
  32612. "type": "number"
  32613. },
  32614. "buypricemove": {
  32615. "description": "买升贴水(基差)",
  32616. "type": "number"
  32617. },
  32618. "buyqty": {
  32619. "description": "买量",
  32620. "type": "number"
  32621. },
  32622. "deliverygoodscode": {
  32623. "description": "品种代码",
  32624. "type": "string"
  32625. },
  32626. "deliverygoodsid": {
  32627. "description": "品种id",
  32628. "type": "integer"
  32629. },
  32630. "deliverygoodsname": {
  32631. "description": "品种名称",
  32632. "type": "string"
  32633. },
  32634. "deliverymonth": {
  32635. "description": "交收月",
  32636. "type": "string"
  32637. },
  32638. "enumdicname": {
  32639. "description": "单位名称",
  32640. "type": "string"
  32641. },
  32642. "goodscode": {
  32643. "description": "商品合约(浮动价列表才有)",
  32644. "type": "string"
  32645. },
  32646. "goodsid": {
  32647. "description": "商品id(浮动价列表才有)",
  32648. "type": "integer"
  32649. },
  32650. "minivalue": {
  32651. "description": "现货商品最小变动值",
  32652. "type": "integer"
  32653. },
  32654. "sellprice": {
  32655. "description": "卖价",
  32656. "type": "number"
  32657. },
  32658. "sellpricemove": {
  32659. "description": "卖升贴水(基差)",
  32660. "type": "number"
  32661. },
  32662. "sellqty": {
  32663. "description": "卖量",
  32664. "type": "number"
  32665. },
  32666. "warehousecode": {
  32667. "description": "仓库代码",
  32668. "type": "string"
  32669. },
  32670. "warehouseid": {
  32671. "description": "仓库id",
  32672. "type": "integer"
  32673. },
  32674. "warehousename": {
  32675. "description": "仓库名称",
  32676. "type": "string"
  32677. },
  32678. "wrfactortypeid": {
  32679. "description": "仓单要素id",
  32680. "type": "string"
  32681. },
  32682. "wrfactortypename": {
  32683. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32684. "type": "string"
  32685. },
  32686. "wrgoodsname": {
  32687. "description": "商品(商品名称+仓库要素名称 拼接)",
  32688. "type": "string"
  32689. },
  32690. "wrstandardcode": {
  32691. "description": "商品代码",
  32692. "type": "string"
  32693. },
  32694. "wrstandardid": {
  32695. "description": "商品id",
  32696. "type": "integer"
  32697. },
  32698. "wrstandardname": {
  32699. "description": "商品名称",
  32700. "type": "string"
  32701. }
  32702. }
  32703. },
  32704. "models.WrOrderQuoteDetail": {
  32705. "type": "object",
  32706. "properties": {
  32707. "buyorsell": {
  32708. "description": "买卖 - 0:买 1:卖",
  32709. "type": "integer"
  32710. },
  32711. "delistminqty": {
  32712. "description": "起摘数量",
  32713. "type": "number"
  32714. },
  32715. "deliverymonth": {
  32716. "description": "交收月",
  32717. "type": "string"
  32718. },
  32719. "enumdicname": {
  32720. "description": "单位名称",
  32721. "type": "string"
  32722. },
  32723. "fixedprice": {
  32724. "description": "买(卖)价",
  32725. "type": "number"
  32726. },
  32727. "minivalue": {
  32728. "description": "现货商品最小变动值",
  32729. "type": "integer"
  32730. },
  32731. "orderqty": {
  32732. "description": "买(卖)量(=委托量-成交量)",
  32733. "type": "number"
  32734. },
  32735. "ordertime": {
  32736. "description": "委托时间",
  32737. "type": "string"
  32738. },
  32739. "pricemove": {
  32740. "description": "买(卖)升贴水- 基差",
  32741. "type": "number"
  32742. },
  32743. "userid": {
  32744. "description": "购买方(销售方)用户ID",
  32745. "type": "integer"
  32746. },
  32747. "username": {
  32748. "description": "购买方(销售方)",
  32749. "type": "string"
  32750. },
  32751. "wrtradeorderid": {
  32752. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32753. "type": "string"
  32754. }
  32755. }
  32756. },
  32757. "models.WrOutInApply": {
  32758. "type": "object",
  32759. "properties": {
  32760. "applyid": {
  32761. "description": "申请单id",
  32762. "type": "string"
  32763. },
  32764. "applystatus": {
  32765. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  32766. "type": "integer"
  32767. },
  32768. "applytime": {
  32769. "description": "申请时间",
  32770. "type": "string"
  32771. },
  32772. "applytype": {
  32773. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  32774. "type": "integer"
  32775. },
  32776. "deliverygoodscode": {
  32777. "description": "品种代码",
  32778. "type": "string"
  32779. },
  32780. "deliverygoodsid": {
  32781. "description": "品种ID",
  32782. "type": "integer"
  32783. },
  32784. "deliverygoodsname": {
  32785. "description": "品种名称",
  32786. "type": "string"
  32787. },
  32788. "enumdicname": {
  32789. "description": "单位名称",
  32790. "type": "string"
  32791. },
  32792. "expresscompany": {
  32793. "description": "物流公司",
  32794. "type": "string"
  32795. },
  32796. "expressnum": {
  32797. "description": "物流单号",
  32798. "type": "string"
  32799. },
  32800. "minivalue": {
  32801. "description": "现货商品最小变动值",
  32802. "type": "integer"
  32803. },
  32804. "optioncompare": {
  32805. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32806. "type": "string"
  32807. },
  32808. "qty": {
  32809. "description": "数量",
  32810. "type": "integer"
  32811. },
  32812. "userid": {
  32813. "description": "用户id",
  32814. "type": "integer"
  32815. },
  32816. "warehouseid": {
  32817. "description": "仓库ID",
  32818. "type": "integer"
  32819. },
  32820. "warehousename": {
  32821. "description": "仓库名称",
  32822. "type": "string"
  32823. },
  32824. "wrfactortypeid": {
  32825. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32826. "type": "string"
  32827. },
  32828. "wrfactortypename": {
  32829. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32830. "type": "string"
  32831. },
  32832. "wrstandardcode": {
  32833. "description": "现货商品代码",
  32834. "type": "string"
  32835. },
  32836. "wrstandardid": {
  32837. "description": "现货商品ID",
  32838. "type": "integer"
  32839. },
  32840. "wrstandardname": {
  32841. "description": "商品名称",
  32842. "type": "string"
  32843. },
  32844. "wrtypename": {
  32845. "description": "商品",
  32846. "type": "string"
  32847. }
  32848. }
  32849. },
  32850. "models.WrPerformancePlan": {
  32851. "type": "object",
  32852. "required": [
  32853. "userid"
  32854. ],
  32855. "properties": {
  32856. "activatemonth": {
  32857. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  32858. "type": "string"
  32859. },
  32860. "amount": {
  32861. "description": "履约金额(总金额)",
  32862. "type": "number"
  32863. },
  32864. "buyaccountid": {
  32865. "description": "买方账号",
  32866. "type": "integer"
  32867. },
  32868. "buyerfreezeamount": {
  32869. "description": "履约冻结(买履约)",
  32870. "type": "number"
  32871. },
  32872. "buyerfreezeamountremain": {
  32873. "description": "履约冻结剩余(买履约)",
  32874. "type": "number"
  32875. },
  32876. "buyorsell": {
  32877. "description": "买卖方向 0-买 1-卖",
  32878. "type": "integer"
  32879. },
  32880. "buypaidamount": {
  32881. "description": "买方已冻/已扣金额 (已付金额)",
  32882. "type": "number"
  32883. },
  32884. "buyusername": {
  32885. "description": "买方名字",
  32886. "type": "string"
  32887. },
  32888. "contractid": {
  32889. "description": "合同ID",
  32890. "type": "integer"
  32891. },
  32892. "createtime": {
  32893. "description": "创建时间",
  32894. "type": "string"
  32895. },
  32896. "creatorid": {
  32897. "description": "创建人",
  32898. "type": "integer"
  32899. },
  32900. "curstepdeadline": {
  32901. "description": "当前步骤到期时间",
  32902. "type": "string"
  32903. },
  32904. "curstepid": {
  32905. "description": "当前步骤ID",
  32906. "type": "string"
  32907. },
  32908. "curstepname": {
  32909. "description": "当前步骤名称",
  32910. "type": "string"
  32911. },
  32912. "deliverygoodscode": {
  32913. "description": "品种代码",
  32914. "type": "string"
  32915. },
  32916. "deliverygoodsid": {
  32917. "description": "品种ID",
  32918. "type": "integer"
  32919. },
  32920. "deliverygoodsname": {
  32921. "description": "品种名称",
  32922. "type": "string"
  32923. },
  32924. "enumdicname": {
  32925. "description": "单位名称",
  32926. "type": "string"
  32927. },
  32928. "expressfee": {
  32929. "description": "运费",
  32930. "type": "number"
  32931. },
  32932. "expressfeeconfirmed": {
  32933. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  32934. "type": "integer"
  32935. },
  32936. "hasovershort": {
  32937. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  32938. "type": "integer"
  32939. },
  32940. "haswr": {
  32941. "description": "类型 0-仓单预售 1-仓单贸易",
  32942. "type": "integer"
  32943. },
  32944. "marketid": {
  32945. "description": "市场ID",
  32946. "type": "integer"
  32947. },
  32948. "middleaccountid": {
  32949. "description": "中间商资金账号ID",
  32950. "type": "integer"
  32951. },
  32952. "middleuserid": {
  32953. "description": "中间商用户ID",
  32954. "type": "integer"
  32955. },
  32956. "minivalue": {
  32957. "description": "现货商品最小变动值",
  32958. "type": "integer"
  32959. },
  32960. "optioncompare": {
  32961. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32962. "type": "string"
  32963. },
  32964. "overshortamount": {
  32965. "description": "溢短金额",
  32966. "type": "number"
  32967. },
  32968. "overshortqty": {
  32969. "description": "溢短数量",
  32970. "type": "number"
  32971. },
  32972. "paymenttype": {
  32973. "description": "付款方式 - 1:冻结 2:扣款",
  32974. "type": "integer"
  32975. },
  32976. "performanceplanid": {
  32977. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  32978. "type": "string"
  32979. },
  32980. "performancestatus": {
  32981. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  32982. "type": "integer"
  32983. },
  32984. "performancetype": {
  32985. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  32986. "type": "integer"
  32987. },
  32988. "qty": {
  32989. "description": "履约数量",
  32990. "type": "number"
  32991. },
  32992. "relatedorderid": {
  32993. "description": "关联单号(履约类型的关联单号)",
  32994. "type": "string"
  32995. },
  32996. "remark": {
  32997. "description": "备注",
  32998. "type": "string"
  32999. },
  33000. "sellaccountid": {
  33001. "description": "卖方账号",
  33002. "type": "integer"
  33003. },
  33004. "sellerfreezeamount": {
  33005. "description": "履约冻结(卖履约)",
  33006. "type": "number"
  33007. },
  33008. "sellerfreezeamountremain": {
  33009. "description": "履约冻结剩余(卖履约)",
  33010. "type": "number"
  33011. },
  33012. "sellreceivedamount": {
  33013. "description": "卖方已收金额",
  33014. "type": "number"
  33015. },
  33016. "sellusername": {
  33017. "description": "卖方名字",
  33018. "type": "string"
  33019. },
  33020. "shipremark": {
  33021. "description": "发货备注[物流单号]",
  33022. "type": "string"
  33023. },
  33024. "starttime": {
  33025. "description": "开始时间",
  33026. "type": "string"
  33027. },
  33028. "steptypeid": {
  33029. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33030. "type": "integer"
  33031. },
  33032. "typename": {
  33033. "description": "履约类型 名称",
  33034. "type": "string"
  33035. },
  33036. "unpaidamount": {
  33037. "description": "剩余款(待支付金额)",
  33038. "type": "number"
  33039. },
  33040. "userid": {
  33041. "description": "用户id",
  33042. "type": "integer"
  33043. },
  33044. "warehouseid": {
  33045. "description": "仓库ID",
  33046. "type": "integer"
  33047. },
  33048. "warehousename": {
  33049. "description": "仓库名称",
  33050. "type": "string"
  33051. },
  33052. "wrfactortypeid": {
  33053. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33054. "type": "string"
  33055. },
  33056. "wrfactortypename": {
  33057. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33058. "type": "string"
  33059. },
  33060. "wrstandardcode": {
  33061. "description": "现货商品代码",
  33062. "type": "string"
  33063. },
  33064. "wrstandardid": {
  33065. "description": "现货商品ID",
  33066. "type": "integer"
  33067. },
  33068. "wrstandardname": {
  33069. "description": "商品名称",
  33070. "type": "string"
  33071. },
  33072. "wrtransferuserid": {
  33073. "description": "仓单受让用户",
  33074. "type": "integer"
  33075. },
  33076. "wrtypename": {
  33077. "description": "商品",
  33078. "type": "string"
  33079. }
  33080. }
  33081. },
  33082. "models.WrPerformancePlanStep": {
  33083. "type": "object",
  33084. "properties": {
  33085. "delaydays": {
  33086. "description": "延期申请天数",
  33087. "type": "integer"
  33088. },
  33089. "deliverygoodscode": {
  33090. "description": "品种代码",
  33091. "type": "string"
  33092. },
  33093. "deliverygoodsid": {
  33094. "description": "品种ID",
  33095. "type": "integer"
  33096. },
  33097. "deliverygoodsname": {
  33098. "description": "品种名称",
  33099. "type": "string"
  33100. },
  33101. "endtime": {
  33102. "description": "结束日期",
  33103. "type": "string"
  33104. },
  33105. "enumdicname": {
  33106. "description": "单位名称",
  33107. "type": "string"
  33108. },
  33109. "executeside": {
  33110. "description": "步骤执行方 - 1:买方 2:卖方",
  33111. "type": "integer"
  33112. },
  33113. "handlestatus": {
  33114. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  33115. "type": "integer"
  33116. },
  33117. "isauto": {
  33118. "description": "是否自动 - 0:不自动 1:自动",
  33119. "type": "integer"
  33120. },
  33121. "islastreceivestep": {
  33122. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  33123. "type": "integer"
  33124. },
  33125. "minivalue": {
  33126. "description": "现货商品最小变动值",
  33127. "type": "integer"
  33128. },
  33129. "optioncompare": {
  33130. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33131. "type": "string"
  33132. },
  33133. "overdays": {
  33134. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  33135. "type": "integer"
  33136. },
  33137. "performancestepid": {
  33138. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  33139. "type": "string"
  33140. },
  33141. "planid": {
  33142. "description": "所属履约计划ID",
  33143. "type": "string"
  33144. },
  33145. "realamount": {
  33146. "description": "实际完成金额",
  33147. "type": "number"
  33148. },
  33149. "relatedorderid": {
  33150. "description": "关联单号",
  33151. "type": "string"
  33152. },
  33153. "remaindays": {
  33154. "description": "剩余天数",
  33155. "type": "integer"
  33156. },
  33157. "remark": {
  33158. "description": "错误备注",
  33159. "type": "string"
  33160. },
  33161. "starttime": {
  33162. "description": "开始日期",
  33163. "type": "string"
  33164. },
  33165. "stepamount": {
  33166. "description": "步骤金额",
  33167. "type": "number"
  33168. },
  33169. "stepdays": {
  33170. "description": "距离上一步天数(分钟)",
  33171. "type": "integer"
  33172. },
  33173. "stepindex": {
  33174. "description": "步骤序号",
  33175. "type": "integer"
  33176. },
  33177. "steplanchtype": {
  33178. "description": "步骤启动类型 - 1:系统自动 2:手动",
  33179. "type": "integer"
  33180. },
  33181. "stepremark": {
  33182. "description": "步骤备注",
  33183. "type": "string"
  33184. },
  33185. "stepstatus": {
  33186. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  33187. "type": "integer"
  33188. },
  33189. "steptypeid": {
  33190. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33191. "type": "integer"
  33192. },
  33193. "steptypename": {
  33194. "description": "步骤名称",
  33195. "type": "string"
  33196. },
  33197. "stepvalue": {
  33198. "description": "步骤值",
  33199. "type": "number"
  33200. },
  33201. "warehouseid": {
  33202. "description": "仓库ID",
  33203. "type": "integer"
  33204. },
  33205. "warehousename": {
  33206. "description": "仓库名称",
  33207. "type": "string"
  33208. },
  33209. "wrfactortypeid": {
  33210. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33211. "type": "string"
  33212. },
  33213. "wrfactortypename": {
  33214. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33215. "type": "string"
  33216. },
  33217. "wrstandardcode": {
  33218. "description": "现货商品代码",
  33219. "type": "string"
  33220. },
  33221. "wrstandardid": {
  33222. "description": "现货商品ID",
  33223. "type": "integer"
  33224. },
  33225. "wrstandardname": {
  33226. "description": "商品名称",
  33227. "type": "string"
  33228. },
  33229. "wrtypename": {
  33230. "description": "商品",
  33231. "type": "string"
  33232. }
  33233. }
  33234. },
  33235. "models.WrPerformanceStepType": {
  33236. "type": "object",
  33237. "properties": {
  33238. "canauto": {
  33239. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  33240. "type": "integer"
  33241. },
  33242. "steptypeid": {
  33243. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  33244. "type": "integer"
  33245. },
  33246. "steptypename": {
  33247. "description": "步骤类型名称",
  33248. "type": "string"
  33249. }
  33250. }
  33251. },
  33252. "models.WrPerformanceTemplateEx": {
  33253. "type": "object",
  33254. "properties": {
  33255. "autoid": {
  33256. "description": "AutoID 模板id",
  33257. "type": "integer"
  33258. },
  33259. "createtime": {
  33260. "description": "创建时间",
  33261. "type": "string"
  33262. },
  33263. "creatorid": {
  33264. "description": "创建人",
  33265. "type": "integer"
  33266. },
  33267. "lstStep": {
  33268. "description": "步骤信息列表",
  33269. "type": "array",
  33270. "items": {
  33271. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33272. }
  33273. },
  33274. "paymenttype": {
  33275. "description": "支付方式 - 1:冻结 2:扣款",
  33276. "type": "integer"
  33277. },
  33278. "takemode": {
  33279. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  33280. "type": "integer"
  33281. },
  33282. "templatename": {
  33283. "description": "模板名称",
  33284. "type": "string"
  33285. },
  33286. "templatetype": {
  33287. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  33288. "type": "integer"
  33289. },
  33290. "userid": {
  33291. "description": "所属用户",
  33292. "type": "integer"
  33293. }
  33294. }
  33295. },
  33296. "models.WrPosition": {
  33297. "type": "object",
  33298. "properties": {
  33299. "accountid": {
  33300. "description": "帐户ID",
  33301. "type": "integer"
  33302. },
  33303. "buyexcuteqty": {
  33304. "description": "采购履约中数量",
  33305. "type": "number"
  33306. },
  33307. "creditcurqty": {
  33308. "description": "授信当前数量(预售仓单:预售当前量)",
  33309. "type": "number"
  33310. },
  33311. "creditenableqty": {
  33312. "description": "授信可用数量(预售仓单: 可用数量)",
  33313. "type": "number"
  33314. },
  33315. "creditfreezeqty": {
  33316. "description": "授信冻结数量(预售仓单: 当前数量)",
  33317. "type": "number"
  33318. },
  33319. "credittotalqty": {
  33320. "description": "授信总数量(预售仓单:预售总量)",
  33321. "type": "number"
  33322. },
  33323. "credittradeqty": {
  33324. "description": "授信成交数量(预售仓单:成交总量)",
  33325. "type": "number"
  33326. },
  33327. "deliverygoodscode": {
  33328. "description": "品种代码",
  33329. "type": "string"
  33330. },
  33331. "deliverygoodsid": {
  33332. "description": "品种ID",
  33333. "type": "integer"
  33334. },
  33335. "deliverygoodsname": {
  33336. "description": "品种名称",
  33337. "type": "string"
  33338. },
  33339. "enalbeqty": {
  33340. "description": "可用数量",
  33341. "type": "number"
  33342. },
  33343. "enumdicname": {
  33344. "description": "单位名称",
  33345. "type": "string"
  33346. },
  33347. "freezeqty": {
  33348. "description": "总冻结数量",
  33349. "type": "number"
  33350. },
  33351. "haswr": {
  33352. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  33353. "type": "integer"
  33354. },
  33355. "minivalue": {
  33356. "description": "现货商品最小变动值",
  33357. "type": "integer"
  33358. },
  33359. "modifytime": {
  33360. "description": "修改时间(过户时间)",
  33361. "type": "string"
  33362. },
  33363. "optioncompare": {
  33364. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33365. "type": "string"
  33366. },
  33367. "pledgeqty": {
  33368. "description": "质押数量",
  33369. "type": "number"
  33370. },
  33371. "querytype": {
  33372. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  33373. "type": "integer"
  33374. },
  33375. "sellexcuteqty": {
  33376. "description": "销售履约中数量",
  33377. "type": "number"
  33378. },
  33379. "totalqty": {
  33380. "description": "总数量(库存数量)",
  33381. "type": "number"
  33382. },
  33383. "warehouseid": {
  33384. "description": "仓库ID",
  33385. "type": "integer"
  33386. },
  33387. "warehousename": {
  33388. "description": "仓库名称",
  33389. "type": "string"
  33390. },
  33391. "wrfactortypeid": {
  33392. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33393. "type": "string"
  33394. },
  33395. "wrfactortypename": {
  33396. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33397. "type": "string"
  33398. },
  33399. "wrpositionid": {
  33400. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  33401. "type": "string"
  33402. },
  33403. "wrpositionno": {
  33404. "description": "仓单编号",
  33405. "type": "string"
  33406. },
  33407. "wrstandardcode": {
  33408. "description": "现货商品代码",
  33409. "type": "string"
  33410. },
  33411. "wrstandardid": {
  33412. "description": "现货商品ID",
  33413. "type": "integer"
  33414. },
  33415. "wrstandardname": {
  33416. "description": "商品名称",
  33417. "type": "string"
  33418. },
  33419. "wrtypename": {
  33420. "description": "商品",
  33421. "type": "string"
  33422. },
  33423. "wruserid": {
  33424. "description": "持有人ID",
  33425. "type": "integer"
  33426. }
  33427. }
  33428. },
  33429. "models.WrQuoteOrderMyq": {
  33430. "type": "object",
  33431. "properties": {
  33432. "buyorsell": {
  33433. "description": "买卖 - 0:买 1:卖",
  33434. "type": "integer"
  33435. },
  33436. "canbargain": {
  33437. "description": "是否可议价 - 0:不可 1:可",
  33438. "type": "integer"
  33439. },
  33440. "canpart": {
  33441. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  33442. "type": "integer"
  33443. },
  33444. "delistminqty": {
  33445. "description": "起摘数量",
  33446. "type": "number"
  33447. },
  33448. "deliverygoodscode": {
  33449. "description": "品种代码",
  33450. "type": "string"
  33451. },
  33452. "deliverygoodsid": {
  33453. "description": "品种ID",
  33454. "type": "integer"
  33455. },
  33456. "deliverygoodsname": {
  33457. "description": "品种名称",
  33458. "type": "string"
  33459. },
  33460. "deliverymonth": {
  33461. "description": "交收月",
  33462. "type": "string"
  33463. },
  33464. "enumdicname": {
  33465. "description": "单位名称",
  33466. "type": "string"
  33467. },
  33468. "fixedprice": {
  33469. "description": "买(卖)价",
  33470. "type": "number"
  33471. },
  33472. "goodscode": {
  33473. "description": "商品合约代码",
  33474. "type": "string"
  33475. },
  33476. "marginflag": {
  33477. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  33478. "type": "integer"
  33479. },
  33480. "marginvalue": {
  33481. "description": "保证金设置值",
  33482. "type": "number"
  33483. },
  33484. "minivalue": {
  33485. "description": "现货商品最小变动值",
  33486. "type": "integer"
  33487. },
  33488. "orderqty": {
  33489. "description": "买(卖)量(=委托量-成交量)",
  33490. "type": "number"
  33491. },
  33492. "ordertime": {
  33493. "description": "委托时间",
  33494. "type": "string"
  33495. },
  33496. "performancetemplateid": {
  33497. "description": "履约模板id",
  33498. "type": "integer"
  33499. },
  33500. "pricemove": {
  33501. "description": "买(卖)升贴水- 基差",
  33502. "type": "number"
  33503. },
  33504. "templatename": {
  33505. "description": "履约模板名称",
  33506. "type": "string"
  33507. },
  33508. "userid": {
  33509. "description": "购买方(销售方)用户ID",
  33510. "type": "integer"
  33511. },
  33512. "username": {
  33513. "description": "购买方(销售方)",
  33514. "type": "string"
  33515. },
  33516. "validtime": {
  33517. "description": "有效期限",
  33518. "type": "string"
  33519. },
  33520. "validtype": {
  33521. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  33522. "type": "integer"
  33523. },
  33524. "warehousename": {
  33525. "description": "仓库名称",
  33526. "type": "string"
  33527. },
  33528. "wrfactortypeid": {
  33529. "description": "仓单要素id",
  33530. "type": "string"
  33531. },
  33532. "wrstandardcode": {
  33533. "description": "现货商品代码",
  33534. "type": "string"
  33535. },
  33536. "wrstandardid": {
  33537. "description": "现货商品ID",
  33538. "type": "integer"
  33539. },
  33540. "wrstandardname": {
  33541. "description": "商品名称",
  33542. "type": "string"
  33543. },
  33544. "wrtradeorderid": {
  33545. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33546. "type": "string"
  33547. },
  33548. "wrtypename": {
  33549. "description": "商品",
  33550. "type": "string"
  33551. }
  33552. }
  33553. },
  33554. "models.WrScfContract": {
  33555. "type": "object",
  33556. "properties": {
  33557. "borroweruserid": {
  33558. "description": "借款用户ID",
  33559. "type": "integer"
  33560. },
  33561. "buybackwrpositionqty": {
  33562. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  33563. "type": "number"
  33564. },
  33565. "closeinterest": {
  33566. "description": "已结利息 -\u003e 已结费用",
  33567. "type": "number"
  33568. },
  33569. "currisklevel": {
  33570. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33571. "type": "integer"
  33572. },
  33573. "deadline": {
  33574. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  33575. "type": "string"
  33576. },
  33577. "deliverygoodscode": {
  33578. "description": "品种代码",
  33579. "type": "string"
  33580. },
  33581. "deliverygoodsid": {
  33582. "description": "品种ID",
  33583. "type": "integer"
  33584. },
  33585. "deliverygoodsname": {
  33586. "description": "品种名称",
  33587. "type": "string"
  33588. },
  33589. "enumdicname": {
  33590. "description": "单位名称",
  33591. "type": "string"
  33592. },
  33593. "financingdays": {
  33594. "description": "天数(天)",
  33595. "type": "integer"
  33596. },
  33597. "initmargin": {
  33598. "description": "保证金 - [仓单回购]",
  33599. "type": "number"
  33600. },
  33601. "interestamount": {
  33602. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  33603. "type": "number"
  33604. },
  33605. "interestdebt": {
  33606. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  33607. "type": "number"
  33608. },
  33609. "interestminlen": {
  33610. "description": "最小起息天数",
  33611. "type": "integer"
  33612. },
  33613. "interestrate": {
  33614. "description": "利率",
  33615. "type": "number"
  33616. },
  33617. "interestratemode": {
  33618. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33619. "type": "integer"
  33620. },
  33621. "interestsettlemode": {
  33622. "description": "结息方式 - 1:按日结息 3:按月结息",
  33623. "type": "integer"
  33624. },
  33625. "interestsettlevalue": {
  33626. "description": "结息方式值",
  33627. "type": "integer"
  33628. },
  33629. "isautoloan": {
  33630. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  33631. "type": "integer"
  33632. },
  33633. "lastcloseinterestday": {
  33634. "description": "最近结息日(yyyyMMdd)",
  33635. "type": "string"
  33636. },
  33637. "lenderamount": {
  33638. "description": "贷款金额 -\u003e 借款金额",
  33639. "type": "number"
  33640. },
  33641. "lenderuserid": {
  33642. "description": "贷款方用户ID -\u003e 融出方用户ID",
  33643. "type": "integer"
  33644. },
  33645. "lenderusername": {
  33646. "description": "融出方",
  33647. "type": "string"
  33648. },
  33649. "marginratio": {
  33650. "description": "保证金比率质押率 - [仓单质押]",
  33651. "type": "number"
  33652. },
  33653. "marketid": {
  33654. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  33655. "type": "integer"
  33656. },
  33657. "minivalue": {
  33658. "description": "现货商品最小变动值",
  33659. "type": "integer"
  33660. },
  33661. "optioncompare": {
  33662. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33663. "type": "string"
  33664. },
  33665. "pricemove": {
  33666. "description": "估值升贴水值",
  33667. "type": "number"
  33668. },
  33669. "productdetailid": {
  33670. "description": "产品组合ID",
  33671. "type": "integer"
  33672. },
  33673. "productid": {
  33674. "description": "金融产品ID",
  33675. "type": "integer"
  33676. },
  33677. "productname": {
  33678. "description": "产品名称",
  33679. "type": "string"
  33680. },
  33681. "remainamount": {
  33682. "description": "合同剩余金额 -\u003e 剩余金额",
  33683. "type": "number"
  33684. },
  33685. "remainwrpositionqty": {
  33686. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  33687. "type": "number"
  33688. },
  33689. "remark": {
  33690. "description": "备注",
  33691. "type": "string"
  33692. },
  33693. "scfcontractid": {
  33694. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33695. "type": "string"
  33696. },
  33697. "scfcontractstatus": {
  33698. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  33699. "type": "integer"
  33700. },
  33701. "scfcontracttype": {
  33702. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  33703. "type": "integer"
  33704. },
  33705. "startinterestday": {
  33706. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  33707. "type": "string"
  33708. },
  33709. "totalinterest": {
  33710. "description": "已计利息 -\u003e 已计费用",
  33711. "type": "number"
  33712. },
  33713. "unpaidinterest": {
  33714. "description": "未结费用",
  33715. "type": "number"
  33716. },
  33717. "updatetime": {
  33718. "description": "更新时间",
  33719. "type": "string"
  33720. },
  33721. "warehouseid": {
  33722. "description": "仓库ID",
  33723. "type": "integer"
  33724. },
  33725. "warehousename": {
  33726. "description": "仓库名称",
  33727. "type": "string"
  33728. },
  33729. "wrfactortypeid": {
  33730. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33731. "type": "string"
  33732. },
  33733. "wrfactortypename": {
  33734. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33735. "type": "string"
  33736. },
  33737. "wrqty": {
  33738. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  33739. "type": "number"
  33740. },
  33741. "wrstandardcode": {
  33742. "description": "现货商品代码",
  33743. "type": "string"
  33744. },
  33745. "wrstandardid": {
  33746. "description": "现货商品ID",
  33747. "type": "integer"
  33748. },
  33749. "wrstandardname": {
  33750. "description": "商品名称",
  33751. "type": "string"
  33752. },
  33753. "wrtypename": {
  33754. "description": "商品",
  33755. "type": "string"
  33756. }
  33757. }
  33758. },
  33759. "models.WrScfContractInterest": {
  33760. "type": "object",
  33761. "properties": {
  33762. "closeinterest": {
  33763. "description": "已结利息",
  33764. "type": "number"
  33765. },
  33766. "closeintereststatus": {
  33767. "description": "结息状态 - 1:未结 2:已结",
  33768. "type": "integer"
  33769. },
  33770. "closetime": {
  33771. "description": "结息时间",
  33772. "type": "string"
  33773. },
  33774. "closetradedate": {
  33775. "description": "结息交易日",
  33776. "type": "string"
  33777. },
  33778. "creatorid": {
  33779. "description": "操作人ID",
  33780. "type": "integer"
  33781. },
  33782. "dayrate": {
  33783. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  33784. "type": "number"
  33785. },
  33786. "interest": {
  33787. "description": "利息",
  33788. "type": "number"
  33789. },
  33790. "interestamount": {
  33791. "description": "计息金额",
  33792. "type": "number"
  33793. },
  33794. "interestday": {
  33795. "description": "计息日(yyyyMMdd)",
  33796. "type": "string"
  33797. },
  33798. "scfcontractid": {
  33799. "description": "SCF合同ID",
  33800. "type": "string"
  33801. },
  33802. "scfcontractinterestid": {
  33803. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  33804. "type": "integer"
  33805. },
  33806. "updatetime": {
  33807. "description": "更新时间",
  33808. "type": "string"
  33809. }
  33810. }
  33811. },
  33812. "models.WrSpecialMatchOrder": {
  33813. "type": "object",
  33814. "properties": {
  33815. "amount": {
  33816. "description": "金额 = 数量 * 价格",
  33817. "type": "number"
  33818. },
  33819. "buyorsell": {
  33820. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  33821. "type": "integer"
  33822. },
  33823. "cancelqty": {
  33824. "description": "撤销数量",
  33825. "type": "number"
  33826. },
  33827. "deliverygoodscode": {
  33828. "description": "品种代码",
  33829. "type": "string"
  33830. },
  33831. "deliverygoodsid": {
  33832. "description": "品种ID",
  33833. "type": "integer"
  33834. },
  33835. "deliverygoodsname": {
  33836. "description": "品种名称",
  33837. "type": "string"
  33838. },
  33839. "enumdicname": {
  33840. "description": "单位名称",
  33841. "type": "string"
  33842. },
  33843. "fixedprice": {
  33844. "description": "固定价格(价格)",
  33845. "type": "number"
  33846. },
  33847. "haswr": {
  33848. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  33849. "type": "integer"
  33850. },
  33851. "marketid": {
  33852. "description": "市场ID",
  33853. "type": "integer"
  33854. },
  33855. "matchuserid": {
  33856. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  33857. "type": "integer"
  33858. },
  33859. "matchusername": {
  33860. "description": "指定方",
  33861. "type": "string"
  33862. },
  33863. "minivalue": {
  33864. "description": "现货商品最小变动值",
  33865. "type": "integer"
  33866. },
  33867. "optioncompare": {
  33868. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33869. "type": "string"
  33870. },
  33871. "orderqty": {
  33872. "description": "委托数量",
  33873. "type": "number"
  33874. },
  33875. "ordertime": {
  33876. "description": "委托时间",
  33877. "type": "string"
  33878. },
  33879. "pricemove": {
  33880. "description": "升贴水(浮动价时填写) - [挂牌]",
  33881. "type": "number"
  33882. },
  33883. "tradedate": {
  33884. "description": "交易日(yyyyMMdd)",
  33885. "type": "string"
  33886. },
  33887. "tradeprice": {
  33888. "description": "成交价格",
  33889. "type": "number"
  33890. },
  33891. "tradeqty": {
  33892. "description": "成交数量",
  33893. "type": "number"
  33894. },
  33895. "userid": {
  33896. "description": "用户ID",
  33897. "type": "integer"
  33898. },
  33899. "username": {
  33900. "description": "发起方",
  33901. "type": "string"
  33902. },
  33903. "warehouseid": {
  33904. "description": "仓库ID",
  33905. "type": "integer"
  33906. },
  33907. "warehousename": {
  33908. "description": "仓库名称",
  33909. "type": "string"
  33910. },
  33911. "wrfactortypeid": {
  33912. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33913. "type": "string"
  33914. },
  33915. "wrfactortypename": {
  33916. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33917. "type": "string"
  33918. },
  33919. "wrpricetype": {
  33920. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  33921. "type": "integer"
  33922. },
  33923. "wrstandardcode": {
  33924. "description": "现货商品代码",
  33925. "type": "string"
  33926. },
  33927. "wrstandardid": {
  33928. "description": "现货商品ID",
  33929. "type": "integer"
  33930. },
  33931. "wrstandardname": {
  33932. "description": "商品名称",
  33933. "type": "string"
  33934. },
  33935. "wrtradeorderid": {
  33936. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33937. "type": "string"
  33938. },
  33939. "wrtradeorderstatus": {
  33940. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  33941. "type": "integer"
  33942. },
  33943. "wrtradetype": {
  33944. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33945. "type": "integer"
  33946. },
  33947. "wrtypename": {
  33948. "description": "商品",
  33949. "type": "string"
  33950. }
  33951. }
  33952. },
  33953. "models.WrStandardFactoryItem": {
  33954. "type": "object",
  33955. "properties": {
  33956. "dgfactoryitemid": {
  33957. "description": "选择项id",
  33958. "type": "integer"
  33959. },
  33960. "dgfactoryitemvalue": {
  33961. "description": "要素项值",
  33962. "type": "string"
  33963. },
  33964. "warehouseid": {
  33965. "description": "仓库id",
  33966. "type": "integer"
  33967. }
  33968. }
  33969. },
  33970. "models.WrStandardFactoryItemEx": {
  33971. "type": "object",
  33972. "properties": {
  33973. "dgfactoryitemtypeid": {
  33974. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  33975. "type": "integer"
  33976. },
  33977. "itemlst": {
  33978. "description": "要素项列表",
  33979. "type": "array",
  33980. "items": {
  33981. "$ref": "#/definitions/models.WrStandardFactoryItem"
  33982. }
  33983. },
  33984. "itemtypename": {
  33985. "description": "要素项类型名称",
  33986. "type": "string"
  33987. },
  33988. "wrstandardid": {
  33989. "description": "品类",
  33990. "type": "integer"
  33991. }
  33992. }
  33993. },
  33994. "models.WrTradeDetail": {
  33995. "type": "object",
  33996. "properties": {
  33997. "accountid": {
  33998. "description": "资金账号",
  33999. "type": "integer"
  34000. },
  34001. "buyorsell": {
  34002. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34003. "type": "integer"
  34004. },
  34005. "deliverygoodscode": {
  34006. "description": "品种代码",
  34007. "type": "string"
  34008. },
  34009. "deliverygoodsid": {
  34010. "description": "品种ID",
  34011. "type": "integer"
  34012. },
  34013. "deliverygoodsname": {
  34014. "description": "品种名称",
  34015. "type": "string"
  34016. },
  34017. "deliverymonth": {
  34018. "description": "交收月",
  34019. "type": "string"
  34020. },
  34021. "enumdicname": {
  34022. "description": "单位名称",
  34023. "type": "string"
  34024. },
  34025. "haswr": {
  34026. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34027. "type": "integer"
  34028. },
  34029. "marketid": {
  34030. "description": "市场ID",
  34031. "type": "integer"
  34032. },
  34033. "matchaccountid": {
  34034. "description": "对手账号",
  34035. "type": "integer"
  34036. },
  34037. "matchusername": {
  34038. "description": "对手方",
  34039. "type": "string"
  34040. },
  34041. "minivalue": {
  34042. "description": "现货商品最小变动值",
  34043. "type": "integer"
  34044. },
  34045. "optioncompare": {
  34046. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34047. "type": "string"
  34048. },
  34049. "tradedate": {
  34050. "description": "交易日(yyyyMMdd)",
  34051. "type": "string"
  34052. },
  34053. "tradeprice": {
  34054. "description": "成交价格",
  34055. "type": "number"
  34056. },
  34057. "tradeqty": {
  34058. "description": "成交数量",
  34059. "type": "number"
  34060. },
  34061. "tradetime": {
  34062. "description": "成交时间",
  34063. "type": "string"
  34064. },
  34065. "userid": {
  34066. "description": "用户ID",
  34067. "type": "integer"
  34068. },
  34069. "warehouseid": {
  34070. "description": "仓库ID",
  34071. "type": "integer"
  34072. },
  34073. "warehousename": {
  34074. "description": "仓库名称",
  34075. "type": "string"
  34076. },
  34077. "wrfactortypeid": {
  34078. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34079. "type": "string"
  34080. },
  34081. "wrfactortypename": {
  34082. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34083. "type": "string"
  34084. },
  34085. "wrstandardcode": {
  34086. "description": "现货商品代码",
  34087. "type": "string"
  34088. },
  34089. "wrstandardid": {
  34090. "description": "现货商品ID",
  34091. "type": "integer"
  34092. },
  34093. "wrstandardname": {
  34094. "description": "商品名称",
  34095. "type": "string"
  34096. },
  34097. "wrtradedetailid": {
  34098. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  34099. "type": "string"
  34100. },
  34101. "wrtradetype": {
  34102. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34103. "type": "integer"
  34104. },
  34105. "wrtypename": {
  34106. "description": "商品",
  34107. "type": "string"
  34108. }
  34109. }
  34110. },
  34111. "models.WrTradeOrderDetail": {
  34112. "type": "object",
  34113. "properties": {
  34114. "buyorsell": {
  34115. "description": "买卖方向 0-买 1-卖",
  34116. "type": "integer"
  34117. },
  34118. "goodsid": {
  34119. "description": "商品id",
  34120. "type": "integer"
  34121. },
  34122. "orderid": {
  34123. "description": "委托单号",
  34124. "type": "string"
  34125. },
  34126. "orderprice": {
  34127. "description": "委托价格",
  34128. "type": "number"
  34129. },
  34130. "orderqty": {
  34131. "description": "委托数量",
  34132. "type": "integer"
  34133. },
  34134. "userid": {
  34135. "description": "用户id",
  34136. "type": "integer"
  34137. },
  34138. "username": {
  34139. "description": "用户名称(已脱敏)",
  34140. "type": "string"
  34141. }
  34142. }
  34143. },
  34144. "models.WrTypeItem": {
  34145. "type": "object",
  34146. "properties": {
  34147. "name": {
  34148. "description": "名称",
  34149. "type": "string"
  34150. },
  34151. "value": {
  34152. "description": "值",
  34153. "type": "string"
  34154. }
  34155. }
  34156. },
  34157. "models.WrUserFriend": {
  34158. "type": "object",
  34159. "properties": {
  34160. "friendname": {
  34161. "description": "朋友名称(已脱敏)",
  34162. "type": "string"
  34163. },
  34164. "frienduserid": {
  34165. "description": "朋友id",
  34166. "type": "integer"
  34167. },
  34168. "isfriend": {
  34169. "description": "是否好友 0-不是 1-是",
  34170. "type": "integer"
  34171. },
  34172. "userid": {
  34173. "description": "用户id",
  34174. "type": "integer"
  34175. }
  34176. }
  34177. },
  34178. "order.QueryHisTradeDetailRsp": {
  34179. "type": "object",
  34180. "required": [
  34181. "accountid",
  34182. "buyorsell",
  34183. "goodsid",
  34184. "histradedate",
  34185. "marketid",
  34186. "memberuserid",
  34187. "orderid",
  34188. "tradeamount",
  34189. "tradedate",
  34190. "tradeid",
  34191. "tradeprice",
  34192. "tradeqty",
  34193. "tradetime"
  34194. ],
  34195. "properties": {
  34196. "accountid": {
  34197. "description": "账户ID[报价币种]",
  34198. "type": "integer"
  34199. },
  34200. "advanceratio": {
  34201. "description": "首付比率",
  34202. "type": "number"
  34203. },
  34204. "buildtype": {
  34205. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  34206. "type": "integer"
  34207. },
  34208. "buyorsell": {
  34209. "description": "方向 - 0:买 1:卖",
  34210. "type": "integer"
  34211. },
  34212. "charge": {
  34213. "description": "手续费",
  34214. "type": "number"
  34215. },
  34216. "closecharge": {
  34217. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34218. "type": "number"
  34219. },
  34220. "closeexchagechargevalue": {
  34221. "description": "平仓交易所手续费设置值",
  34222. "type": "number"
  34223. },
  34224. "closefeealgorithm": {
  34225. "description": "平仓手续费收取方式 1:比率 2:固定",
  34226. "type": "integer"
  34227. },
  34228. "closememberchargevalue": {
  34229. "description": "平仓会员手续费设置值",
  34230. "type": "number"
  34231. },
  34232. "closepl": {
  34233. "description": "平仓盈亏",
  34234. "type": "number"
  34235. },
  34236. "closepl2": {
  34237. "description": "平仓盈亏[逐笔]",
  34238. "type": "number"
  34239. },
  34240. "closeqty": {
  34241. "description": "平仓数量(先建后平操作 需要记录)",
  34242. "type": "number"
  34243. },
  34244. "creditamount": {
  34245. "description": "授信金额",
  34246. "type": "number"
  34247. },
  34248. "decimalplace": {
  34249. "description": "商品报价小数位",
  34250. "type": "integer"
  34251. },
  34252. "enumdicname": {
  34253. "description": "单位名称",
  34254. "type": "string"
  34255. },
  34256. "gcaccountid": {
  34257. "description": "账户ID[合约币种]",
  34258. "type": "integer"
  34259. },
  34260. "goodscode": {
  34261. "description": "商品代码",
  34262. "type": "string"
  34263. },
  34264. "goodsid": {
  34265. "description": "商品ID",
  34266. "type": "integer"
  34267. },
  34268. "goodsname": {
  34269. "description": "商品名称",
  34270. "type": "string"
  34271. },
  34272. "goodunitid": {
  34273. "description": "商品单位id",
  34274. "type": "integer"
  34275. },
  34276. "histradedate": {
  34277. "description": "历史交易日",
  34278. "type": "string"
  34279. },
  34280. "intclosepl": {
  34281. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  34282. "type": "integer"
  34283. },
  34284. "isconfirmexercise": {
  34285. "description": "是否确认行权- 0:否 1:是",
  34286. "type": "integer"
  34287. },
  34288. "ismain": {
  34289. "description": "是否主单 - 0:不是 1:是",
  34290. "type": "integer"
  34291. },
  34292. "ispreexercise": {
  34293. "description": "是否预申报- 0:否 1:是",
  34294. "type": "integer"
  34295. },
  34296. "isreckoned": {
  34297. "description": "是否结算 - 0:未结算 1:已结算",
  34298. "type": "integer"
  34299. },
  34300. "isvaliddata": {
  34301. "description": "是否有效 - 0:无效 1:有效",
  34302. "type": "integer"
  34303. },
  34304. "listingselecttype": {
  34305. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  34306. "type": "integer"
  34307. },
  34308. "marketid": {
  34309. "description": "市场ID",
  34310. "type": "integer"
  34311. },
  34312. "marketname": {
  34313. "description": "市场名称",
  34314. "type": "string"
  34315. },
  34316. "matchaccountid": {
  34317. "description": "对手账号id",
  34318. "type": "integer"
  34319. },
  34320. "memberuserid": {
  34321. "description": "会员id 个人投资者 需要填写",
  34322. "type": "integer"
  34323. },
  34324. "opencharge": {
  34325. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34326. "type": "number"
  34327. },
  34328. "openexchagechargevalue": {
  34329. "description": "建仓交易所手续费设置值",
  34330. "type": "number"
  34331. },
  34332. "openfeealgorithm": {
  34333. "description": "建仓手续费收取方式 1:比率 2:固定",
  34334. "type": "integer"
  34335. },
  34336. "openmemberchargevalue": {
  34337. "description": "建仓会员手续费设置值",
  34338. "type": "number"
  34339. },
  34340. "openqty": {
  34341. "description": "开仓数量(先建后平操作 需要记录)",
  34342. "type": "number"
  34343. },
  34344. "optiontype": {
  34345. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  34346. "type": "integer"
  34347. },
  34348. "orderid": {
  34349. "description": "委托单号",
  34350. "type": "string"
  34351. },
  34352. "payamount": {
  34353. "description": "支付金额(付款金额)",
  34354. "type": "number"
  34355. },
  34356. "performanceplanid": {
  34357. "description": "履约计划ID[期权]",
  34358. "type": "integer"
  34359. },
  34360. "performancestatus": {
  34361. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  34362. "type": "integer"
  34363. },
  34364. "preexerciseprice": {
  34365. "description": "预申报价格",
  34366. "type": "number"
  34367. },
  34368. "premium": {
  34369. "description": "权利金 - [持仓单的权利金]",
  34370. "type": "number"
  34371. },
  34372. "qtydecimalplace": {
  34373. "description": "商品报价小数位",
  34374. "type": "integer"
  34375. },
  34376. "recvamount": {
  34377. "description": "到账金额 = 成交金额 - 手续费",
  34378. "type": "number"
  34379. },
  34380. "relatedouttradeid": {
  34381. "description": "关联外部成交单ID",
  34382. "type": "integer"
  34383. },
  34384. "status": {
  34385. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  34386. "type": "integer"
  34387. },
  34388. "totalamount": {
  34389. "description": "订单总额 = 成交金额 + 手续费",
  34390. "type": "number"
  34391. },
  34392. "tradeamount": {
  34393. "description": "成交金额[账户币种,用于所有权]",
  34394. "type": "number"
  34395. },
  34396. "tradedate": {
  34397. "description": "交易日(yyyyMMdd)",
  34398. "type": "string"
  34399. },
  34400. "tradeid": {
  34401. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34402. "type": "string"
  34403. },
  34404. "trademode": {
  34405. "description": "交易模式",
  34406. "type": "integer"
  34407. },
  34408. "tradeprice": {
  34409. "description": "成交价格",
  34410. "type": "number"
  34411. },
  34412. "tradeproperty": {
  34413. "description": "交易属性",
  34414. "type": "integer"
  34415. },
  34416. "tradeqty": {
  34417. "description": "成交数量",
  34418. "type": "number"
  34419. },
  34420. "tradetime": {
  34421. "description": "成交时间",
  34422. "type": "string"
  34423. },
  34424. "tradetype": {
  34425. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  34426. "type": "integer"
  34427. }
  34428. }
  34429. },
  34430. "order.QueryHisTradeOrderDetailRsp": {
  34431. "type": "object",
  34432. "required": [
  34433. "accountid",
  34434. "buildtype",
  34435. "buyorsell",
  34436. "goodsid",
  34437. "histradedate",
  34438. "marketid",
  34439. "memberuserid",
  34440. "operatetype",
  34441. "orderid",
  34442. "orderqty",
  34443. "ordertime",
  34444. "pricemode",
  34445. "tradedate",
  34446. "validtype"
  34447. ],
  34448. "properties": {
  34449. "accountid": {
  34450. "description": "账户ID[报价币种]",
  34451. "type": "integer"
  34452. },
  34453. "buildtype": {
  34454. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  34455. "type": "integer"
  34456. },
  34457. "buyorsell": {
  34458. "description": "买卖 - 0:买 1:卖",
  34459. "type": "integer"
  34460. },
  34461. "cancelorderid": {
  34462. "description": "撤单单号(撤单时填写)",
  34463. "type": "string"
  34464. },
  34465. "cancelqty": {
  34466. "description": "撤单数量",
  34467. "type": "number"
  34468. },
  34469. "clientordertime": {
  34470. "description": "客户端委托时间",
  34471. "type": "string"
  34472. },
  34473. "clientticket": {
  34474. "description": "客户端流水号",
  34475. "type": "string"
  34476. },
  34477. "clienttype": {
  34478. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  34479. "type": "integer"
  34480. },
  34481. "closeexchagechargevalue": {
  34482. "description": "平仓交易所手续费设置值",
  34483. "type": "number"
  34484. },
  34485. "closefeealgorithm": {
  34486. "description": "平仓手续费收取方式 1:比率 2:固定",
  34487. "type": "integer"
  34488. },
  34489. "closefreezecharge": {
  34490. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  34491. "type": "number"
  34492. },
  34493. "closememberchargevalue": {
  34494. "description": "平仓会员手续费设置值",
  34495. "type": "number"
  34496. },
  34497. "closeqty": {
  34498. "description": "平仓数量(先建后平操作 需要记录)",
  34499. "type": "number"
  34500. },
  34501. "closetradeqty": {
  34502. "description": "平仓成交数量(先建后平操作,需要记录)",
  34503. "type": "number"
  34504. },
  34505. "closeunfreezecharge": {
  34506. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  34507. "type": "number"
  34508. },
  34509. "decimalplace": {
  34510. "description": "商品报价小数位",
  34511. "type": "integer"
  34512. },
  34513. "delistingtype": {
  34514. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  34515. "type": "integer"
  34516. },
  34517. "enumdicname": {
  34518. "description": "单位名称",
  34519. "type": "string"
  34520. },
  34521. "freezecharge": {
  34522. "description": "冻结手续费",
  34523. "type": "number"
  34524. },
  34525. "freezemargin": {
  34526. "description": "冻结保证金(冻结交易金额)",
  34527. "type": "number"
  34528. },
  34529. "gcaccountid": {
  34530. "description": "账户ID[合约币种]",
  34531. "type": "integer"
  34532. },
  34533. "goodscode": {
  34534. "description": "商品代码",
  34535. "type": "string"
  34536. },
  34537. "goodsid": {
  34538. "description": "商品ID",
  34539. "type": "integer"
  34540. },
  34541. "goodsname": {
  34542. "description": "商品名称",
  34543. "type": "string"
  34544. },
  34545. "goodunitid": {
  34546. "description": "商品单位id",
  34547. "type": "integer"
  34548. },
  34549. "histradedate": {
  34550. "description": "历史交易日",
  34551. "type": "string"
  34552. },
  34553. "isconfirmexercise": {
  34554. "description": "是否确认行权- 0:否 1:是",
  34555. "type": "integer"
  34556. },
  34557. "ispreexercise": {
  34558. "description": "是否预申报- 0:否 1:是",
  34559. "type": "integer"
  34560. },
  34561. "isvaliddata": {
  34562. "description": "是否有效 - 0:无效 1:有效",
  34563. "type": "integer"
  34564. },
  34565. "listingselecttype": {
  34566. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  34567. "type": "integer"
  34568. },
  34569. "marginalgorithm": {
  34570. "description": "保证金收取方式 1:比率 2:固定",
  34571. "type": "integer"
  34572. },
  34573. "marginvalue": {
  34574. "description": "即市保证金设置值",
  34575. "type": "number"
  34576. },
  34577. "marketid": {
  34578. "description": "市场ID",
  34579. "type": "integer"
  34580. },
  34581. "marketmaxsub": {
  34582. "description": "市价最大偏移范围",
  34583. "type": "number"
  34584. },
  34585. "marketname": {
  34586. "description": "市场名称",
  34587. "type": "string"
  34588. },
  34589. "memberuserid": {
  34590. "description": "所属会员UserID",
  34591. "type": "integer"
  34592. },
  34593. "openexchagechargevalue": {
  34594. "description": "建仓交易所手续费设置值",
  34595. "type": "number"
  34596. },
  34597. "openfeealgorithm": {
  34598. "description": "建仓手续费收取方式 1:比率 2:固定",
  34599. "type": "integer"
  34600. },
  34601. "openfreezecharge": {
  34602. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  34603. "type": "number"
  34604. },
  34605. "openmemberchargevalue": {
  34606. "description": "建仓会员手续费设置值",
  34607. "type": "number"
  34608. },
  34609. "openqty": {
  34610. "description": "开仓数量(先建后平操作,需要记录)",
  34611. "type": "number"
  34612. },
  34613. "opentradeqty": {
  34614. "description": "开仓成交数量(先建后平操作,需要记录)",
  34615. "type": "number"
  34616. },
  34617. "openunfreezecharge": {
  34618. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  34619. "type": "number"
  34620. },
  34621. "operatetype": {
  34622. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  34623. "type": "integer"
  34624. },
  34625. "operatorid": {
  34626. "description": "登录账号(LoginID)",
  34627. "type": "integer"
  34628. },
  34629. "optiontype": {
  34630. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  34631. "type": "integer"
  34632. },
  34633. "orderid": {
  34634. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34635. "type": "string"
  34636. },
  34637. "orderprice": {
  34638. "description": "委托价格",
  34639. "type": "number"
  34640. },
  34641. "orderqty": {
  34642. "description": "委托数量",
  34643. "type": "number"
  34644. },
  34645. "ordersrc": {
  34646. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  34647. "type": "integer"
  34648. },
  34649. "orderstatus": {
  34650. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  34651. "type": "integer"
  34652. },
  34653. "ordertime": {
  34654. "description": "委托时间",
  34655. "type": "string"
  34656. },
  34657. "preexerciseprice": {
  34658. "description": "预申报价格",
  34659. "type": "number"
  34660. },
  34661. "premium": {
  34662. "description": "权利金",
  34663. "type": "number"
  34664. },
  34665. "preorderid": {
  34666. "description": "关联预埋单号(止盈止损单时填写)",
  34667. "type": "string"
  34668. },
  34669. "pricemode": {
  34670. "description": "取价方式 - 1:市价 2: 限价",
  34671. "type": "integer"
  34672. },
  34673. "qtydecimalplace": {
  34674. "description": "成交量小数位",
  34675. "type": "integer"
  34676. },
  34677. "quoteid": {
  34678. "description": "报价单ID",
  34679. "type": "integer"
  34680. },
  34681. "relatedid": {
  34682. "description": "关联单号(交割单)",
  34683. "type": "string"
  34684. },
  34685. "retcode": {
  34686. "description": "错误代码",
  34687. "type": "integer"
  34688. },
  34689. "sessionid": {
  34690. "description": "会话ID",
  34691. "type": "integer"
  34692. },
  34693. "tradedate": {
  34694. "description": "交易日(yyyyMMdd)",
  34695. "type": "string"
  34696. },
  34697. "trademode": {
  34698. "description": "交易模式",
  34699. "type": "integer"
  34700. },
  34701. "tradeproperty": {
  34702. "description": "交易属性",
  34703. "type": "integer"
  34704. },
  34705. "tradeqty": {
  34706. "description": "成交数量",
  34707. "type": "number"
  34708. },
  34709. "unfreezecharge": {
  34710. "description": "解冻手续费",
  34711. "type": "number"
  34712. },
  34713. "unfreezemargin": {
  34714. "description": "解冻保证金",
  34715. "type": "number"
  34716. },
  34717. "updatetime": {
  34718. "description": "更新时间",
  34719. "type": "string"
  34720. },
  34721. "uuid": {
  34722. "description": "发起端唯一id",
  34723. "type": "string"
  34724. },
  34725. "validtime": {
  34726. "description": "有效期限",
  34727. "type": "string"
  34728. },
  34729. "validtype": {
  34730. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  34731. "type": "integer"
  34732. },
  34733. "volumetype": {
  34734. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  34735. "type": "integer"
  34736. }
  34737. }
  34738. },
  34739. "order.QueryTradeDetailRsp": {
  34740. "type": "object",
  34741. "required": [
  34742. "accountid",
  34743. "buyorsell",
  34744. "goodsid",
  34745. "marketid",
  34746. "memberuserid",
  34747. "orderid",
  34748. "tradeamount",
  34749. "tradedate",
  34750. "tradeid",
  34751. "tradeprice",
  34752. "tradeqty",
  34753. "tradetime"
  34754. ],
  34755. "properties": {
  34756. "accountid": {
  34757. "description": "账户ID[报价币种]",
  34758. "type": "integer"
  34759. },
  34760. "advanceratio": {
  34761. "description": "首付比率",
  34762. "type": "number"
  34763. },
  34764. "buildtype": {
  34765. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  34766. "type": "integer"
  34767. },
  34768. "buyorsell": {
  34769. "description": "方向 - 0:买 1:卖",
  34770. "type": "integer"
  34771. },
  34772. "charge": {
  34773. "description": "手续费",
  34774. "type": "number"
  34775. },
  34776. "closecharge": {
  34777. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34778. "type": "number"
  34779. },
  34780. "closeexchagechargevalue": {
  34781. "description": "平仓交易所手续费设置值",
  34782. "type": "number"
  34783. },
  34784. "closefeealgorithm": {
  34785. "description": "平仓手续费收取方式 1:比率 2:固定",
  34786. "type": "integer"
  34787. },
  34788. "closememberchargevalue": {
  34789. "description": "平仓会员手续费设置值",
  34790. "type": "number"
  34791. },
  34792. "closepl": {
  34793. "description": "平仓盈亏",
  34794. "type": "number"
  34795. },
  34796. "closepl2": {
  34797. "description": "平仓盈亏[逐笔]",
  34798. "type": "number"
  34799. },
  34800. "closeqty": {
  34801. "description": "平仓数量(先建后平操作 需要记录)",
  34802. "type": "number"
  34803. },
  34804. "creditamount": {
  34805. "description": "授信金额",
  34806. "type": "number"
  34807. },
  34808. "decimalplace": {
  34809. "description": "商品报价小数位",
  34810. "type": "integer"
  34811. },
  34812. "enumdicname": {
  34813. "description": "单位名称",
  34814. "type": "string"
  34815. },
  34816. "gcaccountid": {
  34817. "description": "账户ID[合约币种]",
  34818. "type": "integer"
  34819. },
  34820. "goodscode": {
  34821. "description": "商品代码",
  34822. "type": "string"
  34823. },
  34824. "goodsid": {
  34825. "description": "商品ID",
  34826. "type": "integer"
  34827. },
  34828. "goodsname": {
  34829. "description": "商品名称",
  34830. "type": "string"
  34831. },
  34832. "goodunitid": {
  34833. "description": "商品单位id",
  34834. "type": "integer"
  34835. },
  34836. "intclosepl": {
  34837. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  34838. "type": "integer"
  34839. },
  34840. "isconfirmexercise": {
  34841. "description": "是否确认行权- 0:否 1:是",
  34842. "type": "integer"
  34843. },
  34844. "ismain": {
  34845. "description": "是否主单 - 0:不是 1:是",
  34846. "type": "integer"
  34847. },
  34848. "ispreexercise": {
  34849. "description": "是否预申报- 0:否 1:是",
  34850. "type": "integer"
  34851. },
  34852. "isreckoned": {
  34853. "description": "是否结算 - 0:未结算 1:已结算",
  34854. "type": "integer"
  34855. },
  34856. "listingselecttype": {
  34857. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  34858. "type": "integer"
  34859. },
  34860. "marketid": {
  34861. "description": "市场ID",
  34862. "type": "integer"
  34863. },
  34864. "marketname": {
  34865. "description": "市场名称",
  34866. "type": "string"
  34867. },
  34868. "matchaccountid": {
  34869. "description": "对手账号id",
  34870. "type": "integer"
  34871. },
  34872. "memberuserid": {
  34873. "description": "会员id 个人投资者 需要填写",
  34874. "type": "integer"
  34875. },
  34876. "opencharge": {
  34877. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34878. "type": "number"
  34879. },
  34880. "openexchagechargevalue": {
  34881. "description": "建仓交易所手续费设置值",
  34882. "type": "number"
  34883. },
  34884. "openfeealgorithm": {
  34885. "description": "建仓手续费收取方式 1:比率 2:固定",
  34886. "type": "integer"
  34887. },
  34888. "openmemberchargevalue": {
  34889. "description": "建仓会员手续费设置值",
  34890. "type": "number"
  34891. },
  34892. "openqty": {
  34893. "description": "开仓数量(先建后平操作 需要记录)",
  34894. "type": "number"
  34895. },
  34896. "optiontype": {
  34897. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  34898. "type": "integer"
  34899. },
  34900. "orderid": {
  34901. "description": "委托单号",
  34902. "type": "string"
  34903. },
  34904. "payamount": {
  34905. "description": "支付金额(付款金额)",
  34906. "type": "number"
  34907. },
  34908. "performanceplanid": {
  34909. "description": "履约计划ID[期权]",
  34910. "type": "integer"
  34911. },
  34912. "performancestatus": {
  34913. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  34914. "type": "integer"
  34915. },
  34916. "preexerciseprice": {
  34917. "description": "预申报价格",
  34918. "type": "number"
  34919. },
  34920. "premium": {
  34921. "description": "权利金 - [持仓单的权利金]",
  34922. "type": "number"
  34923. },
  34924. "qtydecimalplace": {
  34925. "description": "商品报价小数位",
  34926. "type": "integer"
  34927. },
  34928. "recvamount": {
  34929. "description": "到账金额 = 成交金额 - 手续费",
  34930. "type": "number"
  34931. },
  34932. "relatedouttradeid": {
  34933. "description": "关联外部成交单ID",
  34934. "type": "integer"
  34935. },
  34936. "status": {
  34937. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  34938. "type": "integer"
  34939. },
  34940. "totalamount": {
  34941. "description": "订单总额 = 成交金额 + 手续费",
  34942. "type": "number"
  34943. },
  34944. "tradeamount": {
  34945. "description": "成交金额[账户币种,用于所有权]",
  34946. "type": "number"
  34947. },
  34948. "tradedate": {
  34949. "description": "交易日(yyyyMMdd)",
  34950. "type": "string"
  34951. },
  34952. "tradeid": {
  34953. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34954. "type": "string"
  34955. },
  34956. "trademode": {
  34957. "description": "交易模式",
  34958. "type": "integer"
  34959. },
  34960. "tradeprice": {
  34961. "description": "成交价格",
  34962. "type": "number"
  34963. },
  34964. "tradeproperty": {
  34965. "description": "交易属性",
  34966. "type": "integer"
  34967. },
  34968. "tradeqty": {
  34969. "description": "成交数量",
  34970. "type": "number"
  34971. },
  34972. "tradetime": {
  34973. "description": "成交时间",
  34974. "type": "string"
  34975. },
  34976. "tradetype": {
  34977. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  34978. "type": "integer"
  34979. }
  34980. }
  34981. },
  34982. "order.QueryTradeOrderDetailRsp": {
  34983. "type": "object",
  34984. "required": [
  34985. "accountid",
  34986. "buildtype",
  34987. "buyorsell",
  34988. "goodsid",
  34989. "marketid",
  34990. "operatetype",
  34991. "orderqty",
  34992. "ordertime",
  34993. "pricemode",
  34994. "tradedate",
  34995. "validtype"
  34996. ],
  34997. "properties": {
  34998. "accountid": {
  34999. "description": "账户ID[报价币种]",
  35000. "type": "integer"
  35001. },
  35002. "buildtype": {
  35003. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  35004. "type": "integer"
  35005. },
  35006. "buyorsell": {
  35007. "description": "买卖 - 0:买 1:卖",
  35008. "type": "integer"
  35009. },
  35010. "cancelorderid": {
  35011. "description": "撤单单号(撤单时填写)",
  35012. "type": "string"
  35013. },
  35014. "cancelqty": {
  35015. "description": "撤单数量",
  35016. "type": "number"
  35017. },
  35018. "clienttype": {
  35019. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  35020. "type": "integer"
  35021. },
  35022. "closefreezecharge": {
  35023. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  35024. "type": "number"
  35025. },
  35026. "closeqty": {
  35027. "description": "平仓数量(先建后平操作 需要记录)",
  35028. "type": "number"
  35029. },
  35030. "closetradeqty": {
  35031. "description": "平仓成交数量(先建后平操作,需要记录)",
  35032. "type": "number"
  35033. },
  35034. "closeunfreezecharge": {
  35035. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  35036. "type": "number"
  35037. },
  35038. "decimalplace": {
  35039. "description": "商品报价小数位",
  35040. "type": "integer"
  35041. },
  35042. "delistingtype": {
  35043. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  35044. "type": "integer"
  35045. },
  35046. "enableqty": {
  35047. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  35048. "type": "number"
  35049. },
  35050. "enumdicname": {
  35051. "description": "单位名称",
  35052. "type": "string"
  35053. },
  35054. "freezecharge": {
  35055. "description": "冻结手续费",
  35056. "type": "number"
  35057. },
  35058. "freezemargin": {
  35059. "description": "冻结保证金(冻结交易金额)",
  35060. "type": "number"
  35061. },
  35062. "goodscode": {
  35063. "description": "商品代码",
  35064. "type": "string"
  35065. },
  35066. "goodsid": {
  35067. "description": "商品ID",
  35068. "type": "integer"
  35069. },
  35070. "goodsname": {
  35071. "description": "商品名称",
  35072. "type": "string"
  35073. },
  35074. "goodunitid": {
  35075. "description": "商品单位id",
  35076. "type": "integer"
  35077. },
  35078. "listingselecttype": {
  35079. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35080. "type": "integer"
  35081. },
  35082. "marketid": {
  35083. "description": "市场ID",
  35084. "type": "integer"
  35085. },
  35086. "marketname": {
  35087. "description": "市场名称",
  35088. "type": "string"
  35089. },
  35090. "openfreezecharge": {
  35091. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  35092. "type": "number"
  35093. },
  35094. "openqty": {
  35095. "description": "开仓数量(先建后平操作,需要记录)",
  35096. "type": "number"
  35097. },
  35098. "opentradeqty": {
  35099. "description": "开仓成交数量(先建后平操作,需要记录)",
  35100. "type": "number"
  35101. },
  35102. "openunfreezecharge": {
  35103. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  35104. "type": "number"
  35105. },
  35106. "operatetype": {
  35107. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  35108. "type": "integer"
  35109. },
  35110. "operatorid": {
  35111. "description": "登录账号(LoginID)",
  35112. "type": "integer"
  35113. },
  35114. "orderid": {
  35115. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35116. "type": "string"
  35117. },
  35118. "orderprice": {
  35119. "description": "委托价格",
  35120. "type": "number"
  35121. },
  35122. "orderqty": {
  35123. "description": "委托数量",
  35124. "type": "number"
  35125. },
  35126. "ordersrc": {
  35127. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  35128. "type": "integer"
  35129. },
  35130. "orderstatus": {
  35131. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  35132. "type": "integer"
  35133. },
  35134. "ordertime": {
  35135. "description": "委托时间",
  35136. "type": "string"
  35137. },
  35138. "preorderid": {
  35139. "description": "关联预埋单号(止盈止损单时填写)",
  35140. "type": "string"
  35141. },
  35142. "pricemode": {
  35143. "description": "取价方式 - 1:市价 2: 限价",
  35144. "type": "integer"
  35145. },
  35146. "qtydecimalplace": {
  35147. "description": "商品报价小数位",
  35148. "type": "integer"
  35149. },
  35150. "relatedid": {
  35151. "description": "关联单号(交割单)",
  35152. "type": "string"
  35153. },
  35154. "tradedate": {
  35155. "description": "交易日(yyyyMMdd)",
  35156. "type": "string"
  35157. },
  35158. "trademode": {
  35159. "description": "交易模式",
  35160. "type": "integer"
  35161. },
  35162. "tradeqty": {
  35163. "description": "成交数量",
  35164. "type": "number"
  35165. },
  35166. "unfreezecharge": {
  35167. "description": "解冻手续费",
  35168. "type": "number"
  35169. },
  35170. "unfreezemargin": {
  35171. "description": "解冻保证金",
  35172. "type": "number"
  35173. },
  35174. "validtime": {
  35175. "description": "有效期限",
  35176. "type": "string"
  35177. },
  35178. "validtype": {
  35179. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  35180. "type": "integer"
  35181. },
  35182. "volumetype": {
  35183. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  35184. "type": "integer"
  35185. }
  35186. }
  35187. },
  35188. "order.QueryTradePositionRsp": {
  35189. "type": "object",
  35190. "required": [
  35191. "goodsid"
  35192. ],
  35193. "properties": {
  35194. "accountid": {
  35195. "description": "资金账户",
  35196. "type": "integer"
  35197. },
  35198. "agreeunit": {
  35199. "description": "合约单位",
  35200. "type": "number"
  35201. },
  35202. "averageprice": {
  35203. "description": "持仓均价",
  35204. "type": "number"
  35205. },
  35206. "buyorsell": {
  35207. "description": "方向 - 0:买 1:卖",
  35208. "type": "integer"
  35209. },
  35210. "closetotalqty": {
  35211. "description": "平仓总数量",
  35212. "type": "number"
  35213. },
  35214. "curholderamount": {
  35215. "description": "当前持仓总金额[商品币种]",
  35216. "type": "number"
  35217. },
  35218. "curpositionqty": {
  35219. "description": "当前持仓总数量",
  35220. "type": "number"
  35221. },
  35222. "currencyid": {
  35223. "description": "报价货币ID",
  35224. "type": "integer"
  35225. },
  35226. "curtdposition": {
  35227. "description": "期末今日头寸",
  35228. "type": "number"
  35229. },
  35230. "decimalplace": {
  35231. "description": "报价小数位",
  35232. "type": "integer"
  35233. },
  35234. "enableqty": {
  35235. "description": "可用量",
  35236. "type": "number"
  35237. },
  35238. "fretdposition": {
  35239. "description": "冻结今日头寸",
  35240. "type": "number"
  35241. },
  35242. "frozenqty": {
  35243. "description": "持仓冻结数量",
  35244. "type": "number"
  35245. },
  35246. "goodscode": {
  35247. "description": "商品代码",
  35248. "type": "string"
  35249. },
  35250. "goodsid": {
  35251. "description": "商品Id",
  35252. "type": "integer"
  35253. },
  35254. "goodsname": {
  35255. "description": "商品名称",
  35256. "type": "string"
  35257. },
  35258. "goodunit": {
  35259. "description": "报价单位",
  35260. "type": "string"
  35261. },
  35262. "goodunitid": {
  35263. "description": "报价单位ID",
  35264. "type": "integer"
  35265. },
  35266. "holderamount": {
  35267. "description": "期初持仓总金额[商品币种]",
  35268. "type": "number"
  35269. },
  35270. "lastprice": {
  35271. "description": "最新价",
  35272. "type": "number"
  35273. },
  35274. "marketamount": {
  35275. "description": "市值",
  35276. "type": "number"
  35277. },
  35278. "marketid": {
  35279. "description": "所属市场ID",
  35280. "type": "integer"
  35281. },
  35282. "openreqqty": {
  35283. "description": "开仓申请数量(用于比较最大持仓数量)",
  35284. "type": "number"
  35285. },
  35286. "opentotalqty": {
  35287. "description": "开仓总数量",
  35288. "type": "number"
  35289. },
  35290. "otherfrozenqty": {
  35291. "description": "持仓其他冻结数量(交割冻结)",
  35292. "type": "number"
  35293. },
  35294. "positionpl": {
  35295. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  35296. "type": "number"
  35297. },
  35298. "positionplrate": {
  35299. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  35300. "type": "number"
  35301. },
  35302. "positionqty": {
  35303. "description": "期初持仓数量",
  35304. "type": "number"
  35305. },
  35306. "qtydecimalplace": {
  35307. "description": "成交量小数位",
  35308. "type": "integer"
  35309. },
  35310. "tnqty": {
  35311. "description": "T+N冻结总量",
  35312. "type": "number"
  35313. },
  35314. "tnusedqty": {
  35315. "description": "T+N使用量(可以使用T+N的冻结数量)",
  35316. "type": "number"
  35317. },
  35318. "trademode": {
  35319. "description": "交易模式",
  35320. "type": "integer"
  35321. },
  35322. "usedmargin": {
  35323. "description": "占用保证金[商品币种]",
  35324. "type": "number"
  35325. }
  35326. }
  35327. },
  35328. "quote.HistoryData": {
  35329. "type": "object",
  35330. "properties": {
  35331. "c": {
  35332. "description": "收盘价",
  35333. "type": "number"
  35334. },
  35335. "f": {
  35336. "description": "是否补充数据",
  35337. "type": "boolean"
  35338. },
  35339. "h": {
  35340. "description": "最高价",
  35341. "type": "number"
  35342. },
  35343. "hv": {
  35344. "description": "持仓量",
  35345. "type": "integer"
  35346. },
  35347. "l": {
  35348. "description": "最低价",
  35349. "type": "number"
  35350. },
  35351. "o": {
  35352. "description": "开盘价",
  35353. "type": "number"
  35354. },
  35355. "s": {
  35356. "description": "结算价,日线周期(包括)以上才有",
  35357. "type": "number"
  35358. },
  35359. "ts": {
  35360. "description": "时间",
  35361. "type": "string"
  35362. },
  35363. "tt": {
  35364. "description": "总金额",
  35365. "type": "number"
  35366. },
  35367. "tv": {
  35368. "description": "总量",
  35369. "type": "integer"
  35370. }
  35371. }
  35372. },
  35373. "quote.HistoryTikData": {
  35374. "type": "object",
  35375. "properties": {
  35376. "AV": {
  35377. "description": "卖量",
  35378. "type": "integer"
  35379. },
  35380. "Ask": {
  35381. "description": "卖价",
  35382. "type": "number"
  35383. },
  35384. "BV": {
  35385. "description": "买量",
  35386. "type": "integer"
  35387. },
  35388. "Bid": {
  35389. "description": "买价",
  35390. "type": "number"
  35391. },
  35392. "HI": {
  35393. "description": "单笔持仓",
  35394. "type": "integer"
  35395. },
  35396. "HV": {
  35397. "description": "持仓量",
  35398. "type": "integer"
  35399. },
  35400. "PE": {
  35401. "description": "现价",
  35402. "type": "number"
  35403. },
  35404. "TDR": {
  35405. "description": "交易方向,0:买 1:卖",
  35406. "type": "integer"
  35407. },
  35408. "TK": {
  35409. "description": "交易类型",
  35410. "type": "integer"
  35411. },
  35412. "TS": {
  35413. "description": "行情时间文本",
  35414. "type": "string"
  35415. },
  35416. "TT": {
  35417. "description": "现金额",
  35418. "type": "number"
  35419. },
  35420. "Vol": {
  35421. "description": "现量",
  35422. "type": "integer"
  35423. }
  35424. }
  35425. },
  35426. "quote.QueryQuoteDayRsp": {
  35427. "type": "object",
  35428. "properties": {
  35429. "ask": {
  35430. "description": "卖1",
  35431. "type": "number"
  35432. },
  35433. "ask10": {
  35434. "description": "卖10",
  35435. "type": "number"
  35436. },
  35437. "ask2": {
  35438. "description": "卖2",
  35439. "type": "number"
  35440. },
  35441. "ask3": {
  35442. "description": "卖3",
  35443. "type": "number"
  35444. },
  35445. "ask4": {
  35446. "description": "卖4",
  35447. "type": "number"
  35448. },
  35449. "ask5": {
  35450. "description": "卖5",
  35451. "type": "number"
  35452. },
  35453. "ask6": {
  35454. "description": "卖6",
  35455. "type": "number"
  35456. },
  35457. "ask7": {
  35458. "description": "卖7",
  35459. "type": "number"
  35460. },
  35461. "ask8": {
  35462. "description": "卖8",
  35463. "type": "number"
  35464. },
  35465. "ask9": {
  35466. "description": "卖9",
  35467. "type": "number"
  35468. },
  35469. "askorderid": {
  35470. "description": "卖单号1",
  35471. "type": "integer"
  35472. },
  35473. "askorderid2": {
  35474. "description": "卖单号2",
  35475. "type": "integer"
  35476. },
  35477. "askorderid3": {
  35478. "description": "卖单号3",
  35479. "type": "integer"
  35480. },
  35481. "askorderid4": {
  35482. "description": "卖单号4",
  35483. "type": "integer"
  35484. },
  35485. "askorderid5": {
  35486. "description": "卖单号5",
  35487. "type": "integer"
  35488. },
  35489. "askordervolume": {
  35490. "description": "卖单量1",
  35491. "type": "integer"
  35492. },
  35493. "askordervolume10": {
  35494. "description": "卖单量10",
  35495. "type": "integer"
  35496. },
  35497. "askordervolume2": {
  35498. "description": "卖单量2",
  35499. "type": "integer"
  35500. },
  35501. "askordervolume3": {
  35502. "description": "卖单量3",
  35503. "type": "integer"
  35504. },
  35505. "askordervolume4": {
  35506. "description": "卖单量4",
  35507. "type": "integer"
  35508. },
  35509. "askordervolume5": {
  35510. "description": "卖单量5",
  35511. "type": "integer"
  35512. },
  35513. "askordervolume6": {
  35514. "description": "卖单量6",
  35515. "type": "integer"
  35516. },
  35517. "askordervolume7": {
  35518. "description": "卖单量7",
  35519. "type": "integer"
  35520. },
  35521. "askordervolume8": {
  35522. "description": "卖单量8",
  35523. "type": "integer"
  35524. },
  35525. "askordervolume9": {
  35526. "description": "卖单量9",
  35527. "type": "integer"
  35528. },
  35529. "askqueueinfo": {
  35530. "description": "大利市卖港股用",
  35531. "type": "string"
  35532. },
  35533. "askvolume": {
  35534. "description": "卖量1",
  35535. "type": "integer"
  35536. },
  35537. "askvolume10": {
  35538. "description": "卖量10",
  35539. "type": "integer"
  35540. },
  35541. "askvolume2": {
  35542. "description": "卖量2",
  35543. "type": "integer"
  35544. },
  35545. "askvolume3": {
  35546. "description": "卖量3",
  35547. "type": "integer"
  35548. },
  35549. "askvolume4": {
  35550. "description": "卖量4",
  35551. "type": "integer"
  35552. },
  35553. "askvolume5": {
  35554. "description": "卖量5",
  35555. "type": "integer"
  35556. },
  35557. "askvolume6": {
  35558. "description": "卖量6",
  35559. "type": "integer"
  35560. },
  35561. "askvolume7": {
  35562. "description": "卖量7",
  35563. "type": "integer"
  35564. },
  35565. "askvolume8": {
  35566. "description": "卖量8",
  35567. "type": "integer"
  35568. },
  35569. "askvolume9": {
  35570. "description": "卖量9",
  35571. "type": "integer"
  35572. },
  35573. "averageprice": {
  35574. "description": "均价",
  35575. "type": "number"
  35576. },
  35577. "bid": {
  35578. "description": "买1",
  35579. "type": "number"
  35580. },
  35581. "bid10": {
  35582. "description": "买10",
  35583. "type": "number"
  35584. },
  35585. "bid2": {
  35586. "description": "买2",
  35587. "type": "number"
  35588. },
  35589. "bid3": {
  35590. "description": "买3",
  35591. "type": "number"
  35592. },
  35593. "bid4": {
  35594. "description": "买4",
  35595. "type": "number"
  35596. },
  35597. "bid5": {
  35598. "description": "买5",
  35599. "type": "number"
  35600. },
  35601. "bid6": {
  35602. "description": "买6",
  35603. "type": "number"
  35604. },
  35605. "bid7": {
  35606. "description": "买7",
  35607. "type": "number"
  35608. },
  35609. "bid8": {
  35610. "description": "买8",
  35611. "type": "number"
  35612. },
  35613. "bid9": {
  35614. "description": "买9",
  35615. "type": "number"
  35616. },
  35617. "bidorderid": {
  35618. "description": "买单号1",
  35619. "type": "integer"
  35620. },
  35621. "bidorderid2": {
  35622. "description": "买单号2",
  35623. "type": "integer"
  35624. },
  35625. "bidorderid3": {
  35626. "description": "买单号3",
  35627. "type": "integer"
  35628. },
  35629. "bidorderid4": {
  35630. "description": "买单号4",
  35631. "type": "integer"
  35632. },
  35633. "bidorderid5": {
  35634. "description": "买单号5",
  35635. "type": "integer"
  35636. },
  35637. "bidordervolume": {
  35638. "description": "买单量1",
  35639. "type": "integer"
  35640. },
  35641. "bidordervolume10": {
  35642. "description": "买单量10",
  35643. "type": "integer"
  35644. },
  35645. "bidordervolume2": {
  35646. "description": "买单量2",
  35647. "type": "integer"
  35648. },
  35649. "bidordervolume3": {
  35650. "description": "买单量3",
  35651. "type": "integer"
  35652. },
  35653. "bidordervolume4": {
  35654. "description": "买单量4",
  35655. "type": "integer"
  35656. },
  35657. "bidordervolume5": {
  35658. "description": "买单量5",
  35659. "type": "integer"
  35660. },
  35661. "bidordervolume6": {
  35662. "description": "买单量6",
  35663. "type": "integer"
  35664. },
  35665. "bidordervolume7": {
  35666. "description": "买单量7",
  35667. "type": "integer"
  35668. },
  35669. "bidordervolume8": {
  35670. "description": "买单量8",
  35671. "type": "integer"
  35672. },
  35673. "bidordervolume9": {
  35674. "description": "买单量9",
  35675. "type": "integer"
  35676. },
  35677. "bidqueueinfo": {
  35678. "description": "大利市买港股用",
  35679. "type": "string"
  35680. },
  35681. "bidvolume": {
  35682. "description": "买量1",
  35683. "type": "integer"
  35684. },
  35685. "bidvolume10": {
  35686. "description": "买量10",
  35687. "type": "integer"
  35688. },
  35689. "bidvolume2": {
  35690. "description": "买量2",
  35691. "type": "integer"
  35692. },
  35693. "bidvolume3": {
  35694. "description": "买量3",
  35695. "type": "integer"
  35696. },
  35697. "bidvolume4": {
  35698. "description": "买量4",
  35699. "type": "integer"
  35700. },
  35701. "bidvolume5": {
  35702. "description": "买量5",
  35703. "type": "integer"
  35704. },
  35705. "bidvolume6": {
  35706. "description": "买量6",
  35707. "type": "integer"
  35708. },
  35709. "bidvolume7": {
  35710. "description": "买量7",
  35711. "type": "integer"
  35712. },
  35713. "bidvolume8": {
  35714. "description": "买量8",
  35715. "type": "integer"
  35716. },
  35717. "bidvolume9": {
  35718. "description": "买量9",
  35719. "type": "integer"
  35720. },
  35721. "calloptionpremiums": {
  35722. "description": "认购期权1",
  35723. "type": "integer"
  35724. },
  35725. "calloptionpremiums2": {
  35726. "description": "认购期权2",
  35727. "type": "integer"
  35728. },
  35729. "calloptionpremiums3": {
  35730. "description": "认购期权3",
  35731. "type": "integer"
  35732. },
  35733. "calloptionpremiums4": {
  35734. "description": "认购期权4",
  35735. "type": "integer"
  35736. },
  35737. "calloptionpremiums5": {
  35738. "description": "认购期权5",
  35739. "type": "integer"
  35740. },
  35741. "cleartime": {
  35742. "description": "清盘时间",
  35743. "type": "integer"
  35744. },
  35745. "exchangecode": {
  35746. "description": "交易所代码",
  35747. "type": "integer"
  35748. },
  35749. "exchangedate": {
  35750. "description": "交易日",
  35751. "type": "integer"
  35752. },
  35753. "goodscode": {
  35754. "description": "商品代码",
  35755. "type": "string"
  35756. },
  35757. "grepmarketprice": {
  35758. "description": "暗盘价 港股专用",
  35759. "type": "number"
  35760. },
  35761. "highest": {
  35762. "description": "最高价",
  35763. "type": "number"
  35764. },
  35765. "holdincrement": {
  35766. "description": "单笔持仓",
  35767. "type": "integer"
  35768. },
  35769. "holdvolume": {
  35770. "description": "持仓",
  35771. "type": "integer"
  35772. },
  35773. "iep": {
  35774. "description": "平衡价 港股专用",
  35775. "type": "number"
  35776. },
  35777. "iev": {
  35778. "description": "平衡量 港股专用",
  35779. "type": "number"
  35780. },
  35781. "inventory": {
  35782. "description": "库存",
  35783. "type": "integer"
  35784. },
  35785. "iscleared": {
  35786. "description": "是否清盘标志",
  35787. "type": "integer"
  35788. },
  35789. "issettled": {
  35790. "description": "是否结算标志",
  35791. "type": "integer"
  35792. },
  35793. "last": {
  35794. "description": "最新价",
  35795. "type": "number"
  35796. },
  35797. "lastlot": {
  35798. "description": "最新成交手数",
  35799. "type": "integer"
  35800. },
  35801. "lasttime": {
  35802. "description": "行情时间(只有现价变化行情时间才变化)",
  35803. "type": "string"
  35804. },
  35805. "lastturnover": {
  35806. "description": "最新成交金额",
  35807. "type": "number"
  35808. },
  35809. "lastvolume": {
  35810. "description": "最新成交量",
  35811. "type": "integer"
  35812. },
  35813. "limitdown": {
  35814. "description": "跌停价",
  35815. "type": "number"
  35816. },
  35817. "limitup": {
  35818. "description": "涨停价",
  35819. "type": "number"
  35820. },
  35821. "lowest": {
  35822. "description": "最低价",
  35823. "type": "number"
  35824. },
  35825. "nontotalholdervolume": {
  35826. "description": "非交易持仓量",
  35827. "type": "integer"
  35828. },
  35829. "nontotallot": {
  35830. "description": "非交易总手数",
  35831. "type": "integer"
  35832. },
  35833. "nontotalturnover": {
  35834. "description": "非交易总金额",
  35835. "type": "integer"
  35836. },
  35837. "nontotalvolume": {
  35838. "description": "非交易总量",
  35839. "type": "integer"
  35840. },
  35841. "opened": {
  35842. "description": "开盘价",
  35843. "type": "number"
  35844. },
  35845. "opentime": {
  35846. "description": "开盘时间",
  35847. "type": "string"
  35848. },
  35849. "orderid": {
  35850. "description": "序号",
  35851. "type": "integer"
  35852. },
  35853. "preclose": {
  35854. "description": "昨收",
  35855. "type": "number"
  35856. },
  35857. "preholdvolume": {
  35858. "description": "昨持仓",
  35859. "type": "integer"
  35860. },
  35861. "presettle": {
  35862. "description": "昨结价",
  35863. "type": "number"
  35864. },
  35865. "publictradetype": {
  35866. "description": "公共交易标志类型 港股专用",
  35867. "type": "string"
  35868. },
  35869. "putoptionpremiums": {
  35870. "description": "认沽期权1",
  35871. "type": "integer"
  35872. },
  35873. "putoptionpremiums2": {
  35874. "description": "认沽期权2",
  35875. "type": "integer"
  35876. },
  35877. "putoptionpremiums3": {
  35878. "description": "认沽期权3",
  35879. "type": "integer"
  35880. },
  35881. "putoptionpremiums4": {
  35882. "description": "认沽期权4",
  35883. "type": "integer"
  35884. },
  35885. "putoptionpremiums5": {
  35886. "description": "认沽期权5",
  35887. "type": "integer"
  35888. },
  35889. "settle": {
  35890. "description": "结算价",
  35891. "type": "number"
  35892. },
  35893. "strikeprice": {
  35894. "description": "发行价",
  35895. "type": "number"
  35896. },
  35897. "totalaskvolume": {
  35898. "description": "内盘",
  35899. "type": "integer"
  35900. },
  35901. "totalbidvolume": {
  35902. "description": "外盘",
  35903. "type": "integer"
  35904. },
  35905. "totallot": {
  35906. "description": "总手数",
  35907. "type": "integer"
  35908. },
  35909. "totalturnover": {
  35910. "description": "总金额",
  35911. "type": "number"
  35912. },
  35913. "totalvolume": {
  35914. "description": "总量",
  35915. "type": "integer"
  35916. },
  35917. "utclasttime": {
  35918. "description": "utc的行情时间",
  35919. "type": "string"
  35920. }
  35921. }
  35922. },
  35923. "quote.QueryTSDataRsp": {
  35924. "type": "object",
  35925. "properties": {
  35926. "Count": {
  35927. "description": "交易日应有数据个数",
  35928. "type": "integer"
  35929. },
  35930. "decimalPlace": {
  35931. "description": "小数位",
  35932. "type": "integer"
  35933. },
  35934. "endTime": {
  35935. "description": "结束时间",
  35936. "type": "string"
  35937. },
  35938. "goodsCode": {
  35939. "description": "商品代码",
  35940. "type": "string"
  35941. },
  35942. "historyDatas": {
  35943. "description": "历史数据",
  35944. "type": "array",
  35945. "items": {
  35946. "$ref": "#/definitions/quote.HistoryData"
  35947. }
  35948. },
  35949. "outGoodsCode": {
  35950. "description": "外部商品代码",
  35951. "type": "string"
  35952. },
  35953. "preSettle": {
  35954. "description": "昨结价",
  35955. "type": "number"
  35956. },
  35957. "runSteps": {
  35958. "description": "交易日开休市计划",
  35959. "type": "array",
  35960. "items": {
  35961. "$ref": "#/definitions/quote.TSDataRunStep"
  35962. }
  35963. },
  35964. "startTime": {
  35965. "description": "开始时间",
  35966. "type": "string"
  35967. },
  35968. "tradeDate": {
  35969. "description": "交易日",
  35970. "type": "string"
  35971. }
  35972. }
  35973. },
  35974. "quote.TSDataRunStep": {
  35975. "type": "object",
  35976. "properties": {
  35977. "end": {
  35978. "description": "真实结束时间",
  35979. "type": "string"
  35980. },
  35981. "endflag": {
  35982. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  35983. "type": "integer"
  35984. },
  35985. "endtime": {
  35986. "description": "结束时间(HH:mm)",
  35987. "type": "string"
  35988. },
  35989. "endweekday": {
  35990. "description": "结束周几",
  35991. "type": "integer"
  35992. },
  35993. "groupid": {
  35994. "description": "分组ID",
  35995. "type": "integer"
  35996. },
  35997. "runstep": {
  35998. "description": "运行阶段 - 2:连续交易",
  35999. "type": "integer"
  36000. },
  36001. "sectionid": {
  36002. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  36003. "type": "integer"
  36004. },
  36005. "start": {
  36006. "description": "真实开始时间",
  36007. "type": "string"
  36008. },
  36009. "startflag": {
  36010. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  36011. "type": "integer"
  36012. },
  36013. "starttime": {
  36014. "description": "起始时间(HH:mm)",
  36015. "type": "string"
  36016. },
  36017. "startweekday": {
  36018. "description": "起始周几",
  36019. "type": "integer"
  36020. },
  36021. "tradeweekday": {
  36022. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  36023. "type": "integer"
  36024. }
  36025. }
  36026. },
  36027. "szdz.QueryConvertLogRsp": {
  36028. "type": "object",
  36029. "required": [
  36030. "logid"
  36031. ],
  36032. "properties": {
  36033. "accountid": {
  36034. "description": "资金账户ID",
  36035. "type": "integer"
  36036. },
  36037. "clientticket": {
  36038. "description": "客户端流水号",
  36039. "type": "string"
  36040. },
  36041. "converttype": {
  36042. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  36043. "type": "integer"
  36044. },
  36045. "createtime": {
  36046. "description": "记账时间",
  36047. "type": "string"
  36048. },
  36049. "daymaxvalue": {
  36050. "description": "配置当日最大转入限制",
  36051. "type": "number"
  36052. },
  36053. "daymaxvalue2": {
  36054. "description": "配置当日最大转入限制(转入)",
  36055. "type": "number"
  36056. },
  36057. "goodscode": {
  36058. "description": "商品代码",
  36059. "type": "string"
  36060. },
  36061. "goodsname": {
  36062. "description": "商品名称",
  36063. "type": "string"
  36064. },
  36065. "handlestatus": {
  36066. "description": "处理状态",
  36067. "type": "integer"
  36068. },
  36069. "innergoodsid": {
  36070. "description": "内部商品ID",
  36071. "type": "integer"
  36072. },
  36073. "inratio": {
  36074. "description": "配置转入比值",
  36075. "type": "integer"
  36076. },
  36077. "invalue": {
  36078. "description": "目标值",
  36079. "type": "number"
  36080. },
  36081. "logid": {
  36082. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36083. "type": "integer"
  36084. },
  36085. "mobile": {
  36086. "description": "手机号码(加密存储)",
  36087. "type": "string"
  36088. },
  36089. "outergoodscode": {
  36090. "description": "外部商品代码[JD\\PD]",
  36091. "type": "string"
  36092. },
  36093. "outratio": {
  36094. "description": "配置转出比值",
  36095. "type": "integer"
  36096. },
  36097. "outvalue": {
  36098. "description": "源值",
  36099. "type": "number"
  36100. },
  36101. "pddecimalplace": {
  36102. "description": "PD小数位",
  36103. "type": "integer"
  36104. },
  36105. "qty": {
  36106. "description": "数量",
  36107. "type": "string"
  36108. },
  36109. "remark": {
  36110. "description": "备注",
  36111. "type": "string"
  36112. },
  36113. "sessionid": {
  36114. "description": "会话ID",
  36115. "type": "integer"
  36116. },
  36117. "timemaxvalue": {
  36118. "description": "配置单次最大转入限制",
  36119. "type": "number"
  36120. },
  36121. "timemaxvalue2": {
  36122. "description": "配置单次最大转入限制(转入)",
  36123. "type": "number"
  36124. },
  36125. "timeminvalue": {
  36126. "description": "配置单次最小数量限制",
  36127. "type": "number"
  36128. },
  36129. "timeminvalue2": {
  36130. "description": "配置单次最小数量限制(转入)",
  36131. "type": "number"
  36132. },
  36133. "tradedate": {
  36134. "description": "交易日(yyyyMMdd)",
  36135. "type": "string"
  36136. },
  36137. "userid": {
  36138. "description": "用户ID",
  36139. "type": "integer"
  36140. }
  36141. }
  36142. },
  36143. "szdz.QueryGoodsPickupRsp": {
  36144. "type": "object",
  36145. "required": [
  36146. "takeorderid"
  36147. ],
  36148. "properties": {
  36149. "accountid": {
  36150. "description": "账户ID",
  36151. "type": "integer"
  36152. },
  36153. "address": {
  36154. "description": "提货人详细地址",
  36155. "type": "string"
  36156. },
  36157. "auditer": {
  36158. "description": "审核人",
  36159. "type": "integer"
  36160. },
  36161. "audittime": {
  36162. "description": "审核时间",
  36163. "type": "string"
  36164. },
  36165. "cardnum": {
  36166. "description": "提货人证件号码",
  36167. "type": "string"
  36168. },
  36169. "cardtypeid": {
  36170. "description": "提货人证件类型",
  36171. "type": "integer"
  36172. },
  36173. "checkremark": {
  36174. "description": "审核备注",
  36175. "type": "string"
  36176. },
  36177. "goodscode": {
  36178. "description": "商品代码",
  36179. "type": "string"
  36180. },
  36181. "goodsid": {
  36182. "description": "商品ID",
  36183. "type": "integer"
  36184. },
  36185. "goodsname": {
  36186. "description": "商品名称",
  36187. "type": "string"
  36188. },
  36189. "handlestatus": {
  36190. "description": "处理状态",
  36191. "type": "integer"
  36192. },
  36193. "marketid": {
  36194. "description": "市场ID",
  36195. "type": "integer"
  36196. },
  36197. "phonenum": {
  36198. "description": "提货人联系方式",
  36199. "type": "string"
  36200. },
  36201. "qty": {
  36202. "description": "提货数量",
  36203. "type": "number"
  36204. },
  36205. "recivername": {
  36206. "description": "提货人姓名",
  36207. "type": "string"
  36208. },
  36209. "reqtime": {
  36210. "description": "更新时间",
  36211. "type": "string"
  36212. },
  36213. "takemode": {
  36214. "description": "提货方式 - 2:自提 3:配送",
  36215. "type": "integer"
  36216. },
  36217. "takeorderid": {
  36218. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  36219. "type": "string"
  36220. },
  36221. "takeorderstatus": {
  36222. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  36223. "type": "integer"
  36224. },
  36225. "takeremark": {
  36226. "description": "提货备注",
  36227. "type": "string"
  36228. },
  36229. "tradedate": {
  36230. "description": "交易日(yyyyMMdd)",
  36231. "type": "string"
  36232. },
  36233. "userid": {
  36234. "description": "用户ID",
  36235. "type": "integer"
  36236. }
  36237. }
  36238. },
  36239. "szdz.QueryRecieptOrderRsp": {
  36240. "type": "object",
  36241. "required": [
  36242. "ordertime"
  36243. ],
  36244. "properties": {
  36245. "accountName": {
  36246. "description": "所属账号名称(已脱敏)",
  36247. "type": "string"
  36248. },
  36249. "accountid": {
  36250. "description": "资金账号",
  36251. "type": "integer"
  36252. },
  36253. "buyorsell": {
  36254. "description": "方向 - 0:买 1:卖",
  36255. "type": "integer"
  36256. },
  36257. "enableqty": {
  36258. "description": "可摘数量",
  36259. "type": "integer"
  36260. },
  36261. "goodscode": {
  36262. "description": "商品代码",
  36263. "type": "string"
  36264. },
  36265. "goodsid": {
  36266. "description": "商品ID",
  36267. "type": "integer"
  36268. },
  36269. "goodsname": {
  36270. "description": "商品名称",
  36271. "type": "string"
  36272. },
  36273. "orderid": {
  36274. "description": "委托单号",
  36275. "type": "string"
  36276. },
  36277. "orderprice": {
  36278. "description": "委托价格",
  36279. "type": "number"
  36280. },
  36281. "ordertime": {
  36282. "description": "委托时间",
  36283. "type": "string"
  36284. },
  36285. "tradedate": {
  36286. "description": "交易日(yyyyMMdd)",
  36287. "type": "string"
  36288. }
  36289. }
  36290. },
  36291. "szdz.QuerySZDZTradePositionRsp": {
  36292. "type": "object",
  36293. "properties": {
  36294. "accountid": {
  36295. "description": "账号Id",
  36296. "type": "integer"
  36297. },
  36298. "agreeunit": {
  36299. "description": "合约单位",
  36300. "type": "number"
  36301. },
  36302. "averageprice": {
  36303. "description": "持仓均价",
  36304. "type": "number"
  36305. },
  36306. "buyorsell": {
  36307. "description": "方向 - 0:买 1:卖",
  36308. "type": "integer"
  36309. },
  36310. "closetotalqty": {
  36311. "description": "平仓总数量",
  36312. "type": "integer"
  36313. },
  36314. "curholderamount": {
  36315. "description": "当前持仓总金额",
  36316. "type": "number"
  36317. },
  36318. "curpositionqty": {
  36319. "description": "当前持仓总数量",
  36320. "type": "integer"
  36321. },
  36322. "currencyid": {
  36323. "description": "报价货币ID",
  36324. "type": "integer"
  36325. },
  36326. "curtdposition": {
  36327. "description": "期末今日头寸",
  36328. "type": "integer"
  36329. },
  36330. "decimalplace": {
  36331. "description": "报价小数位",
  36332. "type": "integer"
  36333. },
  36334. "enableqty": {
  36335. "description": "可用量",
  36336. "type": "integer"
  36337. },
  36338. "fretdposition": {
  36339. "description": "冻结今日头寸",
  36340. "type": "integer"
  36341. },
  36342. "frozenqty": {
  36343. "description": "持仓冻结数量",
  36344. "type": "integer"
  36345. },
  36346. "goodscode": {
  36347. "description": "商品代码(内部)",
  36348. "type": "string"
  36349. },
  36350. "goodsid": {
  36351. "description": "商品Id",
  36352. "type": "integer"
  36353. },
  36354. "goodsname": {
  36355. "description": "商品名称",
  36356. "type": "string"
  36357. },
  36358. "goodunit": {
  36359. "description": "报价单位",
  36360. "type": "string"
  36361. },
  36362. "goodunitid": {
  36363. "description": "报价单位ID",
  36364. "type": "integer"
  36365. },
  36366. "holderamount": {
  36367. "description": "期初持仓总金额",
  36368. "type": "number"
  36369. },
  36370. "marketid": {
  36371. "description": "市场ID",
  36372. "type": "integer"
  36373. },
  36374. "openreqqty": {
  36375. "description": "开仓申请数量",
  36376. "type": "integer"
  36377. },
  36378. "opentotalqty": {
  36379. "description": "开仓总数量",
  36380. "type": "integer"
  36381. },
  36382. "otherfrozenqty": {
  36383. "description": "持仓其他冻结数量(交割冻结)",
  36384. "type": "integer"
  36385. },
  36386. "positionqty": {
  36387. "description": "期初持仓数量",
  36388. "type": "integer"
  36389. },
  36390. "szdz3freezqty": {
  36391. "description": "尚志大宗转换冻结总数量",
  36392. "type": "integer"
  36393. },
  36394. "tnqty": {
  36395. "description": "T+N冻结总量",
  36396. "type": "integer"
  36397. },
  36398. "tnusedqty": {
  36399. "description": "T+N使用量",
  36400. "type": "integer"
  36401. },
  36402. "trademode": {
  36403. "description": "交易模式",
  36404. "type": "integer"
  36405. },
  36406. "usedmargin": {
  36407. "description": "占用保证金",
  36408. "type": "number"
  36409. }
  36410. }
  36411. },
  36412. "taaccount.QueryAmountLogRsp": {
  36413. "type": "object",
  36414. "required": [
  36415. "accountid",
  36416. "amount",
  36417. "amountadjusttype",
  36418. "autoid",
  36419. "balance",
  36420. "createtime",
  36421. "currentbalance",
  36422. "operatetype"
  36423. ],
  36424. "properties": {
  36425. "OPERATETYPENAME": {
  36426. "description": "资金操作类型名称",
  36427. "type": "string"
  36428. },
  36429. "accountid": {
  36430. "description": "资金账户ID",
  36431. "type": "integer"
  36432. },
  36433. "agoodscode": {
  36434. "description": "竞拍商品代码",
  36435. "type": "string"
  36436. },
  36437. "agoodsname": {
  36438. "description": "竞拍商品名称",
  36439. "type": "string"
  36440. },
  36441. "amount": {
  36442. "description": "资金金额",
  36443. "type": "number"
  36444. },
  36445. "amountadjusttype": {
  36446. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  36447. "type": "integer"
  36448. },
  36449. "autoid": {
  36450. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  36451. "type": "integer"
  36452. },
  36453. "balance": {
  36454. "description": "期初余额",
  36455. "type": "number"
  36456. },
  36457. "businesscode": {
  36458. "description": "业务编号",
  36459. "type": "integer"
  36460. },
  36461. "createtime": {
  36462. "description": "发生时间",
  36463. "type": "string"
  36464. },
  36465. "currencyid": {
  36466. "description": "币种ID",
  36467. "type": "integer"
  36468. },
  36469. "currentbalance": {
  36470. "description": "期末余额(变动后金额)",
  36471. "type": "number"
  36472. },
  36473. "dgoodscode": {
  36474. "description": "交割商品代码",
  36475. "type": "string"
  36476. },
  36477. "dgoodsname": {
  36478. "description": "交割商品名称",
  36479. "type": "string"
  36480. },
  36481. "goodscode": {
  36482. "description": "商品代码",
  36483. "type": "string"
  36484. },
  36485. "goodsid": {
  36486. "description": "商品ID",
  36487. "type": "integer"
  36488. },
  36489. "goodsname": {
  36490. "description": "商品名称",
  36491. "type": "string"
  36492. },
  36493. "marketid": {
  36494. "description": "市场ID",
  36495. "type": "integer"
  36496. },
  36497. "marketname": {
  36498. "description": "市场名称",
  36499. "type": "string"
  36500. },
  36501. "moneyticket": {
  36502. "description": "资金流水号:银行端流水号",
  36503. "type": "integer"
  36504. },
  36505. "operatetype": {
  36506. "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:营销收款",
  36507. "type": "integer"
  36508. },
  36509. "relationorderid": {
  36510. "description": "关联单号",
  36511. "type": "string"
  36512. },
  36513. "remark": {
  36514. "description": "备注",
  36515. "type": "string"
  36516. },
  36517. "trademode": {
  36518. "description": "交易模式",
  36519. "type": "integer"
  36520. }
  36521. }
  36522. },
  36523. "taaccount.QueryHisAmountLogRsp": {
  36524. "type": "object",
  36525. "required": [
  36526. "accountid",
  36527. "amount",
  36528. "amountadjusttype",
  36529. "autoid",
  36530. "balance",
  36531. "createtime",
  36532. "currentbalance",
  36533. "histradedate",
  36534. "operatetype"
  36535. ],
  36536. "properties": {
  36537. "OPERATETYPENAME": {
  36538. "description": "资金操作类型名称",
  36539. "type": "string"
  36540. },
  36541. "accountid": {
  36542. "description": "资金账户ID",
  36543. "type": "integer"
  36544. },
  36545. "agoodscode": {
  36546. "description": "竞拍商品代码",
  36547. "type": "string"
  36548. },
  36549. "agoodsname": {
  36550. "description": "竞拍商品名称",
  36551. "type": "string"
  36552. },
  36553. "amount": {
  36554. "description": "资金金额",
  36555. "type": "number"
  36556. },
  36557. "amountadjusttype": {
  36558. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  36559. "type": "integer"
  36560. },
  36561. "autoid": {
  36562. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  36563. "type": "integer"
  36564. },
  36565. "balance": {
  36566. "description": "期初余额",
  36567. "type": "number"
  36568. },
  36569. "businesscode": {
  36570. "description": "业务编号",
  36571. "type": "integer"
  36572. },
  36573. "createtime": {
  36574. "description": "发生时间",
  36575. "type": "string"
  36576. },
  36577. "currencyid": {
  36578. "description": "币种ID",
  36579. "type": "integer"
  36580. },
  36581. "currentbalance": {
  36582. "description": "期末余额(变动后金额)",
  36583. "type": "number"
  36584. },
  36585. "dgoodscode": {
  36586. "description": "交割商品代码",
  36587. "type": "string"
  36588. },
  36589. "dgoodsname": {
  36590. "description": "交割商品名称",
  36591. "type": "string"
  36592. },
  36593. "goodscode": {
  36594. "description": "商品代码",
  36595. "type": "string"
  36596. },
  36597. "goodsid": {
  36598. "description": "商品ID",
  36599. "type": "integer"
  36600. },
  36601. "goodsname": {
  36602. "description": "商品名称",
  36603. "type": "string"
  36604. },
  36605. "histradedate": {
  36606. "description": "历史交易日",
  36607. "type": "string"
  36608. },
  36609. "isvaliddata": {
  36610. "description": "是否有效 - 0:无效 1:有效",
  36611. "type": "integer"
  36612. },
  36613. "marketid": {
  36614. "description": "市场ID",
  36615. "type": "integer"
  36616. },
  36617. "marketname": {
  36618. "description": "市场名称",
  36619. "type": "string"
  36620. },
  36621. "moneyticket": {
  36622. "description": "资金流水号:银行端流水号",
  36623. "type": "integer"
  36624. },
  36625. "operatetype": {
  36626. "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:营销收款",
  36627. "type": "integer"
  36628. },
  36629. "relationorderid": {
  36630. "description": "关联单号",
  36631. "type": "string"
  36632. },
  36633. "remark": {
  36634. "description": "备注",
  36635. "type": "string"
  36636. },
  36637. "trademode": {
  36638. "description": "交易模式",
  36639. "type": "integer"
  36640. }
  36641. }
  36642. },
  36643. "trade.QueryRecieptOrderRsp": {
  36644. "type": "object",
  36645. "required": [
  36646. "ordertime"
  36647. ],
  36648. "properties": {
  36649. "accountName": {
  36650. "description": "所属账号名称(已脱敏)",
  36651. "type": "string"
  36652. },
  36653. "accountid": {
  36654. "description": "资金账号",
  36655. "type": "integer"
  36656. },
  36657. "buyorsell": {
  36658. "description": "方向 - 0:买 1:卖",
  36659. "type": "integer"
  36660. },
  36661. "enableqty": {
  36662. "description": "可摘数量",
  36663. "type": "integer"
  36664. },
  36665. "goodscode": {
  36666. "description": "商品代码",
  36667. "type": "string"
  36668. },
  36669. "goodsid": {
  36670. "description": "商品ID",
  36671. "type": "integer"
  36672. },
  36673. "goodsname": {
  36674. "description": "商品名称",
  36675. "type": "string"
  36676. },
  36677. "orderid": {
  36678. "description": "委托单号",
  36679. "type": "string"
  36680. },
  36681. "orderprice": {
  36682. "description": "委托价格",
  36683. "type": "number"
  36684. },
  36685. "ordertime": {
  36686. "description": "委托时间",
  36687. "type": "string"
  36688. },
  36689. "tradedate": {
  36690. "description": "交易日(yyyyMMdd)",
  36691. "type": "string"
  36692. }
  36693. }
  36694. },
  36695. "user.LoginQueryRsp": {
  36696. "type": "object",
  36697. "properties": {
  36698. "areaRoles": {
  36699. "description": "所属角色信息",
  36700. "type": "array",
  36701. "items": {
  36702. "$ref": "#/definitions/models.Arearole"
  36703. }
  36704. },
  36705. "externalExchanges": {
  36706. "description": "外部交易所",
  36707. "type": "array",
  36708. "items": {
  36709. "$ref": "#/definitions/models.Externalexchange"
  36710. }
  36711. },
  36712. "goodsgroups": {
  36713. "description": "商品组",
  36714. "type": "array",
  36715. "items": {
  36716. "$ref": "#/definitions/models.Goodsgroup"
  36717. }
  36718. },
  36719. "loginAccount": {
  36720. "description": "登录账号",
  36721. "type": "object",
  36722. "$ref": "#/definitions/models.Loginaccount"
  36723. },
  36724. "markets": {
  36725. "description": "市场",
  36726. "type": "array",
  36727. "items": {
  36728. "$ref": "#/definitions/models.Market"
  36729. }
  36730. },
  36731. "systemParams": {
  36732. "description": "系统参数",
  36733. "type": "array",
  36734. "items": {
  36735. "$ref": "#/definitions/models.Systemparam"
  36736. }
  36737. },
  36738. "userAccount": {
  36739. "description": "用户账号",
  36740. "type": "object",
  36741. "$ref": "#/definitions/models.Useraccount"
  36742. },
  36743. "userInfo": {
  36744. "description": "用户信息",
  36745. "type": "object",
  36746. "$ref": "#/definitions/models.Userinfo"
  36747. },
  36748. "username": {
  36749. "description": "用户姓名",
  36750. "type": "string"
  36751. }
  36752. }
  36753. }
  36754. },
  36755. "securityDefinitions": {
  36756. "ApiKeyAuth": {
  36757. "type": "apiKey",
  36758. "name": "Authorization",
  36759. "in": "header"
  36760. }
  36761. }
  36762. }`
  36763. type swaggerInfo struct {
  36764. Version string
  36765. Host string
  36766. BasePath string
  36767. Schemes []string
  36768. Title string
  36769. Description string
  36770. }
  36771. // SwaggerInfo holds exported Swagger Info so clients can modify it
  36772. var SwaggerInfo = swaggerInfo{
  36773. Version: "1.0",
  36774. Host: "",
  36775. BasePath: "/api",
  36776. Schemes: []string{},
  36777. Title: "MTP2.0 查询服务 API",
  36778. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  36779. }
  36780. type s struct{}
  36781. func (s *s) ReadDoc() string {
  36782. sInfo := SwaggerInfo
  36783. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  36784. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  36785. "marshal": func(v interface{}) string {
  36786. a, _ := json.Marshal(v)
  36787. return string(a)
  36788. },
  36789. }).Parse(doc)
  36790. if err != nil {
  36791. return doc
  36792. }
  36793. var tpl bytes.Buffer
  36794. if err := t.Execute(&tpl, sInfo); err != nil {
  36795. return doc
  36796. }
  36797. return tpl.String()
  36798. }
  36799. func init() {
  36800. swag.Register(swag.Name, &s{})
  36801. }