docs.go 1.3 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158
  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/QueryTradeHolderDetail": {
  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": "integer",
  7161. "description": "用户id",
  7162. "name": "userid",
  7163. "in": "query"
  7164. },
  7165. {
  7166. "type": "string",
  7167. "description": "资金账号, 格式 1,2,3",
  7168. "name": "accids",
  7169. "in": "query"
  7170. },
  7171. {
  7172. "type": "string",
  7173. "description": "交易模式, 格式 1,2,3",
  7174. "name": "trademodes",
  7175. "in": "query"
  7176. },
  7177. {
  7178. "type": "string",
  7179. "description": "市场id, 格式 1,2,3",
  7180. "name": "marketids",
  7181. "in": "query"
  7182. },
  7183. {
  7184. "type": "integer",
  7185. "description": "商品id",
  7186. "name": "goodsid",
  7187. "in": "query"
  7188. },
  7189. {
  7190. "type": "integer",
  7191. "description": "买卖方向 0-买 1-卖",
  7192. "name": "buyorsell",
  7193. "in": "query"
  7194. }
  7195. ],
  7196. "responses": {
  7197. "200": {
  7198. "description": "OK",
  7199. "schema": {
  7200. "type": "array",
  7201. "items": {
  7202. "$ref": "#/definitions/models.TradeHolderDetail"
  7203. }
  7204. }
  7205. },
  7206. "500": {
  7207. "description": "Internal Server Error",
  7208. "schema": {
  7209. "$ref": "#/definitions/app.Response"
  7210. }
  7211. }
  7212. }
  7213. }
  7214. },
  7215. "/Order/QueryTradeOrderDetail": {
  7216. "get": {
  7217. "security": [
  7218. {
  7219. "ApiKeyAuth": []
  7220. }
  7221. ],
  7222. "produces": [
  7223. "application/json"
  7224. ],
  7225. "tags": [
  7226. "通用单据"
  7227. ],
  7228. "summary": "委托单查询请求(合约市场)",
  7229. "parameters": [
  7230. {
  7231. "type": "string",
  7232. "description": "资金账户 - 格式:1,2,3",
  7233. "name": "accountID",
  7234. "in": "query",
  7235. "required": true
  7236. },
  7237. {
  7238. "type": "string",
  7239. "description": "交易模式 - 格式:1,2,3",
  7240. "name": "tradeMode",
  7241. "in": "query"
  7242. },
  7243. {
  7244. "type": "string",
  7245. "description": "委托状态 - 格式:1,2,3",
  7246. "name": "orderStatus",
  7247. "in": "query"
  7248. },
  7249. {
  7250. "type": "integer",
  7251. "description": "委托单号",
  7252. "name": "orderID",
  7253. "in": "query"
  7254. }
  7255. ],
  7256. "responses": {
  7257. "200": {
  7258. "description": "OK",
  7259. "schema": {
  7260. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7261. }
  7262. },
  7263. "500": {
  7264. "description": "Internal Server Error",
  7265. "schema": {
  7266. "$ref": "#/definitions/app.Response"
  7267. }
  7268. }
  7269. }
  7270. }
  7271. },
  7272. "/Order/QueryTradePosition": {
  7273. "get": {
  7274. "security": [
  7275. {
  7276. "ApiKeyAuth": []
  7277. }
  7278. ],
  7279. "produces": [
  7280. "application/json"
  7281. ],
  7282. "tags": [
  7283. "通用单据"
  7284. ],
  7285. "summary": "持仓汇总查询(合约市场)",
  7286. "parameters": [
  7287. {
  7288. "type": "string",
  7289. "description": "资金账户 - 格式:1,2,3",
  7290. "name": "accountID",
  7291. "in": "query",
  7292. "required": true
  7293. },
  7294. {
  7295. "type": "string",
  7296. "description": "交易模式 - 格式:1,2,3",
  7297. "name": "tradeMode",
  7298. "in": "query"
  7299. }
  7300. ],
  7301. "responses": {
  7302. "200": {
  7303. "description": "OK",
  7304. "schema": {
  7305. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7306. }
  7307. },
  7308. "500": {
  7309. "description": "Internal Server Error",
  7310. "schema": {
  7311. "$ref": "#/definitions/app.Response"
  7312. }
  7313. }
  7314. }
  7315. }
  7316. },
  7317. "/Qhj/QueryAccountInOutApply": {
  7318. "get": {
  7319. "security": [
  7320. {
  7321. "ApiKeyAuth": []
  7322. }
  7323. ],
  7324. "produces": [
  7325. "application/json"
  7326. ],
  7327. "tags": [
  7328. "大连千海金"
  7329. ],
  7330. "summary": "查询充值提现",
  7331. "parameters": [
  7332. {
  7333. "type": "integer",
  7334. "description": "用户ID",
  7335. "name": "userid",
  7336. "in": "query",
  7337. "required": true
  7338. },
  7339. {
  7340. "type": "string",
  7341. "description": "申请起始日期(格式yyyymmdd)",
  7342. "name": "begindate",
  7343. "in": "query"
  7344. },
  7345. {
  7346. "type": "string",
  7347. "description": "申请截止日期(格式yyyymmdd)",
  7348. "name": "enddate",
  7349. "in": "query"
  7350. },
  7351. {
  7352. "type": "string",
  7353. "description": "模糊搜索名称",
  7354. "name": "likename",
  7355. "in": "query"
  7356. }
  7357. ],
  7358. "responses": {
  7359. "200": {
  7360. "description": "OK",
  7361. "schema": {
  7362. "type": "array",
  7363. "items": {
  7364. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7365. }
  7366. }
  7367. },
  7368. "500": {
  7369. "description": "Internal Server Error",
  7370. "schema": {
  7371. "$ref": "#/definitions/app.Response"
  7372. }
  7373. }
  7374. }
  7375. }
  7376. },
  7377. "/Qhj/QueryAreaFinanceConfig": {
  7378. "get": {
  7379. "security": [
  7380. {
  7381. "ApiKeyAuth": []
  7382. }
  7383. ],
  7384. "produces": [
  7385. "application/json"
  7386. ],
  7387. "tags": [
  7388. "大连千海金"
  7389. ],
  7390. "summary": "查询企业配置表",
  7391. "parameters": [
  7392. {
  7393. "type": "integer",
  7394. "description": "机构用户ID 其他做市关系,都设置为 1",
  7395. "name": "userid",
  7396. "in": "query"
  7397. }
  7398. ],
  7399. "responses": {
  7400. "200": {
  7401. "description": "OK",
  7402. "schema": {
  7403. "type": "array",
  7404. "items": {
  7405. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7406. }
  7407. }
  7408. },
  7409. "500": {
  7410. "description": "Internal Server Error",
  7411. "schema": {
  7412. "$ref": "#/definitions/app.Response"
  7413. }
  7414. }
  7415. }
  7416. }
  7417. },
  7418. "/Qhj/QueryBankAccountSign": {
  7419. "get": {
  7420. "security": [
  7421. {
  7422. "ApiKeyAuth": []
  7423. }
  7424. ],
  7425. "produces": [
  7426. "application/json"
  7427. ],
  7428. "tags": [
  7429. "大连千海金"
  7430. ],
  7431. "summary": "查询签约银行信息(提现账户管理)",
  7432. "parameters": [
  7433. {
  7434. "type": "integer",
  7435. "description": "用户ID",
  7436. "name": "userid",
  7437. "in": "query",
  7438. "required": true
  7439. }
  7440. ],
  7441. "responses": {
  7442. "200": {
  7443. "description": "OK",
  7444. "schema": {
  7445. "type": "array",
  7446. "items": {
  7447. "$ref": "#/definitions/models.QhjBankAccountSign"
  7448. }
  7449. }
  7450. },
  7451. "500": {
  7452. "description": "Internal Server Error",
  7453. "schema": {
  7454. "$ref": "#/definitions/app.Response"
  7455. }
  7456. }
  7457. }
  7458. }
  7459. },
  7460. "/Qhj/QueryBankInfo": {
  7461. "get": {
  7462. "security": [
  7463. {
  7464. "ApiKeyAuth": []
  7465. }
  7466. ],
  7467. "produces": [
  7468. "application/json"
  7469. ],
  7470. "tags": [
  7471. "大连千海金"
  7472. ],
  7473. "summary": "查询开户行",
  7474. "responses": {
  7475. "200": {
  7476. "description": "OK",
  7477. "schema": {
  7478. "type": "array",
  7479. "items": {
  7480. "$ref": "#/definitions/models.QhjBankInfo"
  7481. }
  7482. }
  7483. },
  7484. "500": {
  7485. "description": "Internal Server Error",
  7486. "schema": {
  7487. "$ref": "#/definitions/app.Response"
  7488. }
  7489. }
  7490. }
  7491. }
  7492. },
  7493. "/Qhj/QueryBrokerApply": {
  7494. "get": {
  7495. "security": [
  7496. {
  7497. "ApiKeyAuth": []
  7498. }
  7499. ],
  7500. "produces": [
  7501. "application/json"
  7502. ],
  7503. "tags": [
  7504. "大连千海金"
  7505. ],
  7506. "summary": "查询经纪人申请",
  7507. "parameters": [
  7508. {
  7509. "type": "integer",
  7510. "description": "所属机构ID",
  7511. "name": "userid",
  7512. "in": "query"
  7513. },
  7514. {
  7515. "type": "string",
  7516. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7517. "name": "filterstatus",
  7518. "in": "query"
  7519. }
  7520. ],
  7521. "responses": {
  7522. "200": {
  7523. "description": "OK",
  7524. "schema": {
  7525. "type": "array",
  7526. "items": {
  7527. "$ref": "#/definitions/models.QhjBrokerApply"
  7528. }
  7529. }
  7530. },
  7531. "500": {
  7532. "description": "Internal Server Error",
  7533. "schema": {
  7534. "$ref": "#/definitions/app.Response"
  7535. }
  7536. }
  7537. }
  7538. }
  7539. },
  7540. "/Qhj/QueryBrokerApplyEx": {
  7541. "get": {
  7542. "security": [
  7543. {
  7544. "ApiKeyAuth": []
  7545. }
  7546. ],
  7547. "produces": [
  7548. "application/json"
  7549. ],
  7550. "tags": [
  7551. "大连千海金"
  7552. ],
  7553. "summary": "查询经纪人信息和申请记录",
  7554. "parameters": [
  7555. {
  7556. "type": "integer",
  7557. "description": "所属机构ID",
  7558. "name": "userid",
  7559. "in": "query"
  7560. }
  7561. ],
  7562. "responses": {
  7563. "200": {
  7564. "description": "OK",
  7565. "schema": {
  7566. "type": "array",
  7567. "items": {
  7568. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  7569. }
  7570. }
  7571. },
  7572. "500": {
  7573. "description": "Internal Server Error",
  7574. "schema": {
  7575. "$ref": "#/definitions/app.Response"
  7576. }
  7577. }
  7578. }
  7579. }
  7580. },
  7581. "/Qhj/QueryBrokerRewardLog": {
  7582. "get": {
  7583. "security": [
  7584. {
  7585. "ApiKeyAuth": []
  7586. }
  7587. ],
  7588. "produces": [
  7589. "application/json"
  7590. ],
  7591. "tags": [
  7592. "大连千海金"
  7593. ],
  7594. "summary": "查询奖励流水(我的奖励)",
  7595. "parameters": [
  7596. {
  7597. "type": "integer",
  7598. "description": "用户ID",
  7599. "name": "userid",
  7600. "in": "query",
  7601. "required": true
  7602. },
  7603. {
  7604. "type": "string",
  7605. "description": "开始交易日(yyyymmdd)",
  7606. "name": "begindate",
  7607. "in": "query"
  7608. },
  7609. {
  7610. "type": "string",
  7611. "description": "结束交易日(yyyymmdd)",
  7612. "name": "enddate",
  7613. "in": "query"
  7614. }
  7615. ],
  7616. "responses": {
  7617. "200": {
  7618. "description": "OK",
  7619. "schema": {
  7620. "type": "array",
  7621. "items": {
  7622. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  7623. }
  7624. }
  7625. },
  7626. "500": {
  7627. "description": "Internal Server Error",
  7628. "schema": {
  7629. "$ref": "#/definitions/app.Response"
  7630. }
  7631. }
  7632. }
  7633. }
  7634. },
  7635. "/Qhj/QueryContract": {
  7636. "get": {
  7637. "security": [
  7638. {
  7639. "ApiKeyAuth": []
  7640. }
  7641. ],
  7642. "produces": [
  7643. "application/json"
  7644. ],
  7645. "tags": [
  7646. "大连千海金"
  7647. ],
  7648. "summary": "查询融资明细(合同)",
  7649. "parameters": [
  7650. {
  7651. "type": "integer",
  7652. "description": "用户ID",
  7653. "name": "userid",
  7654. "in": "query"
  7655. },
  7656. {
  7657. "type": "integer",
  7658. "description": "scf合同id",
  7659. "name": "scfcontractid",
  7660. "in": "query"
  7661. }
  7662. ],
  7663. "responses": {
  7664. "200": {
  7665. "description": "OK",
  7666. "schema": {
  7667. "type": "array",
  7668. "items": {
  7669. "$ref": "#/definitions/models.QhjContract"
  7670. }
  7671. }
  7672. },
  7673. "500": {
  7674. "description": "Internal Server Error",
  7675. "schema": {
  7676. "$ref": "#/definitions/app.Response"
  7677. }
  7678. }
  7679. }
  7680. }
  7681. },
  7682. "/Qhj/QueryContractLog": {
  7683. "get": {
  7684. "security": [
  7685. {
  7686. "ApiKeyAuth": []
  7687. }
  7688. ],
  7689. "produces": [
  7690. "application/json"
  7691. ],
  7692. "tags": [
  7693. "大连千海金"
  7694. ],
  7695. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7696. "parameters": [
  7697. {
  7698. "type": "integer",
  7699. "description": "scf合同id",
  7700. "name": "scfcontractid",
  7701. "in": "query",
  7702. "required": true
  7703. },
  7704. {
  7705. "type": "string",
  7706. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7707. "name": "amounttype",
  7708. "in": "query"
  7709. }
  7710. ],
  7711. "responses": {
  7712. "200": {
  7713. "description": "OK",
  7714. "schema": {
  7715. "type": "array",
  7716. "items": {
  7717. "$ref": "#/definitions/models.QhjContractLog"
  7718. }
  7719. }
  7720. },
  7721. "500": {
  7722. "description": "Internal Server Error",
  7723. "schema": {
  7724. "$ref": "#/definitions/app.Response"
  7725. }
  7726. }
  7727. }
  7728. }
  7729. },
  7730. "/Qhj/QueryCusBankSignBank": {
  7731. "get": {
  7732. "security": [
  7733. {
  7734. "ApiKeyAuth": []
  7735. }
  7736. ],
  7737. "produces": [
  7738. "application/json"
  7739. ],
  7740. "tags": [
  7741. "大连千海金"
  7742. ],
  7743. "summary": "查询托管银行",
  7744. "responses": {
  7745. "200": {
  7746. "description": "OK",
  7747. "schema": {
  7748. "type": "array",
  7749. "items": {
  7750. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7751. }
  7752. }
  7753. },
  7754. "500": {
  7755. "description": "Internal Server Error",
  7756. "schema": {
  7757. "$ref": "#/definitions/app.Response"
  7758. }
  7759. }
  7760. }
  7761. }
  7762. },
  7763. "/Qhj/QueryCustomerInfo": {
  7764. "get": {
  7765. "security": [
  7766. {
  7767. "ApiKeyAuth": []
  7768. }
  7769. ],
  7770. "produces": [
  7771. "application/json"
  7772. ],
  7773. "tags": [
  7774. "大连千海金"
  7775. ],
  7776. "summary": "查询客户资料",
  7777. "parameters": [
  7778. {
  7779. "type": "integer",
  7780. "description": "用户ID",
  7781. "name": "userid",
  7782. "in": "query",
  7783. "required": true
  7784. },
  7785. {
  7786. "type": "integer",
  7787. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7788. "name": "querytype",
  7789. "in": "query",
  7790. "required": true
  7791. },
  7792. {
  7793. "type": "integer",
  7794. "description": "客户类型 1-个人 2-企业",
  7795. "name": "userinfotype",
  7796. "in": "query"
  7797. },
  7798. {
  7799. "type": "string",
  7800. "description": "客户名称(模糊匹配)",
  7801. "name": "customername",
  7802. "in": "query"
  7803. },
  7804. {
  7805. "type": "string",
  7806. "description": "昵称(模糊匹配)",
  7807. "name": "nickname",
  7808. "in": "query"
  7809. },
  7810. {
  7811. "type": "integer",
  7812. "description": "是否包含子级 1-包含",
  7813. "name": "includesub",
  7814. "in": "query"
  7815. }
  7816. ],
  7817. "responses": {
  7818. "200": {
  7819. "description": "OK",
  7820. "schema": {
  7821. "type": "array",
  7822. "items": {
  7823. "$ref": "#/definitions/models.QhjCustomer"
  7824. }
  7825. }
  7826. },
  7827. "500": {
  7828. "description": "Internal Server Error",
  7829. "schema": {
  7830. "$ref": "#/definitions/app.Response"
  7831. }
  7832. }
  7833. }
  7834. }
  7835. },
  7836. "/Qhj/QueryGoodsEx": {
  7837. "get": {
  7838. "security": [
  7839. {
  7840. "ApiKeyAuth": []
  7841. }
  7842. ],
  7843. "produces": [
  7844. "application/json"
  7845. ],
  7846. "tags": [
  7847. "大连千海金"
  7848. ],
  7849. "summary": "交易商品扩展表",
  7850. "parameters": [
  7851. {
  7852. "type": "integer",
  7853. "description": "商品id",
  7854. "name": "goodsid",
  7855. "in": "query"
  7856. }
  7857. ],
  7858. "responses": {
  7859. "200": {
  7860. "description": "OK",
  7861. "schema": {
  7862. "type": "array",
  7863. "items": {
  7864. "$ref": "#/definitions/models.Qhjgoodsex"
  7865. }
  7866. }
  7867. },
  7868. "500": {
  7869. "description": "Internal Server Error",
  7870. "schema": {
  7871. "$ref": "#/definitions/app.Response"
  7872. }
  7873. }
  7874. }
  7875. }
  7876. },
  7877. "/Qhj/QueryMyTeam": {
  7878. "get": {
  7879. "security": [
  7880. {
  7881. "ApiKeyAuth": []
  7882. }
  7883. ],
  7884. "produces": [
  7885. "application/json"
  7886. ],
  7887. "tags": [
  7888. "大连千海金"
  7889. ],
  7890. "summary": "查询我的团队",
  7891. "parameters": [
  7892. {
  7893. "type": "integer",
  7894. "description": "用户ID",
  7895. "name": "userid",
  7896. "in": "query",
  7897. "required": true
  7898. }
  7899. ],
  7900. "responses": {
  7901. "200": {
  7902. "description": "OK",
  7903. "schema": {
  7904. "type": "array",
  7905. "items": {
  7906. "$ref": "#/definitions/models.QhjMyTeamEx"
  7907. }
  7908. }
  7909. },
  7910. "500": {
  7911. "description": "Internal Server Error",
  7912. "schema": {
  7913. "$ref": "#/definitions/app.Response"
  7914. }
  7915. }
  7916. }
  7917. }
  7918. },
  7919. "/Qhj/QueryMyTeamOrder": {
  7920. "get": {
  7921. "security": [
  7922. {
  7923. "ApiKeyAuth": []
  7924. }
  7925. ],
  7926. "produces": [
  7927. "application/json"
  7928. ],
  7929. "tags": [
  7930. "大连千海金"
  7931. ],
  7932. "summary": "查询团队订单(我的团队/团队订单)",
  7933. "parameters": [
  7934. {
  7935. "type": "integer",
  7936. "description": "页码",
  7937. "name": "page",
  7938. "in": "query"
  7939. },
  7940. {
  7941. "type": "integer",
  7942. "description": "每页条数",
  7943. "name": "pagesize",
  7944. "in": "query"
  7945. },
  7946. {
  7947. "type": "integer",
  7948. "description": "用户ID",
  7949. "name": "userid",
  7950. "in": "query",
  7951. "required": true
  7952. },
  7953. {
  7954. "type": "integer",
  7955. "description": "交易模式",
  7956. "name": "trademode",
  7957. "in": "query"
  7958. },
  7959. {
  7960. "type": "string",
  7961. "description": "名称(模糊搜索账户)",
  7962. "name": "filtername",
  7963. "in": "query"
  7964. }
  7965. ],
  7966. "responses": {
  7967. "200": {
  7968. "description": "OK",
  7969. "schema": {
  7970. "type": "array",
  7971. "items": {
  7972. "$ref": "#/definitions/models.QhjTeamOrder"
  7973. }
  7974. }
  7975. },
  7976. "500": {
  7977. "description": "Internal Server Error",
  7978. "schema": {
  7979. "$ref": "#/definitions/app.Response"
  7980. }
  7981. }
  7982. }
  7983. }
  7984. },
  7985. "/Qhj/QueryParentAreaList": {
  7986. "get": {
  7987. "security": [
  7988. {
  7989. "ApiKeyAuth": []
  7990. }
  7991. ],
  7992. "produces": [
  7993. "application/json"
  7994. ],
  7995. "tags": [
  7996. "大连千海金"
  7997. ],
  7998. "summary": "查询所属机构列表",
  7999. "parameters": [
  8000. {
  8001. "type": "integer",
  8002. "description": "用户ID",
  8003. "name": "userid",
  8004. "in": "query",
  8005. "required": true
  8006. }
  8007. ],
  8008. "responses": {
  8009. "200": {
  8010. "description": "OK",
  8011. "schema": {
  8012. "type": "array",
  8013. "items": {
  8014. "$ref": "#/definitions/models.QhjParentAreaList"
  8015. }
  8016. }
  8017. },
  8018. "500": {
  8019. "description": "Internal Server Error",
  8020. "schema": {
  8021. "$ref": "#/definitions/app.Response"
  8022. }
  8023. }
  8024. }
  8025. }
  8026. },
  8027. "/Qhj/QueryPayOrder": {
  8028. "get": {
  8029. "security": [
  8030. {
  8031. "ApiKeyAuth": []
  8032. }
  8033. ],
  8034. "produces": [
  8035. "application/json"
  8036. ],
  8037. "tags": [
  8038. "大连千海金"
  8039. ],
  8040. "summary": "查询待付款单据",
  8041. "parameters": [
  8042. {
  8043. "type": "integer",
  8044. "description": "资金账号id",
  8045. "name": "accountid",
  8046. "in": "query",
  8047. "required": true
  8048. },
  8049. {
  8050. "type": "integer",
  8051. "description": "成交单号",
  8052. "name": "tradeid",
  8053. "in": "query"
  8054. },
  8055. {
  8056. "type": "string",
  8057. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8058. "name": "payflag",
  8059. "in": "query"
  8060. }
  8061. ],
  8062. "responses": {
  8063. "200": {
  8064. "description": "OK",
  8065. "schema": {
  8066. "type": "array",
  8067. "items": {
  8068. "$ref": "#/definitions/models.QhjPayOrder"
  8069. }
  8070. }
  8071. },
  8072. "500": {
  8073. "description": "Internal Server Error",
  8074. "schema": {
  8075. "$ref": "#/definitions/app.Response"
  8076. }
  8077. }
  8078. }
  8079. }
  8080. },
  8081. "/Qhj/QueryPickArea": {
  8082. "get": {
  8083. "security": [
  8084. {
  8085. "ApiKeyAuth": []
  8086. }
  8087. ],
  8088. "produces": [
  8089. "application/json"
  8090. ],
  8091. "tags": [
  8092. "大连千海金"
  8093. ],
  8094. "summary": "查询提货门店",
  8095. "parameters": [
  8096. {
  8097. "type": "integer",
  8098. "description": "用户ID",
  8099. "name": "userid",
  8100. "in": "query"
  8101. }
  8102. ],
  8103. "responses": {
  8104. "200": {
  8105. "description": "OK",
  8106. "schema": {
  8107. "type": "array",
  8108. "items": {
  8109. "$ref": "#/definitions/models.QhjPickArea"
  8110. }
  8111. }
  8112. },
  8113. "500": {
  8114. "description": "Internal Server Error",
  8115. "schema": {
  8116. "$ref": "#/definitions/app.Response"
  8117. }
  8118. }
  8119. }
  8120. }
  8121. },
  8122. "/Qhj/QueryPickGoods": {
  8123. "get": {
  8124. "security": [
  8125. {
  8126. "ApiKeyAuth": []
  8127. }
  8128. ],
  8129. "produces": [
  8130. "application/json"
  8131. ],
  8132. "tags": [
  8133. "大连千海金"
  8134. ],
  8135. "summary": "查询提货商品",
  8136. "parameters": [
  8137. {
  8138. "type": "integer",
  8139. "description": "交易商品id",
  8140. "name": "goodsid",
  8141. "in": "query",
  8142. "required": true
  8143. },
  8144. {
  8145. "type": "string",
  8146. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8147. "name": "status",
  8148. "in": "query"
  8149. }
  8150. ],
  8151. "responses": {
  8152. "200": {
  8153. "description": "OK",
  8154. "schema": {
  8155. "type": "array",
  8156. "items": {
  8157. "$ref": "#/definitions/models.QhjPickGoods"
  8158. }
  8159. }
  8160. },
  8161. "500": {
  8162. "description": "Internal Server Error",
  8163. "schema": {
  8164. "$ref": "#/definitions/app.Response"
  8165. }
  8166. }
  8167. }
  8168. }
  8169. },
  8170. "/Qhj/QueryRSTriggerLog": {
  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": "regularlystrategyid",
  8195. "in": "query"
  8196. },
  8197. {
  8198. "type": "integer",
  8199. "description": "商品id",
  8200. "name": "goodsid",
  8201. "in": "query"
  8202. },
  8203. {
  8204. "type": "string",
  8205. "description": "开始交易日(yyyymmdd)",
  8206. "name": "begindate",
  8207. "in": "query"
  8208. },
  8209. {
  8210. "type": "string",
  8211. "description": "结束交易日(yyyymmdd)",
  8212. "name": "enddate",
  8213. "in": "query"
  8214. },
  8215. {
  8216. "type": "string",
  8217. "description": "名称(模糊搜索账户)",
  8218. "name": "filtername",
  8219. "in": "query"
  8220. }
  8221. ],
  8222. "responses": {
  8223. "200": {
  8224. "description": "OK",
  8225. "schema": {
  8226. "type": "array",
  8227. "items": {
  8228. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8229. }
  8230. }
  8231. },
  8232. "500": {
  8233. "description": "Internal Server Error",
  8234. "schema": {
  8235. "$ref": "#/definitions/app.Response"
  8236. }
  8237. }
  8238. }
  8239. }
  8240. },
  8241. "/Qhj/QueryRStrategy": {
  8242. "get": {
  8243. "security": [
  8244. {
  8245. "ApiKeyAuth": []
  8246. }
  8247. ],
  8248. "produces": [
  8249. "application/json"
  8250. ],
  8251. "tags": [
  8252. "大连千海金"
  8253. ],
  8254. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8255. "parameters": [
  8256. {
  8257. "type": "integer",
  8258. "description": "用户ID",
  8259. "name": "userid",
  8260. "in": "query"
  8261. },
  8262. {
  8263. "type": "integer",
  8264. "description": "商品id",
  8265. "name": "goodsid",
  8266. "in": "query"
  8267. },
  8268. {
  8269. "type": "string",
  8270. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8271. "name": "status",
  8272. "in": "query"
  8273. },
  8274. {
  8275. "type": "string",
  8276. "description": "名称(模糊搜索账户)",
  8277. "name": "filtername",
  8278. "in": "query"
  8279. }
  8280. ],
  8281. "responses": {
  8282. "200": {
  8283. "description": "OK",
  8284. "schema": {
  8285. "type": "array",
  8286. "items": {
  8287. "$ref": "#/definitions/models.QhjRStrategy"
  8288. }
  8289. }
  8290. },
  8291. "500": {
  8292. "description": "Internal Server Error",
  8293. "schema": {
  8294. "$ref": "#/definitions/app.Response"
  8295. }
  8296. }
  8297. }
  8298. }
  8299. },
  8300. "/Qhj/QueryReckonPriceLog": {
  8301. "get": {
  8302. "security": [
  8303. {
  8304. "ApiKeyAuth": []
  8305. }
  8306. ],
  8307. "produces": [
  8308. "application/json"
  8309. ],
  8310. "tags": [
  8311. "大连千海金"
  8312. ],
  8313. "summary": "查询定投价(结算价)",
  8314. "parameters": [
  8315. {
  8316. "type": "integer",
  8317. "description": "商品ID",
  8318. "name": "goodsid",
  8319. "in": "query"
  8320. },
  8321. {
  8322. "type": "string",
  8323. "description": "交易日 格式(yyyymmdd)",
  8324. "name": "tradedate",
  8325. "in": "query"
  8326. }
  8327. ],
  8328. "responses": {
  8329. "200": {
  8330. "description": "OK",
  8331. "schema": {
  8332. "type": "array",
  8333. "items": {
  8334. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8335. }
  8336. }
  8337. },
  8338. "500": {
  8339. "description": "Internal Server Error",
  8340. "schema": {
  8341. "$ref": "#/definitions/app.Response"
  8342. }
  8343. }
  8344. }
  8345. }
  8346. },
  8347. "/Qhj/QueryScoreLog": {
  8348. "get": {
  8349. "security": [
  8350. {
  8351. "ApiKeyAuth": []
  8352. }
  8353. ],
  8354. "produces": [
  8355. "application/json"
  8356. ],
  8357. "tags": [
  8358. "大连千海金"
  8359. ],
  8360. "summary": "查询积分流水(我的积分)",
  8361. "parameters": [
  8362. {
  8363. "type": "integer",
  8364. "description": "用户ID",
  8365. "name": "userid",
  8366. "in": "query",
  8367. "required": true
  8368. },
  8369. {
  8370. "type": "string",
  8371. "description": "开始交易日(yyyymmdd)",
  8372. "name": "begindate",
  8373. "in": "query"
  8374. },
  8375. {
  8376. "type": "string",
  8377. "description": "结束交易日(yyyymmdd)",
  8378. "name": "enddate",
  8379. "in": "query"
  8380. },
  8381. {
  8382. "type": "integer",
  8383. "description": "最近多少条",
  8384. "name": "lastnum",
  8385. "in": "query"
  8386. }
  8387. ],
  8388. "responses": {
  8389. "200": {
  8390. "description": "OK",
  8391. "schema": {
  8392. "type": "array",
  8393. "items": {
  8394. "$ref": "#/definitions/models.QhjScoreLog"
  8395. }
  8396. }
  8397. },
  8398. "500": {
  8399. "description": "Internal Server Error",
  8400. "schema": {
  8401. "$ref": "#/definitions/app.Response"
  8402. }
  8403. }
  8404. }
  8405. }
  8406. },
  8407. "/Qhj/QuerySiteColumnDetail": {
  8408. "get": {
  8409. "security": [
  8410. {
  8411. "ApiKeyAuth": []
  8412. }
  8413. ],
  8414. "produces": [
  8415. "application/json"
  8416. ],
  8417. "tags": [
  8418. "大连千海金"
  8419. ],
  8420. "summary": "查询资讯",
  8421. "parameters": [
  8422. {
  8423. "type": "integer",
  8424. "description": "用户ID",
  8425. "name": "userid",
  8426. "in": "query",
  8427. "required": true
  8428. }
  8429. ],
  8430. "responses": {
  8431. "200": {
  8432. "description": "OK",
  8433. "schema": {
  8434. "type": "array",
  8435. "items": {
  8436. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8437. }
  8438. }
  8439. },
  8440. "500": {
  8441. "description": "Internal Server Error",
  8442. "schema": {
  8443. "$ref": "#/definitions/app.Response"
  8444. }
  8445. }
  8446. }
  8447. }
  8448. },
  8449. "/Qhj/QueryTradeGoodsPickup": {
  8450. "get": {
  8451. "security": [
  8452. {
  8453. "ApiKeyAuth": []
  8454. }
  8455. ],
  8456. "produces": [
  8457. "application/json"
  8458. ],
  8459. "tags": [
  8460. "大连千海金"
  8461. ],
  8462. "summary": "查询提货",
  8463. "parameters": [
  8464. {
  8465. "type": "integer",
  8466. "description": "用户ID",
  8467. "name": "userid",
  8468. "in": "query",
  8469. "required": true
  8470. },
  8471. {
  8472. "type": "integer",
  8473. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8474. "name": "takeorderstatus",
  8475. "in": "query"
  8476. }
  8477. ],
  8478. "responses": {
  8479. "200": {
  8480. "description": "OK",
  8481. "schema": {
  8482. "type": "array",
  8483. "items": {
  8484. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8485. }
  8486. }
  8487. },
  8488. "500": {
  8489. "description": "Internal Server Error",
  8490. "schema": {
  8491. "$ref": "#/definitions/app.Response"
  8492. }
  8493. }
  8494. }
  8495. }
  8496. },
  8497. "/Qhj/QueryUserCollectConfig": {
  8498. "get": {
  8499. "security": [
  8500. {
  8501. "ApiKeyAuth": []
  8502. }
  8503. ],
  8504. "produces": [
  8505. "application/json"
  8506. ],
  8507. "tags": [
  8508. "大连千海金"
  8509. ],
  8510. "summary": "查询提现账户设置",
  8511. "parameters": [
  8512. {
  8513. "type": "integer",
  8514. "description": "用户ID",
  8515. "name": "userid",
  8516. "in": "query",
  8517. "required": true
  8518. }
  8519. ],
  8520. "responses": {
  8521. "200": {
  8522. "description": "OK",
  8523. "schema": {
  8524. "type": "array",
  8525. "items": {
  8526. "$ref": "#/definitions/models.UserCollectConfig"
  8527. }
  8528. }
  8529. },
  8530. "500": {
  8531. "description": "Internal Server Error",
  8532. "schema": {
  8533. "$ref": "#/definitions/app.Response"
  8534. }
  8535. }
  8536. }
  8537. }
  8538. },
  8539. "/Qhj/QueryUserReceiveInfo": {
  8540. "get": {
  8541. "security": [
  8542. {
  8543. "ApiKeyAuth": []
  8544. }
  8545. ],
  8546. "produces": [
  8547. "application/json"
  8548. ],
  8549. "tags": [
  8550. "大连千海金"
  8551. ],
  8552. "summary": "查询收货地址信息",
  8553. "parameters": [
  8554. {
  8555. "type": "integer",
  8556. "description": "用户ID",
  8557. "name": "userid",
  8558. "in": "query",
  8559. "required": true
  8560. }
  8561. ],
  8562. "responses": {
  8563. "200": {
  8564. "description": "OK",
  8565. "schema": {
  8566. "type": "array",
  8567. "items": {
  8568. "$ref": "#/definitions/models.UserReceiveInfo"
  8569. }
  8570. }
  8571. },
  8572. "500": {
  8573. "description": "Internal Server Error",
  8574. "schema": {
  8575. "$ref": "#/definitions/app.Response"
  8576. }
  8577. }
  8578. }
  8579. }
  8580. },
  8581. "/QhjMgr/QueryAccountInOutApply": {
  8582. "get": {
  8583. "security": [
  8584. {
  8585. "ApiKeyAuth": []
  8586. }
  8587. ],
  8588. "produces": [
  8589. "application/json"
  8590. ],
  8591. "tags": [
  8592. "大连千海金(PCWeb)"
  8593. ],
  8594. "summary": "查询充值提现",
  8595. "parameters": [
  8596. {
  8597. "type": "integer",
  8598. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8599. "name": "querytype",
  8600. "in": "query",
  8601. "required": true
  8602. },
  8603. {
  8604. "type": "integer",
  8605. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8606. "name": "applystatus",
  8607. "in": "query"
  8608. },
  8609. {
  8610. "type": "string",
  8611. "description": "申请起始日期(格式yyyymmdd)",
  8612. "name": "begindate",
  8613. "in": "query"
  8614. },
  8615. {
  8616. "type": "string",
  8617. "description": "申请截止日期(格式yyyymmdd)",
  8618. "name": "enddate",
  8619. "in": "query"
  8620. },
  8621. {
  8622. "type": "string",
  8623. "description": "模糊搜索名称",
  8624. "name": "likename",
  8625. "in": "query"
  8626. }
  8627. ],
  8628. "responses": {
  8629. "200": {
  8630. "description": "OK",
  8631. "schema": {
  8632. "type": "array",
  8633. "items": {
  8634. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8635. }
  8636. }
  8637. },
  8638. "500": {
  8639. "description": "Internal Server Error",
  8640. "schema": {
  8641. "$ref": "#/definitions/app.Response"
  8642. }
  8643. }
  8644. }
  8645. }
  8646. },
  8647. "/QhjMgr/QueryBrokerApply": {
  8648. "get": {
  8649. "security": [
  8650. {
  8651. "ApiKeyAuth": []
  8652. }
  8653. ],
  8654. "produces": [
  8655. "application/json"
  8656. ],
  8657. "tags": [
  8658. "大连千海金(PCWeb)"
  8659. ],
  8660. "summary": "查询经纪人申请",
  8661. "parameters": [
  8662. {
  8663. "type": "integer",
  8664. "description": "所属机构ID",
  8665. "name": "userid",
  8666. "in": "query"
  8667. },
  8668. {
  8669. "type": "string",
  8670. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8671. "name": "filterstatus",
  8672. "in": "query"
  8673. },
  8674. {
  8675. "type": "string",
  8676. "description": "名称(模糊匹配)",
  8677. "name": "filtername",
  8678. "in": "query"
  8679. },
  8680. {
  8681. "type": "integer",
  8682. "description": "是否包含子级 1-包含",
  8683. "name": "includesub",
  8684. "in": "query"
  8685. }
  8686. ],
  8687. "responses": {
  8688. "200": {
  8689. "description": "OK",
  8690. "schema": {
  8691. "type": "array",
  8692. "items": {
  8693. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8694. }
  8695. }
  8696. },
  8697. "500": {
  8698. "description": "Internal Server Error",
  8699. "schema": {
  8700. "$ref": "#/definitions/app.Response"
  8701. }
  8702. }
  8703. }
  8704. }
  8705. },
  8706. "/QhjMgr/QueryBrokerRewardReport": {
  8707. "get": {
  8708. "security": [
  8709. {
  8710. "ApiKeyAuth": []
  8711. }
  8712. ],
  8713. "produces": [
  8714. "application/json"
  8715. ],
  8716. "tags": [
  8717. "大连千海金(PCWeb)"
  8718. ],
  8719. "summary": "查询经纪人奖励报表(废弃)",
  8720. "parameters": [
  8721. {
  8722. "type": "integer",
  8723. "description": "所属机构ID",
  8724. "name": "userid",
  8725. "in": "query",
  8726. "required": true
  8727. },
  8728. {
  8729. "type": "integer",
  8730. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8731. "name": "cycletype",
  8732. "in": "query",
  8733. "required": true
  8734. },
  8735. {
  8736. "type": "string",
  8737. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8738. "name": "cycletime",
  8739. "in": "query",
  8740. "required": true
  8741. },
  8742. {
  8743. "type": "string",
  8744. "description": "名称(模糊匹配)",
  8745. "name": "filtername",
  8746. "in": "query"
  8747. },
  8748. {
  8749. "type": "integer",
  8750. "description": "是否包含子级 1-包含",
  8751. "name": "includesub",
  8752. "in": "query"
  8753. }
  8754. ],
  8755. "responses": {
  8756. "200": {
  8757. "description": "OK",
  8758. "schema": {
  8759. "type": "array",
  8760. "items": {
  8761. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8762. }
  8763. }
  8764. },
  8765. "500": {
  8766. "description": "Internal Server Error",
  8767. "schema": {
  8768. "$ref": "#/definitions/app.Response"
  8769. }
  8770. }
  8771. }
  8772. }
  8773. },
  8774. "/QhjMgr/QueryContract": {
  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. },
  8795. {
  8796. "type": "integer",
  8797. "description": "商品id",
  8798. "name": "goodsid",
  8799. "in": "query"
  8800. },
  8801. {
  8802. "type": "string",
  8803. "description": "名称(模糊搜索账户)",
  8804. "name": "filtername",
  8805. "in": "query"
  8806. },
  8807. {
  8808. "type": "string",
  8809. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8810. "name": "risklevel",
  8811. "in": "query"
  8812. },
  8813. {
  8814. "type": "string",
  8815. "description": "开始交易日(yyyymmdd)",
  8816. "name": "begindate",
  8817. "in": "query"
  8818. },
  8819. {
  8820. "type": "string",
  8821. "description": "结束交易日(yyyymmdd)",
  8822. "name": "enddate",
  8823. "in": "query"
  8824. }
  8825. ],
  8826. "responses": {
  8827. "200": {
  8828. "description": "OK",
  8829. "schema": {
  8830. "type": "array",
  8831. "items": {
  8832. "$ref": "#/definitions/models.QhjMgrContract"
  8833. }
  8834. }
  8835. },
  8836. "500": {
  8837. "description": "Internal Server Error",
  8838. "schema": {
  8839. "$ref": "#/definitions/app.Response"
  8840. }
  8841. }
  8842. }
  8843. }
  8844. },
  8845. "/QhjMgr/QueryCustomerInfo": {
  8846. "get": {
  8847. "security": [
  8848. {
  8849. "ApiKeyAuth": []
  8850. }
  8851. ],
  8852. "produces": [
  8853. "application/json"
  8854. ],
  8855. "tags": [
  8856. "大连千海金(PCWeb)"
  8857. ],
  8858. "summary": "查询客户资料",
  8859. "parameters": [
  8860. {
  8861. "type": "integer",
  8862. "description": "用户ID",
  8863. "name": "userid",
  8864. "in": "query",
  8865. "required": true
  8866. },
  8867. {
  8868. "type": "integer",
  8869. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8870. "name": "querytype",
  8871. "in": "query",
  8872. "required": true
  8873. },
  8874. {
  8875. "type": "integer",
  8876. "description": "客户类型 1-个人 2-企业",
  8877. "name": "userinfotype",
  8878. "in": "query"
  8879. },
  8880. {
  8881. "type": "string",
  8882. "description": "客户名称(模糊匹配)",
  8883. "name": "customername",
  8884. "in": "query"
  8885. },
  8886. {
  8887. "type": "string",
  8888. "description": "昵称(模糊匹配)",
  8889. "name": "nickname",
  8890. "in": "query"
  8891. },
  8892. {
  8893. "type": "string",
  8894. "description": "所属客户经理(模糊匹配)",
  8895. "name": "brokername",
  8896. "in": "query"
  8897. },
  8898. {
  8899. "type": "string",
  8900. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  8901. "name": "birthday",
  8902. "in": "query"
  8903. },
  8904. {
  8905. "type": "integer",
  8906. "description": "是否包含子级 1-包含",
  8907. "name": "includesub",
  8908. "in": "query"
  8909. }
  8910. ],
  8911. "responses": {
  8912. "200": {
  8913. "description": "OK",
  8914. "schema": {
  8915. "type": "array",
  8916. "items": {
  8917. "$ref": "#/definitions/models.QhjMgrCustomer"
  8918. }
  8919. }
  8920. },
  8921. "500": {
  8922. "description": "Internal Server Error",
  8923. "schema": {
  8924. "$ref": "#/definitions/app.Response"
  8925. }
  8926. }
  8927. }
  8928. }
  8929. },
  8930. "/QhjMgr/QueryPickGoods": {
  8931. "get": {
  8932. "security": [
  8933. {
  8934. "ApiKeyAuth": []
  8935. }
  8936. ],
  8937. "produces": [
  8938. "application/json"
  8939. ],
  8940. "tags": [
  8941. "大连千海金(PCWeb)"
  8942. ],
  8943. "summary": "查询提货商品",
  8944. "parameters": [
  8945. {
  8946. "type": "string",
  8947. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8948. "name": "status",
  8949. "in": "query"
  8950. }
  8951. ],
  8952. "responses": {
  8953. "200": {
  8954. "description": "OK",
  8955. "schema": {
  8956. "type": "array",
  8957. "items": {
  8958. "$ref": "#/definitions/models.QhjMgrPickGoods"
  8959. }
  8960. }
  8961. },
  8962. "500": {
  8963. "description": "Internal Server Error",
  8964. "schema": {
  8965. "$ref": "#/definitions/app.Response"
  8966. }
  8967. }
  8968. }
  8969. }
  8970. },
  8971. "/QhjMgr/QuerySubArea": {
  8972. "get": {
  8973. "security": [
  8974. {
  8975. "ApiKeyAuth": []
  8976. }
  8977. ],
  8978. "produces": [
  8979. "application/json"
  8980. ],
  8981. "tags": [
  8982. "大连千海金(PCWeb)"
  8983. ],
  8984. "summary": "查询子机构列表",
  8985. "parameters": [
  8986. {
  8987. "type": "integer",
  8988. "description": "用户ID",
  8989. "name": "userid",
  8990. "in": "query",
  8991. "required": true
  8992. }
  8993. ],
  8994. "responses": {
  8995. "200": {
  8996. "description": "OK",
  8997. "schema": {
  8998. "type": "array",
  8999. "items": {
  9000. "$ref": "#/definitions/models.QhjMgrSubArea"
  9001. }
  9002. }
  9003. },
  9004. "500": {
  9005. "description": "Internal Server Error",
  9006. "schema": {
  9007. "$ref": "#/definitions/app.Response"
  9008. }
  9009. }
  9010. }
  9011. }
  9012. },
  9013. "/QhjMgr/QueryTradeDetail": {
  9014. "get": {
  9015. "security": [
  9016. {
  9017. "ApiKeyAuth": []
  9018. }
  9019. ],
  9020. "produces": [
  9021. "application/json"
  9022. ],
  9023. "tags": [
  9024. "大连千海金(PCWeb)"
  9025. ],
  9026. "summary": "查询成交明细",
  9027. "parameters": [
  9028. {
  9029. "type": "integer",
  9030. "description": "用户ID",
  9031. "name": "userid",
  9032. "in": "query",
  9033. "required": true
  9034. },
  9035. {
  9036. "type": "integer",
  9037. "description": "用户类型 1-个人 2-企业",
  9038. "name": "userinfotype",
  9039. "in": "query"
  9040. },
  9041. {
  9042. "type": "integer",
  9043. "description": "交易模式",
  9044. "name": "trademode",
  9045. "in": "query"
  9046. },
  9047. {
  9048. "type": "integer",
  9049. "description": "商品id",
  9050. "name": "goodsid",
  9051. "in": "query"
  9052. },
  9053. {
  9054. "type": "string",
  9055. "description": "名称(模糊搜索账户)",
  9056. "name": "filtername",
  9057. "in": "query"
  9058. },
  9059. {
  9060. "type": "string",
  9061. "description": "开始交易日(yyyymmdd)",
  9062. "name": "begindate",
  9063. "in": "query"
  9064. },
  9065. {
  9066. "type": "string",
  9067. "description": "结束交易日(yyyymmdd)",
  9068. "name": "enddate",
  9069. "in": "query"
  9070. },
  9071. {
  9072. "type": "integer",
  9073. "description": "是否包含子级 1-包含",
  9074. "name": "includesub",
  9075. "in": "query"
  9076. }
  9077. ],
  9078. "responses": {
  9079. "200": {
  9080. "description": "OK",
  9081. "schema": {
  9082. "type": "array",
  9083. "items": {
  9084. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9085. }
  9086. }
  9087. },
  9088. "500": {
  9089. "description": "Internal Server Error",
  9090. "schema": {
  9091. "$ref": "#/definitions/app.Response"
  9092. }
  9093. }
  9094. }
  9095. }
  9096. },
  9097. "/QhjMgr/QueryTradeOrderDetail": {
  9098. "get": {
  9099. "security": [
  9100. {
  9101. "ApiKeyAuth": []
  9102. }
  9103. ],
  9104. "produces": [
  9105. "application/json"
  9106. ],
  9107. "tags": [
  9108. "大连千海金(PCWeb)"
  9109. ],
  9110. "summary": "查询委托明细",
  9111. "parameters": [
  9112. {
  9113. "type": "integer",
  9114. "description": "用户ID",
  9115. "name": "userid",
  9116. "in": "query",
  9117. "required": true
  9118. },
  9119. {
  9120. "type": "integer",
  9121. "description": "用户类型 1-个人 2-企业",
  9122. "name": "userinfotype",
  9123. "in": "query"
  9124. },
  9125. {
  9126. "type": "integer",
  9127. "description": "交易模式",
  9128. "name": "trademode",
  9129. "in": "query"
  9130. },
  9131. {
  9132. "type": "integer",
  9133. "description": "商品id",
  9134. "name": "goodsid",
  9135. "in": "query"
  9136. },
  9137. {
  9138. "type": "string",
  9139. "description": "名称(模糊搜索账户)",
  9140. "name": "filtername",
  9141. "in": "query"
  9142. },
  9143. {
  9144. "type": "string",
  9145. "description": "开始交易日(yyyymmdd)",
  9146. "name": "begindate",
  9147. "in": "query"
  9148. },
  9149. {
  9150. "type": "string",
  9151. "description": "结束交易日(yyyymmdd)",
  9152. "name": "enddate",
  9153. "in": "query"
  9154. },
  9155. {
  9156. "type": "integer",
  9157. "description": "是否包含子级 1-包含",
  9158. "name": "includesub",
  9159. "in": "query"
  9160. }
  9161. ],
  9162. "responses": {
  9163. "200": {
  9164. "description": "OK",
  9165. "schema": {
  9166. "type": "array",
  9167. "items": {
  9168. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9169. }
  9170. }
  9171. },
  9172. "500": {
  9173. "description": "Internal Server Error",
  9174. "schema": {
  9175. "$ref": "#/definitions/app.Response"
  9176. }
  9177. }
  9178. }
  9179. }
  9180. },
  9181. "/QhjMgr/QueryTradePayOrder": {
  9182. "get": {
  9183. "security": [
  9184. {
  9185. "ApiKeyAuth": []
  9186. }
  9187. ],
  9188. "produces": [
  9189. "application/json"
  9190. ],
  9191. "tags": [
  9192. "大连千海金(PCWeb)"
  9193. ],
  9194. "summary": "查询待付款单",
  9195. "parameters": [
  9196. {
  9197. "type": "integer",
  9198. "description": "用户ID",
  9199. "name": "userid",
  9200. "in": "query",
  9201. "required": true
  9202. },
  9203. {
  9204. "type": "string",
  9205. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9206. "name": "payflag",
  9207. "in": "query"
  9208. },
  9209. {
  9210. "type": "integer",
  9211. "description": "用户类型 1-个人 2-企业",
  9212. "name": "userinfotype",
  9213. "in": "query"
  9214. },
  9215. {
  9216. "type": "integer",
  9217. "description": "交易模式",
  9218. "name": "trademode",
  9219. "in": "query"
  9220. },
  9221. {
  9222. "type": "integer",
  9223. "description": "商品id",
  9224. "name": "goodsid",
  9225. "in": "query"
  9226. },
  9227. {
  9228. "type": "string",
  9229. "description": "名称(模糊搜索账户)",
  9230. "name": "filtername",
  9231. "in": "query"
  9232. },
  9233. {
  9234. "type": "string",
  9235. "description": "开始交易日(yyyymmdd)",
  9236. "name": "begindate",
  9237. "in": "query"
  9238. },
  9239. {
  9240. "type": "string",
  9241. "description": "结束交易日(yyyymmdd)",
  9242. "name": "enddate",
  9243. "in": "query"
  9244. },
  9245. {
  9246. "type": "integer",
  9247. "description": "是否包含子级 1-包含",
  9248. "name": "includesub",
  9249. "in": "query"
  9250. }
  9251. ],
  9252. "responses": {
  9253. "200": {
  9254. "description": "OK",
  9255. "schema": {
  9256. "type": "array",
  9257. "items": {
  9258. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9259. }
  9260. }
  9261. },
  9262. "500": {
  9263. "description": "Internal Server Error",
  9264. "schema": {
  9265. "$ref": "#/definitions/app.Response"
  9266. }
  9267. }
  9268. }
  9269. }
  9270. },
  9271. "/QhjMgr/QueryTradePosition": {
  9272. "get": {
  9273. "security": [
  9274. {
  9275. "ApiKeyAuth": []
  9276. }
  9277. ],
  9278. "produces": [
  9279. "application/json"
  9280. ],
  9281. "tags": [
  9282. "大连千海金(PCWeb)"
  9283. ],
  9284. "summary": "查询持仓汇总",
  9285. "parameters": [
  9286. {
  9287. "type": "integer",
  9288. "description": "用户ID",
  9289. "name": "userid",
  9290. "in": "query",
  9291. "required": true
  9292. },
  9293. {
  9294. "type": "integer",
  9295. "description": "用户类型 1-个人 2-企业",
  9296. "name": "userinfotype",
  9297. "in": "query"
  9298. },
  9299. {
  9300. "type": "integer",
  9301. "description": "交易模式",
  9302. "name": "trademode",
  9303. "in": "query"
  9304. },
  9305. {
  9306. "type": "integer",
  9307. "description": "商品id",
  9308. "name": "goodsid",
  9309. "in": "query"
  9310. },
  9311. {
  9312. "type": "string",
  9313. "description": "名称(模糊搜索账户)",
  9314. "name": "filtername",
  9315. "in": "query"
  9316. },
  9317. {
  9318. "type": "integer",
  9319. "description": "是否包含子级 1-包含",
  9320. "name": "includesub",
  9321. "in": "query"
  9322. }
  9323. ],
  9324. "responses": {
  9325. "200": {
  9326. "description": "OK",
  9327. "schema": {
  9328. "type": "array",
  9329. "items": {
  9330. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9331. }
  9332. }
  9333. },
  9334. "500": {
  9335. "description": "Internal Server Error",
  9336. "schema": {
  9337. "$ref": "#/definitions/app.Response"
  9338. }
  9339. }
  9340. }
  9341. }
  9342. },
  9343. "/QhjSys/QueryAgreementChangeLog": {
  9344. "get": {
  9345. "security": [
  9346. {
  9347. "ApiKeyAuth": []
  9348. }
  9349. ],
  9350. "produces": [
  9351. "application/json"
  9352. ],
  9353. "tags": [
  9354. "大连千海金(协议和签约信息)"
  9355. ],
  9356. "summary": "查询协议配置变更流水",
  9357. "parameters": [
  9358. {
  9359. "type": "integer",
  9360. "description": "协议ID",
  9361. "name": "agreementid",
  9362. "in": "query"
  9363. },
  9364. {
  9365. "type": "integer",
  9366. "description": "协议版本号",
  9367. "name": "agreementversion",
  9368. "in": "query"
  9369. },
  9370. {
  9371. "type": "integer",
  9372. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9373. "name": "agreementtype",
  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.QhjAgreementChangeLog"
  9396. }
  9397. }
  9398. },
  9399. "500": {
  9400. "description": "Internal Server Error",
  9401. "schema": {
  9402. "$ref": "#/definitions/app.Response"
  9403. }
  9404. }
  9405. }
  9406. }
  9407. },
  9408. "/QhjSys/QueryAgreementConfig": {
  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": "agreementid",
  9427. "in": "query"
  9428. },
  9429. {
  9430. "type": "integer",
  9431. "description": "协议版本号",
  9432. "name": "agreementversion",
  9433. "in": "query"
  9434. },
  9435. {
  9436. "type": "integer",
  9437. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9438. "name": "agreementtype",
  9439. "in": "query"
  9440. },
  9441. {
  9442. "type": "integer",
  9443. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9444. "name": "isvalid",
  9445. "in": "query"
  9446. },
  9447. {
  9448. "type": "string",
  9449. "description": "协议编号(模糊匹配)",
  9450. "name": "agreementno",
  9451. "in": "query"
  9452. },
  9453. {
  9454. "type": "string",
  9455. "description": "协议名称(模糊匹配)",
  9456. "name": "agreementname",
  9457. "in": "query"
  9458. }
  9459. ],
  9460. "responses": {
  9461. "200": {
  9462. "description": "OK",
  9463. "schema": {
  9464. "type": "array",
  9465. "items": {
  9466. "$ref": "#/definitions/models.QhjAgreementConfig"
  9467. }
  9468. }
  9469. },
  9470. "500": {
  9471. "description": "Internal Server Error",
  9472. "schema": {
  9473. "$ref": "#/definitions/app.Response"
  9474. }
  9475. }
  9476. }
  9477. }
  9478. },
  9479. "/QhjSys/QueryCustomerSignStatus": {
  9480. "get": {
  9481. "security": [
  9482. {
  9483. "ApiKeyAuth": []
  9484. }
  9485. ],
  9486. "produces": [
  9487. "application/json"
  9488. ],
  9489. "tags": [
  9490. "大连千海金(协议和签约信息)"
  9491. ],
  9492. "summary": "查询客户协议签约状态",
  9493. "parameters": [
  9494. {
  9495. "type": "integer",
  9496. "description": "客户ID",
  9497. "name": "userid",
  9498. "in": "query"
  9499. },
  9500. {
  9501. "type": "integer",
  9502. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9503. "name": "nodetype",
  9504. "in": "query"
  9505. },
  9506. {
  9507. "type": "integer",
  9508. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9509. "name": "goodsid",
  9510. "in": "query"
  9511. },
  9512. {
  9513. "type": "string",
  9514. "description": "创建交易日(yyyyMMdd)",
  9515. "name": "tradedate",
  9516. "in": "query"
  9517. },
  9518. {
  9519. "type": "string",
  9520. "description": "用户名称(模糊匹配)",
  9521. "name": "username",
  9522. "in": "query"
  9523. }
  9524. ],
  9525. "responses": {
  9526. "200": {
  9527. "description": "OK",
  9528. "schema": {
  9529. "type": "array",
  9530. "items": {
  9531. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9532. }
  9533. }
  9534. },
  9535. "500": {
  9536. "description": "Internal Server Error",
  9537. "schema": {
  9538. "$ref": "#/definitions/app.Response"
  9539. }
  9540. }
  9541. }
  9542. }
  9543. },
  9544. "/QhjSys/QueryNodeAgreementConfig": {
  9545. "get": {
  9546. "security": [
  9547. {
  9548. "ApiKeyAuth": []
  9549. }
  9550. ],
  9551. "produces": [
  9552. "application/json"
  9553. ],
  9554. "tags": [
  9555. "大连千海金(协议和签约信息)"
  9556. ],
  9557. "summary": "查询协议节点配置",
  9558. "parameters": [
  9559. {
  9560. "type": "integer",
  9561. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9562. "name": "configid",
  9563. "in": "query"
  9564. },
  9565. {
  9566. "type": "integer",
  9567. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9568. "name": "nodetype",
  9569. "in": "query"
  9570. },
  9571. {
  9572. "type": "integer",
  9573. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9574. "name": "goodsid",
  9575. "in": "query"
  9576. },
  9577. {
  9578. "type": "integer",
  9579. "description": "协议ID",
  9580. "name": "agreementid",
  9581. "in": "query"
  9582. },
  9583. {
  9584. "type": "integer",
  9585. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9586. "name": "agreementtype",
  9587. "in": "query"
  9588. },
  9589. {
  9590. "type": "integer",
  9591. "description": "协议版本号",
  9592. "name": "agreementversion",
  9593. "in": "query"
  9594. },
  9595. {
  9596. "type": "string",
  9597. "description": "协议编号(模糊匹配)",
  9598. "name": "agreementno",
  9599. "in": "query"
  9600. },
  9601. {
  9602. "type": "string",
  9603. "description": "协议名称(模糊匹配)",
  9604. "name": "agreementname",
  9605. "in": "query"
  9606. }
  9607. ],
  9608. "responses": {
  9609. "200": {
  9610. "description": "OK",
  9611. "schema": {
  9612. "type": "array",
  9613. "items": {
  9614. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9615. }
  9616. }
  9617. },
  9618. "500": {
  9619. "description": "Internal Server Error",
  9620. "schema": {
  9621. "$ref": "#/definitions/app.Response"
  9622. }
  9623. }
  9624. }
  9625. }
  9626. },
  9627. "/QhjSys/QueryQhjCustomerSignLog": {
  9628. "get": {
  9629. "security": [
  9630. {
  9631. "ApiKeyAuth": []
  9632. }
  9633. ],
  9634. "produces": [
  9635. "application/json"
  9636. ],
  9637. "tags": [
  9638. "大连千海金(协议和签约信息)"
  9639. ],
  9640. "summary": "查询客户协议签约流水",
  9641. "parameters": [
  9642. {
  9643. "type": "integer",
  9644. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9645. "name": "logid",
  9646. "in": "query"
  9647. },
  9648. {
  9649. "type": "integer",
  9650. "description": "客户ID",
  9651. "name": "userid",
  9652. "in": "query"
  9653. },
  9654. {
  9655. "type": "integer",
  9656. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9657. "name": "nodetype",
  9658. "in": "query"
  9659. },
  9660. {
  9661. "type": "integer",
  9662. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9663. "name": "goodsid",
  9664. "in": "query"
  9665. },
  9666. {
  9667. "type": "integer",
  9668. "description": "协议ID",
  9669. "name": "agreementid",
  9670. "in": "query"
  9671. },
  9672. {
  9673. "type": "string",
  9674. "description": "用户名称(模糊匹配)",
  9675. "name": "username",
  9676. "in": "query"
  9677. },
  9678. {
  9679. "type": "string",
  9680. "description": "协议编号(模糊匹配)",
  9681. "name": "agreementno",
  9682. "in": "query"
  9683. },
  9684. {
  9685. "type": "string",
  9686. "description": "协议名称(模糊匹配)",
  9687. "name": "agreementname",
  9688. "in": "query"
  9689. }
  9690. ],
  9691. "responses": {
  9692. "200": {
  9693. "description": "OK",
  9694. "schema": {
  9695. "type": "array",
  9696. "items": {
  9697. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9698. }
  9699. }
  9700. },
  9701. "500": {
  9702. "description": "Internal Server Error",
  9703. "schema": {
  9704. "$ref": "#/definitions/app.Response"
  9705. }
  9706. }
  9707. }
  9708. }
  9709. },
  9710. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9711. "get": {
  9712. "security": [
  9713. {
  9714. "ApiKeyAuth": []
  9715. }
  9716. ],
  9717. "produces": [
  9718. "application/json"
  9719. ],
  9720. "tags": [
  9721. "大连千海金(协议和签约信息)"
  9722. ],
  9723. "summary": "查询用户协议节点配置和状态",
  9724. "parameters": [
  9725. {
  9726. "type": "integer",
  9727. "description": "客户ID",
  9728. "name": "userid",
  9729. "in": "query"
  9730. },
  9731. {
  9732. "type": "integer",
  9733. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9734. "name": "configid",
  9735. "in": "query"
  9736. },
  9737. {
  9738. "type": "string",
  9739. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9740. "name": "nodetype",
  9741. "in": "query"
  9742. },
  9743. {
  9744. "type": "integer",
  9745. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9746. "name": "goodsid",
  9747. "in": "query"
  9748. },
  9749. {
  9750. "type": "integer",
  9751. "description": "协议ID",
  9752. "name": "agreementid",
  9753. "in": "query"
  9754. },
  9755. {
  9756. "type": "integer",
  9757. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9758. "name": "agreementtype",
  9759. "in": "query"
  9760. },
  9761. {
  9762. "type": "integer",
  9763. "description": "协议版本号",
  9764. "name": "agreementversion",
  9765. "in": "query"
  9766. },
  9767. {
  9768. "type": "string",
  9769. "description": "协议编号(模糊匹配)",
  9770. "name": "agreementno",
  9771. "in": "query"
  9772. },
  9773. {
  9774. "type": "string",
  9775. "description": "协议名称(模糊匹配)",
  9776. "name": "agreementname",
  9777. "in": "query"
  9778. }
  9779. ],
  9780. "responses": {
  9781. "200": {
  9782. "description": "OK",
  9783. "schema": {
  9784. "type": "array",
  9785. "items": {
  9786. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9787. }
  9788. }
  9789. },
  9790. "500": {
  9791. "description": "Internal Server Error",
  9792. "schema": {
  9793. "$ref": "#/definitions/app.Response"
  9794. }
  9795. }
  9796. }
  9797. }
  9798. },
  9799. "/Quote/QueryHistoryDatas": {
  9800. "get": {
  9801. "security": [
  9802. {
  9803. "ApiKeyAuth": []
  9804. }
  9805. ],
  9806. "produces": [
  9807. "application/json"
  9808. ],
  9809. "tags": [
  9810. "行情服务"
  9811. ],
  9812. "summary": "查询行情历史数据",
  9813. "parameters": [
  9814. {
  9815. "type": "integer",
  9816. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9817. "name": "cycleType",
  9818. "in": "query",
  9819. "required": true
  9820. },
  9821. {
  9822. "type": "string",
  9823. "description": "商品代码",
  9824. "name": "goodsCode",
  9825. "in": "query",
  9826. "required": true
  9827. },
  9828. {
  9829. "type": "string",
  9830. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9831. "name": "startTime",
  9832. "in": "query"
  9833. },
  9834. {
  9835. "type": "string",
  9836. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9837. "name": "endTime",
  9838. "in": "query"
  9839. },
  9840. {
  9841. "type": "integer",
  9842. "description": "条数",
  9843. "name": "count",
  9844. "in": "query"
  9845. },
  9846. {
  9847. "type": "boolean",
  9848. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9849. "name": "isAsc",
  9850. "in": "query"
  9851. }
  9852. ],
  9853. "responses": {
  9854. "200": {
  9855. "description": "OK",
  9856. "schema": {
  9857. "$ref": "#/definitions/quote.HistoryData"
  9858. }
  9859. },
  9860. "500": {
  9861. "description": "Internal Server Error",
  9862. "schema": {
  9863. "$ref": "#/definitions/app.Response"
  9864. }
  9865. }
  9866. }
  9867. }
  9868. },
  9869. "/Quote/QueryHistoryTikDatas": {
  9870. "get": {
  9871. "security": [
  9872. {
  9873. "ApiKeyAuth": []
  9874. }
  9875. ],
  9876. "produces": [
  9877. "application/json"
  9878. ],
  9879. "tags": [
  9880. "行情服务"
  9881. ],
  9882. "summary": "查询行情Tik数据",
  9883. "parameters": [
  9884. {
  9885. "type": "string",
  9886. "description": "商品代码",
  9887. "name": "goodsCode",
  9888. "in": "query",
  9889. "required": true
  9890. },
  9891. {
  9892. "type": "string",
  9893. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9894. "name": "startTime",
  9895. "in": "query"
  9896. },
  9897. {
  9898. "type": "string",
  9899. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9900. "name": "endTime",
  9901. "in": "query"
  9902. },
  9903. {
  9904. "type": "integer",
  9905. "description": "条数",
  9906. "name": "count",
  9907. "in": "query"
  9908. },
  9909. {
  9910. "type": "boolean",
  9911. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9912. "name": "isAsc",
  9913. "in": "query"
  9914. }
  9915. ],
  9916. "responses": {
  9917. "200": {
  9918. "description": "OK",
  9919. "schema": {
  9920. "$ref": "#/definitions/quote.HistoryTikData"
  9921. }
  9922. },
  9923. "500": {
  9924. "description": "Internal Server Error",
  9925. "schema": {
  9926. "$ref": "#/definitions/app.Response"
  9927. }
  9928. }
  9929. }
  9930. }
  9931. },
  9932. "/Quote/QueryQuoteDay": {
  9933. "get": {
  9934. "security": [
  9935. {
  9936. "ApiKeyAuth": []
  9937. }
  9938. ],
  9939. "produces": [
  9940. "application/json"
  9941. ],
  9942. "tags": [
  9943. "行情服务"
  9944. ],
  9945. "summary": "获取商品盘面信息",
  9946. "parameters": [
  9947. {
  9948. "type": "string",
  9949. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9950. "name": "goodsCodes",
  9951. "in": "query",
  9952. "required": true
  9953. }
  9954. ],
  9955. "responses": {
  9956. "200": {
  9957. "description": "OK",
  9958. "schema": {
  9959. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9960. }
  9961. },
  9962. "500": {
  9963. "description": "Internal Server Error",
  9964. "schema": {
  9965. "$ref": "#/definitions/app.Response"
  9966. }
  9967. }
  9968. }
  9969. }
  9970. },
  9971. "/Quote/QueryTSData": {
  9972. "get": {
  9973. "security": [
  9974. {
  9975. "ApiKeyAuth": []
  9976. }
  9977. ],
  9978. "produces": [
  9979. "application/json"
  9980. ],
  9981. "tags": [
  9982. "行情服务"
  9983. ],
  9984. "summary": "分时图数据查询",
  9985. "parameters": [
  9986. {
  9987. "type": "string",
  9988. "description": "商品代码",
  9989. "name": "goodsCode",
  9990. "in": "query",
  9991. "required": true
  9992. }
  9993. ],
  9994. "responses": {
  9995. "200": {
  9996. "description": "OK",
  9997. "schema": {
  9998. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9999. }
  10000. },
  10001. "500": {
  10002. "description": "Internal Server Error",
  10003. "schema": {
  10004. "$ref": "#/definitions/app.Response"
  10005. }
  10006. }
  10007. }
  10008. }
  10009. },
  10010. "/SZDZ/QueryConvertConfig": {
  10011. "get": {
  10012. "security": [
  10013. {
  10014. "ApiKeyAuth": []
  10015. }
  10016. ],
  10017. "produces": [
  10018. "application/json"
  10019. ],
  10020. "tags": [
  10021. "定制【尚志大宗】"
  10022. ],
  10023. "summary": "查询交易系统转换设置",
  10024. "parameters": [
  10025. {
  10026. "type": "integer",
  10027. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10028. "name": "convertType",
  10029. "in": "query"
  10030. },
  10031. {
  10032. "type": "string",
  10033. "description": "外部商品代码[JD\\PD]",
  10034. "name": "outerGoodsCode",
  10035. "in": "query"
  10036. },
  10037. {
  10038. "type": "string",
  10039. "description": "内部商品ID列表[交易],格式:1,2,3",
  10040. "name": "innerGoodsIDs",
  10041. "in": "query"
  10042. }
  10043. ],
  10044. "responses": {
  10045. "200": {
  10046. "description": "OK",
  10047. "schema": {
  10048. "$ref": "#/definitions/models.Szdz3convertconfig"
  10049. }
  10050. },
  10051. "500": {
  10052. "description": "Internal Server Error",
  10053. "schema": {
  10054. "$ref": "#/definitions/app.Response"
  10055. }
  10056. }
  10057. }
  10058. }
  10059. },
  10060. "/SZDZ/QueryConvertLog": {
  10061. "get": {
  10062. "security": [
  10063. {
  10064. "ApiKeyAuth": []
  10065. }
  10066. ],
  10067. "produces": [
  10068. "application/json"
  10069. ],
  10070. "tags": [
  10071. "定制【尚志大宗】"
  10072. ],
  10073. "summary": "交易系统转换流水查询",
  10074. "parameters": [
  10075. {
  10076. "type": "string",
  10077. "description": "资金账户 - 格式:1,2,3",
  10078. "name": "accountID",
  10079. "in": "query",
  10080. "required": true
  10081. },
  10082. {
  10083. "type": "string",
  10084. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10085. "name": "startDate",
  10086. "in": "query"
  10087. },
  10088. {
  10089. "type": "string",
  10090. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10091. "name": "endDate",
  10092. "in": "query"
  10093. }
  10094. ],
  10095. "responses": {
  10096. "200": {
  10097. "description": "OK",
  10098. "schema": {
  10099. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10100. }
  10101. },
  10102. "500": {
  10103. "description": "Internal Server Error",
  10104. "schema": {
  10105. "$ref": "#/definitions/app.Response"
  10106. }
  10107. }
  10108. }
  10109. }
  10110. },
  10111. "/SZDZ/QueryGoodsPickup": {
  10112. "get": {
  10113. "security": [
  10114. {
  10115. "ApiKeyAuth": []
  10116. }
  10117. ],
  10118. "produces": [
  10119. "application/json"
  10120. ],
  10121. "tags": [
  10122. "定制【尚志大宗】"
  10123. ],
  10124. "summary": "商品提货单查询",
  10125. "parameters": [
  10126. {
  10127. "type": "string",
  10128. "description": "资金账户 - 格式:1,2,3",
  10129. "name": "accountID",
  10130. "in": "query",
  10131. "required": true
  10132. },
  10133. {
  10134. "type": "integer",
  10135. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10136. "name": "takeOrderStatus",
  10137. "in": "query"
  10138. }
  10139. ],
  10140. "responses": {
  10141. "200": {
  10142. "description": "OK",
  10143. "schema": {
  10144. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10145. }
  10146. },
  10147. "500": {
  10148. "description": "Internal Server Error",
  10149. "schema": {
  10150. "$ref": "#/definitions/app.Response"
  10151. }
  10152. }
  10153. }
  10154. }
  10155. },
  10156. "/SZDZ/QueryRecieptOrder": {
  10157. "get": {
  10158. "security": [
  10159. {
  10160. "ApiKeyAuth": []
  10161. }
  10162. ],
  10163. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10164. "produces": [
  10165. "application/json"
  10166. ],
  10167. "tags": [
  10168. "定制【尚志大宗】"
  10169. ],
  10170. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10171. "parameters": [
  10172. {
  10173. "type": "integer",
  10174. "description": "页码",
  10175. "name": "page",
  10176. "in": "query"
  10177. },
  10178. {
  10179. "type": "integer",
  10180. "description": "每页条数",
  10181. "name": "pagesize",
  10182. "in": "query"
  10183. },
  10184. {
  10185. "type": "integer",
  10186. "description": "商品ID",
  10187. "name": "goodsID",
  10188. "in": "query",
  10189. "required": true
  10190. },
  10191. {
  10192. "type": "string",
  10193. "description": "所属账户名称",
  10194. "name": "accountName",
  10195. "in": "query"
  10196. },
  10197. {
  10198. "type": "integer",
  10199. "description": "市场ID",
  10200. "name": "marketID",
  10201. "in": "query"
  10202. },
  10203. {
  10204. "type": "integer",
  10205. "description": "方向 - 0:买 1:卖",
  10206. "name": "buyorsell",
  10207. "in": "query",
  10208. "required": true
  10209. }
  10210. ],
  10211. "responses": {
  10212. "200": {
  10213. "description": "OK",
  10214. "schema": {
  10215. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10216. }
  10217. },
  10218. "500": {
  10219. "description": "Internal Server Error",
  10220. "schema": {
  10221. "$ref": "#/definitions/app.Response"
  10222. }
  10223. }
  10224. }
  10225. }
  10226. },
  10227. "/SZDZ/QuerySZDZTradePosition": {
  10228. "get": {
  10229. "security": [
  10230. {
  10231. "ApiKeyAuth": []
  10232. }
  10233. ],
  10234. "produces": [
  10235. "application/json"
  10236. ],
  10237. "tags": [
  10238. "定制【尚志大宗】"
  10239. ],
  10240. "summary": "持仓汇总查询(尚志大宗)",
  10241. "parameters": [
  10242. {
  10243. "type": "integer",
  10244. "description": "资金账户",
  10245. "name": "accountID",
  10246. "in": "query",
  10247. "required": true
  10248. }
  10249. ],
  10250. "responses": {
  10251. "200": {
  10252. "description": "OK",
  10253. "schema": {
  10254. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10255. }
  10256. },
  10257. "500": {
  10258. "description": "Internal Server Error",
  10259. "schema": {
  10260. "$ref": "#/definitions/app.Response"
  10261. }
  10262. }
  10263. }
  10264. }
  10265. },
  10266. "/SZDZ/SearchWhite": {
  10267. "get": {
  10268. "security": [
  10269. {
  10270. "ApiKeyAuth": []
  10271. }
  10272. ],
  10273. "produces": [
  10274. "application/json"
  10275. ],
  10276. "tags": [
  10277. "定制【尚志大宗】"
  10278. ],
  10279. "summary": "搜索白名单",
  10280. "parameters": [
  10281. {
  10282. "type": "integer",
  10283. "description": "用户ID",
  10284. "name": "userID",
  10285. "in": "query",
  10286. "required": true
  10287. }
  10288. ],
  10289. "responses": {
  10290. "200": {
  10291. "description": "OK",
  10292. "schema": {
  10293. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10294. }
  10295. },
  10296. "500": {
  10297. "description": "Internal Server Error",
  10298. "schema": {
  10299. "$ref": "#/definitions/app.Response"
  10300. }
  10301. }
  10302. }
  10303. }
  10304. },
  10305. "/Search/SearchGoodses": {
  10306. "get": {
  10307. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10308. "produces": [
  10309. "application/json"
  10310. ],
  10311. "tags": [
  10312. "检索服务"
  10313. ],
  10314. "summary": "检索商品信息",
  10315. "parameters": [
  10316. {
  10317. "type": "string",
  10318. "description": "检索内容",
  10319. "name": "content",
  10320. "in": "query",
  10321. "required": true
  10322. },
  10323. {
  10324. "type": "string",
  10325. "description": "交易模式,格式:1,2,3",
  10326. "name": "tradeModes",
  10327. "in": "query"
  10328. }
  10329. ],
  10330. "responses": {
  10331. "200": {
  10332. "description": "OK",
  10333. "schema": {
  10334. "$ref": "#/definitions/models.SearchGoods"
  10335. }
  10336. },
  10337. "500": {
  10338. "description": "Internal Server Error",
  10339. "schema": {
  10340. "$ref": "#/definitions/app.Response"
  10341. }
  10342. }
  10343. }
  10344. }
  10345. },
  10346. "/TaAccount/GetTaAccounts": {
  10347. "get": {
  10348. "security": [
  10349. {
  10350. "ApiKeyAuth": []
  10351. }
  10352. ],
  10353. "produces": [
  10354. "application/json"
  10355. ],
  10356. "tags": [
  10357. "资金账户"
  10358. ],
  10359. "summary": "获取资金账户信息",
  10360. "parameters": [
  10361. {
  10362. "type": "integer",
  10363. "description": "登录账户",
  10364. "name": "loginID",
  10365. "in": "query",
  10366. "required": true
  10367. },
  10368. {
  10369. "type": "integer",
  10370. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10371. "name": "taAccountType",
  10372. "in": "query"
  10373. }
  10374. ],
  10375. "responses": {
  10376. "200": {
  10377. "description": "OK",
  10378. "schema": {
  10379. "$ref": "#/definitions/models.Taaccount"
  10380. }
  10381. },
  10382. "500": {
  10383. "description": "Internal Server Error",
  10384. "schema": {
  10385. "$ref": "#/definitions/app.Response"
  10386. }
  10387. }
  10388. }
  10389. }
  10390. },
  10391. "/TaAccount/QueryAmountLog": {
  10392. "get": {
  10393. "security": [
  10394. {
  10395. "ApiKeyAuth": []
  10396. }
  10397. ],
  10398. "produces": [
  10399. "application/json"
  10400. ],
  10401. "tags": [
  10402. "资金账户"
  10403. ],
  10404. "summary": "资金流水查询(当前)",
  10405. "parameters": [
  10406. {
  10407. "type": "integer",
  10408. "description": "页码",
  10409. "name": "page",
  10410. "in": "query"
  10411. },
  10412. {
  10413. "type": "integer",
  10414. "description": "每页条数",
  10415. "name": "pagesize",
  10416. "in": "query"
  10417. },
  10418. {
  10419. "type": "string",
  10420. "description": "资金账户 - 格式:1,2,3",
  10421. "name": "accountID",
  10422. "in": "query",
  10423. "required": true
  10424. },
  10425. {
  10426. "type": "string",
  10427. "description": "资金操作类型 - 格式:1,2,3",
  10428. "name": "OperateType",
  10429. "in": "query"
  10430. }
  10431. ],
  10432. "responses": {
  10433. "200": {
  10434. "description": "OK",
  10435. "schema": {
  10436. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10437. }
  10438. },
  10439. "500": {
  10440. "description": "Internal Server Error",
  10441. "schema": {
  10442. "$ref": "#/definitions/app.Response"
  10443. }
  10444. }
  10445. }
  10446. }
  10447. },
  10448. "/TaAccount/QueryHisAmountLog": {
  10449. "get": {
  10450. "security": [
  10451. {
  10452. "ApiKeyAuth": []
  10453. }
  10454. ],
  10455. "produces": [
  10456. "application/json"
  10457. ],
  10458. "tags": [
  10459. "资金账户"
  10460. ],
  10461. "summary": "资金流水查询(历史)",
  10462. "parameters": [
  10463. {
  10464. "type": "integer",
  10465. "description": "页码",
  10466. "name": "page",
  10467. "in": "query"
  10468. },
  10469. {
  10470. "type": "integer",
  10471. "description": "每页条数",
  10472. "name": "pagesize",
  10473. "in": "query"
  10474. },
  10475. {
  10476. "type": "string",
  10477. "description": "资金账户 - 格式:1,2,3",
  10478. "name": "accountID",
  10479. "in": "query",
  10480. "required": true
  10481. },
  10482. {
  10483. "type": "string",
  10484. "description": "资金操作类型 - 格式:1,2,3",
  10485. "name": "OperateType",
  10486. "in": "query"
  10487. },
  10488. {
  10489. "type": "string",
  10490. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10491. "name": "startDate",
  10492. "in": "query"
  10493. },
  10494. {
  10495. "type": "string",
  10496. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10497. "name": "endDate",
  10498. "in": "query"
  10499. }
  10500. ],
  10501. "responses": {
  10502. "200": {
  10503. "description": "OK",
  10504. "schema": {
  10505. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10506. }
  10507. },
  10508. "500": {
  10509. "description": "Internal Server Error",
  10510. "schema": {
  10511. "$ref": "#/definitions/app.Response"
  10512. }
  10513. }
  10514. }
  10515. }
  10516. },
  10517. "/Tjmd/QueryQuoteGoodsList": {
  10518. "get": {
  10519. "security": [
  10520. {
  10521. "ApiKeyAuth": []
  10522. }
  10523. ],
  10524. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  10525. "produces": [
  10526. "application/json"
  10527. ],
  10528. "tags": [
  10529. "天津麦顿"
  10530. ],
  10531. "summary": "查询掉期报价列表",
  10532. "parameters": [
  10533. {
  10534. "type": "integer",
  10535. "description": "用户类型",
  10536. "name": "usertype",
  10537. "in": "query",
  10538. "required": true
  10539. },
  10540. {
  10541. "type": "string",
  10542. "description": "市场id, 格式 1,2,3",
  10543. "name": "marketids",
  10544. "in": "query"
  10545. },
  10546. {
  10547. "type": "integer",
  10548. "description": "商品组id",
  10549. "name": "goodsgroupid",
  10550. "in": "query"
  10551. },
  10552. {
  10553. "type": "integer",
  10554. "description": "商品id",
  10555. "name": "goodsid",
  10556. "in": "query"
  10557. }
  10558. ],
  10559. "responses": {
  10560. "200": {
  10561. "description": "OK",
  10562. "schema": {
  10563. "type": "array",
  10564. "items": {
  10565. "$ref": "#/definitions/models.TjmdQuoteGoods"
  10566. }
  10567. }
  10568. },
  10569. "500": {
  10570. "description": "Internal Server Error",
  10571. "schema": {
  10572. "$ref": "#/definitions/app.Response"
  10573. }
  10574. }
  10575. }
  10576. }
  10577. },
  10578. "/Tjmd/QueryTjmdTradeOrderDetail": {
  10579. "get": {
  10580. "security": [
  10581. {
  10582. "ApiKeyAuth": []
  10583. }
  10584. ],
  10585. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  10586. "produces": [
  10587. "application/json"
  10588. ],
  10589. "tags": [
  10590. "天津麦顿"
  10591. ],
  10592. "summary": "查询掉期买卖大厅",
  10593. "parameters": [
  10594. {
  10595. "type": "integer",
  10596. "description": "页码",
  10597. "name": "page",
  10598. "in": "query"
  10599. },
  10600. {
  10601. "type": "integer",
  10602. "description": "每页条数",
  10603. "name": "pagesize",
  10604. "in": "query"
  10605. },
  10606. {
  10607. "type": "integer",
  10608. "description": "用户类型",
  10609. "name": "usertype",
  10610. "in": "query",
  10611. "required": true
  10612. },
  10613. {
  10614. "type": "string",
  10615. "description": "市场id, 格式 1,2,3",
  10616. "name": "marketids",
  10617. "in": "query"
  10618. },
  10619. {
  10620. "type": "integer",
  10621. "description": "商品id",
  10622. "name": "goodsid",
  10623. "in": "query",
  10624. "required": true
  10625. },
  10626. {
  10627. "type": "integer",
  10628. "description": "买卖方向 0-买 1-卖",
  10629. "name": "buyorsell",
  10630. "in": "query",
  10631. "required": true
  10632. }
  10633. ],
  10634. "responses": {
  10635. "200": {
  10636. "description": "OK",
  10637. "schema": {
  10638. "type": "array",
  10639. "items": {
  10640. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  10641. }
  10642. }
  10643. },
  10644. "500": {
  10645. "description": "Internal Server Error",
  10646. "schema": {
  10647. "$ref": "#/definitions/app.Response"
  10648. }
  10649. }
  10650. }
  10651. }
  10652. },
  10653. "/Tjmd/QueryTjmdTransferApply": {
  10654. "get": {
  10655. "security": [
  10656. {
  10657. "ApiKeyAuth": []
  10658. }
  10659. ],
  10660. "produces": [
  10661. "application/json"
  10662. ],
  10663. "tags": [
  10664. "天津麦顿"
  10665. ],
  10666. "summary": "查询掉期协议单",
  10667. "parameters": [
  10668. {
  10669. "type": "integer",
  10670. "description": "类型 1-我的申请 2-对方申请",
  10671. "name": "applytype",
  10672. "in": "query",
  10673. "required": true
  10674. },
  10675. {
  10676. "type": "string",
  10677. "description": "市场id, 格式 1,2,3",
  10678. "name": "marketids",
  10679. "in": "query"
  10680. },
  10681. {
  10682. "type": "string",
  10683. "description": "资金账号, 格式 25000000001,25000000003",
  10684. "name": "accountids",
  10685. "in": "query"
  10686. }
  10687. ],
  10688. "responses": {
  10689. "200": {
  10690. "description": "OK",
  10691. "schema": {
  10692. "type": "array",
  10693. "items": {
  10694. "$ref": "#/definitions/models.TjmdTransferApply"
  10695. }
  10696. }
  10697. },
  10698. "500": {
  10699. "description": "Internal Server Error",
  10700. "schema": {
  10701. "$ref": "#/definitions/app.Response"
  10702. }
  10703. }
  10704. }
  10705. }
  10706. },
  10707. "/Trade/QueryRecieptOrder": {
  10708. "get": {
  10709. "security": [
  10710. {
  10711. "ApiKeyAuth": []
  10712. }
  10713. ],
  10714. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10715. "produces": [
  10716. "application/json"
  10717. ],
  10718. "tags": [
  10719. "通用交易"
  10720. ],
  10721. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10722. "parameters": [
  10723. {
  10724. "type": "integer",
  10725. "description": "页码",
  10726. "name": "page",
  10727. "in": "query"
  10728. },
  10729. {
  10730. "type": "integer",
  10731. "description": "每页条数",
  10732. "name": "pagesize",
  10733. "in": "query"
  10734. },
  10735. {
  10736. "type": "integer",
  10737. "description": "商品ID",
  10738. "name": "goodsID",
  10739. "in": "query",
  10740. "required": true
  10741. },
  10742. {
  10743. "type": "string",
  10744. "description": "所属账户名称",
  10745. "name": "accountName",
  10746. "in": "query"
  10747. },
  10748. {
  10749. "type": "integer",
  10750. "description": "市场ID",
  10751. "name": "marketID",
  10752. "in": "query"
  10753. },
  10754. {
  10755. "type": "integer",
  10756. "description": "方向 - 0:买 1:卖",
  10757. "name": "buyorsell",
  10758. "in": "query",
  10759. "required": true
  10760. }
  10761. ],
  10762. "responses": {
  10763. "200": {
  10764. "description": "OK",
  10765. "schema": {
  10766. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10767. }
  10768. },
  10769. "500": {
  10770. "description": "Internal Server Error",
  10771. "schema": {
  10772. "$ref": "#/definitions/app.Response"
  10773. }
  10774. }
  10775. }
  10776. }
  10777. },
  10778. "/User/AddMessageBoard": {
  10779. "post": {
  10780. "security": [
  10781. {
  10782. "ApiKeyAuth": []
  10783. }
  10784. ],
  10785. "produces": [
  10786. "application/json"
  10787. ],
  10788. "tags": [
  10789. "用户信息"
  10790. ],
  10791. "summary": "添加用户留言板信息",
  10792. "parameters": [
  10793. {
  10794. "type": "integer",
  10795. "description": "用户ID",
  10796. "name": "userID",
  10797. "in": "query",
  10798. "required": true
  10799. },
  10800. {
  10801. "type": "string",
  10802. "description": "留言信息",
  10803. "name": "message",
  10804. "in": "query",
  10805. "required": true
  10806. },
  10807. {
  10808. "type": "string",
  10809. "description": "联系电话",
  10810. "name": "contactNum",
  10811. "in": "query",
  10812. "required": true
  10813. }
  10814. ],
  10815. "responses": {
  10816. "200": {
  10817. "description": "OK",
  10818. "schema": {
  10819. "$ref": "#/definitions/app.Response"
  10820. }
  10821. },
  10822. "500": {
  10823. "description": "Internal Server Error",
  10824. "schema": {
  10825. "$ref": "#/definitions/app.Response"
  10826. }
  10827. }
  10828. }
  10829. }
  10830. },
  10831. "/User/AddUserFavoriteGoods": {
  10832. "post": {
  10833. "security": [
  10834. {
  10835. "ApiKeyAuth": []
  10836. }
  10837. ],
  10838. "produces": [
  10839. "application/json"
  10840. ],
  10841. "tags": [
  10842. "用户信息"
  10843. ],
  10844. "summary": "添加用户商品收藏信息",
  10845. "parameters": [
  10846. {
  10847. "type": "integer",
  10848. "description": "用户ID",
  10849. "name": "userID",
  10850. "in": "query",
  10851. "required": true
  10852. },
  10853. {
  10854. "type": "integer",
  10855. "description": "商品ID",
  10856. "name": "goodsID",
  10857. "in": "query",
  10858. "required": true
  10859. }
  10860. ],
  10861. "responses": {
  10862. "200": {
  10863. "description": "OK",
  10864. "schema": {
  10865. "$ref": "#/definitions/app.Response"
  10866. }
  10867. },
  10868. "500": {
  10869. "description": "Internal Server Error",
  10870. "schema": {
  10871. "$ref": "#/definitions/app.Response"
  10872. }
  10873. }
  10874. }
  10875. }
  10876. },
  10877. "/User/GetLoginID": {
  10878. "get": {
  10879. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10880. "produces": [
  10881. "application/json"
  10882. ],
  10883. "tags": [
  10884. "用户信息"
  10885. ],
  10886. "summary": "获取登录ID",
  10887. "parameters": [
  10888. {
  10889. "type": "string",
  10890. "description": "登录代码",
  10891. "name": "username",
  10892. "in": "query",
  10893. "required": true
  10894. }
  10895. ],
  10896. "responses": {
  10897. "200": {
  10898. "description": "OK",
  10899. "schema": {
  10900. "$ref": "#/definitions/app.Response"
  10901. }
  10902. },
  10903. "500": {
  10904. "description": "Internal Server Error",
  10905. "schema": {
  10906. "$ref": "#/definitions/app.Response"
  10907. }
  10908. }
  10909. }
  10910. }
  10911. },
  10912. "/User/GetUserAccount": {
  10913. "get": {
  10914. "security": [
  10915. {
  10916. "ApiKeyAuth": []
  10917. }
  10918. ],
  10919. "produces": [
  10920. "application/json"
  10921. ],
  10922. "tags": [
  10923. "用户信息"
  10924. ],
  10925. "summary": "获取用户账号信息",
  10926. "parameters": [
  10927. {
  10928. "type": "integer",
  10929. "description": "用户ID",
  10930. "name": "userID",
  10931. "in": "query",
  10932. "required": true
  10933. }
  10934. ],
  10935. "responses": {
  10936. "200": {
  10937. "description": "OK",
  10938. "schema": {
  10939. "$ref": "#/definitions/models.Useraccount"
  10940. }
  10941. },
  10942. "500": {
  10943. "description": "Internal Server Error",
  10944. "schema": {
  10945. "$ref": "#/definitions/app.Response"
  10946. }
  10947. }
  10948. }
  10949. }
  10950. },
  10951. "/User/GetUserAuthStatus": {
  10952. "get": {
  10953. "security": [
  10954. {
  10955. "ApiKeyAuth": []
  10956. }
  10957. ],
  10958. "produces": [
  10959. "application/json"
  10960. ],
  10961. "tags": [
  10962. "用户信息"
  10963. ],
  10964. "summary": "获取用户实名认证状态",
  10965. "parameters": [
  10966. {
  10967. "type": "integer",
  10968. "description": "用户ID",
  10969. "name": "userID",
  10970. "in": "query",
  10971. "required": true
  10972. }
  10973. ],
  10974. "responses": {
  10975. "200": {
  10976. "description": "OK",
  10977. "schema": {
  10978. "$ref": "#/definitions/app.Response"
  10979. }
  10980. },
  10981. "500": {
  10982. "description": "Internal Server Error",
  10983. "schema": {
  10984. "$ref": "#/definitions/app.Response"
  10985. }
  10986. }
  10987. }
  10988. }
  10989. },
  10990. "/User/LoginQuery": {
  10991. "get": {
  10992. "security": [
  10993. {
  10994. "ApiKeyAuth": []
  10995. }
  10996. ],
  10997. "produces": [
  10998. "application/json"
  10999. ],
  11000. "tags": [
  11001. "用户信息"
  11002. ],
  11003. "summary": "账户登录后信息查询",
  11004. "parameters": [
  11005. {
  11006. "type": "integer",
  11007. "description": "登录账号",
  11008. "name": "loginID",
  11009. "in": "query",
  11010. "required": true
  11011. }
  11012. ],
  11013. "responses": {
  11014. "200": {
  11015. "description": "OK",
  11016. "schema": {
  11017. "$ref": "#/definitions/user.LoginQueryRsp"
  11018. }
  11019. },
  11020. "500": {
  11021. "description": "Internal Server Error",
  11022. "schema": {
  11023. "$ref": "#/definitions/app.Response"
  11024. }
  11025. }
  11026. }
  11027. }
  11028. },
  11029. "/User/QueryMessageBoard": {
  11030. "get": {
  11031. "security": [
  11032. {
  11033. "ApiKeyAuth": []
  11034. }
  11035. ],
  11036. "produces": [
  11037. "application/json"
  11038. ],
  11039. "tags": [
  11040. "用户信息"
  11041. ],
  11042. "summary": "获取用户留言板信息",
  11043. "parameters": [
  11044. {
  11045. "type": "integer",
  11046. "description": "用户ID",
  11047. "name": "userID",
  11048. "in": "query",
  11049. "required": true
  11050. }
  11051. ],
  11052. "responses": {
  11053. "200": {
  11054. "description": "OK",
  11055. "schema": {
  11056. "$ref": "#/definitions/models.Messageboard"
  11057. }
  11058. },
  11059. "500": {
  11060. "description": "Internal Server Error",
  11061. "schema": {
  11062. "$ref": "#/definitions/app.Response"
  11063. }
  11064. }
  11065. }
  11066. }
  11067. },
  11068. "/User/QueryUserFavoriteGoodses": {
  11069. "get": {
  11070. "security": [
  11071. {
  11072. "ApiKeyAuth": []
  11073. }
  11074. ],
  11075. "produces": [
  11076. "application/json"
  11077. ],
  11078. "tags": [
  11079. "用户信息"
  11080. ],
  11081. "summary": "获取用户商品收藏信息",
  11082. "parameters": [
  11083. {
  11084. "type": "integer",
  11085. "description": "用户ID",
  11086. "name": "userID",
  11087. "in": "query",
  11088. "required": true
  11089. }
  11090. ],
  11091. "responses": {
  11092. "200": {
  11093. "description": "OK",
  11094. "schema": {
  11095. "$ref": "#/definitions/models.Userfavoritegoods"
  11096. }
  11097. },
  11098. "500": {
  11099. "description": "Internal Server Error",
  11100. "schema": {
  11101. "$ref": "#/definitions/app.Response"
  11102. }
  11103. }
  11104. }
  11105. }
  11106. },
  11107. "/User/QueryUserInfo": {
  11108. "get": {
  11109. "security": [
  11110. {
  11111. "ApiKeyAuth": []
  11112. }
  11113. ],
  11114. "produces": [
  11115. "application/json"
  11116. ],
  11117. "tags": [
  11118. "用户信息"
  11119. ],
  11120. "summary": "获取用户信息",
  11121. "parameters": [
  11122. {
  11123. "type": "integer",
  11124. "description": "用户ID",
  11125. "name": "userID",
  11126. "in": "query",
  11127. "required": true
  11128. },
  11129. {
  11130. "type": "boolean",
  11131. "description": "是否解密",
  11132. "name": "isDecrypt",
  11133. "in": "query"
  11134. }
  11135. ],
  11136. "responses": {
  11137. "200": {
  11138. "description": "OK",
  11139. "schema": {
  11140. "$ref": "#/definitions/models.Userinfo"
  11141. }
  11142. },
  11143. "500": {
  11144. "description": "Internal Server Error",
  11145. "schema": {
  11146. "$ref": "#/definitions/app.Response"
  11147. }
  11148. }
  11149. }
  11150. }
  11151. },
  11152. "/User/QueryUserReferNum": {
  11153. "get": {
  11154. "produces": [
  11155. "application/json"
  11156. ],
  11157. "tags": [
  11158. "用户信息"
  11159. ],
  11160. "summary": "获取用户邀请码",
  11161. "parameters": [
  11162. {
  11163. "type": "integer",
  11164. "description": "用户ID",
  11165. "name": "userID",
  11166. "in": "query",
  11167. "required": true
  11168. }
  11169. ],
  11170. "responses": {
  11171. "200": {
  11172. "description": "OK",
  11173. "schema": {
  11174. "$ref": "#/definitions/app.Response"
  11175. }
  11176. },
  11177. "500": {
  11178. "description": "Internal Server Error",
  11179. "schema": {
  11180. "$ref": "#/definitions/app.Response"
  11181. }
  11182. }
  11183. }
  11184. }
  11185. },
  11186. "/User/RemoveUserFavoriteGoods": {
  11187. "post": {
  11188. "security": [
  11189. {
  11190. "ApiKeyAuth": []
  11191. }
  11192. ],
  11193. "produces": [
  11194. "application/json"
  11195. ],
  11196. "tags": [
  11197. "用户信息"
  11198. ],
  11199. "summary": "移除用户商品收藏信息",
  11200. "parameters": [
  11201. {
  11202. "type": "integer",
  11203. "description": "用户ID",
  11204. "name": "userID",
  11205. "in": "query",
  11206. "required": true
  11207. },
  11208. {
  11209. "type": "integer",
  11210. "description": "商品ID",
  11211. "name": "goodsID",
  11212. "in": "query",
  11213. "required": true
  11214. }
  11215. ],
  11216. "responses": {
  11217. "200": {
  11218. "description": "OK",
  11219. "schema": {
  11220. "$ref": "#/definitions/app.Response"
  11221. }
  11222. },
  11223. "500": {
  11224. "description": "Internal Server Error",
  11225. "schema": {
  11226. "$ref": "#/definitions/app.Response"
  11227. }
  11228. }
  11229. }
  11230. }
  11231. },
  11232. "/User/UpdateUserAccountStatus": {
  11233. "post": {
  11234. "security": [
  11235. {
  11236. "ApiKeyAuth": []
  11237. }
  11238. ],
  11239. "produces": [
  11240. "application/json"
  11241. ],
  11242. "tags": [
  11243. "用户信息"
  11244. ],
  11245. "summary": "更新用户状态",
  11246. "parameters": [
  11247. {
  11248. "type": "integer",
  11249. "description": "用户ID",
  11250. "name": "userID",
  11251. "in": "query",
  11252. "required": true
  11253. },
  11254. {
  11255. "type": "integer",
  11256. "description": "账户状态 - 4:正常 6:注销(停用)",
  11257. "name": "accountStatus",
  11258. "in": "query",
  11259. "required": true
  11260. }
  11261. ],
  11262. "responses": {
  11263. "200": {
  11264. "description": "OK",
  11265. "schema": {
  11266. "$ref": "#/definitions/app.Response"
  11267. }
  11268. },
  11269. "500": {
  11270. "description": "Internal Server Error",
  11271. "schema": {
  11272. "$ref": "#/definitions/app.Response"
  11273. }
  11274. }
  11275. }
  11276. }
  11277. },
  11278. "/WRTrade/GetAllDeliveryGoods": {
  11279. "get": {
  11280. "security": [
  11281. {
  11282. "ApiKeyAuth": []
  11283. },
  11284. {
  11285. "ApiKeyAuth": []
  11286. }
  11287. ],
  11288. "produces": [
  11289. "application/json",
  11290. "application/json"
  11291. ],
  11292. "tags": [
  11293. "仓单贸易",
  11294. "仓单贸易"
  11295. ],
  11296. "summary": "获取带仓单分类的种类信息",
  11297. "responses": {
  11298. "200": {
  11299. "description": "OK",
  11300. "schema": {
  11301. "$ref": "#/definitions/app.Response"
  11302. }
  11303. },
  11304. "500": {
  11305. "description": "Internal Server Error",
  11306. "schema": {
  11307. "$ref": "#/definitions/app.Response"
  11308. }
  11309. }
  11310. }
  11311. }
  11312. },
  11313. "/WrTrade2/QueryFaProductDetail": {
  11314. "get": {
  11315. "security": [
  11316. {
  11317. "ApiKeyAuth": []
  11318. }
  11319. ],
  11320. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  11321. "produces": [
  11322. "application/json"
  11323. ],
  11324. "tags": [
  11325. "仓单贸易v2"
  11326. ],
  11327. "summary": "查询融资产品列表",
  11328. "parameters": [
  11329. {
  11330. "type": "integer",
  11331. "description": "仓单要素id",
  11332. "name": "wrfactortypeid",
  11333. "in": "query",
  11334. "required": true
  11335. }
  11336. ],
  11337. "responses": {
  11338. "200": {
  11339. "description": "OK",
  11340. "schema": {
  11341. "type": "array",
  11342. "items": {
  11343. "$ref": "#/definitions/models.WrFAProductDetail"
  11344. }
  11345. }
  11346. },
  11347. "500": {
  11348. "description": "Internal Server Error",
  11349. "schema": {
  11350. "$ref": "#/definitions/app.Response"
  11351. }
  11352. }
  11353. }
  11354. }
  11355. },
  11356. "/WrTrade2/QueryFilterItem": {
  11357. "get": {
  11358. "security": [
  11359. {
  11360. "ApiKeyAuth": []
  11361. }
  11362. ],
  11363. "produces": [
  11364. "application/json"
  11365. ],
  11366. "tags": [
  11367. "仓单贸易v2"
  11368. ],
  11369. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  11370. "parameters": [
  11371. {
  11372. "type": "string",
  11373. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  11374. "name": "itype",
  11375. "in": "query",
  11376. "required": true
  11377. }
  11378. ],
  11379. "responses": {
  11380. "200": {
  11381. "description": "OK",
  11382. "schema": {
  11383. "type": "array",
  11384. "items": {
  11385. "$ref": "#/definitions/models.WrFilterItem"
  11386. }
  11387. }
  11388. },
  11389. "500": {
  11390. "description": "Internal Server Error",
  11391. "schema": {
  11392. "$ref": "#/definitions/app.Response"
  11393. }
  11394. }
  11395. }
  11396. }
  11397. },
  11398. "/WrTrade2/QueryFtDeliveryGoods": {
  11399. "get": {
  11400. "security": [
  11401. {
  11402. "ApiKeyAuth": []
  11403. }
  11404. ],
  11405. "produces": [
  11406. "application/json"
  11407. ],
  11408. "tags": [
  11409. "仓单贸易v2"
  11410. ],
  11411. "summary": "查询品种品类筛选框列表",
  11412. "responses": {
  11413. "200": {
  11414. "description": "OK",
  11415. "schema": {
  11416. "type": "array",
  11417. "items": {
  11418. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  11419. }
  11420. }
  11421. },
  11422. "500": {
  11423. "description": "Internal Server Error",
  11424. "schema": {
  11425. "$ref": "#/definitions/app.Response"
  11426. }
  11427. }
  11428. }
  11429. }
  11430. },
  11431. "/WrTrade2/QueryHoldLB": {
  11432. "get": {
  11433. "security": [
  11434. {
  11435. "ApiKeyAuth": []
  11436. }
  11437. ],
  11438. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  11439. "produces": [
  11440. "application/json"
  11441. ],
  11442. "tags": [
  11443. "仓单贸易v2"
  11444. ],
  11445. "summary": "查询仓单持有记录",
  11446. "parameters": [
  11447. {
  11448. "type": "integer",
  11449. "description": "资金账号",
  11450. "name": "accountid",
  11451. "in": "query",
  11452. "required": true
  11453. },
  11454. {
  11455. "type": "integer",
  11456. "description": "仓库id",
  11457. "name": "warehouseid",
  11458. "in": "query"
  11459. },
  11460. {
  11461. "type": "integer",
  11462. "description": "品种id",
  11463. "name": "deliverygoodsid",
  11464. "in": "query"
  11465. },
  11466. {
  11467. "type": "integer",
  11468. "description": "品类id",
  11469. "name": "wrstandardid",
  11470. "in": "query"
  11471. },
  11472. {
  11473. "type": "integer",
  11474. "description": "仓单要素id",
  11475. "name": "wrfactortypeid",
  11476. "in": "query"
  11477. }
  11478. ],
  11479. "responses": {
  11480. "200": {
  11481. "description": "OK",
  11482. "schema": {
  11483. "type": "array",
  11484. "items": {
  11485. "$ref": "#/definitions/models.WrHoldLB"
  11486. }
  11487. }
  11488. },
  11489. "500": {
  11490. "description": "Internal Server Error",
  11491. "schema": {
  11492. "$ref": "#/definitions/app.Response"
  11493. }
  11494. }
  11495. }
  11496. }
  11497. },
  11498. "/WrTrade2/QueryOrderQuote": {
  11499. "get": {
  11500. "security": [
  11501. {
  11502. "ApiKeyAuth": []
  11503. }
  11504. ],
  11505. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  11506. "produces": [
  11507. "application/json"
  11508. ],
  11509. "tags": [
  11510. "仓单贸易v2"
  11511. ],
  11512. "summary": "查询大厅行情列表",
  11513. "parameters": [
  11514. {
  11515. "type": "integer",
  11516. "description": "页码",
  11517. "name": "page",
  11518. "in": "query"
  11519. },
  11520. {
  11521. "type": "integer",
  11522. "description": "每页条数",
  11523. "name": "pagesize",
  11524. "in": "query"
  11525. },
  11526. {
  11527. "type": "integer",
  11528. "description": "仓单贸易市场id",
  11529. "name": "marketid",
  11530. "in": "query"
  11531. },
  11532. {
  11533. "type": "integer",
  11534. "description": "价格方式 - 1:固定价 2-浮动价",
  11535. "name": "wrpricetype",
  11536. "in": "query",
  11537. "required": true
  11538. },
  11539. {
  11540. "type": "integer",
  11541. "description": "0:仓单预售 1:仓单贸易",
  11542. "name": "haswr",
  11543. "in": "query",
  11544. "required": true
  11545. },
  11546. {
  11547. "type": "string",
  11548. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11549. "name": "dgitemname",
  11550. "in": "query"
  11551. },
  11552. {
  11553. "type": "integer",
  11554. "description": "仓库id(筛选条件)",
  11555. "name": "warehouseid",
  11556. "in": "query"
  11557. },
  11558. {
  11559. "type": "integer",
  11560. "description": "品种id",
  11561. "name": "deliverygoodsid",
  11562. "in": "query"
  11563. },
  11564. {
  11565. "type": "integer",
  11566. "description": "品类id",
  11567. "name": "wrstandardid",
  11568. "in": "query"
  11569. },
  11570. {
  11571. "type": "integer",
  11572. "description": "仓单要素id",
  11573. "name": "wrfactortypeid",
  11574. "in": "query"
  11575. },
  11576. {
  11577. "type": "string",
  11578. "description": "交收月(yyyy-mm) 仓单预售填写",
  11579. "name": "deliverymonth",
  11580. "in": "query"
  11581. }
  11582. ],
  11583. "responses": {
  11584. "200": {
  11585. "description": "OK",
  11586. "schema": {
  11587. "type": "array",
  11588. "items": {
  11589. "$ref": "#/definitions/models.WrOrderQuote"
  11590. }
  11591. }
  11592. },
  11593. "500": {
  11594. "description": "Internal Server Error",
  11595. "schema": {
  11596. "$ref": "#/definitions/app.Response"
  11597. }
  11598. }
  11599. }
  11600. }
  11601. },
  11602. "/WrTrade2/QueryOrderQuoteDetail": {
  11603. "get": {
  11604. "security": [
  11605. {
  11606. "ApiKeyAuth": []
  11607. }
  11608. ],
  11609. "produces": [
  11610. "application/json"
  11611. ],
  11612. "tags": [
  11613. "仓单贸易v2"
  11614. ],
  11615. "summary": "查询买卖大厅",
  11616. "parameters": [
  11617. {
  11618. "type": "integer",
  11619. "description": "页码",
  11620. "name": "page",
  11621. "in": "query"
  11622. },
  11623. {
  11624. "type": "integer",
  11625. "description": "每页条数",
  11626. "name": "pagesize",
  11627. "in": "query"
  11628. },
  11629. {
  11630. "type": "integer",
  11631. "description": "仓单贸易市场id",
  11632. "name": "marketid",
  11633. "in": "query"
  11634. },
  11635. {
  11636. "type": "integer",
  11637. "description": "价格方式 - 1:固定价 2-浮动价",
  11638. "name": "wrpricetype",
  11639. "in": "query",
  11640. "required": true
  11641. },
  11642. {
  11643. "type": "integer",
  11644. "description": "0:仓单预售 1:仓单贸易",
  11645. "name": "haswr",
  11646. "in": "query",
  11647. "required": true
  11648. },
  11649. {
  11650. "type": "integer",
  11651. "description": "仓单要素id",
  11652. "name": "wrfactortypeid",
  11653. "in": "query",
  11654. "required": true
  11655. },
  11656. {
  11657. "type": "integer",
  11658. "description": "期货商品id(浮动价方式时填)",
  11659. "name": "goodsid",
  11660. "in": "query"
  11661. },
  11662. {
  11663. "type": "integer",
  11664. "description": "买卖方向 0-买 1-卖",
  11665. "name": "buyorsell",
  11666. "in": "query",
  11667. "required": true
  11668. },
  11669. {
  11670. "type": "string",
  11671. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  11672. "name": "deliverymonth",
  11673. "in": "query"
  11674. }
  11675. ],
  11676. "responses": {
  11677. "200": {
  11678. "description": "OK",
  11679. "schema": {
  11680. "type": "array",
  11681. "items": {
  11682. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11683. }
  11684. }
  11685. },
  11686. "500": {
  11687. "description": "Internal Server Error",
  11688. "schema": {
  11689. "$ref": "#/definitions/app.Response"
  11690. }
  11691. }
  11692. }
  11693. }
  11694. },
  11695. "/WrTrade2/QueryOrderQuoteMyq": {
  11696. "get": {
  11697. "security": [
  11698. {
  11699. "ApiKeyAuth": []
  11700. }
  11701. ],
  11702. "produces": [
  11703. "application/json"
  11704. ],
  11705. "tags": [
  11706. "仓单贸易v2"
  11707. ],
  11708. "summary": "查询贸易圈挂牌大厅",
  11709. "parameters": [
  11710. {
  11711. "type": "integer",
  11712. "description": "页码",
  11713. "name": "page",
  11714. "in": "query"
  11715. },
  11716. {
  11717. "type": "integer",
  11718. "description": "每页条数",
  11719. "name": "pagesize",
  11720. "in": "query"
  11721. },
  11722. {
  11723. "type": "integer",
  11724. "description": "用户id",
  11725. "name": "userid",
  11726. "in": "query",
  11727. "required": true
  11728. },
  11729. {
  11730. "type": "integer",
  11731. "description": "仓单贸易市场id",
  11732. "name": "marketid",
  11733. "in": "query"
  11734. },
  11735. {
  11736. "type": "integer",
  11737. "description": "0:仓单预售 1:仓单贸易",
  11738. "name": "haswr",
  11739. "in": "query",
  11740. "required": true
  11741. },
  11742. {
  11743. "type": "integer",
  11744. "description": "买卖方向 0-买 1-卖",
  11745. "name": "buyorsell",
  11746. "in": "query",
  11747. "required": true
  11748. },
  11749. {
  11750. "type": "integer",
  11751. "description": "品种id",
  11752. "name": "deliverygoodsid",
  11753. "in": "query"
  11754. },
  11755. {
  11756. "type": "integer",
  11757. "description": "品类id",
  11758. "name": "wrstandardid",
  11759. "in": "query"
  11760. },
  11761. {
  11762. "type": "string",
  11763. "description": "交收月(yyyy-mm) 仓单预售填写",
  11764. "name": "deliverymonth",
  11765. "in": "query"
  11766. },
  11767. {
  11768. "type": "string",
  11769. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11770. "name": "dgitemname",
  11771. "in": "query"
  11772. }
  11773. ],
  11774. "responses": {
  11775. "200": {
  11776. "description": "OK",
  11777. "schema": {
  11778. "type": "array",
  11779. "items": {
  11780. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  11781. }
  11782. }
  11783. },
  11784. "500": {
  11785. "description": "Internal Server Error",
  11786. "schema": {
  11787. "$ref": "#/definitions/app.Response"
  11788. }
  11789. }
  11790. }
  11791. }
  11792. },
  11793. "/WrTrade2/QueryPerformancePlan": {
  11794. "get": {
  11795. "security": [
  11796. {
  11797. "ApiKeyAuth": []
  11798. }
  11799. ],
  11800. "produces": [
  11801. "application/json"
  11802. ],
  11803. "tags": [
  11804. "仓单贸易v2"
  11805. ],
  11806. "summary": "查询履约信息",
  11807. "parameters": [
  11808. {
  11809. "type": "integer",
  11810. "description": "用户id",
  11811. "name": "userid",
  11812. "in": "query",
  11813. "required": true
  11814. },
  11815. {
  11816. "type": "integer",
  11817. "description": "买卖方向 0-买 1-卖",
  11818. "name": "buyorsell",
  11819. "in": "query",
  11820. "required": true
  11821. }
  11822. ],
  11823. "responses": {
  11824. "200": {
  11825. "description": "OK",
  11826. "schema": {
  11827. "type": "array",
  11828. "items": {
  11829. "$ref": "#/definitions/models.WrPerformancePlan"
  11830. }
  11831. }
  11832. },
  11833. "500": {
  11834. "description": "Internal Server Error",
  11835. "schema": {
  11836. "$ref": "#/definitions/app.Response"
  11837. }
  11838. }
  11839. }
  11840. }
  11841. },
  11842. "/WrTrade2/QueryPermancePlanTmp": {
  11843. "get": {
  11844. "security": [
  11845. {
  11846. "ApiKeyAuth": []
  11847. }
  11848. ],
  11849. "description": "返回指定用户的模板和公共模板(用户id为空)",
  11850. "produces": [
  11851. "application/json"
  11852. ],
  11853. "tags": [
  11854. "仓单贸易v2"
  11855. ],
  11856. "summary": "查询履约模板",
  11857. "parameters": [
  11858. {
  11859. "type": "integer",
  11860. "description": "用户id",
  11861. "name": "userid",
  11862. "in": "query"
  11863. },
  11864. {
  11865. "type": "string",
  11866. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  11867. "name": "tmptype",
  11868. "in": "query"
  11869. },
  11870. {
  11871. "type": "integer",
  11872. "description": "是否包含公共模板(用户id为空的) 1-包含",
  11873. "name": "includepub",
  11874. "in": "query"
  11875. }
  11876. ],
  11877. "responses": {
  11878. "200": {
  11879. "description": "OK",
  11880. "schema": {
  11881. "type": "array",
  11882. "items": {
  11883. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  11884. }
  11885. }
  11886. },
  11887. "500": {
  11888. "description": "Internal Server Error",
  11889. "schema": {
  11890. "$ref": "#/definitions/app.Response"
  11891. }
  11892. }
  11893. }
  11894. }
  11895. },
  11896. "/WrTrade2/QueryWrAverageTradePrice": {
  11897. "get": {
  11898. "security": [
  11899. {
  11900. "ApiKeyAuth": []
  11901. }
  11902. ],
  11903. "produces": [
  11904. "application/json"
  11905. ],
  11906. "tags": [
  11907. "仓单贸易v2"
  11908. ],
  11909. "summary": "查询成交价(历史走势)",
  11910. "parameters": [
  11911. {
  11912. "type": "integer",
  11913. "description": "页码",
  11914. "name": "page",
  11915. "in": "query"
  11916. },
  11917. {
  11918. "type": "integer",
  11919. "description": "每页条数",
  11920. "name": "pagesize",
  11921. "in": "query"
  11922. },
  11923. {
  11924. "type": "integer",
  11925. "description": "0:仓单预售 1:仓单贸易",
  11926. "name": "haswr",
  11927. "in": "query",
  11928. "required": true
  11929. },
  11930. {
  11931. "type": "integer",
  11932. "description": "仓单要素id",
  11933. "name": "wrfactortypeid",
  11934. "in": "query",
  11935. "required": true
  11936. }
  11937. ],
  11938. "responses": {
  11939. "200": {
  11940. "description": "OK",
  11941. "schema": {
  11942. "type": "array",
  11943. "items": {
  11944. "$ref": "#/definitions/models.WrAverageTradePrice"
  11945. }
  11946. }
  11947. },
  11948. "500": {
  11949. "description": "Internal Server Error",
  11950. "schema": {
  11951. "$ref": "#/definitions/app.Response"
  11952. }
  11953. }
  11954. }
  11955. }
  11956. },
  11957. "/WrTrade2/QueryWrBsGoodsInfo": {
  11958. "get": {
  11959. "security": [
  11960. {
  11961. "ApiKeyAuth": []
  11962. }
  11963. ],
  11964. "description": "合约交易/买卖大厅/详情",
  11965. "produces": [
  11966. "application/json"
  11967. ],
  11968. "tags": [
  11969. "仓单贸易v2"
  11970. ],
  11971. "summary": "查询合约交易买卖大厅详情",
  11972. "parameters": [
  11973. {
  11974. "type": "integer",
  11975. "description": "商品id",
  11976. "name": "goodsid",
  11977. "in": "query",
  11978. "required": true
  11979. }
  11980. ],
  11981. "responses": {
  11982. "200": {
  11983. "description": "OK",
  11984. "schema": {
  11985. "type": "array",
  11986. "items": {
  11987. "$ref": "#/definitions/models.WrBsGoodsInfo"
  11988. }
  11989. }
  11990. },
  11991. "500": {
  11992. "description": "Internal Server Error",
  11993. "schema": {
  11994. "$ref": "#/definitions/app.Response"
  11995. }
  11996. }
  11997. }
  11998. }
  11999. },
  12000. "/WrTrade2/QueryWrBuybackDetail": {
  12001. "get": {
  12002. "security": [
  12003. {
  12004. "ApiKeyAuth": []
  12005. }
  12006. ],
  12007. "produces": [
  12008. "application/json"
  12009. ],
  12010. "tags": [
  12011. "仓单贸易v2"
  12012. ],
  12013. "summary": "查询仓单回购明细",
  12014. "parameters": [
  12015. {
  12016. "type": "integer",
  12017. "description": "融资合同id",
  12018. "name": "scfcontractid",
  12019. "in": "query"
  12020. }
  12021. ],
  12022. "responses": {
  12023. "200": {
  12024. "description": "OK",
  12025. "schema": {
  12026. "type": "array",
  12027. "items": {
  12028. "$ref": "#/definitions/models.WrBuybackDetail"
  12029. }
  12030. }
  12031. },
  12032. "500": {
  12033. "description": "Internal Server Error",
  12034. "schema": {
  12035. "$ref": "#/definitions/app.Response"
  12036. }
  12037. }
  12038. }
  12039. }
  12040. },
  12041. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12042. "get": {
  12043. "security": [
  12044. {
  12045. "ApiKeyAuth": []
  12046. }
  12047. ],
  12048. "produces": [
  12049. "application/json"
  12050. ],
  12051. "tags": [
  12052. "仓单贸易v2"
  12053. ],
  12054. "summary": "查询合约交收可点选仓单",
  12055. "parameters": [
  12056. {
  12057. "type": "integer",
  12058. "description": "资金账号",
  12059. "name": "accountid",
  12060. "in": "query",
  12061. "required": true
  12062. },
  12063. {
  12064. "type": "integer",
  12065. "description": "商品id",
  12066. "name": "goodsid",
  12067. "in": "query",
  12068. "required": true
  12069. }
  12070. ],
  12071. "responses": {
  12072. "200": {
  12073. "description": "OK",
  12074. "schema": {
  12075. "type": "array",
  12076. "items": {
  12077. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12078. }
  12079. }
  12080. },
  12081. "500": {
  12082. "description": "Internal Server Error",
  12083. "schema": {
  12084. "$ref": "#/definitions/app.Response"
  12085. }
  12086. }
  12087. }
  12088. }
  12089. },
  12090. "/WrTrade2/QueryWrDeliveryDetail": {
  12091. "get": {
  12092. "security": [
  12093. {
  12094. "ApiKeyAuth": []
  12095. }
  12096. ],
  12097. "produces": [
  12098. "application/json"
  12099. ],
  12100. "tags": [
  12101. "仓单贸易v2"
  12102. ],
  12103. "summary": "查询交收",
  12104. "parameters": [
  12105. {
  12106. "type": "integer",
  12107. "description": "用户id",
  12108. "name": "userid",
  12109. "in": "query",
  12110. "required": true
  12111. },
  12112. {
  12113. "type": "integer",
  12114. "description": "资金账号id",
  12115. "name": "accountid",
  12116. "in": "query"
  12117. }
  12118. ],
  12119. "responses": {
  12120. "200": {
  12121. "description": "OK",
  12122. "schema": {
  12123. "type": "array",
  12124. "items": {
  12125. "$ref": "#/definitions/models.WrDeliveryDetail"
  12126. }
  12127. }
  12128. },
  12129. "500": {
  12130. "description": "Internal Server Error",
  12131. "schema": {
  12132. "$ref": "#/definitions/app.Response"
  12133. }
  12134. }
  12135. }
  12136. }
  12137. },
  12138. "/WrTrade2/QueryWrFactorTypeInfo": {
  12139. "get": {
  12140. "security": [
  12141. {
  12142. "ApiKeyAuth": []
  12143. }
  12144. ],
  12145. "produces": [
  12146. "application/json"
  12147. ],
  12148. "tags": [
  12149. "仓单贸易v2"
  12150. ],
  12151. "summary": "查询仓单要素详细信息",
  12152. "parameters": [
  12153. {
  12154. "type": "integer",
  12155. "description": "仓单要素id",
  12156. "name": "wrfactortypeid",
  12157. "in": "query",
  12158. "required": true
  12159. }
  12160. ],
  12161. "responses": {
  12162. "200": {
  12163. "description": "OK",
  12164. "schema": {
  12165. "type": "array",
  12166. "items": {
  12167. "$ref": "#/definitions/models.WrFactorTypeInfo"
  12168. }
  12169. }
  12170. },
  12171. "500": {
  12172. "description": "Internal Server Error",
  12173. "schema": {
  12174. "$ref": "#/definitions/app.Response"
  12175. }
  12176. }
  12177. }
  12178. }
  12179. },
  12180. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  12181. "get": {
  12182. "security": [
  12183. {
  12184. "ApiKeyAuth": []
  12185. }
  12186. ],
  12187. "produces": [
  12188. "application/json"
  12189. ],
  12190. "tags": [
  12191. "仓单贸易v2"
  12192. ],
  12193. "summary": "查询仓单要素详细信息列表项",
  12194. "parameters": [
  12195. {
  12196. "type": "integer",
  12197. "description": "仓单要素id",
  12198. "name": "wrfactortypeid",
  12199. "in": "query",
  12200. "required": true
  12201. }
  12202. ],
  12203. "responses": {
  12204. "200": {
  12205. "description": "OK",
  12206. "schema": {
  12207. "type": "array",
  12208. "items": {
  12209. "$ref": "#/definitions/models.WrTypeItem"
  12210. }
  12211. }
  12212. },
  12213. "500": {
  12214. "description": "Internal Server Error",
  12215. "schema": {
  12216. "$ref": "#/definitions/app.Response"
  12217. }
  12218. }
  12219. }
  12220. }
  12221. },
  12222. "/WrTrade2/QueryWrFinanceBuyApply": {
  12223. "get": {
  12224. "security": [
  12225. {
  12226. "ApiKeyAuth": []
  12227. }
  12228. ],
  12229. "description": "页面 融资信息+ / 申请单",
  12230. "produces": [
  12231. "application/json"
  12232. ],
  12233. "tags": [
  12234. "仓单贸易v2"
  12235. ],
  12236. "summary": "查询融资购买申请",
  12237. "parameters": [
  12238. {
  12239. "type": "integer",
  12240. "description": "用户id",
  12241. "name": "userid",
  12242. "in": "query",
  12243. "required": true
  12244. }
  12245. ],
  12246. "responses": {
  12247. "200": {
  12248. "description": "OK",
  12249. "schema": {
  12250. "type": "array",
  12251. "items": {
  12252. "$ref": "#/definitions/models.WrFinanceBuyApply"
  12253. }
  12254. }
  12255. },
  12256. "500": {
  12257. "description": "Internal Server Error",
  12258. "schema": {
  12259. "$ref": "#/definitions/app.Response"
  12260. }
  12261. }
  12262. }
  12263. }
  12264. },
  12265. "/WrTrade2/QueryWrFriendApply": {
  12266. "get": {
  12267. "security": [
  12268. {
  12269. "ApiKeyAuth": []
  12270. }
  12271. ],
  12272. "produces": [
  12273. "application/json"
  12274. ],
  12275. "tags": [
  12276. "仓单贸易v2"
  12277. ],
  12278. "summary": "查询好友申请记录",
  12279. "parameters": [
  12280. {
  12281. "type": "integer",
  12282. "description": "用户id",
  12283. "name": "userid",
  12284. "in": "query",
  12285. "required": true
  12286. }
  12287. ],
  12288. "responses": {
  12289. "200": {
  12290. "description": "OK",
  12291. "schema": {
  12292. "type": "array",
  12293. "items": {
  12294. "$ref": "#/definitions/models.WrFriendApply"
  12295. }
  12296. }
  12297. },
  12298. "500": {
  12299. "description": "Internal Server Error",
  12300. "schema": {
  12301. "$ref": "#/definitions/app.Response"
  12302. }
  12303. }
  12304. }
  12305. }
  12306. },
  12307. "/WrTrade2/QueryWrGoodsInfo": {
  12308. "get": {
  12309. "security": [
  12310. {
  12311. "ApiKeyAuth": []
  12312. }
  12313. ],
  12314. "produces": [
  12315. "application/json"
  12316. ],
  12317. "tags": [
  12318. "仓单贸易v2"
  12319. ],
  12320. "summary": "查询仓单商品信息",
  12321. "parameters": [
  12322. {
  12323. "type": "integer",
  12324. "description": "仓单贸易市场id",
  12325. "name": "marketid",
  12326. "in": "query"
  12327. },
  12328. {
  12329. "type": "integer",
  12330. "description": "0:仓单预售 1:仓单贸易",
  12331. "name": "haswr",
  12332. "in": "query",
  12333. "required": true
  12334. },
  12335. {
  12336. "type": "integer",
  12337. "description": "仓单要素id",
  12338. "name": "wrfactortypeid",
  12339. "in": "query",
  12340. "required": true
  12341. },
  12342. {
  12343. "type": "integer",
  12344. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  12345. "name": "tmplateid",
  12346. "in": "query"
  12347. }
  12348. ],
  12349. "responses": {
  12350. "200": {
  12351. "description": "OK",
  12352. "schema": {
  12353. "type": "array",
  12354. "items": {
  12355. "$ref": "#/definitions/models.WrGoodsInfo"
  12356. }
  12357. }
  12358. },
  12359. "500": {
  12360. "description": "Internal Server Error",
  12361. "schema": {
  12362. "$ref": "#/definitions/app.Response"
  12363. }
  12364. }
  12365. }
  12366. }
  12367. },
  12368. "/WrTrade2/QueryWrMarketTradeConfig": {
  12369. "get": {
  12370. "security": [
  12371. {
  12372. "ApiKeyAuth": []
  12373. }
  12374. ],
  12375. "produces": [
  12376. "application/json"
  12377. ],
  12378. "tags": [
  12379. "仓单贸易v2"
  12380. ],
  12381. "summary": "查询市场交易参数配置",
  12382. "parameters": [
  12383. {
  12384. "type": "integer",
  12385. "description": "市场id",
  12386. "name": "marketid",
  12387. "in": "query"
  12388. }
  12389. ],
  12390. "responses": {
  12391. "200": {
  12392. "description": "OK",
  12393. "schema": {
  12394. "type": "array",
  12395. "items": {
  12396. "$ref": "#/definitions/models.WrMarketTradeConfig"
  12397. }
  12398. }
  12399. },
  12400. "500": {
  12401. "description": "Internal Server Error",
  12402. "schema": {
  12403. "$ref": "#/definitions/app.Response"
  12404. }
  12405. }
  12406. }
  12407. }
  12408. },
  12409. "/WrTrade2/QueryWrOrderDetail": {
  12410. "get": {
  12411. "security": [
  12412. {
  12413. "ApiKeyAuth": []
  12414. }
  12415. ],
  12416. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  12417. "produces": [
  12418. "application/json"
  12419. ],
  12420. "tags": [
  12421. "仓单贸易v2"
  12422. ],
  12423. "summary": "查询仓单委托单(挂单)",
  12424. "parameters": [
  12425. {
  12426. "type": "integer",
  12427. "description": "页码",
  12428. "name": "page",
  12429. "in": "query"
  12430. },
  12431. {
  12432. "type": "integer",
  12433. "description": "每页条数",
  12434. "name": "pagesize",
  12435. "in": "query"
  12436. },
  12437. {
  12438. "type": "integer",
  12439. "description": "用户id",
  12440. "name": "userid",
  12441. "in": "query",
  12442. "required": true
  12443. },
  12444. {
  12445. "type": "integer",
  12446. "description": "仓单贸易市场id",
  12447. "name": "marketid",
  12448. "in": "query"
  12449. },
  12450. {
  12451. "type": "integer",
  12452. "description": "0:仓单预售 1:仓单贸易",
  12453. "name": "haswr",
  12454. "in": "query",
  12455. "required": true
  12456. }
  12457. ],
  12458. "responses": {
  12459. "200": {
  12460. "description": "OK",
  12461. "schema": {
  12462. "type": "array",
  12463. "items": {
  12464. "$ref": "#/definitions/models.WrOrderDetail"
  12465. }
  12466. }
  12467. },
  12468. "500": {
  12469. "description": "Internal Server Error",
  12470. "schema": {
  12471. "$ref": "#/definitions/app.Response"
  12472. }
  12473. }
  12474. }
  12475. }
  12476. },
  12477. "/WrTrade2/QueryWrOutInApply": {
  12478. "get": {
  12479. "security": [
  12480. {
  12481. "ApiKeyAuth": []
  12482. }
  12483. ],
  12484. "produces": [
  12485. "application/json"
  12486. ],
  12487. "tags": [
  12488. "仓单贸易v2"
  12489. ],
  12490. "summary": "查询提货申请",
  12491. "parameters": [
  12492. {
  12493. "type": "integer",
  12494. "description": "用户id",
  12495. "name": "userid",
  12496. "in": "query",
  12497. "required": true
  12498. }
  12499. ],
  12500. "responses": {
  12501. "200": {
  12502. "description": "OK",
  12503. "schema": {
  12504. "type": "array",
  12505. "items": {
  12506. "$ref": "#/definitions/models.WrOutInApply"
  12507. }
  12508. }
  12509. },
  12510. "500": {
  12511. "description": "Internal Server Error",
  12512. "schema": {
  12513. "$ref": "#/definitions/app.Response"
  12514. }
  12515. }
  12516. }
  12517. }
  12518. },
  12519. "/WrTrade2/QueryWrPerformancePlanStep": {
  12520. "get": {
  12521. "security": [
  12522. {
  12523. "ApiKeyAuth": []
  12524. }
  12525. ],
  12526. "produces": [
  12527. "application/json"
  12528. ],
  12529. "tags": [
  12530. "仓单贸易v2"
  12531. ],
  12532. "summary": "查询履约信息详情",
  12533. "parameters": [
  12534. {
  12535. "type": "integer",
  12536. "description": "履约计划id(performanceplanid)",
  12537. "name": "planid",
  12538. "in": "query",
  12539. "required": true
  12540. },
  12541. {
  12542. "type": "integer",
  12543. "description": "当前步骤id",
  12544. "name": "curstepid",
  12545. "in": "query"
  12546. }
  12547. ],
  12548. "responses": {
  12549. "200": {
  12550. "description": "OK",
  12551. "schema": {
  12552. "type": "array",
  12553. "items": {
  12554. "$ref": "#/definitions/models.WrPerformancePlanStep"
  12555. }
  12556. }
  12557. },
  12558. "500": {
  12559. "description": "Internal Server Error",
  12560. "schema": {
  12561. "$ref": "#/definitions/app.Response"
  12562. }
  12563. }
  12564. }
  12565. }
  12566. },
  12567. "/WrTrade2/QueryWrPerformanceStepType": {
  12568. "get": {
  12569. "security": [
  12570. {
  12571. "ApiKeyAuth": []
  12572. }
  12573. ],
  12574. "produces": [
  12575. "application/json"
  12576. ],
  12577. "tags": [
  12578. "仓单贸易v2"
  12579. ],
  12580. "summary": "查询履约步骤枚举",
  12581. "responses": {
  12582. "200": {
  12583. "description": "OK",
  12584. "schema": {
  12585. "type": "array",
  12586. "items": {
  12587. "$ref": "#/definitions/models.WrPerformanceStepType"
  12588. }
  12589. }
  12590. },
  12591. "500": {
  12592. "description": "Internal Server Error",
  12593. "schema": {
  12594. "$ref": "#/definitions/app.Response"
  12595. }
  12596. }
  12597. }
  12598. }
  12599. },
  12600. "/WrTrade2/QueryWrPosition": {
  12601. "get": {
  12602. "security": [
  12603. {
  12604. "ApiKeyAuth": []
  12605. }
  12606. ],
  12607. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  12608. "produces": [
  12609. "application/json"
  12610. ],
  12611. "tags": [
  12612. "仓单贸易v2"
  12613. ],
  12614. "summary": "查询现货(预售)仓单持仓",
  12615. "parameters": [
  12616. {
  12617. "type": "integer",
  12618. "description": "用户id",
  12619. "name": "userid",
  12620. "in": "query",
  12621. "required": true
  12622. },
  12623. {
  12624. "type": "integer",
  12625. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  12626. "name": "querytype",
  12627. "in": "query",
  12628. "required": true
  12629. },
  12630. {
  12631. "type": "integer",
  12632. "description": "0:仓单预售 1:仓单贸易",
  12633. "name": "haswr",
  12634. "in": "query",
  12635. "required": true
  12636. },
  12637. {
  12638. "type": "string",
  12639. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12640. "name": "dgitemname",
  12641. "in": "query"
  12642. },
  12643. {
  12644. "type": "integer",
  12645. "description": "仓库id(筛选条件)",
  12646. "name": "warehouseid",
  12647. "in": "query"
  12648. },
  12649. {
  12650. "type": "integer",
  12651. "description": "品种id",
  12652. "name": "deliverygoodsid",
  12653. "in": "query"
  12654. },
  12655. {
  12656. "type": "integer",
  12657. "description": "品类id",
  12658. "name": "wrstandardid",
  12659. "in": "query"
  12660. }
  12661. ],
  12662. "responses": {
  12663. "200": {
  12664. "description": "OK",
  12665. "schema": {
  12666. "type": "array",
  12667. "items": {
  12668. "$ref": "#/definitions/models.WrPosition"
  12669. }
  12670. }
  12671. },
  12672. "500": {
  12673. "description": "Internal Server Error",
  12674. "schema": {
  12675. "$ref": "#/definitions/app.Response"
  12676. }
  12677. }
  12678. }
  12679. }
  12680. },
  12681. "/WrTrade2/QueryWrScfContract": {
  12682. "get": {
  12683. "security": [
  12684. {
  12685. "ApiKeyAuth": []
  12686. }
  12687. ],
  12688. "produces": [
  12689. "application/json"
  12690. ],
  12691. "tags": [
  12692. "仓单贸易v2"
  12693. ],
  12694. "summary": "查询仓单贸易融资合同",
  12695. "parameters": [
  12696. {
  12697. "type": "integer",
  12698. "description": "用户id",
  12699. "name": "userid",
  12700. "in": "query",
  12701. "required": true
  12702. },
  12703. {
  12704. "type": "integer",
  12705. "description": "融资合同id",
  12706. "name": "scfcontractid",
  12707. "in": "query"
  12708. }
  12709. ],
  12710. "responses": {
  12711. "200": {
  12712. "description": "OK",
  12713. "schema": {
  12714. "type": "array",
  12715. "items": {
  12716. "$ref": "#/definitions/models.WrScfContract"
  12717. }
  12718. }
  12719. },
  12720. "500": {
  12721. "description": "Internal Server Error",
  12722. "schema": {
  12723. "$ref": "#/definitions/app.Response"
  12724. }
  12725. }
  12726. }
  12727. }
  12728. },
  12729. "/WrTrade2/QueryWrScfContractInterest": {
  12730. "get": {
  12731. "security": [
  12732. {
  12733. "ApiKeyAuth": []
  12734. }
  12735. ],
  12736. "produces": [
  12737. "application/json"
  12738. ],
  12739. "tags": [
  12740. "仓单贸易v2"
  12741. ],
  12742. "summary": "查询融资合同费用明细",
  12743. "parameters": [
  12744. {
  12745. "type": "integer",
  12746. "description": "融资合同id",
  12747. "name": "scfcontractid",
  12748. "in": "query"
  12749. }
  12750. ],
  12751. "responses": {
  12752. "200": {
  12753. "description": "OK",
  12754. "schema": {
  12755. "type": "array",
  12756. "items": {
  12757. "$ref": "#/definitions/models.WrScfContractInterest"
  12758. }
  12759. }
  12760. },
  12761. "500": {
  12762. "description": "Internal Server Error",
  12763. "schema": {
  12764. "$ref": "#/definitions/app.Response"
  12765. }
  12766. }
  12767. }
  12768. }
  12769. },
  12770. "/WrTrade2/QueryWrSpecialMatchOrder": {
  12771. "get": {
  12772. "security": [
  12773. {
  12774. "ApiKeyAuth": []
  12775. }
  12776. ],
  12777. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  12778. "produces": [
  12779. "application/json"
  12780. ],
  12781. "tags": [
  12782. "仓单贸易v2"
  12783. ],
  12784. "summary": "查询指定成交",
  12785. "parameters": [
  12786. {
  12787. "type": "integer",
  12788. "description": "页码",
  12789. "name": "page",
  12790. "in": "query"
  12791. },
  12792. {
  12793. "type": "integer",
  12794. "description": "每页条数",
  12795. "name": "pagesize",
  12796. "in": "query"
  12797. },
  12798. {
  12799. "type": "integer",
  12800. "description": "用户id",
  12801. "name": "userid",
  12802. "in": "query",
  12803. "required": true
  12804. },
  12805. {
  12806. "type": "integer",
  12807. "description": "仓单贸易市场id",
  12808. "name": "marketid",
  12809. "in": "query"
  12810. },
  12811. {
  12812. "type": "integer",
  12813. "description": "0:仓单预售 1:仓单贸易",
  12814. "name": "haswr",
  12815. "in": "query",
  12816. "required": true
  12817. }
  12818. ],
  12819. "responses": {
  12820. "200": {
  12821. "description": "OK",
  12822. "schema": {
  12823. "type": "array",
  12824. "items": {
  12825. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  12826. }
  12827. }
  12828. },
  12829. "500": {
  12830. "description": "Internal Server Error",
  12831. "schema": {
  12832. "$ref": "#/definitions/app.Response"
  12833. }
  12834. }
  12835. }
  12836. }
  12837. },
  12838. "/WrTrade2/QueryWrStandardFactoryItem": {
  12839. "get": {
  12840. "security": [
  12841. {
  12842. "ApiKeyAuth": []
  12843. }
  12844. ],
  12845. "produces": [
  12846. "application/json"
  12847. ],
  12848. "tags": [
  12849. "仓单贸易v2"
  12850. ],
  12851. "summary": "查询品类要素定义项",
  12852. "parameters": [
  12853. {
  12854. "type": "integer",
  12855. "description": "品类id",
  12856. "name": "wrstandardid",
  12857. "in": "query",
  12858. "required": true
  12859. }
  12860. ],
  12861. "responses": {
  12862. "200": {
  12863. "description": "OK",
  12864. "schema": {
  12865. "type": "array",
  12866. "items": {
  12867. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  12868. }
  12869. }
  12870. },
  12871. "500": {
  12872. "description": "Internal Server Error",
  12873. "schema": {
  12874. "$ref": "#/definitions/app.Response"
  12875. }
  12876. }
  12877. }
  12878. }
  12879. },
  12880. "/WrTrade2/QueryWrTradeBargainApply": {
  12881. "get": {
  12882. "security": [
  12883. {
  12884. "ApiKeyAuth": []
  12885. }
  12886. ],
  12887. "description": "1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid",
  12888. "produces": [
  12889. "application/json"
  12890. ],
  12891. "tags": [
  12892. "仓单贸易v2"
  12893. ],
  12894. "summary": "查询议价单",
  12895. "parameters": [
  12896. {
  12897. "type": "integer",
  12898. "description": "议价人id(摘牌方)",
  12899. "name": "userid",
  12900. "in": "query"
  12901. },
  12902. {
  12903. "type": "integer",
  12904. "description": "关联委托单id",
  12905. "name": "wrtradeorderid",
  12906. "in": "query"
  12907. },
  12908. {
  12909. "type": "integer",
  12910. "description": "0:仓单预售 1:仓单贸易",
  12911. "name": "haswr",
  12912. "in": "query",
  12913. "required": true
  12914. }
  12915. ],
  12916. "responses": {
  12917. "200": {
  12918. "description": "OK",
  12919. "schema": {
  12920. "type": "array",
  12921. "items": {
  12922. "$ref": "#/definitions/models.WRTradeBargainApply"
  12923. }
  12924. }
  12925. },
  12926. "500": {
  12927. "description": "Internal Server Error",
  12928. "schema": {
  12929. "$ref": "#/definitions/app.Response"
  12930. }
  12931. }
  12932. }
  12933. }
  12934. },
  12935. "/WrTrade2/QueryWrTradeDetail": {
  12936. "get": {
  12937. "security": [
  12938. {
  12939. "ApiKeyAuth": []
  12940. }
  12941. ],
  12942. "produces": [
  12943. "application/json"
  12944. ],
  12945. "tags": [
  12946. "仓单贸易v2"
  12947. ],
  12948. "summary": "查询仓单成交明细",
  12949. "parameters": [
  12950. {
  12951. "type": "integer",
  12952. "description": "页码",
  12953. "name": "page",
  12954. "in": "query"
  12955. },
  12956. {
  12957. "type": "integer",
  12958. "description": "每页条数",
  12959. "name": "pagesize",
  12960. "in": "query"
  12961. },
  12962. {
  12963. "type": "integer",
  12964. "description": "用户id",
  12965. "name": "userid",
  12966. "in": "query",
  12967. "required": true
  12968. },
  12969. {
  12970. "type": "integer",
  12971. "description": "仓单贸易市场id",
  12972. "name": "marketid",
  12973. "in": "query"
  12974. },
  12975. {
  12976. "type": "integer",
  12977. "description": "0:仓单预售 1:仓单贸易",
  12978. "name": "haswr",
  12979. "in": "query",
  12980. "required": true
  12981. }
  12982. ],
  12983. "responses": {
  12984. "200": {
  12985. "description": "OK",
  12986. "schema": {
  12987. "type": "array",
  12988. "items": {
  12989. "$ref": "#/definitions/models.WrTradeDetail"
  12990. }
  12991. }
  12992. },
  12993. "500": {
  12994. "description": "Internal Server Error",
  12995. "schema": {
  12996. "$ref": "#/definitions/app.Response"
  12997. }
  12998. }
  12999. }
  13000. }
  13001. },
  13002. "/WrTrade2/QueryWrTradeOrderDetail": {
  13003. "get": {
  13004. "security": [
  13005. {
  13006. "ApiKeyAuth": []
  13007. }
  13008. ],
  13009. "produces": [
  13010. "application/json"
  13011. ],
  13012. "tags": [
  13013. "仓单贸易v2"
  13014. ],
  13015. "summary": "查询合约交易买卖大厅",
  13016. "parameters": [
  13017. {
  13018. "type": "integer",
  13019. "description": "页码",
  13020. "name": "page",
  13021. "in": "query"
  13022. },
  13023. {
  13024. "type": "integer",
  13025. "description": "每页条数",
  13026. "name": "pagesize",
  13027. "in": "query"
  13028. },
  13029. {
  13030. "type": "integer",
  13031. "description": "商品id",
  13032. "name": "goodsid",
  13033. "in": "query",
  13034. "required": true
  13035. },
  13036. {
  13037. "type": "integer",
  13038. "description": "买卖方向 0-买 1-卖",
  13039. "name": "buyorsell",
  13040. "in": "query",
  13041. "required": true
  13042. }
  13043. ],
  13044. "responses": {
  13045. "200": {
  13046. "description": "OK",
  13047. "schema": {
  13048. "type": "array",
  13049. "items": {
  13050. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13051. }
  13052. }
  13053. },
  13054. "500": {
  13055. "description": "Internal Server Error",
  13056. "schema": {
  13057. "$ref": "#/definitions/app.Response"
  13058. }
  13059. }
  13060. }
  13061. }
  13062. },
  13063. "/WrTrade2/QueryWrUserFriend": {
  13064. "get": {
  13065. "security": [
  13066. {
  13067. "ApiKeyAuth": []
  13068. }
  13069. ],
  13070. "produces": [
  13071. "application/json"
  13072. ],
  13073. "tags": [
  13074. "仓单贸易v2"
  13075. ],
  13076. "summary": "查询我的朋友",
  13077. "parameters": [
  13078. {
  13079. "type": "integer",
  13080. "description": "用户id",
  13081. "name": "userid",
  13082. "in": "query",
  13083. "required": true
  13084. },
  13085. {
  13086. "type": "integer",
  13087. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  13088. "name": "newuserid",
  13089. "in": "query"
  13090. }
  13091. ],
  13092. "responses": {
  13093. "200": {
  13094. "description": "OK",
  13095. "schema": {
  13096. "type": "array",
  13097. "items": {
  13098. "$ref": "#/definitions/models.WrUserFriend"
  13099. }
  13100. }
  13101. },
  13102. "500": {
  13103. "description": "Internal Server Error",
  13104. "schema": {
  13105. "$ref": "#/definitions/app.Response"
  13106. }
  13107. }
  13108. }
  13109. }
  13110. }
  13111. },
  13112. "definitions": {
  13113. "app.Response": {
  13114. "type": "object",
  13115. "properties": {
  13116. "code": {
  13117. "type": "integer"
  13118. },
  13119. "data": {
  13120. "type": "object"
  13121. },
  13122. "msg": {
  13123. "type": "string"
  13124. },
  13125. "page": {
  13126. "description": "页码",
  13127. "type": "integer"
  13128. },
  13129. "pagesize": {
  13130. "description": "每页条数",
  13131. "type": "integer"
  13132. },
  13133. "total": {
  13134. "description": "总条数",
  13135. "type": "integer"
  13136. }
  13137. }
  13138. },
  13139. "common.ClientMenu": {
  13140. "type": "object",
  13141. "properties": {
  13142. "children": {
  13143. "description": "子菜单列表",
  13144. "type": "array",
  13145. "items": {
  13146. "$ref": "#/definitions/common.ClientMenu"
  13147. }
  13148. },
  13149. "code": {
  13150. "description": "ID",
  13151. "type": "string"
  13152. },
  13153. "isshow": {
  13154. "description": "是否显示",
  13155. "type": "boolean"
  13156. },
  13157. "remark": {
  13158. "description": "备注",
  13159. "type": "string"
  13160. },
  13161. "rulekey": {
  13162. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  13163. "type": "string"
  13164. },
  13165. "sort": {
  13166. "description": "排序",
  13167. "type": "integer"
  13168. },
  13169. "title": {
  13170. "description": "标题",
  13171. "type": "string"
  13172. },
  13173. "type": {
  13174. "description": "类型,1:菜单 2:按钮",
  13175. "type": "integer"
  13176. },
  13177. "url": {
  13178. "description": "URL",
  13179. "type": "string"
  13180. }
  13181. }
  13182. },
  13183. "common.QueryImageConfigsRsp": {
  13184. "type": "object",
  13185. "required": [
  13186. "configid"
  13187. ],
  13188. "properties": {
  13189. "areauserid": {
  13190. "description": "所属机构ID",
  13191. "type": "integer"
  13192. },
  13193. "configid": {
  13194. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  13195. "type": "integer"
  13196. },
  13197. "createdate": {
  13198. "description": "创建时间",
  13199. "type": "string"
  13200. },
  13201. "creatorid": {
  13202. "description": "创建人",
  13203. "type": "integer"
  13204. },
  13205. "imagepath": {
  13206. "description": "图片",
  13207. "type": "string"
  13208. },
  13209. "imagetype": {
  13210. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  13211. "type": "integer"
  13212. },
  13213. "isshow": {
  13214. "description": "是否展示 - 0:不展示 1:展示",
  13215. "type": "integer"
  13216. },
  13217. "marketid": {
  13218. "description": "市场ID",
  13219. "type": "integer"
  13220. },
  13221. "modifierid": {
  13222. "description": "操作人",
  13223. "type": "integer"
  13224. },
  13225. "sort": {
  13226. "description": "排序",
  13227. "type": "integer"
  13228. },
  13229. "title": {
  13230. "description": "标题",
  13231. "type": "string"
  13232. },
  13233. "trademode": {
  13234. "description": "交易模式",
  13235. "type": "integer"
  13236. },
  13237. "updatedate": {
  13238. "description": "修改时间",
  13239. "type": "string"
  13240. },
  13241. "url": {
  13242. "description": "链接(地址或商品ID)",
  13243. "type": "string"
  13244. },
  13245. "urltype": {
  13246. "description": "链接类型 - 1:直接地址 2:商品ID",
  13247. "type": "integer"
  13248. }
  13249. }
  13250. },
  13251. "common.QueryNoticeRsp": {
  13252. "type": "object",
  13253. "required": [
  13254. "autoid"
  13255. ],
  13256. "properties": {
  13257. "auditoruserid": {
  13258. "description": "审核人",
  13259. "type": "integer"
  13260. },
  13261. "auditremark": {
  13262. "description": "审核备注",
  13263. "type": "string"
  13264. },
  13265. "audittime": {
  13266. "description": "审核日期",
  13267. "type": "string"
  13268. },
  13269. "autoid": {
  13270. "description": "自增ID",
  13271. "type": "integer"
  13272. },
  13273. "content": {
  13274. "description": "内容",
  13275. "type": "string"
  13276. },
  13277. "createtime": {
  13278. "description": "创建时间",
  13279. "type": "string"
  13280. },
  13281. "creatorid": {
  13282. "description": "建仓人",
  13283. "type": "integer"
  13284. },
  13285. "endtime": {
  13286. "description": "结束时间",
  13287. "type": "string"
  13288. },
  13289. "istop": {
  13290. "description": "是否置顶 - 0:不置顶 1:置顶",
  13291. "type": "integer"
  13292. },
  13293. "msgiconurl": {
  13294. "description": "消息图标Url",
  13295. "type": "string"
  13296. },
  13297. "msgtype": {
  13298. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  13299. "type": "integer"
  13300. },
  13301. "publisher": {
  13302. "description": "消息发布者",
  13303. "type": "string"
  13304. },
  13305. "readed": {
  13306. "description": "是否已读",
  13307. "type": "boolean"
  13308. },
  13309. "scheduletime": {
  13310. "description": "计划发送时间",
  13311. "type": "string"
  13312. },
  13313. "sendtype": {
  13314. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  13315. "type": "integer"
  13316. },
  13317. "sentstatus": {
  13318. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  13319. "type": "integer"
  13320. },
  13321. "title": {
  13322. "description": "标题",
  13323. "type": "string"
  13324. },
  13325. "userid": {
  13326. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  13327. "type": "integer"
  13328. }
  13329. }
  13330. },
  13331. "common.QueryProvincesAndCitiesRsp": {
  13332. "type": "object",
  13333. "properties": {
  13334. "cities": {
  13335. "description": "市",
  13336. "type": "array",
  13337. "items": {
  13338. "$ref": "#/definitions/models.Division"
  13339. }
  13340. },
  13341. "province": {
  13342. "description": "省",
  13343. "type": "object",
  13344. "$ref": "#/definitions/models.Division"
  13345. }
  13346. }
  13347. },
  13348. "common.QueryTableDefineRsp": {
  13349. "type": "object",
  13350. "required": [
  13351. "tablekey"
  13352. ],
  13353. "properties": {
  13354. "columns": {
  13355. "description": "列头信息数组",
  13356. "type": "array",
  13357. "items": {
  13358. "$ref": "#/definitions/models.Tablecolumnconfig"
  13359. }
  13360. },
  13361. "remark": {
  13362. "description": "Remark",
  13363. "type": "string"
  13364. },
  13365. "tabelmenu": {
  13366. "description": "列表菜单",
  13367. "type": "string"
  13368. },
  13369. "tablekey": {
  13370. "description": "列表Key",
  13371. "type": "string"
  13372. },
  13373. "tablename": {
  13374. "description": "列表名称",
  13375. "type": "string"
  13376. },
  13377. "tabletype": {
  13378. "description": "列表类型 - 1:管理端 2:终端",
  13379. "type": "integer"
  13380. }
  13381. }
  13382. },
  13383. "common.QueryTraderMenuRsp": {
  13384. "type": "object",
  13385. "properties": {
  13386. "OperationMenu": {
  13387. "description": "功能菜单",
  13388. "type": "array",
  13389. "items": {
  13390. "$ref": "#/definitions/models.OperationPrimaryMenu"
  13391. }
  13392. },
  13393. "QuoteMenu": {
  13394. "description": "报价牌分类菜单",
  13395. "type": "array",
  13396. "items": {
  13397. "$ref": "#/definitions/models.QuotePrimaryMenu"
  13398. }
  13399. }
  13400. }
  13401. },
  13402. "cptrade.Cptradepositioncancel": {
  13403. "type": "object",
  13404. "required": [
  13405. "cancelid"
  13406. ],
  13407. "properties": {
  13408. "accountid": {
  13409. "description": "申请人账户ID",
  13410. "type": "integer"
  13411. },
  13412. "applystatus": {
  13413. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13414. "type": "integer"
  13415. },
  13416. "applytime": {
  13417. "description": "申请时间",
  13418. "type": "string"
  13419. },
  13420. "cancelid": {
  13421. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  13422. "type": "integer"
  13423. },
  13424. "cancelqty": {
  13425. "description": "注销数量",
  13426. "type": "integer"
  13427. },
  13428. "createtime": {
  13429. "description": "创建时间",
  13430. "type": "string"
  13431. },
  13432. "creatorid": {
  13433. "description": "创建人ID",
  13434. "type": "integer"
  13435. },
  13436. "creatorname": {
  13437. "description": "创建人",
  13438. "type": "string"
  13439. },
  13440. "goodscode": {
  13441. "description": "订单商品代码",
  13442. "type": "string"
  13443. },
  13444. "goodsid": {
  13445. "description": "商品ID",
  13446. "type": "integer"
  13447. },
  13448. "goodsname": {
  13449. "description": "订单商品名称",
  13450. "type": "string"
  13451. },
  13452. "goodunit": {
  13453. "description": "报价单位",
  13454. "type": "string"
  13455. },
  13456. "handlestatus": {
  13457. "description": "处理状态",
  13458. "type": "integer"
  13459. },
  13460. "marketid": {
  13461. "description": "市场ID",
  13462. "type": "integer"
  13463. },
  13464. "marketname": {
  13465. "description": "市场名称",
  13466. "type": "string"
  13467. },
  13468. "tradedate": {
  13469. "description": "交易日(yyyyMMdd)",
  13470. "type": "string"
  13471. },
  13472. "userid": {
  13473. "description": "申请人ID",
  13474. "type": "integer"
  13475. }
  13476. }
  13477. },
  13478. "cptrade.Cptradepresaleapply": {
  13479. "type": "object",
  13480. "required": [
  13481. "applyid"
  13482. ],
  13483. "properties": {
  13484. "accountid": {
  13485. "description": "申请人账户ID",
  13486. "type": "integer"
  13487. },
  13488. "applyid": {
  13489. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  13490. "type": "integer"
  13491. },
  13492. "applyremark": {
  13493. "description": "申请备注",
  13494. "type": "string"
  13495. },
  13496. "applystatus": {
  13497. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  13498. "type": "integer"
  13499. },
  13500. "applytime": {
  13501. "description": "申请时间",
  13502. "type": "string"
  13503. },
  13504. "attachmenturl": {
  13505. "description": "附件地址",
  13506. "type": "string"
  13507. },
  13508. "endtime": {
  13509. "description": "预售结束时间",
  13510. "type": "string"
  13511. },
  13512. "goodscode": {
  13513. "description": "商品代码",
  13514. "type": "string"
  13515. },
  13516. "goodsid": {
  13517. "description": "商品ID",
  13518. "type": "integer"
  13519. },
  13520. "goodsname": {
  13521. "description": "商品名称",
  13522. "type": "string"
  13523. },
  13524. "goodunit": {
  13525. "description": "报价单位",
  13526. "type": "string"
  13527. },
  13528. "handlestatus": {
  13529. "description": "处理状态",
  13530. "type": "integer"
  13531. },
  13532. "marketid": {
  13533. "description": "预售市场ID",
  13534. "type": "integer"
  13535. },
  13536. "marketname": {
  13537. "description": "预售市场名称",
  13538. "type": "string"
  13539. },
  13540. "presaleqty": {
  13541. "description": "预售数量",
  13542. "type": "integer"
  13543. },
  13544. "relatedgoodscode": {
  13545. "description": "关联交易合约代码",
  13546. "type": "string"
  13547. },
  13548. "relatedgoodsid": {
  13549. "description": "关联交易合约ID",
  13550. "type": "integer"
  13551. },
  13552. "relatedgoodsname": {
  13553. "description": "关联交易合约名称",
  13554. "type": "string"
  13555. },
  13556. "starttime": {
  13557. "description": "预售开始时间",
  13558. "type": "string"
  13559. },
  13560. "tradedate": {
  13561. "description": "交易日(yyyyMMdd)",
  13562. "type": "string"
  13563. },
  13564. "trademode": {
  13565. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  13566. "type": "integer"
  13567. },
  13568. "userid": {
  13569. "description": "申请人ID",
  13570. "type": "integer"
  13571. }
  13572. }
  13573. },
  13574. "cptrade.Cptradeusergoodsdata": {
  13575. "type": "object",
  13576. "required": [
  13577. "accountid",
  13578. "goodsid"
  13579. ],
  13580. "properties": {
  13581. "EnabledQty": {
  13582. "description": "可用量",
  13583. "type": "integer"
  13584. },
  13585. "GoodsCode": {
  13586. "description": "订单商品代码",
  13587. "type": "string"
  13588. },
  13589. "GoodsName": {
  13590. "description": "订单商品名称",
  13591. "type": "string"
  13592. },
  13593. "WRStandardCode": {
  13594. "description": "仓单标准代码",
  13595. "type": "string"
  13596. },
  13597. "WRStandardName": {
  13598. "description": "仓单标准名称",
  13599. "type": "string"
  13600. },
  13601. "accountid": {
  13602. "description": "账户ID",
  13603. "type": "integer"
  13604. },
  13605. "cancelqty": {
  13606. "description": "注销量",
  13607. "type": "integer"
  13608. },
  13609. "curpresaleqty": {
  13610. "description": "当前预售量",
  13611. "type": "integer"
  13612. },
  13613. "deliveryqty": {
  13614. "description": "交割量",
  13615. "type": "integer"
  13616. },
  13617. "freezeamount": {
  13618. "description": "冻结金额",
  13619. "type": "number"
  13620. },
  13621. "goodsid": {
  13622. "description": "商品ID",
  13623. "type": "integer"
  13624. },
  13625. "goodunit": {
  13626. "description": "报价单位",
  13627. "type": "string"
  13628. },
  13629. "hasspotfreeze": {
  13630. "description": "是否有现货冻结 - 0:否 1:有",
  13631. "type": "integer"
  13632. },
  13633. "inqty": {
  13634. "description": "转入量(总数量)",
  13635. "type": "integer"
  13636. },
  13637. "marketid": {
  13638. "description": "市场ID",
  13639. "type": "integer"
  13640. },
  13641. "presaledamount": {
  13642. "description": "已预售总金额",
  13643. "type": "integer"
  13644. },
  13645. "presaledqty": {
  13646. "description": "已预售量",
  13647. "type": "integer"
  13648. },
  13649. "userid": {
  13650. "description": "用户ID",
  13651. "type": "integer"
  13652. },
  13653. "wrstandardid": {
  13654. "description": "仓单标准ID",
  13655. "type": "integer"
  13656. }
  13657. }
  13658. },
  13659. "cptrade.QueryCPTradeMyBidRsp": {
  13660. "type": "object",
  13661. "required": [
  13662. "accountid",
  13663. "goodsid",
  13664. "marketid",
  13665. "orderid",
  13666. "orderqty",
  13667. "ordertime",
  13668. "tradeprice",
  13669. "tradeqty"
  13670. ],
  13671. "properties": {
  13672. "accountid": {
  13673. "description": "账户ID[报价币种]",
  13674. "type": "integer"
  13675. },
  13676. "goodsid": {
  13677. "description": "商品ID",
  13678. "type": "integer"
  13679. },
  13680. "goodunit": {
  13681. "description": "报价单位",
  13682. "type": "string"
  13683. },
  13684. "marketid": {
  13685. "description": "市场ID",
  13686. "type": "integer"
  13687. },
  13688. "orderid": {
  13689. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13690. "type": "integer"
  13691. },
  13692. "orderprice": {
  13693. "description": "委托价格",
  13694. "type": "number"
  13695. },
  13696. "orderqty": {
  13697. "description": "委托数量",
  13698. "type": "integer"
  13699. },
  13700. "ordertime": {
  13701. "description": "委托时间",
  13702. "type": "string"
  13703. },
  13704. "ordertotalprice": {
  13705. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  13706. "type": "number"
  13707. },
  13708. "ordertotalweight": {
  13709. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  13710. "type": "integer"
  13711. },
  13712. "totaltotalprice": {
  13713. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  13714. "type": "number"
  13715. },
  13716. "tradeprice": {
  13717. "description": "成交价格",
  13718. "type": "number"
  13719. },
  13720. "tradeqty": {
  13721. "description": "成交数量",
  13722. "type": "integer"
  13723. }
  13724. }
  13725. },
  13726. "cptrade.QueryCPTradeOrderDetailRsq": {
  13727. "type": "object",
  13728. "required": [
  13729. "accountid",
  13730. "buildtype",
  13731. "buyorsell",
  13732. "goodsid",
  13733. "marketid",
  13734. "memberuserid",
  13735. "operatetype",
  13736. "orderqty",
  13737. "ordertime",
  13738. "pricemode",
  13739. "strorderid",
  13740. "tradedate",
  13741. "validtype"
  13742. ],
  13743. "properties": {
  13744. "accountid": {
  13745. "description": "账户ID[报价币种]",
  13746. "type": "integer"
  13747. },
  13748. "buildtype": {
  13749. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13750. "type": "integer"
  13751. },
  13752. "buyorsell": {
  13753. "description": "买卖 - 0:买 1:卖",
  13754. "type": "integer"
  13755. },
  13756. "cancelorderid": {
  13757. "description": "撤单单号(撤单时填写)",
  13758. "type": "integer"
  13759. },
  13760. "cancelqty": {
  13761. "description": "撤单数量",
  13762. "type": "integer"
  13763. },
  13764. "clientordertime": {
  13765. "description": "客户端委托时间",
  13766. "type": "string"
  13767. },
  13768. "clientticket": {
  13769. "description": "客户端流水号",
  13770. "type": "string"
  13771. },
  13772. "clienttype": {
  13773. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13774. "type": "integer"
  13775. },
  13776. "closeexchagechargevalue": {
  13777. "description": "平仓交易所手续费设置值",
  13778. "type": "number"
  13779. },
  13780. "closefeealgorithm": {
  13781. "description": "平仓手续费收取方式 1:比率 2:固定",
  13782. "type": "integer"
  13783. },
  13784. "closefreezecharge": {
  13785. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13786. "type": "number"
  13787. },
  13788. "closememberchargevalue": {
  13789. "description": "平仓会员手续费设置值",
  13790. "type": "number"
  13791. },
  13792. "closeqty": {
  13793. "description": "平仓数量(先建后平操作 需要记录)",
  13794. "type": "integer"
  13795. },
  13796. "closetradeqty": {
  13797. "description": "平仓成交数量(先建后平操作,需要记录)",
  13798. "type": "integer"
  13799. },
  13800. "closeunfreezecharge": {
  13801. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13802. "type": "number"
  13803. },
  13804. "delistingtype": {
  13805. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13806. "type": "integer"
  13807. },
  13808. "freezecharge": {
  13809. "description": "冻结手续费",
  13810. "type": "number"
  13811. },
  13812. "freezemargin": {
  13813. "description": "冻结保证金(冻结交易金额)",
  13814. "type": "number"
  13815. },
  13816. "gcaccountid": {
  13817. "description": "账户ID[合约币种]",
  13818. "type": "integer"
  13819. },
  13820. "goodsid": {
  13821. "description": "商品ID",
  13822. "type": "integer"
  13823. },
  13824. "isconfirmexercise": {
  13825. "description": "是否确认行权- 0:否 1:是",
  13826. "type": "integer"
  13827. },
  13828. "ispreexercise": {
  13829. "description": "是否预申报- 0:否 1:是",
  13830. "type": "integer"
  13831. },
  13832. "listingselecttype": {
  13833. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13834. "type": "integer"
  13835. },
  13836. "marginalgorithm": {
  13837. "description": "保证金收取方式 1:比率 2:固定",
  13838. "type": "integer"
  13839. },
  13840. "marginvalue": {
  13841. "description": "即市保证金设置值",
  13842. "type": "number"
  13843. },
  13844. "marketid": {
  13845. "description": "市场ID",
  13846. "type": "integer"
  13847. },
  13848. "marketmaxsub": {
  13849. "description": "市价最大偏移范围",
  13850. "type": "number"
  13851. },
  13852. "memberuserid": {
  13853. "description": "所属会员UserID",
  13854. "type": "integer"
  13855. },
  13856. "openexchagechargevalue": {
  13857. "description": "建仓交易所手续费设置值",
  13858. "type": "number"
  13859. },
  13860. "openfeealgorithm": {
  13861. "description": "建仓手续费收取方式 1:比率 2:固定",
  13862. "type": "integer"
  13863. },
  13864. "openfreezecharge": {
  13865. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13866. "type": "number"
  13867. },
  13868. "openmemberchargevalue": {
  13869. "description": "建仓会员手续费设置值",
  13870. "type": "number"
  13871. },
  13872. "openqty": {
  13873. "description": "开仓数量(先建后平操作,需要记录)",
  13874. "type": "integer"
  13875. },
  13876. "opentradeqty": {
  13877. "description": "开仓成交数量(先建后平操作,需要记录)",
  13878. "type": "integer"
  13879. },
  13880. "openunfreezecharge": {
  13881. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13882. "type": "number"
  13883. },
  13884. "operatetype": {
  13885. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13886. "type": "integer"
  13887. },
  13888. "operatorid": {
  13889. "description": "登录账号(LoginID)",
  13890. "type": "integer"
  13891. },
  13892. "optiontype": {
  13893. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13894. "type": "integer"
  13895. },
  13896. "orderprice": {
  13897. "description": "委托价格",
  13898. "type": "number"
  13899. },
  13900. "orderqty": {
  13901. "description": "委托数量",
  13902. "type": "integer"
  13903. },
  13904. "ordersrc": {
  13905. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13906. "type": "integer"
  13907. },
  13908. "orderstatus": {
  13909. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13910. "type": "integer"
  13911. },
  13912. "ordertime": {
  13913. "description": "委托时间",
  13914. "type": "string"
  13915. },
  13916. "preexerciseprice": {
  13917. "description": "预申报价格",
  13918. "type": "number"
  13919. },
  13920. "premium": {
  13921. "description": "权利金",
  13922. "type": "number"
  13923. },
  13924. "preorderid": {
  13925. "description": "关联预埋单号(止盈止损单时填写)",
  13926. "type": "integer"
  13927. },
  13928. "pricemode": {
  13929. "description": "取价方式 - 1:市价 2: 限价",
  13930. "type": "integer"
  13931. },
  13932. "quoteid": {
  13933. "description": "报价单ID",
  13934. "type": "integer"
  13935. },
  13936. "relatedid": {
  13937. "description": "关联单号(交割单)",
  13938. "type": "integer"
  13939. },
  13940. "retcode": {
  13941. "description": "错误代码",
  13942. "type": "integer"
  13943. },
  13944. "sessionid": {
  13945. "description": "会话ID",
  13946. "type": "integer"
  13947. },
  13948. "strorderid": {
  13949. "description": "委托单号",
  13950. "type": "string"
  13951. },
  13952. "tradedate": {
  13953. "description": "交易日(yyyyMMdd)",
  13954. "type": "string"
  13955. },
  13956. "tradeproperty": {
  13957. "description": "交易属性",
  13958. "type": "integer"
  13959. },
  13960. "tradeqty": {
  13961. "description": "成交数量",
  13962. "type": "integer"
  13963. },
  13964. "unfreezecharge": {
  13965. "description": "解冻手续费",
  13966. "type": "number"
  13967. },
  13968. "unfreezemargin": {
  13969. "description": "解冻保证金",
  13970. "type": "number"
  13971. },
  13972. "updatetime": {
  13973. "description": "更新时间",
  13974. "type": "string"
  13975. },
  13976. "uuid": {
  13977. "description": "发起端唯一id",
  13978. "type": "string"
  13979. },
  13980. "validtime": {
  13981. "description": "有效期限",
  13982. "type": "string"
  13983. },
  13984. "validtype": {
  13985. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13986. "type": "integer"
  13987. },
  13988. "volumetype": {
  13989. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13990. "type": "integer"
  13991. }
  13992. }
  13993. },
  13994. "cptrade.QueryMyCPTradeGoodsRsp": {
  13995. "type": "object",
  13996. "required": [
  13997. "goodscode",
  13998. "goodsid",
  13999. "goodsname",
  14000. "marketid",
  14001. "relatedgoodscode",
  14002. "relatedgoodsname"
  14003. ],
  14004. "properties": {
  14005. "accountid": {
  14006. "description": "卖方账户ID",
  14007. "type": "integer"
  14008. },
  14009. "agreeunit": {
  14010. "description": "合约单位",
  14011. "type": "number"
  14012. },
  14013. "applyid": {
  14014. "description": "关联申请ID",
  14015. "type": "integer"
  14016. },
  14017. "attachmenturl": {
  14018. "description": "附件地址",
  14019. "type": "string"
  14020. },
  14021. "createtime": {
  14022. "description": "创建时间",
  14023. "type": "string"
  14024. },
  14025. "currencyid": {
  14026. "description": "报价货币ID",
  14027. "type": "integer"
  14028. },
  14029. "decimalplace": {
  14030. "description": "报价小数位",
  14031. "type": "integer"
  14032. },
  14033. "endtime": {
  14034. "description": "预售结束时间",
  14035. "type": "string"
  14036. },
  14037. "floorprice": {
  14038. "description": "底价[大宗式竞拍]",
  14039. "type": "number"
  14040. },
  14041. "goodscode": {
  14042. "description": "商品代码(预售)",
  14043. "type": "string"
  14044. },
  14045. "goodsdetail": {
  14046. "description": "详情[大宗]",
  14047. "type": "string"
  14048. },
  14049. "goodsid": {
  14050. "description": "商品ID(自增ID SEQ_GOODS)",
  14051. "type": "integer"
  14052. },
  14053. "goodsname": {
  14054. "description": "商品名称(预售)",
  14055. "type": "string"
  14056. },
  14057. "goodunit": {
  14058. "description": "报价单位",
  14059. "type": "string"
  14060. },
  14061. "goodunitid": {
  14062. "description": "报价单位ID",
  14063. "type": "integer"
  14064. },
  14065. "marketid": {
  14066. "description": "所属市场ID",
  14067. "type": "integer"
  14068. },
  14069. "marketname": {
  14070. "description": "预售市场名称",
  14071. "type": "string"
  14072. },
  14073. "presaledamount": {
  14074. "description": "已预售总金额(预售结束时更新)",
  14075. "type": "number"
  14076. },
  14077. "presaledqty": {
  14078. "description": "已预售量(预售结束时更新)",
  14079. "type": "integer"
  14080. },
  14081. "presalemode": {
  14082. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14083. "type": "integer"
  14084. },
  14085. "presaleqty": {
  14086. "description": "预售数量",
  14087. "type": "integer"
  14088. },
  14089. "refprice": {
  14090. "description": "参考价格[一口价]",
  14091. "type": "number"
  14092. },
  14093. "relatedgoodscode": {
  14094. "description": "商品代码(订单)",
  14095. "type": "string"
  14096. },
  14097. "relatedgoodsid": {
  14098. "description": "关联交易合约ID",
  14099. "type": "integer"
  14100. },
  14101. "relatedgoodsname": {
  14102. "description": "商品名称(订单)",
  14103. "type": "string"
  14104. },
  14105. "relatedmarketid": {
  14106. "description": "关联交易合约市场ID",
  14107. "type": "integer"
  14108. },
  14109. "sellstatus": {
  14110. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14111. "type": "integer"
  14112. },
  14113. "startprice": {
  14114. "description": "起拍价[大宗式竞拍]",
  14115. "type": "number"
  14116. },
  14117. "starttime": {
  14118. "description": "预售开始时间",
  14119. "type": "string"
  14120. },
  14121. "tradedate": {
  14122. "description": "交易日(yyyyMMdd)",
  14123. "type": "string"
  14124. },
  14125. "tradeprice": {
  14126. "description": "成交价[大宗]",
  14127. "type": "number"
  14128. },
  14129. "userid": {
  14130. "description": "卖方用户ID",
  14131. "type": "integer"
  14132. }
  14133. }
  14134. },
  14135. "cptrade.QueryPresaleGoodsExRsp": {
  14136. "type": "object",
  14137. "required": [
  14138. "goodsid"
  14139. ],
  14140. "properties": {
  14141. "attachmenturl": {
  14142. "description": "附件地址",
  14143. "type": "string"
  14144. },
  14145. "createtime": {
  14146. "description": "创建时间",
  14147. "type": "string"
  14148. },
  14149. "endtime": {
  14150. "description": "预售结束时间",
  14151. "type": "string"
  14152. },
  14153. "floorprice": {
  14154. "description": "底价[大宗式竞拍]",
  14155. "type": "number"
  14156. },
  14157. "goodsdetail": {
  14158. "description": "详情[大宗]",
  14159. "type": "string"
  14160. },
  14161. "goodsid": {
  14162. "description": "商品ID(预售)",
  14163. "type": "integer"
  14164. },
  14165. "goodunit": {
  14166. "description": "报价单位",
  14167. "type": "string"
  14168. },
  14169. "marketid": {
  14170. "description": "预售市场ID - 根据预售模式选择市场",
  14171. "type": "integer"
  14172. },
  14173. "presaledamount": {
  14174. "description": "已预售总金额(预售结束时更新)",
  14175. "type": "number"
  14176. },
  14177. "presaledqty": {
  14178. "description": "已预售量(预售结束时更新)",
  14179. "type": "integer"
  14180. },
  14181. "presalemode": {
  14182. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14183. "type": "integer"
  14184. },
  14185. "presaleqty": {
  14186. "description": "预售数量",
  14187. "type": "integer"
  14188. },
  14189. "refprice": {
  14190. "description": "参考价格[一口价]",
  14191. "type": "number"
  14192. },
  14193. "relatedgoodsid": {
  14194. "description": "关联交易合约ID",
  14195. "type": "integer"
  14196. },
  14197. "relatedmarketid": {
  14198. "description": "关联交易合约市场ID",
  14199. "type": "integer"
  14200. },
  14201. "sellstatus": {
  14202. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14203. "type": "integer"
  14204. },
  14205. "startprice": {
  14206. "description": "起拍价[大宗式竞拍]",
  14207. "type": "number"
  14208. },
  14209. "starttime": {
  14210. "description": "预售开始时间",
  14211. "type": "string"
  14212. },
  14213. "tradedate": {
  14214. "description": "交易日(yyyyMMdd)",
  14215. "type": "string"
  14216. },
  14217. "tradeprice": {
  14218. "description": "成交价[大宗]",
  14219. "type": "number"
  14220. }
  14221. }
  14222. },
  14223. "delivery.QueryDeliveryRelationRsp": {
  14224. "type": "object",
  14225. "required": [
  14226. "begindate",
  14227. "enddate",
  14228. "goodsid",
  14229. "mindeliveryqty",
  14230. "xdeliveryratio"
  14231. ],
  14232. "properties": {
  14233. "begindate": {
  14234. "description": "起始日期(yyyyMMdd)",
  14235. "type": "string"
  14236. },
  14237. "buytemplateid": {
  14238. "description": "买履约计划模板ID",
  14239. "type": "integer"
  14240. },
  14241. "deliverygoodscode": {
  14242. "description": "品种代码",
  14243. "type": "string"
  14244. },
  14245. "deliverygoodsid": {
  14246. "description": "交割商品",
  14247. "type": "integer"
  14248. },
  14249. "deliverygoodsname": {
  14250. "description": "品种名称",
  14251. "type": "string"
  14252. },
  14253. "deliverymode": {
  14254. "description": "交割方式 - 1:点选式 2:申报式",
  14255. "type": "integer"
  14256. },
  14257. "deliverypricerule": {
  14258. "description": "交割价规则- 1:行情价 2:建仓价",
  14259. "type": "integer"
  14260. },
  14261. "deliverytype": {
  14262. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  14263. "type": "integer"
  14264. },
  14265. "enddate": {
  14266. "description": "结束日期(yyyyMMdd)",
  14267. "type": "string"
  14268. },
  14269. "enumdicname": {
  14270. "description": "品类单位名称",
  14271. "type": "string"
  14272. },
  14273. "goodscode": {
  14274. "description": "商品代码",
  14275. "type": "string"
  14276. },
  14277. "goodsid": {
  14278. "description": "交易合约ID",
  14279. "type": "integer"
  14280. },
  14281. "goodsname": {
  14282. "description": "商品名称",
  14283. "type": "string"
  14284. },
  14285. "marketid": {
  14286. "description": "市场ID",
  14287. "type": "integer"
  14288. },
  14289. "mindeliveryqty": {
  14290. "description": "最小交割系数(K)",
  14291. "type": "integer"
  14292. },
  14293. "p2deliveryprice": {
  14294. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  14295. "type": "number"
  14296. },
  14297. "p2deliveryratio": {
  14298. "description": "P2合约系数(p)",
  14299. "type": "integer"
  14300. },
  14301. "p2goodsid": {
  14302. "description": "P2合约ID",
  14303. "type": "integer"
  14304. },
  14305. "p2pricemode": {
  14306. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  14307. "type": "integer"
  14308. },
  14309. "pdeliveryprice": {
  14310. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  14311. "type": "number"
  14312. },
  14313. "pdeliveryratio": {
  14314. "description": "P合约系数(n)",
  14315. "type": "integer"
  14316. },
  14317. "pgoodscode": {
  14318. "description": "p合约代码",
  14319. "type": "string"
  14320. },
  14321. "pgoodsid": {
  14322. "description": "P合约ID",
  14323. "type": "integer"
  14324. },
  14325. "ppricemode": {
  14326. "description": "P合约价格方式 - 1:商品价 2:固定值",
  14327. "type": "integer"
  14328. },
  14329. "rratio": {
  14330. "description": "兑换系数(R)",
  14331. "type": "integer"
  14332. },
  14333. "rratio1": {
  14334. "description": "兑换系数(交易合约)(R1)",
  14335. "type": "integer"
  14336. },
  14337. "rratio2": {
  14338. "description": "兑换系数(仓单标准)(R2)",
  14339. "type": "integer"
  14340. },
  14341. "selltemplateid": {
  14342. "description": "卖履约计划模板ID",
  14343. "type": "integer"
  14344. },
  14345. "wrstandardid": {
  14346. "description": "仓单标准ID",
  14347. "type": "integer"
  14348. },
  14349. "xdeliveryratio": {
  14350. "description": "交易合约系数(m)",
  14351. "type": "integer"
  14352. }
  14353. }
  14354. },
  14355. "ermcp.ExposureDetailRsp": {
  14356. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  14357. },
  14358. "ermcp.ExposureHedgePosDetailRsp": {
  14359. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  14360. },
  14361. "ermcp.ExposureHedgePositionRsp": {
  14362. "$ref": "#/definitions/models.ErmcpHedgePosition"
  14363. },
  14364. "ermcp.ExposureSpotDetailRsp": {
  14365. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  14366. },
  14367. "ermcp.ExposureSpotRsp": {
  14368. "$ref": "#/definitions/models.AreaSpotModel"
  14369. },
  14370. "ermcp.HisExposureRsp": {
  14371. "$ref": "#/definitions/models.ErmcpHisExposureS"
  14372. },
  14373. "ermcp.PendingAuditCntRsp": {
  14374. "$ref": "#/definitions/models.ErmcpPendingAudit"
  14375. },
  14376. "ermcp.QryAvalidGPRsp": {
  14377. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  14378. },
  14379. "ermcp.QryBusinessDjRsp": {
  14380. "type": "object",
  14381. "properties": {
  14382. "amount": {
  14383. "description": "点价金额=(点价价格+升贴水)*点价数量",
  14384. "type": "number"
  14385. },
  14386. "applyid": {
  14387. "description": "申请人",
  14388. "type": "string"
  14389. },
  14390. "applyname": {
  14391. "description": "申请人名称",
  14392. "type": "string"
  14393. },
  14394. "applystatus": {
  14395. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14396. "type": "integer"
  14397. },
  14398. "applytime": {
  14399. "description": "申请时间",
  14400. "type": "string"
  14401. },
  14402. "attachurl": {
  14403. "description": "附件",
  14404. "type": "string"
  14405. },
  14406. "auditid": {
  14407. "description": "审核人ID",
  14408. "type": "string"
  14409. },
  14410. "auditname": {
  14411. "description": "审核人名称",
  14412. "type": "string"
  14413. },
  14414. "audittime": {
  14415. "description": "审核时间",
  14416. "type": "string"
  14417. },
  14418. "buyusername": {
  14419. "description": "采购方名称",
  14420. "type": "string"
  14421. },
  14422. "contractno": {
  14423. "description": "合同编号",
  14424. "type": "string"
  14425. },
  14426. "contractstatus": {
  14427. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14428. "type": "integer"
  14429. },
  14430. "contracttype": {
  14431. "description": "现货合同类型 - 1:采购 -1:销售",
  14432. "type": "integer"
  14433. },
  14434. "deliverygoodscode": {
  14435. "description": "现货品种代码",
  14436. "type": "string"
  14437. },
  14438. "deliverygoodsid": {
  14439. "description": "现货商品ID",
  14440. "type": "integer"
  14441. },
  14442. "deliverygoodsname": {
  14443. "description": "现货品种名称",
  14444. "type": "string"
  14445. },
  14446. "enumdicname": {
  14447. "description": "单位名称",
  14448. "type": "string"
  14449. },
  14450. "goodscode": {
  14451. "description": "点价合约",
  14452. "type": "string"
  14453. },
  14454. "goodsname": {
  14455. "description": "商品名称",
  14456. "type": "string"
  14457. },
  14458. "operateapplyid": {
  14459. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14460. "type": "string"
  14461. },
  14462. "operateapplytype": {
  14463. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14464. "type": "integer"
  14465. },
  14466. "pricedPrice": {
  14467. "description": "点价价格(非必填)",
  14468. "type": "number"
  14469. },
  14470. "pricedQty": {
  14471. "description": "点价数量(非必填)",
  14472. "type": "number"
  14473. },
  14474. "pricemove": {
  14475. "description": "升贴水",
  14476. "type": "number"
  14477. },
  14478. "pricetype": {
  14479. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14480. "type": "integer"
  14481. },
  14482. "relatedid": {
  14483. "description": "现货合同ID",
  14484. "type": "string"
  14485. },
  14486. "sellusername": {
  14487. "description": "销售方名字",
  14488. "type": "string"
  14489. },
  14490. "userid": {
  14491. "description": "用户ID",
  14492. "type": "integer"
  14493. },
  14494. "wrstandardcode": {
  14495. "description": "品类代码",
  14496. "type": "string"
  14497. },
  14498. "wrstandardid": {
  14499. "description": "品类id",
  14500. "type": "integer"
  14501. },
  14502. "wrstandardname": {
  14503. "description": "品类名称",
  14504. "type": "string"
  14505. }
  14506. }
  14507. },
  14508. "ermcp.QryBussinessFpRsp": {
  14509. "type": "object",
  14510. "properties": {
  14511. "applyid": {
  14512. "description": "申请人",
  14513. "type": "string"
  14514. },
  14515. "applyname": {
  14516. "description": "申请人名称",
  14517. "type": "string"
  14518. },
  14519. "applystatus": {
  14520. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14521. "type": "integer"
  14522. },
  14523. "applytime": {
  14524. "description": "申请时间",
  14525. "type": "string"
  14526. },
  14527. "attachurl": {
  14528. "description": "附件",
  14529. "type": "string"
  14530. },
  14531. "auditid": {
  14532. "description": "审核人ID",
  14533. "type": "string"
  14534. },
  14535. "auditname": {
  14536. "description": "审核人名称",
  14537. "type": "string"
  14538. },
  14539. "audittime": {
  14540. "description": "审核时间",
  14541. "type": "string"
  14542. },
  14543. "buyusername": {
  14544. "description": "采购方名称",
  14545. "type": "string"
  14546. },
  14547. "contractno": {
  14548. "description": "合同编号",
  14549. "type": "string"
  14550. },
  14551. "contractstatus": {
  14552. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14553. "type": "integer"
  14554. },
  14555. "contracttype": {
  14556. "description": "现货合同类型 - 1:采购 -1:销售",
  14557. "type": "integer"
  14558. },
  14559. "deliverygoodscode": {
  14560. "description": "现货品种代码",
  14561. "type": "string"
  14562. },
  14563. "deliverygoodsid": {
  14564. "description": "现货商品ID",
  14565. "type": "integer"
  14566. },
  14567. "deliverygoodsname": {
  14568. "description": "现货品种名称",
  14569. "type": "string"
  14570. },
  14571. "enumdicname": {
  14572. "description": "单位名称",
  14573. "type": "string"
  14574. },
  14575. "goodscode": {
  14576. "description": "点价合约",
  14577. "type": "string"
  14578. },
  14579. "goodsname": {
  14580. "description": "商品名称",
  14581. "type": "string"
  14582. },
  14583. "invoiceAmount": {
  14584. "description": "已开收票金额(销售为开票,采购为收票)",
  14585. "type": "number"
  14586. },
  14587. "operateapplyid": {
  14588. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14589. "type": "string"
  14590. },
  14591. "operateapplytype": {
  14592. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14593. "type": "integer"
  14594. },
  14595. "pricemove": {
  14596. "description": "升贴水",
  14597. "type": "number"
  14598. },
  14599. "pricetype": {
  14600. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14601. "type": "integer"
  14602. },
  14603. "relatedid": {
  14604. "description": "现货合同ID",
  14605. "type": "string"
  14606. },
  14607. "sellusername": {
  14608. "description": "销售方名字",
  14609. "type": "string"
  14610. },
  14611. "userid": {
  14612. "description": "用户ID",
  14613. "type": "integer"
  14614. },
  14615. "wrstandardcode": {
  14616. "description": "品类代码",
  14617. "type": "string"
  14618. },
  14619. "wrstandardid": {
  14620. "description": "品类id",
  14621. "type": "integer"
  14622. },
  14623. "wrstandardname": {
  14624. "description": "品类名称",
  14625. "type": "string"
  14626. }
  14627. }
  14628. },
  14629. "ermcp.QryBussinessJsExRsp": {
  14630. "type": "object",
  14631. "properties": {
  14632. "applyid": {
  14633. "description": "申请人",
  14634. "type": "string"
  14635. },
  14636. "applyname": {
  14637. "description": "申请人名称",
  14638. "type": "string"
  14639. },
  14640. "applystatus": {
  14641. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14642. "type": "integer"
  14643. },
  14644. "applytime": {
  14645. "description": "申请时间",
  14646. "type": "string"
  14647. },
  14648. "attachurl": {
  14649. "description": "附件",
  14650. "type": "string"
  14651. },
  14652. "auditid": {
  14653. "description": "审核人ID",
  14654. "type": "string"
  14655. },
  14656. "auditname": {
  14657. "description": "审核人名称",
  14658. "type": "string"
  14659. },
  14660. "audittime": {
  14661. "description": "审核时间",
  14662. "type": "string"
  14663. },
  14664. "buyusername": {
  14665. "description": "采购方名称",
  14666. "type": "string"
  14667. },
  14668. "contractno": {
  14669. "description": "合同编号",
  14670. "type": "string"
  14671. },
  14672. "contractstatus": {
  14673. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14674. "type": "integer"
  14675. },
  14676. "contracttype": {
  14677. "description": "现货合同类型 - 1:采购 -1:销售",
  14678. "type": "integer"
  14679. },
  14680. "deliverygoodscode": {
  14681. "description": "现货品种代码",
  14682. "type": "string"
  14683. },
  14684. "deliverygoodsid": {
  14685. "description": "现货商品ID",
  14686. "type": "integer"
  14687. },
  14688. "deliverygoodsname": {
  14689. "description": "现货品种名称",
  14690. "type": "string"
  14691. },
  14692. "enumdicname": {
  14693. "description": "单位名称",
  14694. "type": "string"
  14695. },
  14696. "goodscode": {
  14697. "description": "点价合约",
  14698. "type": "string"
  14699. },
  14700. "goodsname": {
  14701. "description": "商品名称",
  14702. "type": "string"
  14703. },
  14704. "operateapplyid": {
  14705. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14706. "type": "string"
  14707. },
  14708. "operateapplytype": {
  14709. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14710. "type": "integer"
  14711. },
  14712. "pricemove": {
  14713. "description": "升贴水",
  14714. "type": "number"
  14715. },
  14716. "pricetype": {
  14717. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14718. "type": "integer"
  14719. },
  14720. "reckontype": {
  14721. "description": "结算类型",
  14722. "type": "string"
  14723. },
  14724. "reckonvalue": {
  14725. "description": "值",
  14726. "type": "number"
  14727. },
  14728. "relatedid": {
  14729. "description": "现货合同ID",
  14730. "type": "string"
  14731. },
  14732. "sellusername": {
  14733. "description": "销售方名字",
  14734. "type": "string"
  14735. },
  14736. "userid": {
  14737. "description": "用户ID",
  14738. "type": "integer"
  14739. },
  14740. "wrstandardcode": {
  14741. "description": "品类代码",
  14742. "type": "string"
  14743. },
  14744. "wrstandardid": {
  14745. "description": "品类id",
  14746. "type": "integer"
  14747. },
  14748. "wrstandardname": {
  14749. "description": "品类名称",
  14750. "type": "string"
  14751. }
  14752. }
  14753. },
  14754. "ermcp.QryBussinessJsRsp": {
  14755. "type": "object",
  14756. "properties": {
  14757. "addmargin": {
  14758. "description": "追加保证金(非必填)",
  14759. "type": "number"
  14760. },
  14761. "applyid": {
  14762. "description": "申请人",
  14763. "type": "string"
  14764. },
  14765. "applyname": {
  14766. "description": "申请人名称",
  14767. "type": "string"
  14768. },
  14769. "applystatus": {
  14770. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14771. "type": "integer"
  14772. },
  14773. "applytime": {
  14774. "description": "申请时间",
  14775. "type": "string"
  14776. },
  14777. "attachurl": {
  14778. "description": "附件",
  14779. "type": "string"
  14780. },
  14781. "auditid": {
  14782. "description": "审核人ID",
  14783. "type": "string"
  14784. },
  14785. "auditname": {
  14786. "description": "审核人名称",
  14787. "type": "string"
  14788. },
  14789. "audittime": {
  14790. "description": "审核时间",
  14791. "type": "string"
  14792. },
  14793. "buyusername": {
  14794. "description": "采购方名称",
  14795. "type": "string"
  14796. },
  14797. "contractno": {
  14798. "description": "合同编号",
  14799. "type": "string"
  14800. },
  14801. "contractstatus": {
  14802. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14803. "type": "integer"
  14804. },
  14805. "contracttype": {
  14806. "description": "现货合同类型 - 1:采购 -1:销售",
  14807. "type": "integer"
  14808. },
  14809. "decmargin": {
  14810. "description": "减少保证金(非必填)",
  14811. "type": "number"
  14812. },
  14813. "deliverygoodscode": {
  14814. "description": "现货品种代码",
  14815. "type": "string"
  14816. },
  14817. "deliverygoodsid": {
  14818. "description": "现货商品ID",
  14819. "type": "integer"
  14820. },
  14821. "deliverygoodsname": {
  14822. "description": "现货品种名称",
  14823. "type": "string"
  14824. },
  14825. "enumdicname": {
  14826. "description": "单位名称",
  14827. "type": "string"
  14828. },
  14829. "goodscode": {
  14830. "description": "点价合约",
  14831. "type": "string"
  14832. },
  14833. "goodsname": {
  14834. "description": "商品名称",
  14835. "type": "string"
  14836. },
  14837. "operateapplyid": {
  14838. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14839. "type": "string"
  14840. },
  14841. "operateapplytype": {
  14842. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14843. "type": "integer"
  14844. },
  14845. "pricemove": {
  14846. "description": "升贴水",
  14847. "type": "number"
  14848. },
  14849. "pricetype": {
  14850. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14851. "type": "integer"
  14852. },
  14853. "reckonadjustamount": {
  14854. "description": "结算调整金额(非必填)",
  14855. "type": "number"
  14856. },
  14857. "reckonosamount": {
  14858. "description": "结算溢短金额(非必填)",
  14859. "type": "number"
  14860. },
  14861. "reckonotheramount": {
  14862. "description": "结算其他费用(非必填)",
  14863. "type": "number"
  14864. },
  14865. "reckonrealqty": {
  14866. "description": "结算实际数量(非必填)",
  14867. "type": "number"
  14868. },
  14869. "relatedid": {
  14870. "description": "现货合同ID",
  14871. "type": "string"
  14872. },
  14873. "sellusername": {
  14874. "description": "销售方名字",
  14875. "type": "string"
  14876. },
  14877. "userid": {
  14878. "description": "用户ID",
  14879. "type": "integer"
  14880. },
  14881. "wrstandardcode": {
  14882. "description": "品类代码",
  14883. "type": "string"
  14884. },
  14885. "wrstandardid": {
  14886. "description": "品类id",
  14887. "type": "integer"
  14888. },
  14889. "wrstandardname": {
  14890. "description": "品类名称",
  14891. "type": "string"
  14892. }
  14893. }
  14894. },
  14895. "ermcp.QryBussinessKxRsp": {
  14896. "type": "object",
  14897. "properties": {
  14898. "applyid": {
  14899. "description": "申请人",
  14900. "type": "string"
  14901. },
  14902. "applyname": {
  14903. "description": "申请人名称",
  14904. "type": "string"
  14905. },
  14906. "applystatus": {
  14907. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14908. "type": "integer"
  14909. },
  14910. "applytime": {
  14911. "description": "申请时间",
  14912. "type": "string"
  14913. },
  14914. "attachurl": {
  14915. "description": "附件",
  14916. "type": "string"
  14917. },
  14918. "auditid": {
  14919. "description": "审核人ID",
  14920. "type": "string"
  14921. },
  14922. "auditname": {
  14923. "description": "审核人名称",
  14924. "type": "string"
  14925. },
  14926. "audittime": {
  14927. "description": "审核时间",
  14928. "type": "string"
  14929. },
  14930. "buyusername": {
  14931. "description": "采购方名称",
  14932. "type": "string"
  14933. },
  14934. "contractno": {
  14935. "description": "合同编号",
  14936. "type": "string"
  14937. },
  14938. "contractstatus": {
  14939. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14940. "type": "integer"
  14941. },
  14942. "contracttype": {
  14943. "description": "现货合同类型 - 1:采购 -1:销售",
  14944. "type": "integer"
  14945. },
  14946. "deductamount": {
  14947. "description": "退款(非必填)",
  14948. "type": "number"
  14949. },
  14950. "deliverygoodscode": {
  14951. "description": "现货品种代码",
  14952. "type": "string"
  14953. },
  14954. "deliverygoodsid": {
  14955. "description": "现货商品ID",
  14956. "type": "integer"
  14957. },
  14958. "deliverygoodsname": {
  14959. "description": "现货品种名称",
  14960. "type": "string"
  14961. },
  14962. "enumdicname": {
  14963. "description": "单位名称",
  14964. "type": "string"
  14965. },
  14966. "goodscode": {
  14967. "description": "点价合约",
  14968. "type": "string"
  14969. },
  14970. "goodsname": {
  14971. "description": "商品名称",
  14972. "type": "string"
  14973. },
  14974. "kxtype": {
  14975. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  14976. "type": "integer"
  14977. },
  14978. "operateapplyid": {
  14979. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14980. "type": "string"
  14981. },
  14982. "operateapplytype": {
  14983. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14984. "type": "integer"
  14985. },
  14986. "payamount": {
  14987. "description": "收付款(非必填)",
  14988. "type": "number"
  14989. },
  14990. "pricemove": {
  14991. "description": "升贴水",
  14992. "type": "number"
  14993. },
  14994. "pricetype": {
  14995. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14996. "type": "integer"
  14997. },
  14998. "relatedid": {
  14999. "description": "现货合同ID",
  15000. "type": "string"
  15001. },
  15002. "sellusername": {
  15003. "description": "销售方名字",
  15004. "type": "string"
  15005. },
  15006. "userid": {
  15007. "description": "用户ID",
  15008. "type": "integer"
  15009. },
  15010. "wrstandardcode": {
  15011. "description": "品类代码",
  15012. "type": "string"
  15013. },
  15014. "wrstandardid": {
  15015. "description": "品类id",
  15016. "type": "integer"
  15017. },
  15018. "wrstandardname": {
  15019. "description": "品类名称",
  15020. "type": "string"
  15021. }
  15022. }
  15023. },
  15024. "ermcp.QryGGCovertCfgRsp": {
  15025. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  15026. },
  15027. "ermcp.QryMGChangeLogRsp": {
  15028. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  15029. },
  15030. "ermcp.QryMiddleGoodsDetailRsp": {
  15031. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  15032. },
  15033. "ermcp.QryMiddleGoodsRsp": {
  15034. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15035. },
  15036. "ermcp.QryOPLogRsp": {
  15037. "$ref": "#/definitions/models.ErmcpOPLogModel"
  15038. },
  15039. "ermcp.QryUserInfoRsp": {
  15040. "$ref": "#/definitions/models.ErmcpUserModel"
  15041. },
  15042. "ermcp.QryWarehouseRsp": {
  15043. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  15044. },
  15045. "ermcp.QueryErmcpTradePositionRsp": {
  15046. "type": "object",
  15047. "properties": {
  15048. "agreeunit": {
  15049. "description": "合约单位",
  15050. "type": "number"
  15051. },
  15052. "buyorsell": {
  15053. "description": "方向 - 0:买 1:卖",
  15054. "type": "integer"
  15055. },
  15056. "curpositionqty": {
  15057. "description": "持仓(总仓数量, 期末头寸)",
  15058. "type": "integer"
  15059. },
  15060. "curtdposition": {
  15061. "description": "今仓数量(期末今日头寸)",
  15062. "type": "integer"
  15063. },
  15064. "curtdpositionenabled": {
  15065. "description": "今仓可用",
  15066. "type": "integer"
  15067. },
  15068. "decimalplace": {
  15069. "description": "报价小数位",
  15070. "type": "integer"
  15071. },
  15072. "enableqty": {
  15073. "description": "可用(总仓可用)",
  15074. "type": "integer"
  15075. },
  15076. "exexchangename": {
  15077. "description": "外部交易所名称",
  15078. "type": "string"
  15079. },
  15080. "goodscode": {
  15081. "description": "商品代码(内部)",
  15082. "type": "string"
  15083. },
  15084. "goodsid": {
  15085. "description": "商品ID(自增ID SEQ_GOODS)",
  15086. "type": "integer"
  15087. },
  15088. "goodsname": {
  15089. "description": "商品名称",
  15090. "type": "string"
  15091. },
  15092. "last": {
  15093. "description": "现价",
  15094. "type": "number"
  15095. },
  15096. "marketid": {
  15097. "description": "所属市场ID",
  15098. "type": "integer"
  15099. },
  15100. "openaverageprice": {
  15101. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  15102. "type": "number"
  15103. },
  15104. "opencost": {
  15105. "description": "开仓成本",
  15106. "type": "number"
  15107. },
  15108. "openpl": {
  15109. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  15110. "type": "number"
  15111. },
  15112. "outgoodscode": {
  15113. "description": "商品代码(外部)",
  15114. "type": "string"
  15115. },
  15116. "positionaverageprice": {
  15117. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  15118. "type": "number"
  15119. },
  15120. "positioncost": {
  15121. "description": "持仓成本",
  15122. "type": "number"
  15123. },
  15124. "positionpl": {
  15125. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  15126. "type": "number"
  15127. },
  15128. "positionplrate": {
  15129. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  15130. "type": "number"
  15131. },
  15132. "usedmargin": {
  15133. "description": "占用保证金",
  15134. "type": "number"
  15135. }
  15136. }
  15137. },
  15138. "ermcp.RealtimeExposurePositionRsp": {
  15139. "$ref": "#/definitions/models.ErmcpExposurePostion"
  15140. },
  15141. "ermcp.RealtimeExposureRsp": {
  15142. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  15143. },
  15144. "erms2.QueryArbitrageStrategyRsp": {
  15145. "type": "object",
  15146. "required": [
  15147. "asapplyid"
  15148. ],
  15149. "properties": {
  15150. "applybasis": {
  15151. "description": "申请基差",
  15152. "type": "number"
  15153. },
  15154. "asapplyid": {
  15155. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  15156. "type": "string"
  15157. },
  15158. "asname": {
  15159. "description": "策略名称",
  15160. "type": "string"
  15161. },
  15162. "asno": {
  15163. "description": "策略编号",
  15164. "type": "string"
  15165. },
  15166. "basischangepl": {
  15167. "description": "基差变动损益[结算更新]",
  15168. "type": "number"
  15169. },
  15170. "biztype": {
  15171. "description": "业务类型 - 1:正向套利 -1:反向套利",
  15172. "type": "integer"
  15173. },
  15174. "closetradedate": {
  15175. "description": "完结交易日(yyyyMMdd)",
  15176. "type": "string"
  15177. },
  15178. "curbasis": {
  15179. "description": "当前基差[结算更新]",
  15180. "type": "number"
  15181. },
  15182. "deliverygoodsid": {
  15183. "description": "现货品种ID",
  15184. "type": "integer"
  15185. },
  15186. "futureavgprice": {
  15187. "description": "期货建仓均价",
  15188. "type": "number"
  15189. },
  15190. "futurecloseamount": {
  15191. "description": "期货平仓金额",
  15192. "type": "number"
  15193. },
  15194. "futurecloseqty": {
  15195. "description": "期货平仓数量",
  15196. "type": "number"
  15197. },
  15198. "futureopenamount": {
  15199. "description": "期货开仓金额",
  15200. "type": "number"
  15201. },
  15202. "futureopenqty": {
  15203. "description": "期货开仓数量",
  15204. "type": "number"
  15205. },
  15206. "futurepl": {
  15207. "description": "期货总盈亏[结算更新]",
  15208. "type": "number"
  15209. },
  15210. "futureqty": {
  15211. "description": "期货持仓数量",
  15212. "type": "number"
  15213. },
  15214. "futurequote": {
  15215. "description": "期货额度",
  15216. "type": "number"
  15217. },
  15218. "goodsgroupid": {
  15219. "description": "期货品种ID",
  15220. "type": "integer"
  15221. },
  15222. "marketid": {
  15223. "description": "市场ID",
  15224. "type": "integer"
  15225. },
  15226. "netexposure": {
  15227. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  15228. "type": "number"
  15229. },
  15230. "netexposurepl": {
  15231. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  15232. "type": "number"
  15233. },
  15234. "netexposurerate": {
  15235. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  15236. "type": "number"
  15237. },
  15238. "openbasis": {
  15239. "description": "建仓基差",
  15240. "type": "number"
  15241. },
  15242. "pricedspotqty": {
  15243. "description": "已定价现货数量",
  15244. "type": "number"
  15245. },
  15246. "pricedspotqtynotax": {
  15247. "description": "已定价现货不含税数量",
  15248. "type": "number"
  15249. },
  15250. "remark": {
  15251. "description": "备注",
  15252. "type": "string"
  15253. },
  15254. "spotavgprice": {
  15255. "description": "现货均价",
  15256. "type": "number"
  15257. },
  15258. "spotbuyamount": {
  15259. "description": "现货采购金额",
  15260. "type": "number"
  15261. },
  15262. "spotbuyqty": {
  15263. "description": "现货采购数量",
  15264. "type": "number"
  15265. },
  15266. "spotpl": {
  15267. "description": "现货总盈亏[结算更新]",
  15268. "type": "number"
  15269. },
  15270. "spotquota": {
  15271. "description": "现货额度",
  15272. "type": "number"
  15273. },
  15274. "spotsellamount": {
  15275. "description": "现货销售金额",
  15276. "type": "number"
  15277. },
  15278. "spotsellqty": {
  15279. "description": "现货销售数量",
  15280. "type": "number"
  15281. },
  15282. "spotusedquota": {
  15283. "description": "现货占用资金",
  15284. "type": "number"
  15285. },
  15286. "strategystatus": {
  15287. "description": "策略状态 - 0:未结束 1:已结束",
  15288. "type": "integer"
  15289. },
  15290. "totalpl": {
  15291. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  15292. "type": "number"
  15293. },
  15294. "tradedate": {
  15295. "description": "交易日(yyyyMMdd)",
  15296. "type": "string"
  15297. },
  15298. "updatetime": {
  15299. "description": "更新时间",
  15300. "type": "string"
  15301. },
  15302. "usedquota": {
  15303. "description": "已占用资金",
  15304. "type": "number"
  15305. },
  15306. "userid": {
  15307. "description": "所属机构",
  15308. "type": "integer"
  15309. }
  15310. }
  15311. },
  15312. "erms2.QueryInnerTradeDetailRsp": {
  15313. "type": "object",
  15314. "required": [
  15315. "asapplyid",
  15316. "buyorsell",
  15317. "goodscode",
  15318. "goodsgroupid",
  15319. "goodsgroupname",
  15320. "goodsname",
  15321. "tradeid"
  15322. ],
  15323. "properties": {
  15324. "accountid": {
  15325. "description": "账号ID",
  15326. "type": "integer"
  15327. },
  15328. "agreeunit": {
  15329. "description": "合约单位",
  15330. "type": "number"
  15331. },
  15332. "asapplyid": {
  15333. "description": "策略申请ID",
  15334. "type": "integer"
  15335. },
  15336. "asname": {
  15337. "description": "策略名称",
  15338. "type": "string"
  15339. },
  15340. "asno": {
  15341. "description": "策略编号",
  15342. "type": "string"
  15343. },
  15344. "buyorsell": {
  15345. "description": "方向 - 0:买 1:卖",
  15346. "type": "integer"
  15347. },
  15348. "channelbuildtype": {
  15349. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  15350. "type": "integer"
  15351. },
  15352. "closetype": {
  15353. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15354. "type": "integer"
  15355. },
  15356. "decimalplace": {
  15357. "description": "报价小数位",
  15358. "type": "integer"
  15359. },
  15360. "detailtype": {
  15361. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  15362. "type": "integer"
  15363. },
  15364. "exexchangecode": {
  15365. "description": "外部交易所代码",
  15366. "type": "string"
  15367. },
  15368. "exexchangename": {
  15369. "description": "外部交易所名称",
  15370. "type": "string"
  15371. },
  15372. "goodscode": {
  15373. "description": "商品代码(合约)",
  15374. "type": "string"
  15375. },
  15376. "goodsgroupid": {
  15377. "description": "商品组ID(品种ID)",
  15378. "type": "integer"
  15379. },
  15380. "goodsgroupname": {
  15381. "description": "商品组名称(品种)",
  15382. "type": "string"
  15383. },
  15384. "goodsid": {
  15385. "description": "商品ID",
  15386. "type": "integer"
  15387. },
  15388. "goodsname": {
  15389. "description": "商品名称(合约)",
  15390. "type": "string"
  15391. },
  15392. "goodunit": {
  15393. "description": "报价单位",
  15394. "type": "string"
  15395. },
  15396. "marketid": {
  15397. "description": "市场ID",
  15398. "type": "integer"
  15399. },
  15400. "orderid": {
  15401. "description": "委托单号",
  15402. "type": "string"
  15403. },
  15404. "outgoodscode": {
  15405. "description": "商品代码(外部)",
  15406. "type": "string"
  15407. },
  15408. "relatedouttradeid": {
  15409. "description": "关联外部成交单ID",
  15410. "type": "string"
  15411. },
  15412. "remark": {
  15413. "description": "备注",
  15414. "type": "string"
  15415. },
  15416. "spotcontractid": {
  15417. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  15418. "type": "integer"
  15419. },
  15420. "spotcontractno": {
  15421. "description": "现货合同编号",
  15422. "type": "string"
  15423. },
  15424. "tradeid": {
  15425. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15426. "type": "string"
  15427. },
  15428. "tradeprice": {
  15429. "description": "成交价格",
  15430. "type": "number"
  15431. },
  15432. "tradeqty": {
  15433. "description": "成交数量",
  15434. "type": "integer"
  15435. },
  15436. "tradetime": {
  15437. "description": "成交时间",
  15438. "type": "string"
  15439. },
  15440. "updatetime": {
  15441. "description": "更新时间",
  15442. "type": "string"
  15443. }
  15444. }
  15445. },
  15446. "erms2.QuerySpotContractRsp": {
  15447. "type": "object",
  15448. "required": [
  15449. "spotcontractid"
  15450. ],
  15451. "properties": {
  15452. "accountid": {
  15453. "description": "资金账户ID",
  15454. "type": "integer"
  15455. },
  15456. "areauserid": {
  15457. "description": "所属机构",
  15458. "type": "integer"
  15459. },
  15460. "closedate": {
  15461. "description": "终止日期",
  15462. "type": "string"
  15463. },
  15464. "closeremark": {
  15465. "description": "结束备注",
  15466. "type": "string"
  15467. },
  15468. "closetradedate": {
  15469. "description": "完结交易日(yyyyMMdd)",
  15470. "type": "string"
  15471. },
  15472. "closetype": {
  15473. "description": "终止类型 - 1:违约 2:提前终止",
  15474. "type": "integer"
  15475. },
  15476. "contractamount": {
  15477. "description": "合同金额",
  15478. "type": "number"
  15479. },
  15480. "contractattachment": {
  15481. "description": "合同附件",
  15482. "type": "string"
  15483. },
  15484. "contractno": {
  15485. "description": "现货合同编号",
  15486. "type": "string"
  15487. },
  15488. "contractqty": {
  15489. "description": "合同数量(数值) (用于计算)",
  15490. "type": "number"
  15491. },
  15492. "contractqtychar": {
  15493. "description": "合同数量\\已订价数量 (用于显示)",
  15494. "type": "string"
  15495. },
  15496. "contractstatus": {
  15497. "description": "合同状态 - 0:未结束 1:已结束",
  15498. "type": "integer"
  15499. },
  15500. "contracttype": {
  15501. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  15502. "type": "integer"
  15503. },
  15504. "customeraccountid": {
  15505. "description": "客户资金账户ID",
  15506. "type": "integer"
  15507. },
  15508. "customeruserid": {
  15509. "description": "客户ID",
  15510. "type": "integer"
  15511. },
  15512. "deliverygoodsdesc": {
  15513. "description": "品种说明",
  15514. "type": "string"
  15515. },
  15516. "deliverygoodsid": {
  15517. "description": "现货品种ID",
  15518. "type": "integer"
  15519. },
  15520. "handlestatus": {
  15521. "description": "处理状态",
  15522. "type": "integer"
  15523. },
  15524. "invoiceatt": {
  15525. "description": "发票附件",
  15526. "type": "string"
  15527. },
  15528. "invoicedatetime": {
  15529. "description": "开收票更新时间",
  15530. "type": "string"
  15531. },
  15532. "invoiceopentime": {
  15533. "description": "开票时间",
  15534. "type": "string"
  15535. },
  15536. "invoiceremark": {
  15537. "description": "发票备注",
  15538. "type": "string"
  15539. },
  15540. "invoicestatus": {
  15541. "description": "开收票状态 - 0:未开票 1:已开票",
  15542. "type": "integer"
  15543. },
  15544. "lastdate": {
  15545. "description": "交货时间",
  15546. "type": "string"
  15547. },
  15548. "marketid": {
  15549. "description": "市场ID",
  15550. "type": "integer"
  15551. },
  15552. "paydatetime": {
  15553. "description": "收付款更新时间",
  15554. "type": "string"
  15555. },
  15556. "payremark": {
  15557. "description": "收付款备注",
  15558. "type": "string"
  15559. },
  15560. "paystatus": {
  15561. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  15562. "type": "integer"
  15563. },
  15564. "positionqty": {
  15565. "description": "头寸数量 - 合同数量去小数部分",
  15566. "type": "integer"
  15567. },
  15568. "producttype": {
  15569. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15570. "type": "integer"
  15571. },
  15572. "relatedqty": {
  15573. "description": "已关联数量",
  15574. "type": "number"
  15575. },
  15576. "relatedstatus": {
  15577. "description": "关联完结状态 - 0:未结束 1:已结束",
  15578. "type": "integer"
  15579. },
  15580. "remark": {
  15581. "description": "备注",
  15582. "type": "string"
  15583. },
  15584. "signdate": {
  15585. "description": "签订日期",
  15586. "type": "string"
  15587. },
  15588. "spotcontractid": {
  15589. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  15590. "type": "string"
  15591. },
  15592. "spotdatetime": {
  15593. "description": "收发货更新时间",
  15594. "type": "string"
  15595. },
  15596. "spotprice": {
  15597. "description": "价格",
  15598. "type": "number"
  15599. },
  15600. "spotremark": {
  15601. "description": "收发货备注",
  15602. "type": "string"
  15603. },
  15604. "spotstatus": {
  15605. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  15606. "type": "integer"
  15607. },
  15608. "tradedate": {
  15609. "description": "交易日(yyyyMMdd)",
  15610. "type": "string"
  15611. },
  15612. "userid": {
  15613. "description": "业务员用户ID",
  15614. "type": "integer"
  15615. },
  15616. "warehouseid": {
  15617. "description": "仓库ID",
  15618. "type": "integer"
  15619. },
  15620. "wrfactortypeid": {
  15621. "description": "仓单要素类型ID",
  15622. "type": "integer"
  15623. },
  15624. "wrstandardid": {
  15625. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15626. "type": "integer"
  15627. }
  15628. }
  15629. },
  15630. "erms3.AddErms2ASApplyReq": {
  15631. "type": "object",
  15632. "required": [
  15633. "asapplyid"
  15634. ],
  15635. "properties": {
  15636. "applybasis": {
  15637. "description": "申请基差",
  15638. "type": "number"
  15639. },
  15640. "applystatus": {
  15641. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15642. "type": "integer"
  15643. },
  15644. "asapplyid": {
  15645. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  15646. "type": "integer"
  15647. },
  15648. "asname": {
  15649. "description": "策略名称",
  15650. "type": "string"
  15651. },
  15652. "asno": {
  15653. "description": "策略编号",
  15654. "type": "string"
  15655. },
  15656. "auditid": {
  15657. "description": "审核人",
  15658. "type": "integer"
  15659. },
  15660. "auditremark": {
  15661. "description": "审核备注",
  15662. "type": "string"
  15663. },
  15664. "audittime": {
  15665. "description": "审核时间",
  15666. "type": "string"
  15667. },
  15668. "biztype": {
  15669. "description": "业务类型 - 1:正向套利 2:反向套利",
  15670. "type": "integer"
  15671. },
  15672. "createtime": {
  15673. "description": "创建时间",
  15674. "type": "string"
  15675. },
  15676. "creatorid": {
  15677. "description": "创建人",
  15678. "type": "integer"
  15679. },
  15680. "deliverygoodsid": {
  15681. "description": "现货品种ID",
  15682. "type": "integer"
  15683. },
  15684. "futurequote": {
  15685. "description": "期货额度",
  15686. "type": "number"
  15687. },
  15688. "goodsgroupid": {
  15689. "description": "期货品种ID",
  15690. "type": "integer"
  15691. },
  15692. "marketid": {
  15693. "description": "市场ID",
  15694. "type": "integer"
  15695. },
  15696. "remark": {
  15697. "description": "备注",
  15698. "type": "string"
  15699. },
  15700. "spotquota": {
  15701. "description": "现货额度",
  15702. "type": "number"
  15703. },
  15704. "tradedate": {
  15705. "description": "交易日(yyyyMMdd)",
  15706. "type": "string"
  15707. },
  15708. "userid": {
  15709. "description": "所属机构",
  15710. "type": "integer"
  15711. }
  15712. }
  15713. },
  15714. "erms3.AddErms2SpotTradeApplyReq": {
  15715. "type": "object",
  15716. "required": [
  15717. "spottradeid"
  15718. ],
  15719. "properties": {
  15720. "applyjsondetail": {
  15721. "description": "申请明细(JSON)",
  15722. "type": "string"
  15723. },
  15724. "applystatus": {
  15725. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15726. "type": "integer"
  15727. },
  15728. "areauserid": {
  15729. "description": "所属机构",
  15730. "type": "integer"
  15731. },
  15732. "auditid": {
  15733. "description": "审核人",
  15734. "type": "integer"
  15735. },
  15736. "auditremark": {
  15737. "description": "审核备注",
  15738. "type": "string"
  15739. },
  15740. "audittime": {
  15741. "description": "审核时间",
  15742. "type": "string"
  15743. },
  15744. "createtime": {
  15745. "description": "创建时间",
  15746. "type": "string"
  15747. },
  15748. "creatorid": {
  15749. "description": "创建人",
  15750. "type": "integer"
  15751. },
  15752. "deliverygoodsid": {
  15753. "description": "现货品种ID",
  15754. "type": "integer"
  15755. },
  15756. "futureaccountid": {
  15757. "description": "期货资金账户",
  15758. "type": "integer"
  15759. },
  15760. "goodsgroupid": {
  15761. "description": "期货品种",
  15762. "type": "integer"
  15763. },
  15764. "marketid": {
  15765. "description": "市场ID",
  15766. "type": "integer"
  15767. },
  15768. "remark": {
  15769. "description": "备注",
  15770. "type": "string"
  15771. },
  15772. "spotaccountid": {
  15773. "description": "现货资金账户",
  15774. "type": "integer"
  15775. },
  15776. "spottradeid": {
  15777. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  15778. "type": "integer"
  15779. },
  15780. "spottradename": {
  15781. "description": "业务名称",
  15782. "type": "string"
  15783. },
  15784. "spottradeno": {
  15785. "description": "业务编号",
  15786. "type": "string"
  15787. },
  15788. "tradedate": {
  15789. "description": "交易日(yyyyMMdd)",
  15790. "type": "string"
  15791. },
  15792. "wrstandardid": {
  15793. "description": "仓单标准ID",
  15794. "type": "integer"
  15795. }
  15796. }
  15797. },
  15798. "erms3.AddSpotContractApplyReq": {
  15799. "type": "object",
  15800. "required": [
  15801. "accountid",
  15802. "areauserid",
  15803. "contractno",
  15804. "contracttype",
  15805. "customeraccountid",
  15806. "customeruserid",
  15807. "details",
  15808. "orimargin",
  15809. "signdate"
  15810. ],
  15811. "properties": {
  15812. "accountid": {
  15813. "description": "资金账户ID",
  15814. "type": "integer"
  15815. },
  15816. "areauserid": {
  15817. "description": "所属机构",
  15818. "type": "integer"
  15819. },
  15820. "contractattachment": {
  15821. "description": "合同附件",
  15822. "type": "string"
  15823. },
  15824. "contractno": {
  15825. "description": "现货合同编号",
  15826. "type": "string"
  15827. },
  15828. "contracttype": {
  15829. "description": "现货合同类型 - 1:采购 -1:销售",
  15830. "type": "integer"
  15831. },
  15832. "creatorid": {
  15833. "description": "申请人",
  15834. "type": "integer"
  15835. },
  15836. "customeraccountid": {
  15837. "description": "客户资金账户ID",
  15838. "type": "integer"
  15839. },
  15840. "customeruserid": {
  15841. "description": "客户ID",
  15842. "type": "integer"
  15843. },
  15844. "details": {
  15845. "description": "明细",
  15846. "type": "array",
  15847. "items": {
  15848. "$ref": "#/definitions/erms3.SoptContractDetail"
  15849. }
  15850. },
  15851. "orimargin": {
  15852. "description": "初始保证金",
  15853. "type": "number"
  15854. },
  15855. "remark": {
  15856. "description": "备注",
  15857. "type": "string"
  15858. },
  15859. "signdate": {
  15860. "description": "签订日期",
  15861. "type": "string"
  15862. }
  15863. }
  15864. },
  15865. "erms3.AddSpotContractApplyRsp": {
  15866. "type": "object",
  15867. "required": [
  15868. "contractno"
  15869. ],
  15870. "properties": {
  15871. "contractno": {
  15872. "description": "现货合同编号",
  15873. "type": "string"
  15874. },
  15875. "spotcontractid": {
  15876. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  15877. "type": "integer"
  15878. }
  15879. }
  15880. },
  15881. "erms3.AddUserInfoApplyReq": {
  15882. "type": "object",
  15883. "required": [
  15884. "userid"
  15885. ],
  15886. "properties": {
  15887. "accountid": {
  15888. "description": "交易系统帐号Id (加密存储)",
  15889. "type": "integer"
  15890. },
  15891. "areacode": {
  15892. "description": "机构代码",
  15893. "type": "string"
  15894. },
  15895. "areaid": {
  15896. "description": "机构Id",
  15897. "type": "integer"
  15898. },
  15899. "attachment1": {
  15900. "description": "附件1",
  15901. "type": "string"
  15902. },
  15903. "attachment2": {
  15904. "description": "附件2",
  15905. "type": "string"
  15906. },
  15907. "attachment3": {
  15908. "description": "附件3",
  15909. "type": "string"
  15910. },
  15911. "attachment4": {
  15912. "description": "附件4",
  15913. "type": "string"
  15914. },
  15915. "attachment5": {
  15916. "description": "附件5",
  15917. "type": "string"
  15918. },
  15919. "auditedby": {
  15920. "description": "审核人",
  15921. "type": "string"
  15922. },
  15923. "auditime": {
  15924. "description": "审核时间",
  15925. "type": "string"
  15926. },
  15927. "auditsrc": {
  15928. "description": "审核来源 - 1:管理端 2:终端",
  15929. "type": "integer"
  15930. },
  15931. "bankaccount": {
  15932. "description": "银行帐号 (加密存储)",
  15933. "type": "string"
  15934. },
  15935. "bankaccountname": {
  15936. "description": "收款人名称",
  15937. "type": "string"
  15938. },
  15939. "bankcardbackphotourl": {
  15940. "description": "银行卡背面照地址",
  15941. "type": "string"
  15942. },
  15943. "bankcardfrontphotourl": {
  15944. "description": "银行卡正面照地址",
  15945. "type": "string"
  15946. },
  15947. "bankid": {
  15948. "description": "银行编码",
  15949. "type": "string"
  15950. },
  15951. "bankname": {
  15952. "description": "银行名称",
  15953. "type": "string"
  15954. },
  15955. "bankpictureurl": {
  15956. "description": "银行卡正面地址",
  15957. "type": "string"
  15958. },
  15959. "biznature": {
  15960. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15961. "type": "integer"
  15962. },
  15963. "bizscope": {
  15964. "description": "企业经营范围(企业)",
  15965. "type": "string"
  15966. },
  15967. "biztype": {
  15968. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  15969. "type": "integer"
  15970. },
  15971. "brokerid": {
  15972. "description": "经纪人ID(加密存储)",
  15973. "type": "string"
  15974. },
  15975. "cardaddress": {
  15976. "description": "证件地址 (加密存储)",
  15977. "type": "string"
  15978. },
  15979. "cardbackphotourl": {
  15980. "description": "背面证件照地址",
  15981. "type": "string"
  15982. },
  15983. "cardfrontphotourl": {
  15984. "description": "正面证件照地址",
  15985. "type": "string"
  15986. },
  15987. "cardnum": {
  15988. "description": "证件号码 (加密存储)",
  15989. "type": "string"
  15990. },
  15991. "cardtype": {
  15992. "description": "证件类型",
  15993. "type": "integer"
  15994. },
  15995. "cityid": {
  15996. "description": "市",
  15997. "type": "integer"
  15998. },
  15999. "company": {
  16000. "description": "公司(个人)",
  16001. "type": "string"
  16002. },
  16003. "contactcardbackphotourl": {
  16004. "description": "联系人证件背面图片地址",
  16005. "type": "string"
  16006. },
  16007. "contactcardfrontphotourl": {
  16008. "description": "联系人证件正面图片地址",
  16009. "type": "string"
  16010. },
  16011. "contactname": {
  16012. "description": "联系人",
  16013. "type": "string"
  16014. },
  16015. "countryid": {
  16016. "description": "国家",
  16017. "type": "integer"
  16018. },
  16019. "createtime": {
  16020. "description": "开户申请时间",
  16021. "type": "string"
  16022. },
  16023. "cusbankid": {
  16024. "description": "签约类型",
  16025. "type": "string"
  16026. },
  16027. "cusbankname": {
  16028. "description": "签约类型名称",
  16029. "type": "string"
  16030. },
  16031. "customername": {
  16032. "description": "客户名称(企业名称)",
  16033. "type": "string"
  16034. },
  16035. "districtid": {
  16036. "description": "地区",
  16037. "type": "integer"
  16038. },
  16039. "email": {
  16040. "description": "Email地址(加密存储)",
  16041. "type": "string"
  16042. },
  16043. "halfbodyphotourl": {
  16044. "description": "半身照地址",
  16045. "type": "string"
  16046. },
  16047. "headurl": {
  16048. "description": "头像地址",
  16049. "type": "string"
  16050. },
  16051. "ipaddress": {
  16052. "description": "IP地址",
  16053. "type": "string"
  16054. },
  16055. "isvalidate": {
  16056. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  16057. "type": "string"
  16058. },
  16059. "legalcardbackphotourl": {
  16060. "description": "法人身份证背面照地址",
  16061. "type": "string"
  16062. },
  16063. "legalcardfrontphotourl": {
  16064. "description": "法人身份证正面照地址",
  16065. "type": "string"
  16066. },
  16067. "legalpersonname": {
  16068. "description": "法人姓名(企业)",
  16069. "type": "string"
  16070. },
  16071. "logincode": {
  16072. "description": "登录帐号 (加密存储)",
  16073. "type": "string"
  16074. },
  16075. "memberareaid": {
  16076. "description": "所属会员ID",
  16077. "type": "integer"
  16078. },
  16079. "mobile2": {
  16080. "description": "手机号码[明文-尚志]",
  16081. "type": "string"
  16082. },
  16083. "mobilephone": {
  16084. "description": "手机号码 (加密存储)",
  16085. "type": "string"
  16086. },
  16087. "modifiedby": {
  16088. "description": "修改人帐号",
  16089. "type": "integer"
  16090. },
  16091. "modifiedtime": {
  16092. "description": "修改时间",
  16093. "type": "string"
  16094. },
  16095. "nickname": {
  16096. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  16097. "type": "string"
  16098. },
  16099. "openmode": {
  16100. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  16101. "type": "integer"
  16102. },
  16103. "otherurl": {
  16104. "description": "其它图片地址[使用分号分隔]",
  16105. "type": "string"
  16106. },
  16107. "postalcode": {
  16108. "description": "邮政编码",
  16109. "type": "string"
  16110. },
  16111. "provinceid": {
  16112. "description": "省",
  16113. "type": "integer"
  16114. },
  16115. "proxystatementurl": {
  16116. "description": "授权委托书",
  16117. "type": "string"
  16118. },
  16119. "qq": {
  16120. "description": "QQ(加密存储",
  16121. "type": "string"
  16122. },
  16123. "referral": {
  16124. "description": "推荐人编码",
  16125. "type": "string"
  16126. },
  16127. "remark": {
  16128. "description": "备注",
  16129. "type": "string"
  16130. },
  16131. "removebeforestatus": {
  16132. "description": "REMOVEBEFORESTATUS",
  16133. "type": "integer"
  16134. },
  16135. "sex": {
  16136. "description": "性别 - 0:女 1:男",
  16137. "type": "integer"
  16138. },
  16139. "signedstatus": {
  16140. "description": "账户一号签签约状态",
  16141. "type": "integer"
  16142. },
  16143. "signpdfurl": {
  16144. "description": "签约pdf文件",
  16145. "type": "string"
  16146. },
  16147. "subbranch": {
  16148. "description": "开户支行",
  16149. "type": "string"
  16150. },
  16151. "taxpayernum": {
  16152. "description": "纳税人识别号",
  16153. "type": "string"
  16154. },
  16155. "telphone": {
  16156. "description": "联系电话(加密存储)",
  16157. "type": "string"
  16158. },
  16159. "userid": {
  16160. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  16161. "type": "integer"
  16162. },
  16163. "userinfotype": {
  16164. "description": "用户信息类型 - 1:个人 2:企业",
  16165. "type": "integer"
  16166. },
  16167. "username": {
  16168. "description": "用户姓名",
  16169. "type": "string"
  16170. },
  16171. "userstate": {
  16172. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16173. "type": "integer"
  16174. },
  16175. "usertype": {
  16176. "description": "用户类型 - 1:投资者 2:机构",
  16177. "type": "integer"
  16178. },
  16179. "videourl": {
  16180. "description": "视频地址",
  16181. "type": "string"
  16182. },
  16183. "wechat": {
  16184. "description": "微信号 (加密存储)",
  16185. "type": "string"
  16186. }
  16187. }
  16188. },
  16189. "erms3.CustomerInfo": {
  16190. "type": "object",
  16191. "required": [
  16192. "userid"
  16193. ],
  16194. "properties": {
  16195. "accountids": {
  16196. "description": "资金账户ID列表",
  16197. "type": "array",
  16198. "items": {
  16199. "type": "integer"
  16200. }
  16201. },
  16202. "customername": {
  16203. "description": "名称(企业名称)",
  16204. "type": "string"
  16205. },
  16206. "mobile": {
  16207. "description": "手机号码",
  16208. "type": "string"
  16209. },
  16210. "userid": {
  16211. "description": "用户ID",
  16212. "type": "integer"
  16213. }
  16214. }
  16215. },
  16216. "erms3.ModifyUserInfoApplyReq": {
  16217. "type": "object",
  16218. "required": [
  16219. "userid"
  16220. ],
  16221. "properties": {
  16222. "accountid": {
  16223. "description": "交易系统帐号Id (加密存储)",
  16224. "type": "integer"
  16225. },
  16226. "areacode": {
  16227. "description": "机构代码",
  16228. "type": "string"
  16229. },
  16230. "areaid": {
  16231. "description": "机构Id",
  16232. "type": "integer"
  16233. },
  16234. "attachment1": {
  16235. "description": "附件1",
  16236. "type": "string"
  16237. },
  16238. "attachment2": {
  16239. "description": "附件2",
  16240. "type": "string"
  16241. },
  16242. "attachment3": {
  16243. "description": "附件3",
  16244. "type": "string"
  16245. },
  16246. "attachment4": {
  16247. "description": "附件4",
  16248. "type": "string"
  16249. },
  16250. "attachment5": {
  16251. "description": "附件5",
  16252. "type": "string"
  16253. },
  16254. "auditedby": {
  16255. "description": "审核人",
  16256. "type": "string"
  16257. },
  16258. "auditime": {
  16259. "description": "审核时间",
  16260. "type": "string"
  16261. },
  16262. "auditsrc": {
  16263. "description": "审核来源 - 1:管理端 2:终端",
  16264. "type": "integer"
  16265. },
  16266. "bankaccount": {
  16267. "description": "银行帐号 (加密存储)",
  16268. "type": "string"
  16269. },
  16270. "bankaccountname": {
  16271. "description": "收款人名称",
  16272. "type": "string"
  16273. },
  16274. "bankcardbackphotourl": {
  16275. "description": "银行卡背面照地址",
  16276. "type": "string"
  16277. },
  16278. "bankcardfrontphotourl": {
  16279. "description": "银行卡正面照地址",
  16280. "type": "string"
  16281. },
  16282. "bankid": {
  16283. "description": "银行编码",
  16284. "type": "string"
  16285. },
  16286. "bankname": {
  16287. "description": "银行名称",
  16288. "type": "string"
  16289. },
  16290. "bankpictureurl": {
  16291. "description": "银行卡正面地址",
  16292. "type": "string"
  16293. },
  16294. "biznature": {
  16295. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16296. "type": "integer"
  16297. },
  16298. "bizscope": {
  16299. "description": "企业经营范围(企业)",
  16300. "type": "string"
  16301. },
  16302. "biztype": {
  16303. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  16304. "type": "integer"
  16305. },
  16306. "brokerid": {
  16307. "description": "经纪人ID(加密存储)",
  16308. "type": "string"
  16309. },
  16310. "cardaddress": {
  16311. "description": "证件地址 (加密存储)",
  16312. "type": "string"
  16313. },
  16314. "cardbackphotourl": {
  16315. "description": "背面证件照地址",
  16316. "type": "string"
  16317. },
  16318. "cardfrontphotourl": {
  16319. "description": "正面证件照地址",
  16320. "type": "string"
  16321. },
  16322. "cardnum": {
  16323. "description": "证件号码 (加密存储)",
  16324. "type": "string"
  16325. },
  16326. "cardtype": {
  16327. "description": "证件类型",
  16328. "type": "integer"
  16329. },
  16330. "cityid": {
  16331. "description": "市",
  16332. "type": "integer"
  16333. },
  16334. "company": {
  16335. "description": "公司(个人)",
  16336. "type": "string"
  16337. },
  16338. "contactcardbackphotourl": {
  16339. "description": "联系人证件背面图片地址",
  16340. "type": "string"
  16341. },
  16342. "contactcardfrontphotourl": {
  16343. "description": "联系人证件正面图片地址",
  16344. "type": "string"
  16345. },
  16346. "contactname": {
  16347. "description": "联系人",
  16348. "type": "string"
  16349. },
  16350. "countryid": {
  16351. "description": "国家",
  16352. "type": "integer"
  16353. },
  16354. "createtime": {
  16355. "description": "开户申请时间",
  16356. "type": "string"
  16357. },
  16358. "cusbankid": {
  16359. "description": "签约类型",
  16360. "type": "string"
  16361. },
  16362. "cusbankname": {
  16363. "description": "签约类型名称",
  16364. "type": "string"
  16365. },
  16366. "customername": {
  16367. "description": "客户名称(企业名称)",
  16368. "type": "string"
  16369. },
  16370. "districtid": {
  16371. "description": "地区",
  16372. "type": "integer"
  16373. },
  16374. "email": {
  16375. "description": "Email地址(加密存储)",
  16376. "type": "string"
  16377. },
  16378. "halfbodyphotourl": {
  16379. "description": "半身照地址",
  16380. "type": "string"
  16381. },
  16382. "headurl": {
  16383. "description": "头像地址",
  16384. "type": "string"
  16385. },
  16386. "ipaddress": {
  16387. "description": "IP地址",
  16388. "type": "string"
  16389. },
  16390. "isvalidate": {
  16391. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  16392. "type": "string"
  16393. },
  16394. "legalcardbackphotourl": {
  16395. "description": "法人身份证背面照地址",
  16396. "type": "string"
  16397. },
  16398. "legalcardfrontphotourl": {
  16399. "description": "法人身份证正面照地址",
  16400. "type": "string"
  16401. },
  16402. "legalpersonname": {
  16403. "description": "法人姓名(企业)",
  16404. "type": "string"
  16405. },
  16406. "logincode": {
  16407. "description": "登录帐号 (加密存储)",
  16408. "type": "string"
  16409. },
  16410. "memberareaid": {
  16411. "description": "所属会员ID",
  16412. "type": "integer"
  16413. },
  16414. "mobile2": {
  16415. "description": "手机号码[明文-尚志]",
  16416. "type": "string"
  16417. },
  16418. "mobilephone": {
  16419. "description": "手机号码 (加密存储)",
  16420. "type": "string"
  16421. },
  16422. "modifiedby": {
  16423. "description": "修改人帐号",
  16424. "type": "integer"
  16425. },
  16426. "modifiedtime": {
  16427. "description": "修改时间",
  16428. "type": "string"
  16429. },
  16430. "nickname": {
  16431. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  16432. "type": "string"
  16433. },
  16434. "openmode": {
  16435. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  16436. "type": "integer"
  16437. },
  16438. "otherurl": {
  16439. "description": "其它图片地址[使用分号分隔]",
  16440. "type": "string"
  16441. },
  16442. "postalcode": {
  16443. "description": "邮政编码",
  16444. "type": "string"
  16445. },
  16446. "provinceid": {
  16447. "description": "省",
  16448. "type": "integer"
  16449. },
  16450. "proxystatementurl": {
  16451. "description": "授权委托书",
  16452. "type": "string"
  16453. },
  16454. "qq": {
  16455. "description": "QQ(加密存储",
  16456. "type": "string"
  16457. },
  16458. "referral": {
  16459. "description": "推荐人编码",
  16460. "type": "string"
  16461. },
  16462. "remark": {
  16463. "description": "备注",
  16464. "type": "string"
  16465. },
  16466. "removebeforestatus": {
  16467. "description": "REMOVEBEFORESTATUS",
  16468. "type": "integer"
  16469. },
  16470. "sex": {
  16471. "description": "性别 - 0:女 1:男",
  16472. "type": "integer"
  16473. },
  16474. "signedstatus": {
  16475. "description": "账户一号签签约状态",
  16476. "type": "integer"
  16477. },
  16478. "signpdfurl": {
  16479. "description": "签约pdf文件",
  16480. "type": "string"
  16481. },
  16482. "subbranch": {
  16483. "description": "开户支行",
  16484. "type": "string"
  16485. },
  16486. "taxpayernum": {
  16487. "description": "纳税人识别号",
  16488. "type": "string"
  16489. },
  16490. "telphone": {
  16491. "description": "联系电话(加密存储)",
  16492. "type": "string"
  16493. },
  16494. "userid": {
  16495. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  16496. "type": "integer"
  16497. },
  16498. "userinfotype": {
  16499. "description": "用户信息类型 - 1:个人 2:企业",
  16500. "type": "integer"
  16501. },
  16502. "username": {
  16503. "description": "用户姓名",
  16504. "type": "string"
  16505. },
  16506. "userstate": {
  16507. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16508. "type": "integer"
  16509. },
  16510. "usertype": {
  16511. "description": "用户类型 - 1:投资者 2:机构",
  16512. "type": "integer"
  16513. },
  16514. "videourl": {
  16515. "description": "视频地址",
  16516. "type": "string"
  16517. },
  16518. "wechat": {
  16519. "description": "微信号 (加密存储)",
  16520. "type": "string"
  16521. }
  16522. }
  16523. },
  16524. "erms3.QryAuditContractRsp": {
  16525. "type": "object",
  16526. "required": [
  16527. "matchcustomername",
  16528. "spotcontractid"
  16529. ],
  16530. "properties": {
  16531. "accountid": {
  16532. "description": "交易员ID",
  16533. "type": "string"
  16534. },
  16535. "applystatus": {
  16536. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  16537. "type": "integer"
  16538. },
  16539. "curdeliveryqty": {
  16540. "description": "未交收量",
  16541. "type": "integer"
  16542. },
  16543. "customername": {
  16544. "description": "采购方ID",
  16545. "type": "string"
  16546. },
  16547. "deliverygoodsid": {
  16548. "description": "品种ID",
  16549. "type": "string"
  16550. },
  16551. "deliveryqty": {
  16552. "description": "交收量",
  16553. "type": "integer"
  16554. },
  16555. "enumdicname": {
  16556. "description": "单位名称",
  16557. "type": "string"
  16558. },
  16559. "matchaccountid": {
  16560. "description": "业务员ID",
  16561. "type": "string"
  16562. },
  16563. "matchcustomername": {
  16564. "description": "销售方ID",
  16565. "type": "string"
  16566. },
  16567. "pricedqty": {
  16568. "description": "定价量",
  16569. "type": "number"
  16570. },
  16571. "signdate": {
  16572. "description": "签订日期",
  16573. "type": "string"
  16574. },
  16575. "spotcontractid": {
  16576. "description": "合同ID",
  16577. "type": "string"
  16578. },
  16579. "totaldqty": {
  16580. "description": "合同量",
  16581. "type": "number"
  16582. },
  16583. "unpricedqty": {
  16584. "description": "未定价量",
  16585. "type": "number"
  16586. },
  16587. "wrstandardname": {
  16588. "description": "商品名称",
  16589. "type": "string"
  16590. }
  16591. }
  16592. },
  16593. "erms3.QryPendingBizRsp": {
  16594. "$ref": "#/definitions/models.PendingAuditBizModel"
  16595. },
  16596. "erms3.QueryBusinessInfoRsp": {
  16597. "type": "object",
  16598. "properties": {
  16599. "businessid": {
  16600. "description": "业务ID.",
  16601. "type": "integer"
  16602. },
  16603. "buyamount": {
  16604. "description": "采购额.",
  16605. "type": "number"
  16606. },
  16607. "buyqty": {
  16608. "description": "采购量.",
  16609. "type": "string"
  16610. },
  16611. "futurepl": {
  16612. "description": "期货盈亏.",
  16613. "type": "number"
  16614. },
  16615. "futureqty": {
  16616. "description": "期货敞口.",
  16617. "type": "string"
  16618. },
  16619. "goodsid": {
  16620. "description": "商品名称/商品代码.",
  16621. "type": "string"
  16622. },
  16623. "hedgingqty": {
  16624. "description": "套保量.",
  16625. "type": "string"
  16626. },
  16627. "sellamount": {
  16628. "description": "销售额.",
  16629. "type": "number"
  16630. },
  16631. "sellqty": {
  16632. "description": "销售量.",
  16633. "type": "string"
  16634. },
  16635. "spotmarketvalue": {
  16636. "description": "现货市值.",
  16637. "type": "number"
  16638. },
  16639. "spotpl": {
  16640. "description": "浮动权益.",
  16641. "type": "number"
  16642. },
  16643. "spotqty": {
  16644. "description": "现货量.",
  16645. "type": "string"
  16646. },
  16647. "statu": {
  16648. "description": "状态,0-未结束 1-已结束.",
  16649. "type": "integer"
  16650. },
  16651. "totalpl": {
  16652. "description": "总盈亏.",
  16653. "type": "number"
  16654. },
  16655. "totalqty": {
  16656. "description": "总敞口.",
  16657. "type": "string"
  16658. },
  16659. "type": {
  16660. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  16661. "type": "integer"
  16662. }
  16663. }
  16664. },
  16665. "erms3.QuerySpotContractAppleFormRsp": {
  16666. "type": "object",
  16667. "properties": {
  16668. "goodses": {
  16669. "description": "合约列表",
  16670. "type": "array",
  16671. "items": {
  16672. "$ref": "#/definitions/models.GoodsIDAndName"
  16673. }
  16674. },
  16675. "oppositeusers": {
  16676. "description": "对方账号列表",
  16677. "type": "array",
  16678. "items": {
  16679. "$ref": "#/definitions/erms3.CustomerInfo"
  16680. }
  16681. },
  16682. "ouruser": {
  16683. "description": "我方账号",
  16684. "type": "object",
  16685. "$ref": "#/definitions/erms3.CustomerInfo"
  16686. },
  16687. "warehouseinfos": {
  16688. "description": "仓库信息列表",
  16689. "type": "array",
  16690. "items": {
  16691. "$ref": "#/definitions/models.Warehouseinfo"
  16692. }
  16693. },
  16694. "wrstandards": {
  16695. "description": "仓单标准列表",
  16696. "type": "array",
  16697. "items": {
  16698. "$ref": "#/definitions/models.WRStandardInfo"
  16699. }
  16700. }
  16701. }
  16702. },
  16703. "erms3.QuerySpotContractInfoRsp": {
  16704. "type": "object",
  16705. "properties": {
  16706. "accountid": {
  16707. "description": "表示交易员ID.",
  16708. "type": "integer"
  16709. },
  16710. "curdeliveryqty": {
  16711. "description": "表示未交收量.",
  16712. "type": "number"
  16713. },
  16714. "customername": {
  16715. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  16716. "type": "string"
  16717. },
  16718. "deliverygoodsid": {
  16719. "description": "表示品种ID.",
  16720. "type": "string"
  16721. },
  16722. "deliveryqty": {
  16723. "description": "表示交收量.",
  16724. "type": "number"
  16725. },
  16726. "matchaccountid": {
  16727. "description": "表示业务员ID.",
  16728. "type": "integer"
  16729. },
  16730. "matchcustomername": {
  16731. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  16732. "type": "string"
  16733. },
  16734. "priceqty": {
  16735. "description": "表示定价量.",
  16736. "type": "number"
  16737. },
  16738. "relatedbizid": {
  16739. "description": "表示业务ID.",
  16740. "type": "string"
  16741. },
  16742. "signdate": {
  16743. "description": "表示签订日期.",
  16744. "type": "string"
  16745. },
  16746. "spotcontractid": {
  16747. "description": "合同ID",
  16748. "type": "string"
  16749. },
  16750. "status": {
  16751. "description": "表示状态,0-履约中 1-已完成.",
  16752. "type": "integer"
  16753. },
  16754. "totalqty": {
  16755. "description": "表示合同量.",
  16756. "type": "number"
  16757. },
  16758. "unpricedqty": {
  16759. "description": "表示未定价量.",
  16760. "type": "number"
  16761. },
  16762. "wrstandardname": {
  16763. "description": "表示商品ID.",
  16764. "type": "string"
  16765. }
  16766. }
  16767. },
  16768. "erms3.QueryUserInfoAppliesRsp": {
  16769. "type": "object",
  16770. "required": [
  16771. "userid"
  16772. ],
  16773. "properties": {
  16774. "biznature": {
  16775. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16776. "type": "integer"
  16777. },
  16778. "contactname": {
  16779. "description": "联系人",
  16780. "type": "string"
  16781. },
  16782. "createtime": {
  16783. "description": "开户申请时间",
  16784. "type": "string"
  16785. },
  16786. "userid": {
  16787. "description": "用户ID(自增ID)",
  16788. "type": "integer"
  16789. },
  16790. "userinfotype": {
  16791. "description": "用户信息类型 - 1:个人 2:企业",
  16792. "type": "integer"
  16793. },
  16794. "username": {
  16795. "description": "用户姓名",
  16796. "type": "string"
  16797. },
  16798. "userstate": {
  16799. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16800. "type": "integer"
  16801. }
  16802. }
  16803. },
  16804. "erms3.QueryUserInfosRsp": {
  16805. "type": "object",
  16806. "required": [
  16807. "userid"
  16808. ],
  16809. "properties": {
  16810. "biznature": {
  16811. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16812. "type": "integer"
  16813. },
  16814. "contactname": {
  16815. "description": "联系人",
  16816. "type": "string"
  16817. },
  16818. "customername": {
  16819. "description": "客户名称(企业名称)",
  16820. "type": "string"
  16821. },
  16822. "userid": {
  16823. "description": "用户ID",
  16824. "type": "integer"
  16825. },
  16826. "userinfotype": {
  16827. "description": "用户信息类型 - 1:个人 2:企业",
  16828. "type": "integer"
  16829. },
  16830. "userstatus": {
  16831. "description": "用户状态 - 1:正常 2:注销",
  16832. "type": "integer"
  16833. }
  16834. }
  16835. },
  16836. "erms3.SoptContractDetail": {
  16837. "type": "object",
  16838. "required": [
  16839. "deliverygoodsid",
  16840. "producttype",
  16841. "unitname",
  16842. "warehouseid",
  16843. "wrstandardid",
  16844. "wrstandardname"
  16845. ],
  16846. "properties": {
  16847. "deliverygoodsdesc": {
  16848. "description": "现货品种说明",
  16849. "type": "string"
  16850. },
  16851. "deliverygoodsid": {
  16852. "description": "现货品种ID",
  16853. "type": "integer"
  16854. },
  16855. "deliverygoodsname": {
  16856. "description": "现货品种名称",
  16857. "type": "string"
  16858. },
  16859. "pointdesc": {
  16860. "description": "点价描述",
  16861. "type": "string"
  16862. },
  16863. "producttype": {
  16864. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  16865. "type": "integer"
  16866. },
  16867. "producttypename": {
  16868. "description": "产品类型名称",
  16869. "type": "string"
  16870. },
  16871. "spotPointOrderVoList": {
  16872. "description": "点价列表",
  16873. "type": "array",
  16874. "items": {
  16875. "$ref": "#/definitions/erms3.SpotPointOrder"
  16876. }
  16877. },
  16878. "spotPriceOrderList": {
  16879. "description": "定价列表",
  16880. "type": "array",
  16881. "items": {
  16882. "$ref": "#/definitions/erms3.SpotPriceOrder"
  16883. }
  16884. },
  16885. "unitname": {
  16886. "description": "单位名称",
  16887. "type": "string"
  16888. },
  16889. "warehouseid": {
  16890. "description": "仓库ID",
  16891. "type": "integer"
  16892. },
  16893. "warehousename": {
  16894. "description": "仓库名称",
  16895. "type": "string"
  16896. },
  16897. "wrstandardid": {
  16898. "description": "交易标的ID",
  16899. "type": "integer"
  16900. },
  16901. "wrstandardname": {
  16902. "description": "交易标的名称",
  16903. "type": "string"
  16904. }
  16905. }
  16906. },
  16907. "erms3.SpotPointOrder": {
  16908. "type": "object",
  16909. "required": [
  16910. "basic",
  16911. "goodsid",
  16912. "qty"
  16913. ],
  16914. "properties": {
  16915. "basic": {
  16916. "description": "基差",
  16917. "type": "number"
  16918. },
  16919. "deliveryenddate": {
  16920. "description": "交收结束日期",
  16921. "type": "string"
  16922. },
  16923. "deliverystartdate": {
  16924. "description": "交收开始日期",
  16925. "type": "string"
  16926. },
  16927. "enddate": {
  16928. "description": "点价结束日期",
  16929. "type": "string"
  16930. },
  16931. "goodsid": {
  16932. "description": "商品ID",
  16933. "type": "integer"
  16934. },
  16935. "goodsname": {
  16936. "description": "商品名称",
  16937. "type": "string"
  16938. },
  16939. "qty": {
  16940. "description": "数量",
  16941. "type": "number"
  16942. },
  16943. "startdate": {
  16944. "description": "点价开始日期",
  16945. "type": "string"
  16946. }
  16947. }
  16948. },
  16949. "erms3.SpotPriceOrder": {
  16950. "type": "object",
  16951. "required": [
  16952. "amount",
  16953. "price",
  16954. "qty"
  16955. ],
  16956. "properties": {
  16957. "amount": {
  16958. "description": "金额",
  16959. "type": "number"
  16960. },
  16961. "deliveryenddate": {
  16962. "description": "交收结束日期",
  16963. "type": "string"
  16964. },
  16965. "deliverystartdate": {
  16966. "description": "交收开始日期",
  16967. "type": "string"
  16968. },
  16969. "price": {
  16970. "description": "价格",
  16971. "type": "number"
  16972. },
  16973. "qty": {
  16974. "description": "数量",
  16975. "type": "number"
  16976. }
  16977. }
  16978. },
  16979. "hsby.GetHsbyMyCountRsp": {
  16980. "type": "object",
  16981. "properties": {
  16982. "myCouponCount": {
  16983. "description": "我的优惠卷数量",
  16984. "type": "integer"
  16985. },
  16986. "myOrderDetailListingCount": {
  16987. "description": "我的订单求购中数量",
  16988. "type": "integer"
  16989. },
  16990. "myOrderDetailPreCount": {
  16991. "description": "我的订单抢购中数量",
  16992. "type": "integer"
  16993. },
  16994. "myPackageUnReceiveCount": {
  16995. "description": "我的包裹待收货数量",
  16996. "type": "integer"
  16997. },
  16998. "myPackageUnSendCount": {
  16999. "description": "我的包裹待发货数量",
  17000. "type": "integer"
  17001. },
  17002. "myPayOrderCount": {
  17003. "description": "我的订单待付款数量",
  17004. "type": "integer"
  17005. }
  17006. }
  17007. },
  17008. "hsby.QueryProvincesAndCitiesRsp": {
  17009. "type": "object",
  17010. "properties": {
  17011. "cities": {
  17012. "description": "市",
  17013. "type": "array",
  17014. "items": {
  17015. "$ref": "#/definitions/models.Division"
  17016. }
  17017. },
  17018. "province": {
  17019. "description": "省",
  17020. "type": "object",
  17021. "$ref": "#/definitions/models.Division"
  17022. }
  17023. }
  17024. },
  17025. "models.AreaSpotModel": {
  17026. "type": "object",
  17027. "properties": {
  17028. "areauserid": {
  17029. "description": "所属机构",
  17030. "type": "integer"
  17031. },
  17032. "decreaseqty": {
  17033. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17034. "type": "number"
  17035. },
  17036. "increaseqty": {
  17037. "description": "增加数量=销售计划数量+采购已定价数量",
  17038. "type": "number"
  17039. },
  17040. "oritoalspotqty": {
  17041. "description": "昨日数量",
  17042. "type": "number"
  17043. },
  17044. "totalspotqty": {
  17045. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17046. "type": "number"
  17047. },
  17048. "updatetime": {
  17049. "description": "更新时间",
  17050. "type": "string"
  17051. },
  17052. "wrstandardcode": {
  17053. "description": "现货品种代码",
  17054. "type": "string"
  17055. },
  17056. "wrstandardid": {
  17057. "description": "现货商品ID",
  17058. "type": "integer"
  17059. },
  17060. "wrstandardname": {
  17061. "description": "现货品种",
  17062. "type": "string"
  17063. }
  17064. }
  17065. },
  17066. "models.Arearole": {
  17067. "type": "object",
  17068. "required": [
  17069. "roletype",
  17070. "userid"
  17071. ],
  17072. "properties": {
  17073. "createtime": {
  17074. "description": "创建时间",
  17075. "type": "string"
  17076. },
  17077. "creatorid": {
  17078. "description": "创建人ID",
  17079. "type": "integer"
  17080. },
  17081. "fromuserid": {
  17082. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  17083. "type": "integer"
  17084. },
  17085. "isreturnscore": {
  17086. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  17087. "type": "integer"
  17088. },
  17089. "modifierid": {
  17090. "description": "修改人ID",
  17091. "type": "integer"
  17092. },
  17093. "modifytime": {
  17094. "description": "修改时间",
  17095. "type": "string"
  17096. },
  17097. "orgtype": {
  17098. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  17099. "type": "integer"
  17100. },
  17101. "outuserid": {
  17102. "description": "外部账户[场外期权做市商]",
  17103. "type": "string"
  17104. },
  17105. "parentuserid": {
  17106. "description": "上级组织机构(组织机构)",
  17107. "type": "integer"
  17108. },
  17109. "roletype": {
  17110. "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:门店",
  17111. "type": "integer"
  17112. },
  17113. "rootuserid": {
  17114. "description": "顶级组织机构用户ID(组织机构)",
  17115. "type": "integer"
  17116. },
  17117. "shoppassword": {
  17118. "description": "商城店铺登陆密码(商城店铺角色使用)",
  17119. "type": "string"
  17120. },
  17121. "sublevelpath": {
  17122. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  17123. "type": "string"
  17124. },
  17125. "suborgtype": {
  17126. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  17127. "type": "integer"
  17128. },
  17129. "tradeaccountid": {
  17130. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  17131. "type": "integer"
  17132. },
  17133. "transurl": {
  17134. "description": "物流地址(物流机构)",
  17135. "type": "string"
  17136. },
  17137. "userid": {
  17138. "description": "机构用户ID其他做市关系,都设置为 1",
  17139. "type": "integer"
  17140. }
  17141. }
  17142. },
  17143. "models.Clientfixedadconfig": {
  17144. "type": "object",
  17145. "required": [
  17146. "adsort",
  17147. "adtype"
  17148. ],
  17149. "properties": {
  17150. "adsort": {
  17151. "description": "排序",
  17152. "type": "integer"
  17153. },
  17154. "adtype": {
  17155. "description": "广告位类型 - 1:新品抢购(HSBY)",
  17156. "type": "integer"
  17157. },
  17158. "areauserid": {
  17159. "description": "所属机构ID",
  17160. "type": "integer"
  17161. },
  17162. "createdate": {
  17163. "description": "创建时间",
  17164. "type": "string"
  17165. },
  17166. "creatorid": {
  17167. "description": "创建人",
  17168. "type": "integer"
  17169. },
  17170. "imagepath": {
  17171. "description": "图片",
  17172. "type": "string"
  17173. },
  17174. "isshow": {
  17175. "description": "是否展示 - 0:不展示 1:展示",
  17176. "type": "integer"
  17177. },
  17178. "modifierid": {
  17179. "description": "操作人",
  17180. "type": "integer"
  17181. },
  17182. "recsize": {
  17183. "description": "推荐尺寸",
  17184. "type": "string"
  17185. },
  17186. "title": {
  17187. "description": "标题",
  17188. "type": "string"
  17189. },
  17190. "updatedate": {
  17191. "description": "更新时间",
  17192. "type": "string"
  17193. },
  17194. "urlcontent": {
  17195. "description": "链接(地址或商品ID)",
  17196. "type": "string"
  17197. },
  17198. "urltype": {
  17199. "description": "链接类型 - 1:直接地址 2:商品ID",
  17200. "type": "integer"
  17201. }
  17202. }
  17203. },
  17204. "models.Division": {
  17205. "type": "object",
  17206. "required": [
  17207. "autoid",
  17208. "divisioncode"
  17209. ],
  17210. "properties": {
  17211. "autoid": {
  17212. "description": "自增ID",
  17213. "type": "integer"
  17214. },
  17215. "divisioncode": {
  17216. "description": "行政代码",
  17217. "type": "string"
  17218. },
  17219. "divisionlevel": {
  17220. "description": "行政级别",
  17221. "type": "string"
  17222. },
  17223. "divisionname": {
  17224. "description": "行政名称",
  17225. "type": "string"
  17226. },
  17227. "modifierid": {
  17228. "description": "修改人",
  17229. "type": "integer"
  17230. },
  17231. "modifytime": {
  17232. "description": "修改时间",
  17233. "type": "string"
  17234. },
  17235. "parentcode": {
  17236. "description": "上级行政代码",
  17237. "type": "string"
  17238. },
  17239. "pathname": {
  17240. "description": "路径名称",
  17241. "type": "string"
  17242. },
  17243. "postcode": {
  17244. "description": "邮政编码",
  17245. "type": "string"
  17246. },
  17247. "separablename": {
  17248. "description": "可拆分的全称",
  17249. "type": "string"
  17250. },
  17251. "shortcode": {
  17252. "description": "地区简码",
  17253. "type": "string"
  17254. }
  17255. }
  17256. },
  17257. "models.Enumdicitem": {
  17258. "type": "object",
  17259. "required": [
  17260. "autoid",
  17261. "enumdiccode",
  17262. "enumdicid",
  17263. "enumitemname"
  17264. ],
  17265. "properties": {
  17266. "autoid": {
  17267. "description": "自增ID",
  17268. "type": "integer"
  17269. },
  17270. "bankmappedvalue": {
  17271. "description": "银行服务对应值",
  17272. "type": "string"
  17273. },
  17274. "enumdiccode": {
  17275. "description": "所属枚举代码",
  17276. "type": "string"
  17277. },
  17278. "enumdicid": {
  17279. "description": "所属枚举ID",
  17280. "type": "integer"
  17281. },
  17282. "enumdicname": {
  17283. "description": "枚举项名称",
  17284. "type": "string"
  17285. },
  17286. "enumitemname": {
  17287. "description": "枚举项值",
  17288. "type": "integer"
  17289. },
  17290. "enumitemstatus": {
  17291. "description": "枚举项状态 - 1.启用 2.不启用",
  17292. "type": "integer"
  17293. },
  17294. "enumitemvalue": {
  17295. "description": "通用值 - [币种通用简写]",
  17296. "type": "string"
  17297. },
  17298. "param1": {
  17299. "description": "参数1[币种:币种小数位]",
  17300. "type": "string"
  17301. },
  17302. "param2": {
  17303. "description": "参数1[币种:币种显示单位]",
  17304. "type": "string"
  17305. },
  17306. "remark": {
  17307. "description": "备注",
  17308. "type": "string"
  17309. }
  17310. }
  17311. },
  17312. "models.Ermcp3AreaSpot": {
  17313. "type": "object",
  17314. "properties": {
  17315. "areauserid": {
  17316. "description": "所属机构",
  17317. "type": "integer"
  17318. },
  17319. "decreaseqty": {
  17320. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17321. "type": "number"
  17322. },
  17323. "deliverygoodscode": {
  17324. "description": "现货品种代码",
  17325. "type": "string"
  17326. },
  17327. "deliverygoodsid": {
  17328. "description": "现货品种id",
  17329. "type": "integer"
  17330. },
  17331. "deliverygoodsname": {
  17332. "description": "现货品种名称",
  17333. "type": "string"
  17334. },
  17335. "enumdicname": {
  17336. "description": "单位名称",
  17337. "type": "string"
  17338. },
  17339. "goodsunitid": {
  17340. "description": "现货品种单位id",
  17341. "type": "integer"
  17342. },
  17343. "increaseqty": {
  17344. "description": "增加数量=销售计划数量+采购已定价数量",
  17345. "type": "number"
  17346. },
  17347. "oritoalspotqty": {
  17348. "description": "昨日数量",
  17349. "type": "number"
  17350. },
  17351. "totalspotqty": {
  17352. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17353. "type": "number"
  17354. },
  17355. "updatetime": {
  17356. "description": "更新时间",
  17357. "type": "string"
  17358. }
  17359. }
  17360. },
  17361. "models.Ermcp3AreaSpotDetail": {
  17362. "type": "object",
  17363. "properties": {
  17364. "contracttype": {
  17365. "description": "合同类型 1-采购 -1-销售",
  17366. "type": "integer"
  17367. },
  17368. "createtime": {
  17369. "description": "创建时间",
  17370. "type": "string"
  17371. },
  17372. "deliverygoodscode": {
  17373. "description": "现货品种代码",
  17374. "type": "string"
  17375. },
  17376. "deliverygoodsid": {
  17377. "description": "现货品种id",
  17378. "type": "integer"
  17379. },
  17380. "deliverygoodsname": {
  17381. "description": "现货品种名称",
  17382. "type": "string"
  17383. },
  17384. "enumdicname": {
  17385. "description": "现货商品单位名称",
  17386. "type": "string"
  17387. },
  17388. "logtype": {
  17389. "description": "记录类型 1-套保 2-现货合同",
  17390. "type": "integer"
  17391. },
  17392. "qty": {
  17393. "description": "数量",
  17394. "type": "number"
  17395. },
  17396. "recordname": {
  17397. "description": "类型名称",
  17398. "type": "string"
  17399. },
  17400. "relatedid": {
  17401. "description": "套保计划ID/现货合同ID",
  17402. "type": "string"
  17403. },
  17404. "relatedno": {
  17405. "description": "编号",
  17406. "type": "string"
  17407. },
  17408. "strtime": {
  17409. "description": "时间",
  17410. "type": "string"
  17411. }
  17412. }
  17413. },
  17414. "models.Ermcp3AreaSpotPLReport": {
  17415. "type": "object",
  17416. "properties": {
  17417. "accountid": {
  17418. "description": "期货账户ID (作废, 默认为0)",
  17419. "type": "integer"
  17420. },
  17421. "accountname": {
  17422. "description": "机构名称",
  17423. "type": "string"
  17424. },
  17425. "actualpl": {
  17426. "description": "现货损益",
  17427. "type": "number"
  17428. },
  17429. "areauserid": {
  17430. "description": "所属机构\\交易用户ID",
  17431. "type": "integer"
  17432. },
  17433. "begindate": {
  17434. "description": "开始交易日",
  17435. "type": "string"
  17436. },
  17437. "biztype": {
  17438. "description": "业务类型 - 1:套保 2:套利",
  17439. "type": "integer"
  17440. },
  17441. "brandname": {
  17442. "description": "品牌名称",
  17443. "type": "string"
  17444. },
  17445. "curamount": {
  17446. "description": "期末额",
  17447. "type": "number"
  17448. },
  17449. "curaverageprice": {
  17450. "description": "期末均价",
  17451. "type": "number"
  17452. },
  17453. "curbuyamount": {
  17454. "description": "期末采购总额",
  17455. "type": "number"
  17456. },
  17457. "curbuyqty": {
  17458. "description": "期末采购总量",
  17459. "type": "number"
  17460. },
  17461. "curmarketvalue": {
  17462. "description": "参考市值(期末市值)",
  17463. "type": "number"
  17464. },
  17465. "curqty": {
  17466. "description": "期末量",
  17467. "type": "number"
  17468. },
  17469. "currencyid": {
  17470. "description": "结算币种ID【原值】",
  17471. "type": "integer"
  17472. },
  17473. "currencyname": {
  17474. "description": "币种名称",
  17475. "type": "string"
  17476. },
  17477. "cursellamount": {
  17478. "description": "期末销售总额",
  17479. "type": "number"
  17480. },
  17481. "cursellqty": {
  17482. "description": "期末销售总量",
  17483. "type": "number"
  17484. },
  17485. "curspotprice": {
  17486. "description": "参考市价(最新价)",
  17487. "type": "number"
  17488. },
  17489. "cycletime": {
  17490. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17491. "type": "string"
  17492. },
  17493. "cycletype": {
  17494. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17495. "type": "integer"
  17496. },
  17497. "deliverygoodscode": {
  17498. "description": "现货商品代码",
  17499. "type": "string"
  17500. },
  17501. "deliverygoodsid": {
  17502. "description": "现货品种ID",
  17503. "type": "integer"
  17504. },
  17505. "deliverygoodsname": {
  17506. "description": "现货商品名称",
  17507. "type": "string"
  17508. },
  17509. "enddate": {
  17510. "description": "结束交易日",
  17511. "type": "string"
  17512. },
  17513. "enumdicname": {
  17514. "description": "现货商品单位名称",
  17515. "type": "string"
  17516. },
  17517. "floatpl": {
  17518. "description": "浮动损益",
  17519. "type": "number"
  17520. },
  17521. "goodsunitid": {
  17522. "description": "现货商品单位id",
  17523. "type": "integer"
  17524. },
  17525. "oriamount": {
  17526. "description": "期初额",
  17527. "type": "number"
  17528. },
  17529. "oriaverageprice": {
  17530. "description": "期初均价",
  17531. "type": "number"
  17532. },
  17533. "oribuyamount": {
  17534. "description": "期初采购总额",
  17535. "type": "number"
  17536. },
  17537. "oribuyqty": {
  17538. "description": "期初采购总量",
  17539. "type": "number"
  17540. },
  17541. "oriqty": {
  17542. "description": "期初量",
  17543. "type": "number"
  17544. },
  17545. "orisellamount": {
  17546. "description": "期初销售总额",
  17547. "type": "number"
  17548. },
  17549. "orisellqty": {
  17550. "description": "期初销售总量",
  17551. "type": "number"
  17552. },
  17553. "reckondate": {
  17554. "description": "日照时期(yyyyMMdd)",
  17555. "type": "string"
  17556. },
  17557. "spotgoodsbrandid": {
  17558. "description": "现货品牌ID",
  17559. "type": "integer"
  17560. },
  17561. "todaybuyamount": {
  17562. "description": "今日采购额(今采购额)",
  17563. "type": "number"
  17564. },
  17565. "todaybuyaverageprice": {
  17566. "description": "今日采购均价",
  17567. "type": "number"
  17568. },
  17569. "todaybuyqty": {
  17570. "description": "今日采购量(今采购量)",
  17571. "type": "number"
  17572. },
  17573. "todayinqty": {
  17574. "description": "今日入库量(今入库量)",
  17575. "type": "number"
  17576. },
  17577. "todayoutqty": {
  17578. "description": "今日出库量(今出库量)",
  17579. "type": "number"
  17580. },
  17581. "todaysellamount": {
  17582. "description": "今日销售额(今销售额)",
  17583. "type": "number"
  17584. },
  17585. "todaysellaverageprice": {
  17586. "description": "今日销售均价",
  17587. "type": "number"
  17588. },
  17589. "todaysellqty": {
  17590. "description": "今日销售量(今销售量)",
  17591. "type": "number"
  17592. },
  17593. "unitid": {
  17594. "description": "品类单位id",
  17595. "type": "integer"
  17596. },
  17597. "unitidname": {
  17598. "description": "品类单位名称",
  17599. "type": "string"
  17600. },
  17601. "updatetime": {
  17602. "description": "更新时间",
  17603. "type": "string"
  17604. },
  17605. "wrfactortypeid": {
  17606. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  17607. "type": "integer"
  17608. },
  17609. "wrstandardcode": {
  17610. "description": "品类代码",
  17611. "type": "string"
  17612. },
  17613. "wrstandardid": {
  17614. "description": "现货品类ID",
  17615. "type": "integer"
  17616. },
  17617. "wrstandardname": {
  17618. "description": "品类名称",
  17619. "type": "string"
  17620. }
  17621. }
  17622. },
  17623. "models.Ermcp3AreaStock": {
  17624. "type": "object",
  17625. "required": [
  17626. "userid"
  17627. ],
  17628. "properties": {
  17629. "brandname": {
  17630. "description": "品牌名称",
  17631. "type": "string"
  17632. },
  17633. "curstock": {
  17634. "description": "期末库存量(今日量)",
  17635. "type": "number"
  17636. },
  17637. "deliverygoodscode": {
  17638. "description": "现货品种代码",
  17639. "type": "string"
  17640. },
  17641. "deliverygoodsid": {
  17642. "description": "现货品种id",
  17643. "type": "integer"
  17644. },
  17645. "deliverygoodsname": {
  17646. "description": "现货品种名称",
  17647. "type": "string"
  17648. },
  17649. "enumdicname": {
  17650. "description": "单位名称",
  17651. "type": "string"
  17652. },
  17653. "goodsunitid": {
  17654. "description": "现货商品单位id",
  17655. "type": "integer"
  17656. },
  17657. "oristock": {
  17658. "description": "期初库存量(昨日量)",
  17659. "type": "number"
  17660. },
  17661. "spotgoodsbrandid": {
  17662. "description": "现货品牌ID",
  17663. "type": "integer"
  17664. },
  17665. "todaybuyinqty": {
  17666. "description": "今日采购入库量",
  17667. "type": "number"
  17668. },
  17669. "todayproduceinqty": {
  17670. "description": "今日生产入库量",
  17671. "type": "number"
  17672. },
  17673. "todayproduceoutqty": {
  17674. "description": "今日生产出库量",
  17675. "type": "number"
  17676. },
  17677. "todayselloutqty": {
  17678. "description": "今日销售出库量",
  17679. "type": "number"
  17680. },
  17681. "unitid": {
  17682. "description": "单位id",
  17683. "type": "integer"
  17684. },
  17685. "updatetime": {
  17686. "description": "更新时间",
  17687. "type": "string"
  17688. },
  17689. "userid": {
  17690. "description": "机构ID",
  17691. "type": "integer"
  17692. },
  17693. "username": {
  17694. "description": "机构名称",
  17695. "type": "string"
  17696. },
  17697. "warehousecode": {
  17698. "description": "仓库代码",
  17699. "type": "string"
  17700. },
  17701. "warehouseinfoid": {
  17702. "description": "仓库ID",
  17703. "type": "string"
  17704. },
  17705. "warehousename": {
  17706. "description": "仓库名称",
  17707. "type": "string"
  17708. },
  17709. "warehousetype": {
  17710. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17711. "type": "integer"
  17712. },
  17713. "wrstandardcode": {
  17714. "description": "品类代码",
  17715. "type": "string"
  17716. },
  17717. "wrstandardid": {
  17718. "description": "品类ID",
  17719. "type": "string"
  17720. },
  17721. "wrstandardname": {
  17722. "description": "品类名称",
  17723. "type": "string"
  17724. }
  17725. }
  17726. },
  17727. "models.Ermcp3AreaStockApply": {
  17728. "type": "object",
  17729. "properties": {
  17730. "applyid": {
  17731. "description": "申请人",
  17732. "type": "integer"
  17733. },
  17734. "applyname": {
  17735. "description": "申请人名称",
  17736. "type": "string"
  17737. },
  17738. "applyremark": {
  17739. "description": "申请备注",
  17740. "type": "string"
  17741. },
  17742. "applysrc": {
  17743. "description": "申请来源 - 1:管理端 2:终端",
  17744. "type": "integer"
  17745. },
  17746. "applystatus": {
  17747. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17748. "type": "integer"
  17749. },
  17750. "applytime": {
  17751. "description": "申请时间",
  17752. "type": "string"
  17753. },
  17754. "auditid": {
  17755. "description": "审核人",
  17756. "type": "integer"
  17757. },
  17758. "auditname": {
  17759. "description": "审核人名称",
  17760. "type": "string"
  17761. },
  17762. "auditremark": {
  17763. "description": "审核备注",
  17764. "type": "string"
  17765. },
  17766. "auditsrc": {
  17767. "description": "审核来源 - 1:管理端 2:终端",
  17768. "type": "integer"
  17769. },
  17770. "audittime": {
  17771. "description": "审核时间",
  17772. "type": "string"
  17773. },
  17774. "audittradedate": {
  17775. "description": "审核交易日(yyyyMMdd)",
  17776. "type": "string"
  17777. },
  17778. "brandname": {
  17779. "description": "品牌名称",
  17780. "type": "string"
  17781. },
  17782. "buynickname": {
  17783. "description": "采购方昵称",
  17784. "type": "string"
  17785. },
  17786. "buyuserid": {
  17787. "description": "采购方userid",
  17788. "type": "integer"
  17789. },
  17790. "buyusername": {
  17791. "description": "采购方名称",
  17792. "type": "string"
  17793. },
  17794. "contractno": {
  17795. "description": "合同编号",
  17796. "type": "string"
  17797. },
  17798. "contractqty": {
  17799. "description": "合同量",
  17800. "type": "number"
  17801. },
  17802. "contracttype": {
  17803. "description": "现货合同类型 - 1:采购 -1:销售",
  17804. "type": "integer"
  17805. },
  17806. "deliverygoodscode": {
  17807. "description": "现货品种代码",
  17808. "type": "string"
  17809. },
  17810. "deliverygoodsid": {
  17811. "description": "现货品种id",
  17812. "type": "integer"
  17813. },
  17814. "deliverygoodsname": {
  17815. "description": "现货品种名称",
  17816. "type": "string"
  17817. },
  17818. "detailjson": {
  17819. "description": "明细数据",
  17820. "type": "string"
  17821. },
  17822. "enumdicname": {
  17823. "description": "现货商品单位名称",
  17824. "type": "string"
  17825. },
  17826. "inoutapplyid": {
  17827. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  17828. "type": "string"
  17829. },
  17830. "inouttype": {
  17831. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17832. "type": "integer"
  17833. },
  17834. "pricetype": {
  17835. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17836. "type": "integer"
  17837. },
  17838. "qty": {
  17839. "description": "数量",
  17840. "type": "number"
  17841. },
  17842. "sellnickname": {
  17843. "description": "销售方昵称",
  17844. "type": "string"
  17845. },
  17846. "selluserid": {
  17847. "description": "销售方userid",
  17848. "type": "integer"
  17849. },
  17850. "sellusername": {
  17851. "description": "销售方名称",
  17852. "type": "string"
  17853. },
  17854. "spotcontractid": {
  17855. "description": "关联现货合同ID",
  17856. "type": "string"
  17857. },
  17858. "spotgoodsbrandid": {
  17859. "description": "现货品牌ID",
  17860. "type": "integer"
  17861. },
  17862. "unitid": {
  17863. "description": "单位id",
  17864. "type": "integer"
  17865. },
  17866. "userid": {
  17867. "description": "机构ID",
  17868. "type": "integer"
  17869. },
  17870. "warehousecode": {
  17871. "description": "仓库代码",
  17872. "type": "string"
  17873. },
  17874. "warehouseinfoid": {
  17875. "description": "现货仓库ID",
  17876. "type": "string"
  17877. },
  17878. "warehousename": {
  17879. "description": "仓库名称",
  17880. "type": "string"
  17881. },
  17882. "warehousetype": {
  17883. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17884. "type": "integer"
  17885. },
  17886. "wrstandardcode": {
  17887. "description": "品类代码",
  17888. "type": "string"
  17889. },
  17890. "wrstandardid": {
  17891. "description": "品类ID",
  17892. "type": "integer"
  17893. },
  17894. "wrstandardname": {
  17895. "description": "品类名称",
  17896. "type": "string"
  17897. }
  17898. }
  17899. },
  17900. "models.Ermcp3AreaStockApplySum": {
  17901. "type": "object",
  17902. "properties": {
  17903. "brandname": {
  17904. "description": "品牌名称",
  17905. "type": "string"
  17906. },
  17907. "inouttype": {
  17908. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17909. "type": "integer"
  17910. },
  17911. "spotcontractid": {
  17912. "description": "关联现货合同ID",
  17913. "type": "string"
  17914. },
  17915. "spotgoodsbrandid": {
  17916. "description": "品牌id",
  17917. "type": "integer"
  17918. },
  17919. "totalqty": {
  17920. "description": "总数量",
  17921. "type": "number"
  17922. },
  17923. "wrstandardid": {
  17924. "description": "品类id",
  17925. "type": "integer"
  17926. },
  17927. "wrstandardname": {
  17928. "description": "品类名称",
  17929. "type": "string"
  17930. }
  17931. }
  17932. },
  17933. "models.Ermcp3AreaStockReportEx": {
  17934. "type": "object",
  17935. "properties": {
  17936. "begindate": {
  17937. "description": "开始交易日",
  17938. "type": "string"
  17939. },
  17940. "brandname": {
  17941. "description": "品牌名称",
  17942. "type": "string"
  17943. },
  17944. "curstock": {
  17945. "description": "期末库存量",
  17946. "type": "number"
  17947. },
  17948. "cycletime": {
  17949. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17950. "type": "string"
  17951. },
  17952. "cycletype": {
  17953. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17954. "type": "integer"
  17955. },
  17956. "deliverygoodscode": {
  17957. "description": "现货品种代码",
  17958. "type": "string"
  17959. },
  17960. "deliverygoodsid": {
  17961. "description": "现货品种id",
  17962. "type": "integer"
  17963. },
  17964. "deliverygoodsname": {
  17965. "description": "现货品种名称",
  17966. "type": "string"
  17967. },
  17968. "diffqty": {
  17969. "description": "库存变化量 = 期末 - 期初",
  17970. "type": "number"
  17971. },
  17972. "enddate": {
  17973. "description": "结束交易日",
  17974. "type": "string"
  17975. },
  17976. "enumdicname": {
  17977. "description": "单位名称",
  17978. "type": "string"
  17979. },
  17980. "goodsunitid": {
  17981. "description": "现货单位id",
  17982. "type": "integer"
  17983. },
  17984. "oristock": {
  17985. "description": "期初库存量",
  17986. "type": "number"
  17987. },
  17988. "reckondate": {
  17989. "description": "日照时期(yyyyMMdd)",
  17990. "type": "string"
  17991. },
  17992. "spotgoodsbrandid": {
  17993. "description": "现货品牌ID",
  17994. "type": "integer"
  17995. },
  17996. "todaybuyinqty": {
  17997. "description": "今采购入库量",
  17998. "type": "number"
  17999. },
  18000. "todayproduceinqty": {
  18001. "description": "今内部入库量",
  18002. "type": "number"
  18003. },
  18004. "todayproduceoutqty": {
  18005. "description": "今内部出库量",
  18006. "type": "number"
  18007. },
  18008. "todayselloutqty": {
  18009. "description": "今销售出库量",
  18010. "type": "number"
  18011. },
  18012. "unbuyinqty": {
  18013. "description": "采购未入库量(数据库未找到相关字段?)",
  18014. "type": "number"
  18015. },
  18016. "unitid": {
  18017. "description": "品类单位id",
  18018. "type": "integer"
  18019. },
  18020. "unselloutqty": {
  18021. "description": "销售未出库量(数据库未找到相关字段?)",
  18022. "type": "number"
  18023. },
  18024. "updatetime": {
  18025. "description": "更新时间",
  18026. "type": "string"
  18027. },
  18028. "userid": {
  18029. "description": "机构ID",
  18030. "type": "integer"
  18031. },
  18032. "username": {
  18033. "description": "机构名称",
  18034. "type": "string"
  18035. },
  18036. "warehousecode": {
  18037. "description": "仓库代码",
  18038. "type": "string"
  18039. },
  18040. "warehouseinfoid": {
  18041. "description": "仓库ID",
  18042. "type": "string"
  18043. },
  18044. "warehousename": {
  18045. "description": "仓库名称",
  18046. "type": "string"
  18047. },
  18048. "warehousetype": {
  18049. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18050. "type": "integer"
  18051. },
  18052. "wrstandardcode": {
  18053. "description": "品类代码",
  18054. "type": "string"
  18055. },
  18056. "wrstandardid": {
  18057. "description": "品类ID",
  18058. "type": "integer"
  18059. },
  18060. "wrstandardname": {
  18061. "description": "品类名称",
  18062. "type": "string"
  18063. }
  18064. }
  18065. },
  18066. "models.Ermcp3ArealSumPL": {
  18067. "type": "object",
  18068. "properties": {
  18069. "accountname": {
  18070. "description": "机构名称",
  18071. "type": "string"
  18072. },
  18073. "areauserid": {
  18074. "description": "所属机构\\交易用户ID",
  18075. "type": "integer"
  18076. },
  18077. "begindate": {
  18078. "description": "开始交易日",
  18079. "type": "string"
  18080. },
  18081. "currencyid": {
  18082. "description": "结算币种ID",
  18083. "type": "integer"
  18084. },
  18085. "currencyname": {
  18086. "description": "币种名称",
  18087. "type": "string"
  18088. },
  18089. "cycletime": {
  18090. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18091. "type": "string"
  18092. },
  18093. "cycletype": {
  18094. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18095. "type": "integer"
  18096. },
  18097. "enddate": {
  18098. "description": "结束交易日",
  18099. "type": "string"
  18100. },
  18101. "enumdicname": {
  18102. "description": "单位名称(套保品种)",
  18103. "type": "string"
  18104. },
  18105. "futureactualpl": {
  18106. "description": "期货损益",
  18107. "type": "number"
  18108. },
  18109. "futurefloatpl": {
  18110. "description": "期货浮动损益",
  18111. "type": "number"
  18112. },
  18113. "goodsunitid": {
  18114. "description": "套保品种单位id",
  18115. "type": "integer"
  18116. },
  18117. "middlegoodscode": {
  18118. "description": "套保品种代码",
  18119. "type": "string"
  18120. },
  18121. "middlegoodsid": {
  18122. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18123. "type": "integer"
  18124. },
  18125. "middlegoodsname": {
  18126. "description": "套保品种名称",
  18127. "type": "string"
  18128. },
  18129. "reckondate": {
  18130. "description": "日照时期(yyyyMMdd)",
  18131. "type": "string"
  18132. },
  18133. "spotactualpl": {
  18134. "description": "现货损益",
  18135. "type": "number"
  18136. },
  18137. "spotfloatpl": {
  18138. "description": "现货浮动损益",
  18139. "type": "number"
  18140. },
  18141. "sumactualpl": {
  18142. "description": "实际损益 = (ActualPL + FutureActualPL)",
  18143. "type": "number"
  18144. },
  18145. "sumpl": {
  18146. "description": "汇总损益",
  18147. "type": "number"
  18148. },
  18149. "updatetime": {
  18150. "description": "更新时间",
  18151. "type": "string"
  18152. }
  18153. }
  18154. },
  18155. "models.Ermcp3Brand": {
  18156. "type": "object",
  18157. "properties": {
  18158. "areauserid": {
  18159. "description": "用户id",
  18160. "type": "integer"
  18161. },
  18162. "brandid": {
  18163. "description": "品牌id",
  18164. "type": "integer"
  18165. },
  18166. "brandname": {
  18167. "description": "品牌名称",
  18168. "type": "string"
  18169. },
  18170. "deliverygoodsid": {
  18171. "description": "品种ID",
  18172. "type": "integer"
  18173. }
  18174. }
  18175. },
  18176. "models.Ermcp3Contract": {
  18177. "type": "object",
  18178. "properties": {
  18179. "accountid": {
  18180. "description": "期货账户id",
  18181. "type": "string"
  18182. },
  18183. "amount": {
  18184. "description": "金额 [1:一口价、3:暂定价]",
  18185. "type": "number"
  18186. },
  18187. "attachment": {
  18188. "description": "附件",
  18189. "type": "string"
  18190. },
  18191. "auditremark": {
  18192. "description": "审核意见",
  18193. "type": "string"
  18194. },
  18195. "audittime": {
  18196. "description": "审核时间",
  18197. "type": "string"
  18198. },
  18199. "biztype": {
  18200. "description": "业务类型 1-套保 2-套利",
  18201. "type": "integer"
  18202. },
  18203. "brandname": {
  18204. "description": "品牌名称",
  18205. "type": "string"
  18206. },
  18207. "buynickname": {
  18208. "description": "销售方昵称",
  18209. "type": "string"
  18210. },
  18211. "buyuserid": {
  18212. "description": "采购方ID",
  18213. "type": "integer"
  18214. },
  18215. "buyusername": {
  18216. "description": "采购方名称",
  18217. "type": "string"
  18218. },
  18219. "contracctstatus": {
  18220. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18221. "type": "integer"
  18222. },
  18223. "contractmargin": {
  18224. "description": "合同保证金",
  18225. "type": "number"
  18226. },
  18227. "contractno": {
  18228. "description": "现货合同编号",
  18229. "type": "string"
  18230. },
  18231. "contracttype": {
  18232. "description": "现货合同类型 - 1:采购 -1:销售",
  18233. "type": "integer"
  18234. },
  18235. "convertfactor": {
  18236. "description": "标仓系数(品类)",
  18237. "type": "number"
  18238. },
  18239. "createtime": {
  18240. "description": "创建时间",
  18241. "type": "string"
  18242. },
  18243. "currencyid": {
  18244. "description": "币种id",
  18245. "type": "integer"
  18246. },
  18247. "currencyname": {
  18248. "description": "币种名称",
  18249. "type": "string"
  18250. },
  18251. "deliveryenddate": {
  18252. "description": "交收期(结束)",
  18253. "type": "string"
  18254. },
  18255. "deliverygoodscode": {
  18256. "description": "现货品种代码",
  18257. "type": "string"
  18258. },
  18259. "deliverygoodsid": {
  18260. "description": "现货品种ID",
  18261. "type": "integer"
  18262. },
  18263. "deliverygoodsname": {
  18264. "description": "现货品种名称",
  18265. "type": "string"
  18266. },
  18267. "deliverystartdate": {
  18268. "description": "交收期(开始)",
  18269. "type": "string"
  18270. },
  18271. "enddate": {
  18272. "description": "点价结束日期 [2:点价 3:暂定价]",
  18273. "type": "string"
  18274. },
  18275. "enumdicname": {
  18276. "description": "单位名称",
  18277. "type": "string"
  18278. },
  18279. "goodscode": {
  18280. "description": "点价合约代码",
  18281. "type": "string"
  18282. },
  18283. "goodsid": {
  18284. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  18285. "type": "integer"
  18286. },
  18287. "goodsname": {
  18288. "description": "点价商品名称",
  18289. "type": "string"
  18290. },
  18291. "margin": {
  18292. "description": "当前保证金",
  18293. "type": "number"
  18294. },
  18295. "meruserid": {
  18296. "description": "跟单员id",
  18297. "type": "integer"
  18298. },
  18299. "meruserlogincode": {
  18300. "description": "跟单员登录代码",
  18301. "type": "string"
  18302. },
  18303. "merusername": {
  18304. "description": "跟单员名称",
  18305. "type": "string"
  18306. },
  18307. "price": {
  18308. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  18309. "type": "number"
  18310. },
  18311. "pricemove": {
  18312. "description": "升贴水 [2:点价 3:暂定价]",
  18313. "type": "number"
  18314. },
  18315. "pricetype": {
  18316. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18317. "type": "integer"
  18318. },
  18319. "producttype": {
  18320. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18321. "type": "integer"
  18322. },
  18323. "qty": {
  18324. "description": "数量",
  18325. "type": "number"
  18326. },
  18327. "remark": {
  18328. "description": "备注",
  18329. "type": "string"
  18330. },
  18331. "saleuserid": {
  18332. "description": "业务员id",
  18333. "type": "integer"
  18334. },
  18335. "saleuserlogincode": {
  18336. "description": "业务员登录代码",
  18337. "type": "string"
  18338. },
  18339. "saleusername": {
  18340. "description": "业务员名称",
  18341. "type": "string"
  18342. },
  18343. "sellnickname": {
  18344. "description": "采购方昵称",
  18345. "type": "string"
  18346. },
  18347. "selluserid": {
  18348. "description": "销售方ID",
  18349. "type": "integer"
  18350. },
  18351. "sellusername": {
  18352. "description": "销售方名称",
  18353. "type": "string"
  18354. },
  18355. "spotcontractid": {
  18356. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  18357. "type": "string"
  18358. },
  18359. "spotgoodsbrandid": {
  18360. "description": "现货品牌ID(DGFactoryItem表的ID)",
  18361. "type": "integer"
  18362. },
  18363. "spotgoodsdesc": {
  18364. "description": "商品型号",
  18365. "type": "string"
  18366. },
  18367. "startdate": {
  18368. "description": "点价开始日期 [2:点价 3:暂定价]",
  18369. "type": "string"
  18370. },
  18371. "tradeuserid": {
  18372. "description": "交易员id",
  18373. "type": "integer"
  18374. },
  18375. "tradeuserlogincode": {
  18376. "description": "交易员登录代码",
  18377. "type": "string"
  18378. },
  18379. "tradeusername": {
  18380. "description": "交易员名称",
  18381. "type": "string"
  18382. },
  18383. "unitid": {
  18384. "description": "单位id(取品类上的单位id)",
  18385. "type": "integer"
  18386. },
  18387. "updatetime": {
  18388. "description": "更新时间",
  18389. "type": "string"
  18390. },
  18391. "userid": {
  18392. "description": "所属机构ID",
  18393. "type": "integer"
  18394. },
  18395. "wrstandardcode": {
  18396. "description": "品类代码",
  18397. "type": "string"
  18398. },
  18399. "wrstandardid": {
  18400. "description": "品类ID",
  18401. "type": "integer"
  18402. },
  18403. "wrstandardname": {
  18404. "description": "品类名称",
  18405. "type": "string"
  18406. }
  18407. }
  18408. },
  18409. "models.Ermcp3ExposureContractDetail": {
  18410. "type": "object",
  18411. "properties": {
  18412. "biztype": {
  18413. "description": "业务类型 1-套保 2-套利",
  18414. "type": "integer"
  18415. },
  18416. "brandname": {
  18417. "description": "品牌名称",
  18418. "type": "string"
  18419. },
  18420. "buyuserid": {
  18421. "description": "采购方id",
  18422. "type": "integer"
  18423. },
  18424. "buyusername": {
  18425. "description": "采购方名称",
  18426. "type": "string"
  18427. },
  18428. "contractno": {
  18429. "description": "合同编号",
  18430. "type": "string"
  18431. },
  18432. "contracttype": {
  18433. "description": "现货合同类型 - 1:采购 -1:销售",
  18434. "type": "integer"
  18435. },
  18436. "convertfactor": {
  18437. "description": "标仓系数",
  18438. "type": "number"
  18439. },
  18440. "convertratio": {
  18441. "description": "折算系数(套保品种)",
  18442. "type": "number"
  18443. },
  18444. "curqty": {
  18445. "description": "今定价量",
  18446. "type": "number"
  18447. },
  18448. "deliverygoodscode": {
  18449. "description": "现货商品代码",
  18450. "type": "string"
  18451. },
  18452. "deliverygoodsid": {
  18453. "description": "现货商品id",
  18454. "type": "integer"
  18455. },
  18456. "deliverygoodsname": {
  18457. "description": "现货商品名称",
  18458. "type": "string"
  18459. },
  18460. "diffhedgeqty": {
  18461. "description": "套保变动量",
  18462. "type": "number"
  18463. },
  18464. "diffneedhedgeqty": {
  18465. "description": "应套保变动量",
  18466. "type": "number"
  18467. },
  18468. "diffqty": {
  18469. "description": "套保品种今变动量",
  18470. "type": "number"
  18471. },
  18472. "enumdicname": {
  18473. "description": "单位名称",
  18474. "type": "string"
  18475. },
  18476. "mgunitname": {
  18477. "description": "套保品种单位名称",
  18478. "type": "string"
  18479. },
  18480. "middlegoodscode": {
  18481. "description": "套保品种代码",
  18482. "type": "string"
  18483. },
  18484. "middlegoodsid": {
  18485. "description": "套保品种id",
  18486. "type": "integer"
  18487. },
  18488. "middlegoodsname": {
  18489. "description": "套保品种名称",
  18490. "type": "string"
  18491. },
  18492. "needarbitrageratio": {
  18493. "description": "应套利比例",
  18494. "type": "number"
  18495. },
  18496. "needhedgeratio": {
  18497. "description": "应套保比例",
  18498. "type": "number"
  18499. },
  18500. "pricedqty": {
  18501. "description": "已定价量",
  18502. "type": "number"
  18503. },
  18504. "qty": {
  18505. "description": "合同量",
  18506. "type": "number"
  18507. },
  18508. "selluserid": {
  18509. "description": "销售方id",
  18510. "type": "integer"
  18511. },
  18512. "sellusername": {
  18513. "description": "销售方名称",
  18514. "type": "string"
  18515. },
  18516. "spotcontractid": {
  18517. "description": "合同id",
  18518. "type": "string"
  18519. },
  18520. "todaypricedqty": {
  18521. "description": "今定价量",
  18522. "type": "number"
  18523. },
  18524. "tradedate": {
  18525. "description": "交易日",
  18526. "type": "string"
  18527. },
  18528. "unitid": {
  18529. "description": "品类单位id",
  18530. "type": "integer"
  18531. },
  18532. "userid": {
  18533. "description": "机构id",
  18534. "type": "integer"
  18535. },
  18536. "username": {
  18537. "description": "交易用户",
  18538. "type": "string"
  18539. },
  18540. "wrstandardcode": {
  18541. "description": "品类代码",
  18542. "type": "string"
  18543. },
  18544. "wrstandardid": {
  18545. "description": "品类id",
  18546. "type": "integer"
  18547. },
  18548. "wrstandardname": {
  18549. "description": "品类名称",
  18550. "type": "string"
  18551. }
  18552. }
  18553. },
  18554. "models.Ermcp3ExposureDetail": {
  18555. "type": "object",
  18556. "properties": {
  18557. "areauserid": {
  18558. "description": "机构ID",
  18559. "type": "integer"
  18560. },
  18561. "changeQty": {
  18562. "description": "套保变动量",
  18563. "type": "number"
  18564. },
  18565. "contracttype": {
  18566. "description": "现货合同类型 - 1:采购 -1:销售",
  18567. "type": "integer"
  18568. },
  18569. "convertfactor": {
  18570. "description": "标仓系数",
  18571. "type": "number"
  18572. },
  18573. "convertratio": {
  18574. "description": "套保系数",
  18575. "type": "number"
  18576. },
  18577. "createtime": {
  18578. "description": "时间",
  18579. "type": "string"
  18580. },
  18581. "deliverygoodscode": {
  18582. "description": "现货品种代码",
  18583. "type": "string"
  18584. },
  18585. "deliverygoodsid": {
  18586. "description": "现货品种id",
  18587. "type": "integer"
  18588. },
  18589. "deliverygoodsname": {
  18590. "description": "现货品种名称",
  18591. "type": "string"
  18592. },
  18593. "enumdicname": {
  18594. "description": "现货商品单位名称",
  18595. "type": "string"
  18596. },
  18597. "logtype": {
  18598. "description": "类型 - 1:套保计划 2:现货合同",
  18599. "type": "integer"
  18600. },
  18601. "mgunitid": {
  18602. "description": "套保品种单位id",
  18603. "type": "integer"
  18604. },
  18605. "mgunitidname": {
  18606. "description": "套保品种单位名称",
  18607. "type": "string"
  18608. },
  18609. "middlegoodsId": {
  18610. "description": "套保商品id",
  18611. "type": "integer"
  18612. },
  18613. "middlegoodscode": {
  18614. "description": "套保商品代码",
  18615. "type": "string"
  18616. },
  18617. "middlegoodsname": {
  18618. "description": "套保商品名称",
  18619. "type": "string"
  18620. },
  18621. "qty": {
  18622. "description": "数量",
  18623. "type": "number"
  18624. },
  18625. "relateNo": {
  18626. "description": "现货合同/套保计划编号",
  18627. "type": "string"
  18628. }
  18629. }
  18630. },
  18631. "models.Ermcp3ExposureFutuDetail": {
  18632. "type": "object",
  18633. "properties": {
  18634. "accountid": {
  18635. "description": "交易账户id",
  18636. "type": "integer"
  18637. },
  18638. "accountname": {
  18639. "description": "交易账户",
  18640. "type": "string"
  18641. },
  18642. "begindate": {
  18643. "description": "开始交易日",
  18644. "type": "string"
  18645. },
  18646. "buyorsell": {
  18647. "description": "方向 0-买 1-卖",
  18648. "type": "integer"
  18649. },
  18650. "diffmgqty": {
  18651. "description": "套保品种今变化量",
  18652. "type": "number"
  18653. },
  18654. "diffneedqty": {
  18655. "description": "应套保总量变化量",
  18656. "type": "number"
  18657. },
  18658. "difftradeqty": {
  18659. "description": "交易品种今变化量",
  18660. "type": "number"
  18661. },
  18662. "enddate": {
  18663. "description": "结束交易日",
  18664. "type": "string"
  18665. },
  18666. "enumdicname": {
  18667. "description": "单位名称",
  18668. "type": "string"
  18669. },
  18670. "goodscode": {
  18671. "description": "商品代码",
  18672. "type": "string"
  18673. },
  18674. "goodsid": {
  18675. "description": "商品id",
  18676. "type": "integer"
  18677. },
  18678. "goodsname": {
  18679. "description": "商品名称",
  18680. "type": "string"
  18681. },
  18682. "holdqty": {
  18683. "description": "期末持仓量",
  18684. "type": "number"
  18685. },
  18686. "middlegoodscode": {
  18687. "description": "套保商品代码",
  18688. "type": "string"
  18689. },
  18690. "middlegoodsid": {
  18691. "description": "套保商品id",
  18692. "type": "integer"
  18693. },
  18694. "middlegoodsname": {
  18695. "description": "套保商品名称",
  18696. "type": "string"
  18697. },
  18698. "oriholdqty": {
  18699. "description": "期初持仓量",
  18700. "type": "number"
  18701. },
  18702. "todaycloseqty": {
  18703. "description": "今平仓量",
  18704. "type": "number"
  18705. },
  18706. "todayopenqty": {
  18707. "description": "今开仓量",
  18708. "type": "number"
  18709. },
  18710. "tradedate": {
  18711. "description": "交易日",
  18712. "type": "string"
  18713. }
  18714. }
  18715. },
  18716. "models.Ermcp3ExposureHedgeplanDetail": {
  18717. "type": "object",
  18718. "properties": {
  18719. "biztype": {
  18720. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  18721. "type": "integer"
  18722. },
  18723. "changqty": {
  18724. "description": "应套保总量变化量",
  18725. "type": "number"
  18726. },
  18727. "contracttype": {
  18728. "description": "计划类型 - 1:采购 -1:销售",
  18729. "type": "integer"
  18730. },
  18731. "convertratio": {
  18732. "description": "折算系数(套保品种)",
  18733. "type": "number"
  18734. },
  18735. "deliverygoodscode": {
  18736. "description": "现货商品代码",
  18737. "type": "string"
  18738. },
  18739. "deliverygoodsid": {
  18740. "description": "现货商品id",
  18741. "type": "integer"
  18742. },
  18743. "deliverygoodsname": {
  18744. "description": "现货商吕名称",
  18745. "type": "string"
  18746. },
  18747. "dgunitid": {
  18748. "description": "现货商品单位id",
  18749. "type": "integer"
  18750. },
  18751. "dgunitidname": {
  18752. "description": "单位名称(现货商品)",
  18753. "type": "string"
  18754. },
  18755. "diffqty": {
  18756. "description": "套保品种今变动量",
  18757. "type": "number"
  18758. },
  18759. "enumdicname": {
  18760. "description": "单位名称(品类)",
  18761. "type": "string"
  18762. },
  18763. "hedgeplanid": {
  18764. "description": "套保计划id",
  18765. "type": "string"
  18766. },
  18767. "hedgeplanno": {
  18768. "description": "套保计划名称",
  18769. "type": "string"
  18770. },
  18771. "hedgeplanstatus": {
  18772. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18773. "type": "integer"
  18774. },
  18775. "mgunitidname": {
  18776. "description": "单位名称(套保商品)",
  18777. "type": "string"
  18778. },
  18779. "middlegoodscode": {
  18780. "description": "套保品种代码",
  18781. "type": "string"
  18782. },
  18783. "middlegoodsid": {
  18784. "description": "套保品种id",
  18785. "type": "integer"
  18786. },
  18787. "middlegoodsname": {
  18788. "description": "套保品种名称",
  18789. "type": "string"
  18790. },
  18791. "needarbitrageratio": {
  18792. "description": "应套利比例",
  18793. "type": "number"
  18794. },
  18795. "needhedgeratio": {
  18796. "description": "应套保比例",
  18797. "type": "number"
  18798. },
  18799. "pricedqty": {
  18800. "description": "已定价量",
  18801. "type": "number"
  18802. },
  18803. "qty": {
  18804. "description": "合同量",
  18805. "type": "number"
  18806. },
  18807. "tradedate": {
  18808. "description": "交易日(登记日)",
  18809. "type": "string"
  18810. },
  18811. "unitid": {
  18812. "description": "品类单位id",
  18813. "type": "integer"
  18814. },
  18815. "userid": {
  18816. "description": "机构id",
  18817. "type": "integer"
  18818. },
  18819. "wrstandardcode": {
  18820. "description": "品类代码",
  18821. "type": "string"
  18822. },
  18823. "wrstandardid": {
  18824. "description": "品类id",
  18825. "type": "integer"
  18826. },
  18827. "wrstandardname": {
  18828. "description": "品类名称",
  18829. "type": "string"
  18830. }
  18831. }
  18832. },
  18833. "models.Ermcp3ExposureParamChLog": {
  18834. "type": "object",
  18835. "properties": {
  18836. "accountid": {
  18837. "description": "期货账户ID (作废, 默认为0)",
  18838. "type": "integer"
  18839. },
  18840. "aftervalue": {
  18841. "description": "应套保\\套利量变更后(调整后应套保总量)",
  18842. "type": "number"
  18843. },
  18844. "areauserid": {
  18845. "description": "所属机构\\交易用户ID",
  18846. "type": "integer"
  18847. },
  18848. "beforevalue": {
  18849. "description": "应套保\\套利量变更前(调整前应套保总量)",
  18850. "type": "number"
  18851. },
  18852. "begindate": {
  18853. "description": "开始交易日",
  18854. "type": "string"
  18855. },
  18856. "changelogtype": {
  18857. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  18858. "type": "integer"
  18859. },
  18860. "curvalue": {
  18861. "description": "当前套保\\套利量(套保总量|套利总量)",
  18862. "type": "number"
  18863. },
  18864. "diffvalue": {
  18865. "description": "应套保总量变化量",
  18866. "type": "number"
  18867. },
  18868. "enddate": {
  18869. "description": "结束交易日",
  18870. "type": "string"
  18871. },
  18872. "logdatetime": {
  18873. "description": "流水日期",
  18874. "type": "string"
  18875. },
  18876. "logid": {
  18877. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  18878. "type": "string"
  18879. },
  18880. "middlegoodscode": {
  18881. "description": "套保品种代码",
  18882. "type": "string"
  18883. },
  18884. "middlegoodsid": {
  18885. "description": "套保品种",
  18886. "type": "integer"
  18887. },
  18888. "middlegoodsname": {
  18889. "description": "套保品种名称",
  18890. "type": "string"
  18891. },
  18892. "paramaftervalue": {
  18893. "description": "参数变更后(调整后参数值)",
  18894. "type": "number"
  18895. },
  18896. "parambeforevalue": {
  18897. "description": "参数变更前(调整前参数值)",
  18898. "type": "number"
  18899. },
  18900. "tradedate": {
  18901. "description": "交易日(yyyyMMdd)",
  18902. "type": "string"
  18903. }
  18904. }
  18905. },
  18906. "models.Ermcp3ExpourseReport": {
  18907. "type": "object",
  18908. "properties": {
  18909. "accountid": {
  18910. "description": "期货账户ID (作废, 默认为0)",
  18911. "type": "integer"
  18912. },
  18913. "accountname": {
  18914. "description": "机构名称",
  18915. "type": "string"
  18916. },
  18917. "arbitrageqty": {
  18918. "description": "套利量",
  18919. "type": "number"
  18920. },
  18921. "areauserid": {
  18922. "description": "所属机构\\交易用户ID",
  18923. "type": "integer"
  18924. },
  18925. "begindate": {
  18926. "description": "开始交易日",
  18927. "type": "string"
  18928. },
  18929. "buyfutureqty": {
  18930. "description": "买入期货数量",
  18931. "type": "number"
  18932. },
  18933. "buyplanqty": {
  18934. "description": "采购计划数量",
  18935. "type": "number"
  18936. },
  18937. "buypricedqty": {
  18938. "description": "采购合同已定价数量",
  18939. "type": "number"
  18940. },
  18941. "cycletime": {
  18942. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18943. "type": "string"
  18944. },
  18945. "cycletype": {
  18946. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18947. "type": "integer"
  18948. },
  18949. "diffexposure": {
  18950. "description": "变动量(套保敞口)",
  18951. "type": "number"
  18952. },
  18953. "difffutuqty": {
  18954. "description": "变动量(期货)",
  18955. "type": "number"
  18956. },
  18957. "diffhedgeqty": {
  18958. "description": "变动量(现货应套保总量)",
  18959. "type": "number"
  18960. },
  18961. "diffmgqtya": {
  18962. "description": "套保变动量",
  18963. "type": "number"
  18964. },
  18965. "diffmgqtyb": {
  18966. "description": "套利变动量",
  18967. "type": "number"
  18968. },
  18969. "diffqty": {
  18970. "description": "变动量(总敞口)",
  18971. "type": "number"
  18972. },
  18973. "diffspotqty": {
  18974. "description": "变动量(现货)",
  18975. "type": "number"
  18976. },
  18977. "enddate": {
  18978. "description": "结束交易日",
  18979. "type": "string"
  18980. },
  18981. "enumdicname": {
  18982. "description": "单位名称",
  18983. "type": "string"
  18984. },
  18985. "hedgeqty": {
  18986. "description": "套保量",
  18987. "type": "number"
  18988. },
  18989. "mgneedhedgeratio": {
  18990. "description": "套保比例(套保品的)",
  18991. "type": "number"
  18992. },
  18993. "middlegoodsid": {
  18994. "description": "套保品种ID",
  18995. "type": "integer"
  18996. },
  18997. "middlegoodsname": {
  18998. "description": "套保商品名称",
  18999. "type": "string"
  19000. },
  19001. "middlgoodscode": {
  19002. "description": "套保商品代码",
  19003. "type": "string"
  19004. },
  19005. "needarbitrageqty": {
  19006. "description": "应套利量",
  19007. "type": "number"
  19008. },
  19009. "needarbitrageratio": {
  19010. "description": "套利比例(套保品的)",
  19011. "type": "number"
  19012. },
  19013. "needhedgeexposoure": {
  19014. "description": "应套保敞口(套保敞口)",
  19015. "type": "number"
  19016. },
  19017. "needhedgeqty": {
  19018. "description": "应套保量",
  19019. "type": "number"
  19020. },
  19021. "needhedgeratio": {
  19022. "description": "应套保敞口比例",
  19023. "type": "number"
  19024. },
  19025. "oriarbitrageqty": {
  19026. "description": "期初套利量",
  19027. "type": "number"
  19028. },
  19029. "oribuyfutureqty": {
  19030. "description": "期初买入期货数量",
  19031. "type": "number"
  19032. },
  19033. "oribuyplanqty": {
  19034. "description": "期初采购计划数量",
  19035. "type": "number"
  19036. },
  19037. "oribuypricedqty": {
  19038. "description": "期初采购合同已定价数量",
  19039. "type": "number"
  19040. },
  19041. "orihedgeqty": {
  19042. "description": "期初套保量",
  19043. "type": "number"
  19044. },
  19045. "orineedarbitrageqty": {
  19046. "description": "期初应套利量",
  19047. "type": "number"
  19048. },
  19049. "orineedhedgeexposoure": {
  19050. "description": "期初应套保敞口",
  19051. "type": "number"
  19052. },
  19053. "orineedhedgeqty": {
  19054. "description": "期初应套保量",
  19055. "type": "number"
  19056. },
  19057. "orisellfutureqty": {
  19058. "description": "期初卖出期货数量",
  19059. "type": "number"
  19060. },
  19061. "orisellplanqty": {
  19062. "description": "期初销售计划数量",
  19063. "type": "number"
  19064. },
  19065. "orisellpricedqty": {
  19066. "description": "期初销售合同已定价数量",
  19067. "type": "number"
  19068. },
  19069. "oritotalexposure": {
  19070. "description": "期初实时总敞口",
  19071. "type": "number"
  19072. },
  19073. "oritotalfutureqty": {
  19074. "description": "期初期货头寸总量",
  19075. "type": "number"
  19076. },
  19077. "oritotalneedhedgeqty": {
  19078. "description": "期初应套保总量",
  19079. "type": "number"
  19080. },
  19081. "oritotalspotqty": {
  19082. "description": "期初现货头寸总量",
  19083. "type": "number"
  19084. },
  19085. "reckondate": {
  19086. "description": "日照时期(yyyyMMdd)",
  19087. "type": "string"
  19088. },
  19089. "sellfutureqty": {
  19090. "description": "卖出期货数量",
  19091. "type": "number"
  19092. },
  19093. "sellplanqty": {
  19094. "description": "销售计划数量",
  19095. "type": "number"
  19096. },
  19097. "sellpricedqty": {
  19098. "description": "销售合同已定价数量",
  19099. "type": "number"
  19100. },
  19101. "totalexposure": {
  19102. "description": "实时总敞口(总敞口)",
  19103. "type": "number"
  19104. },
  19105. "totalfutureqty": {
  19106. "description": "期货头寸总量(期货总量)",
  19107. "type": "number"
  19108. },
  19109. "totalhedgeratio": {
  19110. "description": "敞口比例",
  19111. "type": "number"
  19112. },
  19113. "totalneedhedgeqty": {
  19114. "description": "应套保总量(现货应套保总量)",
  19115. "type": "number"
  19116. },
  19117. "totalspotqty": {
  19118. "description": "现货头寸总量",
  19119. "type": "number"
  19120. },
  19121. "unitid": {
  19122. "description": "单位id",
  19123. "type": "integer"
  19124. },
  19125. "updatetime": {
  19126. "description": "更新时间",
  19127. "type": "string"
  19128. }
  19129. }
  19130. },
  19131. "models.Ermcp3FinanceReport": {
  19132. "type": "object",
  19133. "properties": {
  19134. "accountname": {
  19135. "description": "机构名称",
  19136. "type": "string"
  19137. },
  19138. "areauserid": {
  19139. "description": "所属机构\\交易用户ID",
  19140. "type": "integer"
  19141. },
  19142. "begindate": {
  19143. "description": "开始交易日",
  19144. "type": "string"
  19145. },
  19146. "biztype": {
  19147. "description": "业务类型 - 1:套保 2:套利",
  19148. "type": "integer"
  19149. },
  19150. "brandname": {
  19151. "description": "品牌名称",
  19152. "type": "string"
  19153. },
  19154. "buypreinvoicedamount": {
  19155. "description": "采购预收票额(预收票额)",
  19156. "type": "number"
  19157. },
  19158. "buyprepaidamount": {
  19159. "description": "采购预付款额(预付货款额)",
  19160. "type": "number"
  19161. },
  19162. "buytodayinvoiceamount": {
  19163. "description": "采购今收票额(今收票额)",
  19164. "type": "number"
  19165. },
  19166. "buytodayrefundamount": {
  19167. "description": "采购今收退款额(今收退款额)",
  19168. "type": "number"
  19169. },
  19170. "buytodaysettleamount": {
  19171. "description": "采购今付款额(今付货款额)",
  19172. "type": "number"
  19173. },
  19174. "buyuninvoicedamount": {
  19175. "description": "采购应收票额(应收票额)",
  19176. "type": "number"
  19177. },
  19178. "buyunpaidamount": {
  19179. "description": "采购应付款额(应付货款额)",
  19180. "type": "number"
  19181. },
  19182. "currencyid": {
  19183. "description": "结算币种ID",
  19184. "type": "integer"
  19185. },
  19186. "currencyname": {
  19187. "description": "币种名称",
  19188. "type": "string"
  19189. },
  19190. "cycletime": {
  19191. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19192. "type": "string"
  19193. },
  19194. "cycletype": {
  19195. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19196. "type": "integer"
  19197. },
  19198. "deliverygoodscode": {
  19199. "description": "现货品种代码",
  19200. "type": "string"
  19201. },
  19202. "deliverygoodsid": {
  19203. "description": "现货品种ID",
  19204. "type": "integer"
  19205. },
  19206. "deliverygoodsname": {
  19207. "description": "现货品种名称",
  19208. "type": "string"
  19209. },
  19210. "enddate": {
  19211. "description": "结束交易日",
  19212. "type": "string"
  19213. },
  19214. "reckondate": {
  19215. "description": "日照时期(yyyyMMdd)",
  19216. "type": "string"
  19217. },
  19218. "sellpreinvoicedamount": {
  19219. "description": "销售预开票额(预开票额)",
  19220. "type": "number"
  19221. },
  19222. "sellprepaidamount": {
  19223. "description": "销售预收款额(预收货款额)",
  19224. "type": "number"
  19225. },
  19226. "selltodayinvoiceamount": {
  19227. "description": "销售今开票额(今开票额)",
  19228. "type": "number"
  19229. },
  19230. "selltodayrefundamount": {
  19231. "description": "销售今付退款额(今付退款额)",
  19232. "type": "number"
  19233. },
  19234. "selltodaysettleamount": {
  19235. "description": "销售今收款额(今收货款额)",
  19236. "type": "number"
  19237. },
  19238. "selluninvoicedamount": {
  19239. "description": "销售应开票额(应开票额)",
  19240. "type": "number"
  19241. },
  19242. "sellunpaidamount": {
  19243. "description": "销售应收款额(应收货款额)",
  19244. "type": "number"
  19245. },
  19246. "spotgoodsbrandid": {
  19247. "description": "现货品牌ID",
  19248. "type": "integer"
  19249. },
  19250. "todaypaysum": {
  19251. "description": "今付款合计",
  19252. "type": "number"
  19253. },
  19254. "todayreceivesum": {
  19255. "description": "今收款合计",
  19256. "type": "number"
  19257. },
  19258. "updatetime": {
  19259. "description": "更新时间",
  19260. "type": "string"
  19261. },
  19262. "wrfactortypeid": {
  19263. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19264. "type": "integer"
  19265. },
  19266. "wrstandardcode": {
  19267. "description": "品类代码",
  19268. "type": "string"
  19269. },
  19270. "wrstandardid": {
  19271. "description": "现货商品ID",
  19272. "type": "integer"
  19273. },
  19274. "wrstandardname": {
  19275. "description": "品类名称",
  19276. "type": "string"
  19277. }
  19278. }
  19279. },
  19280. "models.Ermcp3Goods": {
  19281. "type": "object",
  19282. "properties": {
  19283. "agreeunit": {
  19284. "description": "合约单位(合约乘数)",
  19285. "type": "number"
  19286. },
  19287. "enumdicname": {
  19288. "description": "单位名称",
  19289. "type": "string"
  19290. },
  19291. "exexchangecode": {
  19292. "description": "交易所代码",
  19293. "type": "string"
  19294. },
  19295. "goodscode": {
  19296. "description": "期货商品代码",
  19297. "type": "string"
  19298. },
  19299. "goodsid": {
  19300. "description": "期货商品id",
  19301. "type": "integer"
  19302. },
  19303. "goodsname": {
  19304. "description": "期货商品名称",
  19305. "type": "string"
  19306. }
  19307. }
  19308. },
  19309. "models.Ermcp3GoodsGroup": {
  19310. "type": "object",
  19311. "required": [
  19312. "areauserid"
  19313. ],
  19314. "properties": {
  19315. "agreeunit": {
  19316. "description": "合约单位",
  19317. "type": "number"
  19318. },
  19319. "areauserid": {
  19320. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  19321. "type": "integer"
  19322. },
  19323. "canshort": {
  19324. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19325. "type": "integer"
  19326. },
  19327. "closepricemode": {
  19328. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19329. "type": "integer"
  19330. },
  19331. "createtime": {
  19332. "description": "创建时间",
  19333. "type": "string"
  19334. },
  19335. "creatorid": {
  19336. "description": "创建人",
  19337. "type": "integer"
  19338. },
  19339. "currencyid": {
  19340. "description": "报价货币ID",
  19341. "type": "integer"
  19342. },
  19343. "decimalplace": {
  19344. "description": "报价小数位",
  19345. "type": "integer"
  19346. },
  19347. "enumdicname": {
  19348. "description": "单位名称",
  19349. "type": "string"
  19350. },
  19351. "exchangefullname": {
  19352. "description": "交易所全称",
  19353. "type": "string"
  19354. },
  19355. "excludecfg": {
  19356. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  19357. "type": "integer"
  19358. },
  19359. "exexchangecode": {
  19360. "description": "交易所代码",
  19361. "type": "string"
  19362. },
  19363. "exexchangeid": {
  19364. "description": "外部交易所ID[通道交易]",
  19365. "type": "integer"
  19366. },
  19367. "exexchangename": {
  19368. "description": "交易所名称",
  19369. "type": "string"
  19370. },
  19371. "goodsgroupid": {
  19372. "description": "商品组ID(自增ID)",
  19373. "type": "integer"
  19374. },
  19375. "goodsgroupname": {
  19376. "description": "商品组名称",
  19377. "type": "string"
  19378. },
  19379. "goodsgroupstatus": {
  19380. "description": "商品组状态 - 1:正常 2:注销",
  19381. "type": "integer"
  19382. },
  19383. "goodunitid": {
  19384. "description": "报价单位ID",
  19385. "type": "integer"
  19386. },
  19387. "groupcategroyid": {
  19388. "description": "品种分类ID",
  19389. "type": "integer"
  19390. },
  19391. "innerdealmode": {
  19392. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19393. "type": "integer"
  19394. },
  19395. "marketid": {
  19396. "description": "所属市场ID",
  19397. "type": "integer"
  19398. },
  19399. "modifierid": {
  19400. "description": "修改人",
  19401. "type": "integer"
  19402. },
  19403. "modifytime": {
  19404. "description": "修改时间",
  19405. "type": "string"
  19406. },
  19407. "outerdealmode": {
  19408. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19409. "type": "integer"
  19410. },
  19411. "outergroupcode": {
  19412. "description": "外部商品组代码[通道交易]",
  19413. "type": "string"
  19414. },
  19415. "quoteminunit": {
  19416. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19417. "type": "integer"
  19418. },
  19419. "quotesourcegroupid": {
  19420. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19421. "type": "integer"
  19422. },
  19423. "syncgoodsqty": {
  19424. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19425. "type": "integer"
  19426. }
  19427. }
  19428. },
  19429. "models.Ermcp3GoodsGroupEx": {
  19430. "type": "object",
  19431. "properties": {
  19432. "convertratio": {
  19433. "description": "折算系数(品种系数)",
  19434. "type": "number"
  19435. },
  19436. "enumdicname": {
  19437. "description": "单位名称",
  19438. "type": "string"
  19439. },
  19440. "exexchangecode": {
  19441. "description": "交易所代码",
  19442. "type": "string"
  19443. },
  19444. "glist": {
  19445. "description": "合约列表",
  19446. "type": "array",
  19447. "items": {
  19448. "$ref": "#/definitions/models.Ermcp3Goods"
  19449. }
  19450. },
  19451. "goodsgroupid": {
  19452. "description": "商品组id",
  19453. "type": "integer"
  19454. },
  19455. "goodsgroupname": {
  19456. "description": "商品组名称",
  19457. "type": "string"
  19458. },
  19459. "goodsunitid": {
  19460. "description": "单位id",
  19461. "type": "integer"
  19462. },
  19463. "middlegoodsid": {
  19464. "description": "套保商品id",
  19465. "type": "integer"
  19466. }
  19467. }
  19468. },
  19469. "models.Ermcp3HedgePlan": {
  19470. "type": "object",
  19471. "properties": {
  19472. "accountid": {
  19473. "description": "资金账号",
  19474. "type": "integer"
  19475. },
  19476. "areauserid": {
  19477. "description": "用户ID",
  19478. "type": "integer"
  19479. },
  19480. "auditid": {
  19481. "description": "审核id",
  19482. "type": "integer"
  19483. },
  19484. "auditname": {
  19485. "description": "审核人名称",
  19486. "type": "string"
  19487. },
  19488. "auditremark": {
  19489. "description": "审核备注",
  19490. "type": "string"
  19491. },
  19492. "auditsrc": {
  19493. "description": "审核来源 1-管理端 2-终端",
  19494. "type": "integer"
  19495. },
  19496. "audittime": {
  19497. "description": "审核时间",
  19498. "type": "string"
  19499. },
  19500. "contracttype": {
  19501. "description": "计划类型 - 1:采购 -1:销售",
  19502. "type": "integer"
  19503. },
  19504. "convertfactor": {
  19505. "description": "标仓系数",
  19506. "type": "number"
  19507. },
  19508. "createtime": {
  19509. "description": "创建时间",
  19510. "type": "string"
  19511. },
  19512. "currencyid": {
  19513. "description": "币种id",
  19514. "type": "integer"
  19515. },
  19516. "currencyname": {
  19517. "description": "币种名称",
  19518. "type": "string"
  19519. },
  19520. "deliverygoodscode": {
  19521. "description": "现货品种代码",
  19522. "type": "string"
  19523. },
  19524. "deliverygoodsid": {
  19525. "description": "现货品种ID",
  19526. "type": "integer"
  19527. },
  19528. "deliverygoodsname": {
  19529. "description": "现货品种名称",
  19530. "type": "string"
  19531. },
  19532. "enumdicname": {
  19533. "description": "单位名称(现货商品)",
  19534. "type": "string"
  19535. },
  19536. "hedgeplanid": {
  19537. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  19538. "type": "string"
  19539. },
  19540. "hedgeplanno": {
  19541. "description": "套保计划编号(名称)",
  19542. "type": "string"
  19543. },
  19544. "hedgeplanstatus": {
  19545. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19546. "type": "integer"
  19547. },
  19548. "planqty": {
  19549. "description": "计划数量",
  19550. "type": "number"
  19551. },
  19552. "plantime": {
  19553. "description": "计划时间",
  19554. "type": "string"
  19555. },
  19556. "producttype": {
  19557. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19558. "type": "integer"
  19559. },
  19560. "remark": {
  19561. "description": "备注",
  19562. "type": "string"
  19563. },
  19564. "spotgoodsdesc": {
  19565. "description": "商品型号",
  19566. "type": "string"
  19567. },
  19568. "taaccountname": {
  19569. "description": "资金账号名称",
  19570. "type": "string"
  19571. },
  19572. "tradeuserid": {
  19573. "description": "交易用户id",
  19574. "type": "integer"
  19575. },
  19576. "tradeusername": {
  19577. "description": "交易用户名称",
  19578. "type": "string"
  19579. },
  19580. "unitid": {
  19581. "description": "单位id(现货商品)",
  19582. "type": "integer"
  19583. },
  19584. "updatetime": {
  19585. "description": "更新时间",
  19586. "type": "string"
  19587. },
  19588. "wrstandardcode": {
  19589. "description": "品类代码",
  19590. "type": "string"
  19591. },
  19592. "wrstandardid": {
  19593. "description": "品类id",
  19594. "type": "integer"
  19595. },
  19596. "wrstandardname": {
  19597. "description": "品类名称",
  19598. "type": "string"
  19599. },
  19600. "wrunitid": {
  19601. "description": "品类单位id",
  19602. "type": "integer"
  19603. },
  19604. "wrunitidame": {
  19605. "description": "品类单位名称",
  19606. "type": "string"
  19607. }
  19608. }
  19609. },
  19610. "models.Ermcp3MiddleGoodsDetail2": {
  19611. "type": "object",
  19612. "properties": {
  19613. "convertratio": {
  19614. "description": "套保系数(折算系数)",
  19615. "type": "number"
  19616. },
  19617. "gplist": {
  19618. "description": "关联商品组列表",
  19619. "type": "array",
  19620. "items": {
  19621. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  19622. }
  19623. },
  19624. "mg": {
  19625. "description": "套保商品信息",
  19626. "type": "object",
  19627. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19628. }
  19629. }
  19630. },
  19631. "models.Ermcp3MiddleGoodsDetailEx": {
  19632. "type": "object",
  19633. "properties": {
  19634. "dglist": {
  19635. "description": "关联的现货品种列表",
  19636. "type": "array",
  19637. "items": {
  19638. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  19639. }
  19640. },
  19641. "gplist": {
  19642. "description": "关联商品组列表",
  19643. "type": "array",
  19644. "items": {
  19645. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  19646. }
  19647. },
  19648. "mg": {
  19649. "description": "套保商品信息",
  19650. "type": "object",
  19651. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19652. }
  19653. }
  19654. },
  19655. "models.Ermcp3PaAreaAuditCfg": {
  19656. "type": "object",
  19657. "properties": {
  19658. "areauserid": {
  19659. "description": "用户ID",
  19660. "type": "integer"
  19661. },
  19662. "buyinauditflag": {
  19663. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  19664. "type": "integer"
  19665. },
  19666. "customerauditflag": {
  19667. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  19668. "type": "integer"
  19669. },
  19670. "deliveryauditflag": {
  19671. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  19672. "type": "integer"
  19673. },
  19674. "invoiceauditflag": {
  19675. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  19676. "type": "integer"
  19677. },
  19678. "moneyauditflag": {
  19679. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  19680. "type": "integer"
  19681. },
  19682. "operatorid": {
  19683. "description": "操作人",
  19684. "type": "integer"
  19685. },
  19686. "operatorsrc": {
  19687. "description": "操作来源 - 1:管理端 2:终端",
  19688. "type": "integer"
  19689. },
  19690. "pointpriceauditflag": {
  19691. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  19692. "type": "integer"
  19693. },
  19694. "produceinauditflag": {
  19695. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  19696. "type": "integer"
  19697. },
  19698. "produceoutauditflag": {
  19699. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  19700. "type": "integer"
  19701. },
  19702. "selloutauditflag": {
  19703. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  19704. "type": "integer"
  19705. },
  19706. "spotcontractauditflag": {
  19707. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  19708. "type": "integer"
  19709. },
  19710. "updatetime": {
  19711. "description": "更新时间",
  19712. "type": "string"
  19713. }
  19714. }
  19715. },
  19716. "models.Ermcp3PaAreaSubject": {
  19717. "type": "object",
  19718. "properties": {
  19719. "areauserid": {
  19720. "description": "所属机构",
  19721. "type": "integer"
  19722. },
  19723. "canmodify": {
  19724. "description": "是否可修改 - 0:否 1:是",
  19725. "type": "integer"
  19726. },
  19727. "createtime": {
  19728. "description": "创建时间",
  19729. "type": "string"
  19730. },
  19731. "creatorid": {
  19732. "description": "创建人ID",
  19733. "type": "string"
  19734. },
  19735. "creatorsrc": {
  19736. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  19737. "type": "integer"
  19738. },
  19739. "modifierid": {
  19740. "description": "修改人",
  19741. "type": "string"
  19742. },
  19743. "modifiersrc": {
  19744. "description": "修改人来源 - 1:管理端 2:终端",
  19745. "type": "integer"
  19746. },
  19747. "modifytime": {
  19748. "description": "修改时间",
  19749. "type": "string"
  19750. },
  19751. "parentsubjectid": {
  19752. "description": "上级主体ID",
  19753. "type": "string"
  19754. },
  19755. "remark": {
  19756. "description": "备注",
  19757. "type": "string"
  19758. },
  19759. "subjectid": {
  19760. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  19761. "type": "integer"
  19762. },
  19763. "subjectname": {
  19764. "description": "主体名称",
  19765. "type": "string"
  19766. },
  19767. "subjectstatus": {
  19768. "description": "主体状态 - 1:正常 2: 停用",
  19769. "type": "integer"
  19770. },
  19771. "subjecttype": {
  19772. "description": "主体类型 - 1:交易主体 2:业务部门",
  19773. "type": "integer"
  19774. }
  19775. }
  19776. },
  19777. "models.Ermcp3RootUserAccount": {
  19778. "type": "object",
  19779. "properties": {
  19780. "accountname": {
  19781. "description": "账户名称(机构名称)",
  19782. "type": "string"
  19783. },
  19784. "accountstatus": {
  19785. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  19786. "type": "integer"
  19787. },
  19788. "applysrc": {
  19789. "description": "申请来源 - 1:管理端 2:终端",
  19790. "type": "integer"
  19791. },
  19792. "auditremark": {
  19793. "description": "审核备注",
  19794. "type": "string"
  19795. },
  19796. "auditsrc": {
  19797. "description": "审核来源 - 1:管理端 2:终端",
  19798. "type": "integer"
  19799. },
  19800. "audittime": {
  19801. "description": "审核时间",
  19802. "type": "string"
  19803. },
  19804. "audituserid": {
  19805. "description": "审核人",
  19806. "type": "integer"
  19807. },
  19808. "broker": {
  19809. "description": "所属经纪人ID",
  19810. "type": "integer"
  19811. },
  19812. "canceltime": {
  19813. "description": "销户时间",
  19814. "type": "string"
  19815. },
  19816. "canceluserid": {
  19817. "description": "销户人",
  19818. "type": "integer"
  19819. },
  19820. "canrecommend": {
  19821. "description": "是否可推荐 - 0:不可 1;可",
  19822. "type": "integer"
  19823. },
  19824. "createtime": {
  19825. "description": "创建时间",
  19826. "type": "string"
  19827. },
  19828. "creatorid": {
  19829. "description": "创建人",
  19830. "type": "integer"
  19831. },
  19832. "hasauth": {
  19833. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  19834. "type": "integer"
  19835. },
  19836. "isanonymous": {
  19837. "description": "是否匿名下单 - 0:否 1:是",
  19838. "type": "integer"
  19839. },
  19840. "maxinvestornum": {
  19841. "description": "最大用户数(经纪会员下投资者个数)",
  19842. "type": "integer"
  19843. },
  19844. "memberuserid": {
  19845. "description": "所属会员ID",
  19846. "type": "integer"
  19847. },
  19848. "modifierid": {
  19849. "description": "修改人",
  19850. "type": "integer"
  19851. },
  19852. "modifyremark": {
  19853. "description": "变更备注",
  19854. "type": "string"
  19855. },
  19856. "modifystatus": {
  19857. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  19858. "type": "integer"
  19859. },
  19860. "modifytime": {
  19861. "description": "修改时间",
  19862. "type": "string"
  19863. },
  19864. "parenttopuser": {
  19865. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  19866. "type": "string"
  19867. },
  19868. "parentuserid": {
  19869. "description": "所属机构ID",
  19870. "type": "integer"
  19871. },
  19872. "reckonaccountid": {
  19873. "description": "默认结算资金账号ID(机构分润使用) 作废",
  19874. "type": "integer"
  19875. },
  19876. "refercount": {
  19877. "description": "推荐总人数",
  19878. "type": "integer"
  19879. },
  19880. "refereeuserid": {
  19881. "description": "推荐人ID",
  19882. "type": "integer"
  19883. },
  19884. "refernum": {
  19885. "description": "推荐码",
  19886. "type": "string"
  19887. },
  19888. "rootuserid": {
  19889. "description": "根用户ID",
  19890. "type": "integer"
  19891. },
  19892. "subaccountlevel": {
  19893. "description": "子账户层数",
  19894. "type": "integer"
  19895. },
  19896. "subarealevelpath": {
  19897. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  19898. "type": "string"
  19899. },
  19900. "userid": {
  19901. "description": "用户ID",
  19902. "type": "integer"
  19903. },
  19904. "usertype": {
  19905. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  19906. "type": "integer"
  19907. }
  19908. }
  19909. },
  19910. "models.Ermcp3SellBuyContract": {
  19911. "type": "object",
  19912. "properties": {
  19913. "accountid": {
  19914. "description": "期货账户id",
  19915. "type": "string"
  19916. },
  19917. "accountname": {
  19918. "description": "账户名称",
  19919. "type": "string"
  19920. },
  19921. "attachment": {
  19922. "description": "附件",
  19923. "type": "string"
  19924. },
  19925. "audittime": {
  19926. "description": "审核时间",
  19927. "type": "string"
  19928. },
  19929. "biztype": {
  19930. "description": "业务类型 1-套保 2-套利",
  19931. "type": "integer"
  19932. },
  19933. "brandname": {
  19934. "description": "品牌名称",
  19935. "type": "string"
  19936. },
  19937. "contracctstatus": {
  19938. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19939. "type": "integer"
  19940. },
  19941. "contractmargin": {
  19942. "description": "合同保证金",
  19943. "type": "number"
  19944. },
  19945. "contractno": {
  19946. "description": "合同编号",
  19947. "type": "string"
  19948. },
  19949. "contracttype": {
  19950. "description": "合同类型 1-采购, -1-销售",
  19951. "type": "integer"
  19952. },
  19953. "convertfactor": {
  19954. "description": "标仓系数(品类)",
  19955. "type": "number"
  19956. },
  19957. "createtime": {
  19958. "description": "创建时间",
  19959. "type": "string"
  19960. },
  19961. "currencyid": {
  19962. "description": "币种id",
  19963. "type": "integer"
  19964. },
  19965. "currencyname": {
  19966. "description": "币种名称",
  19967. "type": "string"
  19968. },
  19969. "daikaiamount": {
  19970. "description": "应收(开)票额",
  19971. "type": "number"
  19972. },
  19973. "deliveryenddate": {
  19974. "description": "交割结束日",
  19975. "type": "string"
  19976. },
  19977. "deliverygoodscode": {
  19978. "description": "现货品种代码",
  19979. "type": "string"
  19980. },
  19981. "deliverygoodsid": {
  19982. "description": "现货商品ID",
  19983. "type": "integer"
  19984. },
  19985. "deliverygoodsname": {
  19986. "description": "现货品种名称",
  19987. "type": "string"
  19988. },
  19989. "deliverystartdate": {
  19990. "description": "交割开始日",
  19991. "type": "string"
  19992. },
  19993. "enddate": {
  19994. "description": "点价结束日",
  19995. "type": "string"
  19996. },
  19997. "enumdicname": {
  19998. "description": "单位名称",
  19999. "type": "string"
  20000. },
  20001. "goodscode": {
  20002. "description": "点价商品代码",
  20003. "type": "string"
  20004. },
  20005. "goodsid": {
  20006. "description": "点价商品ID",
  20007. "type": "integer"
  20008. },
  20009. "goodsname": {
  20010. "description": "点价商品名称",
  20011. "type": "string"
  20012. },
  20013. "invoiceamount": {
  20014. "description": "已开票额",
  20015. "type": "number"
  20016. },
  20017. "loanamount": {
  20018. "description": "贷款总额=已定价额+调整金额",
  20019. "type": "number"
  20020. },
  20021. "margin": {
  20022. "description": "保证金",
  20023. "type": "number"
  20024. },
  20025. "meruserid": {
  20026. "description": "跟单员id",
  20027. "type": "integer"
  20028. },
  20029. "meruserlogincode": {
  20030. "description": "跟单员登录代码",
  20031. "type": "string"
  20032. },
  20033. "merusername": {
  20034. "description": "跟单员名称",
  20035. "type": "string"
  20036. },
  20037. "nickname": {
  20038. "description": "账户昵称",
  20039. "type": "string"
  20040. },
  20041. "payamount": {
  20042. "description": "已收付额(收款或付款)",
  20043. "type": "number"
  20044. },
  20045. "preinvoiceamount": {
  20046. "description": "预收(开)票额",
  20047. "type": "number"
  20048. },
  20049. "prepayamount": {
  20050. "description": "预收付额",
  20051. "type": "number"
  20052. },
  20053. "price": {
  20054. "description": "价格",
  20055. "type": "number"
  20056. },
  20057. "pricedamount": {
  20058. "description": "已定价额",
  20059. "type": "number"
  20060. },
  20061. "pricedavg": {
  20062. "description": "已点均价",
  20063. "type": "number"
  20064. },
  20065. "pricedqty": {
  20066. "description": "已定价量",
  20067. "type": "number"
  20068. },
  20069. "pricemove": {
  20070. "description": "升贴水",
  20071. "type": "number"
  20072. },
  20073. "pricetype": {
  20074. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20075. "type": "integer"
  20076. },
  20077. "producttype": {
  20078. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20079. "type": "integer"
  20080. },
  20081. "qty": {
  20082. "description": "合同量",
  20083. "type": "number"
  20084. },
  20085. "reckonadjustamount": {
  20086. "description": "调整金额",
  20087. "type": "number"
  20088. },
  20089. "reckonedamount": {
  20090. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  20091. "type": "number"
  20092. },
  20093. "reckonotheramount": {
  20094. "description": "其它费用",
  20095. "type": "number"
  20096. },
  20097. "reckonrealqty": {
  20098. "description": "已确定量",
  20099. "type": "number"
  20100. },
  20101. "remark": {
  20102. "description": "备注",
  20103. "type": "string"
  20104. },
  20105. "saleuserid": {
  20106. "description": "业务员id",
  20107. "type": "integer"
  20108. },
  20109. "saleuserlogincode": {
  20110. "description": "业务员登录代码",
  20111. "type": "string"
  20112. },
  20113. "saleusername": {
  20114. "description": "业务员名称",
  20115. "type": "string"
  20116. },
  20117. "spotcontractid": {
  20118. "description": "合同ID",
  20119. "type": "string"
  20120. },
  20121. "spotgoodsbrandid": {
  20122. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20123. "type": "integer"
  20124. },
  20125. "spotgoodsdesc": {
  20126. "description": "商品型号(商品规格)",
  20127. "type": "string"
  20128. },
  20129. "startdate": {
  20130. "description": "点价开始日",
  20131. "type": "string"
  20132. },
  20133. "totalamount": {
  20134. "description": "合计总额",
  20135. "type": "number"
  20136. },
  20137. "tradeuserid": {
  20138. "description": "交易员id",
  20139. "type": "integer"
  20140. },
  20141. "tradeuserlogincode": {
  20142. "description": "交易员登录代码",
  20143. "type": "string"
  20144. },
  20145. "tradeusername": {
  20146. "description": "交易员名称",
  20147. "type": "string"
  20148. },
  20149. "unpayamount": {
  20150. "description": "应收付款额(应支付或应收款)",
  20151. "type": "number"
  20152. },
  20153. "unpricedqty": {
  20154. "description": "未定价量",
  20155. "type": "number"
  20156. },
  20157. "unsureqty": {
  20158. "description": "未确定量",
  20159. "type": "number"
  20160. },
  20161. "userid": {
  20162. "description": "机构ID",
  20163. "type": "integer"
  20164. },
  20165. "wrstandardcode": {
  20166. "description": "品类代码",
  20167. "type": "string"
  20168. },
  20169. "wrstandardid": {
  20170. "description": "品类ID",
  20171. "type": "integer"
  20172. },
  20173. "wrstandardname": {
  20174. "description": "品类名称",
  20175. "type": "string"
  20176. }
  20177. }
  20178. },
  20179. "models.Ermcp3SpotGoodsPrice": {
  20180. "type": "object",
  20181. "properties": {
  20182. "areauserid": {
  20183. "description": "所属机构id",
  20184. "type": "integer"
  20185. },
  20186. "brandname": {
  20187. "description": "品牌名称",
  20188. "type": "string"
  20189. },
  20190. "currencyid": {
  20191. "description": "报价货币ID",
  20192. "type": "integer"
  20193. },
  20194. "currencyname": {
  20195. "description": "币种名称",
  20196. "type": "string"
  20197. },
  20198. "deliverygoodscode": {
  20199. "description": "现货商品代码",
  20200. "type": "string"
  20201. },
  20202. "deliverygoodsid": {
  20203. "description": "现货商品id",
  20204. "type": "integer"
  20205. },
  20206. "deliverygoodsname": {
  20207. "description": "现货商品名称",
  20208. "type": "string"
  20209. },
  20210. "enumdicname": {
  20211. "description": "现货商品单位名称",
  20212. "type": "string"
  20213. },
  20214. "gbenumdicname": {
  20215. "description": "品类单位名称",
  20216. "type": "string"
  20217. },
  20218. "gmunitid": {
  20219. "description": "品类单位id",
  20220. "type": "integer"
  20221. },
  20222. "isvalid": {
  20223. "description": "是否有效 - 0:无效 1:有效",
  20224. "type": "integer"
  20225. },
  20226. "operateid": {
  20227. "description": "最后操作人",
  20228. "type": "integer"
  20229. },
  20230. "operatesrc": {
  20231. "description": "最后操作来源 - 1:管理端 2:终端",
  20232. "type": "integer"
  20233. },
  20234. "operatetime": {
  20235. "description": "最后操作时间",
  20236. "type": "string"
  20237. },
  20238. "operatorname": {
  20239. "description": "操作人名称",
  20240. "type": "string"
  20241. },
  20242. "spotgoodsbrandid": {
  20243. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  20244. "type": "integer"
  20245. },
  20246. "spotgoodsprice": {
  20247. "description": "现货价格",
  20248. "type": "number"
  20249. },
  20250. "tradedate": {
  20251. "description": "交易日(yyyyMMdd)",
  20252. "type": "string"
  20253. },
  20254. "unitid": {
  20255. "description": "现货商品单位id",
  20256. "type": "integer"
  20257. },
  20258. "wrstandardcode": {
  20259. "description": "品类代码",
  20260. "type": "string"
  20261. },
  20262. "wrstandardid": {
  20263. "description": "现货品类ID(通用则为0)",
  20264. "type": "integer"
  20265. },
  20266. "wrstandardname": {
  20267. "description": "品类名称",
  20268. "type": "string"
  20269. }
  20270. }
  20271. },
  20272. "models.Ermcp3SpotGoodsPriceLog": {
  20273. "type": "object",
  20274. "properties": {
  20275. "areauserid": {
  20276. "description": "所属机构id",
  20277. "type": "integer"
  20278. },
  20279. "brandname": {
  20280. "description": "品牌名称",
  20281. "type": "string"
  20282. },
  20283. "currencyid": {
  20284. "description": "报价货币ID",
  20285. "type": "integer"
  20286. },
  20287. "deliverygoodscode": {
  20288. "description": "现货商品代码",
  20289. "type": "string"
  20290. },
  20291. "deliverygoodsid": {
  20292. "description": "现货商品id",
  20293. "type": "integer"
  20294. },
  20295. "deliverygoodsname": {
  20296. "description": "现货商品名称",
  20297. "type": "string"
  20298. },
  20299. "enumdicname": {
  20300. "description": "现货商品单位名称",
  20301. "type": "string"
  20302. },
  20303. "gbenumdicname": {
  20304. "description": "品类单位名称",
  20305. "type": "string"
  20306. },
  20307. "gmunitid": {
  20308. "description": "品类单位id",
  20309. "type": "integer"
  20310. },
  20311. "logid": {
  20312. "description": "日志id",
  20313. "type": "integer"
  20314. },
  20315. "operateid": {
  20316. "description": "最后操作人",
  20317. "type": "integer"
  20318. },
  20319. "operatesrc": {
  20320. "description": "最后操作来源 - 1:管理端 2:终端",
  20321. "type": "integer"
  20322. },
  20323. "operatetime": {
  20324. "description": "最后操作时间",
  20325. "type": "string"
  20326. },
  20327. "operatorname": {
  20328. "description": "操作人名称",
  20329. "type": "string"
  20330. },
  20331. "spotgoodsbrandid": {
  20332. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  20333. "type": "integer"
  20334. },
  20335. "spotgoodsprice": {
  20336. "description": "现货价格",
  20337. "type": "number"
  20338. },
  20339. "tradedate": {
  20340. "description": "交易日(yyyyMMdd)",
  20341. "type": "string"
  20342. },
  20343. "unitid": {
  20344. "description": "现货商品单位id",
  20345. "type": "integer"
  20346. },
  20347. "wrstandardcode": {
  20348. "description": "品类代码",
  20349. "type": "string"
  20350. },
  20351. "wrstandardid": {
  20352. "description": "现货品类ID(通用则为0)",
  20353. "type": "integer"
  20354. },
  20355. "wrstandardname": {
  20356. "description": "品类名称",
  20357. "type": "string"
  20358. }
  20359. }
  20360. },
  20361. "models.Ermcp3TaFutuReDataReport": {
  20362. "type": "object",
  20363. "properties": {
  20364. "accountid": {
  20365. "description": "交易账户",
  20366. "type": "integer"
  20367. },
  20368. "accountname": {
  20369. "description": "交易账号名称",
  20370. "type": "string"
  20371. },
  20372. "agreeunit": {
  20373. "description": "商品合约单位",
  20374. "type": "number"
  20375. },
  20376. "begindate": {
  20377. "description": "开始交易日",
  20378. "type": "string"
  20379. },
  20380. "buyorsell": {
  20381. "description": "持仓方向",
  20382. "type": "integer"
  20383. },
  20384. "charge": {
  20385. "description": "手续费",
  20386. "type": "number"
  20387. },
  20388. "closeavgprice": {
  20389. "description": "平仓均价",
  20390. "type": "number"
  20391. },
  20392. "closepl": {
  20393. "description": "平仓损益",
  20394. "type": "number"
  20395. },
  20396. "currencyid": {
  20397. "description": "结算币种ID",
  20398. "type": "integer"
  20399. },
  20400. "currencyname": {
  20401. "description": "币种名称",
  20402. "type": "string"
  20403. },
  20404. "cycletime": {
  20405. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20406. "type": "string"
  20407. },
  20408. "cycletype": {
  20409. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20410. "type": "integer"
  20411. },
  20412. "enddate": {
  20413. "description": "结束交易日",
  20414. "type": "string"
  20415. },
  20416. "enumdicname": {
  20417. "description": "单位名称",
  20418. "type": "string"
  20419. },
  20420. "floatpl": {
  20421. "description": "浮动损益",
  20422. "type": "number"
  20423. },
  20424. "goodscode": {
  20425. "description": "交易合约代码",
  20426. "type": "string"
  20427. },
  20428. "goodsgroupid": {
  20429. "description": "交易品种",
  20430. "type": "integer"
  20431. },
  20432. "goodsgroupname": {
  20433. "description": "交易品种名称",
  20434. "type": "string"
  20435. },
  20436. "goodsgroupspotqty": {
  20437. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  20438. "type": "number"
  20439. },
  20440. "goodsid": {
  20441. "description": "交易合约",
  20442. "type": "integer"
  20443. },
  20444. "goodsname": {
  20445. "description": "交易合约名称",
  20446. "type": "string"
  20447. },
  20448. "goodunitid": {
  20449. "description": "交易合约单位id",
  20450. "type": "integer"
  20451. },
  20452. "holdamount": {
  20453. "description": "期末持仓额",
  20454. "type": "number"
  20455. },
  20456. "holdqty": {
  20457. "description": "期末持仓量",
  20458. "type": "number"
  20459. },
  20460. "lastholdamount": {
  20461. "description": "当前持仓额",
  20462. "type": "number"
  20463. },
  20464. "lastprice": {
  20465. "description": "最新价",
  20466. "type": "number"
  20467. },
  20468. "middlegoodsid": {
  20469. "description": "套保品种id",
  20470. "type": "integer"
  20471. },
  20472. "middlegoodsname": {
  20473. "description": "套保商品名称",
  20474. "type": "string"
  20475. },
  20476. "middlegoodsqty": {
  20477. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  20478. "type": "number"
  20479. },
  20480. "middlgoodscode": {
  20481. "description": "套保商品代码",
  20482. "type": "string"
  20483. },
  20484. "openamount": {
  20485. "description": "期末开仓额",
  20486. "type": "number"
  20487. },
  20488. "openavgprice": {
  20489. "description": "开仓均价",
  20490. "type": "number"
  20491. },
  20492. "oriholdamount": {
  20493. "description": "期初持仓额",
  20494. "type": "number"
  20495. },
  20496. "oriholdqty": {
  20497. "description": "期初持仓量",
  20498. "type": "number"
  20499. },
  20500. "oriopenamount": {
  20501. "description": "期初开仓额",
  20502. "type": "number"
  20503. },
  20504. "outergroupcode": {
  20505. "description": "交易品种代码",
  20506. "type": "string"
  20507. },
  20508. "qtydecimalplace": {
  20509. "description": "成交量小数位",
  20510. "type": "integer"
  20511. },
  20512. "reckondate": {
  20513. "description": "日照时期(yyyyMMdd)",
  20514. "type": "string"
  20515. },
  20516. "reckonholdamount": {
  20517. "description": "结算持仓额",
  20518. "type": "number"
  20519. },
  20520. "reckonpl": {
  20521. "description": "结算损益",
  20522. "type": "number"
  20523. },
  20524. "reckonpl2": {
  20525. "description": "结算逐笔盈亏",
  20526. "type": "number"
  20527. },
  20528. "reckonprice": {
  20529. "description": "结算价",
  20530. "type": "number"
  20531. },
  20532. "relateduserid": {
  20533. "description": "账户关联用户ID",
  20534. "type": "integer"
  20535. },
  20536. "todaycloseamount": {
  20537. "description": "今平仓额",
  20538. "type": "number"
  20539. },
  20540. "todaycloseqty": {
  20541. "description": "今平仓量",
  20542. "type": "number"
  20543. },
  20544. "todaygoodsgroupspotqty": {
  20545. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  20546. "type": "number"
  20547. },
  20548. "todaymiddlegoodsqty": {
  20549. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  20550. "type": "number"
  20551. },
  20552. "todayopenamount": {
  20553. "description": "今开仓额",
  20554. "type": "number"
  20555. },
  20556. "todayopenqty": {
  20557. "description": "今开仓量",
  20558. "type": "number"
  20559. },
  20560. "userid": {
  20561. "description": "账户所属用户ID",
  20562. "type": "integer"
  20563. }
  20564. }
  20565. },
  20566. "models.Ermcp3Wrstandard": {
  20567. "type": "object",
  20568. "properties": {
  20569. "areauserid": {
  20570. "description": "所属机构",
  20571. "type": "integer"
  20572. },
  20573. "cantrade": {
  20574. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  20575. "type": "integer"
  20576. },
  20577. "convertfactor": {
  20578. "description": "标仓系数",
  20579. "type": "number"
  20580. },
  20581. "createtime": {
  20582. "description": "创建时间",
  20583. "type": "string"
  20584. },
  20585. "creatorid": {
  20586. "description": "创建人",
  20587. "type": "integer"
  20588. },
  20589. "deliverygoodsid": {
  20590. "description": "现货品种ID",
  20591. "type": "integer"
  20592. },
  20593. "enumdicname": {
  20594. "description": "品类单位名称",
  20595. "type": "string"
  20596. },
  20597. "isvalid": {
  20598. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  20599. "type": "integer"
  20600. },
  20601. "minivalue": {
  20602. "description": "最小变动值",
  20603. "type": "integer"
  20604. },
  20605. "minivaluedp": {
  20606. "description": "最小变动值小数位",
  20607. "type": "integer"
  20608. },
  20609. "realminivalue": {
  20610. "description": "实际最小变动值",
  20611. "type": "integer"
  20612. },
  20613. "realminivaluedp": {
  20614. "description": "实际最小变动值小数位",
  20615. "type": "integer"
  20616. },
  20617. "remark": {
  20618. "description": "备注",
  20619. "type": "string"
  20620. },
  20621. "unitid": {
  20622. "description": "品类单位ID",
  20623. "type": "integer"
  20624. },
  20625. "updatetime": {
  20626. "description": "更新时间",
  20627. "type": "string"
  20628. },
  20629. "wrstandardcode": {
  20630. "description": "品类代码",
  20631. "type": "string"
  20632. },
  20633. "wrstandardid": {
  20634. "description": "品类ID(SEQ_WRSTANDARD)",
  20635. "type": "integer"
  20636. },
  20637. "wrstandardname": {
  20638. "description": "品类名称",
  20639. "type": "string"
  20640. }
  20641. }
  20642. },
  20643. "models.ErmcpAreaSpotDetailModel": {
  20644. "type": "object",
  20645. "properties": {
  20646. "contracttype": {
  20647. "description": "合同类型 1-采购 -1-销售",
  20648. "type": "integer"
  20649. },
  20650. "createtime": {
  20651. "description": "创建时间",
  20652. "type": "string"
  20653. },
  20654. "enumdicname": {
  20655. "description": "现货商品单位名称",
  20656. "type": "string"
  20657. },
  20658. "logtype": {
  20659. "description": "记录类型 1-套保 2-现货合同",
  20660. "type": "integer"
  20661. },
  20662. "qty": {
  20663. "description": "数量",
  20664. "type": "number"
  20665. },
  20666. "recordname": {
  20667. "description": "类型名称",
  20668. "type": "string"
  20669. },
  20670. "relatedid": {
  20671. "description": "套保计划ID/现货合同ID",
  20672. "type": "string"
  20673. },
  20674. "relatedno": {
  20675. "description": "编号",
  20676. "type": "string"
  20677. },
  20678. "strtime": {
  20679. "description": "时间",
  20680. "type": "string"
  20681. },
  20682. "wrstandardcode": {
  20683. "description": "现货商品代码",
  20684. "type": "string"
  20685. },
  20686. "wrstandardname": {
  20687. "description": "现货商品名称",
  20688. "type": "string"
  20689. }
  20690. }
  20691. },
  20692. "models.ErmcpAvalidGoodsGroupModel": {
  20693. "type": "object",
  20694. "properties": {
  20695. "goodsgroupid": {
  20696. "description": "期货品种id",
  20697. "type": "integer"
  20698. },
  20699. "goodsgroupname": {
  20700. "description": "期货品种名称",
  20701. "type": "string"
  20702. },
  20703. "goodunitid": {
  20704. "description": "品种单位id",
  20705. "type": "integer"
  20706. },
  20707. "goodunitname": {
  20708. "description": "品种单位名称",
  20709. "type": "string"
  20710. },
  20711. "outergroupcode": {
  20712. "description": "期货品种代码",
  20713. "type": "string"
  20714. }
  20715. }
  20716. },
  20717. "models.ErmcpBizGroupEx": {
  20718. "type": "object",
  20719. "properties": {
  20720. "acclist": {
  20721. "description": "账号列表",
  20722. "type": "array",
  20723. "items": {
  20724. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  20725. }
  20726. },
  20727. "bizgroupid": {
  20728. "description": "业务分组id",
  20729. "type": "integer"
  20730. },
  20731. "biztype": {
  20732. "description": "业务类型 1-套保 2-套利",
  20733. "type": "integer"
  20734. },
  20735. "wrlist": {
  20736. "description": "现货商品表",
  20737. "type": "array",
  20738. "items": {
  20739. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  20740. }
  20741. }
  20742. }
  20743. },
  20744. "models.ErmcpBizGroupSpotGoods": {
  20745. "type": "object",
  20746. "properties": {
  20747. "areauserid": {
  20748. "description": "所属机构id",
  20749. "type": "integer"
  20750. },
  20751. "bizgroupid": {
  20752. "description": "分组id",
  20753. "type": "integer"
  20754. },
  20755. "biztype": {
  20756. "description": "业务类型 1-套保 2-套利",
  20757. "type": "integer"
  20758. },
  20759. "deliverygoodscode": {
  20760. "description": "现货商品代码",
  20761. "type": "string"
  20762. },
  20763. "deliverygoodsid": {
  20764. "description": "现货商品id",
  20765. "type": "integer"
  20766. },
  20767. "deliverygoodsname": {
  20768. "description": "现货商品名称",
  20769. "type": "string"
  20770. },
  20771. "unitid": {
  20772. "description": "现货商品单位id",
  20773. "type": "integer"
  20774. }
  20775. }
  20776. },
  20777. "models.ErmcpBizGroupTaAccount": {
  20778. "type": "object",
  20779. "properties": {
  20780. "accountid": {
  20781. "description": "账号id",
  20782. "type": "integer"
  20783. },
  20784. "accountname": {
  20785. "description": "账号名称",
  20786. "type": "string"
  20787. },
  20788. "areauserid": {
  20789. "description": "所属机构id",
  20790. "type": "integer"
  20791. },
  20792. "bizgroupid": {
  20793. "description": "业务分组id",
  20794. "type": "integer"
  20795. },
  20796. "ismain": {
  20797. "description": "是否主账号 1-是 0-否",
  20798. "type": "integer"
  20799. }
  20800. }
  20801. },
  20802. "models.ErmcpDGFactoryItem": {
  20803. "type": "object",
  20804. "properties": {
  20805. "areauserid": {
  20806. "description": "用户id",
  20807. "type": "integer"
  20808. },
  20809. "deliverygoodsid": {
  20810. "description": "现货品种ID",
  20811. "type": "integer"
  20812. },
  20813. "dgfactoryitemid": {
  20814. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  20815. "type": "integer"
  20816. },
  20817. "dgfactoryitemtypeid": {
  20818. "description": "要素项类型",
  20819. "type": "integer"
  20820. },
  20821. "dgfactoryitemvalue": {
  20822. "description": "要素项值(类型为仓库时填写仓库名称)",
  20823. "type": "string"
  20824. },
  20825. "isvalid": {
  20826. "description": "是否有效 - 0:无效 1:有效",
  20827. "type": "integer"
  20828. },
  20829. "orderindex": {
  20830. "description": "顺序",
  20831. "type": "integer"
  20832. },
  20833. "warehouseid": {
  20834. "description": "仓库ID(类型为仓库时填写)",
  20835. "type": "integer"
  20836. }
  20837. }
  20838. },
  20839. "models.ErmcpDeliveryGoods": {
  20840. "type": "object",
  20841. "properties": {
  20842. "agreeunit": {
  20843. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  20844. "type": "integer"
  20845. },
  20846. "areauserid": {
  20847. "description": "所属机构",
  20848. "type": "integer"
  20849. },
  20850. "auditflag": {
  20851. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  20852. "type": "integer"
  20853. },
  20854. "categoryid": {
  20855. "description": "类别ID(SEQ_WRCATEGORY)",
  20856. "type": "integer"
  20857. },
  20858. "deliverygoodscode": {
  20859. "description": "现货品种代码",
  20860. "type": "string"
  20861. },
  20862. "deliverygoodsid": {
  20863. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  20864. "type": "integer"
  20865. },
  20866. "deliverygoodsname": {
  20867. "description": "现货品种名称",
  20868. "type": "string"
  20869. },
  20870. "deliverygoodstype": {
  20871. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  20872. "type": "integer"
  20873. },
  20874. "dgstatus": {
  20875. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  20876. "type": "integer"
  20877. },
  20878. "enumdicname": {
  20879. "description": "现货品种单位名称",
  20880. "type": "string"
  20881. },
  20882. "goodsunitid": {
  20883. "description": "现货品种单位ID",
  20884. "type": "integer"
  20885. },
  20886. "isvalid": {
  20887. "description": "是否有效 - 0:无效 1:有效",
  20888. "type": "integer"
  20889. },
  20890. "qtydecimalplace": {
  20891. "description": "成交量小数位",
  20892. "type": "integer"
  20893. },
  20894. "remark": {
  20895. "description": "备注",
  20896. "type": "string"
  20897. },
  20898. "standardqty": {
  20899. "description": "标准数量(库位数量) [标准品特有]",
  20900. "type": "integer"
  20901. },
  20902. "standardqtyrange": {
  20903. "description": "标准数量偏差范围 [标准品特有]",
  20904. "type": "integer"
  20905. }
  20906. }
  20907. },
  20908. "models.ErmcpDeliveryGoodsDetail2": {
  20909. "type": "object",
  20910. "properties": {
  20911. "convertratio": {
  20912. "description": "套保系数(折算系数)",
  20913. "type": "number"
  20914. },
  20915. "data": {
  20916. "description": "现货商品基本信息(交割品种)",
  20917. "type": "object",
  20918. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  20919. },
  20920. "gblist": {
  20921. "description": "品牌列表",
  20922. "type": "array",
  20923. "items": {
  20924. "$ref": "#/definitions/models.Ermcp3Brand"
  20925. }
  20926. },
  20927. "gmlist": {
  20928. "description": "品类列表(仓单标准)",
  20929. "type": "array",
  20930. "items": {
  20931. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  20932. }
  20933. }
  20934. }
  20935. },
  20936. "models.ErmcpDeliveryGoodsDetailEx": {
  20937. "type": "object",
  20938. "properties": {
  20939. "data": {
  20940. "description": "现货商品基本信息(交割品种)",
  20941. "type": "object",
  20942. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  20943. },
  20944. "gblist": {
  20945. "description": "品牌列表",
  20946. "type": "array",
  20947. "items": {
  20948. "$ref": "#/definitions/models.Ermcp3Brand"
  20949. }
  20950. },
  20951. "gmlist": {
  20952. "description": "品类列表(仓单标准)",
  20953. "type": "array",
  20954. "items": {
  20955. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  20956. }
  20957. },
  20958. "mgList": {
  20959. "description": "套保列表",
  20960. "type": "array",
  20961. "items": {
  20962. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  20963. }
  20964. }
  20965. }
  20966. },
  20967. "models.ErmcpExposureDetailModel": {
  20968. "type": "object",
  20969. "properties": {
  20970. "areauserid": {
  20971. "description": "机构ID",
  20972. "type": "integer"
  20973. },
  20974. "changeQty": {
  20975. "description": "套保变动量",
  20976. "type": "number"
  20977. },
  20978. "contracttype": {
  20979. "description": "现货合同类型 - 1:采购 -1:销售",
  20980. "type": "integer"
  20981. },
  20982. "convertfactor": {
  20983. "description": "标仓系数",
  20984. "type": "number"
  20985. },
  20986. "convertratio": {
  20987. "description": "套保系数",
  20988. "type": "number"
  20989. },
  20990. "createtime": {
  20991. "description": "时间",
  20992. "type": "string"
  20993. },
  20994. "enumdicname": {
  20995. "description": "现货商品单位名称",
  20996. "type": "string"
  20997. },
  20998. "logtype": {
  20999. "description": "类型 - 1:套保计划 2:现货合同",
  21000. "type": "integer"
  21001. },
  21002. "middlegoodsId": {
  21003. "description": "套保商品id",
  21004. "type": "integer"
  21005. },
  21006. "middlegoodscode": {
  21007. "description": "套保商品代码",
  21008. "type": "string"
  21009. },
  21010. "middlegoodsname": {
  21011. "description": "套保商品名称",
  21012. "type": "string"
  21013. },
  21014. "qty": {
  21015. "description": "数量",
  21016. "type": "number"
  21017. },
  21018. "relateNo": {
  21019. "description": "现货合同/套保计划编号",
  21020. "type": "string"
  21021. },
  21022. "wrstandardcode": {
  21023. "description": "现货商品代码",
  21024. "type": "string"
  21025. },
  21026. "wrstandardid": {
  21027. "description": "现货商品ID",
  21028. "type": "integer"
  21029. },
  21030. "wrstandardname": {
  21031. "description": "现货商品名称",
  21032. "type": "string"
  21033. }
  21034. }
  21035. },
  21036. "models.ErmcpExposurePostion": {
  21037. "type": "object",
  21038. "properties": {
  21039. "agreeunit": {
  21040. "description": "合约单位",
  21041. "type": "string"
  21042. },
  21043. "areauserid": {
  21044. "description": "所属机构id",
  21045. "type": "integer"
  21046. },
  21047. "convertratio": {
  21048. "description": "期货品种系数(折算系数)",
  21049. "type": "number"
  21050. },
  21051. "curqty": {
  21052. "description": "当前持仓",
  21053. "type": "integer"
  21054. },
  21055. "diffhedgeqty": {
  21056. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  21057. "type": "number"
  21058. },
  21059. "diffqty": {
  21060. "description": "持仓变动量=当前持仓-昨日持仓",
  21061. "type": "integer"
  21062. },
  21063. "goodscode": {
  21064. "description": "商品代码",
  21065. "type": "string"
  21066. },
  21067. "goodsid": {
  21068. "description": "商品id",
  21069. "type": "integer"
  21070. },
  21071. "goodsname": {
  21072. "description": "商品名称",
  21073. "type": "string"
  21074. },
  21075. "middlegoodsid": {
  21076. "description": "套保商品id",
  21077. "type": "integer"
  21078. },
  21079. "ydqty": {
  21080. "description": "昨日持仓",
  21081. "type": "integer"
  21082. }
  21083. }
  21084. },
  21085. "models.ErmcpFuturesCompany": {
  21086. "type": "object",
  21087. "properties": {
  21088. "brokerid": {
  21089. "description": "经纪公司代码",
  21090. "type": "string"
  21091. },
  21092. "channeladdress": {
  21093. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  21094. "type": "string"
  21095. },
  21096. "channelid": {
  21097. "description": "对冲渠道ID",
  21098. "type": "string"
  21099. },
  21100. "createtime": {
  21101. "description": "创建时间",
  21102. "type": "string"
  21103. },
  21104. "creatorid": {
  21105. "description": "创建人",
  21106. "type": "string"
  21107. },
  21108. "fcid": {
  21109. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  21110. "type": "integer"
  21111. },
  21112. "fcname": {
  21113. "description": "期货公司名称",
  21114. "type": "string"
  21115. },
  21116. "isvalid": {
  21117. "description": "是否有效 - 0:无效 1:有效",
  21118. "type": "integer"
  21119. },
  21120. "mhpaddress": {
  21121. "description": "MHP服务地址(IP:Port)",
  21122. "type": "string"
  21123. },
  21124. "riskrulegroupid": {
  21125. "description": "风控规则组ID",
  21126. "type": "string"
  21127. },
  21128. "tradefeetmpid": {
  21129. "description": "手续费模板ID[TradeConfigTmpType为2]",
  21130. "type": "string"
  21131. },
  21132. "trademargintmpid": {
  21133. "description": "保证金模板ID [TradeConfigTmpType为1]",
  21134. "type": "string"
  21135. },
  21136. "traderatetmpid": {
  21137. "description": "汇率模板ID[TradeConfigTmpType为3]",
  21138. "type": "string"
  21139. },
  21140. "updatetime": {
  21141. "description": "更新时间",
  21142. "type": "string"
  21143. },
  21144. "updatorid": {
  21145. "description": "更新人",
  21146. "type": "string"
  21147. }
  21148. }
  21149. },
  21150. "models.ErmcpGGConvertCfg": {
  21151. "type": "object",
  21152. "properties": {
  21153. "convertratio": {
  21154. "description": "折算系数",
  21155. "type": "number"
  21156. },
  21157. "destgoodsgroupid": {
  21158. "description": "目标品种ID",
  21159. "type": "integer"
  21160. },
  21161. "dstcode": {
  21162. "description": "目录品种代码",
  21163. "type": "string"
  21164. },
  21165. "dstexchangecode": {
  21166. "description": "目标期货交易所",
  21167. "type": "string"
  21168. },
  21169. "dstname": {
  21170. "description": "目标品种名称",
  21171. "type": "string"
  21172. },
  21173. "dstunitid": {
  21174. "description": "目标品种单位ID",
  21175. "type": "integer"
  21176. },
  21177. "dstunitidname": {
  21178. "description": "目标品种单位名称",
  21179. "type": "string"
  21180. },
  21181. "modifytime": {
  21182. "description": "修改时间",
  21183. "type": "string"
  21184. },
  21185. "srccode": {
  21186. "description": "源品种代码",
  21187. "type": "string"
  21188. },
  21189. "srcexchangecode": {
  21190. "description": "源期货交易所",
  21191. "type": "string"
  21192. },
  21193. "srcgoodsgroupid": {
  21194. "description": "源品种ID",
  21195. "type": "integer"
  21196. },
  21197. "srcname": {
  21198. "description": "源品种名称",
  21199. "type": "string"
  21200. },
  21201. "srcunitid": {
  21202. "description": "源品种单位ID",
  21203. "type": "integer"
  21204. },
  21205. "srcunitidname": {
  21206. "description": "源品种单位名称",
  21207. "type": "string"
  21208. }
  21209. }
  21210. },
  21211. "models.ErmcpGoods": {
  21212. "type": "object",
  21213. "required": [
  21214. "goodscode",
  21215. "goodsid",
  21216. "goodsname",
  21217. "marketid"
  21218. ],
  21219. "properties": {
  21220. "agreeunit": {
  21221. "description": "合约单位",
  21222. "type": "number"
  21223. },
  21224. "areauserid": {
  21225. "description": "所属机构",
  21226. "type": "integer"
  21227. },
  21228. "auditaccountid": {
  21229. "description": "审核操作员账号",
  21230. "type": "integer"
  21231. },
  21232. "audittime": {
  21233. "description": "审核时间",
  21234. "type": "string"
  21235. },
  21236. "cancelaccountid": {
  21237. "description": "注销操作员账号",
  21238. "type": "integer"
  21239. },
  21240. "canceltime": {
  21241. "description": "注销时间",
  21242. "type": "string"
  21243. },
  21244. "closepricemode": {
  21245. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21246. "type": "integer"
  21247. },
  21248. "closepriceparam": {
  21249. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  21250. "type": "number"
  21251. },
  21252. "createtime": {
  21253. "description": "创建时间",
  21254. "type": "string"
  21255. },
  21256. "creatorid": {
  21257. "description": "创建人",
  21258. "type": "integer"
  21259. },
  21260. "currencyid": {
  21261. "description": "报价货币ID",
  21262. "type": "integer"
  21263. },
  21264. "cutmode": {
  21265. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  21266. "type": "integer"
  21267. },
  21268. "decimalplace": {
  21269. "description": "报价小数位",
  21270. "type": "integer"
  21271. },
  21272. "delistingdate": {
  21273. "description": "商品退市时间(状态:退市) -- 已作废",
  21274. "type": "string"
  21275. },
  21276. "delistingmode": {
  21277. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  21278. "type": "integer"
  21279. },
  21280. "deliveryflag": {
  21281. "description": "交割标志 - 0:不可交割 1:可交割",
  21282. "type": "integer"
  21283. },
  21284. "enumdicname": {
  21285. "description": "单位名称",
  21286. "type": "string"
  21287. },
  21288. "forceclosemode": {
  21289. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  21290. "type": "integer"
  21291. },
  21292. "forceclosevalue": {
  21293. "description": "定期强平参数 [收益权]",
  21294. "type": "integer"
  21295. },
  21296. "goodscode": {
  21297. "description": "商品代码(内部)",
  21298. "type": "string"
  21299. },
  21300. "goodscurrencyid": {
  21301. "description": "合约货币ID",
  21302. "type": "integer"
  21303. },
  21304. "goodsgroupid": {
  21305. "description": "所属商品组ID",
  21306. "type": "integer"
  21307. },
  21308. "goodsid": {
  21309. "description": "商品ID(自增ID SEQ_GOODS)",
  21310. "type": "integer"
  21311. },
  21312. "goodsname": {
  21313. "description": "商品名称",
  21314. "type": "string"
  21315. },
  21316. "goodsquotetype": {
  21317. "description": "合约报价类型: 1-直接报价 2-间接报价",
  21318. "type": "integer"
  21319. },
  21320. "goodsstatus": {
  21321. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21322. "type": "integer"
  21323. },
  21324. "goodstradetype": {
  21325. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  21326. "type": "integer"
  21327. },
  21328. "goodunitid": {
  21329. "description": "报价单位ID",
  21330. "type": "integer"
  21331. },
  21332. "hasquoter": {
  21333. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  21334. "type": "integer"
  21335. },
  21336. "hqprotecttime": {
  21337. "description": "行情保护时间(秒)",
  21338. "type": "integer"
  21339. },
  21340. "innerdealmode": {
  21341. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21342. "type": "integer"
  21343. },
  21344. "isbuylimited": {
  21345. "description": "是否限制建仓量 - 0:不限制 1:限制",
  21346. "type": "integer"
  21347. },
  21348. "isvisible": {
  21349. "description": "游客是否可见 - 0:不可见 1:可见",
  21350. "type": "integer"
  21351. },
  21352. "lasttradedate": {
  21353. "description": "最后交易日期(状态:待退市)",
  21354. "type": "string"
  21355. },
  21356. "listingdate": {
  21357. "description": "交易开始日期",
  21358. "type": "string"
  21359. },
  21360. "marketid": {
  21361. "description": "所属市场ID",
  21362. "type": "integer"
  21363. },
  21364. "modifierid": {
  21365. "description": "修改人",
  21366. "type": "integer"
  21367. },
  21368. "modifystatus": {
  21369. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  21370. "type": "integer"
  21371. },
  21372. "modifytime": {
  21373. "description": "修改时间",
  21374. "type": "string"
  21375. },
  21376. "outerdealmode": {
  21377. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21378. "type": "integer"
  21379. },
  21380. "outgoodscode": {
  21381. "description": "商品代码(外部)",
  21382. "type": "string"
  21383. },
  21384. "pictureurl": {
  21385. "description": "商品图片",
  21386. "type": "string"
  21387. },
  21388. "qtydecimalplace": {
  21389. "description": "成交量小数位",
  21390. "type": "integer"
  21391. },
  21392. "quotegear": {
  21393. "description": "行情档位(1-10)",
  21394. "type": "integer"
  21395. },
  21396. "quoteminunit": {
  21397. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21398. "type": "integer"
  21399. },
  21400. "quoteshowtype": {
  21401. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  21402. "type": "integer"
  21403. },
  21404. "quoteshowtypeinterval": {
  21405. "description": "行情报价间隔时间(秒)(成交价时为0)",
  21406. "type": "integer"
  21407. },
  21408. "relatedgoodsid": {
  21409. "description": "关联参考商品ID",
  21410. "type": "integer"
  21411. },
  21412. "remark": {
  21413. "description": "备注",
  21414. "type": "string"
  21415. },
  21416. "trademode": {
  21417. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21418. "type": "integer"
  21419. }
  21420. }
  21421. },
  21422. "models.ErmcpGoodsBrand": {
  21423. "type": "object",
  21424. "properties": {
  21425. "areauserid": {
  21426. "description": "所属机构",
  21427. "type": "integer"
  21428. },
  21429. "brandid": {
  21430. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  21431. "type": "integer"
  21432. },
  21433. "brandname": {
  21434. "description": "品牌名称",
  21435. "type": "string"
  21436. },
  21437. "createtime": {
  21438. "description": "创建时间",
  21439. "type": "string"
  21440. },
  21441. "creatorid": {
  21442. "description": "创建人",
  21443. "type": "integer"
  21444. },
  21445. "creatorsrc": {
  21446. "description": "创建人来源 - 1:管理端 2:终端",
  21447. "type": "integer"
  21448. },
  21449. "deliverygoodsid": {
  21450. "description": "现货品种ID",
  21451. "type": "integer"
  21452. },
  21453. "isvalid": {
  21454. "description": "是否有效 - 0:无效 1:有效",
  21455. "type": "integer"
  21456. },
  21457. "updatetime": {
  21458. "description": "更新时间",
  21459. "type": "string"
  21460. },
  21461. "updatorid": {
  21462. "description": "更新人",
  21463. "type": "integer"
  21464. },
  21465. "updatorsrc": {
  21466. "description": "更新人来源 - 1:管理端 2:终端",
  21467. "type": "integer"
  21468. },
  21469. "wrstandardid": {
  21470. "description": "现货商品ID",
  21471. "type": "integer"
  21472. }
  21473. }
  21474. },
  21475. "models.ErmcpGoodsModel": {
  21476. "type": "object",
  21477. "properties": {
  21478. "areauserid": {
  21479. "description": "所属机构",
  21480. "type": "integer"
  21481. },
  21482. "convertfactor": {
  21483. "description": "标仓系数",
  21484. "type": "number"
  21485. },
  21486. "createtime": {
  21487. "description": "创建时间",
  21488. "type": "string"
  21489. },
  21490. "creatorid": {
  21491. "description": "创建人",
  21492. "type": "integer"
  21493. },
  21494. "creatorsrc": {
  21495. "description": "创建人来源 - 1:管理端 2:终端",
  21496. "type": "integer"
  21497. },
  21498. "deliverygoodsid": {
  21499. "description": "现货品种ID",
  21500. "type": "integer"
  21501. },
  21502. "isvalid": {
  21503. "description": "是否有效 - 0:无效 1:有效",
  21504. "type": "integer"
  21505. },
  21506. "modelid": {
  21507. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  21508. "type": "integer"
  21509. },
  21510. "modelname": {
  21511. "description": "型号名称",
  21512. "type": "string"
  21513. },
  21514. "updatetime": {
  21515. "description": "更新时间",
  21516. "type": "string"
  21517. },
  21518. "updatorid": {
  21519. "description": "更新人",
  21520. "type": "integer"
  21521. },
  21522. "updatorsrc": {
  21523. "description": "更新人来源 - 1:管理端 2:终端",
  21524. "type": "integer"
  21525. },
  21526. "wrstandardid": {
  21527. "description": "现货商品ID",
  21528. "type": "integer"
  21529. }
  21530. }
  21531. },
  21532. "models.ErmcpHedgePosition": {
  21533. "type": "object",
  21534. "properties": {
  21535. "accountid": {
  21536. "description": "资金账号[外部母账户]",
  21537. "type": "integer"
  21538. },
  21539. "curbuyposition": {
  21540. "description": "期末买头寸",
  21541. "type": "integer"
  21542. },
  21543. "cursellposition": {
  21544. "description": "期末卖头寸",
  21545. "type": "integer"
  21546. },
  21547. "curtdbuyposition": {
  21548. "description": "期末今日买头寸",
  21549. "type": "integer"
  21550. },
  21551. "curtdsellposition": {
  21552. "description": "期末今日卖头寸",
  21553. "type": "integer"
  21554. },
  21555. "curydbuyposition": {
  21556. "description": "期末上日买头寸",
  21557. "type": "integer"
  21558. },
  21559. "curydsellposition": {
  21560. "description": "期末上日卖头寸",
  21561. "type": "integer"
  21562. },
  21563. "decreaseqty": {
  21564. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  21565. "type": "integer"
  21566. },
  21567. "fretdbuyposition": {
  21568. "description": "冻结今日买头寸",
  21569. "type": "integer"
  21570. },
  21571. "fretdsellposition": {
  21572. "description": "冻结今日卖头寸",
  21573. "type": "integer"
  21574. },
  21575. "freydbuyposition": {
  21576. "description": "冻结上日买头寸",
  21577. "type": "integer"
  21578. },
  21579. "freydsellposition": {
  21580. "description": "冻结上日卖头寸",
  21581. "type": "integer"
  21582. },
  21583. "goodscode": {
  21584. "description": "商品代码",
  21585. "type": "string"
  21586. },
  21587. "goodsid": {
  21588. "description": "商品id",
  21589. "type": "integer"
  21590. },
  21591. "goodsname": {
  21592. "description": "商品名称",
  21593. "type": "string"
  21594. },
  21595. "hedgeaccountcode": {
  21596. "description": "对冲账号",
  21597. "type": "string"
  21598. },
  21599. "hedgegoodsid": {
  21600. "description": "对冲合约ID",
  21601. "type": "integer"
  21602. },
  21603. "increaseqty": {
  21604. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  21605. "type": "integer"
  21606. },
  21607. "marketid": {
  21608. "description": "市场ID",
  21609. "type": "integer"
  21610. },
  21611. "relateduserid": {
  21612. "description": "关联用户id",
  21613. "type": "integer"
  21614. },
  21615. "totalcurqty": {
  21616. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  21617. "type": "integer"
  21618. },
  21619. "totalydqty": {
  21620. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  21621. "type": "integer"
  21622. },
  21623. "tradedate": {
  21624. "description": "交易日(yyyyMMdd)",
  21625. "type": "string"
  21626. },
  21627. "ydbuyposition": {
  21628. "description": "期初买头寸",
  21629. "type": "integer"
  21630. },
  21631. "ydsellposition": {
  21632. "description": "期初卖头寸",
  21633. "type": "integer"
  21634. }
  21635. }
  21636. },
  21637. "models.ErmcpHedgePositionDetail": {
  21638. "type": "object",
  21639. "properties": {
  21640. "buyorsell": {
  21641. "description": "买卖方向 0-买 1-卖",
  21642. "type": "integer"
  21643. },
  21644. "channelbuildtype": {
  21645. "description": "开平方向 1-建仓 2-平仓",
  21646. "type": "integer"
  21647. },
  21648. "goodscode": {
  21649. "description": "商品代码",
  21650. "type": "string"
  21651. },
  21652. "goodsname": {
  21653. "description": "商品名称",
  21654. "type": "string"
  21655. },
  21656. "hedgegoodsid": {
  21657. "description": "商品id",
  21658. "type": "integer"
  21659. },
  21660. "tradeqty": {
  21661. "description": "数量(成交数量)",
  21662. "type": "integer"
  21663. },
  21664. "tradetime": {
  21665. "description": "时间(成交时间)",
  21666. "type": "string"
  21667. }
  21668. }
  21669. },
  21670. "models.ErmcpHisExposure": {
  21671. "type": "object",
  21672. "properties": {
  21673. "needhedgeexposoure": {
  21674. "description": "应套保敞口",
  21675. "type": "number"
  21676. },
  21677. "reckondate": {
  21678. "description": "日照时期(yyyyMMdd)",
  21679. "type": "string"
  21680. },
  21681. "totalexposure": {
  21682. "description": "总敞口",
  21683. "type": "number"
  21684. }
  21685. }
  21686. },
  21687. "models.ErmcpHisExposureS": {
  21688. "type": "object",
  21689. "properties": {
  21690. "data": {
  21691. "description": "历史敞口",
  21692. "type": "array",
  21693. "items": {
  21694. "$ref": "#/definitions/models.ErmcpHisExposure"
  21695. }
  21696. },
  21697. "enumdicname": {
  21698. "description": "单位名称",
  21699. "type": "string"
  21700. },
  21701. "middlegoodscode": {
  21702. "description": "套保品种代码",
  21703. "type": "string"
  21704. },
  21705. "middlegoodsid": {
  21706. "description": "套保品种ID",
  21707. "type": "integer"
  21708. },
  21709. "middlegoodsname": {
  21710. "description": "套保品种名称",
  21711. "type": "string"
  21712. }
  21713. }
  21714. },
  21715. "models.ErmcpLoginTaAccount": {
  21716. "type": "object",
  21717. "properties": {
  21718. "accountid": {
  21719. "description": "账号id",
  21720. "type": "integer"
  21721. },
  21722. "accountname": {
  21723. "description": "账号名称",
  21724. "type": "string"
  21725. }
  21726. }
  21727. },
  21728. "models.ErmcpLoginUser": {
  21729. "type": "object",
  21730. "properties": {
  21731. "acclist": {
  21732. "description": "关联资金账号",
  21733. "type": "array",
  21734. "items": {
  21735. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  21736. }
  21737. },
  21738. "accountname": {
  21739. "description": "用户名称",
  21740. "type": "string"
  21741. },
  21742. "clientroleid": {
  21743. "description": "角色id(usertype=2)",
  21744. "type": "integer"
  21745. },
  21746. "createtime": {
  21747. "description": "创建时间",
  21748. "type": "string"
  21749. },
  21750. "logincode": {
  21751. "description": "登录代码",
  21752. "type": "string"
  21753. },
  21754. "loginid": {
  21755. "description": "登录id(LOGINID)",
  21756. "type": "integer"
  21757. },
  21758. "loginname": {
  21759. "description": "登录名称(loginaccount表中的accountname字段)",
  21760. "type": "string"
  21761. },
  21762. "loginstatus": {
  21763. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  21764. "type": "integer"
  21765. },
  21766. "memberuserid": {
  21767. "description": "所属会员id",
  21768. "type": "integer"
  21769. },
  21770. "mobile": {
  21771. "description": "手机号",
  21772. "type": "string"
  21773. },
  21774. "modifytime": {
  21775. "description": "修改时间",
  21776. "type": "string"
  21777. },
  21778. "password": {
  21779. "description": "密码(不可解密)",
  21780. "type": "string"
  21781. },
  21782. "rolename": {
  21783. "description": "角色名称",
  21784. "type": "string"
  21785. },
  21786. "rolestatus": {
  21787. "description": "角色状态 1-启用 2-停用",
  21788. "type": "integer"
  21789. },
  21790. "roletype": {
  21791. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  21792. "type": "string"
  21793. },
  21794. "userid": {
  21795. "description": "用户id",
  21796. "type": "integer"
  21797. },
  21798. "usertype": {
  21799. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  21800. "type": "integer"
  21801. }
  21802. }
  21803. },
  21804. "models.ErmcpLoginUserEx": {
  21805. "type": "object",
  21806. "properties": {
  21807. "accountstatus": {
  21808. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  21809. "type": "integer"
  21810. },
  21811. "mobile": {
  21812. "description": "手机号",
  21813. "type": "string"
  21814. },
  21815. "querytype": {
  21816. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  21817. "type": "integer"
  21818. },
  21819. "roleid": {
  21820. "description": "角色id(交易账户-\u003e用户id)",
  21821. "type": "integer"
  21822. },
  21823. "rolename": {
  21824. "description": "角色名称(交易账户-\u003e用户名称)",
  21825. "type": "string"
  21826. },
  21827. "userlist": {
  21828. "description": "用户列表",
  21829. "type": "array",
  21830. "items": {
  21831. "$ref": "#/definitions/models.ErmcpLoginUser"
  21832. }
  21833. },
  21834. "usertype": {
  21835. "description": "用户类型 2-机构 7-企业成员(云平台)",
  21836. "type": "integer"
  21837. }
  21838. }
  21839. },
  21840. "models.ErmcpMiddleGoodsChangeLog": {
  21841. "type": "object",
  21842. "properties": {
  21843. "aftervalue": {
  21844. "description": "变更后",
  21845. "type": "number"
  21846. },
  21847. "applyid": {
  21848. "description": "操作人",
  21849. "type": "integer"
  21850. },
  21851. "applyname": {
  21852. "description": "操作人名称",
  21853. "type": "string"
  21854. },
  21855. "applysrc": {
  21856. "description": "操作来源 - 1:管理端 2:终端",
  21857. "type": "integer"
  21858. },
  21859. "beforevalue": {
  21860. "description": "变更前",
  21861. "type": "number"
  21862. },
  21863. "changelogtype": {
  21864. "description": "变更流水类型 - 1:套保比率变更",
  21865. "type": "integer"
  21866. },
  21867. "handlestatus": {
  21868. "description": "处理状态",
  21869. "type": "integer"
  21870. },
  21871. "logdatetime": {
  21872. "description": "流水日期",
  21873. "type": "string"
  21874. },
  21875. "logid": {
  21876. "description": "流水ID",
  21877. "type": "integer"
  21878. },
  21879. "logremark": {
  21880. "description": "流水备注",
  21881. "type": "string"
  21882. },
  21883. "middlegoodsid": {
  21884. "description": "套保品种ID",
  21885. "type": "integer"
  21886. },
  21887. "tradedate": {
  21888. "description": "交易日(yyyyMMdd)",
  21889. "type": "string"
  21890. },
  21891. "updatetime": {
  21892. "description": "更新时间",
  21893. "type": "string"
  21894. }
  21895. }
  21896. },
  21897. "models.ErmcpMiddleGoodsDetail": {
  21898. "type": "object",
  21899. "properties": {
  21900. "cvList": {
  21901. "description": "期货品种折算列表",
  21902. "type": "array",
  21903. "items": {
  21904. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  21905. }
  21906. },
  21907. "mg": {
  21908. "description": "套保品种基本信息",
  21909. "type": "object",
  21910. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  21911. },
  21912. "wrcList": {
  21913. "description": "现货品种列表(现货商品折算配置)",
  21914. "type": "array",
  21915. "items": {
  21916. "$ref": "#/definitions/models.WRSConverTDetail"
  21917. }
  21918. }
  21919. }
  21920. },
  21921. "models.ErmcpMiddleGoodsModel": {
  21922. "type": "object",
  21923. "properties": {
  21924. "areauserid": {
  21925. "description": "机构用户ID",
  21926. "type": "integer"
  21927. },
  21928. "createtime": {
  21929. "description": "修改时间",
  21930. "type": "string"
  21931. },
  21932. "enumdicname": {
  21933. "description": "单位名称",
  21934. "type": "string"
  21935. },
  21936. "evaluateratio": {
  21937. "description": "估价系数",
  21938. "type": "number"
  21939. },
  21940. "goodsgroupid": {
  21941. "description": "关联期货品种ID",
  21942. "type": "integer"
  21943. },
  21944. "goodsunitid": {
  21945. "description": "单位ID",
  21946. "type": "integer"
  21947. },
  21948. "isvalid": {
  21949. "description": "状态 0-无效(停用) 1-有效(正常)",
  21950. "type": "integer"
  21951. },
  21952. "middlegoodscode": {
  21953. "description": "套保品种代码",
  21954. "type": "string"
  21955. },
  21956. "middlegoodsid": {
  21957. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  21958. "type": "integer"
  21959. },
  21960. "middlegoodsname": {
  21961. "description": "套保品种名称",
  21962. "type": "string"
  21963. },
  21964. "modifytime": {
  21965. "description": "修改时间",
  21966. "type": "string"
  21967. },
  21968. "needarbitrageratio": {
  21969. "description": "套利比例",
  21970. "type": "number"
  21971. },
  21972. "needhedgeratio": {
  21973. "description": "套保比率",
  21974. "type": "number"
  21975. },
  21976. "qtydecimalplace": {
  21977. "description": "数量小数位",
  21978. "type": "integer"
  21979. },
  21980. "relatedgoodsid": {
  21981. "description": "关联交易商品ID",
  21982. "type": "integer"
  21983. },
  21984. "relatedgoodstype": {
  21985. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  21986. "type": "integer"
  21987. },
  21988. "remark": {
  21989. "description": "备注",
  21990. "type": "string"
  21991. }
  21992. }
  21993. },
  21994. "models.ErmcpMiddlegoodsRelateGoods": {
  21995. "type": "object",
  21996. "properties": {
  21997. "agreeunit": {
  21998. "description": "合约乘数",
  21999. "type": "number"
  22000. },
  22001. "convertratio": {
  22002. "description": "折算系数",
  22003. "type": "number"
  22004. },
  22005. "enumdicname": {
  22006. "description": "单位名称(交易商品)",
  22007. "type": "string"
  22008. },
  22009. "goodscode": {
  22010. "description": "交易商品代码",
  22011. "type": "string"
  22012. },
  22013. "goodsgroupid": {
  22014. "description": "交易品种id",
  22015. "type": "integer"
  22016. },
  22017. "goodsid": {
  22018. "description": "商品Id",
  22019. "type": "integer"
  22020. },
  22021. "goodsname": {
  22022. "description": "交易商品名称",
  22023. "type": "string"
  22024. },
  22025. "goodunitid": {
  22026. "description": "交易商品单位id",
  22027. "type": "integer"
  22028. },
  22029. "middlegoodsid": {
  22030. "description": "套保商品id",
  22031. "type": "integer"
  22032. },
  22033. "middlegoodsname": {
  22034. "description": "套保商品名称",
  22035. "type": "string"
  22036. },
  22037. "middlegoodsswcode": {
  22038. "description": "套保商品代码",
  22039. "type": "string"
  22040. },
  22041. "needarbitrageratio": {
  22042. "description": "应套利比例",
  22043. "type": "number"
  22044. },
  22045. "needhedgeratio": {
  22046. "description": "应套保比例",
  22047. "type": "number"
  22048. }
  22049. }
  22050. },
  22051. "models.ErmcpOPLogModel": {
  22052. "type": "object",
  22053. "properties": {
  22054. "aftervalue": {
  22055. "description": "变更后",
  22056. "type": "number"
  22057. },
  22058. "applyid": {
  22059. "description": "操作人ID",
  22060. "type": "string"
  22061. },
  22062. "applyname": {
  22063. "description": "操作人名称",
  22064. "type": "string"
  22065. },
  22066. "beforevalue": {
  22067. "description": "变更前",
  22068. "type": "number"
  22069. },
  22070. "biztype": {
  22071. "description": "业务类型 - 1:套保计划 2:现货合同",
  22072. "type": "integer"
  22073. },
  22074. "contracttype": {
  22075. "description": "现货合同类型 - 1:采购 -1:销售",
  22076. "type": "integer"
  22077. },
  22078. "logvalue": {
  22079. "description": "数值",
  22080. "type": "number"
  22081. },
  22082. "operatelogtype": {
  22083. "description": "操作流水类型",
  22084. "type": "integer"
  22085. },
  22086. "operatelogtypedesc": {
  22087. "description": "操作流水类型名称",
  22088. "type": "string"
  22089. },
  22090. "relatedid": {
  22091. "description": "现货合同ID\\套保计划",
  22092. "type": "string"
  22093. },
  22094. "updatetime": {
  22095. "description": "更新时间",
  22096. "type": "string"
  22097. }
  22098. }
  22099. },
  22100. "models.ErmcpPendingAudit": {
  22101. "type": "object",
  22102. "properties": {
  22103. "areastockqty": {
  22104. "description": "待审核数量: 库存申请",
  22105. "type": "integer"
  22106. },
  22107. "businessdjqty": {
  22108. "description": "待审核数量: 点价",
  22109. "type": "integer"
  22110. },
  22111. "businessfpqty": {
  22112. "description": "待审核数量: 发票",
  22113. "type": "integer"
  22114. },
  22115. "businessjsqty": {
  22116. "description": "待审核数量: 结算",
  22117. "type": "integer"
  22118. },
  22119. "businesskxqty": {
  22120. "description": "待审核数量: 款项",
  22121. "type": "integer"
  22122. },
  22123. "hedgeplanqty": {
  22124. "description": "待审核数量: 套保计划",
  22125. "type": "integer"
  22126. },
  22127. "spotcontractqty": {
  22128. "description": "待审核数量: 现货合同",
  22129. "type": "integer"
  22130. },
  22131. "userqty": {
  22132. "description": "待审核数量: 用户",
  22133. "type": "integer"
  22134. }
  22135. }
  22136. },
  22137. "models.ErmcpRealExposureModel": {
  22138. "type": "object",
  22139. "properties": {
  22140. "AreaUserID": {
  22141. "description": "所属机构",
  22142. "type": "integer"
  22143. },
  22144. "BuyFutureQty": {
  22145. "description": "买入期货数量",
  22146. "type": "number"
  22147. },
  22148. "BuyPlanQty": {
  22149. "description": "采购计划数量",
  22150. "type": "number"
  22151. },
  22152. "BuyPricedQty": {
  22153. "description": "采购合同已定价数量",
  22154. "type": "number"
  22155. },
  22156. "MiddleGoodsCode": {
  22157. "description": "套保品种代码",
  22158. "type": "string"
  22159. },
  22160. "MiddleGoodsHedgeRatio": {
  22161. "description": "套保比例",
  22162. "type": "number"
  22163. },
  22164. "MiddleGoodsID": {
  22165. "description": "套保品种",
  22166. "type": "integer"
  22167. },
  22168. "MiddleGoodsName": {
  22169. "description": "套保品种名称",
  22170. "type": "string"
  22171. },
  22172. "NeedHedgeExposoure": {
  22173. "description": "应套保敞口(套保敞口)",
  22174. "type": "number"
  22175. },
  22176. "NeedHedgeRatio": {
  22177. "description": "应套保敞口比例",
  22178. "type": "number"
  22179. },
  22180. "OriBuyFutureQty": {
  22181. "description": "期初买入期货数量",
  22182. "type": "number"
  22183. },
  22184. "OriBuyPlanQty": {
  22185. "description": "期初采购计划数量",
  22186. "type": "number"
  22187. },
  22188. "OriBuyPricedQty": {
  22189. "description": "期初采购合同已定价数量",
  22190. "type": "number"
  22191. },
  22192. "OriSellFutureQty": {
  22193. "description": "期初卖出期货数量",
  22194. "type": "number"
  22195. },
  22196. "OriSellPlanQty": {
  22197. "description": "期初销售计划数量",
  22198. "type": "number"
  22199. },
  22200. "OriSellPricedQty": {
  22201. "description": "期初销售合同已定价数量",
  22202. "type": "number"
  22203. },
  22204. "SellFutureQty": {
  22205. "description": "卖出期货数量",
  22206. "type": "number"
  22207. },
  22208. "SellPlanQty": {
  22209. "description": "销售计划数量",
  22210. "type": "number"
  22211. },
  22212. "SellPricedQty": {
  22213. "description": "销售合同已定价数量",
  22214. "type": "number"
  22215. },
  22216. "TotalExposure": {
  22217. "description": "总敞口 平安:净敞口",
  22218. "type": "number"
  22219. },
  22220. "TotalFutureQty": {
  22221. "description": "期货总量 平安:保值净持仓量",
  22222. "type": "number"
  22223. },
  22224. "TotalHedgeRatio": {
  22225. "description": "敞口比例",
  22226. "type": "number"
  22227. },
  22228. "TotalNeedHedgeQty": {
  22229. "description": "应套保总量(现货应套保总量)",
  22230. "type": "number"
  22231. },
  22232. "TotalSpotQty": {
  22233. "description": "现货总量 平安:采销定价净值",
  22234. "type": "number"
  22235. },
  22236. "arbitrageqty": {
  22237. "description": "套利量",
  22238. "type": "number"
  22239. },
  22240. "diffArbitrageQty": {
  22241. "description": "套利变动量",
  22242. "type": "number"
  22243. },
  22244. "diffExposoureQty": {
  22245. "description": "变动量(套保敞口)",
  22246. "type": "number"
  22247. },
  22248. "diffFutuQty": {
  22249. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  22250. "type": "number"
  22251. },
  22252. "diffHedgeQty": {
  22253. "description": "套保变动量",
  22254. "type": "number"
  22255. },
  22256. "diffQty": {
  22257. "description": "变动量(总敞口) 平安:净敞口今日变动",
  22258. "type": "number"
  22259. },
  22260. "diffSpotHedgeQty": {
  22261. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  22262. "type": "number"
  22263. },
  22264. "diffSpotQty": {
  22265. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  22266. "type": "number"
  22267. },
  22268. "enumdicname": {
  22269. "description": "单位名称",
  22270. "type": "string"
  22271. },
  22272. "hedgeqty": {
  22273. "description": "套保量",
  22274. "type": "number"
  22275. },
  22276. "needarbitrageqty": {
  22277. "description": "应套利量",
  22278. "type": "number"
  22279. },
  22280. "needarbitrageratio": {
  22281. "description": "套利比例",
  22282. "type": "number"
  22283. },
  22284. "needhedgeqty": {
  22285. "description": "应套保量",
  22286. "type": "number"
  22287. },
  22288. "oriTotalFutuQty": {
  22289. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  22290. "type": "number"
  22291. },
  22292. "oriTotalSpotQty": {
  22293. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  22294. "type": "number"
  22295. },
  22296. "oriarbitrageqty": {
  22297. "description": "期初套利量",
  22298. "type": "number"
  22299. },
  22300. "orihedgeqty": {
  22301. "description": "期初套保量",
  22302. "type": "number"
  22303. },
  22304. "orineedhedgeexposoure": {
  22305. "description": "期初套保敞口",
  22306. "type": "number"
  22307. },
  22308. "oritotalexposure": {
  22309. "description": "期初总敞口",
  22310. "type": "number"
  22311. },
  22312. "oritotalfutureqty": {
  22313. "description": "期初期货总量",
  22314. "type": "number"
  22315. },
  22316. "oritotalneedhedgeqty": {
  22317. "description": "期初现货应套保量",
  22318. "type": "number"
  22319. }
  22320. }
  22321. },
  22322. "models.ErmcpRole": {
  22323. "type": "object",
  22324. "properties": {
  22325. "areauserid": {
  22326. "description": "所属机构",
  22327. "type": "integer"
  22328. },
  22329. "autoid": {
  22330. "description": "角色ID(自增ID)",
  22331. "type": "integer"
  22332. },
  22333. "modifierid": {
  22334. "description": "修改人(创建人)",
  22335. "type": "integer"
  22336. },
  22337. "modifiername": {
  22338. "description": "修改人名称",
  22339. "type": "string"
  22340. },
  22341. "modifytime": {
  22342. "description": "修改时间(创建时间)",
  22343. "type": "string"
  22344. },
  22345. "rolename": {
  22346. "description": "角色名称",
  22347. "type": "string"
  22348. },
  22349. "rolestatus": {
  22350. "description": "角色状态 - 1:启用 2:停用",
  22351. "type": "integer"
  22352. },
  22353. "roletype": {
  22354. "description": "角色类型 - 1- 管理端 2- 交易端",
  22355. "type": "integer"
  22356. }
  22357. }
  22358. },
  22359. "models.ErmcpRoleMenu": {
  22360. "type": "object",
  22361. "properties": {
  22362. "iconame": {
  22363. "description": "菜单图标",
  22364. "type": "string"
  22365. },
  22366. "ishadrole": {
  22367. "description": "是否有权限",
  22368. "type": "boolean"
  22369. },
  22370. "menutype": {
  22371. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  22372. "type": "integer"
  22373. },
  22374. "parentcode": {
  22375. "description": "上级资源代码",
  22376. "type": "string"
  22377. },
  22378. "remark": {
  22379. "description": "菜单备注",
  22380. "type": "string"
  22381. },
  22382. "resourcecode": {
  22383. "description": "菜单代码",
  22384. "type": "string"
  22385. },
  22386. "resourcelevel": {
  22387. "description": "级别",
  22388. "type": "integer"
  22389. },
  22390. "resourcename": {
  22391. "description": "菜单名称",
  22392. "type": "string"
  22393. },
  22394. "roleid": {
  22395. "description": "角色id",
  22396. "type": "integer"
  22397. },
  22398. "sort": {
  22399. "description": "排序",
  22400. "type": "integer"
  22401. },
  22402. "url": {
  22403. "description": "URL",
  22404. "type": "string"
  22405. },
  22406. "userid": {
  22407. "description": "用户id",
  22408. "type": "integer"
  22409. }
  22410. }
  22411. },
  22412. "models.ErmcpRoleMenuEx": {
  22413. "type": "object",
  22414. "properties": {
  22415. "menu": {
  22416. "description": "父级菜单",
  22417. "type": "object",
  22418. "$ref": "#/definitions/models.ErmcpRoleMenu"
  22419. },
  22420. "subMenu": {
  22421. "description": "子级菜单",
  22422. "type": "array",
  22423. "items": {
  22424. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  22425. }
  22426. }
  22427. }
  22428. },
  22429. "models.ErmcpTaAccount": {
  22430. "type": "object",
  22431. "properties": {
  22432. "accountid": {
  22433. "description": "账户id",
  22434. "type": "integer"
  22435. },
  22436. "accountname": {
  22437. "description": "账户名称",
  22438. "type": "string"
  22439. },
  22440. "currencyid": {
  22441. "description": "币种id",
  22442. "type": "integer"
  22443. },
  22444. "hedgeaccountcode": {
  22445. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  22446. "type": "string"
  22447. },
  22448. "ismain": {
  22449. "description": "是否主账户 0-否 1-是",
  22450. "type": "integer"
  22451. },
  22452. "parentaccountid": {
  22453. "description": "父账户id",
  22454. "type": "integer"
  22455. },
  22456. "relateduserid": {
  22457. "description": "关联userid",
  22458. "type": "integer"
  22459. },
  22460. "tradefeetmpid": {
  22461. "description": "手续费模板id",
  22462. "type": "integer"
  22463. },
  22464. "tradefeetmpname": {
  22465. "description": "手续费模板名称",
  22466. "type": "string"
  22467. },
  22468. "trademargintmpid": {
  22469. "description": "保证金模板id",
  22470. "type": "integer"
  22471. },
  22472. "trademargintmpname": {
  22473. "description": "保证金模板名称",
  22474. "type": "string"
  22475. },
  22476. "traderatetmpid": {
  22477. "description": "汇率模板id",
  22478. "type": "integer"
  22479. },
  22480. "traderatetmpname": {
  22481. "description": "汇率模板名称",
  22482. "type": "string"
  22483. },
  22484. "tradestatus": {
  22485. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22486. "type": "integer"
  22487. },
  22488. "userid": {
  22489. "description": "用户id",
  22490. "type": "integer"
  22491. }
  22492. }
  22493. },
  22494. "models.ErmcpTaAccountEx": {
  22495. "type": "object",
  22496. "properties": {
  22497. "mainAcc": {
  22498. "description": "主账号",
  22499. "type": "object",
  22500. "$ref": "#/definitions/models.ErmcpTaAccountM"
  22501. },
  22502. "subacclist": {
  22503. "description": "子账号列表",
  22504. "type": "array",
  22505. "items": {
  22506. "$ref": "#/definitions/models.ErmcpTaAccount"
  22507. }
  22508. }
  22509. }
  22510. },
  22511. "models.ErmcpTaAccountInfo": {
  22512. "type": "object",
  22513. "properties": {
  22514. "accountid": {
  22515. "description": "资金账户ID",
  22516. "type": "integer"
  22517. },
  22518. "accountname": {
  22519. "description": "账户名称",
  22520. "type": "string"
  22521. },
  22522. "balance": {
  22523. "description": "期初余额",
  22524. "type": "number"
  22525. },
  22526. "capitalbalance": {
  22527. "description": "本金余额[外部子账户实际出入金余额]",
  22528. "type": "number"
  22529. },
  22530. "closepl": {
  22531. "description": "今日平仓盈亏",
  22532. "type": "number"
  22533. },
  22534. "creditdecrease": {
  22535. "description": "今日授信减少",
  22536. "type": "number"
  22537. },
  22538. "creditincrease": {
  22539. "description": "今日授信增加",
  22540. "type": "number"
  22541. },
  22542. "curdebt": {
  22543. "description": "期末欠款",
  22544. "type": "number"
  22545. },
  22546. "currencyid": {
  22547. "description": "货币ID",
  22548. "type": "integer"
  22549. },
  22550. "currentbalance": {
  22551. "description": "期末余额",
  22552. "type": "number"
  22553. },
  22554. "freezecharge": {
  22555. "description": "手续费冻结",
  22556. "type": "number"
  22557. },
  22558. "freezemargin": {
  22559. "description": "冻结保证金",
  22560. "type": "number"
  22561. },
  22562. "fromaccountid": {
  22563. "description": "所属上级账户",
  22564. "type": "integer"
  22565. },
  22566. "inamount": {
  22567. "description": "今日入金金额(包括三方入金)",
  22568. "type": "number"
  22569. },
  22570. "ismain": {
  22571. "description": "是否母账号 0:不是母账户 1:是母账户",
  22572. "type": "integer"
  22573. },
  22574. "mortgagecredit": {
  22575. "description": "授信金额",
  22576. "type": "number"
  22577. },
  22578. "oridebt": {
  22579. "description": "期初欠款",
  22580. "type": "number"
  22581. },
  22582. "orifreezecharge": {
  22583. "description": "期初手续费冻结",
  22584. "type": "number"
  22585. },
  22586. "orifreezemargin": {
  22587. "description": "期初冻结保证金",
  22588. "type": "number"
  22589. },
  22590. "orimortgagecredit": {
  22591. "description": "期初授信金额",
  22592. "type": "number"
  22593. },
  22594. "oriothercredit": {
  22595. "description": "期初其它授信金额",
  22596. "type": "number"
  22597. },
  22598. "oriotherfreezemargin": {
  22599. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  22600. "type": "number"
  22601. },
  22602. "orioutamountfreeze": {
  22603. "description": "期初出金冻结",
  22604. "type": "number"
  22605. },
  22606. "oriusedmargin": {
  22607. "description": "期初占用保证金",
  22608. "type": "number"
  22609. },
  22610. "othercredit": {
  22611. "description": "其它授信金额",
  22612. "type": "number"
  22613. },
  22614. "othercreditdecrease": {
  22615. "description": "今日其它授信减少",
  22616. "type": "number"
  22617. },
  22618. "othercreditincrease": {
  22619. "description": "今日其它授信增加",
  22620. "type": "number"
  22621. },
  22622. "otherfreezemargin": {
  22623. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  22624. "type": "number"
  22625. },
  22626. "outamount": {
  22627. "description": "今日出金金额(包括三方出金)",
  22628. "type": "number"
  22629. },
  22630. "outamountfreeze": {
  22631. "description": "出金冻结",
  22632. "type": "number"
  22633. },
  22634. "outthreshold": {
  22635. "description": "出金阈值",
  22636. "type": "number"
  22637. },
  22638. "parentaccountid": {
  22639. "description": "所属根账号",
  22640. "type": "integer"
  22641. },
  22642. "paycharge": {
  22643. "description": "今日手续费支出",
  22644. "type": "number"
  22645. },
  22646. "relateduserid": {
  22647. "description": "关联用户",
  22648. "type": "integer"
  22649. },
  22650. "signstatus": {
  22651. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  22652. "type": "integer"
  22653. },
  22654. "sublevelpath": {
  22655. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  22656. "type": "string"
  22657. },
  22658. "taaccounttype": {
  22659. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  22660. "type": "integer"
  22661. },
  22662. "thirdinamount": {
  22663. "description": "今日三方入金",
  22664. "type": "number"
  22665. },
  22666. "thirdoutamount": {
  22667. "description": "今日三方出金",
  22668. "type": "number"
  22669. },
  22670. "tradestatus": {
  22671. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22672. "type": "integer"
  22673. },
  22674. "transferamount": {
  22675. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  22676. "type": "number"
  22677. },
  22678. "usedmargin": {
  22679. "description": "占用保证金",
  22680. "type": "number"
  22681. },
  22682. "userid": {
  22683. "description": "用户ID",
  22684. "type": "integer"
  22685. }
  22686. }
  22687. },
  22688. "models.ErmcpTaAccountM": {
  22689. "type": "object",
  22690. "properties": {
  22691. "accountid": {
  22692. "description": "账户id",
  22693. "type": "integer"
  22694. },
  22695. "accountname": {
  22696. "description": "账户名称",
  22697. "type": "string"
  22698. },
  22699. "currencyid": {
  22700. "description": "币种id",
  22701. "type": "integer"
  22702. },
  22703. "fcid": {
  22704. "description": "期货公司id",
  22705. "type": "integer"
  22706. },
  22707. "fcname": {
  22708. "description": "期货公司代码",
  22709. "type": "string"
  22710. },
  22711. "hedgeaccountcode": {
  22712. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  22713. "type": "string"
  22714. },
  22715. "ismain": {
  22716. "description": "是否主账户 0-否 1-是",
  22717. "type": "integer"
  22718. },
  22719. "parentaccountid": {
  22720. "description": "父账户id",
  22721. "type": "integer"
  22722. },
  22723. "relateduserid": {
  22724. "description": "关联userid",
  22725. "type": "integer"
  22726. },
  22727. "tradefeetmpid": {
  22728. "description": "手续费模板id",
  22729. "type": "integer"
  22730. },
  22731. "tradefeetmpname": {
  22732. "description": "手续费模板名称",
  22733. "type": "string"
  22734. },
  22735. "trademargintmpid": {
  22736. "description": "保证金模板id",
  22737. "type": "integer"
  22738. },
  22739. "trademargintmpname": {
  22740. "description": "保证金模板名称",
  22741. "type": "string"
  22742. },
  22743. "traderatetmpid": {
  22744. "description": "汇率模板id",
  22745. "type": "integer"
  22746. },
  22747. "traderatetmpname": {
  22748. "description": "汇率模板名称",
  22749. "type": "string"
  22750. },
  22751. "tradestatus": {
  22752. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22753. "type": "integer"
  22754. },
  22755. "userid": {
  22756. "description": "用户id",
  22757. "type": "integer"
  22758. }
  22759. }
  22760. },
  22761. "models.ErmcpTradeConfigTMP": {
  22762. "type": "object",
  22763. "properties": {
  22764. "areauserid": {
  22765. "description": "所属机构",
  22766. "type": "integer"
  22767. },
  22768. "basiccurrencyid": {
  22769. "description": "基本币种ID[汇率] - 目标币种",
  22770. "type": "integer"
  22771. },
  22772. "mainaccountid": {
  22773. "description": "主账户ID",
  22774. "type": "integer"
  22775. },
  22776. "modifierid": {
  22777. "description": "修改人",
  22778. "type": "integer"
  22779. },
  22780. "remark": {
  22781. "description": "备注",
  22782. "type": "string"
  22783. },
  22784. "tradeconfigtmpid": {
  22785. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  22786. "type": "integer"
  22787. },
  22788. "tradeconfigtmpname": {
  22789. "description": "交易配置模板名称",
  22790. "type": "string"
  22791. },
  22792. "tradeconfigtmptype": {
  22793. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  22794. "type": "integer"
  22795. },
  22796. "updatetime": {
  22797. "description": "更新时间",
  22798. "type": "string"
  22799. }
  22800. }
  22801. },
  22802. "models.ErmcpUserModel": {
  22803. "type": "object",
  22804. "properties": {
  22805. "address": {
  22806. "description": "通讯地址",
  22807. "type": "string"
  22808. },
  22809. "attachment1": {
  22810. "description": "附件1",
  22811. "type": "string"
  22812. },
  22813. "audittime": {
  22814. "description": "审核时间",
  22815. "type": "string"
  22816. },
  22817. "cardbackphotourl": {
  22818. "description": "证件反面图片地址",
  22819. "type": "string"
  22820. },
  22821. "cardfrontphotourl": {
  22822. "description": "证件正面图片地址",
  22823. "type": "string"
  22824. },
  22825. "cardnum": {
  22826. "description": "证件号码",
  22827. "type": "string"
  22828. },
  22829. "cardtype": {
  22830. "description": "证件类型",
  22831. "type": "integer"
  22832. },
  22833. "cardtypename": {
  22834. "description": "证件类型名称",
  22835. "type": "string"
  22836. },
  22837. "cityid": {
  22838. "description": "市",
  22839. "type": "integer"
  22840. },
  22841. "contactname": {
  22842. "description": "联系人",
  22843. "type": "string"
  22844. },
  22845. "countryid": {
  22846. "description": "国家",
  22847. "type": "integer"
  22848. },
  22849. "createtime": {
  22850. "description": "创建时间",
  22851. "type": "string"
  22852. },
  22853. "customername": {
  22854. "description": "企业名称",
  22855. "type": "string"
  22856. },
  22857. "districtid": {
  22858. "description": "区域",
  22859. "type": "integer"
  22860. },
  22861. "email": {
  22862. "description": "邮件",
  22863. "type": "string"
  22864. },
  22865. "legalpersonname": {
  22866. "description": "法人姓名(企业)",
  22867. "type": "string"
  22868. },
  22869. "memberuserid": {
  22870. "description": "所属机构ID",
  22871. "type": "integer"
  22872. },
  22873. "mobile": {
  22874. "description": "手机号码",
  22875. "type": "string"
  22876. },
  22877. "modifytime": {
  22878. "description": "修改时间",
  22879. "type": "string"
  22880. },
  22881. "nickname": {
  22882. "description": "昵称",
  22883. "type": "string"
  22884. },
  22885. "provinceid": {
  22886. "description": "省",
  22887. "type": "integer"
  22888. },
  22889. "remark": {
  22890. "description": "备注",
  22891. "type": "string"
  22892. },
  22893. "status": {
  22894. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22895. "type": "integer"
  22896. },
  22897. "statusdesc": {
  22898. "description": "账户状态中文描述",
  22899. "type": "string"
  22900. },
  22901. "taxpayernum": {
  22902. "description": "纳税人识别号",
  22903. "type": "string"
  22904. },
  22905. "telphone": {
  22906. "description": "联系电话",
  22907. "type": "string"
  22908. },
  22909. "userid": {
  22910. "description": "用户ID",
  22911. "type": "integer"
  22912. },
  22913. "userinfotype": {
  22914. "description": "客户类型",
  22915. "type": "string"
  22916. }
  22917. }
  22918. },
  22919. "models.ErmcpWareHouseInfo": {
  22920. "type": "object",
  22921. "properties": {
  22922. "address": {
  22923. "description": "详细地址",
  22924. "type": "string"
  22925. },
  22926. "areauserid": {
  22927. "description": "所属机构",
  22928. "type": "integer"
  22929. },
  22930. "autoid": {
  22931. "description": "自增ID(仓库ID)",
  22932. "type": "integer"
  22933. },
  22934. "cityid": {
  22935. "description": "市",
  22936. "type": "integer"
  22937. },
  22938. "contactname": {
  22939. "description": "联系人",
  22940. "type": "string"
  22941. },
  22942. "contactnum": {
  22943. "description": "联系电话",
  22944. "type": "string"
  22945. },
  22946. "countryid": {
  22947. "description": "国家",
  22948. "type": "integer"
  22949. },
  22950. "createtime": {
  22951. "description": "创建时间",
  22952. "type": "string"
  22953. },
  22954. "districtid": {
  22955. "description": "区",
  22956. "type": "integer"
  22957. },
  22958. "hasvideo": {
  22959. "description": "是否有视频 - 0:无 1:有",
  22960. "type": "integer"
  22961. },
  22962. "provinceid": {
  22963. "description": "省",
  22964. "type": "integer"
  22965. },
  22966. "remark": {
  22967. "description": "审核备注",
  22968. "type": "string"
  22969. },
  22970. "videourl": {
  22971. "description": "视频地址",
  22972. "type": "string"
  22973. },
  22974. "warehousecode": {
  22975. "description": "仓库代码",
  22976. "type": "string"
  22977. },
  22978. "warehousename": {
  22979. "description": "仓库名称",
  22980. "type": "string"
  22981. },
  22982. "warehousestatus": {
  22983. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22984. "type": "integer"
  22985. },
  22986. "warehousetype": {
  22987. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22988. "type": "integer"
  22989. }
  22990. }
  22991. },
  22992. "models.Externalexchange": {
  22993. "type": "object",
  22994. "required": [
  22995. "autoid"
  22996. ],
  22997. "properties": {
  22998. "autoid": {
  22999. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  23000. "type": "integer"
  23001. },
  23002. "exchangefullname": {
  23003. "description": "外部交易所全称",
  23004. "type": "string"
  23005. },
  23006. "exexchangecode": {
  23007. "description": "外部交易所代码",
  23008. "type": "string"
  23009. },
  23010. "exexchangename": {
  23011. "description": "外部交易所名称(简称)",
  23012. "type": "string"
  23013. },
  23014. "ismarketprice": {
  23015. "description": "是否支持市价 - 0:不支持 1:支持",
  23016. "type": "integer"
  23017. },
  23018. "quotegear": {
  23019. "description": "行情档位(1-10)",
  23020. "type": "integer"
  23021. },
  23022. "showbrokerflag": {
  23023. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  23024. "type": "integer"
  23025. },
  23026. "updatetime": {
  23027. "description": "更新时间",
  23028. "type": "string"
  23029. }
  23030. }
  23031. },
  23032. "models.Funcmenulist": {
  23033. "type": "object",
  23034. "required": [
  23035. "resourcecode"
  23036. ],
  23037. "properties": {
  23038. "iconame": {
  23039. "description": "菜单图标",
  23040. "type": "string"
  23041. },
  23042. "menutype": {
  23043. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  23044. "type": "integer"
  23045. },
  23046. "parentcode": {
  23047. "description": "上级资源代码",
  23048. "type": "string"
  23049. },
  23050. "remark": {
  23051. "description": "备注",
  23052. "type": "string"
  23053. },
  23054. "resourcecode": {
  23055. "description": "资源代码",
  23056. "type": "string"
  23057. },
  23058. "resourcelevel": {
  23059. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  23060. "type": "integer"
  23061. },
  23062. "resourcename": {
  23063. "description": "资源名",
  23064. "type": "string"
  23065. },
  23066. "sort": {
  23067. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  23068. "type": "integer"
  23069. },
  23070. "url": {
  23071. "description": "URL",
  23072. "type": "string"
  23073. }
  23074. }
  23075. },
  23076. "models.Goods": {
  23077. "type": "object",
  23078. "required": [
  23079. "goodscode",
  23080. "goodsid",
  23081. "goodsname",
  23082. "marketid"
  23083. ],
  23084. "properties": {
  23085. "agreeunit": {
  23086. "description": "合约单位",
  23087. "type": "number"
  23088. },
  23089. "areauserid": {
  23090. "description": "所属机构",
  23091. "type": "integer"
  23092. },
  23093. "auditaccountid": {
  23094. "description": "审核操作员账号",
  23095. "type": "integer"
  23096. },
  23097. "audittime": {
  23098. "description": "审核时间",
  23099. "type": "string"
  23100. },
  23101. "cancelaccountid": {
  23102. "description": "注销操作员账号",
  23103. "type": "integer"
  23104. },
  23105. "canceltime": {
  23106. "description": "注销时间",
  23107. "type": "string"
  23108. },
  23109. "closepricemode": {
  23110. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23111. "type": "integer"
  23112. },
  23113. "closepriceparam": {
  23114. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23115. "type": "number"
  23116. },
  23117. "createtime": {
  23118. "description": "创建时间",
  23119. "type": "string"
  23120. },
  23121. "creatorid": {
  23122. "description": "创建人",
  23123. "type": "integer"
  23124. },
  23125. "currencyid": {
  23126. "description": "报价货币ID",
  23127. "type": "integer"
  23128. },
  23129. "cutmode": {
  23130. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  23131. "type": "integer"
  23132. },
  23133. "decimalplace": {
  23134. "description": "报价小数位",
  23135. "type": "integer"
  23136. },
  23137. "delistingdate": {
  23138. "description": "商品退市时间(状态:退市) -- 已作废",
  23139. "type": "string"
  23140. },
  23141. "delistingmode": {
  23142. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  23143. "type": "integer"
  23144. },
  23145. "deliveryflag": {
  23146. "description": "交割标志 - 0:不可交割 1:可交割",
  23147. "type": "integer"
  23148. },
  23149. "forceclosemode": {
  23150. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  23151. "type": "integer"
  23152. },
  23153. "forceclosevalue": {
  23154. "description": "定期强平参数 [收益权]",
  23155. "type": "integer"
  23156. },
  23157. "goodscode": {
  23158. "description": "商品代码(内部)",
  23159. "type": "string"
  23160. },
  23161. "goodscurrencyid": {
  23162. "description": "合约货币ID",
  23163. "type": "integer"
  23164. },
  23165. "goodsgroupid": {
  23166. "description": "所属商品组ID",
  23167. "type": "integer"
  23168. },
  23169. "goodsid": {
  23170. "description": "商品ID(自增ID SEQ_GOODS)",
  23171. "type": "integer"
  23172. },
  23173. "goodsname": {
  23174. "description": "商品名称",
  23175. "type": "string"
  23176. },
  23177. "goodsquotetype": {
  23178. "description": "合约报价类型: 1-直接报价 2-间接报价",
  23179. "type": "integer"
  23180. },
  23181. "goodsstatus": {
  23182. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23183. "type": "integer"
  23184. },
  23185. "goodstradetype": {
  23186. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  23187. "type": "integer"
  23188. },
  23189. "goodunitid": {
  23190. "description": "报价单位ID",
  23191. "type": "integer"
  23192. },
  23193. "hasquoter": {
  23194. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  23195. "type": "integer"
  23196. },
  23197. "hqprotecttime": {
  23198. "description": "行情保护时间(秒)",
  23199. "type": "integer"
  23200. },
  23201. "innerdealmode": {
  23202. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23203. "type": "integer"
  23204. },
  23205. "isbuylimited": {
  23206. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23207. "type": "integer"
  23208. },
  23209. "isvisible": {
  23210. "description": "游客是否可见 - 0:不可见 1:可见",
  23211. "type": "integer"
  23212. },
  23213. "lasttradedate": {
  23214. "description": "最后交易日期(状态:待退市)",
  23215. "type": "string"
  23216. },
  23217. "listingdate": {
  23218. "description": "交易开始日期",
  23219. "type": "string"
  23220. },
  23221. "marketid": {
  23222. "description": "所属市场ID",
  23223. "type": "integer"
  23224. },
  23225. "modifierid": {
  23226. "description": "修改人",
  23227. "type": "integer"
  23228. },
  23229. "modifystatus": {
  23230. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  23231. "type": "integer"
  23232. },
  23233. "modifytime": {
  23234. "description": "修改时间",
  23235. "type": "string"
  23236. },
  23237. "outerdealmode": {
  23238. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23239. "type": "integer"
  23240. },
  23241. "outgoodscode": {
  23242. "description": "商品代码(外部)",
  23243. "type": "string"
  23244. },
  23245. "pictureurl": {
  23246. "description": "商品图片",
  23247. "type": "string"
  23248. },
  23249. "qtydecimalplace": {
  23250. "description": "成交量小数位",
  23251. "type": "integer"
  23252. },
  23253. "quotegear": {
  23254. "description": "行情档位(1-10)",
  23255. "type": "integer"
  23256. },
  23257. "quoteminunit": {
  23258. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23259. "type": "integer"
  23260. },
  23261. "quoteshowtype": {
  23262. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  23263. "type": "integer"
  23264. },
  23265. "quoteshowtypeinterval": {
  23266. "description": "行情报价间隔时间(秒)(成交价时为0)",
  23267. "type": "integer"
  23268. },
  23269. "remark": {
  23270. "description": "备注",
  23271. "type": "string"
  23272. }
  23273. }
  23274. },
  23275. "models.GoodsIDAndName": {
  23276. "type": "object",
  23277. "required": [
  23278. "goodscode",
  23279. "goodsid",
  23280. "goodsname",
  23281. "marketid"
  23282. ],
  23283. "properties": {
  23284. "goodscode": {
  23285. "description": "商品代码(内部)",
  23286. "type": "string"
  23287. },
  23288. "goodsid": {
  23289. "description": "商品ID(自增ID SEQ_GOODS)",
  23290. "type": "integer"
  23291. },
  23292. "goodsname": {
  23293. "description": "商品名称",
  23294. "type": "string"
  23295. },
  23296. "marketid": {
  23297. "description": "所属市场ID",
  23298. "type": "integer"
  23299. }
  23300. }
  23301. },
  23302. "models.Goodsgroup": {
  23303. "type": "object",
  23304. "required": [
  23305. "goodsgroupid",
  23306. "goodsgroupname",
  23307. "goodsgroupstatus",
  23308. "marketid"
  23309. ],
  23310. "properties": {
  23311. "agreeunit": {
  23312. "description": "合约单位",
  23313. "type": "number"
  23314. },
  23315. "canshort": {
  23316. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  23317. "type": "integer"
  23318. },
  23319. "closepricemode": {
  23320. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23321. "type": "integer"
  23322. },
  23323. "closepriceparam": {
  23324. "description": "强平最新价浮动比例 - 方式为2时使用",
  23325. "type": "number"
  23326. },
  23327. "createtime": {
  23328. "description": "创建时间",
  23329. "type": "string"
  23330. },
  23331. "creatorid": {
  23332. "description": "创建人",
  23333. "type": "integer"
  23334. },
  23335. "currencyid": {
  23336. "description": "报价货币ID",
  23337. "type": "integer"
  23338. },
  23339. "decimalplace": {
  23340. "description": "报价小数位",
  23341. "type": "integer"
  23342. },
  23343. "exercisetype": {
  23344. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  23345. "type": "integer"
  23346. },
  23347. "exexchangeid": {
  23348. "description": "外部交易所ID[通道交易]",
  23349. "type": "integer"
  23350. },
  23351. "goodsgroupid": {
  23352. "description": "商品组ID(自增ID)",
  23353. "type": "integer"
  23354. },
  23355. "goodsgroupname": {
  23356. "description": "商品组名称",
  23357. "type": "string"
  23358. },
  23359. "goodsgroupstatus": {
  23360. "description": "商品组状态 - 1:正常 2:注销",
  23361. "type": "integer"
  23362. },
  23363. "goodunitid": {
  23364. "description": "报价单位ID",
  23365. "type": "integer"
  23366. },
  23367. "innerdealmode": {
  23368. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23369. "type": "integer"
  23370. },
  23371. "isbuylimited": {
  23372. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23373. "type": "integer"
  23374. },
  23375. "marketid": {
  23376. "description": "所属市场ID",
  23377. "type": "integer"
  23378. },
  23379. "modifierid": {
  23380. "description": "修改人",
  23381. "type": "integer"
  23382. },
  23383. "modifytime": {
  23384. "description": "修改时间",
  23385. "type": "string"
  23386. },
  23387. "outerdealmode": {
  23388. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23389. "type": "integer"
  23390. },
  23391. "outergroupcode": {
  23392. "description": "外部商品组代码[通道交易]",
  23393. "type": "string"
  23394. },
  23395. "premiumdecimalplace": {
  23396. "description": "权利金小数位[场外期权]",
  23397. "type": "integer"
  23398. },
  23399. "premiumspreadalgorithm": {
  23400. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  23401. "type": "integer"
  23402. },
  23403. "premiumspreadvalue": {
  23404. "description": "权利金点差值[场外期权]",
  23405. "type": "number"
  23406. },
  23407. "qtydecimalplace": {
  23408. "description": "成交量小数位",
  23409. "type": "integer"
  23410. },
  23411. "quotegear": {
  23412. "description": "行情档位(1-10)",
  23413. "type": "integer"
  23414. },
  23415. "quoteminunit": {
  23416. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23417. "type": "integer"
  23418. },
  23419. "quoterid": {
  23420. "description": "报价商ID[场外期权]",
  23421. "type": "integer"
  23422. },
  23423. "quotesourcegroupid": {
  23424. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  23425. "type": "integer"
  23426. },
  23427. "syncgoodsqty": {
  23428. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  23429. "type": "integer"
  23430. }
  23431. }
  23432. },
  23433. "models.Goodssortbypreposition": {
  23434. "type": "object",
  23435. "required": [
  23436. "goodscode",
  23437. "tradedate"
  23438. ],
  23439. "properties": {
  23440. "goodscode": {
  23441. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  23442. "type": "string"
  23443. },
  23444. "goodsgroupcode": {
  23445. "description": "品种代码",
  23446. "type": "string"
  23447. },
  23448. "prepositionqty": {
  23449. "description": "昨持仓量",
  23450. "type": "integer"
  23451. },
  23452. "sortindex": {
  23453. "description": "排序",
  23454. "type": "integer"
  23455. },
  23456. "tradedate": {
  23457. "description": "交易日",
  23458. "type": "string"
  23459. },
  23460. "updatetime": {
  23461. "description": "更新时间",
  23462. "type": "string"
  23463. }
  23464. }
  23465. },
  23466. "models.Hedgeinnerholderdetail": {
  23467. "type": "object",
  23468. "required": [
  23469. "buyorsell",
  23470. "tradeid"
  23471. ],
  23472. "properties": {
  23473. "accountid": {
  23474. "description": "账号ID",
  23475. "type": "integer"
  23476. },
  23477. "buyorsell": {
  23478. "description": "方向 - 0:买 1:卖",
  23479. "type": "integer"
  23480. },
  23481. "freezeqty": {
  23482. "description": "冻结数量 - 按单平使用",
  23483. "type": "integer"
  23484. },
  23485. "goodsid": {
  23486. "description": "商品ID",
  23487. "type": "integer"
  23488. },
  23489. "holderamount": {
  23490. "description": "持仓金额 [商品币种]",
  23491. "type": "number"
  23492. },
  23493. "holderdays": {
  23494. "description": "剩余冻结天数",
  23495. "type": "integer"
  23496. },
  23497. "holderprice": {
  23498. "description": "持仓价格",
  23499. "type": "number"
  23500. },
  23501. "holderqty": {
  23502. "description": "持仓数量",
  23503. "type": "integer"
  23504. },
  23505. "marketid": {
  23506. "description": "市场ID",
  23507. "type": "integer"
  23508. },
  23509. "openprice": {
  23510. "description": "建仓价格",
  23511. "type": "number"
  23512. },
  23513. "openqty": {
  23514. "description": "建仓数量",
  23515. "type": "integer"
  23516. },
  23517. "parentaccountid": {
  23518. "description": "所属母账户",
  23519. "type": "integer"
  23520. },
  23521. "releaseamount": {
  23522. "description": "释放持仓金额[商品币种]",
  23523. "type": "number"
  23524. },
  23525. "tradeamount": {
  23526. "description": "成交金额[账户]",
  23527. "type": "number"
  23528. },
  23529. "tradedate": {
  23530. "description": "交易日(yyyyMMdd)",
  23531. "type": "string"
  23532. },
  23533. "tradeid": {
  23534. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23535. "type": "string"
  23536. },
  23537. "tradetime": {
  23538. "description": "交易时间",
  23539. "type": "string"
  23540. }
  23541. }
  23542. },
  23543. "models.Hedgemarketopenlog": {
  23544. "type": "object",
  23545. "required": [
  23546. "accountid"
  23547. ],
  23548. "properties": {
  23549. "accountid": {
  23550. "description": "资金账号[外部母账户]",
  23551. "type": "integer"
  23552. },
  23553. "fcname": {
  23554. "description": "期货公司名称",
  23555. "type": "string"
  23556. },
  23557. "handlestatus": {
  23558. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  23559. "type": "integer"
  23560. },
  23561. "marketid": {
  23562. "description": "市场ID",
  23563. "type": "integer"
  23564. },
  23565. "status": {
  23566. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  23567. "type": "integer"
  23568. },
  23569. "tradedate": {
  23570. "description": "交易日(yyyyMMdd)",
  23571. "type": "string"
  23572. },
  23573. "updatetime": {
  23574. "description": "更新时间",
  23575. "type": "string"
  23576. }
  23577. }
  23578. },
  23579. "models.HsbyBuyMyPayOrder": {
  23580. "type": "object",
  23581. "required": [
  23582. "goodscode",
  23583. "goodsname",
  23584. "tradeid",
  23585. "trademode"
  23586. ],
  23587. "properties": {
  23588. "agreeunit": {
  23589. "description": "合约单位",
  23590. "type": "number"
  23591. },
  23592. "buyaccountid": {
  23593. "description": "买方账号ID[报价币种]",
  23594. "type": "integer"
  23595. },
  23596. "buyorderid": {
  23597. "description": "买方委托单号",
  23598. "type": "string"
  23599. },
  23600. "createtime": {
  23601. "description": "创建时间",
  23602. "type": "string"
  23603. },
  23604. "currencysign": {
  23605. "description": "货币符号",
  23606. "type": "string"
  23607. },
  23608. "decimalplace": {
  23609. "description": "报价小数位",
  23610. "type": "integer"
  23611. },
  23612. "goodscode": {
  23613. "description": "商品代码(内部)",
  23614. "type": "string"
  23615. },
  23616. "goodsid": {
  23617. "description": "商品ID",
  23618. "type": "integer"
  23619. },
  23620. "goodsname": {
  23621. "description": "商品名称",
  23622. "type": "string"
  23623. },
  23624. "marketid": {
  23625. "description": "市场ID",
  23626. "type": "integer"
  23627. },
  23628. "offamount": {
  23629. "description": "优惠金额",
  23630. "type": "number"
  23631. },
  23632. "originalamount": {
  23633. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  23634. "type": "number"
  23635. },
  23636. "payamount": {
  23637. "description": "支付金额 = TradeAmount + TradeCharge",
  23638. "type": "number"
  23639. },
  23640. "payflag": {
  23641. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23642. "type": "integer"
  23643. },
  23644. "paylimitedtime": {
  23645. "description": "支付期限",
  23646. "type": "string"
  23647. },
  23648. "paytime": {
  23649. "description": "付款时间",
  23650. "type": "string"
  23651. },
  23652. "picurls1": {
  23653. "description": "预售商品介绍图片[多张用逗号分隔]",
  23654. "type": "string"
  23655. },
  23656. "picurls2": {
  23657. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23658. "type": "string"
  23659. },
  23660. "sellaccountid": {
  23661. "description": "卖方账号ID[报价币种]",
  23662. "type": "integer"
  23663. },
  23664. "sellorderid": {
  23665. "description": "卖方委托单号",
  23666. "type": "string"
  23667. },
  23668. "tradeamount": {
  23669. "description": "成交金额",
  23670. "type": "number"
  23671. },
  23672. "tradecharge": {
  23673. "description": "成交手续费(买方)",
  23674. "type": "number"
  23675. },
  23676. "tradedate": {
  23677. "description": "交易日(yyyyMMdd)",
  23678. "type": "string"
  23679. },
  23680. "tradeid": {
  23681. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23682. "type": "string"
  23683. },
  23684. "trademode": {
  23685. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23686. "type": "integer"
  23687. },
  23688. "tradeprice": {
  23689. "description": "成交价格",
  23690. "type": "number"
  23691. },
  23692. "tradeqty": {
  23693. "description": "成交数量",
  23694. "type": "integer"
  23695. },
  23696. "vendorname1": {
  23697. "description": "预售商品供应商名称",
  23698. "type": "string"
  23699. },
  23700. "vendorname2": {
  23701. "description": "挂牌商品供应商名称",
  23702. "type": "string"
  23703. }
  23704. }
  23705. },
  23706. "models.HsbyBuyMyTradeDetail": {
  23707. "type": "object",
  23708. "required": [
  23709. "accountid",
  23710. "buyorsell",
  23711. "goodscode",
  23712. "goodsid",
  23713. "goodsname",
  23714. "marketid",
  23715. "orderid",
  23716. "qty",
  23717. "time",
  23718. "trademode"
  23719. ],
  23720. "properties": {
  23721. "accountid": {
  23722. "description": "账户ID[报价币种]",
  23723. "type": "integer"
  23724. },
  23725. "agreeunit": {
  23726. "description": "合约单位",
  23727. "type": "number"
  23728. },
  23729. "amount": {
  23730. "description": "金额 = 价格 * 数量 * 合约单位",
  23731. "type": "number"
  23732. },
  23733. "buyorsell": {
  23734. "description": "买卖 - 0:买 1:卖",
  23735. "type": "integer"
  23736. },
  23737. "currencysign": {
  23738. "description": "货币符号",
  23739. "type": "string"
  23740. },
  23741. "decimalplace": {
  23742. "description": "报价小数位",
  23743. "type": "integer"
  23744. },
  23745. "goodscode": {
  23746. "description": "商品代码(内部)",
  23747. "type": "string"
  23748. },
  23749. "goodsid": {
  23750. "description": "商品ID",
  23751. "type": "integer"
  23752. },
  23753. "goodsname": {
  23754. "description": "商品名称",
  23755. "type": "string"
  23756. },
  23757. "marketid": {
  23758. "description": "市场ID",
  23759. "type": "integer"
  23760. },
  23761. "orderamount": {
  23762. "description": "委托金额",
  23763. "type": "number"
  23764. },
  23765. "orderid": {
  23766. "description": "单号(成交单号)",
  23767. "type": "string"
  23768. },
  23769. "picurls1": {
  23770. "description": "预售商品介绍图片[多张用逗号分隔]",
  23771. "type": "string"
  23772. },
  23773. "picurls2": {
  23774. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23775. "type": "string"
  23776. },
  23777. "price": {
  23778. "description": "价格",
  23779. "type": "number"
  23780. },
  23781. "qty": {
  23782. "description": "数量",
  23783. "type": "integer"
  23784. },
  23785. "time": {
  23786. "description": "时间",
  23787. "type": "string"
  23788. },
  23789. "trademode": {
  23790. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23791. "type": "integer"
  23792. },
  23793. "vendorname1": {
  23794. "description": "预售商品供应商名称",
  23795. "type": "string"
  23796. },
  23797. "vendorname2": {
  23798. "description": "挂牌商品供应商名称",
  23799. "type": "string"
  23800. }
  23801. }
  23802. },
  23803. "models.HsbyGoodsOrderDetail": {
  23804. "type": "object",
  23805. "required": [
  23806. "buyorsell",
  23807. "orderid",
  23808. "ordertime"
  23809. ],
  23810. "properties": {
  23811. "buyorsell": {
  23812. "description": "买卖 - 0:买 1:卖",
  23813. "type": "integer"
  23814. },
  23815. "currencysign": {
  23816. "description": "货币符号",
  23817. "type": "string"
  23818. },
  23819. "customername": {
  23820. "description": "客户名称(企业名称),已脱敏",
  23821. "type": "string"
  23822. },
  23823. "enableqty": {
  23824. "description": "可用数量",
  23825. "type": "integer"
  23826. },
  23827. "goodunit": {
  23828. "description": "报价单位",
  23829. "type": "string"
  23830. },
  23831. "orderid": {
  23832. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23833. "type": "string"
  23834. },
  23835. "orderprice": {
  23836. "description": "委托价格",
  23837. "type": "number"
  23838. },
  23839. "ordertime": {
  23840. "description": "委托时间",
  23841. "type": "string"
  23842. }
  23843. }
  23844. },
  23845. "models.HsbyListingGoodsDetail": {
  23846. "type": "object",
  23847. "required": [
  23848. "goodscode",
  23849. "goodsid",
  23850. "goodsname",
  23851. "marketid",
  23852. "trademode"
  23853. ],
  23854. "properties": {
  23855. "agreeunit": {
  23856. "description": "合约单位",
  23857. "type": "number"
  23858. },
  23859. "buymaxqty": {
  23860. "description": "购买上限 [71] - 0为不限",
  23861. "type": "integer"
  23862. },
  23863. "currency": {
  23864. "description": "货币",
  23865. "type": "string"
  23866. },
  23867. "currencysign": {
  23868. "description": "货币符号",
  23869. "type": "string"
  23870. },
  23871. "decimalplace": {
  23872. "description": "报价小数位",
  23873. "type": "integer"
  23874. },
  23875. "desccityid": {
  23876. "description": "目的地(市)ID",
  23877. "type": "integer"
  23878. },
  23879. "descprovinceid": {
  23880. "description": "目的地(省)ID",
  23881. "type": "integer"
  23882. },
  23883. "goodscode": {
  23884. "description": "商品代码(内部)",
  23885. "type": "string"
  23886. },
  23887. "goodsdesc": {
  23888. "description": "商品详情",
  23889. "type": "string"
  23890. },
  23891. "goodsid": {
  23892. "description": "商品ID(自增ID SEQ_GOODS)",
  23893. "type": "integer"
  23894. },
  23895. "goodsname": {
  23896. "description": "商品名称",
  23897. "type": "string"
  23898. },
  23899. "goodsprice": {
  23900. "description": "商品价格",
  23901. "type": "number"
  23902. },
  23903. "hotindex": {
  23904. "description": "景点热度",
  23905. "type": "integer"
  23906. },
  23907. "last": {
  23908. "description": "现价",
  23909. "type": "number"
  23910. },
  23911. "limitdown": {
  23912. "description": "跌停价",
  23913. "type": "number"
  23914. },
  23915. "limitup": {
  23916. "description": "涨停价",
  23917. "type": "number"
  23918. },
  23919. "lotsize": {
  23920. "description": "手数最小变动单位",
  23921. "type": "integer"
  23922. },
  23923. "marketid": {
  23924. "description": "所属市场ID",
  23925. "type": "integer"
  23926. },
  23927. "picurls": {
  23928. "description": "介绍图片[多张用逗号分隔]",
  23929. "type": "string"
  23930. },
  23931. "quoteminunit": {
  23932. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23933. "type": "integer"
  23934. },
  23935. "stepvalue": {
  23936. "description": "价格最小变动单位",
  23937. "type": "number"
  23938. },
  23939. "trademode": {
  23940. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23941. "type": "integer"
  23942. },
  23943. "vendorattr": {
  23944. "description": "供应商附件(多张,逗号分隔)",
  23945. "type": "string"
  23946. },
  23947. "vendorname": {
  23948. "description": "供应商名称",
  23949. "type": "string"
  23950. },
  23951. "vendorphone": {
  23952. "description": "供应商客服电话",
  23953. "type": "string"
  23954. },
  23955. "videourls": {
  23956. "description": "介绍视频[多张用逗号分隔]",
  23957. "type": "string"
  23958. }
  23959. }
  23960. },
  23961. "models.HsbyMarketGoods": {
  23962. "type": "object",
  23963. "required": [
  23964. "accountid",
  23965. "buyorsell",
  23966. "goodscode",
  23967. "goodsid",
  23968. "goodsname",
  23969. "marketid",
  23970. "orderid",
  23971. "trademode"
  23972. ],
  23973. "properties": {
  23974. "accountid": {
  23975. "description": "账户ID[报价币种]",
  23976. "type": "integer"
  23977. },
  23978. "agreeunit": {
  23979. "description": "合约单位",
  23980. "type": "number"
  23981. },
  23982. "buyorsell": {
  23983. "description": "买卖 - 0:买 1:卖",
  23984. "type": "integer"
  23985. },
  23986. "categoryid": {
  23987. "description": "类别ID(WRCATEGORY)",
  23988. "type": "integer"
  23989. },
  23990. "currency": {
  23991. "description": "货币",
  23992. "type": "string"
  23993. },
  23994. "currencysign": {
  23995. "description": "货币符号",
  23996. "type": "string"
  23997. },
  23998. "customername": {
  23999. "description": "卖家名称",
  24000. "type": "string"
  24001. },
  24002. "decimalplace": {
  24003. "description": "报价小数位",
  24004. "type": "integer"
  24005. },
  24006. "goodscode": {
  24007. "description": "商品代码(内部)",
  24008. "type": "string"
  24009. },
  24010. "goodsid": {
  24011. "description": "商品ID",
  24012. "type": "integer"
  24013. },
  24014. "goodsname": {
  24015. "description": "商品名称",
  24016. "type": "string"
  24017. },
  24018. "goodsprice": {
  24019. "description": "商品价格",
  24020. "type": "number"
  24021. },
  24022. "hascoupon": {
  24023. "description": "是否可用优惠卷",
  24024. "type": "boolean"
  24025. },
  24026. "hotindex": {
  24027. "description": "景点热度",
  24028. "type": "integer"
  24029. },
  24030. "marketid": {
  24031. "description": "市场ID",
  24032. "type": "integer"
  24033. },
  24034. "orderid": {
  24035. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24036. "type": "string"
  24037. },
  24038. "orderprice": {
  24039. "description": "委托价格",
  24040. "type": "number"
  24041. },
  24042. "orderstatus": {
  24043. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24044. "type": "integer"
  24045. },
  24046. "picurls": {
  24047. "description": "介绍图片[多张用逗号分隔]",
  24048. "type": "string"
  24049. },
  24050. "quoteminunit": {
  24051. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24052. "type": "integer"
  24053. },
  24054. "sellUserID": {
  24055. "description": "卖方UserID",
  24056. "type": "integer"
  24057. },
  24058. "trademode": {
  24059. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24060. "type": "integer"
  24061. },
  24062. "videourls": {
  24063. "description": "介绍视频[多张用逗号分隔]",
  24064. "type": "string"
  24065. }
  24066. }
  24067. },
  24068. "models.HsbyMarketGoodsDetail": {
  24069. "type": "object",
  24070. "required": [
  24071. "accountid",
  24072. "buyorsell",
  24073. "goodscode",
  24074. "goodsid",
  24075. "goodsname",
  24076. "marketid",
  24077. "orderid",
  24078. "orderqty",
  24079. "trademode"
  24080. ],
  24081. "properties": {
  24082. "accountid": {
  24083. "description": "账户ID[报价币种]",
  24084. "type": "integer"
  24085. },
  24086. "agreeunit": {
  24087. "description": "合约单位",
  24088. "type": "number"
  24089. },
  24090. "buymaxqty": {
  24091. "description": "购买上限 [71] - 0为不限",
  24092. "type": "integer"
  24093. },
  24094. "buyorsell": {
  24095. "description": "买卖 - 0:买 1:卖",
  24096. "type": "integer"
  24097. },
  24098. "cancelqty": {
  24099. "description": "撤单数量",
  24100. "type": "integer"
  24101. },
  24102. "categoryid": {
  24103. "description": "类别ID(WRCATEGORY)",
  24104. "type": "integer"
  24105. },
  24106. "currency": {
  24107. "description": "货币",
  24108. "type": "string"
  24109. },
  24110. "currencysign": {
  24111. "description": "货币符号",
  24112. "type": "string"
  24113. },
  24114. "customername": {
  24115. "description": "卖家名称",
  24116. "type": "string"
  24117. },
  24118. "decimalplace": {
  24119. "description": "报价小数位",
  24120. "type": "integer"
  24121. },
  24122. "goodscode": {
  24123. "description": "商品代码(内部)",
  24124. "type": "string"
  24125. },
  24126. "goodsdesc": {
  24127. "description": "商品详情",
  24128. "type": "string"
  24129. },
  24130. "goodsid": {
  24131. "description": "商品ID",
  24132. "type": "integer"
  24133. },
  24134. "goodsname": {
  24135. "description": "商品名称",
  24136. "type": "string"
  24137. },
  24138. "goodsprice": {
  24139. "description": "商品价格",
  24140. "type": "number"
  24141. },
  24142. "hotindex": {
  24143. "description": "景点热度",
  24144. "type": "integer"
  24145. },
  24146. "lotsize": {
  24147. "description": "手数最小变动单位",
  24148. "type": "integer"
  24149. },
  24150. "marketid": {
  24151. "description": "市场ID",
  24152. "type": "integer"
  24153. },
  24154. "orderid": {
  24155. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24156. "type": "string"
  24157. },
  24158. "orderprice": {
  24159. "description": "委托价格",
  24160. "type": "number"
  24161. },
  24162. "orderqty": {
  24163. "description": "委托数量",
  24164. "type": "integer"
  24165. },
  24166. "orderstatus": {
  24167. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24168. "type": "integer"
  24169. },
  24170. "picurls": {
  24171. "description": "介绍图片[多张用逗号分隔]",
  24172. "type": "string"
  24173. },
  24174. "quoteminunit": {
  24175. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24176. "type": "integer"
  24177. },
  24178. "sellUserID": {
  24179. "description": "卖方UserID",
  24180. "type": "integer"
  24181. },
  24182. "trademode": {
  24183. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24184. "type": "integer"
  24185. },
  24186. "tradeqty": {
  24187. "description": "成交数量",
  24188. "type": "integer"
  24189. },
  24190. "vendorattr": {
  24191. "description": "供应商附件(多张,逗号分隔)",
  24192. "type": "string"
  24193. },
  24194. "vendorname": {
  24195. "description": "供应商名称",
  24196. "type": "string"
  24197. },
  24198. "vendorphone": {
  24199. "description": "供应商客服电话",
  24200. "type": "string"
  24201. },
  24202. "videourls": {
  24203. "description": "介绍视频[多张用逗号分隔]",
  24204. "type": "string"
  24205. }
  24206. }
  24207. },
  24208. "models.HsbyMarketInfo": {
  24209. "type": "object",
  24210. "required": [
  24211. "marketid",
  24212. "marketstatus",
  24213. "trademode"
  24214. ],
  24215. "properties": {
  24216. "marketid": {
  24217. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  24218. "type": "integer"
  24219. },
  24220. "marketname": {
  24221. "description": "市场名称",
  24222. "type": "string"
  24223. },
  24224. "marketstatus": {
  24225. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  24226. "type": "integer"
  24227. },
  24228. "trademode": {
  24229. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24230. "type": "integer"
  24231. }
  24232. }
  24233. },
  24234. "models.HsbyMyGoods": {
  24235. "type": "object",
  24236. "required": [
  24237. "accountid",
  24238. "goodscode",
  24239. "goodsid",
  24240. "goodsname",
  24241. "marketid",
  24242. "trademode"
  24243. ],
  24244. "properties": {
  24245. "accountid": {
  24246. "description": "账号Id",
  24247. "type": "integer"
  24248. },
  24249. "agreeunit": {
  24250. "description": "合约单位",
  24251. "type": "number"
  24252. },
  24253. "buyaverageprice": {
  24254. "description": "持仓均价",
  24255. "type": "number"
  24256. },
  24257. "buycurholderamount": {
  24258. "description": "买当前持仓总金额[商品币种]",
  24259. "type": "number"
  24260. },
  24261. "buycurpositionqty": {
  24262. "description": "买当前持仓总数量",
  24263. "type": "integer"
  24264. },
  24265. "buymaxqty": {
  24266. "description": "购买上限 [71] - 0为不限",
  24267. "type": "integer"
  24268. },
  24269. "currencysign": {
  24270. "description": "货币符号",
  24271. "type": "string"
  24272. },
  24273. "decimalplace": {
  24274. "description": "报价小数位",
  24275. "type": "integer"
  24276. },
  24277. "enableqty": {
  24278. "description": "可用数量",
  24279. "type": "integer"
  24280. },
  24281. "goodscode": {
  24282. "description": "商品代码(内部)",
  24283. "type": "string"
  24284. },
  24285. "goodsid": {
  24286. "description": "商品Id",
  24287. "type": "integer"
  24288. },
  24289. "goodsname": {
  24290. "description": "商品名称",
  24291. "type": "string"
  24292. },
  24293. "goodsprice": {
  24294. "description": "商品价格",
  24295. "type": "number"
  24296. },
  24297. "goodsstatus": {
  24298. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24299. "type": "integer"
  24300. },
  24301. "last": {
  24302. "description": "现价(仅使用于挂牌点选)",
  24303. "type": "number"
  24304. },
  24305. "limitdown": {
  24306. "description": "跌停价(仅使用于挂牌点选)",
  24307. "type": "number"
  24308. },
  24309. "limitup": {
  24310. "description": "涨停价(仅使用于挂牌点选)",
  24311. "type": "number"
  24312. },
  24313. "lotsize": {
  24314. "description": "手数最小变动单位",
  24315. "type": "integer"
  24316. },
  24317. "marketid": {
  24318. "description": "所属市场ID",
  24319. "type": "integer"
  24320. },
  24321. "picurls": {
  24322. "description": "介绍图片[多张用逗号分隔]",
  24323. "type": "string"
  24324. },
  24325. "quoteminunit": {
  24326. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24327. "type": "integer"
  24328. },
  24329. "stepvalue": {
  24330. "description": "价格最小变动单位",
  24331. "type": "number"
  24332. },
  24333. "trademode": {
  24334. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24335. "type": "integer"
  24336. }
  24337. }
  24338. },
  24339. "models.HsbyMyPackage": {
  24340. "type": "object",
  24341. "required": [
  24342. "goodscode",
  24343. "goodsname",
  24344. "takeorderid",
  24345. "trademode"
  24346. ],
  24347. "properties": {
  24348. "accountid": {
  24349. "description": "账户ID",
  24350. "type": "integer"
  24351. },
  24352. "address": {
  24353. "description": "提货人详细地址",
  24354. "type": "string"
  24355. },
  24356. "agreeunit": {
  24357. "description": "合约单位",
  24358. "type": "number"
  24359. },
  24360. "amount": {
  24361. "description": "提货金额",
  24362. "type": "number"
  24363. },
  24364. "auditer": {
  24365. "description": "审核人",
  24366. "type": "integer"
  24367. },
  24368. "audittime": {
  24369. "description": "审核时间",
  24370. "type": "string"
  24371. },
  24372. "averageprice": {
  24373. "description": "均价",
  24374. "type": "number"
  24375. },
  24376. "cardnum": {
  24377. "description": "提货人证件号码",
  24378. "type": "string"
  24379. },
  24380. "cardtypeid": {
  24381. "description": "提货人证件类型",
  24382. "type": "integer"
  24383. },
  24384. "checkremark": {
  24385. "description": "审核备注",
  24386. "type": "string"
  24387. },
  24388. "currencysign": {
  24389. "description": "货币符号",
  24390. "type": "string"
  24391. },
  24392. "decimalplace": {
  24393. "description": "报价小数位",
  24394. "type": "integer"
  24395. },
  24396. "goodscode": {
  24397. "description": "商品代码(内部)",
  24398. "type": "string"
  24399. },
  24400. "goodsid": {
  24401. "description": "商品ID",
  24402. "type": "integer"
  24403. },
  24404. "goodsname": {
  24405. "description": "商品名称",
  24406. "type": "string"
  24407. },
  24408. "handlestatus": {
  24409. "description": "处理状态",
  24410. "type": "integer"
  24411. },
  24412. "marketid": {
  24413. "description": "市场ID",
  24414. "type": "integer"
  24415. },
  24416. "phonenum": {
  24417. "description": "提货人联系方式",
  24418. "type": "string"
  24419. },
  24420. "picurls": {
  24421. "description": "介绍图片[多张用逗号分隔]",
  24422. "type": "string"
  24423. },
  24424. "qty": {
  24425. "description": "提货数量",
  24426. "type": "number"
  24427. },
  24428. "recivername": {
  24429. "description": "提货人姓名",
  24430. "type": "string"
  24431. },
  24432. "reqtime": {
  24433. "description": "更新时间",
  24434. "type": "string"
  24435. },
  24436. "takemode": {
  24437. "description": "提货方式 - 2:自提 3:配送",
  24438. "type": "integer"
  24439. },
  24440. "takeorderid": {
  24441. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24442. "type": "string"
  24443. },
  24444. "takeorderstatus": {
  24445. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  24446. "type": "integer"
  24447. },
  24448. "takeremark": {
  24449. "description": "提货备注",
  24450. "type": "string"
  24451. },
  24452. "tradedate": {
  24453. "description": "交易日(yyyyMMdd)",
  24454. "type": "string"
  24455. },
  24456. "trademode": {
  24457. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24458. "type": "integer"
  24459. },
  24460. "userid": {
  24461. "description": "用户ID",
  24462. "type": "integer"
  24463. },
  24464. "vendorname": {
  24465. "description": "供应商名称",
  24466. "type": "string"
  24467. }
  24468. }
  24469. },
  24470. "models.HsbyPreGoods": {
  24471. "type": "object",
  24472. "required": [
  24473. "goodscode",
  24474. "goodsid",
  24475. "goodsname",
  24476. "marketid",
  24477. "trademode"
  24478. ],
  24479. "properties": {
  24480. "agreeunit": {
  24481. "description": "合约单位",
  24482. "type": "number"
  24483. },
  24484. "currency": {
  24485. "description": "货币",
  24486. "type": "string"
  24487. },
  24488. "currencysign": {
  24489. "description": "货币符号",
  24490. "type": "string"
  24491. },
  24492. "decimalplace": {
  24493. "description": "报价小数位",
  24494. "type": "integer"
  24495. },
  24496. "desccityid": {
  24497. "description": "目的地(市)",
  24498. "type": "integer"
  24499. },
  24500. "descprovinceid": {
  24501. "description": "目的地(省)",
  24502. "type": "integer"
  24503. },
  24504. "enableqty": {
  24505. "description": "剩余数量",
  24506. "type": "integer"
  24507. },
  24508. "goodscode": {
  24509. "description": "商品代码(内部)",
  24510. "type": "string"
  24511. },
  24512. "goodsid": {
  24513. "description": "商品ID(自增ID SEQ_GOODS)",
  24514. "type": "integer"
  24515. },
  24516. "goodsname": {
  24517. "description": "商品名称",
  24518. "type": "string"
  24519. },
  24520. "goodsstatus": {
  24521. "description": "商品状态- 2:未上市 3:上市",
  24522. "type": "integer"
  24523. },
  24524. "lasttradedate": {
  24525. "description": "最后交易日期(状态:待退市)",
  24526. "type": "string"
  24527. },
  24528. "listingdate": {
  24529. "description": "交易开始日期",
  24530. "type": "string"
  24531. },
  24532. "marketid": {
  24533. "description": "所属市场ID",
  24534. "type": "integer"
  24535. },
  24536. "picurls": {
  24537. "description": "介绍图片[多张用逗号分隔]",
  24538. "type": "string"
  24539. },
  24540. "presaledqty": {
  24541. "description": "已预售量(预售结束时更新)",
  24542. "type": "integer"
  24543. },
  24544. "presaleqty": {
  24545. "description": "预售数量",
  24546. "type": "integer"
  24547. },
  24548. "quoteminunit": {
  24549. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24550. "type": "integer"
  24551. },
  24552. "refprice": {
  24553. "description": "参考价格[一口价]",
  24554. "type": "number"
  24555. },
  24556. "relatedgoodsid": {
  24557. "description": "关联交易合约ID",
  24558. "type": "integer"
  24559. },
  24560. "trademode": {
  24561. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24562. "type": "integer"
  24563. },
  24564. "videourls": {
  24565. "description": "介绍视频[多张用逗号分隔]",
  24566. "type": "string"
  24567. }
  24568. }
  24569. },
  24570. "models.HsbyPreGoodsDetail": {
  24571. "type": "object",
  24572. "required": [
  24573. "goodscode",
  24574. "goodsid",
  24575. "goodsname",
  24576. "marketid",
  24577. "trademode"
  24578. ],
  24579. "properties": {
  24580. "agreeunit": {
  24581. "description": "合约单位",
  24582. "type": "number"
  24583. },
  24584. "buymaxqty": {
  24585. "description": "购买上限 [71] - 0为不限",
  24586. "type": "integer"
  24587. },
  24588. "currency": {
  24589. "description": "货币",
  24590. "type": "string"
  24591. },
  24592. "currencysign": {
  24593. "description": "货币符号",
  24594. "type": "string"
  24595. },
  24596. "customername": {
  24597. "description": "发行单位",
  24598. "type": "string"
  24599. },
  24600. "decimalplace": {
  24601. "description": "报价小数位",
  24602. "type": "integer"
  24603. },
  24604. "desccityid": {
  24605. "description": "目的地(市)ID",
  24606. "type": "integer"
  24607. },
  24608. "descprovinceid": {
  24609. "description": "目的地(省)ID",
  24610. "type": "integer"
  24611. },
  24612. "enableqty": {
  24613. "description": "剩余数量",
  24614. "type": "integer"
  24615. },
  24616. "goodscode": {
  24617. "description": "商品代码(内部)",
  24618. "type": "string"
  24619. },
  24620. "goodsdesc": {
  24621. "description": "商品详情",
  24622. "type": "string"
  24623. },
  24624. "goodsid": {
  24625. "description": "商品ID(自增ID SEQ_GOODS)",
  24626. "type": "integer"
  24627. },
  24628. "goodsname": {
  24629. "description": "商品名称",
  24630. "type": "string"
  24631. },
  24632. "goodsstatus": {
  24633. "description": "商品状态- 2:未上市 3:上市",
  24634. "type": "integer"
  24635. },
  24636. "goodunit": {
  24637. "description": "报价单位",
  24638. "type": "string"
  24639. },
  24640. "lasttradedate": {
  24641. "description": "最后交易日期(状态:待退市)",
  24642. "type": "string"
  24643. },
  24644. "listingdate": {
  24645. "description": "交易开始日期",
  24646. "type": "string"
  24647. },
  24648. "lotsize": {
  24649. "description": "手数最小变动单位",
  24650. "type": "integer"
  24651. },
  24652. "marketid": {
  24653. "description": "所属市场ID",
  24654. "type": "integer"
  24655. },
  24656. "picurls": {
  24657. "description": "介绍图片[多张用逗号分隔]",
  24658. "type": "string"
  24659. },
  24660. "presaledqty": {
  24661. "description": "已预售量(预售结束时更新)",
  24662. "type": "integer"
  24663. },
  24664. "presaleqty": {
  24665. "description": "预售数量",
  24666. "type": "integer"
  24667. },
  24668. "quoteminunit": {
  24669. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24670. "type": "integer"
  24671. },
  24672. "refprice": {
  24673. "description": "参考价格[一口价]",
  24674. "type": "number"
  24675. },
  24676. "relatedgoodsid": {
  24677. "description": "关联交易合约ID",
  24678. "type": "integer"
  24679. },
  24680. "stepvalue": {
  24681. "description": "价格最小变动单位",
  24682. "type": "number"
  24683. },
  24684. "trademode": {
  24685. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24686. "type": "integer"
  24687. },
  24688. "vendorattr": {
  24689. "description": "供应商附件(多张,逗号分隔)",
  24690. "type": "string"
  24691. },
  24692. "vendorname": {
  24693. "description": "供应商名称",
  24694. "type": "string"
  24695. },
  24696. "vendorphone": {
  24697. "description": "供应商客服电话",
  24698. "type": "string"
  24699. },
  24700. "videourls": {
  24701. "description": "介绍视频[多张用逗号分隔]",
  24702. "type": "string"
  24703. }
  24704. }
  24705. },
  24706. "models.HsbySellCollectionOrder": {
  24707. "type": "object",
  24708. "required": [
  24709. "goodscode",
  24710. "goodsname",
  24711. "tradeid",
  24712. "trademode"
  24713. ],
  24714. "properties": {
  24715. "agreeunit": {
  24716. "description": "合约单位",
  24717. "type": "number"
  24718. },
  24719. "buyaccountid": {
  24720. "description": "买方账号ID[报价币种]",
  24721. "type": "integer"
  24722. },
  24723. "buyorderid": {
  24724. "description": "买方委托单号",
  24725. "type": "string"
  24726. },
  24727. "createtime": {
  24728. "description": "创建时间",
  24729. "type": "string"
  24730. },
  24731. "currencysign": {
  24732. "description": "货币符号",
  24733. "type": "string"
  24734. },
  24735. "decimalplace": {
  24736. "description": "报价小数位",
  24737. "type": "integer"
  24738. },
  24739. "goodscode": {
  24740. "description": "商品代码(内部)",
  24741. "type": "string"
  24742. },
  24743. "goodsid": {
  24744. "description": "商品ID",
  24745. "type": "integer"
  24746. },
  24747. "goodsname": {
  24748. "description": "商品名称",
  24749. "type": "string"
  24750. },
  24751. "marketid": {
  24752. "description": "市场ID",
  24753. "type": "integer"
  24754. },
  24755. "offamount": {
  24756. "description": "优惠金额",
  24757. "type": "number"
  24758. },
  24759. "payamount": {
  24760. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  24761. "type": "number"
  24762. },
  24763. "payflag": {
  24764. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  24765. "type": "integer"
  24766. },
  24767. "paylimitedtime": {
  24768. "description": "支付期限",
  24769. "type": "string"
  24770. },
  24771. "paytime": {
  24772. "description": "付款时间",
  24773. "type": "string"
  24774. },
  24775. "picurls": {
  24776. "description": "商品介绍图片[多张用逗号分隔]",
  24777. "type": "string"
  24778. },
  24779. "sellaccountid": {
  24780. "description": "卖方账号ID[报价币种]",
  24781. "type": "integer"
  24782. },
  24783. "sellorderid": {
  24784. "description": "卖方委托单号",
  24785. "type": "string"
  24786. },
  24787. "tradeamount": {
  24788. "description": "成交金额",
  24789. "type": "number"
  24790. },
  24791. "tradecharge": {
  24792. "description": "成交手续费(买方)",
  24793. "type": "number"
  24794. },
  24795. "tradedate": {
  24796. "description": "交易日(yyyyMMdd)",
  24797. "type": "string"
  24798. },
  24799. "tradeid": {
  24800. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24801. "type": "string"
  24802. },
  24803. "trademode": {
  24804. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24805. "type": "integer"
  24806. },
  24807. "tradeprice": {
  24808. "description": "成交价格",
  24809. "type": "number"
  24810. },
  24811. "tradeqty": {
  24812. "description": "成交数量",
  24813. "type": "integer"
  24814. }
  24815. }
  24816. },
  24817. "models.HsbySellMyDetail": {
  24818. "type": "object",
  24819. "required": [
  24820. "accountid",
  24821. "buyorsell",
  24822. "goodscode",
  24823. "goodsid",
  24824. "goodsname",
  24825. "marketid",
  24826. "orderid",
  24827. "time",
  24828. "trademode"
  24829. ],
  24830. "properties": {
  24831. "accountid": {
  24832. "description": "账户ID[报价币种]",
  24833. "type": "integer"
  24834. },
  24835. "agreeunit": {
  24836. "description": "合约单位",
  24837. "type": "number"
  24838. },
  24839. "buyorsell": {
  24840. "description": "买卖 - 0:买 1:卖",
  24841. "type": "integer"
  24842. },
  24843. "currencysign": {
  24844. "description": "货币符号",
  24845. "type": "string"
  24846. },
  24847. "decimalplace": {
  24848. "description": "报价小数位",
  24849. "type": "integer"
  24850. },
  24851. "goodscode": {
  24852. "description": "商品代码(内部)",
  24853. "type": "string"
  24854. },
  24855. "goodsid": {
  24856. "description": "商品ID",
  24857. "type": "integer"
  24858. },
  24859. "goodsname": {
  24860. "description": "商品名称",
  24861. "type": "string"
  24862. },
  24863. "marketid": {
  24864. "description": "市场ID",
  24865. "type": "integer"
  24866. },
  24867. "orderid": {
  24868. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  24869. "type": "string"
  24870. },
  24871. "ordertype": {
  24872. "description": "单据类型:0 - 发布中, 1 - 已完成",
  24873. "type": "integer"
  24874. },
  24875. "picurls": {
  24876. "description": "介绍图片[多张用逗号分隔]",
  24877. "type": "string"
  24878. },
  24879. "price": {
  24880. "description": "价格",
  24881. "type": "number"
  24882. },
  24883. "qty": {
  24884. "description": "数量",
  24885. "type": "integer"
  24886. },
  24887. "time": {
  24888. "description": "时间",
  24889. "type": "string"
  24890. },
  24891. "trademode": {
  24892. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24893. "type": "integer"
  24894. },
  24895. "vendorname": {
  24896. "description": "供应商名称",
  24897. "type": "string"
  24898. }
  24899. }
  24900. },
  24901. "models.HsbyTopGoods": {
  24902. "type": "object",
  24903. "required": [
  24904. "goodscode",
  24905. "goodsid",
  24906. "goodsname",
  24907. "marketid",
  24908. "trademode"
  24909. ],
  24910. "properties": {
  24911. "agreeunit": {
  24912. "description": "合约单位",
  24913. "type": "number"
  24914. },
  24915. "currency": {
  24916. "description": "货币",
  24917. "type": "string"
  24918. },
  24919. "currencysign": {
  24920. "description": "货币符号",
  24921. "type": "string"
  24922. },
  24923. "decimalplace": {
  24924. "description": "报价小数位",
  24925. "type": "integer"
  24926. },
  24927. "desccityid": {
  24928. "description": "目的地(市)",
  24929. "type": "integer"
  24930. },
  24931. "descprovinceid": {
  24932. "description": "目的地(省)",
  24933. "type": "integer"
  24934. },
  24935. "goodscode": {
  24936. "description": "商品代码(内部)",
  24937. "type": "string"
  24938. },
  24939. "goodsid": {
  24940. "description": "商品ID(自增ID SEQ_GOODS)",
  24941. "type": "integer"
  24942. },
  24943. "goodsname": {
  24944. "description": "商品名称",
  24945. "type": "string"
  24946. },
  24947. "hotindex": {
  24948. "description": "景点热度",
  24949. "type": "integer"
  24950. },
  24951. "last": {
  24952. "description": "现价",
  24953. "type": "number"
  24954. },
  24955. "marketid": {
  24956. "description": "所属市场ID",
  24957. "type": "integer"
  24958. },
  24959. "picurls": {
  24960. "description": "介绍图片[多张用逗号分隔]",
  24961. "type": "string"
  24962. },
  24963. "quoteminunit": {
  24964. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24965. "type": "integer"
  24966. },
  24967. "trademode": {
  24968. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24969. "type": "integer"
  24970. },
  24971. "videourls": {
  24972. "description": "介绍视频[多张用逗号分隔]",
  24973. "type": "string"
  24974. }
  24975. }
  24976. },
  24977. "models.HybsMyBuyOrderDetail": {
  24978. "type": "object",
  24979. "required": [
  24980. "accountid",
  24981. "buyorsell",
  24982. "goodscode",
  24983. "goodsid",
  24984. "goodsname",
  24985. "marketid",
  24986. "orderid",
  24987. "orderqty",
  24988. "ordertime",
  24989. "trademode"
  24990. ],
  24991. "properties": {
  24992. "accountid": {
  24993. "description": "账户ID[报价币种]",
  24994. "type": "integer"
  24995. },
  24996. "agreeunit": {
  24997. "description": "合约单位",
  24998. "type": "number"
  24999. },
  25000. "buyorsell": {
  25001. "description": "买卖 - 0:买 1:卖",
  25002. "type": "integer"
  25003. },
  25004. "cancelqty": {
  25005. "description": "撤单数量",
  25006. "type": "integer"
  25007. },
  25008. "currencysign": {
  25009. "description": "货币符号",
  25010. "type": "string"
  25011. },
  25012. "decimalplace": {
  25013. "description": "报价小数位",
  25014. "type": "integer"
  25015. },
  25016. "goodscode": {
  25017. "description": "商品代码(内部)",
  25018. "type": "string"
  25019. },
  25020. "goodsid": {
  25021. "description": "商品ID",
  25022. "type": "integer"
  25023. },
  25024. "goodsname": {
  25025. "description": "商品名称",
  25026. "type": "string"
  25027. },
  25028. "listingselecttype": {
  25029. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  25030. "type": "integer"
  25031. },
  25032. "marketid": {
  25033. "description": "市场ID",
  25034. "type": "integer"
  25035. },
  25036. "mybuystatus": {
  25037. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  25038. "type": "integer"
  25039. },
  25040. "orderamount": {
  25041. "description": "委托金额",
  25042. "type": "number"
  25043. },
  25044. "orderid": {
  25045. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25046. "type": "string"
  25047. },
  25048. "orderprice": {
  25049. "description": "委托价格",
  25050. "type": "number"
  25051. },
  25052. "orderqty": {
  25053. "description": "委托数量",
  25054. "type": "integer"
  25055. },
  25056. "orderstatus": {
  25057. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25058. "type": "integer"
  25059. },
  25060. "ordertime": {
  25061. "description": "委托时间",
  25062. "type": "string"
  25063. },
  25064. "picurls1": {
  25065. "description": "预售商品介绍图片[多张用逗号分隔]",
  25066. "type": "string"
  25067. },
  25068. "picurls2": {
  25069. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25070. "type": "string"
  25071. },
  25072. "trademode": {
  25073. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25074. "type": "integer"
  25075. },
  25076. "tradeqty": {
  25077. "description": "成交数量",
  25078. "type": "integer"
  25079. },
  25080. "vendorname1": {
  25081. "description": "预售商品供应商名称",
  25082. "type": "string"
  25083. },
  25084. "vendorname2": {
  25085. "description": "挂牌商品供应商名称",
  25086. "type": "string"
  25087. }
  25088. }
  25089. },
  25090. "models.Loginaccount": {
  25091. "type": "object",
  25092. "required": [
  25093. "loginid"
  25094. ],
  25095. "properties": {
  25096. "accountname": {
  25097. "description": "账户名称",
  25098. "type": "string"
  25099. },
  25100. "canoutin": {
  25101. "description": "是否可出入金 - 0:不可 1:可",
  25102. "type": "integer"
  25103. },
  25104. "clientroleid": {
  25105. "description": "终端角色ID",
  25106. "type": "integer"
  25107. },
  25108. "haslogined": {
  25109. "description": "是否已登录 - 0:未登录 1:已登录",
  25110. "type": "integer"
  25111. },
  25112. "hasupdatedpwd": {
  25113. "description": "是否已更改密码 - 0:未修改 1:已修改",
  25114. "type": "integer"
  25115. },
  25116. "lastloginip": {
  25117. "description": "最新登录地址",
  25118. "type": "string"
  25119. },
  25120. "lastloginmode": {
  25121. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  25122. "type": "integer"
  25123. },
  25124. "lastloginremark": {
  25125. "description": "最新登录描述",
  25126. "type": "string"
  25127. },
  25128. "lastlogintime": {
  25129. "description": "最新登录时间",
  25130. "type": "string"
  25131. },
  25132. "logincode": {
  25133. "description": "登录代码",
  25134. "type": "string"
  25135. },
  25136. "loginfailnum": {
  25137. "description": "连续登录失败次数(登录成功时清零)",
  25138. "type": "integer"
  25139. },
  25140. "loginid": {
  25141. "description": "登陆账号",
  25142. "type": "integer"
  25143. },
  25144. "loginport": {
  25145. "description": "最新登录端口",
  25146. "type": "integer"
  25147. },
  25148. "loginstatus": {
  25149. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  25150. "type": "integer"
  25151. },
  25152. "loginusertype": {
  25153. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  25154. "type": "integer"
  25155. },
  25156. "mobile": {
  25157. "description": "手机号码(加密存储)",
  25158. "type": "string"
  25159. },
  25160. "modifierid": {
  25161. "description": "修改人",
  25162. "type": "integer"
  25163. },
  25164. "modifysrc": {
  25165. "description": "审核来源 - 1:管理端 2:终端",
  25166. "type": "integer"
  25167. },
  25168. "modifytime": {
  25169. "description": "修改时间",
  25170. "type": "string"
  25171. },
  25172. "password": {
  25173. "description": "登陆密码",
  25174. "type": "string"
  25175. },
  25176. "pwdwrongcount": {
  25177. "description": "密码错误次数",
  25178. "type": "integer"
  25179. },
  25180. "relateduserid": {
  25181. "description": "关联用户ID(机构)",
  25182. "type": "integer"
  25183. },
  25184. "taaccountrighttype": {
  25185. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  25186. "type": "integer"
  25187. },
  25188. "unfreezetime": {
  25189. "description": "账户解冻时间",
  25190. "type": "string"
  25191. },
  25192. "userid": {
  25193. "description": "用户ID",
  25194. "type": "integer"
  25195. }
  25196. }
  25197. },
  25198. "models.MainAccountInfo": {
  25199. "type": "object",
  25200. "properties": {
  25201. "accountid": {
  25202. "description": "账号id",
  25203. "type": "integer"
  25204. },
  25205. "accountname": {
  25206. "description": "账号名称(taaccount表中的名称)",
  25207. "type": "string"
  25208. },
  25209. "appid": {
  25210. "description": "AppID",
  25211. "type": "string"
  25212. },
  25213. "authcode": {
  25214. "description": "授权码",
  25215. "type": "string"
  25216. },
  25217. "brokerid": {
  25218. "description": "经纪商id",
  25219. "type": "string"
  25220. },
  25221. "fcid": {
  25222. "description": "期货公司id",
  25223. "type": "integer"
  25224. },
  25225. "fcname": {
  25226. "description": "期货公司代码",
  25227. "type": "string"
  25228. },
  25229. "hedgeaccountcode": {
  25230. "description": "外部账号代码(主账号登录代码)",
  25231. "type": "string"
  25232. },
  25233. "hedgeaccountpwd": {
  25234. "description": "密码",
  25235. "type": "string"
  25236. },
  25237. "ismain": {
  25238. "description": "是否主账号",
  25239. "type": "integer"
  25240. },
  25241. "relateduserid": {
  25242. "description": "关联用户id",
  25243. "type": "integer"
  25244. },
  25245. "userid": {
  25246. "description": "关联用户id",
  25247. "type": "integer"
  25248. }
  25249. }
  25250. },
  25251. "models.Market": {
  25252. "type": "object",
  25253. "required": [
  25254. "marketid",
  25255. "marketstatus",
  25256. "openmethod",
  25257. "reckonpricealgorithm",
  25258. "trademode",
  25259. "tradeproperty"
  25260. ],
  25261. "properties": {
  25262. "auctionwrtype": {
  25263. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  25264. "type": "integer"
  25265. },
  25266. "canacceptquote": {
  25267. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  25268. "type": "integer"
  25269. },
  25270. "cangoodsexercise": {
  25271. "description": "[期权]是否可现货行权- 0:否 1:是",
  25272. "type": "integer"
  25273. },
  25274. "cangoodsexercisetype": {
  25275. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  25276. "type": "integer"
  25277. },
  25278. "canmanualquotestrike": {
  25279. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  25280. "type": "integer"
  25281. },
  25282. "canmutistage": {
  25283. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  25284. "type": "integer"
  25285. },
  25286. "canpreexercise": {
  25287. "description": "[期权]是否可预申报- 0:否 1:是",
  25288. "type": "integer"
  25289. },
  25290. "clearinterval": {
  25291. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  25292. "type": "integer"
  25293. },
  25294. "contracttmp": {
  25295. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  25296. "type": "string"
  25297. },
  25298. "exchareaid": {
  25299. "description": "所属交易所,可以没有",
  25300. "type": "integer"
  25301. },
  25302. "goodstype": {
  25303. "description": "商品类型 - 1:交易商品 2:仓单商品",
  25304. "type": "integer"
  25305. },
  25306. "hasrebate": {
  25307. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  25308. "type": "integer"
  25309. },
  25310. "hastradecredit": {
  25311. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  25312. "type": "integer"
  25313. },
  25314. "haswr": {
  25315. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  25316. "type": "integer"
  25317. },
  25318. "isdeductmargin": {
  25319. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  25320. "type": "integer"
  25321. },
  25322. "isrecordsource": {
  25323. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  25324. "type": "integer"
  25325. },
  25326. "isreleasemargin": {
  25327. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  25328. "type": "integer"
  25329. },
  25330. "marginformula": {
  25331. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  25332. "type": "integer"
  25333. },
  25334. "marginformula2": {
  25335. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  25336. "type": "integer"
  25337. },
  25338. "marketid": {
  25339. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  25340. "type": "integer"
  25341. },
  25342. "marketname": {
  25343. "description": "市场名称",
  25344. "type": "string"
  25345. },
  25346. "marketserviceid": {
  25347. "description": "市场服务ID",
  25348. "type": "integer"
  25349. },
  25350. "marketstatus": {
  25351. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  25352. "type": "integer"
  25353. },
  25354. "markettype": {
  25355. "description": "市场类型- 1:非交易服务 2:交易服务",
  25356. "type": "integer"
  25357. },
  25358. "matchermode": {
  25359. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  25360. "type": "integer"
  25361. },
  25362. "openmethod": {
  25363. "description": "开盘模式 - 0 自动 1手动",
  25364. "type": "integer"
  25365. },
  25366. "otcuserid": {
  25367. "description": "场外期权做市商[场外期权]",
  25368. "type": "integer"
  25369. },
  25370. "outersynctime": {
  25371. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  25372. "type": "string"
  25373. },
  25374. "pendingflag": {
  25375. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  25376. "type": "integer"
  25377. },
  25378. "pendingtime": {
  25379. "description": "待开市时间[通道交易-对冲](HH:mm)",
  25380. "type": "string"
  25381. },
  25382. "performancetempid": {
  25383. "description": "履约计划模板ID - 作废",
  25384. "type": "integer"
  25385. },
  25386. "premiumquotemode": {
  25387. "description": "权利金报价方式 - 1:自动 2:手动",
  25388. "type": "integer"
  25389. },
  25390. "rebateratio": {
  25391. "description": "返利比率[竞价式]",
  25392. "type": "number"
  25393. },
  25394. "reckonorder": {
  25395. "description": "结算顺序",
  25396. "type": "integer"
  25397. },
  25398. "reckonpricealgorithm": {
  25399. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  25400. "type": "integer"
  25401. },
  25402. "reckonpriceparam": {
  25403. "description": "结算价参数",
  25404. "type": "integer"
  25405. },
  25406. "reckontime": {
  25407. "description": "结算时间[通道交易-对冲](HH:mm)",
  25408. "type": "string"
  25409. },
  25410. "roleprioritytype": {
  25411. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  25412. "type": "integer"
  25413. },
  25414. "selllistingauditflag": {
  25415. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  25416. "type": "integer"
  25417. },
  25418. "trademarkettype": {
  25419. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  25420. "type": "integer"
  25421. },
  25422. "trademode": {
  25423. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25424. "type": "integer"
  25425. },
  25426. "tradeproperty": {
  25427. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  25428. "type": "integer"
  25429. },
  25430. "tradetype": {
  25431. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  25432. "type": "integer"
  25433. }
  25434. }
  25435. },
  25436. "models.Marketrun": {
  25437. "type": "object",
  25438. "required": [
  25439. "marketid",
  25440. "nexttradedate",
  25441. "reckonflag",
  25442. "runstatus",
  25443. "tradedate",
  25444. "tradedate2"
  25445. ],
  25446. "properties": {
  25447. "afternexttradedate": {
  25448. "description": "下下交易日",
  25449. "type": "string"
  25450. },
  25451. "clearquoteflag": {
  25452. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  25453. "type": "integer"
  25454. },
  25455. "lastreckondate": {
  25456. "description": "最新交易日(结算成功)",
  25457. "type": "string"
  25458. },
  25459. "machinedate": {
  25460. "description": "机器时间",
  25461. "type": "string"
  25462. },
  25463. "manualflag": {
  25464. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  25465. "type": "integer"
  25466. },
  25467. "marketid": {
  25468. "description": "市场ID",
  25469. "type": "integer"
  25470. },
  25471. "nexttradedate": {
  25472. "description": "下一交易日",
  25473. "type": "string"
  25474. },
  25475. "pretradedate": {
  25476. "description": "上一交易日",
  25477. "type": "string"
  25478. },
  25479. "reckonflag": {
  25480. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  25481. "type": "integer"
  25482. },
  25483. "runstatus": {
  25484. "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.今日免清算",
  25485. "type": "integer"
  25486. },
  25487. "sectionid": {
  25488. "description": "时间段号[多时段时用]",
  25489. "type": "integer"
  25490. },
  25491. "tradedate": {
  25492. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  25493. "type": "string"
  25494. },
  25495. "tradedate2": {
  25496. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  25497. "type": "string"
  25498. },
  25499. "updatetime": {
  25500. "description": "更新时间",
  25501. "type": "string"
  25502. }
  25503. }
  25504. },
  25505. "models.Messageboard": {
  25506. "type": "object",
  25507. "required": [
  25508. "messageboardid"
  25509. ],
  25510. "properties": {
  25511. "contactnum": {
  25512. "description": "联系电话",
  25513. "type": "string"
  25514. },
  25515. "createtime": {
  25516. "description": "创建时间",
  25517. "type": "string"
  25518. },
  25519. "message": {
  25520. "description": "留言信息",
  25521. "type": "string"
  25522. },
  25523. "messageboardid": {
  25524. "description": "留言簿ID(SEQ_MessageBoard)",
  25525. "type": "integer"
  25526. },
  25527. "userid": {
  25528. "description": "用户ID",
  25529. "type": "integer"
  25530. }
  25531. }
  25532. },
  25533. "models.MyCoupon": {
  25534. "type": "object",
  25535. "required": [
  25536. "accountid",
  25537. "coupontypeid"
  25538. ],
  25539. "properties": {
  25540. "accountid": {
  25541. "description": "资金账户ID",
  25542. "type": "integer"
  25543. },
  25544. "areauserid": {
  25545. "description": "所属机构",
  25546. "type": "integer"
  25547. },
  25548. "conditionvalue": {
  25549. "description": "条件阈值(可为0)",
  25550. "type": "number"
  25551. },
  25552. "couponcategroy": {
  25553. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  25554. "type": "integer"
  25555. },
  25556. "couponname": {
  25557. "description": "优惠券名称",
  25558. "type": "string"
  25559. },
  25560. "coupontypeid": {
  25561. "description": "优惠券类型ID",
  25562. "type": "string"
  25563. },
  25564. "couponvalue": {
  25565. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25566. "type": "number"
  25567. },
  25568. "curfreezeqty": {
  25569. "description": "期末冻结数量",
  25570. "type": "integer"
  25571. },
  25572. "curqty": {
  25573. "description": "期末数量",
  25574. "type": "integer"
  25575. },
  25576. "isgeneral": {
  25577. "description": "是否通用券 - 0:否 1:是",
  25578. "type": "integer"
  25579. },
  25580. "isunusable": {
  25581. "description": "是否不可用",
  25582. "type": "boolean"
  25583. },
  25584. "limitedflag": {
  25585. "description": "是否指定商品 - 0:不限 1:限制",
  25586. "type": "integer"
  25587. },
  25588. "limitedgoodsids": {
  25589. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  25590. "type": "string"
  25591. },
  25592. "orifreezeqty": {
  25593. "description": "期初冻结数量",
  25594. "type": "integer"
  25595. },
  25596. "oriqty": {
  25597. "description": "期初数量",
  25598. "type": "integer"
  25599. },
  25600. "reasontype": {
  25601. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  25602. "type": "integer"
  25603. },
  25604. "todaydecrease": {
  25605. "description": "今日减少",
  25606. "type": "integer"
  25607. },
  25608. "todayincrease": {
  25609. "description": "今日增加",
  25610. "type": "integer"
  25611. },
  25612. "userid": {
  25613. "description": "用户ID",
  25614. "type": "integer"
  25615. },
  25616. "userscope": {
  25617. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  25618. "type": "string"
  25619. }
  25620. }
  25621. },
  25622. "models.MyCouponHold": {
  25623. "type": "object",
  25624. "required": [
  25625. "couponholdid"
  25626. ],
  25627. "properties": {
  25628. "accountid": {
  25629. "description": "资金账户ID",
  25630. "type": "integer"
  25631. },
  25632. "conditionvalue": {
  25633. "description": "条件阈值(可为0)",
  25634. "type": "number"
  25635. },
  25636. "couponcategroy": {
  25637. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  25638. "type": "integer"
  25639. },
  25640. "couponholdid": {
  25641. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  25642. "type": "string"
  25643. },
  25644. "couponname": {
  25645. "description": "优惠券名称",
  25646. "type": "string"
  25647. },
  25648. "coupontypeid": {
  25649. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  25650. "type": "string"
  25651. },
  25652. "couponvalue": {
  25653. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  25654. "type": "number"
  25655. },
  25656. "createtime": {
  25657. "description": "创建时间",
  25658. "type": "string"
  25659. },
  25660. "enddate": {
  25661. "description": "结束日期",
  25662. "type": "string"
  25663. },
  25664. "giveapplyid": {
  25665. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  25666. "type": "integer"
  25667. },
  25668. "holdstatus": {
  25669. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  25670. "type": "integer"
  25671. },
  25672. "isgeneral": {
  25673. "description": "是否通用券 - 0:否 1:是",
  25674. "type": "integer"
  25675. },
  25676. "limitedflag": {
  25677. "description": "是否指定商品 - 0:不限 1:限制",
  25678. "type": "integer"
  25679. },
  25680. "limitedgoodsids": {
  25681. "description": "指定商品IDs[逗号分隔]",
  25682. "type": "string"
  25683. },
  25684. "qty": {
  25685. "description": "数量(按1平铺)",
  25686. "type": "integer"
  25687. },
  25688. "startdate": {
  25689. "description": "开始日期",
  25690. "type": "string"
  25691. },
  25692. "userid": {
  25693. "description": "用户ID",
  25694. "type": "integer"
  25695. },
  25696. "userscope": {
  25697. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  25698. "type": "string"
  25699. }
  25700. }
  25701. },
  25702. "models.MyUsedCoupon": {
  25703. "type": "object",
  25704. "required": [
  25705. "coupontypeid",
  25706. "orderid"
  25707. ],
  25708. "properties": {
  25709. "accountid": {
  25710. "description": "资金账户ID(买方)",
  25711. "type": "integer"
  25712. },
  25713. "conditionvalue": {
  25714. "description": "条件阈值(可为0)",
  25715. "type": "number"
  25716. },
  25717. "couponcategroy": {
  25718. "description": "种类 - 1:现金券 2:折扣券",
  25719. "type": "integer"
  25720. },
  25721. "couponname": {
  25722. "description": "优惠券名称",
  25723. "type": "string"
  25724. },
  25725. "coupontypeid": {
  25726. "description": "优惠券类型ID(买方)",
  25727. "type": "string"
  25728. },
  25729. "couponvalue": {
  25730. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  25731. "type": "number"
  25732. },
  25733. "createtime": {
  25734. "description": "创建时间",
  25735. "type": "string"
  25736. },
  25737. "goodsid": {
  25738. "description": "商品ID",
  25739. "type": "integer"
  25740. },
  25741. "handlestatus": {
  25742. "description": "处理状态",
  25743. "type": "integer"
  25744. },
  25745. "marketid": {
  25746. "description": "市场ID",
  25747. "type": "integer"
  25748. },
  25749. "offamount": {
  25750. "description": "优惠金额",
  25751. "type": "number"
  25752. },
  25753. "orderid": {
  25754. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25755. "type": "string"
  25756. },
  25757. "sellaccountid": {
  25758. "description": "资金账户ID(卖方)",
  25759. "type": "integer"
  25760. },
  25761. "tradeamount": {
  25762. "description": "成交金额",
  25763. "type": "number"
  25764. },
  25765. "tradeid": {
  25766. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25767. "type": "string"
  25768. },
  25769. "usedqty": {
  25770. "description": "使用数量",
  25771. "type": "integer"
  25772. }
  25773. }
  25774. },
  25775. "models.OperationPrimaryMenu": {
  25776. "type": "object",
  25777. "properties": {
  25778. "Children": {
  25779. "description": "二级功能菜单",
  25780. "type": "array",
  25781. "items": {
  25782. "$ref": "#/definitions/models.OperationSecondaryMenu"
  25783. }
  25784. },
  25785. "Key": {
  25786. "description": "菜单KEY",
  25787. "type": "string"
  25788. },
  25789. "Label": {
  25790. "description": "菜单标题",
  25791. "type": "string"
  25792. }
  25793. }
  25794. },
  25795. "models.OperationSecondaryMenu": {
  25796. "type": "object",
  25797. "properties": {
  25798. "Key": {
  25799. "description": "菜单KEY",
  25800. "type": "string"
  25801. },
  25802. "Label": {
  25803. "description": "菜单标题",
  25804. "type": "string"
  25805. },
  25806. "TabList": {
  25807. "description": "三级功能菜单",
  25808. "type": "array",
  25809. "items": {
  25810. "$ref": "#/definitions/models.OperationTabMenu"
  25811. }
  25812. }
  25813. }
  25814. },
  25815. "models.OperationTabMenu": {
  25816. "type": "object",
  25817. "properties": {
  25818. "Key": {
  25819. "description": "菜单KEY",
  25820. "type": "string"
  25821. },
  25822. "Label": {
  25823. "description": "菜单标题",
  25824. "type": "string"
  25825. }
  25826. }
  25827. },
  25828. "models.PendingAuditBizModel": {
  25829. "type": "object",
  25830. "properties": {
  25831. "accountid": {
  25832. "description": "现货账户",
  25833. "type": "string"
  25834. },
  25835. "areaname": {
  25836. "description": "所属部门",
  25837. "type": "string"
  25838. },
  25839. "bizid": {
  25840. "description": "业务ID",
  25841. "type": "string"
  25842. },
  25843. "bizname": {
  25844. "description": "业务名称",
  25845. "type": "string"
  25846. },
  25847. "status": {
  25848. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  25849. "type": "integer"
  25850. },
  25851. "type": {
  25852. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  25853. "type": "integer"
  25854. }
  25855. }
  25856. },
  25857. "models.QhjAccountOutInApply": {
  25858. "type": "object",
  25859. "properties": {
  25860. "accountcode": {
  25861. "description": "资金账号",
  25862. "type": "string"
  25863. },
  25864. "accountname": {
  25865. "description": "用户名称(名称)",
  25866. "type": "string"
  25867. },
  25868. "accountpwd": {
  25869. "description": "资金密码",
  25870. "type": "string"
  25871. },
  25872. "accountticket": {
  25873. "description": "最新账户服务流水号",
  25874. "type": "string"
  25875. },
  25876. "amount": {
  25877. "description": "金额",
  25878. "type": "number"
  25879. },
  25880. "applyremark": {
  25881. "description": "申请备注",
  25882. "type": "string"
  25883. },
  25884. "applystatus": {
  25885. "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: 复审通过,账户冻结金额检查中;",
  25886. "type": "integer"
  25887. },
  25888. "auditid": {
  25889. "description": "审核人",
  25890. "type": "integer"
  25891. },
  25892. "audittime": {
  25893. "description": "审核时间",
  25894. "type": "string"
  25895. },
  25896. "bank_apply_ticket": {
  25897. "description": "银行申请流水",
  25898. "type": "string"
  25899. },
  25900. "bankaccountname": {
  25901. "description": "银行账户名",
  25902. "type": "string"
  25903. },
  25904. "bankaccountno": {
  25905. "description": "银行卡号",
  25906. "type": "string"
  25907. },
  25908. "bankid": {
  25909. "description": "银行编号",
  25910. "type": "string"
  25911. },
  25912. "bankticket": {
  25913. "description": "银行流水",
  25914. "type": "string"
  25915. },
  25916. "branchbankid": {
  25917. "description": "银行支行号",
  25918. "type": "string"
  25919. },
  25920. "branchbankname": {
  25921. "description": "银行支行名称",
  25922. "type": "string"
  25923. },
  25924. "capamountout": {
  25925. "description": "出金(劣后本金) - 外部子账户",
  25926. "type": "number"
  25927. },
  25928. "certificatephotourl": {
  25929. "description": "凭证地址",
  25930. "type": "string"
  25931. },
  25932. "charge": {
  25933. "description": "手续费",
  25934. "type": "number"
  25935. },
  25936. "checkerrorflag": {
  25937. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  25938. "type": "integer"
  25939. },
  25940. "currency": {
  25941. "description": "币种",
  25942. "type": "string"
  25943. },
  25944. "cusbankid": {
  25945. "description": "托管银行编号",
  25946. "type": "string"
  25947. },
  25948. "exchticket": {
  25949. "description": "银行服务流水号",
  25950. "type": "string"
  25951. },
  25952. "executetype": {
  25953. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  25954. "type": "integer"
  25955. },
  25956. "extendinfo": {
  25957. "description": "扩展信息",
  25958. "type": "string"
  25959. },
  25960. "extoperateid": {
  25961. "description": "交易服务流水号",
  25962. "type": "integer"
  25963. },
  25964. "infamount": {
  25965. "description": "劣后金额(自有)",
  25966. "type": "number"
  25967. },
  25968. "logincode": {
  25969. "description": "登录账号(账号)",
  25970. "type": "string"
  25971. },
  25972. "netaddr": {
  25973. "description": "调转网址",
  25974. "type": "string"
  25975. },
  25976. "priamount": {
  25977. "description": "优先金额(授信)",
  25978. "type": "number"
  25979. },
  25980. "reauditid": {
  25981. "description": "复审人",
  25982. "type": "integer"
  25983. },
  25984. "reauditremark": {
  25985. "description": "复审备注",
  25986. "type": "string"
  25987. },
  25988. "reaudittime": {
  25989. "description": "复审时间",
  25990. "type": "string"
  25991. },
  25992. "relatedorderid": {
  25993. "description": "三方关联ID",
  25994. "type": "string"
  25995. },
  25996. "remark": {
  25997. "description": "备注",
  25998. "type": "string"
  25999. },
  26000. "remark2": {
  26001. "description": "备注(失败原因)",
  26002. "type": "string"
  26003. },
  26004. "soucreamount": {
  26005. "description": "原始出入金金额",
  26006. "type": "number"
  26007. },
  26008. "soucrecurrencyid": {
  26009. "description": "原始出入金币种",
  26010. "type": "integer"
  26011. },
  26012. "tradedate": {
  26013. "description": "交易日(yyyyMMdd)",
  26014. "type": "string"
  26015. },
  26016. "updatetime": {
  26017. "description": "更新时间(申请时间)",
  26018. "type": "string"
  26019. },
  26020. "userid": {
  26021. "description": "用户id",
  26022. "type": "integer"
  26023. },
  26024. "userinfotype": {
  26025. "description": "账户类型 1-个人 2-企业",
  26026. "type": "integer"
  26027. }
  26028. }
  26029. },
  26030. "models.QhjAgreementChangeLog": {
  26031. "type": "object",
  26032. "properties": {
  26033. "agreementcontent": {
  26034. "description": "协议内容",
  26035. "type": "string"
  26036. },
  26037. "agreementfrequency": {
  26038. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  26039. "type": "integer"
  26040. },
  26041. "agreementid": {
  26042. "description": "协议ID",
  26043. "type": "integer"
  26044. },
  26045. "agreementname": {
  26046. "description": "协议名称",
  26047. "type": "string"
  26048. },
  26049. "agreementno": {
  26050. "description": "协议编号",
  26051. "type": "string"
  26052. },
  26053. "agreementtype": {
  26054. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26055. "type": "integer"
  26056. },
  26057. "agreementversion": {
  26058. "description": "协议版本号",
  26059. "type": "integer"
  26060. },
  26061. "logid": {
  26062. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  26063. "type": "integer"
  26064. },
  26065. "reviserid": {
  26066. "description": "修改人",
  26067. "type": "integer"
  26068. },
  26069. "revisersrc": {
  26070. "description": "修改来源 - 1:管理端 2:终端",
  26071. "type": "integer"
  26072. },
  26073. "updatetime": {
  26074. "description": "更新时间",
  26075. "type": "string"
  26076. }
  26077. }
  26078. },
  26079. "models.QhjAgreementConfig": {
  26080. "type": "object",
  26081. "properties": {
  26082. "agreementcontent": {
  26083. "description": "协议内容",
  26084. "type": "string"
  26085. },
  26086. "agreementfrequency": {
  26087. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  26088. "type": "integer"
  26089. },
  26090. "agreementid": {
  26091. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  26092. "type": "integer"
  26093. },
  26094. "agreementname": {
  26095. "description": "协议名称",
  26096. "type": "string"
  26097. },
  26098. "agreementno": {
  26099. "description": "协议编号",
  26100. "type": "string"
  26101. },
  26102. "agreementtype": {
  26103. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26104. "type": "integer"
  26105. },
  26106. "agreementversion": {
  26107. "description": "协议版本号(从1开始每次修改加1)",
  26108. "type": "integer"
  26109. },
  26110. "createtime": {
  26111. "description": "创建时间",
  26112. "type": "string"
  26113. },
  26114. "creatorid": {
  26115. "description": "创建人",
  26116. "type": "integer"
  26117. },
  26118. "creatorsrc": {
  26119. "description": "创建来源 - 1:管理端 2:终端",
  26120. "type": "integer"
  26121. },
  26122. "isvalid": {
  26123. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  26124. "type": "integer"
  26125. },
  26126. "reviserid": {
  26127. "description": "修改人",
  26128. "type": "integer"
  26129. },
  26130. "revisersrc": {
  26131. "description": "修改来源 - 1:管理端 2:终端",
  26132. "type": "integer"
  26133. },
  26134. "updatetime": {
  26135. "description": "更新时间",
  26136. "type": "string"
  26137. }
  26138. }
  26139. },
  26140. "models.QhjAreaFinanceConfig": {
  26141. "type": "object",
  26142. "properties": {
  26143. "additionalratio": {
  26144. "description": "追加款比例",
  26145. "type": "number"
  26146. },
  26147. "advanceratio": {
  26148. "description": "预付款比例",
  26149. "type": "number"
  26150. },
  26151. "alarmratio": {
  26152. "description": "告警比例",
  26153. "type": "number"
  26154. },
  26155. "consumptiondirectreward": {
  26156. "description": "消费直推奖励值",
  26157. "type": "number"
  26158. },
  26159. "consumptionenabled": {
  26160. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  26161. "type": "integer"
  26162. },
  26163. "consumptionindirectreward": {
  26164. "description": "消费间推奖励值",
  26165. "type": "number"
  26166. },
  26167. "consumptionmodel": {
  26168. "description": "消费奖励方式 - 1:比率 2:固定",
  26169. "type": "integer"
  26170. },
  26171. "customerservicenum": {
  26172. "description": "客服电话",
  26173. "type": "string"
  26174. },
  26175. "dayinterestrate": {
  26176. "description": "日利率",
  26177. "type": "number"
  26178. },
  26179. "disableconsumptiontips": {
  26180. "description": "关闭消费奖励提示",
  26181. "type": "string"
  26182. },
  26183. "modifierid": {
  26184. "description": "修改人ID",
  26185. "type": "integer"
  26186. },
  26187. "modifysrc": {
  26188. "description": "审核来源 - 1:管理端 2:终端",
  26189. "type": "integer"
  26190. },
  26191. "modifytime": {
  26192. "description": "修改时间",
  26193. "type": "string"
  26194. },
  26195. "promotionvalue": {
  26196. "description": "推广奖励值(固定)",
  26197. "type": "number"
  26198. },
  26199. "scoreconfigvalue1": {
  26200. "description": "提货积分配置1",
  26201. "type": "integer"
  26202. },
  26203. "scoreconfigvalue2": {
  26204. "description": "提货积分配置2",
  26205. "type": "integer"
  26206. },
  26207. "userid": {
  26208. "description": "机构用户ID其他做市关系,都设置为 1",
  26209. "type": "integer"
  26210. },
  26211. "username": {
  26212. "description": "用户名称",
  26213. "type": "string"
  26214. }
  26215. }
  26216. },
  26217. "models.QhjBankAccountSign": {
  26218. "type": "object",
  26219. "properties": {
  26220. "accountcode": {
  26221. "description": "资金账号",
  26222. "type": "string"
  26223. },
  26224. "accountname": {
  26225. "description": "资金账号对应的账号名(UserName)",
  26226. "type": "string"
  26227. },
  26228. "accountname2": {
  26229. "description": "资金账号对应的账号名(UserName) - 密文",
  26230. "type": "string"
  26231. },
  26232. "accounttype": {
  26233. "description": "账户类型(UserType)",
  26234. "type": "integer"
  26235. },
  26236. "applicationtime": {
  26237. "description": "最后一次更新的时间",
  26238. "type": "string"
  26239. },
  26240. "applyexchticket": {
  26241. "description": "申请流水",
  26242. "type": "string"
  26243. },
  26244. "auditid": {
  26245. "description": "审核人",
  26246. "type": "integer"
  26247. },
  26248. "audittime": {
  26249. "description": "审核时间",
  26250. "type": "string"
  26251. },
  26252. "bankaccountname": {
  26253. "description": "签约银行卡账号名",
  26254. "type": "string"
  26255. },
  26256. "bankaccountname2": {
  26257. "description": "签约银行卡账号名 - 密文",
  26258. "type": "string"
  26259. },
  26260. "bankaccountno": {
  26261. "description": "银行卡号",
  26262. "type": "string"
  26263. },
  26264. "bankaccountno2": {
  26265. "description": "银行卡号 - 密文",
  26266. "type": "string"
  26267. },
  26268. "bankaccounttype": {
  26269. "description": "银行账户类型 - 1-对私; 2-对公",
  26270. "type": "integer"
  26271. },
  26272. "bankcardtype": {
  26273. "description": "银行卡类型",
  26274. "type": "integer"
  26275. },
  26276. "bankchildaccount": {
  26277. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  26278. "type": "string"
  26279. },
  26280. "bankcity": {
  26281. "description": "开户行城市",
  26282. "type": "string"
  26283. },
  26284. "bankid": {
  26285. "description": "签约银行ID",
  26286. "type": "string"
  26287. },
  26288. "bankname": {
  26289. "description": "签约银行名称",
  26290. "type": "string"
  26291. },
  26292. "bankprovince": {
  26293. "description": "开户行省份",
  26294. "type": "string"
  26295. },
  26296. "branchbankid": {
  26297. "description": "签约银行支行号",
  26298. "type": "string"
  26299. },
  26300. "branchbankname": {
  26301. "description": "签约银行支行名称",
  26302. "type": "string"
  26303. },
  26304. "cardno": {
  26305. "description": "证件号码",
  26306. "type": "string"
  26307. },
  26308. "cardno2": {
  26309. "description": "证件号码 - 密文",
  26310. "type": "string"
  26311. },
  26312. "cardtype": {
  26313. "description": "证件类型",
  26314. "type": "string"
  26315. },
  26316. "currency": {
  26317. "description": "币种",
  26318. "type": "string"
  26319. },
  26320. "cusbankid": {
  26321. "description": "托管银行编号",
  26322. "type": "string"
  26323. },
  26324. "direct": {
  26325. "description": "方向(可以判断那方先发起的签约)",
  26326. "type": "integer"
  26327. },
  26328. "exchticket": {
  26329. "description": "最后一次签约成功的流水号",
  26330. "type": "string"
  26331. },
  26332. "extendinfo": {
  26333. "description": "扩展信息(JSON字符串)",
  26334. "type": "string"
  26335. },
  26336. "mobilephone": {
  26337. "description": "手机号",
  26338. "type": "string"
  26339. },
  26340. "mobilephone2": {
  26341. "description": "手机号 - 密文",
  26342. "type": "string"
  26343. },
  26344. "netaddr": {
  26345. "description": "调转网址",
  26346. "type": "string"
  26347. },
  26348. "relateduserid": {
  26349. "description": "关联使用者userid",
  26350. "type": "integer"
  26351. },
  26352. "signstatus": {
  26353. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  26354. "type": "integer"
  26355. },
  26356. "updatetime": {
  26357. "description": "更新时间(签解约更新时间)",
  26358. "type": "string"
  26359. }
  26360. }
  26361. },
  26362. "models.QhjBankInfo": {
  26363. "type": "object",
  26364. "properties": {
  26365. "bankid": {
  26366. "description": "银行ID",
  26367. "type": "string"
  26368. },
  26369. "bankname": {
  26370. "description": "银行名称",
  26371. "type": "string"
  26372. },
  26373. "clearbankno": {
  26374. "description": "清算系统银行编号",
  26375. "type": "string"
  26376. },
  26377. "orderindex": {
  26378. "description": "排序顺序",
  26379. "type": "integer"
  26380. },
  26381. "status": {
  26382. "description": "状态 - 0:正常 1:注销",
  26383. "type": "integer"
  26384. }
  26385. }
  26386. },
  26387. "models.QhjBrokerApply": {
  26388. "type": "object",
  26389. "properties": {
  26390. "applicantid": {
  26391. "description": "申请人",
  26392. "type": "integer"
  26393. },
  26394. "applysrc": {
  26395. "description": "申请来源 - 1:管理端 2:终端",
  26396. "type": "integer"
  26397. },
  26398. "applystatus": {
  26399. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26400. "type": "integer"
  26401. },
  26402. "applytime": {
  26403. "description": "申请时间",
  26404. "type": "string"
  26405. },
  26406. "auditorid": {
  26407. "description": "审核人",
  26408. "type": "integer"
  26409. },
  26410. "auditremark": {
  26411. "description": "审核备注",
  26412. "type": "string"
  26413. },
  26414. "auditsrc": {
  26415. "description": "审核来源 - 1:管理端 2:终端",
  26416. "type": "integer"
  26417. },
  26418. "audittime": {
  26419. "description": "审核时间",
  26420. "type": "string"
  26421. },
  26422. "audittradedate": {
  26423. "description": "审核交易日(yyyyMMdd)",
  26424. "type": "string"
  26425. },
  26426. "brokerapplyid": {
  26427. "description": "申请ID(SEQ_BROKERAPPLY)",
  26428. "type": "integer"
  26429. },
  26430. "cardbackphotourl": {
  26431. "description": "证件背面图片地址",
  26432. "type": "string"
  26433. },
  26434. "cardfrontphotourl": {
  26435. "description": "证件正面图片地址",
  26436. "type": "string"
  26437. },
  26438. "cardnum": {
  26439. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  26440. "type": "string"
  26441. },
  26442. "customername": {
  26443. "description": "姓名",
  26444. "type": "string"
  26445. },
  26446. "logincode": {
  26447. "description": "登录代码",
  26448. "type": "string"
  26449. },
  26450. "mobile": {
  26451. "description": "手机号码",
  26452. "type": "string"
  26453. },
  26454. "parentuserid": {
  26455. "description": "所属机构id",
  26456. "type": "integer"
  26457. },
  26458. "parentusername": {
  26459. "description": "所属机构名称",
  26460. "type": "string"
  26461. },
  26462. "refereeuserid": {
  26463. "description": "推荐人id(经纪人)",
  26464. "type": "integer"
  26465. },
  26466. "refernum": {
  26467. "description": "推荐码",
  26468. "type": "string"
  26469. },
  26470. "remark": {
  26471. "description": "备注",
  26472. "type": "string"
  26473. },
  26474. "subarealevelpath": {
  26475. "description": "层级路径",
  26476. "type": "string"
  26477. },
  26478. "tradedate": {
  26479. "description": "交易日(yyyyMMdd)",
  26480. "type": "string"
  26481. },
  26482. "userid": {
  26483. "description": "申请人用户ID",
  26484. "type": "integer"
  26485. },
  26486. "userinfotype": {
  26487. "description": "用户类型 1-个人 2-企业",
  26488. "type": "integer"
  26489. },
  26490. "username": {
  26491. "description": "用户名称",
  26492. "type": "string"
  26493. }
  26494. }
  26495. },
  26496. "models.QhjBrokerApplyEx": {
  26497. "type": "object",
  26498. "properties": {
  26499. "applylist": {
  26500. "description": "经纪人申请记录(只返回最新一条)",
  26501. "type": "array",
  26502. "items": {
  26503. "$ref": "#/definitions/models.QhjBrokerApply"
  26504. }
  26505. },
  26506. "canrecommend": {
  26507. "description": "是否经纪人 0-不是 1-是",
  26508. "type": "integer"
  26509. },
  26510. "refernum": {
  26511. "description": "推荐码",
  26512. "type": "string"
  26513. },
  26514. "userid": {
  26515. "description": "用户id",
  26516. "type": "integer"
  26517. },
  26518. "userinfotype": {
  26519. "description": "用户类型 1-个人 2-企业",
  26520. "type": "integer"
  26521. }
  26522. }
  26523. },
  26524. "models.QhjBrokerRewardLog": {
  26525. "type": "object",
  26526. "properties": {
  26527. "accountid": {
  26528. "description": "资金账号ID",
  26529. "type": "integer"
  26530. },
  26531. "createtime": {
  26532. "description": "创建时间(时间)",
  26533. "type": "string"
  26534. },
  26535. "handlestatus": {
  26536. "description": "处理状态",
  26537. "type": "integer"
  26538. },
  26539. "logid": {
  26540. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26541. "type": "string"
  26542. },
  26543. "marketid": {
  26544. "description": "市场ID",
  26545. "type": "integer"
  26546. },
  26547. "mmaccountid": {
  26548. "description": "做市商资金账号ID",
  26549. "type": "string"
  26550. },
  26551. "mmuserid": {
  26552. "description": "做市商用户ID",
  26553. "type": "string"
  26554. },
  26555. "rewardamount": {
  26556. "description": "奖励金额",
  26557. "type": "number"
  26558. },
  26559. "rewardmodel": {
  26560. "description": "消费奖励方式 - 1:比率 2:固定",
  26561. "type": "integer"
  26562. },
  26563. "rewardtype": {
  26564. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  26565. "type": "integer"
  26566. },
  26567. "rewardvalue": {
  26568. "description": "配置奖励值",
  26569. "type": "number"
  26570. },
  26571. "srcamount": {
  26572. "description": "成交金额 [消费奖励] (金额)",
  26573. "type": "number"
  26574. },
  26575. "srcgoodsid": {
  26576. "description": "来源商品ID [消费奖励]",
  26577. "type": "string"
  26578. },
  26579. "srctime": {
  26580. "description": "来源时间 (成交时间) [消费奖励]",
  26581. "type": "string"
  26582. },
  26583. "srctradeid": {
  26584. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  26585. "type": "string"
  26586. },
  26587. "srcuserid": {
  26588. "description": "来源用户ID(推广账户)",
  26589. "type": "string"
  26590. },
  26591. "srcusername": {
  26592. "description": "推广账户名称",
  26593. "type": "string"
  26594. },
  26595. "tradedate": {
  26596. "description": "交易日(yyyyMMdd)",
  26597. "type": "string"
  26598. },
  26599. "userid": {
  26600. "description": "经纪人用户ID",
  26601. "type": "integer"
  26602. }
  26603. }
  26604. },
  26605. "models.QhjContract": {
  26606. "type": "object",
  26607. "properties": {
  26608. "contractconfirmtime": {
  26609. "description": "合同确认时间(时间)",
  26610. "type": "string"
  26611. },
  26612. "currisklevel": {
  26613. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  26614. "type": "integer"
  26615. },
  26616. "decimalplace": {
  26617. "description": "商品报价小数位",
  26618. "type": "integer"
  26619. },
  26620. "enumdicname": {
  26621. "description": "单位名称",
  26622. "type": "string"
  26623. },
  26624. "goodscode": {
  26625. "description": "商品代码",
  26626. "type": "string"
  26627. },
  26628. "goodsid": {
  26629. "description": "商品ID [5:融资单]",
  26630. "type": "integer"
  26631. },
  26632. "goodsname": {
  26633. "description": "商品名称",
  26634. "type": "string"
  26635. },
  26636. "goodunitid": {
  26637. "description": "商品单位id",
  26638. "type": "integer"
  26639. },
  26640. "initmargin": {
  26641. "description": "初始保证金(首付款)",
  26642. "type": "number"
  26643. },
  26644. "lenderamount": {
  26645. "description": "贷款金额(总额|订单总额)",
  26646. "type": "number"
  26647. },
  26648. "marginratio": {
  26649. "description": "保证金比率(首付比例)",
  26650. "type": "number"
  26651. },
  26652. "payamount": {
  26653. "description": "已付(已付货款)",
  26654. "type": "number"
  26655. },
  26656. "reckonrecovermargin": {
  26657. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  26658. "type": "number"
  26659. },
  26660. "recoveredmargin": {
  26661. "description": "已追缴保证金",
  26662. "type": "number"
  26663. },
  26664. "remainamount": {
  26665. "description": "合同剩余金额(融资额)",
  26666. "type": "number"
  26667. },
  26668. "scfcontractid": {
  26669. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26670. "type": "string"
  26671. },
  26672. "scfcontractstatus": {
  26673. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  26674. "type": "integer"
  26675. },
  26676. "scfcontracttype": {
  26677. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  26678. "type": "integer"
  26679. },
  26680. "totalinterest": {
  26681. "description": "已计总利息(利息)",
  26682. "type": "number"
  26683. },
  26684. "tradeprice": {
  26685. "description": "成交价格(成本价格)",
  26686. "type": "number"
  26687. },
  26688. "userid": {
  26689. "description": "用户ID",
  26690. "type": "integer"
  26691. },
  26692. "username": {
  26693. "description": "用户名称",
  26694. "type": "string"
  26695. },
  26696. "wrqty": {
  26697. "description": "仓单数量(数量)",
  26698. "type": "number"
  26699. }
  26700. }
  26701. },
  26702. "models.QhjContractLog": {
  26703. "type": "object",
  26704. "properties": {
  26705. "amount": {
  26706. "description": "支付金额",
  26707. "type": "number"
  26708. },
  26709. "amounttype": {
  26710. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  26711. "type": "integer"
  26712. },
  26713. "logid": {
  26714. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26715. "type": "string"
  26716. },
  26717. "remainamount": {
  26718. "description": "剩余货款",
  26719. "type": "number"
  26720. },
  26721. "scfcontractid": {
  26722. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26723. "type": "integer"
  26724. },
  26725. "updatetime": {
  26726. "description": "更新时间",
  26727. "type": "string"
  26728. }
  26729. }
  26730. },
  26731. "models.QhjCusBankSignBankEx": {
  26732. "type": "object",
  26733. "properties": {
  26734. "banklst": {
  26735. "description": "银行列表",
  26736. "type": "array",
  26737. "items": {
  26738. "$ref": "#/definitions/models.QhjBankInfo"
  26739. }
  26740. },
  26741. "canallot": {
  26742. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  26743. "type": "integer"
  26744. },
  26745. "canallotquery": {
  26746. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  26747. "type": "integer"
  26748. },
  26749. "canbindcard": {
  26750. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  26751. "type": "integer"
  26752. },
  26753. "caninamount": {
  26754. "description": "是否可入金 - 0:不可 1:可以",
  26755. "type": "integer"
  26756. },
  26757. "caninamount2": {
  26758. "description": "是否可入金(网银端) - 0:不可 1:可以",
  26759. "type": "integer"
  26760. },
  26761. "canmodifybankcard": {
  26762. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  26763. "type": "integer"
  26764. },
  26765. "canmodifyphone": {
  26766. "description": "是否可修改手机号 - 0:不可 1:可以",
  26767. "type": "integer"
  26768. },
  26769. "canmodifysigninfo": {
  26770. "description": "是否可修改签约信息 - 0:不可 1:可以",
  26771. "type": "integer"
  26772. },
  26773. "canoutamount": {
  26774. "description": "是否可出金 - 0:不可 1:可以",
  26775. "type": "integer"
  26776. },
  26777. "canoutamount2": {
  26778. "description": "是否可出金(网银端) - 0:不可 1:可以",
  26779. "type": "integer"
  26780. },
  26781. "canrelease": {
  26782. "description": "是否可解约 - 0:不可 1:可以",
  26783. "type": "integer"
  26784. },
  26785. "canrelease2": {
  26786. "description": "是否可解约(网银端) - 0:不可 1:可以",
  26787. "type": "integer"
  26788. },
  26789. "cansign": {
  26790. "description": "是否可签约 - 0:不可 1:可以",
  26791. "type": "integer"
  26792. },
  26793. "cansign2": {
  26794. "description": "是否可签约(网银端) - 0:不可 1:可以",
  26795. "type": "integer"
  26796. },
  26797. "currency": {
  26798. "description": "币种",
  26799. "type": "string"
  26800. },
  26801. "cusbankid": {
  26802. "description": "托管银行编号(对应清算中心TRAN_NO)",
  26803. "type": "string"
  26804. },
  26805. "cusbankname": {
  26806. "description": "银行业务名称",
  26807. "type": "string"
  26808. },
  26809. "cusbankshortname": {
  26810. "description": "银行业务简称",
  26811. "type": "string"
  26812. },
  26813. "exchbankid": {
  26814. "description": "交易所开户银行ID",
  26815. "type": "string"
  26816. },
  26817. "exchpaybankaccname": {
  26818. "description": "交易所支出结算账户户名",
  26819. "type": "string"
  26820. },
  26821. "exchpaybankaccno": {
  26822. "description": "交易所支出结算账户",
  26823. "type": "string"
  26824. },
  26825. "isneedcheck": {
  26826. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  26827. "type": "integer"
  26828. },
  26829. "isneedclear": {
  26830. "description": "是否需要清算 - 0:不需要 1:需要",
  26831. "type": "integer"
  26832. },
  26833. "lastcheckstatus": {
  26834. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  26835. "type": "integer"
  26836. },
  26837. "lastchecktime": {
  26838. "description": "最后对账时间",
  26839. "type": "string"
  26840. },
  26841. "lastclearstatus": {
  26842. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  26843. "type": "integer"
  26844. },
  26845. "lastcleartime": {
  26846. "description": "最后清算时间",
  26847. "type": "string"
  26848. },
  26849. "lastsignintime": {
  26850. "description": "最后签到时间",
  26851. "type": "string"
  26852. },
  26853. "lastsignouttime": {
  26854. "description": "最后签退时间",
  26855. "type": "string"
  26856. },
  26857. "riskinfo": {
  26858. "description": "签约风险提示书",
  26859. "type": "string"
  26860. },
  26861. "signstatus": {
  26862. "description": "当前签到/签退状态 - 1:签到 2:签退",
  26863. "type": "integer"
  26864. },
  26865. "tradedate": {
  26866. "description": "交易日(yyyyMMdd)",
  26867. "type": "string"
  26868. },
  26869. "updatetime": {
  26870. "description": "当前签到/签退更新时间",
  26871. "type": "string"
  26872. }
  26873. }
  26874. },
  26875. "models.QhjCustomer": {
  26876. "type": "object",
  26877. "properties": {
  26878. "address": {
  26879. "description": "通讯地址",
  26880. "type": "string"
  26881. },
  26882. "attachment1": {
  26883. "description": "附件1",
  26884. "type": "string"
  26885. },
  26886. "audittime": {
  26887. "description": "审核时间",
  26888. "type": "string"
  26889. },
  26890. "cardbackphotourl": {
  26891. "description": "证件反面图片地址",
  26892. "type": "string"
  26893. },
  26894. "cardfrontphotourl": {
  26895. "description": "证件正面图片地址",
  26896. "type": "string"
  26897. },
  26898. "cardnum": {
  26899. "description": "证件号码",
  26900. "type": "string"
  26901. },
  26902. "cardtype": {
  26903. "description": "证件类型",
  26904. "type": "integer"
  26905. },
  26906. "cardtypename": {
  26907. "description": "证件类型名称",
  26908. "type": "string"
  26909. },
  26910. "cityid": {
  26911. "description": "市",
  26912. "type": "integer"
  26913. },
  26914. "cityname": {
  26915. "description": "城市名称",
  26916. "type": "string"
  26917. },
  26918. "contactname": {
  26919. "description": "联系人",
  26920. "type": "string"
  26921. },
  26922. "countryid": {
  26923. "description": "国家",
  26924. "type": "integer"
  26925. },
  26926. "countryname": {
  26927. "description": "国家名称",
  26928. "type": "string"
  26929. },
  26930. "createtime": {
  26931. "description": "创建时间",
  26932. "type": "string"
  26933. },
  26934. "customername": {
  26935. "description": "客户名称",
  26936. "type": "string"
  26937. },
  26938. "districtid": {
  26939. "description": "区域",
  26940. "type": "integer"
  26941. },
  26942. "districtname": {
  26943. "description": "地区名称",
  26944. "type": "string"
  26945. },
  26946. "email": {
  26947. "description": "邮件",
  26948. "type": "string"
  26949. },
  26950. "legalpersonname": {
  26951. "description": "法人姓名(企业)",
  26952. "type": "string"
  26953. },
  26954. "logincode": {
  26955. "description": "登录账号(代码)",
  26956. "type": "string"
  26957. },
  26958. "memberuserid": {
  26959. "description": "所属机构ID(所属会员)",
  26960. "type": "integer"
  26961. },
  26962. "memberusername": {
  26963. "description": "所属会员名称",
  26964. "type": "string"
  26965. },
  26966. "mobile": {
  26967. "description": "手机号码",
  26968. "type": "string"
  26969. },
  26970. "modifytime": {
  26971. "description": "修改时间",
  26972. "type": "string"
  26973. },
  26974. "nickname": {
  26975. "description": "昵称",
  26976. "type": "string"
  26977. },
  26978. "parentuserid": {
  26979. "description": "上级机构(所属机构)",
  26980. "type": "integer"
  26981. },
  26982. "parentusername": {
  26983. "description": "所属机构名称",
  26984. "type": "string"
  26985. },
  26986. "provinceid": {
  26987. "description": "省",
  26988. "type": "integer"
  26989. },
  26990. "provincename": {
  26991. "description": "省名称",
  26992. "type": "string"
  26993. },
  26994. "proxystatementurl": {
  26995. "description": "授权委托书",
  26996. "type": "string"
  26997. },
  26998. "remark": {
  26999. "description": "备注",
  27000. "type": "string"
  27001. },
  27002. "status": {
  27003. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  27004. "type": "integer"
  27005. },
  27006. "statusdesc": {
  27007. "description": "账户状态中文描述",
  27008. "type": "string"
  27009. },
  27010. "taxpayernum": {
  27011. "description": "纳税人识别号",
  27012. "type": "string"
  27013. },
  27014. "telphone": {
  27015. "description": "联系电话",
  27016. "type": "string"
  27017. },
  27018. "userid": {
  27019. "description": "用户ID",
  27020. "type": "integer"
  27021. },
  27022. "userinfotype": {
  27023. "description": "客户类型 1-个人 2-企业",
  27024. "type": "integer"
  27025. },
  27026. "username": {
  27027. "description": "用户名称",
  27028. "type": "string"
  27029. }
  27030. }
  27031. },
  27032. "models.QhjCustomerSignLog": {
  27033. "type": "object",
  27034. "properties": {
  27035. "agreementcontent": {
  27036. "description": "协议内容",
  27037. "type": "string"
  27038. },
  27039. "agreementid": {
  27040. "description": "协议ID",
  27041. "type": "integer"
  27042. },
  27043. "agreementname": {
  27044. "description": "协议名称",
  27045. "type": "string"
  27046. },
  27047. "agreementno": {
  27048. "description": "协议编号",
  27049. "type": "string"
  27050. },
  27051. "agreementtype": {
  27052. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27053. "type": "integer"
  27054. },
  27055. "agreementversion": {
  27056. "description": "协议版本号",
  27057. "type": "integer"
  27058. },
  27059. "createtime": {
  27060. "description": "创建时间",
  27061. "type": "string"
  27062. },
  27063. "goodscode": {
  27064. "description": "商品代码",
  27065. "type": "string"
  27066. },
  27067. "goodsid": {
  27068. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27069. "type": "integer"
  27070. },
  27071. "goodsname": {
  27072. "description": "商品名称",
  27073. "type": "string"
  27074. },
  27075. "logid": {
  27076. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  27077. "type": "integer"
  27078. },
  27079. "nodetype": {
  27080. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  27081. "type": "integer"
  27082. },
  27083. "signadressurl": {
  27084. "description": "签约文件地址",
  27085. "type": "string"
  27086. },
  27087. "signtimestamp": {
  27088. "description": "签约状态时间戳",
  27089. "type": "string"
  27090. },
  27091. "userid": {
  27092. "description": "客户ID",
  27093. "type": "integer"
  27094. },
  27095. "username": {
  27096. "description": "客户名称",
  27097. "type": "string"
  27098. }
  27099. }
  27100. },
  27101. "models.QhjCustomerSignStatus": {
  27102. "type": "object",
  27103. "properties": {
  27104. "createtime": {
  27105. "description": "创建时间",
  27106. "type": "string"
  27107. },
  27108. "goodscode": {
  27109. "description": "商品代码",
  27110. "type": "string"
  27111. },
  27112. "goodsid": {
  27113. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27114. "type": "integer"
  27115. },
  27116. "goodsname": {
  27117. "description": "商品名称",
  27118. "type": "string"
  27119. },
  27120. "nodetype": {
  27121. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  27122. "type": "integer"
  27123. },
  27124. "signtimestamp": {
  27125. "description": "签约状态时间戳",
  27126. "type": "string"
  27127. },
  27128. "tradedate": {
  27129. "description": "创建交易日(yyyyMMdd)",
  27130. "type": "string"
  27131. },
  27132. "updatetime": {
  27133. "description": "更新时间",
  27134. "type": "string"
  27135. },
  27136. "userid": {
  27137. "description": "客户ID",
  27138. "type": "integer"
  27139. },
  27140. "username": {
  27141. "description": "客户名称",
  27142. "type": "string"
  27143. }
  27144. }
  27145. },
  27146. "models.QhjMgrAccountOutInApply": {
  27147. "type": "object",
  27148. "properties": {
  27149. "accountcode": {
  27150. "description": "资金账号",
  27151. "type": "string"
  27152. },
  27153. "accountname": {
  27154. "description": "用户名称(名称)",
  27155. "type": "string"
  27156. },
  27157. "accountpwd": {
  27158. "description": "资金密码",
  27159. "type": "string"
  27160. },
  27161. "accountticket": {
  27162. "description": "最新账户服务流水号",
  27163. "type": "string"
  27164. },
  27165. "amount": {
  27166. "description": "金额",
  27167. "type": "number"
  27168. },
  27169. "applyremark": {
  27170. "description": "申请备注",
  27171. "type": "string"
  27172. },
  27173. "applystatus": {
  27174. "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: 复审通过,账户冻结金额检查中;",
  27175. "type": "integer"
  27176. },
  27177. "auditid": {
  27178. "description": "审核人",
  27179. "type": "integer"
  27180. },
  27181. "audittime": {
  27182. "description": "审核时间",
  27183. "type": "string"
  27184. },
  27185. "bank_apply_ticket": {
  27186. "description": "银行申请流水",
  27187. "type": "string"
  27188. },
  27189. "bankaccountname": {
  27190. "description": "银行账户名",
  27191. "type": "string"
  27192. },
  27193. "bankaccountno": {
  27194. "description": "银行卡号",
  27195. "type": "string"
  27196. },
  27197. "bankid": {
  27198. "description": "银行编号",
  27199. "type": "string"
  27200. },
  27201. "bankname": {
  27202. "description": "银行名称",
  27203. "type": "string"
  27204. },
  27205. "bankticket": {
  27206. "description": "银行流水",
  27207. "type": "string"
  27208. },
  27209. "branchbankid": {
  27210. "description": "银行支行号",
  27211. "type": "string"
  27212. },
  27213. "branchbankname": {
  27214. "description": "银行支行名称",
  27215. "type": "string"
  27216. },
  27217. "capamountout": {
  27218. "description": "出金(劣后本金) - 外部子账户",
  27219. "type": "number"
  27220. },
  27221. "certificatephotourl": {
  27222. "description": "凭证地址",
  27223. "type": "string"
  27224. },
  27225. "charge": {
  27226. "description": "手续费",
  27227. "type": "number"
  27228. },
  27229. "checkerrorflag": {
  27230. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27231. "type": "integer"
  27232. },
  27233. "currency": {
  27234. "description": "币种",
  27235. "type": "string"
  27236. },
  27237. "cusbankid": {
  27238. "description": "托管银行编号",
  27239. "type": "string"
  27240. },
  27241. "exchticket": {
  27242. "description": "银行服务流水号",
  27243. "type": "string"
  27244. },
  27245. "executetype": {
  27246. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27247. "type": "integer"
  27248. },
  27249. "extendinfo": {
  27250. "description": "扩展信息",
  27251. "type": "string"
  27252. },
  27253. "extoperateid": {
  27254. "description": "交易服务流水号",
  27255. "type": "integer"
  27256. },
  27257. "infamount": {
  27258. "description": "劣后金额(自有)",
  27259. "type": "number"
  27260. },
  27261. "logincode": {
  27262. "description": "登录账号(账号)",
  27263. "type": "string"
  27264. },
  27265. "netaddr": {
  27266. "description": "调转网址",
  27267. "type": "string"
  27268. },
  27269. "priamount": {
  27270. "description": "优先金额(授信)",
  27271. "type": "number"
  27272. },
  27273. "reauditid": {
  27274. "description": "复审人",
  27275. "type": "integer"
  27276. },
  27277. "reauditremark": {
  27278. "description": "复审备注",
  27279. "type": "string"
  27280. },
  27281. "reaudittime": {
  27282. "description": "复审时间",
  27283. "type": "string"
  27284. },
  27285. "relatedorderid": {
  27286. "description": "三方关联ID",
  27287. "type": "string"
  27288. },
  27289. "remark": {
  27290. "description": "备注",
  27291. "type": "string"
  27292. },
  27293. "remark2": {
  27294. "description": "备注(失败原因)",
  27295. "type": "string"
  27296. },
  27297. "soucreamount": {
  27298. "description": "原始出入金金额",
  27299. "type": "number"
  27300. },
  27301. "soucrecurrencyid": {
  27302. "description": "原始出入金币种",
  27303. "type": "integer"
  27304. },
  27305. "tradedate": {
  27306. "description": "交易日(yyyyMMdd)",
  27307. "type": "string"
  27308. },
  27309. "updatetime": {
  27310. "description": "更新时间(申请时间)",
  27311. "type": "string"
  27312. },
  27313. "userid": {
  27314. "description": "用户id",
  27315. "type": "integer"
  27316. },
  27317. "userinfotype": {
  27318. "description": "账户类型 1-个人 2-企业",
  27319. "type": "integer"
  27320. }
  27321. }
  27322. },
  27323. "models.QhjMgrBrokerApply": {
  27324. "type": "object",
  27325. "properties": {
  27326. "applicantid": {
  27327. "description": "申请人",
  27328. "type": "integer"
  27329. },
  27330. "applysrc": {
  27331. "description": "申请来源 - 1:管理端 2:终端",
  27332. "type": "integer"
  27333. },
  27334. "applystatus": {
  27335. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  27336. "type": "integer"
  27337. },
  27338. "applytime": {
  27339. "description": "申请时间",
  27340. "type": "string"
  27341. },
  27342. "auditorid": {
  27343. "description": "审核人",
  27344. "type": "integer"
  27345. },
  27346. "auditremark": {
  27347. "description": "审核备注",
  27348. "type": "string"
  27349. },
  27350. "auditsrc": {
  27351. "description": "审核来源 - 1:管理端 2:终端",
  27352. "type": "integer"
  27353. },
  27354. "audittime": {
  27355. "description": "审核时间",
  27356. "type": "string"
  27357. },
  27358. "audittradedate": {
  27359. "description": "审核交易日(yyyyMMdd)",
  27360. "type": "string"
  27361. },
  27362. "brokerapplyid": {
  27363. "description": "申请ID(SEQ_BROKERAPPLY)",
  27364. "type": "integer"
  27365. },
  27366. "cardbackphotourl": {
  27367. "description": "证件背面图片地址",
  27368. "type": "string"
  27369. },
  27370. "cardfrontphotourl": {
  27371. "description": "证件正面图片地址",
  27372. "type": "string"
  27373. },
  27374. "cardnum": {
  27375. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  27376. "type": "string"
  27377. },
  27378. "customername": {
  27379. "description": "姓名",
  27380. "type": "string"
  27381. },
  27382. "filterstatus": {
  27383. "description": "筛选条件",
  27384. "type": "string"
  27385. },
  27386. "logincode": {
  27387. "description": "登录代码",
  27388. "type": "string"
  27389. },
  27390. "mobile": {
  27391. "description": "手机号码",
  27392. "type": "string"
  27393. },
  27394. "parentuserid": {
  27395. "description": "所属机构id",
  27396. "type": "integer"
  27397. },
  27398. "parentusername": {
  27399. "description": "所属机构名称",
  27400. "type": "string"
  27401. },
  27402. "refereeuserid": {
  27403. "description": "推荐人id(经纪人)",
  27404. "type": "integer"
  27405. },
  27406. "refernum": {
  27407. "description": "推荐码",
  27408. "type": "string"
  27409. },
  27410. "remark": {
  27411. "description": "备注",
  27412. "type": "string"
  27413. },
  27414. "subarealevelpath": {
  27415. "description": "层级路径",
  27416. "type": "string"
  27417. },
  27418. "tradedate": {
  27419. "description": "交易日(yyyyMMdd)",
  27420. "type": "string"
  27421. },
  27422. "userid": {
  27423. "description": "申请人用户ID",
  27424. "type": "integer"
  27425. },
  27426. "userinfotype": {
  27427. "description": "用户类型 1-个人 2-企业",
  27428. "type": "integer"
  27429. },
  27430. "username": {
  27431. "description": "用户名称",
  27432. "type": "string"
  27433. }
  27434. }
  27435. },
  27436. "models.QhjMgrBrokerRewardReport": {
  27437. "type": "object",
  27438. "properties": {
  27439. "createtime": {
  27440. "description": "创建时间(注册时间)",
  27441. "type": "string"
  27442. },
  27443. "cycletime": {
  27444. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  27445. "type": "string"
  27446. },
  27447. "cycletype": {
  27448. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  27449. "type": "integer"
  27450. },
  27451. "directtotalnum": {
  27452. "description": "直推总人数【期末】",
  27453. "type": "integer"
  27454. },
  27455. "indirecttotalnum": {
  27456. "description": "间推总人数【期末】",
  27457. "type": "integer"
  27458. },
  27459. "mobile": {
  27460. "description": "电话号码",
  27461. "type": "string"
  27462. },
  27463. "refereeuserid": {
  27464. "description": "推荐人id(经纪人id)",
  27465. "type": "integer"
  27466. },
  27467. "refereeusername": {
  27468. "description": "推荐人名称(经纪人) 上级经纪人名称",
  27469. "type": "string"
  27470. },
  27471. "refernum": {
  27472. "description": "推荐码",
  27473. "type": "string"
  27474. },
  27475. "subarealevelpath": {
  27476. "description": "用户层级路径",
  27477. "type": "string"
  27478. },
  27479. "todayrewardamount": {
  27480. "description": "奖励总金额【汇总】",
  27481. "type": "number"
  27482. },
  27483. "updatetime": {
  27484. "description": "更新时间",
  27485. "type": "string"
  27486. },
  27487. "userid": {
  27488. "description": "经纪人用户ID",
  27489. "type": "integer"
  27490. },
  27491. "userinfotype": {
  27492. "description": "用户类型 1-个人 2-企业",
  27493. "type": "integer"
  27494. },
  27495. "username": {
  27496. "description": "用户名称",
  27497. "type": "string"
  27498. }
  27499. }
  27500. },
  27501. "models.QhjMgrContract": {
  27502. "type": "object",
  27503. "properties": {
  27504. "contractconfirmtime": {
  27505. "description": "合同确认时间(时间)",
  27506. "type": "string"
  27507. },
  27508. "currisklevel": {
  27509. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  27510. "type": "integer"
  27511. },
  27512. "decimalplace": {
  27513. "description": "商品报价小数位",
  27514. "type": "integer"
  27515. },
  27516. "enumdicname": {
  27517. "description": "单位名称",
  27518. "type": "string"
  27519. },
  27520. "goodscode": {
  27521. "description": "商品代码",
  27522. "type": "string"
  27523. },
  27524. "goodsid": {
  27525. "description": "商品ID [5:融资单]",
  27526. "type": "integer"
  27527. },
  27528. "goodsname": {
  27529. "description": "商品名称",
  27530. "type": "string"
  27531. },
  27532. "goodunitid": {
  27533. "description": "商品单位id",
  27534. "type": "integer"
  27535. },
  27536. "initmargin": {
  27537. "description": "初始保证金(首付款)",
  27538. "type": "number"
  27539. },
  27540. "lenderamount": {
  27541. "description": "贷款金额(总额|订单总额)",
  27542. "type": "number"
  27543. },
  27544. "logincode": {
  27545. "description": "账号(登录代码)",
  27546. "type": "string"
  27547. },
  27548. "marginratio": {
  27549. "description": "保证金比率(首付比例)",
  27550. "type": "number"
  27551. },
  27552. "mobile": {
  27553. "description": "电话号码(用户资料里的电话)",
  27554. "type": "string"
  27555. },
  27556. "payamount": {
  27557. "description": "已付(已付货款)",
  27558. "type": "number"
  27559. },
  27560. "reckonrecovermargin": {
  27561. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  27562. "type": "number"
  27563. },
  27564. "recoveredmargin": {
  27565. "description": "已追缴保证金",
  27566. "type": "number"
  27567. },
  27568. "remainamount": {
  27569. "description": "合同剩余金额(融资额)",
  27570. "type": "number"
  27571. },
  27572. "scfcontractid": {
  27573. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  27574. "type": "string"
  27575. },
  27576. "scfcontractstatus": {
  27577. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  27578. "type": "integer"
  27579. },
  27580. "scfcontracttype": {
  27581. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  27582. "type": "integer"
  27583. },
  27584. "totalinterest": {
  27585. "description": "已计总利息(利息)",
  27586. "type": "number"
  27587. },
  27588. "tradedate": {
  27589. "description": "交易日",
  27590. "type": "string"
  27591. },
  27592. "tradeprice": {
  27593. "description": "成交价格(成本价格)",
  27594. "type": "number"
  27595. },
  27596. "userid": {
  27597. "description": "用户ID",
  27598. "type": "integer"
  27599. },
  27600. "userinfotype": {
  27601. "description": "用户类型 1-个人 2-企业",
  27602. "type": "integer"
  27603. },
  27604. "username": {
  27605. "description": "用户名称",
  27606. "type": "string"
  27607. },
  27608. "wrqty": {
  27609. "description": "仓单数量(数量)",
  27610. "type": "number"
  27611. }
  27612. }
  27613. },
  27614. "models.QhjMgrCustomer": {
  27615. "type": "object",
  27616. "properties": {
  27617. "address": {
  27618. "description": "通讯地址",
  27619. "type": "string"
  27620. },
  27621. "attachment1": {
  27622. "description": "附件1",
  27623. "type": "string"
  27624. },
  27625. "audittime": {
  27626. "description": "审核时间",
  27627. "type": "string"
  27628. },
  27629. "birthday": {
  27630. "description": "生日",
  27631. "type": "string"
  27632. },
  27633. "brokerid": {
  27634. "description": "所属客户经理id",
  27635. "type": "integer"
  27636. },
  27637. "brokername": {
  27638. "description": "所属客户经理名称",
  27639. "type": "string"
  27640. },
  27641. "cardbackphotourl": {
  27642. "description": "证件反面图片地址",
  27643. "type": "string"
  27644. },
  27645. "cardfrontphotourl": {
  27646. "description": "证件正面图片地址",
  27647. "type": "string"
  27648. },
  27649. "cardnum": {
  27650. "description": "证件号码",
  27651. "type": "string"
  27652. },
  27653. "cardtype": {
  27654. "description": "证件类型",
  27655. "type": "integer"
  27656. },
  27657. "cardtypename": {
  27658. "description": "证件类型名称",
  27659. "type": "string"
  27660. },
  27661. "cityid": {
  27662. "description": "市",
  27663. "type": "integer"
  27664. },
  27665. "cityname": {
  27666. "description": "城市名称",
  27667. "type": "string"
  27668. },
  27669. "contactname": {
  27670. "description": "联系人",
  27671. "type": "string"
  27672. },
  27673. "countryid": {
  27674. "description": "国家",
  27675. "type": "integer"
  27676. },
  27677. "countryname": {
  27678. "description": "国家名称",
  27679. "type": "string"
  27680. },
  27681. "createtime": {
  27682. "description": "创建时间",
  27683. "type": "string"
  27684. },
  27685. "customername": {
  27686. "description": "客户名称",
  27687. "type": "string"
  27688. },
  27689. "districtid": {
  27690. "description": "区域",
  27691. "type": "integer"
  27692. },
  27693. "districtname": {
  27694. "description": "地区名称",
  27695. "type": "string"
  27696. },
  27697. "email": {
  27698. "description": "邮件",
  27699. "type": "string"
  27700. },
  27701. "legalpersonname": {
  27702. "description": "法人姓名(企业)",
  27703. "type": "string"
  27704. },
  27705. "logincode": {
  27706. "description": "登录账号(代码)",
  27707. "type": "string"
  27708. },
  27709. "memberuserid": {
  27710. "description": "所属机构ID(所属会员)",
  27711. "type": "integer"
  27712. },
  27713. "memberusername": {
  27714. "description": "所属会员名称",
  27715. "type": "string"
  27716. },
  27717. "mobile": {
  27718. "description": "手机号码",
  27719. "type": "string"
  27720. },
  27721. "modifytime": {
  27722. "description": "修改时间",
  27723. "type": "string"
  27724. },
  27725. "nickname": {
  27726. "description": "昵称",
  27727. "type": "string"
  27728. },
  27729. "parentuserid": {
  27730. "description": "上级机构(所属机构)",
  27731. "type": "integer"
  27732. },
  27733. "parentusername": {
  27734. "description": "所属机构名称",
  27735. "type": "string"
  27736. },
  27737. "provinceid": {
  27738. "description": "省",
  27739. "type": "integer"
  27740. },
  27741. "provincename": {
  27742. "description": "省名称",
  27743. "type": "string"
  27744. },
  27745. "proxystatementurl": {
  27746. "description": "授权委托书",
  27747. "type": "string"
  27748. },
  27749. "querytype": {
  27750. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  27751. "type": "integer"
  27752. },
  27753. "remark": {
  27754. "description": "备注",
  27755. "type": "string"
  27756. },
  27757. "sex": {
  27758. "description": "性别 0-女 1-男",
  27759. "type": "integer"
  27760. },
  27761. "status": {
  27762. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27763. "type": "integer"
  27764. },
  27765. "statusdesc": {
  27766. "description": "账户状态中文描述",
  27767. "type": "string"
  27768. },
  27769. "taxpayernum": {
  27770. "description": "纳税人识别号",
  27771. "type": "string"
  27772. },
  27773. "telphone": {
  27774. "description": "联系电话",
  27775. "type": "string"
  27776. },
  27777. "userid": {
  27778. "description": "用户ID",
  27779. "type": "integer"
  27780. },
  27781. "userinfotype": {
  27782. "description": "客户类型 1-个人 2-企业",
  27783. "type": "integer"
  27784. },
  27785. "username": {
  27786. "description": "用户名称",
  27787. "type": "string"
  27788. }
  27789. }
  27790. },
  27791. "models.QhjMgrPickGoods": {
  27792. "type": "object",
  27793. "properties": {
  27794. "enumdicname": {
  27795. "description": "单位名称(提货商品)",
  27796. "type": "string"
  27797. },
  27798. "goodsid": {
  27799. "description": "商品id",
  27800. "type": "integer"
  27801. },
  27802. "imageaddress": {
  27803. "description": "图片",
  27804. "type": "string"
  27805. },
  27806. "modifierid": {
  27807. "description": "修改人",
  27808. "type": "integer"
  27809. },
  27810. "modifiername": {
  27811. "description": "修改人名称",
  27812. "type": "string"
  27813. },
  27814. "modifysrc": {
  27815. "description": "修改来源 - 1:管理端 2:终端",
  27816. "type": "integer"
  27817. },
  27818. "pickupgoodsagreeunit": {
  27819. "description": "合约乘数",
  27820. "type": "number"
  27821. },
  27822. "pickupgoodsdesc": {
  27823. "description": "描述",
  27824. "type": "string"
  27825. },
  27826. "pickupgoodsid": {
  27827. "description": "提货商品ID",
  27828. "type": "string"
  27829. },
  27830. "pickupgoodsname": {
  27831. "description": "提货商品名称",
  27832. "type": "string"
  27833. },
  27834. "pickupgoodsstatus": {
  27835. "description": "状态 - 1:正常 2:停用 3:注销",
  27836. "type": "integer"
  27837. },
  27838. "pickupgoodsunitid": {
  27839. "description": "单位ID",
  27840. "type": "integer"
  27841. },
  27842. "pickupratio": {
  27843. "description": "提货系数",
  27844. "type": "number"
  27845. },
  27846. "preparedays": {
  27847. "description": "备货期(天)",
  27848. "type": "integer"
  27849. },
  27850. "remark": {
  27851. "description": "备注",
  27852. "type": "string"
  27853. },
  27854. "updatetime": {
  27855. "description": "更新时间",
  27856. "type": "string"
  27857. }
  27858. }
  27859. },
  27860. "models.QhjMgrPositionRsp": {
  27861. "type": "object",
  27862. "properties": {
  27863. "accountid": {
  27864. "description": "账号Id",
  27865. "type": "integer"
  27866. },
  27867. "accountname": {
  27868. "description": "用户名称",
  27869. "type": "string"
  27870. },
  27871. "agreeunit": {
  27872. "description": "合约乘数",
  27873. "type": "number"
  27874. },
  27875. "averageprice": {
  27876. "description": "均价",
  27877. "type": "number"
  27878. },
  27879. "avialqty": {
  27880. "description": "可用数量",
  27881. "type": "number"
  27882. },
  27883. "decimalplace": {
  27884. "description": "报价小数位",
  27885. "type": "integer"
  27886. },
  27887. "enumdicname": {
  27888. "description": "单位名称(商品)",
  27889. "type": "string"
  27890. },
  27891. "frozenqty": {
  27892. "description": "冻结数量",
  27893. "type": "number"
  27894. },
  27895. "goodscode": {
  27896. "description": "商品代码(内部)",
  27897. "type": "string"
  27898. },
  27899. "goodsid": {
  27900. "description": "商品Id",
  27901. "type": "integer"
  27902. },
  27903. "goodsname": {
  27904. "description": "商品名称",
  27905. "type": "string"
  27906. },
  27907. "goodunitid": {
  27908. "description": "报价单位ID",
  27909. "type": "integer"
  27910. },
  27911. "holderamount": {
  27912. "description": "金额",
  27913. "type": "number"
  27914. },
  27915. "holderqty": {
  27916. "description": "持有数量",
  27917. "type": "number"
  27918. },
  27919. "holdertype": {
  27920. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  27921. "type": "integer"
  27922. },
  27923. "logincode": {
  27924. "description": "登录代码(账户)",
  27925. "type": "string"
  27926. },
  27927. "marketid": {
  27928. "description": "市场id",
  27929. "type": "integer"
  27930. },
  27931. "qtydecimalplace": {
  27932. "description": "成交量小数位",
  27933. "type": "integer"
  27934. },
  27935. "trademode": {
  27936. "description": "交易模式",
  27937. "type": "integer"
  27938. },
  27939. "userid": {
  27940. "description": "用户id",
  27941. "type": "integer"
  27942. },
  27943. "userinfotype": {
  27944. "description": "账户类型 1-个人 2-企业",
  27945. "type": "integer"
  27946. }
  27947. }
  27948. },
  27949. "models.QhjMgrSubArea": {
  27950. "type": "object",
  27951. "properties": {
  27952. "accountname": {
  27953. "description": "账户名称(机构名称)",
  27954. "type": "string"
  27955. },
  27956. "memberuserid": {
  27957. "description": "所属会员ID",
  27958. "type": "integer"
  27959. },
  27960. "parenttopuser": {
  27961. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  27962. "type": "string"
  27963. },
  27964. "parentuserid": {
  27965. "description": "所属机构ID",
  27966. "type": "integer"
  27967. },
  27968. "rootuserid": {
  27969. "description": "根用户ID",
  27970. "type": "string"
  27971. },
  27972. "subaccountlevel": {
  27973. "description": "子账户层数",
  27974. "type": "integer"
  27975. },
  27976. "subarealevelpath": {
  27977. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  27978. "type": "string"
  27979. },
  27980. "userid": {
  27981. "description": "用户ID",
  27982. "type": "integer"
  27983. },
  27984. "usertype": {
  27985. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27986. "type": "integer"
  27987. }
  27988. }
  27989. },
  27990. "models.QhjMgrTradeDetailRsp": {
  27991. "type": "object",
  27992. "properties": {
  27993. "accountid": {
  27994. "description": "资金账号",
  27995. "type": "integer"
  27996. },
  27997. "accountname": {
  27998. "description": "用户名称",
  27999. "type": "string"
  28000. },
  28001. "agreeunit": {
  28002. "description": "合约乘数",
  28003. "type": "number"
  28004. },
  28005. "buyorsell": {
  28006. "description": "成交类型(方向) 0:买 1:卖",
  28007. "type": "integer"
  28008. },
  28009. "decimalplace": {
  28010. "description": "报价小数位",
  28011. "type": "integer"
  28012. },
  28013. "enumdicname": {
  28014. "description": "单位名称(商品)",
  28015. "type": "string"
  28016. },
  28017. "goodscode": {
  28018. "description": "商品代码(内部)",
  28019. "type": "string"
  28020. },
  28021. "goodsid": {
  28022. "description": "商品id",
  28023. "type": "integer"
  28024. },
  28025. "goodsname": {
  28026. "description": "商品名称",
  28027. "type": "string"
  28028. },
  28029. "goodunitid": {
  28030. "description": "报价单位ID",
  28031. "type": "integer"
  28032. },
  28033. "logincode": {
  28034. "description": "登录代码(账户)",
  28035. "type": "string"
  28036. },
  28037. "marketid": {
  28038. "description": "市场id",
  28039. "type": "integer"
  28040. },
  28041. "orderid": {
  28042. "description": "关联委托单号",
  28043. "type": "string"
  28044. },
  28045. "qtydecimalplace": {
  28046. "description": "成交量小数位",
  28047. "type": "integer"
  28048. },
  28049. "tradeamount": {
  28050. "description": "金额",
  28051. "type": "number"
  28052. },
  28053. "tradedate": {
  28054. "description": "交易日",
  28055. "type": "string"
  28056. },
  28057. "tradeid": {
  28058. "description": "成交单号",
  28059. "type": "string"
  28060. },
  28061. "trademode": {
  28062. "description": "交易模式",
  28063. "type": "integer"
  28064. },
  28065. "tradeprice": {
  28066. "description": "价格",
  28067. "type": "number"
  28068. },
  28069. "tradeqty": {
  28070. "description": "数量",
  28071. "type": "number"
  28072. },
  28073. "tradetime": {
  28074. "description": "成交时间",
  28075. "type": "string"
  28076. },
  28077. "userid": {
  28078. "description": "用户id",
  28079. "type": "integer"
  28080. },
  28081. "userinfotype": {
  28082. "description": "账户类型 1-个人 2-企业",
  28083. "type": "integer"
  28084. }
  28085. }
  28086. },
  28087. "models.QhjMgrTradeOrderDetailRsp": {
  28088. "type": "object",
  28089. "properties": {
  28090. "accountid": {
  28091. "description": "资金账号",
  28092. "type": "integer"
  28093. },
  28094. "accountname": {
  28095. "description": "用户名称",
  28096. "type": "string"
  28097. },
  28098. "agreeunit": {
  28099. "description": "合约乘数",
  28100. "type": "number"
  28101. },
  28102. "amount": {
  28103. "description": "金额",
  28104. "type": "number"
  28105. },
  28106. "decimalplace": {
  28107. "description": "报价小数位",
  28108. "type": "integer"
  28109. },
  28110. "enumdicname": {
  28111. "description": "单位名称(商品)",
  28112. "type": "string"
  28113. },
  28114. "goodscode": {
  28115. "description": "商品代码(内部)",
  28116. "type": "string"
  28117. },
  28118. "goodsid": {
  28119. "description": "商品id",
  28120. "type": "integer"
  28121. },
  28122. "goodsname": {
  28123. "description": "商品名称",
  28124. "type": "string"
  28125. },
  28126. "goodunitid": {
  28127. "description": "报价单位ID",
  28128. "type": "integer"
  28129. },
  28130. "logincode": {
  28131. "description": "登录代码(账户)",
  28132. "type": "string"
  28133. },
  28134. "marketid": {
  28135. "description": "市场id",
  28136. "type": "integer"
  28137. },
  28138. "orderid": {
  28139. "description": "关联委托单号",
  28140. "type": "string"
  28141. },
  28142. "orderprice": {
  28143. "description": "价格",
  28144. "type": "number"
  28145. },
  28146. "orderqty": {
  28147. "description": "数量",
  28148. "type": "number"
  28149. },
  28150. "orderstatus": {
  28151. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28152. "type": "integer"
  28153. },
  28154. "ordertime": {
  28155. "description": "委托时间",
  28156. "type": "string"
  28157. },
  28158. "qtydecimalplace": {
  28159. "description": "成交量小数位",
  28160. "type": "integer"
  28161. },
  28162. "tradedate": {
  28163. "description": "交易日",
  28164. "type": "string"
  28165. },
  28166. "trademode": {
  28167. "description": "交易模式",
  28168. "type": "integer"
  28169. },
  28170. "userid": {
  28171. "description": "用户id",
  28172. "type": "integer"
  28173. },
  28174. "userinfotype": {
  28175. "description": "账户类型 1-个人 2-企业",
  28176. "type": "integer"
  28177. }
  28178. }
  28179. },
  28180. "models.QhjMgrTradePayOrder": {
  28181. "type": "object",
  28182. "properties": {
  28183. "accountname": {
  28184. "description": "用户名称",
  28185. "type": "string"
  28186. },
  28187. "advanceratio": {
  28188. "description": "首付比率",
  28189. "type": "number"
  28190. },
  28191. "agreeunit": {
  28192. "description": "合约乘数",
  28193. "type": "number"
  28194. },
  28195. "buyaccountid": {
  28196. "description": "买方账号ID[报价币种]",
  28197. "type": "integer"
  28198. },
  28199. "buyorderid": {
  28200. "description": "买方委托单号(关联单号)",
  28201. "type": "string"
  28202. },
  28203. "createtime": {
  28204. "description": "创建时间",
  28205. "type": "string"
  28206. },
  28207. "decimalplace": {
  28208. "description": "报价小数位",
  28209. "type": "integer"
  28210. },
  28211. "enumdicname": {
  28212. "description": "单位名称(商品)",
  28213. "type": "string"
  28214. },
  28215. "goodscode": {
  28216. "description": "商品代码(内部)",
  28217. "type": "string"
  28218. },
  28219. "goodsid": {
  28220. "description": "商品ID",
  28221. "type": "integer"
  28222. },
  28223. "goodsname": {
  28224. "description": "商品名称",
  28225. "type": "string"
  28226. },
  28227. "goodunitid": {
  28228. "description": "报价单位ID",
  28229. "type": "integer"
  28230. },
  28231. "logincode": {
  28232. "description": "登录代码(账户)",
  28233. "type": "string"
  28234. },
  28235. "marketid": {
  28236. "description": "市场id",
  28237. "type": "integer"
  28238. },
  28239. "offamount": {
  28240. "description": "优惠金额",
  28241. "type": "number"
  28242. },
  28243. "operatetype": {
  28244. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  28245. "type": "integer"
  28246. },
  28247. "payamount": {
  28248. "description": "支付金额(金额)",
  28249. "type": "number"
  28250. },
  28251. "payflag": {
  28252. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  28253. "type": "integer"
  28254. },
  28255. "paylimitedtime": {
  28256. "description": "支付期限",
  28257. "type": "string"
  28258. },
  28259. "paytime": {
  28260. "description": "付款时间",
  28261. "type": "string"
  28262. },
  28263. "qtydecimalplace": {
  28264. "description": "成交量小数位",
  28265. "type": "integer"
  28266. },
  28267. "sellaccountid": {
  28268. "description": "卖方账号ID[报价币种]",
  28269. "type": "integer"
  28270. },
  28271. "sellorderid": {
  28272. "description": "卖方委托单号",
  28273. "type": "string"
  28274. },
  28275. "tradeamount": {
  28276. "description": "成交金额(优惠后金额)",
  28277. "type": "number"
  28278. },
  28279. "tradecharge": {
  28280. "description": "成交手续费(买方)",
  28281. "type": "number"
  28282. },
  28283. "tradedate": {
  28284. "description": "交易日(yyyyMMdd)",
  28285. "type": "string"
  28286. },
  28287. "tradeid": {
  28288. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28289. "type": "string"
  28290. },
  28291. "trademode": {
  28292. "description": "交易模式",
  28293. "type": "integer"
  28294. },
  28295. "tradeprice": {
  28296. "description": "成交价格(价格)",
  28297. "type": "number"
  28298. },
  28299. "tradeqty": {
  28300. "description": "成交数量(数量)",
  28301. "type": "number"
  28302. },
  28303. "tradetime": {
  28304. "description": "成交时间",
  28305. "type": "string"
  28306. },
  28307. "userid": {
  28308. "description": "用户id",
  28309. "type": "integer"
  28310. },
  28311. "userinfotype": {
  28312. "description": "账户类型 1-个人 2-企业",
  28313. "type": "integer"
  28314. }
  28315. }
  28316. },
  28317. "models.QhjMyTeamEx": {
  28318. "type": "object",
  28319. "properties": {
  28320. "accountname": {
  28321. "description": "用户名称",
  28322. "type": "string"
  28323. },
  28324. "accountstatus": {
  28325. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28326. "type": "integer"
  28327. },
  28328. "createtime": {
  28329. "description": "创建时间",
  28330. "type": "string"
  28331. },
  28332. "mobile": {
  28333. "description": "手机号码",
  28334. "type": "string"
  28335. },
  28336. "refereeuserid": {
  28337. "description": "推荐人id",
  28338. "type": "integer"
  28339. },
  28340. "refernum": {
  28341. "description": "推荐码",
  28342. "type": "string"
  28343. },
  28344. "subList": {
  28345. "type": "array",
  28346. "items": {
  28347. "$ref": "#/definitions/models.QhjMyTeamEx"
  28348. }
  28349. },
  28350. "userid": {
  28351. "description": "用户id",
  28352. "type": "integer"
  28353. },
  28354. "userinfotype": {
  28355. "description": "用户类型 1-个人 2-企业",
  28356. "type": "integer"
  28357. }
  28358. }
  28359. },
  28360. "models.QhjNodeAgreementConfig": {
  28361. "type": "object",
  28362. "properties": {
  28363. "agreementcontent": {
  28364. "description": "协议内容",
  28365. "type": "string"
  28366. },
  28367. "agreementid": {
  28368. "description": "协议ID",
  28369. "type": "integer"
  28370. },
  28371. "agreementname": {
  28372. "description": "协议名称",
  28373. "type": "string"
  28374. },
  28375. "agreementno": {
  28376. "description": "协议编号",
  28377. "type": "string"
  28378. },
  28379. "agreementtype": {
  28380. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28381. "type": "integer"
  28382. },
  28383. "agreementversion": {
  28384. "description": "协议版本号",
  28385. "type": "integer"
  28386. },
  28387. "configid": {
  28388. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  28389. "type": "integer"
  28390. },
  28391. "createtime": {
  28392. "description": "创建时间",
  28393. "type": "string"
  28394. },
  28395. "goodsid": {
  28396. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28397. "type": "integer"
  28398. },
  28399. "nodetype": {
  28400. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28401. "type": "integer"
  28402. }
  28403. }
  28404. },
  28405. "models.QhjParentAreaList": {
  28406. "type": "object",
  28407. "properties": {
  28408. "accountname": {
  28409. "description": "账户名称(机构名称)",
  28410. "type": "string"
  28411. },
  28412. "userid": {
  28413. "description": "用户ID",
  28414. "type": "integer"
  28415. },
  28416. "usertype": {
  28417. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28418. "type": "integer"
  28419. }
  28420. }
  28421. },
  28422. "models.QhjPayOrder": {
  28423. "type": "object",
  28424. "properties": {
  28425. "advanceratio": {
  28426. "description": "首付比率",
  28427. "type": "number"
  28428. },
  28429. "buyaccountid": {
  28430. "description": "买方账号ID[报价币种]",
  28431. "type": "integer"
  28432. },
  28433. "buyorderid": {
  28434. "description": "买方委托单号",
  28435. "type": "string"
  28436. },
  28437. "createtime": {
  28438. "description": "创建时间",
  28439. "type": "string"
  28440. },
  28441. "decimalplace": {
  28442. "description": "商品报价小数位",
  28443. "type": "integer"
  28444. },
  28445. "enumdicname": {
  28446. "description": "单位名称",
  28447. "type": "string"
  28448. },
  28449. "goodscode": {
  28450. "description": "商品代码",
  28451. "type": "string"
  28452. },
  28453. "goodsid": {
  28454. "description": "商品ID",
  28455. "type": "integer"
  28456. },
  28457. "goodsname": {
  28458. "description": "商品名称",
  28459. "type": "string"
  28460. },
  28461. "goodunitid": {
  28462. "description": "商品单位id",
  28463. "type": "integer"
  28464. },
  28465. "marketid": {
  28466. "description": "市场ID",
  28467. "type": "integer"
  28468. },
  28469. "offamount": {
  28470. "description": "优惠金额",
  28471. "type": "number"
  28472. },
  28473. "operatetype": {
  28474. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  28475. "type": "integer"
  28476. },
  28477. "payamount": {
  28478. "description": "支付金额",
  28479. "type": "number"
  28480. },
  28481. "payflag": {
  28482. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  28483. "type": "integer"
  28484. },
  28485. "paylimitedtime": {
  28486. "description": "支付期限",
  28487. "type": "string"
  28488. },
  28489. "paytime": {
  28490. "description": "付款时间",
  28491. "type": "string"
  28492. },
  28493. "qtydecimalplace": {
  28494. "description": "成交量小数位",
  28495. "type": "integer"
  28496. },
  28497. "sellaccountid": {
  28498. "description": "卖方账号ID[报价币种]",
  28499. "type": "integer"
  28500. },
  28501. "sellorderid": {
  28502. "description": "卖方委托单号",
  28503. "type": "string"
  28504. },
  28505. "tradeamount": {
  28506. "description": "成交金额(优惠后金额)",
  28507. "type": "number"
  28508. },
  28509. "tradecharge": {
  28510. "description": "成交手续费(买方)",
  28511. "type": "number"
  28512. },
  28513. "tradedate": {
  28514. "description": "交易日(yyyyMMdd)",
  28515. "type": "string"
  28516. },
  28517. "tradeid": {
  28518. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28519. "type": "string"
  28520. },
  28521. "tradeprice": {
  28522. "description": "成交价格",
  28523. "type": "number"
  28524. },
  28525. "tradeqty": {
  28526. "description": "成交数量",
  28527. "type": "number"
  28528. }
  28529. }
  28530. },
  28531. "models.QhjPickArea": {
  28532. "type": "object",
  28533. "properties": {
  28534. "address": {
  28535. "description": "详细地址",
  28536. "type": "string"
  28537. },
  28538. "cityid": {
  28539. "description": "市",
  28540. "type": "integer"
  28541. },
  28542. "cityname": {
  28543. "description": "城市名称",
  28544. "type": "string"
  28545. },
  28546. "countryid": {
  28547. "description": "国家",
  28548. "type": "integer"
  28549. },
  28550. "countryname": {
  28551. "description": "国家名称",
  28552. "type": "string"
  28553. },
  28554. "districtid": {
  28555. "description": "地区",
  28556. "type": "integer"
  28557. },
  28558. "districtname": {
  28559. "description": "地区名称",
  28560. "type": "string"
  28561. },
  28562. "fromuserid": {
  28563. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  28564. "type": "integer"
  28565. },
  28566. "fromusername": {
  28567. "description": "所属机构名称",
  28568. "type": "string"
  28569. },
  28570. "provinceid": {
  28571. "description": "省",
  28572. "type": "integer"
  28573. },
  28574. "provincename": {
  28575. "description": "省名称",
  28576. "type": "string"
  28577. },
  28578. "suborgtype": {
  28579. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  28580. "type": "integer"
  28581. },
  28582. "userid": {
  28583. "description": "机构用户ID 其他做市关系,都设置为 1",
  28584. "type": "integer"
  28585. },
  28586. "username": {
  28587. "description": "机构用户名称(门店门称)",
  28588. "type": "string"
  28589. }
  28590. }
  28591. },
  28592. "models.QhjPickGoods": {
  28593. "type": "object",
  28594. "properties": {
  28595. "enumdicname": {
  28596. "description": "单位名称(提货商品)",
  28597. "type": "string"
  28598. },
  28599. "goodsid": {
  28600. "description": "商品id",
  28601. "type": "integer"
  28602. },
  28603. "imageaddress": {
  28604. "description": "图片",
  28605. "type": "string"
  28606. },
  28607. "modifierid": {
  28608. "description": "修改人",
  28609. "type": "integer"
  28610. },
  28611. "modifiername": {
  28612. "description": "修改人名称",
  28613. "type": "string"
  28614. },
  28615. "modifysrc": {
  28616. "description": "修改来源 - 1:管理端 2:终端",
  28617. "type": "integer"
  28618. },
  28619. "pickupgoodsagreeunit": {
  28620. "description": "合约乘数",
  28621. "type": "number"
  28622. },
  28623. "pickupgoodsdesc": {
  28624. "description": "描述",
  28625. "type": "string"
  28626. },
  28627. "pickupgoodsid": {
  28628. "description": "提货商品ID",
  28629. "type": "string"
  28630. },
  28631. "pickupgoodsname": {
  28632. "description": "提货商品名称",
  28633. "type": "string"
  28634. },
  28635. "pickupgoodsstatus": {
  28636. "description": "状态 - 1:正常 2:停用 3:注销",
  28637. "type": "integer"
  28638. },
  28639. "pickupgoodsunitid": {
  28640. "description": "单位ID",
  28641. "type": "integer"
  28642. },
  28643. "pickupratio": {
  28644. "description": "提货系数",
  28645. "type": "number"
  28646. },
  28647. "preparedays": {
  28648. "description": "备货期(天)",
  28649. "type": "integer"
  28650. },
  28651. "remark": {
  28652. "description": "备注",
  28653. "type": "string"
  28654. },
  28655. "updatetime": {
  28656. "description": "更新时间",
  28657. "type": "string"
  28658. }
  28659. }
  28660. },
  28661. "models.QhjRSTriggerLog": {
  28662. "type": "object",
  28663. "properties": {
  28664. "accountid": {
  28665. "description": "用户资金账户",
  28666. "type": "integer"
  28667. },
  28668. "accountname": {
  28669. "description": "账号名称(ACCOUNTID对应的名称)",
  28670. "type": "string"
  28671. },
  28672. "currencyid": {
  28673. "description": "币种id",
  28674. "type": "integer"
  28675. },
  28676. "currencyname": {
  28677. "description": "币种名称",
  28678. "type": "string"
  28679. },
  28680. "decimalplace": {
  28681. "description": "商品报价小数位",
  28682. "type": "integer"
  28683. },
  28684. "enumdicname": {
  28685. "description": "单位名称",
  28686. "type": "string"
  28687. },
  28688. "goodscode": {
  28689. "description": "定投商品代码",
  28690. "type": "string"
  28691. },
  28692. "goodsid": {
  28693. "description": "定投商品ID",
  28694. "type": "integer"
  28695. },
  28696. "goodsname": {
  28697. "description": "定投商品名称",
  28698. "type": "string"
  28699. },
  28700. "goodunitid": {
  28701. "description": "定投商品单位id",
  28702. "type": "integer"
  28703. },
  28704. "logid": {
  28705. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  28706. "type": "string"
  28707. },
  28708. "logincode": {
  28709. "description": "账号(登录代码)",
  28710. "type": "string"
  28711. },
  28712. "qtydecimalplace": {
  28713. "description": "成交量小数位",
  28714. "type": "integer"
  28715. },
  28716. "regularlycycle": {
  28717. "description": "定投频率 - 1:每周 2:每月",
  28718. "type": "integer"
  28719. },
  28720. "regularlycyclevalue": {
  28721. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28722. "type": "string"
  28723. },
  28724. "regularlymode": {
  28725. "description": "定投方式 - 1:按数量 2:按金额",
  28726. "type": "integer"
  28727. },
  28728. "regularlymodevalue": {
  28729. "description": "定投方式值 - 数量或金额",
  28730. "type": "number"
  28731. },
  28732. "regularlystrategyid": {
  28733. "description": "定投策略ID",
  28734. "type": "integer"
  28735. },
  28736. "retcode": {
  28737. "description": "错误码",
  28738. "type": "string"
  28739. },
  28740. "tradeid": {
  28741. "description": "成交单ID",
  28742. "type": "string"
  28743. },
  28744. "triggeramount": {
  28745. "description": "触发金额",
  28746. "type": "number"
  28747. },
  28748. "triggerqty": {
  28749. "description": "触发数量",
  28750. "type": "number"
  28751. },
  28752. "triggerstatus": {
  28753. "description": "触发状态 - 1:成功 2:失败",
  28754. "type": "integer"
  28755. },
  28756. "triggertime": {
  28757. "description": "触发时间",
  28758. "type": "string"
  28759. },
  28760. "triggertradedate": {
  28761. "description": "触发交易日",
  28762. "type": "string"
  28763. },
  28764. "userid": {
  28765. "description": "所属用户ID",
  28766. "type": "integer"
  28767. },
  28768. "userinfotype": {
  28769. "description": "用户类型 1-个人 2-企业",
  28770. "type": "integer"
  28771. },
  28772. "username": {
  28773. "description": "用户名称(userid对应的名称)",
  28774. "type": "string"
  28775. }
  28776. }
  28777. },
  28778. "models.QhjRStrategy": {
  28779. "type": "object",
  28780. "properties": {
  28781. "accountid": {
  28782. "description": "用户资金账户",
  28783. "type": "integer"
  28784. },
  28785. "accountname": {
  28786. "description": "账号名称(ACCOUNTID对应的名称)",
  28787. "type": "string"
  28788. },
  28789. "currencyid": {
  28790. "description": "币种id",
  28791. "type": "integer"
  28792. },
  28793. "currencyname": {
  28794. "description": "币种名称",
  28795. "type": "string"
  28796. },
  28797. "decimalplace": {
  28798. "description": "商品报价小数位",
  28799. "type": "integer"
  28800. },
  28801. "enumdicname": {
  28802. "description": "单位名称",
  28803. "type": "string"
  28804. },
  28805. "goodscode": {
  28806. "description": "定投商品代码",
  28807. "type": "string"
  28808. },
  28809. "goodsid": {
  28810. "description": "定投商品ID",
  28811. "type": "integer"
  28812. },
  28813. "goodsname": {
  28814. "description": "定投商品名称",
  28815. "type": "string"
  28816. },
  28817. "goodunitid": {
  28818. "description": "定投商品单位id",
  28819. "type": "integer"
  28820. },
  28821. "lasteffecttradedate": {
  28822. "description": "最新生效交易日",
  28823. "type": "string"
  28824. },
  28825. "laststoptradedate": {
  28826. "description": "最新暂停交易日",
  28827. "type": "string"
  28828. },
  28829. "lasttriggertradedate": {
  28830. "description": "最新触发交易日",
  28831. "type": "string"
  28832. },
  28833. "logincode": {
  28834. "description": "账号(登录代码)",
  28835. "type": "string"
  28836. },
  28837. "nexttriggeramount": {
  28838. "description": "下次触发金额",
  28839. "type": "number"
  28840. },
  28841. "nexttriggerdate": {
  28842. "description": "下次触发日期",
  28843. "type": "string"
  28844. },
  28845. "nexttriggerqty": {
  28846. "description": "下次触发数量 [按小数位放大值]",
  28847. "type": "number"
  28848. },
  28849. "qtydecimalplace": {
  28850. "description": "成交量小数位",
  28851. "type": "integer"
  28852. },
  28853. "regularlycycle": {
  28854. "description": "定投频率 - 1:每周 2:每月",
  28855. "type": "integer"
  28856. },
  28857. "regularlycyclevalue": {
  28858. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28859. "type": "string"
  28860. },
  28861. "regularlymode": {
  28862. "description": "定投方式 - 1:按数量 2:按金额",
  28863. "type": "integer"
  28864. },
  28865. "regularlymodevalue": {
  28866. "description": "定投方式值 - 数量或金额",
  28867. "type": "number"
  28868. },
  28869. "regularlystrategyid": {
  28870. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  28871. "type": "integer"
  28872. },
  28873. "regularlystrategystatus": {
  28874. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  28875. "type": "integer"
  28876. },
  28877. "remark": {
  28878. "description": "备注",
  28879. "type": "string"
  28880. },
  28881. "triggersuccesstimes": {
  28882. "description": "累计定投成功次数",
  28883. "type": "string"
  28884. },
  28885. "triggertotalamount": {
  28886. "description": "累计定投金额(成功)",
  28887. "type": "number"
  28888. },
  28889. "triggertotalqty": {
  28890. "description": "累计定投数量(成功) [按小数位放大值]",
  28891. "type": "number"
  28892. },
  28893. "triggertotaltimes": {
  28894. "description": "累计定投总次数",
  28895. "type": "string"
  28896. },
  28897. "updatesrc": {
  28898. "description": "更新来源 - 1:管理端 2:终端",
  28899. "type": "integer"
  28900. },
  28901. "updatetime": {
  28902. "description": "更新时间",
  28903. "type": "string"
  28904. },
  28905. "updatorid": {
  28906. "description": "更新人",
  28907. "type": "string"
  28908. },
  28909. "userid": {
  28910. "description": "所属用户ID",
  28911. "type": "integer"
  28912. },
  28913. "userinfotype": {
  28914. "description": "用户类型 1-个人 2-企业",
  28915. "type": "integer"
  28916. },
  28917. "username": {
  28918. "description": "用户名称(userid对应的名称)",
  28919. "type": "string"
  28920. }
  28921. }
  28922. },
  28923. "models.QhjReckonPriceLog": {
  28924. "type": "object",
  28925. "properties": {
  28926. "decimalplace": {
  28927. "description": "商品报价小数位",
  28928. "type": "integer"
  28929. },
  28930. "goodscode": {
  28931. "description": "商品代码",
  28932. "type": "string"
  28933. },
  28934. "goodsid": {
  28935. "description": "商品ID",
  28936. "type": "integer"
  28937. },
  28938. "goodsname": {
  28939. "description": "商品名称",
  28940. "type": "string"
  28941. },
  28942. "lastreckonprice": {
  28943. "description": "上日结算价",
  28944. "type": "number"
  28945. },
  28946. "nextdnlimitprice": {
  28947. "description": "下个交易日跌停价",
  28948. "type": "number"
  28949. },
  28950. "nexttrade": {
  28951. "description": "下个交易日",
  28952. "type": "string"
  28953. },
  28954. "nextuplimitprice": {
  28955. "description": "下个交易日涨停价",
  28956. "type": "number"
  28957. },
  28958. "reckonprice": {
  28959. "description": "今日结算价(定投价)",
  28960. "type": "number"
  28961. },
  28962. "reckontime": {
  28963. "description": "结算时间",
  28964. "type": "string"
  28965. },
  28966. "totalholderqty": {
  28967. "description": "总持仓数",
  28968. "type": "integer"
  28969. },
  28970. "totalstock": {
  28971. "description": "总库存",
  28972. "type": "integer"
  28973. },
  28974. "tradedate": {
  28975. "description": "交易日",
  28976. "type": "string"
  28977. },
  28978. "updowncount": {
  28979. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  28980. "type": "integer"
  28981. },
  28982. "updownflag": {
  28983. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  28984. "type": "integer"
  28985. },
  28986. "updownrate": {
  28987. "description": "今日涨跌幅",
  28988. "type": "number"
  28989. },
  28990. "updownrate_2d": {
  28991. "description": "连续两日涨跌幅",
  28992. "type": "number"
  28993. },
  28994. "updownrate_3d": {
  28995. "description": "连续三日涨跌幅",
  28996. "type": "number"
  28997. }
  28998. }
  28999. },
  29000. "models.QhjScoreLog": {
  29001. "type": "object",
  29002. "properties": {
  29003. "accountid": {
  29004. "description": "账户ID",
  29005. "type": "integer"
  29006. },
  29007. "createtime": {
  29008. "description": "创建时间(时间)",
  29009. "type": "string"
  29010. },
  29011. "goodsid": {
  29012. "description": "商品ID",
  29013. "type": "integer"
  29014. },
  29015. "hasuploaded": {
  29016. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  29017. "type": "integer"
  29018. },
  29019. "logid": {
  29020. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29021. "type": "string"
  29022. },
  29023. "marketid": {
  29024. "description": "市场ID",
  29025. "type": "integer"
  29026. },
  29027. "relatedamount": {
  29028. "description": "关联金额",
  29029. "type": "number"
  29030. },
  29031. "relatedorderid": {
  29032. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  29033. "type": "string"
  29034. },
  29035. "scoreconfigvalue1": {
  29036. "description": "积分配置1",
  29037. "type": "integer"
  29038. },
  29039. "scoreconfigvalue2": {
  29040. "description": "积分配置1",
  29041. "type": "integer"
  29042. },
  29043. "scoretype": {
  29044. "description": "积分类型 - 1:提货积分",
  29045. "type": "integer"
  29046. },
  29047. "scorevalue": {
  29048. "description": "积分",
  29049. "type": "number"
  29050. },
  29051. "tradedate": {
  29052. "description": "交易日(yyyyMMdd)",
  29053. "type": "string"
  29054. },
  29055. "uploadedtime": {
  29056. "description": "同步时间",
  29057. "type": "string"
  29058. },
  29059. "userid": {
  29060. "description": "用户ID",
  29061. "type": "integer"
  29062. }
  29063. }
  29064. },
  29065. "models.QhjSiteColumnDetail": {
  29066. "type": "object",
  29067. "properties": {
  29068. "author": {
  29069. "description": "作者",
  29070. "type": "string"
  29071. },
  29072. "brief": {
  29073. "description": "简介",
  29074. "type": "string"
  29075. },
  29076. "columnid": {
  29077. "description": "所属栏目",
  29078. "type": "integer"
  29079. },
  29080. "context": {
  29081. "description": "内容",
  29082. "type": "string"
  29083. },
  29084. "coverimage": {
  29085. "description": "封面图片",
  29086. "type": "string"
  29087. },
  29088. "creaedate": {
  29089. "description": "创建时间",
  29090. "type": "string"
  29091. },
  29092. "creatorid": {
  29093. "description": "创建人",
  29094. "type": "integer"
  29095. },
  29096. "hits": {
  29097. "description": "点击数",
  29098. "type": "integer"
  29099. },
  29100. "id": {
  29101. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  29102. "type": "integer"
  29103. },
  29104. "isshow": {
  29105. "description": "是否展示 - 0:不展示 1:展示",
  29106. "type": "integer"
  29107. },
  29108. "istop": {
  29109. "description": "是否置顶 - 0:不置 1:置顶",
  29110. "type": "integer"
  29111. },
  29112. "modifierid": {
  29113. "description": "操作人",
  29114. "type": "integer"
  29115. },
  29116. "publishdate": {
  29117. "description": "发布日期",
  29118. "type": "string"
  29119. },
  29120. "status": {
  29121. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  29122. "type": "integer"
  29123. },
  29124. "title": {
  29125. "description": "标题",
  29126. "type": "string"
  29127. },
  29128. "updatedate": {
  29129. "description": "修改时间",
  29130. "type": "string"
  29131. },
  29132. "userid": {
  29133. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  29134. "type": "integer"
  29135. },
  29136. "username": {
  29137. "description": "用户名称",
  29138. "type": "string"
  29139. }
  29140. }
  29141. },
  29142. "models.QhjTeamOrder": {
  29143. "type": "object",
  29144. "properties": {
  29145. "accountid": {
  29146. "description": "账户ID[报价币种]",
  29147. "type": "integer"
  29148. },
  29149. "accountname": {
  29150. "description": "账户名称",
  29151. "type": "string"
  29152. },
  29153. "agreeunit": {
  29154. "description": "合约乘数",
  29155. "type": "number"
  29156. },
  29157. "buyorsell": {
  29158. "description": "方向 - 0:买 1:卖",
  29159. "type": "integer"
  29160. },
  29161. "decimalplace": {
  29162. "description": "报价小数位",
  29163. "type": "integer"
  29164. },
  29165. "enumdicname": {
  29166. "description": "单位名称",
  29167. "type": "string"
  29168. },
  29169. "goodscode": {
  29170. "description": "商品代码(内部)",
  29171. "type": "string"
  29172. },
  29173. "goodsid": {
  29174. "description": "商品ID",
  29175. "type": "integer"
  29176. },
  29177. "goodsname": {
  29178. "description": "商品名称",
  29179. "type": "string"
  29180. },
  29181. "goodunitid": {
  29182. "description": "报价单位ID",
  29183. "type": "integer"
  29184. },
  29185. "marketid": {
  29186. "description": "市场ID",
  29187. "type": "integer"
  29188. },
  29189. "marketname": {
  29190. "description": "市场名称",
  29191. "type": "string"
  29192. },
  29193. "qtydecimalplace": {
  29194. "description": "成交量小数位",
  29195. "type": "integer"
  29196. },
  29197. "refereeuserid": {
  29198. "description": "推荐人ID",
  29199. "type": "integer"
  29200. },
  29201. "tradeamount": {
  29202. "description": "成交金额[账户币种,用于所有权]",
  29203. "type": "number"
  29204. },
  29205. "tradedate": {
  29206. "description": "交易日(yyyyMMdd)",
  29207. "type": "string"
  29208. },
  29209. "trademode": {
  29210. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29211. "type": "integer"
  29212. },
  29213. "tradeprice": {
  29214. "description": "成交价格",
  29215. "type": "number"
  29216. },
  29217. "tradeqty": {
  29218. "description": "成交数量",
  29219. "type": "number"
  29220. },
  29221. "tradetime": {
  29222. "description": "成交时间",
  29223. "type": "string"
  29224. },
  29225. "userid": {
  29226. "description": "用户ID",
  29227. "type": "integer"
  29228. }
  29229. }
  29230. },
  29231. "models.QhjTradeGoodsPickup": {
  29232. "type": "object",
  29233. "properties": {
  29234. "accountid": {
  29235. "description": "账户ID",
  29236. "type": "integer"
  29237. },
  29238. "address": {
  29239. "description": "提货人详细地址",
  29240. "type": "string"
  29241. },
  29242. "amount": {
  29243. "description": "提货金额",
  29244. "type": "number"
  29245. },
  29246. "artradedate": {
  29247. "description": "自动收货交易日(yyyyMMdd)",
  29248. "type": "string"
  29249. },
  29250. "auditer": {
  29251. "description": "审核人",
  29252. "type": "integer"
  29253. },
  29254. "auditsrc": {
  29255. "description": "更新来源 - 1:管理端 2:终端",
  29256. "type": "integer"
  29257. },
  29258. "audittime": {
  29259. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  29260. "type": "string"
  29261. },
  29262. "audittradedate": {
  29263. "description": "审核交易日(yyyyMMdd)",
  29264. "type": "string"
  29265. },
  29266. "cardnum": {
  29267. "description": "提货人证件号码",
  29268. "type": "string"
  29269. },
  29270. "cardtypeid": {
  29271. "description": "提货人证件类型",
  29272. "type": "integer"
  29273. },
  29274. "checkremark": {
  29275. "description": "审核备注",
  29276. "type": "string"
  29277. },
  29278. "cityid": {
  29279. "description": "市",
  29280. "type": "integer"
  29281. },
  29282. "cityname": {
  29283. "description": "城市名称",
  29284. "type": "string"
  29285. },
  29286. "confirmtime": {
  29287. "description": "取货时间 或 收货时间",
  29288. "type": "string"
  29289. },
  29290. "countryid": {
  29291. "description": "国家",
  29292. "type": "integer"
  29293. },
  29294. "countryname": {
  29295. "description": "国家名称",
  29296. "type": "string"
  29297. },
  29298. "decimalplace": {
  29299. "description": "商品报价小数位",
  29300. "type": "integer"
  29301. },
  29302. "districtid": {
  29303. "description": "地区",
  29304. "type": "integer"
  29305. },
  29306. "districtname": {
  29307. "description": "地区名称",
  29308. "type": "string"
  29309. },
  29310. "enumdicname": {
  29311. "description": "单位名称(提货商品)",
  29312. "type": "string"
  29313. },
  29314. "expresscompany": {
  29315. "description": "物流公司",
  29316. "type": "string"
  29317. },
  29318. "expressnum": {
  29319. "description": "物流单号",
  29320. "type": "string"
  29321. },
  29322. "goodsagreeunit": {
  29323. "description": "交易商品乘数",
  29324. "type": "number"
  29325. },
  29326. "goodscode": {
  29327. "description": "商品代码",
  29328. "type": "string"
  29329. },
  29330. "goodsid": {
  29331. "description": "商品ID",
  29332. "type": "integer"
  29333. },
  29334. "goodsname": {
  29335. "description": "商品名称",
  29336. "type": "string"
  29337. },
  29338. "goodsqty": {
  29339. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  29340. "type": "number"
  29341. },
  29342. "handlestatus": {
  29343. "description": "处理状态",
  29344. "type": "integer"
  29345. },
  29346. "logincode": {
  29347. "description": "账号(登录代码, 有可能为空)",
  29348. "type": "string"
  29349. },
  29350. "marketid": {
  29351. "description": "市场ID",
  29352. "type": "integer"
  29353. },
  29354. "phonenum": {
  29355. "description": "提货人联系方式",
  29356. "type": "string"
  29357. },
  29358. "pickupgoodsagreeunit": {
  29359. "description": "提货商品合约乘数",
  29360. "type": "number"
  29361. },
  29362. "pickupgoodsid": {
  29363. "description": "提货商品ID",
  29364. "type": "string"
  29365. },
  29366. "pickupgoodsname": {
  29367. "description": "提货商品名称",
  29368. "type": "string"
  29369. },
  29370. "pickupgoodsqty": {
  29371. "description": "提货商品手数(数量)",
  29372. "type": "number"
  29373. },
  29374. "pickupgoodsunitid": {
  29375. "description": "单位ID(提货商品)",
  29376. "type": "integer"
  29377. },
  29378. "pickupratio": {
  29379. "description": "提货系数",
  29380. "type": "number"
  29381. },
  29382. "preparedays": {
  29383. "description": "备货期(天)-提货单明细表",
  29384. "type": "integer"
  29385. },
  29386. "provinceid": {
  29387. "description": "省",
  29388. "type": "integer"
  29389. },
  29390. "provincename": {
  29391. "description": "省名称",
  29392. "type": "string"
  29393. },
  29394. "qty": {
  29395. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  29396. "type": "number"
  29397. },
  29398. "qtydecimalplace": {
  29399. "description": "商品数量小数位",
  29400. "type": "integer"
  29401. },
  29402. "recivername": {
  29403. "description": "提货人姓名",
  29404. "type": "string"
  29405. },
  29406. "reqtime": {
  29407. "description": "提货申请时间",
  29408. "type": "string"
  29409. },
  29410. "storeuserid": {
  29411. "description": "门店用户ID (千海金)",
  29412. "type": "integer"
  29413. },
  29414. "storeusername": {
  29415. "description": "门店用户名称",
  29416. "type": "string"
  29417. },
  29418. "takemode": {
  29419. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  29420. "type": "integer"
  29421. },
  29422. "takeorderid": {
  29423. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  29424. "type": "string"
  29425. },
  29426. "takeorderstatus": {
  29427. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  29428. "type": "integer"
  29429. },
  29430. "takeremark": {
  29431. "description": "提货备注",
  29432. "type": "string"
  29433. },
  29434. "tradedate": {
  29435. "description": "交易日(yyyyMMdd)",
  29436. "type": "string"
  29437. },
  29438. "updatetime": {
  29439. "description": "更新时间",
  29440. "type": "string"
  29441. },
  29442. "userid": {
  29443. "description": "用户ID",
  29444. "type": "integer"
  29445. },
  29446. "userinfotype": {
  29447. "description": "客户类型 1-个人 2-企业",
  29448. "type": "integer"
  29449. },
  29450. "username": {
  29451. "description": "用户名称",
  29452. "type": "string"
  29453. }
  29454. }
  29455. },
  29456. "models.QhjUserNodeCfgAndStatus": {
  29457. "type": "object",
  29458. "properties": {
  29459. "agreementcontent": {
  29460. "description": "协议内容",
  29461. "type": "string"
  29462. },
  29463. "agreementid": {
  29464. "description": "协议ID",
  29465. "type": "integer"
  29466. },
  29467. "agreementname": {
  29468. "description": "协议名称",
  29469. "type": "string"
  29470. },
  29471. "agreementno": {
  29472. "description": "协议编号",
  29473. "type": "string"
  29474. },
  29475. "agreementtype": {
  29476. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29477. "type": "integer"
  29478. },
  29479. "agreementversion": {
  29480. "description": "协议版本号",
  29481. "type": "integer"
  29482. },
  29483. "configid": {
  29484. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  29485. "type": "integer"
  29486. },
  29487. "createtime": {
  29488. "description": "创建时间",
  29489. "type": "string"
  29490. },
  29491. "goodsid": {
  29492. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29493. "type": "integer"
  29494. },
  29495. "nodetype": {
  29496. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29497. "type": "integer"
  29498. },
  29499. "signtimestamp": {
  29500. "description": "签约状态时间戳(最近一次)",
  29501. "type": "string"
  29502. },
  29503. "tradedate": {
  29504. "description": "签约交易日(yyyyMMdd)",
  29505. "type": "string"
  29506. },
  29507. "userid": {
  29508. "description": "客户ID",
  29509. "type": "integer"
  29510. }
  29511. }
  29512. },
  29513. "models.Qhjgoodsex": {
  29514. "type": "object",
  29515. "properties": {
  29516. "canfinance": {
  29517. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  29518. "type": "integer"
  29519. },
  29520. "canregularlybuy": {
  29521. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  29522. "type": "integer"
  29523. },
  29524. "defaulttradeuserid": {
  29525. "description": "默认交易用户ID",
  29526. "type": "integer"
  29527. },
  29528. "deliverygoodsid": {
  29529. "description": "现货品种ID",
  29530. "type": "integer"
  29531. },
  29532. "goodsid": {
  29533. "description": "商品ID(自增ID SEQ_GOODS)",
  29534. "type": "integer"
  29535. },
  29536. "minamount": {
  29537. "description": "最小购买金额",
  29538. "type": "number"
  29539. },
  29540. "regularlybuyminamount": {
  29541. "description": "定投最小金额",
  29542. "type": "number"
  29543. },
  29544. "regularlybuyminqty": {
  29545. "description": "定投最小数量",
  29546. "type": "number"
  29547. },
  29548. "spotgoodsbrandid": {
  29549. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  29550. "type": "integer"
  29551. },
  29552. "visibilityforenterprise": {
  29553. "description": "企业客户是否可见 - 0:不可见 1:可见",
  29554. "type": "integer"
  29555. },
  29556. "visibilityforpersonal": {
  29557. "description": "个人客户是否可见 - 0:不可见 1:可见",
  29558. "type": "integer"
  29559. },
  29560. "wrstandardid": {
  29561. "description": "现货商品ID",
  29562. "type": "integer"
  29563. }
  29564. }
  29565. },
  29566. "models.QueryErrorInfosRsp": {
  29567. "type": "object",
  29568. "required": [
  29569. "errorid"
  29570. ],
  29571. "properties": {
  29572. "description": {
  29573. "description": "异常描述",
  29574. "type": "string"
  29575. },
  29576. "errorcode": {
  29577. "description": "异常代码",
  29578. "type": "string"
  29579. },
  29580. "errorid": {
  29581. "description": "异常ID",
  29582. "type": "integer"
  29583. },
  29584. "modulecode": {
  29585. "description": "所属模块",
  29586. "type": "string"
  29587. },
  29588. "operatecode": {
  29589. "description": "所属操作",
  29590. "type": "string"
  29591. },
  29592. "rownumber": {
  29593. "description": "行号",
  29594. "type": "string"
  29595. }
  29596. }
  29597. },
  29598. "models.QueryHedgeOrderDetailRsp": {
  29599. "type": "object",
  29600. "properties": {
  29601. "accountid": {
  29602. "description": "账户ID",
  29603. "type": "integer"
  29604. },
  29605. "buyorsell": {
  29606. "description": "买卖 - 0:买 1:卖",
  29607. "type": "integer"
  29608. },
  29609. "cancellogincode": {
  29610. "description": "撤单人",
  29611. "type": "string"
  29612. },
  29613. "channelbuildtype": {
  29614. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  29615. "type": "integer"
  29616. },
  29617. "channelinnerorderstatus": {
  29618. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  29619. "type": "integer"
  29620. },
  29621. "channeloperatetype": {
  29622. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  29623. "type": "integer"
  29624. },
  29625. "closetype": {
  29626. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29627. "type": "integer"
  29628. },
  29629. "curexchangerate": {
  29630. "description": "当前汇率",
  29631. "type": "number"
  29632. },
  29633. "exchangefullname": {
  29634. "description": "外部交易所全称",
  29635. "type": "string"
  29636. },
  29637. "goodscode": {
  29638. "description": "商品代码(内部)",
  29639. "type": "string"
  29640. },
  29641. "goodsid": {
  29642. "description": "商品ID",
  29643. "type": "integer"
  29644. },
  29645. "goodsname": {
  29646. "description": "商品名称",
  29647. "type": "string"
  29648. },
  29649. "marketid": {
  29650. "description": "市场ID",
  29651. "type": "integer"
  29652. },
  29653. "openfreezemargin": {
  29654. "description": "冻结保证金(冻结交易金额)",
  29655. "type": "number"
  29656. },
  29657. "orderid": {
  29658. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29659. "type": "string"
  29660. },
  29661. "orderlogincode": {
  29662. "description": "委托人",
  29663. "type": "string"
  29664. },
  29665. "orderprice": {
  29666. "description": "委托价格(账户)",
  29667. "type": "number"
  29668. },
  29669. "orderqty": {
  29670. "description": "委托数量",
  29671. "type": "integer"
  29672. },
  29673. "ordertime": {
  29674. "description": "委托时间",
  29675. "type": "string"
  29676. },
  29677. "pricemode": {
  29678. "description": "取价方式 - 1:市价 2: 限价",
  29679. "type": "integer"
  29680. },
  29681. "tradedate": {
  29682. "description": "交易日(yyyyMMdd)",
  29683. "type": "string"
  29684. },
  29685. "tradeqty": {
  29686. "description": "成交数量",
  29687. "type": "integer"
  29688. }
  29689. }
  29690. },
  29691. "models.QueryHedgeTradeDetailRsp": {
  29692. "type": "object",
  29693. "properties": {
  29694. "accountid": {
  29695. "description": "账号ID",
  29696. "type": "integer"
  29697. },
  29698. "buyorsell": {
  29699. "description": "方向 - 0:买 1:卖",
  29700. "type": "integer"
  29701. },
  29702. "channelbuildtype": {
  29703. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  29704. "type": "integer"
  29705. },
  29706. "closecharge": {
  29707. "description": "平仓手续费(账户)",
  29708. "type": "number"
  29709. },
  29710. "closecharge2": {
  29711. "description": "平仓手续费(商品)",
  29712. "type": "number"
  29713. },
  29714. "closepl": {
  29715. "description": "平仓盈亏(账户)",
  29716. "type": "number"
  29717. },
  29718. "closepl2": {
  29719. "description": "平仓盈亏(商品)",
  29720. "type": "number"
  29721. },
  29722. "closepl3": {
  29723. "description": "平仓盈亏(账户)(逐笔)",
  29724. "type": "number"
  29725. },
  29726. "closepl4": {
  29727. "description": "平仓盈亏(商品)(逐笔)",
  29728. "type": "number"
  29729. },
  29730. "closetype": {
  29731. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  29732. "type": "integer"
  29733. },
  29734. "curexchangerate": {
  29735. "description": "当前汇率",
  29736. "type": "number"
  29737. },
  29738. "exchangefullname": {
  29739. "description": "外部交易所全称",
  29740. "type": "string"
  29741. },
  29742. "goodscode": {
  29743. "description": "商品代码(内部)",
  29744. "type": "string"
  29745. },
  29746. "goodsid": {
  29747. "description": "商品ID",
  29748. "type": "integer"
  29749. },
  29750. "goodsname": {
  29751. "description": "商品名称",
  29752. "type": "string"
  29753. },
  29754. "marketid": {
  29755. "description": "市场ID",
  29756. "type": "integer"
  29757. },
  29758. "opencharge": {
  29759. "description": "建仓手续费(账户)",
  29760. "type": "number"
  29761. },
  29762. "opencharge2": {
  29763. "description": "建仓手续费(商品)",
  29764. "type": "number"
  29765. },
  29766. "orderid": {
  29767. "description": "委托单号",
  29768. "type": "string"
  29769. },
  29770. "orderlogincode": {
  29771. "description": "委托人",
  29772. "type": "string"
  29773. },
  29774. "tradeamount": {
  29775. "description": "成交金额(账户)",
  29776. "type": "number"
  29777. },
  29778. "tradedate": {
  29779. "description": "交易日(yyyyMMdd)",
  29780. "type": "string"
  29781. },
  29782. "tradeid": {
  29783. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29784. "type": "string"
  29785. },
  29786. "tradeprice": {
  29787. "description": "成交价格",
  29788. "type": "number"
  29789. },
  29790. "tradeqty": {
  29791. "description": "成交数量",
  29792. "type": "integer"
  29793. },
  29794. "tradetime": {
  29795. "description": "成交时间",
  29796. "type": "string"
  29797. },
  29798. "tradetype": {
  29799. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  29800. "type": "integer"
  29801. }
  29802. }
  29803. },
  29804. "models.QuotePrimaryMenu": {
  29805. "type": "object",
  29806. "properties": {
  29807. "Index": {
  29808. "description": "序号",
  29809. "type": "integer"
  29810. },
  29811. "Key": {
  29812. "description": "键名",
  29813. "type": "string"
  29814. },
  29815. "Name": {
  29816. "description": "菜单名称",
  29817. "type": "string"
  29818. },
  29819. "SubMenus": {
  29820. "description": "子菜单",
  29821. "type": "array",
  29822. "items": {
  29823. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  29824. }
  29825. },
  29826. "SubTitleType": {
  29827. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  29828. "type": "integer"
  29829. },
  29830. "TradeModes": {
  29831. "description": "包含市场交易类型",
  29832. "type": "string"
  29833. }
  29834. }
  29835. },
  29836. "models.QuoteSecondaryMenu": {
  29837. "type": "object",
  29838. "properties": {
  29839. "ExExchangeCode": {
  29840. "description": "外部交易所代码",
  29841. "type": "string"
  29842. },
  29843. "ExExchangeID": {
  29844. "description": "外部交易所ID",
  29845. "type": "integer"
  29846. },
  29847. "GoodsGroupIDs": {
  29848. "description": "商品组ID列表",
  29849. "type": "array",
  29850. "items": {
  29851. "type": "integer"
  29852. }
  29853. },
  29854. "Index": {
  29855. "description": "序号",
  29856. "type": "integer"
  29857. },
  29858. "MarketID": {
  29859. "description": "市场ID",
  29860. "type": "integer"
  29861. },
  29862. "MenuTitle": {
  29863. "description": "菜单标题(市场名称或外部交易所名称)",
  29864. "type": "string"
  29865. },
  29866. "TradeMode": {
  29867. "description": "交易模式",
  29868. "type": "integer"
  29869. }
  29870. }
  29871. },
  29872. "models.RoleMenu": {
  29873. "type": "object",
  29874. "properties": {
  29875. "hasright": {
  29876. "description": "是否有权限 0-没有权限 1-有权限",
  29877. "type": "integer"
  29878. },
  29879. "iconame": {
  29880. "description": "菜单图标",
  29881. "type": "string"
  29882. },
  29883. "menutype": {
  29884. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  29885. "type": "integer"
  29886. },
  29887. "parentcode": {
  29888. "description": "上级资源代码",
  29889. "type": "string"
  29890. },
  29891. "remark": {
  29892. "description": "菜单备注",
  29893. "type": "string"
  29894. },
  29895. "resourcecode": {
  29896. "description": "菜单代码",
  29897. "type": "string"
  29898. },
  29899. "resourcelevel": {
  29900. "description": "级别",
  29901. "type": "integer"
  29902. },
  29903. "resourcename": {
  29904. "description": "菜单名称",
  29905. "type": "string"
  29906. },
  29907. "roleid": {
  29908. "description": "角色id",
  29909. "type": "integer"
  29910. },
  29911. "sort": {
  29912. "description": "排序",
  29913. "type": "integer"
  29914. },
  29915. "subMenu": {
  29916. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  29917. "type": "array",
  29918. "items": {
  29919. "$ref": "#/definitions/models.RoleMenu"
  29920. }
  29921. },
  29922. "url": {
  29923. "description": "URL",
  29924. "type": "string"
  29925. },
  29926. "userid": {
  29927. "description": "用户id",
  29928. "type": "integer"
  29929. }
  29930. }
  29931. },
  29932. "models.SearchGoods": {
  29933. "type": "object",
  29934. "required": [
  29935. "goodscode",
  29936. "goodsid",
  29937. "goodsname",
  29938. "marketid",
  29939. "trademode"
  29940. ],
  29941. "properties": {
  29942. "goodscode": {
  29943. "description": "商品代码(内部)",
  29944. "type": "string"
  29945. },
  29946. "goodsid": {
  29947. "description": "商品ID(自增ID SEQ_GOODS)",
  29948. "type": "integer"
  29949. },
  29950. "goodsname": {
  29951. "description": "商品名称",
  29952. "type": "string"
  29953. },
  29954. "marketid": {
  29955. "description": "所属市场ID",
  29956. "type": "integer"
  29957. },
  29958. "marketname": {
  29959. "description": "市场名称",
  29960. "type": "string"
  29961. },
  29962. "trademode": {
  29963. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29964. "type": "integer"
  29965. }
  29966. }
  29967. },
  29968. "models.Systemparam": {
  29969. "type": "object",
  29970. "required": [
  29971. "paramcode"
  29972. ],
  29973. "properties": {
  29974. "loginid": {
  29975. "description": "更新用户账号,登录账号",
  29976. "type": "string"
  29977. },
  29978. "modifyflag": {
  29979. "description": "修改标志0 不允许修改 1 允许修改",
  29980. "type": "integer"
  29981. },
  29982. "paramcode": {
  29983. "description": "参数代码",
  29984. "type": "string"
  29985. },
  29986. "paramname": {
  29987. "description": "参数名",
  29988. "type": "string"
  29989. },
  29990. "paramtype": {
  29991. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  29992. "type": "integer"
  29993. },
  29994. "paramvalue": {
  29995. "description": "参数值",
  29996. "type": "string"
  29997. },
  29998. "paramvalue2": {
  29999. "description": "参数值(CLOB)",
  30000. "type": "string"
  30001. },
  30002. "regexpress": {
  30003. "description": "正则表达式",
  30004. "type": "string"
  30005. },
  30006. "remark": {
  30007. "description": "备注",
  30008. "type": "string"
  30009. },
  30010. "serverip": {
  30011. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  30012. "type": "string"
  30013. },
  30014. "showflag": {
  30015. "description": "是否显示0 不显示 1 显示",
  30016. "type": "integer"
  30017. },
  30018. "updatetime": {
  30019. "description": "更新时间",
  30020. "type": "string"
  30021. },
  30022. "userid": {
  30023. "description": "更新用户ID",
  30024. "type": "integer"
  30025. }
  30026. }
  30027. },
  30028. "models.Szdz3convertconfig": {
  30029. "type": "object",
  30030. "required": [
  30031. "converttype",
  30032. "innergoodsid",
  30033. "outergoodscode"
  30034. ],
  30035. "properties": {
  30036. "canin": {
  30037. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  30038. "type": "integer"
  30039. },
  30040. "canout": {
  30041. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  30042. "type": "integer"
  30043. },
  30044. "converttype": {
  30045. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  30046. "type": "integer"
  30047. },
  30048. "createtime": {
  30049. "description": "创建时间",
  30050. "type": "string"
  30051. },
  30052. "creatorid": {
  30053. "description": "创建人",
  30054. "type": "integer"
  30055. },
  30056. "daymaxvalue": {
  30057. "description": "当日最大转入限制",
  30058. "type": "number"
  30059. },
  30060. "freezedays": {
  30061. "description": "冻结天数 [5:花生米转交易]",
  30062. "type": "integer"
  30063. },
  30064. "innergoodsid": {
  30065. "description": "内部商品ID[交易]",
  30066. "type": "integer"
  30067. },
  30068. "inratio": {
  30069. "description": "目标值",
  30070. "type": "integer"
  30071. },
  30072. "modifierid": {
  30073. "description": "修改人",
  30074. "type": "integer"
  30075. },
  30076. "modifytime": {
  30077. "description": "修改时间",
  30078. "type": "string"
  30079. },
  30080. "outergoodscode": {
  30081. "description": "外部商品代码[JD\\PD]",
  30082. "type": "string"
  30083. },
  30084. "outratio": {
  30085. "description": "源值",
  30086. "type": "integer"
  30087. },
  30088. "pddecimalplace": {
  30089. "description": "PD小数位",
  30090. "type": "integer"
  30091. },
  30092. "timemaxvalue": {
  30093. "description": "单次最大转入限制",
  30094. "type": "number"
  30095. },
  30096. "timeminvalue": {
  30097. "description": "单次最小转入限制",
  30098. "type": "number"
  30099. }
  30100. }
  30101. },
  30102. "models.Szdz3searchwhitelist": {
  30103. "type": "object",
  30104. "required": [
  30105. "userid"
  30106. ],
  30107. "properties": {
  30108. "createtime": {
  30109. "description": "创建时间",
  30110. "type": "string"
  30111. },
  30112. "creatorid": {
  30113. "description": "创建人",
  30114. "type": "integer"
  30115. },
  30116. "modifierid": {
  30117. "description": "修改人",
  30118. "type": "integer"
  30119. },
  30120. "modifytime": {
  30121. "description": "修改时间",
  30122. "type": "string"
  30123. },
  30124. "userid": {
  30125. "description": "用户ID",
  30126. "type": "integer"
  30127. }
  30128. }
  30129. },
  30130. "models.Taaccount": {
  30131. "type": "object",
  30132. "required": [
  30133. "accountid",
  30134. "userid"
  30135. ],
  30136. "properties": {
  30137. "accountflag": {
  30138. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  30139. "type": "integer"
  30140. },
  30141. "accountid": {
  30142. "description": "资金账户ID",
  30143. "type": "integer"
  30144. },
  30145. "accountname": {
  30146. "description": "账户名称",
  30147. "type": "string"
  30148. },
  30149. "balance": {
  30150. "description": "期初余额",
  30151. "type": "number"
  30152. },
  30153. "capitalbalance": {
  30154. "description": "本金余额[外部子账户实际出入金余额]",
  30155. "type": "number"
  30156. },
  30157. "changeflag": {
  30158. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  30159. "type": "integer"
  30160. },
  30161. "changetime": {
  30162. "description": "账户状态变更时间",
  30163. "type": "string"
  30164. },
  30165. "closepl": {
  30166. "description": "今日平仓盈亏",
  30167. "type": "number"
  30168. },
  30169. "creditdecrease": {
  30170. "description": "今日授信减少",
  30171. "type": "number"
  30172. },
  30173. "creditincrease": {
  30174. "description": "今日授信增加",
  30175. "type": "number"
  30176. },
  30177. "curamount": {
  30178. "description": "总市值(从持仓中统计)",
  30179. "type": "number"
  30180. },
  30181. "currencyid": {
  30182. "description": "货币ID",
  30183. "type": "integer"
  30184. },
  30185. "currentbalance": {
  30186. "description": "期末余额",
  30187. "type": "number"
  30188. },
  30189. "freezecharge": {
  30190. "description": "手续费冻结",
  30191. "type": "number"
  30192. },
  30193. "freezemargin": {
  30194. "description": "冻结保证金",
  30195. "type": "number"
  30196. },
  30197. "fromaccountid": {
  30198. "description": "所属上级账户",
  30199. "type": "integer"
  30200. },
  30201. "inamount": {
  30202. "description": "今日入金金额(包括三方入金)",
  30203. "type": "number"
  30204. },
  30205. "ismain": {
  30206. "description": "是否母账号 0:不是母账户 1:是母账户",
  30207. "type": "integer"
  30208. },
  30209. "ismarketaccount": {
  30210. "description": "是否机构接单账号 0:不是 1:是",
  30211. "type": "integer"
  30212. },
  30213. "isreckonaccount": {
  30214. "description": "是否机构分润账号 0:不是 1:是",
  30215. "type": "integer"
  30216. },
  30217. "mortgagecredit": {
  30218. "description": "授信金额",
  30219. "type": "number"
  30220. },
  30221. "orifreezecharge": {
  30222. "description": "期初手续费冻结",
  30223. "type": "number"
  30224. },
  30225. "orifreezemargin": {
  30226. "description": "期初冻结保证金",
  30227. "type": "number"
  30228. },
  30229. "orimortgagecredit": {
  30230. "description": "期初授信金额",
  30231. "type": "number"
  30232. },
  30233. "oriothercredit": {
  30234. "description": "期初其它授信金额",
  30235. "type": "number"
  30236. },
  30237. "oriotherfreezemargin": {
  30238. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  30239. "type": "number"
  30240. },
  30241. "orioutamountfreeze": {
  30242. "description": "期初出金冻结",
  30243. "type": "number"
  30244. },
  30245. "oriusedmargin": {
  30246. "description": "期初占用保证金",
  30247. "type": "number"
  30248. },
  30249. "othercredit": {
  30250. "description": "其它授信金额",
  30251. "type": "number"
  30252. },
  30253. "othercreditdecrease": {
  30254. "description": "今日其它授信减少",
  30255. "type": "number"
  30256. },
  30257. "othercreditincrease": {
  30258. "description": "今日其它授信增加",
  30259. "type": "number"
  30260. },
  30261. "otherfreezemargin": {
  30262. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  30263. "type": "number"
  30264. },
  30265. "otherincome": {
  30266. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  30267. "type": "number"
  30268. },
  30269. "otherpay": {
  30270. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  30271. "type": "number"
  30272. },
  30273. "outamount": {
  30274. "description": "今日出金金额(包括三方出金)",
  30275. "type": "number"
  30276. },
  30277. "outamountfreeze": {
  30278. "description": "出金冻结",
  30279. "type": "number"
  30280. },
  30281. "outthreshold": {
  30282. "description": "出金阈值",
  30283. "type": "number"
  30284. },
  30285. "parentaccountid": {
  30286. "description": "所属根账号",
  30287. "type": "integer"
  30288. },
  30289. "paycharge": {
  30290. "description": "今日手续费支出",
  30291. "type": "number"
  30292. },
  30293. "relatedaccountstatus": {
  30294. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  30295. "type": "integer"
  30296. },
  30297. "relateduserid": {
  30298. "description": "关联用户",
  30299. "type": "integer"
  30300. },
  30301. "remainamount": {
  30302. "description": "融资额(从融资合同中统计)",
  30303. "type": "number"
  30304. },
  30305. "serivcegroup": {
  30306. "description": "服务分组",
  30307. "type": "integer"
  30308. },
  30309. "signstatus": {
  30310. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  30311. "type": "integer"
  30312. },
  30313. "sublevelpath": {
  30314. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  30315. "type": "string"
  30316. },
  30317. "taaccounttype": {
  30318. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  30319. "type": "integer"
  30320. },
  30321. "thirdinamount": {
  30322. "description": "今日三方入金",
  30323. "type": "number"
  30324. },
  30325. "thirdoutamount": {
  30326. "description": "今日三方出金",
  30327. "type": "number"
  30328. },
  30329. "tradestatus": {
  30330. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  30331. "type": "integer"
  30332. },
  30333. "tradestatuschangetime": {
  30334. "description": "激活时间",
  30335. "type": "string"
  30336. },
  30337. "transferamount": {
  30338. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  30339. "type": "number"
  30340. },
  30341. "usedmargin": {
  30342. "description": "占用保证金",
  30343. "type": "number"
  30344. },
  30345. "userid": {
  30346. "description": "用户ID",
  30347. "type": "integer"
  30348. }
  30349. }
  30350. },
  30351. "models.Tablecolumnconfig": {
  30352. "type": "object",
  30353. "required": [
  30354. "autoid"
  30355. ],
  30356. "properties": {
  30357. "aligntype": {
  30358. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  30359. "type": "integer"
  30360. },
  30361. "autoid": {
  30362. "description": "AutoID",
  30363. "type": "integer"
  30364. },
  30365. "columnfield": {
  30366. "description": "列字段",
  30367. "type": "string"
  30368. },
  30369. "columntitle": {
  30370. "description": "列Title",
  30371. "type": "string"
  30372. },
  30373. "columnwidth": {
  30374. "description": "列宽",
  30375. "type": "string"
  30376. },
  30377. "formatterstring": {
  30378. "description": "格式化字符",
  30379. "type": "string"
  30380. },
  30381. "formattertype": {
  30382. "description": "格式化类型",
  30383. "type": "string"
  30384. },
  30385. "groupname": {
  30386. "description": "表头分组名称",
  30387. "type": "string"
  30388. },
  30389. "isshow": {
  30390. "description": "是否显示 - 0:不显示 1:显示",
  30391. "type": "integer"
  30392. },
  30393. "needsummary": {
  30394. "description": "是否需要汇总 - 0:不需要 1:需要",
  30395. "type": "integer"
  30396. },
  30397. "orderindex": {
  30398. "description": "顺序",
  30399. "type": "integer"
  30400. },
  30401. "remark": {
  30402. "description": "备注",
  30403. "type": "string"
  30404. },
  30405. "summarytype": {
  30406. "description": "汇总类型 - 1:加总 2:最后一个",
  30407. "type": "integer"
  30408. },
  30409. "tablekey": {
  30410. "description": "列表Key",
  30411. "type": "string"
  30412. }
  30413. }
  30414. },
  30415. "models.TjmdQuoteGoods": {
  30416. "type": "object",
  30417. "properties": {
  30418. "buyqty": {
  30419. "description": "买量(暂不做, 无值, 保留字段)",
  30420. "type": "number"
  30421. },
  30422. "goodscode": {
  30423. "description": "合约代码",
  30424. "type": "string"
  30425. },
  30426. "goodsgroupid": {
  30427. "description": "商品组ID(自增ID)",
  30428. "type": "integer"
  30429. },
  30430. "goodsgroupname": {
  30431. "description": "商品组名称",
  30432. "type": "string"
  30433. },
  30434. "goodsid": {
  30435. "description": "合约id",
  30436. "type": "integer"
  30437. },
  30438. "goodsname": {
  30439. "description": "合约名称",
  30440. "type": "string"
  30441. },
  30442. "refgoodscode": {
  30443. "description": "标的合约代码",
  30444. "type": "string"
  30445. },
  30446. "refgoodsid": {
  30447. "description": "标的合约id",
  30448. "type": "integer"
  30449. },
  30450. "refgoodsname": {
  30451. "description": "标的合约名称",
  30452. "type": "string"
  30453. },
  30454. "sellqty": {
  30455. "description": "卖量(暂不做, 无值, 保留字段)",
  30456. "type": "number"
  30457. }
  30458. }
  30459. },
  30460. "models.TjmdTradeOrderDetail": {
  30461. "type": "object",
  30462. "properties": {
  30463. "buyorsell": {
  30464. "description": "买卖方向 0-买 1-卖",
  30465. "type": "integer"
  30466. },
  30467. "goodsid": {
  30468. "description": "商品id",
  30469. "type": "integer"
  30470. },
  30471. "marketmaxsub": {
  30472. "description": "市价最大偏移范围 [浮动价 - 点差]",
  30473. "type": "number"
  30474. },
  30475. "orderid": {
  30476. "description": "委托单号",
  30477. "type": "string"
  30478. },
  30479. "orderprice": {
  30480. "description": "委托价格",
  30481. "type": "number"
  30482. },
  30483. "orderqty": {
  30484. "description": "委托数量",
  30485. "type": "integer"
  30486. },
  30487. "pricemode": {
  30488. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  30489. "type": "integer"
  30490. },
  30491. "userid": {
  30492. "description": "用户id",
  30493. "type": "integer"
  30494. },
  30495. "username": {
  30496. "description": "用户名称(已脱敏)",
  30497. "type": "string"
  30498. }
  30499. }
  30500. },
  30501. "models.TjmdTransferApply": {
  30502. "type": "object",
  30503. "properties": {
  30504. "applyid": {
  30505. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  30506. "type": "integer"
  30507. },
  30508. "applystatus": {
  30509. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  30510. "type": "integer"
  30511. },
  30512. "applytime": {
  30513. "description": "申请时间(时间)",
  30514. "type": "string"
  30515. },
  30516. "auditremark": {
  30517. "description": "审核备注(拒绝原因?)",
  30518. "type": "string"
  30519. },
  30520. "buyorsell": {
  30521. "description": "买卖 - 0:买 1:卖",
  30522. "type": "integer"
  30523. },
  30524. "goodscode": {
  30525. "description": "商品代码",
  30526. "type": "string"
  30527. },
  30528. "goodsid": {
  30529. "description": "商品ID",
  30530. "type": "integer"
  30531. },
  30532. "goodsname": {
  30533. "description": "商品名称",
  30534. "type": "string"
  30535. },
  30536. "marketid": {
  30537. "description": "市场ID",
  30538. "type": "integer"
  30539. },
  30540. "qty": {
  30541. "description": "转让数量(数量)",
  30542. "type": "number"
  30543. },
  30544. "tradeid": {
  30545. "description": "成交单号(关联持仓)",
  30546. "type": "string"
  30547. },
  30548. "transferamount": {
  30549. "description": "转让总金额(金额)",
  30550. "type": "number"
  30551. },
  30552. "transferprice": {
  30553. "description": "转让价格(协议价格)",
  30554. "type": "number"
  30555. }
  30556. }
  30557. },
  30558. "models.TradeHolderDetail": {
  30559. "type": "object",
  30560. "properties": {
  30561. "accountid": {
  30562. "description": "账号ID",
  30563. "type": "integer"
  30564. },
  30565. "agreeunit": {
  30566. "description": "合约乘数",
  30567. "type": "number"
  30568. },
  30569. "buyorsell": {
  30570. "description": "方向 - 0:买 1:卖",
  30571. "type": "integer"
  30572. },
  30573. "currencyid": {
  30574. "description": "商品币种id",
  30575. "type": "integer"
  30576. },
  30577. "currencyname": {
  30578. "description": "币种名称",
  30579. "type": "string"
  30580. },
  30581. "decimalplace": {
  30582. "description": "商品价格小数位",
  30583. "type": "integer"
  30584. },
  30585. "enumdicname": {
  30586. "description": "商品单位名称",
  30587. "type": "string"
  30588. },
  30589. "expirecycle": {
  30590. "description": "行权周期(天) - 1:滚动行权时填写",
  30591. "type": "integer"
  30592. },
  30593. "expiredate": {
  30594. "description": "行权日(yyyyMMdd) - 到期日",
  30595. "type": "string"
  30596. },
  30597. "expiretype": {
  30598. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  30599. "type": "integer"
  30600. },
  30601. "freezeqty": {
  30602. "description": "冻结数量",
  30603. "type": "number"
  30604. },
  30605. "goodscode": {
  30606. "description": "商品代码",
  30607. "type": "string"
  30608. },
  30609. "goodsid": {
  30610. "description": "商品ID",
  30611. "type": "integer"
  30612. },
  30613. "goodsname": {
  30614. "description": "商品名称",
  30615. "type": "string"
  30616. },
  30617. "goodunitid": {
  30618. "description": "商品单位id",
  30619. "type": "integer"
  30620. },
  30621. "holderamount": {
  30622. "description": "持仓金额",
  30623. "type": "number"
  30624. },
  30625. "holdercredit": {
  30626. "description": "持仓授信金额",
  30627. "type": "number"
  30628. },
  30629. "holderdays": {
  30630. "description": "剩余冻结天数",
  30631. "type": "integer"
  30632. },
  30633. "holderprice": {
  30634. "description": "持仓价格",
  30635. "type": "number"
  30636. },
  30637. "holderqty": {
  30638. "description": "持仓数量",
  30639. "type": "number"
  30640. },
  30641. "isconfirmexercise": {
  30642. "description": "是否确认行权- 0:否 1:是",
  30643. "type": "integer"
  30644. },
  30645. "ispreexercise": {
  30646. "description": "是否预申报- 0:否 1:是 2:不可行权",
  30647. "type": "integer"
  30648. },
  30649. "marketid": {
  30650. "description": "市场id",
  30651. "type": "integer"
  30652. },
  30653. "marketname": {
  30654. "description": "市场名称",
  30655. "type": "string"
  30656. },
  30657. "openprice": {
  30658. "description": "建仓价格",
  30659. "type": "number"
  30660. },
  30661. "openqty": {
  30662. "description": "建仓数量",
  30663. "type": "number"
  30664. },
  30665. "optiontype": {
  30666. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  30667. "type": "integer"
  30668. },
  30669. "preexerciseprice": {
  30670. "description": "预申报价格",
  30671. "type": "number"
  30672. },
  30673. "premium": {
  30674. "description": "权利金",
  30675. "type": "number"
  30676. },
  30677. "qtydecimalplace": {
  30678. "description": "商品成交量小数位",
  30679. "type": "integer"
  30680. },
  30681. "refgoodscode": {
  30682. "description": "标的合约代码",
  30683. "type": "string"
  30684. },
  30685. "refgoodsid": {
  30686. "description": "标的合约id",
  30687. "type": "integer"
  30688. },
  30689. "releaseamount": {
  30690. "description": "释放持仓金额",
  30691. "type": "number"
  30692. },
  30693. "releaseholdercredit": {
  30694. "description": "释放持仓授信金额",
  30695. "type": "number"
  30696. },
  30697. "taname": {
  30698. "description": "资金账号名称",
  30699. "type": "string"
  30700. },
  30701. "tradeamount": {
  30702. "description": "成交金额",
  30703. "type": "number"
  30704. },
  30705. "tradedate": {
  30706. "description": "交易日(yyyyMMdd)",
  30707. "type": "string"
  30708. },
  30709. "tradeid": {
  30710. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30711. "type": "string"
  30712. },
  30713. "trademode": {
  30714. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  30715. "type": "integer"
  30716. },
  30717. "tradeproperty": {
  30718. "description": "交易属性",
  30719. "type": "integer"
  30720. },
  30721. "tradetime": {
  30722. "description": "交易时间",
  30723. "type": "string"
  30724. },
  30725. "userid": {
  30726. "description": "用户id",
  30727. "type": "integer"
  30728. },
  30729. "username": {
  30730. "description": "用户名称",
  30731. "type": "string"
  30732. }
  30733. }
  30734. },
  30735. "models.UserCollectConfig": {
  30736. "type": "object",
  30737. "properties": {
  30738. "accountstatus": {
  30739. "description": "账户状态 - 1:正常 2:停用 3:注销",
  30740. "type": "integer"
  30741. },
  30742. "collectaccountname": {
  30743. "description": "收款人账户名称",
  30744. "type": "string"
  30745. },
  30746. "collectaccountno": {
  30747. "description": "收款人账户",
  30748. "type": "string"
  30749. },
  30750. "collectbankname": {
  30751. "description": "收款人开户行",
  30752. "type": "string"
  30753. },
  30754. "collectbranchbankname": {
  30755. "description": "收款人开户支行",
  30756. "type": "string"
  30757. },
  30758. "collectconfigid": {
  30759. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  30760. "type": "string"
  30761. },
  30762. "remark": {
  30763. "description": "备注",
  30764. "type": "string"
  30765. },
  30766. "userid": {
  30767. "description": "收款人用户ID",
  30768. "type": "integer"
  30769. }
  30770. }
  30771. },
  30772. "models.UserReceiveInfo": {
  30773. "type": "object",
  30774. "properties": {
  30775. "address": {
  30776. "description": "提货人详细地址",
  30777. "type": "string"
  30778. },
  30779. "autoid": {
  30780. "description": "AutoID",
  30781. "type": "integer"
  30782. },
  30783. "cardnum": {
  30784. "description": "证件号码(加密存储)",
  30785. "type": "string"
  30786. },
  30787. "cardtypeid": {
  30788. "description": "证件类型",
  30789. "type": "integer"
  30790. },
  30791. "cityid": {
  30792. "description": "市",
  30793. "type": "integer"
  30794. },
  30795. "cityname": {
  30796. "description": "城市名称",
  30797. "type": "string"
  30798. },
  30799. "countryid": {
  30800. "description": "国家",
  30801. "type": "integer"
  30802. },
  30803. "countryname": {
  30804. "description": "国家名称",
  30805. "type": "string"
  30806. },
  30807. "districtid": {
  30808. "description": "地区",
  30809. "type": "integer"
  30810. },
  30811. "districtname": {
  30812. "description": "地区名称",
  30813. "type": "string"
  30814. },
  30815. "hasencrypt": {
  30816. "description": "数据是否已加密 - 0:未加密 1:已加密",
  30817. "type": "integer"
  30818. },
  30819. "isdefault": {
  30820. "description": "是否默认地址 - 0:否 1:是",
  30821. "type": "integer"
  30822. },
  30823. "phonenum": {
  30824. "description": "提货人联系方式(加密存储)",
  30825. "type": "string"
  30826. },
  30827. "provinceid": {
  30828. "description": "省",
  30829. "type": "integer"
  30830. },
  30831. "provincename": {
  30832. "description": "省名称",
  30833. "type": "string"
  30834. },
  30835. "receivername": {
  30836. "description": "提货人姓名",
  30837. "type": "string"
  30838. },
  30839. "takeremark": {
  30840. "description": "提货备注",
  30841. "type": "string"
  30842. },
  30843. "userid": {
  30844. "description": "用户ID",
  30845. "type": "integer"
  30846. }
  30847. }
  30848. },
  30849. "models.Useraccount": {
  30850. "type": "object",
  30851. "required": [
  30852. "userid"
  30853. ],
  30854. "properties": {
  30855. "accountname": {
  30856. "description": "账户名称(机构名称)",
  30857. "type": "string"
  30858. },
  30859. "accountstatus": {
  30860. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30861. "type": "integer"
  30862. },
  30863. "applysrc": {
  30864. "description": "申请来源 - 1:管理端 2:终端",
  30865. "type": "integer"
  30866. },
  30867. "auditremark": {
  30868. "description": "审核备注",
  30869. "type": "string"
  30870. },
  30871. "auditsrc": {
  30872. "description": "审核来源 - 1:管理端 2:终端",
  30873. "type": "integer"
  30874. },
  30875. "audittime": {
  30876. "description": "审核时间",
  30877. "type": "string"
  30878. },
  30879. "audituserid": {
  30880. "description": "审核人",
  30881. "type": "integer"
  30882. },
  30883. "broker": {
  30884. "description": "所属经纪人ID",
  30885. "type": "integer"
  30886. },
  30887. "canceltime": {
  30888. "description": "销户时间",
  30889. "type": "string"
  30890. },
  30891. "canceluserid": {
  30892. "description": "销户人",
  30893. "type": "integer"
  30894. },
  30895. "canrecommend": {
  30896. "description": "是否可推荐 - 0:不可 1;可",
  30897. "type": "integer"
  30898. },
  30899. "createtime": {
  30900. "description": "创建时间",
  30901. "type": "string"
  30902. },
  30903. "creatorid": {
  30904. "description": "创建人",
  30905. "type": "integer"
  30906. },
  30907. "hasauth": {
  30908. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  30909. "type": "integer"
  30910. },
  30911. "isanonymous": {
  30912. "description": "是否匿名下单 - 0:否 1:是",
  30913. "type": "integer"
  30914. },
  30915. "maxinvestornum": {
  30916. "description": "最大用户数(经纪会员下投资者个数)",
  30917. "type": "integer"
  30918. },
  30919. "memberuserid": {
  30920. "description": "所属会员ID",
  30921. "type": "integer"
  30922. },
  30923. "modifierid": {
  30924. "description": "修改人",
  30925. "type": "integer"
  30926. },
  30927. "modifyremark": {
  30928. "description": "变更备注",
  30929. "type": "string"
  30930. },
  30931. "modifystatus": {
  30932. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  30933. "type": "integer"
  30934. },
  30935. "modifytime": {
  30936. "description": "修改时间",
  30937. "type": "string"
  30938. },
  30939. "parenttopuser": {
  30940. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  30941. "type": "string"
  30942. },
  30943. "parentuserid": {
  30944. "description": "所属机构ID",
  30945. "type": "integer"
  30946. },
  30947. "reckonaccountid": {
  30948. "description": "默认结算资金账号ID(机构分润使用) 作废",
  30949. "type": "integer"
  30950. },
  30951. "refercount": {
  30952. "description": "推荐总人数",
  30953. "type": "integer"
  30954. },
  30955. "refereeuserid": {
  30956. "description": "推荐人ID",
  30957. "type": "integer"
  30958. },
  30959. "refernum": {
  30960. "description": "推荐码",
  30961. "type": "string"
  30962. },
  30963. "rootuserid": {
  30964. "description": "根用户ID",
  30965. "type": "integer"
  30966. },
  30967. "subaccountlevel": {
  30968. "description": "子账户层数",
  30969. "type": "integer"
  30970. },
  30971. "subarealevelpath": {
  30972. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  30973. "type": "string"
  30974. },
  30975. "userid": {
  30976. "description": "用户ID",
  30977. "type": "integer"
  30978. },
  30979. "usertype": {
  30980. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30981. "type": "integer"
  30982. }
  30983. }
  30984. },
  30985. "models.Userfavoritegoods": {
  30986. "type": "object",
  30987. "required": [
  30988. "goodsid"
  30989. ],
  30990. "properties": {
  30991. "goodsid": {
  30992. "description": "商品ID",
  30993. "type": "integer"
  30994. }
  30995. }
  30996. },
  30997. "models.Userinfo": {
  30998. "type": "object",
  30999. "required": [
  31000. "userid"
  31001. ],
  31002. "properties": {
  31003. "address": {
  31004. "description": "地址",
  31005. "type": "string"
  31006. },
  31007. "attachment1": {
  31008. "description": "附件1",
  31009. "type": "string"
  31010. },
  31011. "attachment2": {
  31012. "description": "附件2",
  31013. "type": "string"
  31014. },
  31015. "bankaccount": {
  31016. "description": "银行帐号 (加密存储)",
  31017. "type": "string"
  31018. },
  31019. "bankaccountname": {
  31020. "description": "收款人名称",
  31021. "type": "string"
  31022. },
  31023. "bankcardfrontphotourl": {
  31024. "description": "银行卡正面照地址",
  31025. "type": "string"
  31026. },
  31027. "bankid": {
  31028. "description": "银行编码",
  31029. "type": "string"
  31030. },
  31031. "bankname": {
  31032. "description": "银行名称",
  31033. "type": "string"
  31034. },
  31035. "biznature": {
  31036. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  31037. "type": "integer"
  31038. },
  31039. "bizscope": {
  31040. "description": "企业经营范围(企业)",
  31041. "type": "string"
  31042. },
  31043. "cardbackphotourl": {
  31044. "description": "证件背面图片地址",
  31045. "type": "string"
  31046. },
  31047. "cardfrontphotourl": {
  31048. "description": "证件正面图片地址",
  31049. "type": "string"
  31050. },
  31051. "cardnum": {
  31052. "description": "证件号码(加密存储)",
  31053. "type": "string"
  31054. },
  31055. "cardtypeid": {
  31056. "description": "证件类型ID",
  31057. "type": "integer"
  31058. },
  31059. "cityid": {
  31060. "description": "市",
  31061. "type": "integer"
  31062. },
  31063. "company": {
  31064. "description": "公司(个人)",
  31065. "type": "string"
  31066. },
  31067. "contactname": {
  31068. "description": "联系人",
  31069. "type": "string"
  31070. },
  31071. "countryid": {
  31072. "description": "国家",
  31073. "type": "integer"
  31074. },
  31075. "createtime": {
  31076. "description": "创建时间",
  31077. "type": "string"
  31078. },
  31079. "creatorid": {
  31080. "description": "创建人",
  31081. "type": "integer"
  31082. },
  31083. "customername": {
  31084. "description": "客户名称(企业名称)",
  31085. "type": "string"
  31086. },
  31087. "districtid": {
  31088. "description": "地区",
  31089. "type": "integer"
  31090. },
  31091. "email": {
  31092. "description": "邮件(加密存储)",
  31093. "type": "string"
  31094. },
  31095. "fax": {
  31096. "description": "传真(加密存储)",
  31097. "type": "string"
  31098. },
  31099. "halfbodyphotourl": {
  31100. "description": "半身照地址",
  31101. "type": "string"
  31102. },
  31103. "hasencrypt": {
  31104. "description": "数据是否已加密 - 0:未加密 1:已加密",
  31105. "type": "integer"
  31106. },
  31107. "headurl": {
  31108. "description": "头像地址",
  31109. "type": "string"
  31110. },
  31111. "legalcardbackphotourl": {
  31112. "description": "法人身份证背面照地址",
  31113. "type": "string"
  31114. },
  31115. "legalcardfrontphotourl": {
  31116. "description": "法人身份证正面照地址",
  31117. "type": "string"
  31118. },
  31119. "legalpersonname": {
  31120. "description": "法人姓名(企业)",
  31121. "type": "string"
  31122. },
  31123. "mobile": {
  31124. "description": "手机号码(加密存储)",
  31125. "type": "string"
  31126. },
  31127. "mobile2": {
  31128. "description": "手机号码[明文-尚志]",
  31129. "type": "string"
  31130. },
  31131. "modifierid": {
  31132. "description": "修改人",
  31133. "type": "integer"
  31134. },
  31135. "modifiertime": {
  31136. "description": "修改时间",
  31137. "type": "string"
  31138. },
  31139. "needinvoice": {
  31140. "description": "是否需要发票 - 0:不需要 1:需要",
  31141. "type": "integer"
  31142. },
  31143. "nickname": {
  31144. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  31145. "type": "string"
  31146. },
  31147. "openmode": {
  31148. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  31149. "type": "integer"
  31150. },
  31151. "otherurl": {
  31152. "description": "其它图片地址[使用分号分隔]",
  31153. "type": "string"
  31154. },
  31155. "postalcode": {
  31156. "description": "邮政编码",
  31157. "type": "string"
  31158. },
  31159. "provinceid": {
  31160. "description": "省",
  31161. "type": "integer"
  31162. },
  31163. "qq": {
  31164. "description": "QQ(加密存储",
  31165. "type": "string"
  31166. },
  31167. "remark": {
  31168. "description": "备注",
  31169. "type": "string"
  31170. },
  31171. "sex": {
  31172. "description": "用户性别 0: 女 1: 男",
  31173. "type": "integer"
  31174. },
  31175. "signpdfurl": {
  31176. "description": "签约pdf文件",
  31177. "type": "string"
  31178. },
  31179. "telphone": {
  31180. "description": "联系电话(加密存储)",
  31181. "type": "string"
  31182. },
  31183. "userid": {
  31184. "description": "用户ID",
  31185. "type": "integer"
  31186. },
  31187. "userinfotype": {
  31188. "description": "用户信息类型 - 1:个人 2:企业",
  31189. "type": "integer"
  31190. },
  31191. "userstatus": {
  31192. "description": "用户状态 - 1:正常 2:注销",
  31193. "type": "integer"
  31194. },
  31195. "usertype": {
  31196. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  31197. "type": "integer"
  31198. },
  31199. "wechat": {
  31200. "description": "微信(加密存储)",
  31201. "type": "string"
  31202. },
  31203. "wskhinfo": {
  31204. "description": "开户申请信息(JSON)",
  31205. "type": "string"
  31206. }
  31207. }
  31208. },
  31209. "models.WRSConverTDetail": {
  31210. "type": "object",
  31211. "properties": {
  31212. "convertratio": {
  31213. "description": "套保系数",
  31214. "type": "number"
  31215. },
  31216. "deliverygoodscode": {
  31217. "description": "现货商品代码",
  31218. "type": "string"
  31219. },
  31220. "deliverygoodsid": {
  31221. "description": "现货品种ID",
  31222. "type": "integer"
  31223. },
  31224. "deliverygoodsname": {
  31225. "description": "现货商品名称",
  31226. "type": "string"
  31227. },
  31228. "enumdicname": {
  31229. "description": "单位名称",
  31230. "type": "string"
  31231. },
  31232. "goodsunitid": {
  31233. "description": "套保品种单位id",
  31234. "type": "integer"
  31235. },
  31236. "middlegoodscode": {
  31237. "description": "套保品种代码",
  31238. "type": "string"
  31239. },
  31240. "middlegoodsid": {
  31241. "description": "套保品种ID",
  31242. "type": "integer"
  31243. },
  31244. "middlegoodsname": {
  31245. "description": "套保品种名称",
  31246. "type": "string"
  31247. },
  31248. "modifytime": {
  31249. "description": "修改时间",
  31250. "type": "string"
  31251. },
  31252. "wrstandardid": {
  31253. "description": "品类ID",
  31254. "type": "integer"
  31255. }
  31256. }
  31257. },
  31258. "models.WRStandardInfo": {
  31259. "type": "object",
  31260. "required": [
  31261. "wrstandardid"
  31262. ],
  31263. "properties": {
  31264. "areauserid": {
  31265. "description": "所属机构",
  31266. "type": "integer"
  31267. },
  31268. "convertfactor": {
  31269. "description": "标仓系数",
  31270. "type": "number"
  31271. },
  31272. "createtime": {
  31273. "description": "创建时间",
  31274. "type": "string"
  31275. },
  31276. "creatorid": {
  31277. "description": "创建人",
  31278. "type": "integer"
  31279. },
  31280. "deliverygoodsid": {
  31281. "description": "品种ID",
  31282. "type": "integer"
  31283. },
  31284. "deliverygoodsname": {
  31285. "description": "交割商品名称",
  31286. "type": "string"
  31287. },
  31288. "factoryitemjson": {
  31289. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  31290. "type": "string"
  31291. },
  31292. "isvalid": {
  31293. "description": "是否有效 - 0:无效 1:有效",
  31294. "type": "integer"
  31295. },
  31296. "minivalue": {
  31297. "description": "最小变动值",
  31298. "type": "integer"
  31299. },
  31300. "minivaluedp": {
  31301. "description": "最小变动值小数位",
  31302. "type": "integer"
  31303. },
  31304. "realminivalue": {
  31305. "description": "实际最小变动值",
  31306. "type": "integer"
  31307. },
  31308. "realminivaluedp": {
  31309. "description": "实际最小变动值小数位",
  31310. "type": "integer"
  31311. },
  31312. "remark": {
  31313. "description": "备注",
  31314. "type": "string"
  31315. },
  31316. "unitid": {
  31317. "description": "单位ID",
  31318. "type": "integer"
  31319. },
  31320. "unitname": {
  31321. "description": "单位",
  31322. "type": "string"
  31323. },
  31324. "updatetime": {
  31325. "description": "更新时间",
  31326. "type": "string"
  31327. },
  31328. "updatorid": {
  31329. "description": "更新人",
  31330. "type": "integer"
  31331. },
  31332. "wrsstatus": {
  31333. "description": "状态 - 作废 - 0:未激活 1:正常",
  31334. "type": "integer"
  31335. },
  31336. "wrstandardcode": {
  31337. "description": "现货品类代码",
  31338. "type": "string"
  31339. },
  31340. "wrstandardid": {
  31341. "description": "现货品类ID(SEQ_WRSTANDARD)",
  31342. "type": "integer"
  31343. },
  31344. "wrstandardname": {
  31345. "description": "现货品类名称",
  31346. "type": "string"
  31347. }
  31348. }
  31349. },
  31350. "models.WRTradeBargainApply": {
  31351. "type": "object",
  31352. "properties": {
  31353. "accountid": {
  31354. "description": "摘牌资金账号",
  31355. "type": "integer"
  31356. },
  31357. "applyprice": {
  31358. "description": "申请价格(议价价格)",
  31359. "type": "string"
  31360. },
  31361. "applyqty": {
  31362. "description": "摘牌数量(议价数量)",
  31363. "type": "number"
  31364. },
  31365. "applyremark": {
  31366. "description": "申请备注",
  31367. "type": "string"
  31368. },
  31369. "applystatus": {
  31370. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  31371. "type": "integer"
  31372. },
  31373. "applytime": {
  31374. "description": "申请时间(议价时间)",
  31375. "type": "string"
  31376. },
  31377. "buyorsell": {
  31378. "description": "买卖(挂牌类型) - 0:买 1:卖",
  31379. "type": "integer"
  31380. },
  31381. "confirmremark": {
  31382. "description": "确认备注",
  31383. "type": "string"
  31384. },
  31385. "confirmtime": {
  31386. "description": "确认时间",
  31387. "type": "string"
  31388. },
  31389. "confirmuserid": {
  31390. "description": "确认人",
  31391. "type": "integer"
  31392. },
  31393. "deliverygoodscode": {
  31394. "description": "品种代码",
  31395. "type": "string"
  31396. },
  31397. "deliverygoodsid": {
  31398. "description": "品种ID",
  31399. "type": "integer"
  31400. },
  31401. "deliverygoodsname": {
  31402. "description": "品种名称",
  31403. "type": "string"
  31404. },
  31405. "deliverymonth": {
  31406. "description": "交收月",
  31407. "type": "string"
  31408. },
  31409. "enumdicname": {
  31410. "description": "单位名称",
  31411. "type": "string"
  31412. },
  31413. "fixedprice": {
  31414. "description": "挂牌价格",
  31415. "type": "number"
  31416. },
  31417. "handlestatus": {
  31418. "description": "处理状态",
  31419. "type": "integer"
  31420. },
  31421. "marginvalue": {
  31422. "description": "履约保证金比例",
  31423. "type": "number"
  31424. },
  31425. "marketid": {
  31426. "description": "市场ID",
  31427. "type": "integer"
  31428. },
  31429. "matchaccountid": {
  31430. "description": "挂牌方资金账号",
  31431. "type": "integer"
  31432. },
  31433. "matchuserid": {
  31434. "description": "挂牌方用户id",
  31435. "type": "integer"
  31436. },
  31437. "matchusername": {
  31438. "description": "挂牌方用户名称(已脱敏)",
  31439. "type": "string"
  31440. },
  31441. "minivalue": {
  31442. "description": "现货商品最小变动值",
  31443. "type": "integer"
  31444. },
  31445. "optioncompare": {
  31446. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31447. "type": "string"
  31448. },
  31449. "orderqty": {
  31450. "description": "挂牌数量",
  31451. "type": "integer"
  31452. },
  31453. "refprice": {
  31454. "description": "参考价格",
  31455. "type": "string"
  31456. },
  31457. "retcode": {
  31458. "description": "委托返回代码",
  31459. "type": "integer"
  31460. },
  31461. "templatename": {
  31462. "description": "履约方式(履约模板名称)",
  31463. "type": "string"
  31464. },
  31465. "tradedate": {
  31466. "description": "交易日(yyyyMMdd)",
  31467. "type": "string"
  31468. },
  31469. "userid": {
  31470. "description": "摘牌人用户ID(议价人ID)",
  31471. "type": "integer"
  31472. },
  31473. "username": {
  31474. "description": "议价人名字(已脱敏)",
  31475. "type": "string"
  31476. },
  31477. "validtime": {
  31478. "description": "有效期限",
  31479. "type": "string"
  31480. },
  31481. "warehouseid": {
  31482. "description": "仓库ID",
  31483. "type": "integer"
  31484. },
  31485. "warehousename": {
  31486. "description": "仓库名称",
  31487. "type": "string"
  31488. },
  31489. "wrbargainid": {
  31490. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  31491. "type": "string"
  31492. },
  31493. "wrfactortypeid": {
  31494. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31495. "type": "string"
  31496. },
  31497. "wrfactortypename": {
  31498. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31499. "type": "string"
  31500. },
  31501. "wrstandardcode": {
  31502. "description": "现货商品代码",
  31503. "type": "string"
  31504. },
  31505. "wrstandardid": {
  31506. "description": "现货商品ID",
  31507. "type": "integer"
  31508. },
  31509. "wrstandardname": {
  31510. "description": "商品名称",
  31511. "type": "string"
  31512. },
  31513. "wrtradeorderid": {
  31514. "description": "关联委托单ID",
  31515. "type": "string"
  31516. },
  31517. "wrtypename": {
  31518. "description": "商品",
  31519. "type": "string"
  31520. }
  31521. }
  31522. },
  31523. "models.Warehouseinfo": {
  31524. "type": "object",
  31525. "required": [
  31526. "autoid",
  31527. "warehousecode"
  31528. ],
  31529. "properties": {
  31530. "address": {
  31531. "description": "详细地址",
  31532. "type": "string"
  31533. },
  31534. "areauserid": {
  31535. "description": "所属机构",
  31536. "type": "integer"
  31537. },
  31538. "autoid": {
  31539. "description": "自增ID",
  31540. "type": "integer"
  31541. },
  31542. "cityid": {
  31543. "description": "市",
  31544. "type": "integer"
  31545. },
  31546. "contactname": {
  31547. "description": "联系人",
  31548. "type": "string"
  31549. },
  31550. "contactnum": {
  31551. "description": "联系电话",
  31552. "type": "string"
  31553. },
  31554. "countryid": {
  31555. "description": "国家",
  31556. "type": "integer"
  31557. },
  31558. "createtime": {
  31559. "description": "创建时间",
  31560. "type": "string"
  31561. },
  31562. "districtid": {
  31563. "description": "区",
  31564. "type": "integer"
  31565. },
  31566. "hasvideo": {
  31567. "description": "是否有视频 - 0:无 1:有",
  31568. "type": "integer"
  31569. },
  31570. "provinceid": {
  31571. "description": "省",
  31572. "type": "integer"
  31573. },
  31574. "remark": {
  31575. "description": "审核备注",
  31576. "type": "string"
  31577. },
  31578. "videourl": {
  31579. "description": "视频地址",
  31580. "type": "string"
  31581. },
  31582. "warehousecode": {
  31583. "description": "仓库代码",
  31584. "type": "string"
  31585. },
  31586. "warehousename": {
  31587. "description": "仓库名称",
  31588. "type": "string"
  31589. },
  31590. "warehousestatus": {
  31591. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  31592. "type": "integer"
  31593. },
  31594. "warehousetype": {
  31595. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  31596. "type": "integer"
  31597. }
  31598. }
  31599. },
  31600. "models.WrAverageTradePrice": {
  31601. "type": "object",
  31602. "properties": {
  31603. "averageprice": {
  31604. "description": "成交均价",
  31605. "type": "number"
  31606. },
  31607. "tradedate": {
  31608. "description": "交易日yyyymm",
  31609. "type": "string"
  31610. }
  31611. }
  31612. },
  31613. "models.WrBsGoodsInfo": {
  31614. "type": "object",
  31615. "properties": {
  31616. "buyorsell": {
  31617. "description": "买卖方向 0-买 1-卖",
  31618. "type": "integer"
  31619. },
  31620. "goodsid": {
  31621. "description": "交易合约ID",
  31622. "type": "integer"
  31623. },
  31624. "lstitem": {
  31625. "description": "商品信息项",
  31626. "type": "array",
  31627. "items": {
  31628. "$ref": "#/definitions/models.WrTypeItem"
  31629. }
  31630. },
  31631. "lststep": {
  31632. "description": "履约规则",
  31633. "type": "array",
  31634. "items": {
  31635. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  31636. }
  31637. }
  31638. }
  31639. },
  31640. "models.WrBuybackDetail": {
  31641. "type": "object",
  31642. "properties": {
  31643. "buybackamount": {
  31644. "description": "回购金额",
  31645. "type": "number"
  31646. },
  31647. "buybackqty": {
  31648. "description": "回购数量",
  31649. "type": "number"
  31650. },
  31651. "buybackreleasemargin": {
  31652. "description": "回购释放保证金",
  31653. "type": "number"
  31654. },
  31655. "buybacktime": {
  31656. "description": "回购时间",
  31657. "type": "string"
  31658. },
  31659. "errordesc": {
  31660. "description": "错误描述",
  31661. "type": "string"
  31662. },
  31663. "handlestatus": {
  31664. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  31665. "type": "integer"
  31666. },
  31667. "relatedwrid": {
  31668. "description": "关联仓单ID",
  31669. "type": "integer"
  31670. },
  31671. "scfcontractid": {
  31672. "description": "SCF合同ID",
  31673. "type": "string"
  31674. },
  31675. "scfwrbuybackid": {
  31676. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  31677. "type": "integer"
  31678. },
  31679. "tradedate": {
  31680. "description": "交易日(yyyyMMdd)",
  31681. "type": "string"
  31682. }
  31683. }
  31684. },
  31685. "models.WrDeliveryAvalidHoldLB": {
  31686. "type": "object",
  31687. "properties": {
  31688. "accountid": {
  31689. "description": "资金账号",
  31690. "type": "integer"
  31691. },
  31692. "avalidqty": {
  31693. "description": "数量(可点选数量)",
  31694. "type": "number"
  31695. },
  31696. "deliverygoodsid": {
  31697. "description": "品种id",
  31698. "type": "integer"
  31699. },
  31700. "enumdicname": {
  31701. "description": "单位名称",
  31702. "type": "string"
  31703. },
  31704. "goodsid": {
  31705. "description": "x合约商品id",
  31706. "type": "integer"
  31707. },
  31708. "ladingbillid": {
  31709. "description": "提单id",
  31710. "type": "string"
  31711. },
  31712. "pgoodscode": {
  31713. "description": "p商品代码(点价合约)",
  31714. "type": "string"
  31715. },
  31716. "pgoodsid": {
  31717. "description": "p商品id(点价合约)",
  31718. "type": "integer"
  31719. },
  31720. "pgoodsname": {
  31721. "description": "p商品名称(点价合约)",
  31722. "type": "string"
  31723. },
  31724. "pricemove": {
  31725. "description": "升贴水",
  31726. "type": "number"
  31727. },
  31728. "subnum": {
  31729. "description": "提单子id",
  31730. "type": "integer"
  31731. },
  31732. "userid": {
  31733. "description": "用户id",
  31734. "type": "integer"
  31735. },
  31736. "username": {
  31737. "description": "仓单持有人",
  31738. "type": "string"
  31739. },
  31740. "warehousecode": {
  31741. "description": "仓库代码",
  31742. "type": "string"
  31743. },
  31744. "warehouseid": {
  31745. "description": "仓库id",
  31746. "type": "integer"
  31747. },
  31748. "warehousename": {
  31749. "description": "仓库名称",
  31750. "type": "string"
  31751. },
  31752. "wrfactortypeid": {
  31753. "description": "仓单要素id",
  31754. "type": "string"
  31755. },
  31756. "wrstandardcode": {
  31757. "description": "品代码",
  31758. "type": "string"
  31759. },
  31760. "wrstandardid": {
  31761. "description": "品类d",
  31762. "type": "integer"
  31763. },
  31764. "wrstandardname": {
  31765. "description": "品类名称",
  31766. "type": "string"
  31767. },
  31768. "wrtypename": {
  31769. "description": "商品",
  31770. "type": "string"
  31771. },
  31772. "xgoodscode": {
  31773. "description": "x合约代码",
  31774. "type": "string"
  31775. },
  31776. "xgoodsname": {
  31777. "description": "x合约名称",
  31778. "type": "string"
  31779. }
  31780. }
  31781. },
  31782. "models.WrDeliveryDetail": {
  31783. "type": "object",
  31784. "properties": {
  31785. "accountid": {
  31786. "description": "账号ID",
  31787. "type": "integer"
  31788. },
  31789. "averageprice": {
  31790. "description": "交割均价 = 交割金额 / 交割数量",
  31791. "type": "number"
  31792. },
  31793. "buyorsell": {
  31794. "description": "方向 - 0:买 1:卖",
  31795. "type": "integer"
  31796. },
  31797. "deliveryamount": {
  31798. "description": "货款金额(X总货款+P总货款)",
  31799. "type": "number"
  31800. },
  31801. "deliveryid": {
  31802. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  31803. "type": "string"
  31804. },
  31805. "deliveryorderid": {
  31806. "description": "申报单号",
  31807. "type": "string"
  31808. },
  31809. "deliverypricemove": {
  31810. "description": "升贴水(升贴水总额)",
  31811. "type": "number"
  31812. },
  31813. "deliveryqty": {
  31814. "description": "交收数量(点选数量)",
  31815. "type": "number"
  31816. },
  31817. "deliverystatus": {
  31818. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  31819. "type": "integer"
  31820. },
  31821. "deliverytime": {
  31822. "description": "交割时间",
  31823. "type": "string"
  31824. },
  31825. "deliverytotalamount": {
  31826. "description": "交收金额",
  31827. "type": "number"
  31828. },
  31829. "enumdicname": {
  31830. "description": "单位名称",
  31831. "type": "string"
  31832. },
  31833. "matchaccountid": {
  31834. "description": "对手账号ID",
  31835. "type": "integer"
  31836. },
  31837. "matchusername": {
  31838. "description": "对手方名称(仓单持有人)",
  31839. "type": "string"
  31840. },
  31841. "p1goodsremainamount": {
  31842. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31843. "type": "number"
  31844. },
  31845. "pdeliverycloseqty": {
  31846. "description": "p合约平仓数量",
  31847. "type": "number"
  31848. },
  31849. "pdeliveryprice": {
  31850. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  31851. "type": "number"
  31852. },
  31853. "pgoodscode": {
  31854. "description": "商品代码",
  31855. "type": "string"
  31856. },
  31857. "pgoodsid": {
  31858. "description": "p点选合约id",
  31859. "type": "integer"
  31860. },
  31861. "pgoodsname": {
  31862. "description": "商品名称",
  31863. "type": "string"
  31864. },
  31865. "ppricemode": {
  31866. "description": "点价价格方式 - 1:商品价 2:固定值",
  31867. "type": "integer"
  31868. },
  31869. "tradedate": {
  31870. "description": "交易日(yyyymmdd)",
  31871. "type": "string"
  31872. },
  31873. "userid": {
  31874. "description": "用户id",
  31875. "type": "integer"
  31876. },
  31877. "username": {
  31878. "description": "用户名称",
  31879. "type": "string"
  31880. },
  31881. "warehousename": {
  31882. "description": "仓库名称",
  31883. "type": "string"
  31884. },
  31885. "wrfactortypeid": {
  31886. "description": "仓单要素类型ID",
  31887. "type": "string"
  31888. },
  31889. "wrtypename": {
  31890. "description": "商品",
  31891. "type": "string"
  31892. },
  31893. "xdeliverycloseqty": {
  31894. "description": "合约数量",
  31895. "type": "number"
  31896. },
  31897. "xgoodsamount": {
  31898. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  31899. "type": "number"
  31900. },
  31901. "xgoodscode": {
  31902. "description": "商品代码",
  31903. "type": "string"
  31904. },
  31905. "xgoodsid": {
  31906. "description": "x交易合约ID",
  31907. "type": "integer"
  31908. },
  31909. "xgoodsname": {
  31910. "description": "商品名称",
  31911. "type": "string"
  31912. }
  31913. }
  31914. },
  31915. "models.WrFAProductDetail": {
  31916. "type": "object",
  31917. "properties": {
  31918. "accountid": {
  31919. "description": "资金账号",
  31920. "type": "integer"
  31921. },
  31922. "areauserid": {
  31923. "description": "金融机构ID",
  31924. "type": "integer"
  31925. },
  31926. "financingdays": {
  31927. "description": "天数(天)",
  31928. "type": "integer"
  31929. },
  31930. "interestminlen": {
  31931. "description": "最小起息天数",
  31932. "type": "integer"
  31933. },
  31934. "interestrate": {
  31935. "description": "利率",
  31936. "type": "number"
  31937. },
  31938. "interestratemode": {
  31939. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  31940. "type": "integer"
  31941. },
  31942. "interestsettlemode": {
  31943. "description": "结息方式 - 1:按日结息 3:按月结息",
  31944. "type": "integer"
  31945. },
  31946. "interestsettlevalue": {
  31947. "description": "结息方式值",
  31948. "type": "integer"
  31949. },
  31950. "isautoloan": {
  31951. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  31952. "type": "integer"
  31953. },
  31954. "loantag": {
  31955. "description": "放款标识: \"放款快\" 或者为空",
  31956. "type": "string"
  31957. },
  31958. "marginratio": {
  31959. "description": "保证金比率质押率 - [仓单质押]",
  31960. "type": "number"
  31961. },
  31962. "productdetailid": {
  31963. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  31964. "type": "integer"
  31965. },
  31966. "productid": {
  31967. "description": "金融产品ID",
  31968. "type": "integer"
  31969. },
  31970. "productname": {
  31971. "description": "产品名称",
  31972. "type": "string"
  31973. },
  31974. "updatetime": {
  31975. "description": "更新时间",
  31976. "type": "string"
  31977. },
  31978. "username": {
  31979. "description": "融出方",
  31980. "type": "string"
  31981. }
  31982. }
  31983. },
  31984. "models.WrFactorTypeInfo": {
  31985. "type": "object",
  31986. "properties": {
  31987. "deliverygoodscode": {
  31988. "description": "品种代码",
  31989. "type": "string"
  31990. },
  31991. "deliverygoodsname": {
  31992. "description": "品种名称",
  31993. "type": "string"
  31994. },
  31995. "dgfactoryitemid": {
  31996. "description": "选择项id",
  31997. "type": "integer"
  31998. },
  31999. "dgfactoryitemtypeid": {
  32000. "description": "要素选择项ID (1-仓库 2-品牌)",
  32001. "type": "integer"
  32002. },
  32003. "dgfactoryitemvalue": {
  32004. "description": "要素项值",
  32005. "type": "string"
  32006. },
  32007. "itemtypename": {
  32008. "description": "要素项名称",
  32009. "type": "string"
  32010. },
  32011. "optioncompare": {
  32012. "description": "选择比较串",
  32013. "type": "string"
  32014. },
  32015. "warehouseid": {
  32016. "description": "仓库id",
  32017. "type": "integer"
  32018. },
  32019. "wrfactortypeid": {
  32020. "description": "仓单要素ID",
  32021. "type": "string"
  32022. },
  32023. "wrfactortypename": {
  32024. "description": "要素名称",
  32025. "type": "string"
  32026. },
  32027. "wrfactortypename2": {
  32028. "description": "要素名称(不含仓库)",
  32029. "type": "string"
  32030. },
  32031. "wrstandardcode": {
  32032. "description": "品类代码",
  32033. "type": "string"
  32034. },
  32035. "wrstandardid": {
  32036. "description": "品类id",
  32037. "type": "integer"
  32038. },
  32039. "wrstandardname": {
  32040. "description": "品类名称",
  32041. "type": "string"
  32042. }
  32043. }
  32044. },
  32045. "models.WrFilterItem": {
  32046. "type": "object",
  32047. "properties": {
  32048. "itemcode": {
  32049. "description": "代码",
  32050. "type": "string"
  32051. },
  32052. "itemid": {
  32053. "description": "项id",
  32054. "type": "integer"
  32055. },
  32056. "itemname": {
  32057. "description": "名称",
  32058. "type": "string"
  32059. },
  32060. "itemtype": {
  32061. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  32062. "type": "integer"
  32063. }
  32064. }
  32065. },
  32066. "models.WrFinanceBuyApply": {
  32067. "type": "object",
  32068. "properties": {
  32069. "applydate": {
  32070. "description": "申请时间",
  32071. "type": "string"
  32072. },
  32073. "applystatus": {
  32074. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  32075. "type": "integer"
  32076. },
  32077. "applyuserid": {
  32078. "description": "申请人",
  32079. "type": "integer"
  32080. },
  32081. "auditdate": {
  32082. "description": "审核时间",
  32083. "type": "string"
  32084. },
  32085. "auditremark": {
  32086. "description": "审核备注",
  32087. "type": "string"
  32088. },
  32089. "audituserid": {
  32090. "description": "审核人",
  32091. "type": "integer"
  32092. },
  32093. "buyaccountid": {
  32094. "description": "买方资金账号",
  32095. "type": "integer"
  32096. },
  32097. "buyorsell": {
  32098. "description": "买卖 - 0:买 1:卖",
  32099. "type": "integer"
  32100. },
  32101. "buyuserid": {
  32102. "description": "买方用户ID",
  32103. "type": "integer"
  32104. },
  32105. "buyusername": {
  32106. "description": "买方名称",
  32107. "type": "string"
  32108. },
  32109. "buywrtradeorderid": {
  32110. "description": "融资方买委托单ID",
  32111. "type": "string"
  32112. },
  32113. "deliverygoodscode": {
  32114. "description": "品种代码",
  32115. "type": "string"
  32116. },
  32117. "deliverygoodsid": {
  32118. "description": "品种ID",
  32119. "type": "integer"
  32120. },
  32121. "deliverygoodsname": {
  32122. "description": "品种名称",
  32123. "type": "string"
  32124. },
  32125. "deliverymonth": {
  32126. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  32127. "type": "string"
  32128. },
  32129. "enumdicname": {
  32130. "description": "单位名称",
  32131. "type": "string"
  32132. },
  32133. "financeaccountid": {
  32134. "description": "融资方资金帐户ID",
  32135. "type": "integer"
  32136. },
  32137. "financeapplyid": {
  32138. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32139. "type": "string"
  32140. },
  32141. "financeareauserid": {
  32142. "description": "融资方用户ID",
  32143. "type": "string"
  32144. },
  32145. "financename": {
  32146. "description": "融出方名称",
  32147. "type": "string"
  32148. },
  32149. "financetype": {
  32150. "description": "融资类型 1-融资回购",
  32151. "type": "integer"
  32152. },
  32153. "financingdays": {
  32154. "description": "天数(天)",
  32155. "type": "integer"
  32156. },
  32157. "freezebuymargin": {
  32158. "description": "冻结融资保证金(买方)",
  32159. "type": "number"
  32160. },
  32161. "handleremark": {
  32162. "description": "处理备注",
  32163. "type": "string"
  32164. },
  32165. "handlestatus": {
  32166. "description": "处理状态",
  32167. "type": "integer"
  32168. },
  32169. "interestminlen": {
  32170. "description": "最小起息天数",
  32171. "type": "integer"
  32172. },
  32173. "interestrate": {
  32174. "description": "利率",
  32175. "type": "number"
  32176. },
  32177. "interestratemode": {
  32178. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32179. "type": "integer"
  32180. },
  32181. "interestsettlemode": {
  32182. "description": "结息方式 - 1:按日结息 3:按月结息",
  32183. "type": "integer"
  32184. },
  32185. "interestsettlevalue": {
  32186. "description": "结息方式值",
  32187. "type": "integer"
  32188. },
  32189. "isautoloan": {
  32190. "description": "是否自动放款 - 0:手动 1:自动",
  32191. "type": "integer"
  32192. },
  32193. "marginratio": {
  32194. "description": "保证金比率质押率 - [仓单质押]",
  32195. "type": "number"
  32196. },
  32197. "marketid": {
  32198. "description": "市场ID",
  32199. "type": "integer"
  32200. },
  32201. "minivalue": {
  32202. "description": "现货商品最小变动值",
  32203. "type": "integer"
  32204. },
  32205. "optioncompare": {
  32206. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32207. "type": "string"
  32208. },
  32209. "orderqty": {
  32210. "description": "委托数量(商品数量)",
  32211. "type": "number"
  32212. },
  32213. "productdetailid": {
  32214. "description": "产品组合ID",
  32215. "type": "integer"
  32216. },
  32217. "productid": {
  32218. "description": "金融产品ID",
  32219. "type": "integer"
  32220. },
  32221. "productname": {
  32222. "description": "产品名称",
  32223. "type": "string"
  32224. },
  32225. "remark": {
  32226. "description": "备注",
  32227. "type": "string"
  32228. },
  32229. "scfcontractid": {
  32230. "description": "仓单回购合同ID",
  32231. "type": "string"
  32232. },
  32233. "sellaccountid": {
  32234. "description": "卖方资金账号",
  32235. "type": "integer"
  32236. },
  32237. "selluserid": {
  32238. "description": "卖方用户ID",
  32239. "type": "integer"
  32240. },
  32241. "sellwrtradeorderid": {
  32242. "description": "卖方委托单ID",
  32243. "type": "string"
  32244. },
  32245. "tradeamount": {
  32246. "description": "成交金额(借款金额)",
  32247. "type": "number"
  32248. },
  32249. "tradedate": {
  32250. "description": "交易日(yyyyMMdd)",
  32251. "type": "string"
  32252. },
  32253. "tradeprice": {
  32254. "description": "成交价格",
  32255. "type": "number"
  32256. },
  32257. "warehouseid": {
  32258. "description": "仓库ID",
  32259. "type": "integer"
  32260. },
  32261. "warehousename": {
  32262. "description": "仓库名称",
  32263. "type": "string"
  32264. },
  32265. "wrfactortypeid": {
  32266. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32267. "type": "string"
  32268. },
  32269. "wrfactortypename": {
  32270. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32271. "type": "string"
  32272. },
  32273. "wrpricetype": {
  32274. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  32275. "type": "integer"
  32276. },
  32277. "wrstandardcode": {
  32278. "description": "现货商品代码",
  32279. "type": "string"
  32280. },
  32281. "wrstandardid": {
  32282. "description": "现货商品ID",
  32283. "type": "integer"
  32284. },
  32285. "wrstandardname": {
  32286. "description": "商品名称",
  32287. "type": "string"
  32288. },
  32289. "wrtypename": {
  32290. "description": "商品",
  32291. "type": "string"
  32292. }
  32293. }
  32294. },
  32295. "models.WrFriendApply": {
  32296. "type": "object",
  32297. "properties": {
  32298. "applicantid": {
  32299. "description": "申请人",
  32300. "type": "integer"
  32301. },
  32302. "applyname": {
  32303. "description": "申请人名称",
  32304. "type": "string"
  32305. },
  32306. "applysrc": {
  32307. "description": "申请来源 - 1:管理端 2:终端",
  32308. "type": "integer"
  32309. },
  32310. "applystatus": {
  32311. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32312. "type": "integer"
  32313. },
  32314. "applytime": {
  32315. "description": "申请时间",
  32316. "type": "string"
  32317. },
  32318. "auditname": {
  32319. "description": "审核人名称",
  32320. "type": "string"
  32321. },
  32322. "auditorid": {
  32323. "description": "审核人",
  32324. "type": "integer"
  32325. },
  32326. "auditremark": {
  32327. "description": "审核备注",
  32328. "type": "string"
  32329. },
  32330. "auditsrc": {
  32331. "description": "审核来源 - 1:管理端 2:终端",
  32332. "type": "integer"
  32333. },
  32334. "audittime": {
  32335. "description": "审核时间",
  32336. "type": "string"
  32337. },
  32338. "friendapplyid": {
  32339. "description": "申请ID(SEQ_FRIENDAPPLY)",
  32340. "type": "string"
  32341. },
  32342. "friendname": {
  32343. "description": "好友名字(已脱敏)",
  32344. "type": "string"
  32345. },
  32346. "frienduserid": {
  32347. "description": "好友用户ID",
  32348. "type": "string"
  32349. },
  32350. "remark": {
  32351. "description": "备注",
  32352. "type": "string"
  32353. },
  32354. "userid": {
  32355. "description": "申请人用户ID",
  32356. "type": "integer"
  32357. }
  32358. }
  32359. },
  32360. "models.WrFtDeliveryGoods": {
  32361. "type": "object",
  32362. "properties": {
  32363. "deliverygoodscode": {
  32364. "description": "品种代码",
  32365. "type": "string"
  32366. },
  32367. "deliverygoodsid": {
  32368. "description": "品种ID",
  32369. "type": "integer"
  32370. },
  32371. "deliverygoodsname": {
  32372. "description": "品种名称",
  32373. "type": "string"
  32374. },
  32375. "wdlst": {
  32376. "description": "商品列表",
  32377. "type": "array",
  32378. "items": {
  32379. "$ref": "#/definitions/models.WrFtWrstandard"
  32380. }
  32381. }
  32382. }
  32383. },
  32384. "models.WrFtWrstandard": {
  32385. "type": "object",
  32386. "properties": {
  32387. "enumdicname": {
  32388. "description": "单位名称",
  32389. "type": "string"
  32390. },
  32391. "minivalue": {
  32392. "description": "最小变动值",
  32393. "type": "integer"
  32394. },
  32395. "wrstandardcode": {
  32396. "description": "现货商品代码",
  32397. "type": "string"
  32398. },
  32399. "wrstandardid": {
  32400. "description": "现货商品ID",
  32401. "type": "integer"
  32402. },
  32403. "wrstandardname": {
  32404. "description": "商品名称",
  32405. "type": "string"
  32406. }
  32407. }
  32408. },
  32409. "models.WrGoodsInfo": {
  32410. "type": "object",
  32411. "properties": {
  32412. "haswr": {
  32413. "description": "0:仓单预售 1:仓单贸易",
  32414. "type": "integer"
  32415. },
  32416. "lstitem": {
  32417. "description": "商品信息项",
  32418. "type": "array",
  32419. "items": {
  32420. "$ref": "#/definitions/models.WrTypeItem"
  32421. }
  32422. },
  32423. "lststep": {
  32424. "description": "履约规则",
  32425. "type": "array",
  32426. "items": {
  32427. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  32428. }
  32429. },
  32430. "marketid": {
  32431. "description": "市场id",
  32432. "type": "integer"
  32433. }
  32434. }
  32435. },
  32436. "models.WrGoodsPerformanceStep": {
  32437. "type": "object",
  32438. "properties": {
  32439. "autoid": {
  32440. "description": "AutoID",
  32441. "type": "integer"
  32442. },
  32443. "isauto": {
  32444. "description": "是否自动 - 0:不自动 1:自动",
  32445. "type": "integer"
  32446. },
  32447. "remark": {
  32448. "description": "备注",
  32449. "type": "string"
  32450. },
  32451. "stepdate": {
  32452. "description": "天数信息(T+N)",
  32453. "type": "string"
  32454. },
  32455. "stepdays": {
  32456. "description": "距离上一步天数",
  32457. "type": "integer"
  32458. },
  32459. "stepindex": {
  32460. "description": "步骤序号",
  32461. "type": "integer"
  32462. },
  32463. "stepinfo": {
  32464. "description": "步骤信息(步骤名称+步骤值)",
  32465. "type": "string"
  32466. },
  32467. "steptypeid": {
  32468. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  32469. "type": "integer"
  32470. },
  32471. "steptypename": {
  32472. "description": "步骤名称",
  32473. "type": "string"
  32474. },
  32475. "stepvalue": {
  32476. "description": "步骤值",
  32477. "type": "number"
  32478. },
  32479. "templateid": {
  32480. "description": "履约计划模板ID",
  32481. "type": "integer"
  32482. }
  32483. }
  32484. },
  32485. "models.WrHoldLB": {
  32486. "type": "object",
  32487. "properties": {
  32488. "accountid": {
  32489. "description": "持有人帐户ID",
  32490. "type": "integer"
  32491. },
  32492. "createtime": {
  32493. "description": "创建时间(过户时间)",
  32494. "type": "string"
  32495. },
  32496. "deliverygoodscode": {
  32497. "description": "品种代码",
  32498. "type": "string"
  32499. },
  32500. "deliverygoodsid": {
  32501. "description": "品种ID",
  32502. "type": "integer"
  32503. },
  32504. "deliverygoodsname": {
  32505. "description": "品种名称",
  32506. "type": "string"
  32507. },
  32508. "enableqty": {
  32509. "description": "可用数量",
  32510. "type": "number"
  32511. },
  32512. "enumdicname": {
  32513. "description": "单位名称",
  32514. "type": "string"
  32515. },
  32516. "freezerqty": {
  32517. "description": "冻结数量",
  32518. "type": "number"
  32519. },
  32520. "ladingbillid": {
  32521. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  32522. "type": "string"
  32523. },
  32524. "minivalue": {
  32525. "description": "现货商品最小变动值",
  32526. "type": "integer"
  32527. },
  32528. "optioncompare": {
  32529. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32530. "type": "string"
  32531. },
  32532. "parentsubnum": {
  32533. "description": "拆分父子单号",
  32534. "type": "integer"
  32535. },
  32536. "pledgeqty": {
  32537. "description": "质押数量",
  32538. "type": "number"
  32539. },
  32540. "qty": {
  32541. "description": "数量",
  32542. "type": "number"
  32543. },
  32544. "subnum": {
  32545. "description": "提单子单号",
  32546. "type": "integer"
  32547. },
  32548. "tradedate": {
  32549. "description": "交易日(yyyyMMdd)",
  32550. "type": "string"
  32551. },
  32552. "userid": {
  32553. "description": "持有人ID",
  32554. "type": "integer"
  32555. },
  32556. "warehouseid": {
  32557. "description": "仓库ID",
  32558. "type": "integer"
  32559. },
  32560. "warehousename": {
  32561. "description": "仓库名称",
  32562. "type": "string"
  32563. },
  32564. "wrfactortypeid": {
  32565. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32566. "type": "string"
  32567. },
  32568. "wrfactortypename": {
  32569. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32570. "type": "string"
  32571. },
  32572. "wrholdeno": {
  32573. "description": "仓单编号",
  32574. "type": "string"
  32575. },
  32576. "wrid": {
  32577. "description": "仓单变更ID",
  32578. "type": "string"
  32579. },
  32580. "wrstandardcode": {
  32581. "description": "现货商品代码",
  32582. "type": "string"
  32583. },
  32584. "wrstandardid": {
  32585. "description": "现货商品ID",
  32586. "type": "integer"
  32587. },
  32588. "wrstandardname": {
  32589. "description": "商品名称",
  32590. "type": "string"
  32591. },
  32592. "wrtypename": {
  32593. "description": "商品",
  32594. "type": "string"
  32595. }
  32596. }
  32597. },
  32598. "models.WrMarketTradeConfig": {
  32599. "type": "object",
  32600. "properties": {
  32601. "basisdownratio": {
  32602. "description": "浮动价基差下限比例(仓单贸易)",
  32603. "type": "number"
  32604. },
  32605. "basisupratio": {
  32606. "description": "浮动价基差上限比例(仓单贸易)",
  32607. "type": "number"
  32608. },
  32609. "buychargealgorithm": {
  32610. "description": "买方手续费收取方式 1:比率 2:固定",
  32611. "type": "integer"
  32612. },
  32613. "buychargealgorithm2": {
  32614. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  32615. "type": "integer"
  32616. },
  32617. "buychargealgorithmvalue": {
  32618. "description": "买方手续费设置值(交易所部分)",
  32619. "type": "number"
  32620. },
  32621. "buychargealgorithmvalue2": {
  32622. "description": "买方手续费设置值(会员部分)",
  32623. "type": "number"
  32624. },
  32625. "buychargealgorithmvalue3": {
  32626. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  32627. "type": "number"
  32628. },
  32629. "buychargealgorithmvalue4": {
  32630. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  32631. "type": "number"
  32632. },
  32633. "buyfirstmarginalgorithm": {
  32634. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  32635. "type": "integer"
  32636. },
  32637. "buyfirstmarginvalue": {
  32638. "description": "买方出价保证金设置值 - [竞拍]",
  32639. "type": "number"
  32640. },
  32641. "buymarginalgorithm": {
  32642. "description": "买方保证金方式 - 1:比率 2:固定",
  32643. "type": "integer"
  32644. },
  32645. "buymarginvalue": {
  32646. "description": "买方保证金设置值",
  32647. "type": "number"
  32648. },
  32649. "buyreleaseratio": {
  32650. "description": "买方释放比率[2:分步履约]",
  32651. "type": "number"
  32652. },
  32653. "executemode": {
  32654. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  32655. "type": "integer"
  32656. },
  32657. "executeside": {
  32658. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  32659. "type": "integer"
  32660. },
  32661. "failedchargealgorithm": {
  32662. "description": "流拍手续费收取方式 1:比率 2:固定",
  32663. "type": "integer"
  32664. },
  32665. "failedchargevalue": {
  32666. "description": "流拍手续费设置值",
  32667. "type": "number"
  32668. },
  32669. "failedchargevalue2": {
  32670. "description": "流拍卖方手续费设置值",
  32671. "type": "number"
  32672. },
  32673. "holddays": {
  32674. "description": "合同期限[2:分步履约]",
  32675. "type": "integer"
  32676. },
  32677. "marketid": {
  32678. "description": "市场ID-仓单贸易、竞拍、预售",
  32679. "type": "integer"
  32680. },
  32681. "minqty": {
  32682. "description": "最小执行量[2:分步履约]",
  32683. "type": "number"
  32684. },
  32685. "modifierid": {
  32686. "description": "修改人",
  32687. "type": "integer"
  32688. },
  32689. "performancetempid": {
  32690. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  32691. "type": "integer"
  32692. },
  32693. "performancetempid2": {
  32694. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  32695. "type": "integer"
  32696. },
  32697. "performanceway": {
  32698. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  32699. "type": "integer"
  32700. },
  32701. "sellchargealgorithm": {
  32702. "description": "卖方手续费收取方式 1:比率 2:固定",
  32703. "type": "integer"
  32704. },
  32705. "sellchargealgorithm2": {
  32706. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  32707. "type": "integer"
  32708. },
  32709. "sellchargealgorithmvalue": {
  32710. "description": "卖方手续费设置值(交易所部分)",
  32711. "type": "number"
  32712. },
  32713. "sellchargealgorithmvalue2": {
  32714. "description": "卖方手续费设置值(会员部分)",
  32715. "type": "number"
  32716. },
  32717. "sellchargealgorithmvalue3": {
  32718. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  32719. "type": "number"
  32720. },
  32721. "sellchargealgorithmvalue4": {
  32722. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  32723. "type": "number"
  32724. },
  32725. "sellmarginalgorithm": {
  32726. "description": "卖方保证金方式 - 1:比率 2:固定",
  32727. "type": "integer"
  32728. },
  32729. "sellmarginvalue": {
  32730. "description": "卖方保证金设置值",
  32731. "type": "number"
  32732. },
  32733. "sellmarginvalue2": {
  32734. "description": "卖方保证金设置值(无仓单)",
  32735. "type": "number"
  32736. },
  32737. "sellreleaseratio": {
  32738. "description": "卖方释放比率[2:分步履约]",
  32739. "type": "number"
  32740. },
  32741. "updatetime": {
  32742. "description": "更新时间",
  32743. "type": "string"
  32744. }
  32745. }
  32746. },
  32747. "models.WrOrderDetail": {
  32748. "type": "object",
  32749. "properties": {
  32750. "accountid": {
  32751. "description": "交易账号(资金账号)",
  32752. "type": "integer"
  32753. },
  32754. "allfriendsflag": {
  32755. "description": "是否全好友可见 - 0:否 1:是",
  32756. "type": "integer"
  32757. },
  32758. "amount": {
  32759. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  32760. "type": "number"
  32761. },
  32762. "buyorsell": {
  32763. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  32764. "type": "integer"
  32765. },
  32766. "canbargain": {
  32767. "description": "是否可议价 - 0:不可 1:可",
  32768. "type": "integer"
  32769. },
  32770. "cancelqty": {
  32771. "description": "撤销数量",
  32772. "type": "number"
  32773. },
  32774. "canpart": {
  32775. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  32776. "type": "integer"
  32777. },
  32778. "delistminqty": {
  32779. "description": "起摘数量",
  32780. "type": "integer"
  32781. },
  32782. "deliverygoodscode": {
  32783. "description": "品种代码",
  32784. "type": "string"
  32785. },
  32786. "deliverygoodsid": {
  32787. "description": "品种ID",
  32788. "type": "integer"
  32789. },
  32790. "deliverygoodsname": {
  32791. "description": "品种名称",
  32792. "type": "string"
  32793. },
  32794. "deliverymonth": {
  32795. "description": "交收月",
  32796. "type": "string"
  32797. },
  32798. "enumdicname": {
  32799. "description": "单位名称",
  32800. "type": "string"
  32801. },
  32802. "fixedprice": {
  32803. "description": "固定价格 - [挂牌]",
  32804. "type": "number"
  32805. },
  32806. "freezemargin": {
  32807. "description": "冻结保证金(保证金)",
  32808. "type": "number"
  32809. },
  32810. "futupricemove": {
  32811. "description": "期货升贴水",
  32812. "type": "number"
  32813. },
  32814. "futushow": {
  32815. "description": "期货合约/升贴水",
  32816. "type": "string"
  32817. },
  32818. "goodscode": {
  32819. "description": "期货合约",
  32820. "type": "string"
  32821. },
  32822. "goodsid": {
  32823. "description": "期货商品id",
  32824. "type": "integer"
  32825. },
  32826. "goodsname": {
  32827. "description": "商品名称",
  32828. "type": "string"
  32829. },
  32830. "haswr": {
  32831. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  32832. "type": "integer"
  32833. },
  32834. "isspecified": {
  32835. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  32836. "type": "integer"
  32837. },
  32838. "ladingbillid": {
  32839. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  32840. "type": "string"
  32841. },
  32842. "marginvalue": {
  32843. "description": "保证金设置值(履约保证金)",
  32844. "type": "number"
  32845. },
  32846. "marketid": {
  32847. "description": "市场ID",
  32848. "type": "integer"
  32849. },
  32850. "matchusername": {
  32851. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  32852. "type": "string"
  32853. },
  32854. "minivalue": {
  32855. "description": "现货商品最小变动值",
  32856. "type": "integer"
  32857. },
  32858. "optioncompare": {
  32859. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32860. "type": "string"
  32861. },
  32862. "orderqty": {
  32863. "description": "委托数量",
  32864. "type": "number"
  32865. },
  32866. "ordertime": {
  32867. "description": "委托时间(挂牌时间)",
  32868. "type": "string"
  32869. },
  32870. "performancetemplateid": {
  32871. "description": "履约模板id",
  32872. "type": "integer"
  32873. },
  32874. "pricemove": {
  32875. "description": "升贴水(浮动价时填写) - [挂牌]",
  32876. "type": "number"
  32877. },
  32878. "taname": {
  32879. "description": "交易用户名称(资金账号名称)",
  32880. "type": "string"
  32881. },
  32882. "tradedate": {
  32883. "description": "交易日(yyyyMMdd)",
  32884. "type": "string"
  32885. },
  32886. "tradeprice": {
  32887. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  32888. "type": "number"
  32889. },
  32890. "tradeqty": {
  32891. "description": "成交数量",
  32892. "type": "number"
  32893. },
  32894. "userid": {
  32895. "description": "用户ID",
  32896. "type": "integer"
  32897. },
  32898. "validtime": {
  32899. "description": "挂牌有效期",
  32900. "type": "string"
  32901. },
  32902. "warehouseid": {
  32903. "description": "仓库ID",
  32904. "type": "integer"
  32905. },
  32906. "warehousename": {
  32907. "description": "仓库名称",
  32908. "type": "string"
  32909. },
  32910. "wrfactortypeid": {
  32911. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32912. "type": "string"
  32913. },
  32914. "wrfactortypename": {
  32915. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32916. "type": "string"
  32917. },
  32918. "wrpricetype": {
  32919. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  32920. "type": "integer"
  32921. },
  32922. "wrstandardcode": {
  32923. "description": "现货商品代码",
  32924. "type": "string"
  32925. },
  32926. "wrstandardid": {
  32927. "description": "现货商品ID",
  32928. "type": "integer"
  32929. },
  32930. "wrstandardname": {
  32931. "description": "商品名称",
  32932. "type": "string"
  32933. },
  32934. "wrtradeorderid": {
  32935. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32936. "type": "string"
  32937. },
  32938. "wrtradeorderstatus": {
  32939. "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:撤单解冻贷款失败",
  32940. "type": "integer"
  32941. },
  32942. "wrtradetype": {
  32943. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  32944. "type": "integer"
  32945. },
  32946. "wrtypename": {
  32947. "description": "商品",
  32948. "type": "string"
  32949. }
  32950. }
  32951. },
  32952. "models.WrOrderQuote": {
  32953. "type": "object",
  32954. "properties": {
  32955. "buyprice": {
  32956. "description": "买价",
  32957. "type": "number"
  32958. },
  32959. "buypricemove": {
  32960. "description": "买升贴水(基差)",
  32961. "type": "number"
  32962. },
  32963. "buyqty": {
  32964. "description": "买量",
  32965. "type": "number"
  32966. },
  32967. "deliverygoodscode": {
  32968. "description": "品种代码",
  32969. "type": "string"
  32970. },
  32971. "deliverygoodsid": {
  32972. "description": "品种id",
  32973. "type": "integer"
  32974. },
  32975. "deliverygoodsname": {
  32976. "description": "品种名称",
  32977. "type": "string"
  32978. },
  32979. "deliverymonth": {
  32980. "description": "交收月",
  32981. "type": "string"
  32982. },
  32983. "enumdicname": {
  32984. "description": "单位名称",
  32985. "type": "string"
  32986. },
  32987. "goodscode": {
  32988. "description": "商品合约(浮动价列表才有)",
  32989. "type": "string"
  32990. },
  32991. "goodsid": {
  32992. "description": "商品id(浮动价列表才有)",
  32993. "type": "integer"
  32994. },
  32995. "minivalue": {
  32996. "description": "现货商品最小变动值",
  32997. "type": "integer"
  32998. },
  32999. "sellprice": {
  33000. "description": "卖价",
  33001. "type": "number"
  33002. },
  33003. "sellpricemove": {
  33004. "description": "卖升贴水(基差)",
  33005. "type": "number"
  33006. },
  33007. "sellqty": {
  33008. "description": "卖量",
  33009. "type": "number"
  33010. },
  33011. "warehousecode": {
  33012. "description": "仓库代码",
  33013. "type": "string"
  33014. },
  33015. "warehouseid": {
  33016. "description": "仓库id",
  33017. "type": "integer"
  33018. },
  33019. "warehousename": {
  33020. "description": "仓库名称",
  33021. "type": "string"
  33022. },
  33023. "wrfactortypeid": {
  33024. "description": "仓单要素id",
  33025. "type": "string"
  33026. },
  33027. "wrfactortypename": {
  33028. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33029. "type": "string"
  33030. },
  33031. "wrgoodsname": {
  33032. "description": "商品(商品名称+仓库要素名称 拼接)",
  33033. "type": "string"
  33034. },
  33035. "wrstandardcode": {
  33036. "description": "商品代码",
  33037. "type": "string"
  33038. },
  33039. "wrstandardid": {
  33040. "description": "商品id",
  33041. "type": "integer"
  33042. },
  33043. "wrstandardname": {
  33044. "description": "商品名称",
  33045. "type": "string"
  33046. }
  33047. }
  33048. },
  33049. "models.WrOrderQuoteDetail": {
  33050. "type": "object",
  33051. "properties": {
  33052. "buyorsell": {
  33053. "description": "买卖 - 0:买 1:卖",
  33054. "type": "integer"
  33055. },
  33056. "delistminqty": {
  33057. "description": "起摘数量",
  33058. "type": "number"
  33059. },
  33060. "deliverymonth": {
  33061. "description": "交收月",
  33062. "type": "string"
  33063. },
  33064. "enumdicname": {
  33065. "description": "单位名称",
  33066. "type": "string"
  33067. },
  33068. "fixedprice": {
  33069. "description": "买(卖)价",
  33070. "type": "number"
  33071. },
  33072. "minivalue": {
  33073. "description": "现货商品最小变动值",
  33074. "type": "integer"
  33075. },
  33076. "orderqty": {
  33077. "description": "买(卖)量(=委托量-成交量)",
  33078. "type": "number"
  33079. },
  33080. "ordertime": {
  33081. "description": "委托时间",
  33082. "type": "string"
  33083. },
  33084. "pricemove": {
  33085. "description": "买(卖)升贴水- 基差",
  33086. "type": "number"
  33087. },
  33088. "userid": {
  33089. "description": "购买方(销售方)用户ID",
  33090. "type": "integer"
  33091. },
  33092. "username": {
  33093. "description": "购买方(销售方)",
  33094. "type": "string"
  33095. },
  33096. "wrtradeorderid": {
  33097. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33098. "type": "string"
  33099. }
  33100. }
  33101. },
  33102. "models.WrOutInApply": {
  33103. "type": "object",
  33104. "properties": {
  33105. "applyid": {
  33106. "description": "申请单id",
  33107. "type": "string"
  33108. },
  33109. "applystatus": {
  33110. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  33111. "type": "integer"
  33112. },
  33113. "applytime": {
  33114. "description": "申请时间",
  33115. "type": "string"
  33116. },
  33117. "applytype": {
  33118. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  33119. "type": "integer"
  33120. },
  33121. "deliverygoodscode": {
  33122. "description": "品种代码",
  33123. "type": "string"
  33124. },
  33125. "deliverygoodsid": {
  33126. "description": "品种ID",
  33127. "type": "integer"
  33128. },
  33129. "deliverygoodsname": {
  33130. "description": "品种名称",
  33131. "type": "string"
  33132. },
  33133. "enumdicname": {
  33134. "description": "单位名称",
  33135. "type": "string"
  33136. },
  33137. "expresscompany": {
  33138. "description": "物流公司",
  33139. "type": "string"
  33140. },
  33141. "expressnum": {
  33142. "description": "物流单号",
  33143. "type": "string"
  33144. },
  33145. "minivalue": {
  33146. "description": "现货商品最小变动值",
  33147. "type": "integer"
  33148. },
  33149. "optioncompare": {
  33150. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33151. "type": "string"
  33152. },
  33153. "qty": {
  33154. "description": "数量",
  33155. "type": "integer"
  33156. },
  33157. "userid": {
  33158. "description": "用户id",
  33159. "type": "integer"
  33160. },
  33161. "warehouseid": {
  33162. "description": "仓库ID",
  33163. "type": "integer"
  33164. },
  33165. "warehousename": {
  33166. "description": "仓库名称",
  33167. "type": "string"
  33168. },
  33169. "wrfactortypeid": {
  33170. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33171. "type": "string"
  33172. },
  33173. "wrfactortypename": {
  33174. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33175. "type": "string"
  33176. },
  33177. "wrstandardcode": {
  33178. "description": "现货商品代码",
  33179. "type": "string"
  33180. },
  33181. "wrstandardid": {
  33182. "description": "现货商品ID",
  33183. "type": "integer"
  33184. },
  33185. "wrstandardname": {
  33186. "description": "商品名称",
  33187. "type": "string"
  33188. },
  33189. "wrtypename": {
  33190. "description": "商品",
  33191. "type": "string"
  33192. }
  33193. }
  33194. },
  33195. "models.WrPerformancePlan": {
  33196. "type": "object",
  33197. "required": [
  33198. "userid"
  33199. ],
  33200. "properties": {
  33201. "activatemonth": {
  33202. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  33203. "type": "string"
  33204. },
  33205. "amount": {
  33206. "description": "履约金额(总金额)",
  33207. "type": "number"
  33208. },
  33209. "buyaccountid": {
  33210. "description": "买方账号",
  33211. "type": "integer"
  33212. },
  33213. "buyerfreezeamount": {
  33214. "description": "履约冻结(买履约)",
  33215. "type": "number"
  33216. },
  33217. "buyerfreezeamountremain": {
  33218. "description": "履约冻结剩余(买履约)",
  33219. "type": "number"
  33220. },
  33221. "buyorsell": {
  33222. "description": "买卖方向 0-买 1-卖",
  33223. "type": "integer"
  33224. },
  33225. "buypaidamount": {
  33226. "description": "买方已冻/已扣金额 (已付金额)",
  33227. "type": "number"
  33228. },
  33229. "buyusername": {
  33230. "description": "买方名字",
  33231. "type": "string"
  33232. },
  33233. "contractid": {
  33234. "description": "合同ID",
  33235. "type": "integer"
  33236. },
  33237. "createtime": {
  33238. "description": "创建时间",
  33239. "type": "string"
  33240. },
  33241. "creatorid": {
  33242. "description": "创建人",
  33243. "type": "integer"
  33244. },
  33245. "curstepdeadline": {
  33246. "description": "当前步骤到期时间",
  33247. "type": "string"
  33248. },
  33249. "curstepid": {
  33250. "description": "当前步骤ID",
  33251. "type": "string"
  33252. },
  33253. "curstepname": {
  33254. "description": "当前步骤名称",
  33255. "type": "string"
  33256. },
  33257. "deliverygoodscode": {
  33258. "description": "品种代码",
  33259. "type": "string"
  33260. },
  33261. "deliverygoodsid": {
  33262. "description": "品种ID",
  33263. "type": "integer"
  33264. },
  33265. "deliverygoodsname": {
  33266. "description": "品种名称",
  33267. "type": "string"
  33268. },
  33269. "enumdicname": {
  33270. "description": "单位名称",
  33271. "type": "string"
  33272. },
  33273. "expressfee": {
  33274. "description": "运费",
  33275. "type": "number"
  33276. },
  33277. "expressfeeconfirmed": {
  33278. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  33279. "type": "integer"
  33280. },
  33281. "hasovershort": {
  33282. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  33283. "type": "integer"
  33284. },
  33285. "haswr": {
  33286. "description": "类型 0-仓单预售 1-仓单贸易",
  33287. "type": "integer"
  33288. },
  33289. "marketid": {
  33290. "description": "市场ID",
  33291. "type": "integer"
  33292. },
  33293. "middleaccountid": {
  33294. "description": "中间商资金账号ID",
  33295. "type": "integer"
  33296. },
  33297. "middleuserid": {
  33298. "description": "中间商用户ID",
  33299. "type": "integer"
  33300. },
  33301. "minivalue": {
  33302. "description": "现货商品最小变动值",
  33303. "type": "integer"
  33304. },
  33305. "optioncompare": {
  33306. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33307. "type": "string"
  33308. },
  33309. "overshortamount": {
  33310. "description": "溢短金额",
  33311. "type": "number"
  33312. },
  33313. "overshortqty": {
  33314. "description": "溢短数量",
  33315. "type": "number"
  33316. },
  33317. "paymenttype": {
  33318. "description": "付款方式 - 1:冻结 2:扣款",
  33319. "type": "integer"
  33320. },
  33321. "performanceplanid": {
  33322. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  33323. "type": "string"
  33324. },
  33325. "performancestatus": {
  33326. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  33327. "type": "integer"
  33328. },
  33329. "performancetype": {
  33330. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  33331. "type": "integer"
  33332. },
  33333. "qty": {
  33334. "description": "履约数量",
  33335. "type": "number"
  33336. },
  33337. "relatedorderid": {
  33338. "description": "关联单号(履约类型的关联单号)",
  33339. "type": "string"
  33340. },
  33341. "remark": {
  33342. "description": "备注",
  33343. "type": "string"
  33344. },
  33345. "sellaccountid": {
  33346. "description": "卖方账号",
  33347. "type": "integer"
  33348. },
  33349. "sellerfreezeamount": {
  33350. "description": "履约冻结(卖履约)",
  33351. "type": "number"
  33352. },
  33353. "sellerfreezeamountremain": {
  33354. "description": "履约冻结剩余(卖履约)",
  33355. "type": "number"
  33356. },
  33357. "sellreceivedamount": {
  33358. "description": "卖方已收金额",
  33359. "type": "number"
  33360. },
  33361. "sellusername": {
  33362. "description": "卖方名字",
  33363. "type": "string"
  33364. },
  33365. "shipremark": {
  33366. "description": "发货备注[物流单号]",
  33367. "type": "string"
  33368. },
  33369. "starttime": {
  33370. "description": "开始时间",
  33371. "type": "string"
  33372. },
  33373. "steptypeid": {
  33374. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33375. "type": "integer"
  33376. },
  33377. "typename": {
  33378. "description": "履约类型 名称",
  33379. "type": "string"
  33380. },
  33381. "unpaidamount": {
  33382. "description": "剩余款(待支付金额)",
  33383. "type": "number"
  33384. },
  33385. "userid": {
  33386. "description": "用户id",
  33387. "type": "integer"
  33388. },
  33389. "warehouseid": {
  33390. "description": "仓库ID",
  33391. "type": "integer"
  33392. },
  33393. "warehousename": {
  33394. "description": "仓库名称",
  33395. "type": "string"
  33396. },
  33397. "wrfactortypeid": {
  33398. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33399. "type": "string"
  33400. },
  33401. "wrfactortypename": {
  33402. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33403. "type": "string"
  33404. },
  33405. "wrstandardcode": {
  33406. "description": "现货商品代码",
  33407. "type": "string"
  33408. },
  33409. "wrstandardid": {
  33410. "description": "现货商品ID",
  33411. "type": "integer"
  33412. },
  33413. "wrstandardname": {
  33414. "description": "商品名称",
  33415. "type": "string"
  33416. },
  33417. "wrtransferuserid": {
  33418. "description": "仓单受让用户",
  33419. "type": "integer"
  33420. },
  33421. "wrtypename": {
  33422. "description": "商品",
  33423. "type": "string"
  33424. }
  33425. }
  33426. },
  33427. "models.WrPerformancePlanStep": {
  33428. "type": "object",
  33429. "properties": {
  33430. "delaydays": {
  33431. "description": "延期申请天数",
  33432. "type": "integer"
  33433. },
  33434. "deliverygoodscode": {
  33435. "description": "品种代码",
  33436. "type": "string"
  33437. },
  33438. "deliverygoodsid": {
  33439. "description": "品种ID",
  33440. "type": "integer"
  33441. },
  33442. "deliverygoodsname": {
  33443. "description": "品种名称",
  33444. "type": "string"
  33445. },
  33446. "endtime": {
  33447. "description": "结束日期",
  33448. "type": "string"
  33449. },
  33450. "enumdicname": {
  33451. "description": "单位名称",
  33452. "type": "string"
  33453. },
  33454. "executeside": {
  33455. "description": "步骤执行方 - 1:买方 2:卖方",
  33456. "type": "integer"
  33457. },
  33458. "handlestatus": {
  33459. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  33460. "type": "integer"
  33461. },
  33462. "isauto": {
  33463. "description": "是否自动 - 0:不自动 1:自动",
  33464. "type": "integer"
  33465. },
  33466. "islastreceivestep": {
  33467. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  33468. "type": "integer"
  33469. },
  33470. "minivalue": {
  33471. "description": "现货商品最小变动值",
  33472. "type": "integer"
  33473. },
  33474. "optioncompare": {
  33475. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33476. "type": "string"
  33477. },
  33478. "overdays": {
  33479. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  33480. "type": "integer"
  33481. },
  33482. "performancestepid": {
  33483. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  33484. "type": "string"
  33485. },
  33486. "planid": {
  33487. "description": "所属履约计划ID",
  33488. "type": "string"
  33489. },
  33490. "realamount": {
  33491. "description": "实际完成金额",
  33492. "type": "number"
  33493. },
  33494. "relatedorderid": {
  33495. "description": "关联单号",
  33496. "type": "string"
  33497. },
  33498. "remaindays": {
  33499. "description": "剩余天数",
  33500. "type": "integer"
  33501. },
  33502. "remark": {
  33503. "description": "错误备注",
  33504. "type": "string"
  33505. },
  33506. "starttime": {
  33507. "description": "开始日期",
  33508. "type": "string"
  33509. },
  33510. "stepamount": {
  33511. "description": "步骤金额",
  33512. "type": "number"
  33513. },
  33514. "stepdays": {
  33515. "description": "距离上一步天数(分钟)",
  33516. "type": "integer"
  33517. },
  33518. "stepindex": {
  33519. "description": "步骤序号",
  33520. "type": "integer"
  33521. },
  33522. "steplanchtype": {
  33523. "description": "步骤启动类型 - 1:系统自动 2:手动",
  33524. "type": "integer"
  33525. },
  33526. "stepremark": {
  33527. "description": "步骤备注",
  33528. "type": "string"
  33529. },
  33530. "stepstatus": {
  33531. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  33532. "type": "integer"
  33533. },
  33534. "steptypeid": {
  33535. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33536. "type": "integer"
  33537. },
  33538. "steptypename": {
  33539. "description": "步骤名称",
  33540. "type": "string"
  33541. },
  33542. "stepvalue": {
  33543. "description": "步骤值",
  33544. "type": "number"
  33545. },
  33546. "warehouseid": {
  33547. "description": "仓库ID",
  33548. "type": "integer"
  33549. },
  33550. "warehousename": {
  33551. "description": "仓库名称",
  33552. "type": "string"
  33553. },
  33554. "wrfactortypeid": {
  33555. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33556. "type": "string"
  33557. },
  33558. "wrfactortypename": {
  33559. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33560. "type": "string"
  33561. },
  33562. "wrstandardcode": {
  33563. "description": "现货商品代码",
  33564. "type": "string"
  33565. },
  33566. "wrstandardid": {
  33567. "description": "现货商品ID",
  33568. "type": "integer"
  33569. },
  33570. "wrstandardname": {
  33571. "description": "商品名称",
  33572. "type": "string"
  33573. },
  33574. "wrtypename": {
  33575. "description": "商品",
  33576. "type": "string"
  33577. }
  33578. }
  33579. },
  33580. "models.WrPerformanceStepType": {
  33581. "type": "object",
  33582. "properties": {
  33583. "canauto": {
  33584. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  33585. "type": "integer"
  33586. },
  33587. "steptypeid": {
  33588. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  33589. "type": "integer"
  33590. },
  33591. "steptypename": {
  33592. "description": "步骤类型名称",
  33593. "type": "string"
  33594. }
  33595. }
  33596. },
  33597. "models.WrPerformanceTemplateEx": {
  33598. "type": "object",
  33599. "properties": {
  33600. "autoid": {
  33601. "description": "AutoID 模板id",
  33602. "type": "integer"
  33603. },
  33604. "createtime": {
  33605. "description": "创建时间",
  33606. "type": "string"
  33607. },
  33608. "creatorid": {
  33609. "description": "创建人",
  33610. "type": "integer"
  33611. },
  33612. "lstStep": {
  33613. "description": "步骤信息列表",
  33614. "type": "array",
  33615. "items": {
  33616. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33617. }
  33618. },
  33619. "paymenttype": {
  33620. "description": "支付方式 - 1:冻结 2:扣款",
  33621. "type": "integer"
  33622. },
  33623. "takemode": {
  33624. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  33625. "type": "integer"
  33626. },
  33627. "templatename": {
  33628. "description": "模板名称",
  33629. "type": "string"
  33630. },
  33631. "templatetype": {
  33632. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  33633. "type": "integer"
  33634. },
  33635. "userid": {
  33636. "description": "所属用户",
  33637. "type": "integer"
  33638. }
  33639. }
  33640. },
  33641. "models.WrPosition": {
  33642. "type": "object",
  33643. "properties": {
  33644. "accountid": {
  33645. "description": "帐户ID",
  33646. "type": "integer"
  33647. },
  33648. "buyexcuteqty": {
  33649. "description": "采购履约中数量",
  33650. "type": "number"
  33651. },
  33652. "creditcurqty": {
  33653. "description": "授信当前数量(预售仓单:预售当前量)",
  33654. "type": "number"
  33655. },
  33656. "creditenableqty": {
  33657. "description": "授信可用数量(预售仓单: 可用数量)",
  33658. "type": "number"
  33659. },
  33660. "creditfreezeqty": {
  33661. "description": "授信冻结数量(预售仓单: 当前数量)",
  33662. "type": "number"
  33663. },
  33664. "credittotalqty": {
  33665. "description": "授信总数量(预售仓单:预售总量)",
  33666. "type": "number"
  33667. },
  33668. "credittradeqty": {
  33669. "description": "授信成交数量(预售仓单:成交总量)",
  33670. "type": "number"
  33671. },
  33672. "deliverygoodscode": {
  33673. "description": "品种代码",
  33674. "type": "string"
  33675. },
  33676. "deliverygoodsid": {
  33677. "description": "品种ID",
  33678. "type": "integer"
  33679. },
  33680. "deliverygoodsname": {
  33681. "description": "品种名称",
  33682. "type": "string"
  33683. },
  33684. "enalbeqty": {
  33685. "description": "可用数量",
  33686. "type": "number"
  33687. },
  33688. "enumdicname": {
  33689. "description": "单位名称",
  33690. "type": "string"
  33691. },
  33692. "freezeqty": {
  33693. "description": "总冻结数量",
  33694. "type": "number"
  33695. },
  33696. "haswr": {
  33697. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  33698. "type": "integer"
  33699. },
  33700. "minivalue": {
  33701. "description": "现货商品最小变动值",
  33702. "type": "integer"
  33703. },
  33704. "modifytime": {
  33705. "description": "修改时间(过户时间)",
  33706. "type": "string"
  33707. },
  33708. "optioncompare": {
  33709. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33710. "type": "string"
  33711. },
  33712. "pledgeqty": {
  33713. "description": "质押数量",
  33714. "type": "number"
  33715. },
  33716. "querytype": {
  33717. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  33718. "type": "integer"
  33719. },
  33720. "sellexcuteqty": {
  33721. "description": "销售履约中数量",
  33722. "type": "number"
  33723. },
  33724. "totalqty": {
  33725. "description": "总数量(库存数量)",
  33726. "type": "number"
  33727. },
  33728. "warehouseid": {
  33729. "description": "仓库ID",
  33730. "type": "integer"
  33731. },
  33732. "warehousename": {
  33733. "description": "仓库名称",
  33734. "type": "string"
  33735. },
  33736. "wrfactortypeid": {
  33737. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33738. "type": "string"
  33739. },
  33740. "wrfactortypename": {
  33741. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33742. "type": "string"
  33743. },
  33744. "wrpositionid": {
  33745. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  33746. "type": "string"
  33747. },
  33748. "wrpositionno": {
  33749. "description": "仓单编号",
  33750. "type": "string"
  33751. },
  33752. "wrstandardcode": {
  33753. "description": "现货商品代码",
  33754. "type": "string"
  33755. },
  33756. "wrstandardid": {
  33757. "description": "现货商品ID",
  33758. "type": "integer"
  33759. },
  33760. "wrstandardname": {
  33761. "description": "商品名称",
  33762. "type": "string"
  33763. },
  33764. "wrtypename": {
  33765. "description": "商品",
  33766. "type": "string"
  33767. },
  33768. "wruserid": {
  33769. "description": "持有人ID",
  33770. "type": "integer"
  33771. }
  33772. }
  33773. },
  33774. "models.WrQuoteOrderMyq": {
  33775. "type": "object",
  33776. "properties": {
  33777. "buyorsell": {
  33778. "description": "买卖 - 0:买 1:卖",
  33779. "type": "integer"
  33780. },
  33781. "canbargain": {
  33782. "description": "是否可议价 - 0:不可 1:可",
  33783. "type": "integer"
  33784. },
  33785. "canpart": {
  33786. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  33787. "type": "integer"
  33788. },
  33789. "delistminqty": {
  33790. "description": "起摘数量",
  33791. "type": "number"
  33792. },
  33793. "deliverygoodscode": {
  33794. "description": "品种代码",
  33795. "type": "string"
  33796. },
  33797. "deliverygoodsid": {
  33798. "description": "品种ID",
  33799. "type": "integer"
  33800. },
  33801. "deliverygoodsname": {
  33802. "description": "品种名称",
  33803. "type": "string"
  33804. },
  33805. "deliverymonth": {
  33806. "description": "交收月",
  33807. "type": "string"
  33808. },
  33809. "enumdicname": {
  33810. "description": "单位名称",
  33811. "type": "string"
  33812. },
  33813. "fixedprice": {
  33814. "description": "买(卖)价",
  33815. "type": "number"
  33816. },
  33817. "goodscode": {
  33818. "description": "商品合约代码",
  33819. "type": "string"
  33820. },
  33821. "marginflag": {
  33822. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  33823. "type": "integer"
  33824. },
  33825. "marginvalue": {
  33826. "description": "保证金设置值",
  33827. "type": "number"
  33828. },
  33829. "minivalue": {
  33830. "description": "现货商品最小变动值",
  33831. "type": "integer"
  33832. },
  33833. "orderqty": {
  33834. "description": "买(卖)量(=委托量-成交量)",
  33835. "type": "number"
  33836. },
  33837. "ordertime": {
  33838. "description": "委托时间",
  33839. "type": "string"
  33840. },
  33841. "performancetemplateid": {
  33842. "description": "履约模板id",
  33843. "type": "integer"
  33844. },
  33845. "pricemove": {
  33846. "description": "买(卖)升贴水- 基差",
  33847. "type": "number"
  33848. },
  33849. "templatename": {
  33850. "description": "履约模板名称",
  33851. "type": "string"
  33852. },
  33853. "userid": {
  33854. "description": "购买方(销售方)用户ID",
  33855. "type": "integer"
  33856. },
  33857. "username": {
  33858. "description": "购买方(销售方)",
  33859. "type": "string"
  33860. },
  33861. "validtime": {
  33862. "description": "有效期限",
  33863. "type": "string"
  33864. },
  33865. "validtype": {
  33866. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  33867. "type": "integer"
  33868. },
  33869. "warehousename": {
  33870. "description": "仓库名称",
  33871. "type": "string"
  33872. },
  33873. "wrfactortypeid": {
  33874. "description": "仓单要素id",
  33875. "type": "string"
  33876. },
  33877. "wrstandardcode": {
  33878. "description": "现货商品代码",
  33879. "type": "string"
  33880. },
  33881. "wrstandardid": {
  33882. "description": "现货商品ID",
  33883. "type": "integer"
  33884. },
  33885. "wrstandardname": {
  33886. "description": "商品名称",
  33887. "type": "string"
  33888. },
  33889. "wrtradeorderid": {
  33890. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33891. "type": "string"
  33892. },
  33893. "wrtypename": {
  33894. "description": "商品",
  33895. "type": "string"
  33896. }
  33897. }
  33898. },
  33899. "models.WrScfContract": {
  33900. "type": "object",
  33901. "properties": {
  33902. "borroweruserid": {
  33903. "description": "借款用户ID",
  33904. "type": "integer"
  33905. },
  33906. "buybackwrpositionqty": {
  33907. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  33908. "type": "number"
  33909. },
  33910. "closeinterest": {
  33911. "description": "已结利息 -\u003e 已结费用",
  33912. "type": "number"
  33913. },
  33914. "currisklevel": {
  33915. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33916. "type": "integer"
  33917. },
  33918. "deadline": {
  33919. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  33920. "type": "string"
  33921. },
  33922. "deliverygoodscode": {
  33923. "description": "品种代码",
  33924. "type": "string"
  33925. },
  33926. "deliverygoodsid": {
  33927. "description": "品种ID",
  33928. "type": "integer"
  33929. },
  33930. "deliverygoodsname": {
  33931. "description": "品种名称",
  33932. "type": "string"
  33933. },
  33934. "enumdicname": {
  33935. "description": "单位名称",
  33936. "type": "string"
  33937. },
  33938. "financingdays": {
  33939. "description": "天数(天)",
  33940. "type": "integer"
  33941. },
  33942. "initmargin": {
  33943. "description": "保证金 - [仓单回购]",
  33944. "type": "number"
  33945. },
  33946. "interestamount": {
  33947. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  33948. "type": "number"
  33949. },
  33950. "interestdebt": {
  33951. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  33952. "type": "number"
  33953. },
  33954. "interestminlen": {
  33955. "description": "最小起息天数",
  33956. "type": "integer"
  33957. },
  33958. "interestrate": {
  33959. "description": "利率",
  33960. "type": "number"
  33961. },
  33962. "interestratemode": {
  33963. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33964. "type": "integer"
  33965. },
  33966. "interestsettlemode": {
  33967. "description": "结息方式 - 1:按日结息 3:按月结息",
  33968. "type": "integer"
  33969. },
  33970. "interestsettlevalue": {
  33971. "description": "结息方式值",
  33972. "type": "integer"
  33973. },
  33974. "isautoloan": {
  33975. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  33976. "type": "integer"
  33977. },
  33978. "lastcloseinterestday": {
  33979. "description": "最近结息日(yyyyMMdd)",
  33980. "type": "string"
  33981. },
  33982. "lenderamount": {
  33983. "description": "贷款金额 -\u003e 借款金额",
  33984. "type": "number"
  33985. },
  33986. "lenderuserid": {
  33987. "description": "贷款方用户ID -\u003e 融出方用户ID",
  33988. "type": "integer"
  33989. },
  33990. "lenderusername": {
  33991. "description": "融出方",
  33992. "type": "string"
  33993. },
  33994. "marginratio": {
  33995. "description": "保证金比率质押率 - [仓单质押]",
  33996. "type": "number"
  33997. },
  33998. "marketid": {
  33999. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  34000. "type": "integer"
  34001. },
  34002. "minivalue": {
  34003. "description": "现货商品最小变动值",
  34004. "type": "integer"
  34005. },
  34006. "optioncompare": {
  34007. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34008. "type": "string"
  34009. },
  34010. "pricemove": {
  34011. "description": "估值升贴水值",
  34012. "type": "number"
  34013. },
  34014. "productdetailid": {
  34015. "description": "产品组合ID",
  34016. "type": "integer"
  34017. },
  34018. "productid": {
  34019. "description": "金融产品ID",
  34020. "type": "integer"
  34021. },
  34022. "productname": {
  34023. "description": "产品名称",
  34024. "type": "string"
  34025. },
  34026. "remainamount": {
  34027. "description": "合同剩余金额 -\u003e 剩余金额",
  34028. "type": "number"
  34029. },
  34030. "remainwrpositionqty": {
  34031. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  34032. "type": "number"
  34033. },
  34034. "remark": {
  34035. "description": "备注",
  34036. "type": "string"
  34037. },
  34038. "scfcontractid": {
  34039. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34040. "type": "string"
  34041. },
  34042. "scfcontractstatus": {
  34043. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  34044. "type": "integer"
  34045. },
  34046. "scfcontracttype": {
  34047. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  34048. "type": "integer"
  34049. },
  34050. "startinterestday": {
  34051. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  34052. "type": "string"
  34053. },
  34054. "totalinterest": {
  34055. "description": "已计利息 -\u003e 已计费用",
  34056. "type": "number"
  34057. },
  34058. "unpaidinterest": {
  34059. "description": "未结费用",
  34060. "type": "number"
  34061. },
  34062. "updatetime": {
  34063. "description": "更新时间",
  34064. "type": "string"
  34065. },
  34066. "warehouseid": {
  34067. "description": "仓库ID",
  34068. "type": "integer"
  34069. },
  34070. "warehousename": {
  34071. "description": "仓库名称",
  34072. "type": "string"
  34073. },
  34074. "wrfactortypeid": {
  34075. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34076. "type": "string"
  34077. },
  34078. "wrfactortypename": {
  34079. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34080. "type": "string"
  34081. },
  34082. "wrqty": {
  34083. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  34084. "type": "number"
  34085. },
  34086. "wrstandardcode": {
  34087. "description": "现货商品代码",
  34088. "type": "string"
  34089. },
  34090. "wrstandardid": {
  34091. "description": "现货商品ID",
  34092. "type": "integer"
  34093. },
  34094. "wrstandardname": {
  34095. "description": "商品名称",
  34096. "type": "string"
  34097. },
  34098. "wrtypename": {
  34099. "description": "商品",
  34100. "type": "string"
  34101. }
  34102. }
  34103. },
  34104. "models.WrScfContractInterest": {
  34105. "type": "object",
  34106. "properties": {
  34107. "closeinterest": {
  34108. "description": "已结利息",
  34109. "type": "number"
  34110. },
  34111. "closeintereststatus": {
  34112. "description": "结息状态 - 1:未结 2:已结",
  34113. "type": "integer"
  34114. },
  34115. "closetime": {
  34116. "description": "结息时间",
  34117. "type": "string"
  34118. },
  34119. "closetradedate": {
  34120. "description": "结息交易日",
  34121. "type": "string"
  34122. },
  34123. "creatorid": {
  34124. "description": "操作人ID",
  34125. "type": "integer"
  34126. },
  34127. "dayrate": {
  34128. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  34129. "type": "number"
  34130. },
  34131. "interest": {
  34132. "description": "利息",
  34133. "type": "number"
  34134. },
  34135. "interestamount": {
  34136. "description": "计息金额",
  34137. "type": "number"
  34138. },
  34139. "interestday": {
  34140. "description": "计息日(yyyyMMdd)",
  34141. "type": "string"
  34142. },
  34143. "scfcontractid": {
  34144. "description": "SCF合同ID",
  34145. "type": "string"
  34146. },
  34147. "scfcontractinterestid": {
  34148. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  34149. "type": "integer"
  34150. },
  34151. "updatetime": {
  34152. "description": "更新时间",
  34153. "type": "string"
  34154. }
  34155. }
  34156. },
  34157. "models.WrSpecialMatchOrder": {
  34158. "type": "object",
  34159. "properties": {
  34160. "amount": {
  34161. "description": "金额 = 数量 * 价格",
  34162. "type": "number"
  34163. },
  34164. "buyorsell": {
  34165. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34166. "type": "integer"
  34167. },
  34168. "cancelqty": {
  34169. "description": "撤销数量",
  34170. "type": "number"
  34171. },
  34172. "deliverygoodscode": {
  34173. "description": "品种代码",
  34174. "type": "string"
  34175. },
  34176. "deliverygoodsid": {
  34177. "description": "品种ID",
  34178. "type": "integer"
  34179. },
  34180. "deliverygoodsname": {
  34181. "description": "品种名称",
  34182. "type": "string"
  34183. },
  34184. "enumdicname": {
  34185. "description": "单位名称",
  34186. "type": "string"
  34187. },
  34188. "fixedprice": {
  34189. "description": "固定价格(价格)",
  34190. "type": "number"
  34191. },
  34192. "haswr": {
  34193. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34194. "type": "integer"
  34195. },
  34196. "marketid": {
  34197. "description": "市场ID",
  34198. "type": "integer"
  34199. },
  34200. "matchuserid": {
  34201. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  34202. "type": "integer"
  34203. },
  34204. "matchusername": {
  34205. "description": "指定方",
  34206. "type": "string"
  34207. },
  34208. "minivalue": {
  34209. "description": "现货商品最小变动值",
  34210. "type": "integer"
  34211. },
  34212. "optioncompare": {
  34213. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34214. "type": "string"
  34215. },
  34216. "orderqty": {
  34217. "description": "委托数量",
  34218. "type": "number"
  34219. },
  34220. "ordertime": {
  34221. "description": "委托时间",
  34222. "type": "string"
  34223. },
  34224. "pricemove": {
  34225. "description": "升贴水(浮动价时填写) - [挂牌]",
  34226. "type": "number"
  34227. },
  34228. "tradedate": {
  34229. "description": "交易日(yyyyMMdd)",
  34230. "type": "string"
  34231. },
  34232. "tradeprice": {
  34233. "description": "成交价格",
  34234. "type": "number"
  34235. },
  34236. "tradeqty": {
  34237. "description": "成交数量",
  34238. "type": "number"
  34239. },
  34240. "userid": {
  34241. "description": "用户ID",
  34242. "type": "integer"
  34243. },
  34244. "username": {
  34245. "description": "发起方",
  34246. "type": "string"
  34247. },
  34248. "warehouseid": {
  34249. "description": "仓库ID",
  34250. "type": "integer"
  34251. },
  34252. "warehousename": {
  34253. "description": "仓库名称",
  34254. "type": "string"
  34255. },
  34256. "wrfactortypeid": {
  34257. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34258. "type": "string"
  34259. },
  34260. "wrfactortypename": {
  34261. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34262. "type": "string"
  34263. },
  34264. "wrpricetype": {
  34265. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34266. "type": "integer"
  34267. },
  34268. "wrstandardcode": {
  34269. "description": "现货商品代码",
  34270. "type": "string"
  34271. },
  34272. "wrstandardid": {
  34273. "description": "现货商品ID",
  34274. "type": "integer"
  34275. },
  34276. "wrstandardname": {
  34277. "description": "商品名称",
  34278. "type": "string"
  34279. },
  34280. "wrtradeorderid": {
  34281. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34282. "type": "string"
  34283. },
  34284. "wrtradeorderstatus": {
  34285. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  34286. "type": "integer"
  34287. },
  34288. "wrtradetype": {
  34289. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34290. "type": "integer"
  34291. },
  34292. "wrtypename": {
  34293. "description": "商品",
  34294. "type": "string"
  34295. }
  34296. }
  34297. },
  34298. "models.WrStandardFactoryItem": {
  34299. "type": "object",
  34300. "properties": {
  34301. "dgfactoryitemid": {
  34302. "description": "选择项id",
  34303. "type": "integer"
  34304. },
  34305. "dgfactoryitemvalue": {
  34306. "description": "要素项值",
  34307. "type": "string"
  34308. },
  34309. "warehouseid": {
  34310. "description": "仓库id",
  34311. "type": "integer"
  34312. }
  34313. }
  34314. },
  34315. "models.WrStandardFactoryItemEx": {
  34316. "type": "object",
  34317. "properties": {
  34318. "dgfactoryitemtypeid": {
  34319. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  34320. "type": "integer"
  34321. },
  34322. "itemlst": {
  34323. "description": "要素项列表",
  34324. "type": "array",
  34325. "items": {
  34326. "$ref": "#/definitions/models.WrStandardFactoryItem"
  34327. }
  34328. },
  34329. "itemtypename": {
  34330. "description": "要素项类型名称",
  34331. "type": "string"
  34332. },
  34333. "wrstandardid": {
  34334. "description": "品类",
  34335. "type": "integer"
  34336. }
  34337. }
  34338. },
  34339. "models.WrTradeDetail": {
  34340. "type": "object",
  34341. "properties": {
  34342. "accountid": {
  34343. "description": "资金账号",
  34344. "type": "integer"
  34345. },
  34346. "buyorsell": {
  34347. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34348. "type": "integer"
  34349. },
  34350. "deliverygoodscode": {
  34351. "description": "品种代码",
  34352. "type": "string"
  34353. },
  34354. "deliverygoodsid": {
  34355. "description": "品种ID",
  34356. "type": "integer"
  34357. },
  34358. "deliverygoodsname": {
  34359. "description": "品种名称",
  34360. "type": "string"
  34361. },
  34362. "deliverymonth": {
  34363. "description": "交收月",
  34364. "type": "string"
  34365. },
  34366. "enumdicname": {
  34367. "description": "单位名称",
  34368. "type": "string"
  34369. },
  34370. "haswr": {
  34371. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34372. "type": "integer"
  34373. },
  34374. "marketid": {
  34375. "description": "市场ID",
  34376. "type": "integer"
  34377. },
  34378. "matchaccountid": {
  34379. "description": "对手账号",
  34380. "type": "integer"
  34381. },
  34382. "matchusername": {
  34383. "description": "对手方",
  34384. "type": "string"
  34385. },
  34386. "minivalue": {
  34387. "description": "现货商品最小变动值",
  34388. "type": "integer"
  34389. },
  34390. "optioncompare": {
  34391. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34392. "type": "string"
  34393. },
  34394. "tradedate": {
  34395. "description": "交易日(yyyyMMdd)",
  34396. "type": "string"
  34397. },
  34398. "tradeprice": {
  34399. "description": "成交价格",
  34400. "type": "number"
  34401. },
  34402. "tradeqty": {
  34403. "description": "成交数量",
  34404. "type": "number"
  34405. },
  34406. "tradetime": {
  34407. "description": "成交时间",
  34408. "type": "string"
  34409. },
  34410. "userid": {
  34411. "description": "用户ID",
  34412. "type": "integer"
  34413. },
  34414. "warehouseid": {
  34415. "description": "仓库ID",
  34416. "type": "integer"
  34417. },
  34418. "warehousename": {
  34419. "description": "仓库名称",
  34420. "type": "string"
  34421. },
  34422. "wrfactortypeid": {
  34423. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34424. "type": "string"
  34425. },
  34426. "wrfactortypename": {
  34427. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34428. "type": "string"
  34429. },
  34430. "wrstandardcode": {
  34431. "description": "现货商品代码",
  34432. "type": "string"
  34433. },
  34434. "wrstandardid": {
  34435. "description": "现货商品ID",
  34436. "type": "integer"
  34437. },
  34438. "wrstandardname": {
  34439. "description": "商品名称",
  34440. "type": "string"
  34441. },
  34442. "wrtradedetailid": {
  34443. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  34444. "type": "string"
  34445. },
  34446. "wrtradetype": {
  34447. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34448. "type": "integer"
  34449. },
  34450. "wrtypename": {
  34451. "description": "商品",
  34452. "type": "string"
  34453. }
  34454. }
  34455. },
  34456. "models.WrTradeOrderDetail": {
  34457. "type": "object",
  34458. "properties": {
  34459. "buyorsell": {
  34460. "description": "买卖方向 0-买 1-卖",
  34461. "type": "integer"
  34462. },
  34463. "goodsid": {
  34464. "description": "商品id",
  34465. "type": "integer"
  34466. },
  34467. "orderid": {
  34468. "description": "委托单号",
  34469. "type": "string"
  34470. },
  34471. "orderprice": {
  34472. "description": "委托价格",
  34473. "type": "number"
  34474. },
  34475. "orderqty": {
  34476. "description": "委托数量",
  34477. "type": "integer"
  34478. },
  34479. "userid": {
  34480. "description": "用户id",
  34481. "type": "integer"
  34482. },
  34483. "username": {
  34484. "description": "用户名称(已脱敏)",
  34485. "type": "string"
  34486. }
  34487. }
  34488. },
  34489. "models.WrTypeItem": {
  34490. "type": "object",
  34491. "properties": {
  34492. "name": {
  34493. "description": "名称",
  34494. "type": "string"
  34495. },
  34496. "value": {
  34497. "description": "值",
  34498. "type": "string"
  34499. }
  34500. }
  34501. },
  34502. "models.WrUserFriend": {
  34503. "type": "object",
  34504. "properties": {
  34505. "friendname": {
  34506. "description": "朋友名称(已脱敏)",
  34507. "type": "string"
  34508. },
  34509. "frienduserid": {
  34510. "description": "朋友id",
  34511. "type": "integer"
  34512. },
  34513. "isfriend": {
  34514. "description": "是否好友 0-不是 1-是",
  34515. "type": "integer"
  34516. },
  34517. "userid": {
  34518. "description": "用户id",
  34519. "type": "integer"
  34520. }
  34521. }
  34522. },
  34523. "order.QueryHisTradeDetailRsp": {
  34524. "type": "object",
  34525. "required": [
  34526. "accountid",
  34527. "buyorsell",
  34528. "goodsid",
  34529. "histradedate",
  34530. "marketid",
  34531. "memberuserid",
  34532. "orderid",
  34533. "tradeamount",
  34534. "tradedate",
  34535. "tradeid",
  34536. "tradeprice",
  34537. "tradeqty",
  34538. "tradetime"
  34539. ],
  34540. "properties": {
  34541. "accountid": {
  34542. "description": "账户ID[报价币种]",
  34543. "type": "integer"
  34544. },
  34545. "advanceratio": {
  34546. "description": "首付比率",
  34547. "type": "number"
  34548. },
  34549. "buildtype": {
  34550. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  34551. "type": "integer"
  34552. },
  34553. "buyorsell": {
  34554. "description": "方向 - 0:买 1:卖",
  34555. "type": "integer"
  34556. },
  34557. "charge": {
  34558. "description": "手续费",
  34559. "type": "number"
  34560. },
  34561. "closecharge": {
  34562. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34563. "type": "number"
  34564. },
  34565. "closeexchagechargevalue": {
  34566. "description": "平仓交易所手续费设置值",
  34567. "type": "number"
  34568. },
  34569. "closefeealgorithm": {
  34570. "description": "平仓手续费收取方式 1:比率 2:固定",
  34571. "type": "integer"
  34572. },
  34573. "closememberchargevalue": {
  34574. "description": "平仓会员手续费设置值",
  34575. "type": "number"
  34576. },
  34577. "closepl": {
  34578. "description": "平仓盈亏",
  34579. "type": "number"
  34580. },
  34581. "closepl2": {
  34582. "description": "平仓盈亏[逐笔]",
  34583. "type": "number"
  34584. },
  34585. "closeqty": {
  34586. "description": "平仓数量(先建后平操作 需要记录)",
  34587. "type": "number"
  34588. },
  34589. "creditamount": {
  34590. "description": "授信金额",
  34591. "type": "number"
  34592. },
  34593. "decimalplace": {
  34594. "description": "商品报价小数位",
  34595. "type": "integer"
  34596. },
  34597. "enumdicname": {
  34598. "description": "单位名称",
  34599. "type": "string"
  34600. },
  34601. "gcaccountid": {
  34602. "description": "账户ID[合约币种]",
  34603. "type": "integer"
  34604. },
  34605. "goodscode": {
  34606. "description": "商品代码",
  34607. "type": "string"
  34608. },
  34609. "goodsid": {
  34610. "description": "商品ID",
  34611. "type": "integer"
  34612. },
  34613. "goodsname": {
  34614. "description": "商品名称",
  34615. "type": "string"
  34616. },
  34617. "goodunitid": {
  34618. "description": "商品单位id",
  34619. "type": "integer"
  34620. },
  34621. "histradedate": {
  34622. "description": "历史交易日",
  34623. "type": "string"
  34624. },
  34625. "intclosepl": {
  34626. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  34627. "type": "integer"
  34628. },
  34629. "isconfirmexercise": {
  34630. "description": "是否确认行权- 0:否 1:是",
  34631. "type": "integer"
  34632. },
  34633. "ismain": {
  34634. "description": "是否主单 - 0:不是 1:是",
  34635. "type": "integer"
  34636. },
  34637. "ispreexercise": {
  34638. "description": "是否预申报- 0:否 1:是",
  34639. "type": "integer"
  34640. },
  34641. "isreckoned": {
  34642. "description": "是否结算 - 0:未结算 1:已结算",
  34643. "type": "integer"
  34644. },
  34645. "isvaliddata": {
  34646. "description": "是否有效 - 0:无效 1:有效",
  34647. "type": "integer"
  34648. },
  34649. "listingselecttype": {
  34650. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  34651. "type": "integer"
  34652. },
  34653. "marketid": {
  34654. "description": "市场ID",
  34655. "type": "integer"
  34656. },
  34657. "marketname": {
  34658. "description": "市场名称",
  34659. "type": "string"
  34660. },
  34661. "matchaccountid": {
  34662. "description": "对手账号id",
  34663. "type": "integer"
  34664. },
  34665. "memberuserid": {
  34666. "description": "会员id 个人投资者 需要填写",
  34667. "type": "integer"
  34668. },
  34669. "opencharge": {
  34670. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  34671. "type": "number"
  34672. },
  34673. "openexchagechargevalue": {
  34674. "description": "建仓交易所手续费设置值",
  34675. "type": "number"
  34676. },
  34677. "openfeealgorithm": {
  34678. "description": "建仓手续费收取方式 1:比率 2:固定",
  34679. "type": "integer"
  34680. },
  34681. "openmemberchargevalue": {
  34682. "description": "建仓会员手续费设置值",
  34683. "type": "number"
  34684. },
  34685. "openqty": {
  34686. "description": "开仓数量(先建后平操作 需要记录)",
  34687. "type": "number"
  34688. },
  34689. "optiontype": {
  34690. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  34691. "type": "integer"
  34692. },
  34693. "orderid": {
  34694. "description": "委托单号",
  34695. "type": "string"
  34696. },
  34697. "payamount": {
  34698. "description": "支付金额(付款金额)",
  34699. "type": "number"
  34700. },
  34701. "performanceplanid": {
  34702. "description": "履约计划ID[期权]",
  34703. "type": "integer"
  34704. },
  34705. "performancestatus": {
  34706. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  34707. "type": "integer"
  34708. },
  34709. "preexerciseprice": {
  34710. "description": "预申报价格",
  34711. "type": "number"
  34712. },
  34713. "premium": {
  34714. "description": "权利金 - [持仓单的权利金]",
  34715. "type": "number"
  34716. },
  34717. "qtydecimalplace": {
  34718. "description": "商品报价小数位",
  34719. "type": "integer"
  34720. },
  34721. "recvamount": {
  34722. "description": "到账金额 = 成交金额 - 手续费",
  34723. "type": "number"
  34724. },
  34725. "relatedouttradeid": {
  34726. "description": "关联外部成交单ID",
  34727. "type": "integer"
  34728. },
  34729. "status": {
  34730. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  34731. "type": "integer"
  34732. },
  34733. "totalamount": {
  34734. "description": "订单总额 = 成交金额 + 手续费",
  34735. "type": "number"
  34736. },
  34737. "tradeamount": {
  34738. "description": "成交金额[账户币种,用于所有权]",
  34739. "type": "number"
  34740. },
  34741. "tradedate": {
  34742. "description": "交易日(yyyyMMdd)",
  34743. "type": "string"
  34744. },
  34745. "tradeid": {
  34746. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34747. "type": "string"
  34748. },
  34749. "trademode": {
  34750. "description": "交易模式",
  34751. "type": "integer"
  34752. },
  34753. "tradeprice": {
  34754. "description": "成交价格",
  34755. "type": "number"
  34756. },
  34757. "tradeproperty": {
  34758. "description": "交易属性",
  34759. "type": "integer"
  34760. },
  34761. "tradeqty": {
  34762. "description": "成交数量",
  34763. "type": "number"
  34764. },
  34765. "tradetime": {
  34766. "description": "成交时间",
  34767. "type": "string"
  34768. },
  34769. "tradetype": {
  34770. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  34771. "type": "integer"
  34772. }
  34773. }
  34774. },
  34775. "order.QueryHisTradeOrderDetailRsp": {
  34776. "type": "object",
  34777. "required": [
  34778. "accountid",
  34779. "buildtype",
  34780. "buyorsell",
  34781. "goodsid",
  34782. "histradedate",
  34783. "marketid",
  34784. "memberuserid",
  34785. "operatetype",
  34786. "orderid",
  34787. "orderqty",
  34788. "ordertime",
  34789. "pricemode",
  34790. "tradedate",
  34791. "validtype"
  34792. ],
  34793. "properties": {
  34794. "accountid": {
  34795. "description": "账户ID[报价币种]",
  34796. "type": "integer"
  34797. },
  34798. "buildtype": {
  34799. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  34800. "type": "integer"
  34801. },
  34802. "buyorsell": {
  34803. "description": "买卖 - 0:买 1:卖",
  34804. "type": "integer"
  34805. },
  34806. "cancelorderid": {
  34807. "description": "撤单单号(撤单时填写)",
  34808. "type": "string"
  34809. },
  34810. "cancelqty": {
  34811. "description": "撤单数量",
  34812. "type": "number"
  34813. },
  34814. "clientordertime": {
  34815. "description": "客户端委托时间",
  34816. "type": "string"
  34817. },
  34818. "clientticket": {
  34819. "description": "客户端流水号",
  34820. "type": "string"
  34821. },
  34822. "clienttype": {
  34823. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  34824. "type": "integer"
  34825. },
  34826. "closeexchagechargevalue": {
  34827. "description": "平仓交易所手续费设置值",
  34828. "type": "number"
  34829. },
  34830. "closefeealgorithm": {
  34831. "description": "平仓手续费收取方式 1:比率 2:固定",
  34832. "type": "integer"
  34833. },
  34834. "closefreezecharge": {
  34835. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  34836. "type": "number"
  34837. },
  34838. "closememberchargevalue": {
  34839. "description": "平仓会员手续费设置值",
  34840. "type": "number"
  34841. },
  34842. "closeqty": {
  34843. "description": "平仓数量(先建后平操作 需要记录)",
  34844. "type": "number"
  34845. },
  34846. "closetradeqty": {
  34847. "description": "平仓成交数量(先建后平操作,需要记录)",
  34848. "type": "number"
  34849. },
  34850. "closeunfreezecharge": {
  34851. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  34852. "type": "number"
  34853. },
  34854. "decimalplace": {
  34855. "description": "商品报价小数位",
  34856. "type": "integer"
  34857. },
  34858. "delistingtype": {
  34859. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  34860. "type": "integer"
  34861. },
  34862. "enumdicname": {
  34863. "description": "单位名称",
  34864. "type": "string"
  34865. },
  34866. "freezecharge": {
  34867. "description": "冻结手续费",
  34868. "type": "number"
  34869. },
  34870. "freezemargin": {
  34871. "description": "冻结保证金(冻结交易金额)",
  34872. "type": "number"
  34873. },
  34874. "gcaccountid": {
  34875. "description": "账户ID[合约币种]",
  34876. "type": "integer"
  34877. },
  34878. "goodscode": {
  34879. "description": "商品代码",
  34880. "type": "string"
  34881. },
  34882. "goodsid": {
  34883. "description": "商品ID",
  34884. "type": "integer"
  34885. },
  34886. "goodsname": {
  34887. "description": "商品名称",
  34888. "type": "string"
  34889. },
  34890. "goodunitid": {
  34891. "description": "商品单位id",
  34892. "type": "integer"
  34893. },
  34894. "histradedate": {
  34895. "description": "历史交易日",
  34896. "type": "string"
  34897. },
  34898. "isconfirmexercise": {
  34899. "description": "是否确认行权- 0:否 1:是",
  34900. "type": "integer"
  34901. },
  34902. "ispreexercise": {
  34903. "description": "是否预申报- 0:否 1:是",
  34904. "type": "integer"
  34905. },
  34906. "isvaliddata": {
  34907. "description": "是否有效 - 0:无效 1:有效",
  34908. "type": "integer"
  34909. },
  34910. "listingselecttype": {
  34911. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  34912. "type": "integer"
  34913. },
  34914. "marginalgorithm": {
  34915. "description": "保证金收取方式 1:比率 2:固定",
  34916. "type": "integer"
  34917. },
  34918. "marginvalue": {
  34919. "description": "即市保证金设置值",
  34920. "type": "number"
  34921. },
  34922. "marketid": {
  34923. "description": "市场ID",
  34924. "type": "integer"
  34925. },
  34926. "marketmaxsub": {
  34927. "description": "市价最大偏移范围",
  34928. "type": "number"
  34929. },
  34930. "marketname": {
  34931. "description": "市场名称",
  34932. "type": "string"
  34933. },
  34934. "memberuserid": {
  34935. "description": "所属会员UserID",
  34936. "type": "integer"
  34937. },
  34938. "openexchagechargevalue": {
  34939. "description": "建仓交易所手续费设置值",
  34940. "type": "number"
  34941. },
  34942. "openfeealgorithm": {
  34943. "description": "建仓手续费收取方式 1:比率 2:固定",
  34944. "type": "integer"
  34945. },
  34946. "openfreezecharge": {
  34947. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  34948. "type": "number"
  34949. },
  34950. "openmemberchargevalue": {
  34951. "description": "建仓会员手续费设置值",
  34952. "type": "number"
  34953. },
  34954. "openqty": {
  34955. "description": "开仓数量(先建后平操作,需要记录)",
  34956. "type": "number"
  34957. },
  34958. "opentradeqty": {
  34959. "description": "开仓成交数量(先建后平操作,需要记录)",
  34960. "type": "number"
  34961. },
  34962. "openunfreezecharge": {
  34963. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  34964. "type": "number"
  34965. },
  34966. "operatetype": {
  34967. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  34968. "type": "integer"
  34969. },
  34970. "operatorid": {
  34971. "description": "登录账号(LoginID)",
  34972. "type": "integer"
  34973. },
  34974. "optiontype": {
  34975. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  34976. "type": "integer"
  34977. },
  34978. "orderid": {
  34979. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34980. "type": "string"
  34981. },
  34982. "orderprice": {
  34983. "description": "委托价格",
  34984. "type": "number"
  34985. },
  34986. "orderqty": {
  34987. "description": "委托数量",
  34988. "type": "number"
  34989. },
  34990. "ordersrc": {
  34991. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  34992. "type": "integer"
  34993. },
  34994. "orderstatus": {
  34995. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  34996. "type": "integer"
  34997. },
  34998. "ordertime": {
  34999. "description": "委托时间",
  35000. "type": "string"
  35001. },
  35002. "preexerciseprice": {
  35003. "description": "预申报价格",
  35004. "type": "number"
  35005. },
  35006. "premium": {
  35007. "description": "权利金",
  35008. "type": "number"
  35009. },
  35010. "preorderid": {
  35011. "description": "关联预埋单号(止盈止损单时填写)",
  35012. "type": "string"
  35013. },
  35014. "pricemode": {
  35015. "description": "取价方式 - 1:市价 2: 限价",
  35016. "type": "integer"
  35017. },
  35018. "qtydecimalplace": {
  35019. "description": "成交量小数位",
  35020. "type": "integer"
  35021. },
  35022. "quoteid": {
  35023. "description": "报价单ID",
  35024. "type": "integer"
  35025. },
  35026. "relatedid": {
  35027. "description": "关联单号(交割单)",
  35028. "type": "string"
  35029. },
  35030. "retcode": {
  35031. "description": "错误代码",
  35032. "type": "integer"
  35033. },
  35034. "sessionid": {
  35035. "description": "会话ID",
  35036. "type": "integer"
  35037. },
  35038. "tradedate": {
  35039. "description": "交易日(yyyyMMdd)",
  35040. "type": "string"
  35041. },
  35042. "trademode": {
  35043. "description": "交易模式",
  35044. "type": "integer"
  35045. },
  35046. "tradeproperty": {
  35047. "description": "交易属性",
  35048. "type": "integer"
  35049. },
  35050. "tradeqty": {
  35051. "description": "成交数量",
  35052. "type": "number"
  35053. },
  35054. "unfreezecharge": {
  35055. "description": "解冻手续费",
  35056. "type": "number"
  35057. },
  35058. "unfreezemargin": {
  35059. "description": "解冻保证金",
  35060. "type": "number"
  35061. },
  35062. "updatetime": {
  35063. "description": "更新时间",
  35064. "type": "string"
  35065. },
  35066. "uuid": {
  35067. "description": "发起端唯一id",
  35068. "type": "string"
  35069. },
  35070. "validtime": {
  35071. "description": "有效期限",
  35072. "type": "string"
  35073. },
  35074. "validtype": {
  35075. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  35076. "type": "integer"
  35077. },
  35078. "volumetype": {
  35079. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  35080. "type": "integer"
  35081. }
  35082. }
  35083. },
  35084. "order.QueryTradeDetailRsp": {
  35085. "type": "object",
  35086. "required": [
  35087. "accountid",
  35088. "buyorsell",
  35089. "goodsid",
  35090. "marketid",
  35091. "memberuserid",
  35092. "orderid",
  35093. "tradeamount",
  35094. "tradedate",
  35095. "tradeid",
  35096. "tradeprice",
  35097. "tradeqty",
  35098. "tradetime"
  35099. ],
  35100. "properties": {
  35101. "accountid": {
  35102. "description": "账户ID[报价币种]",
  35103. "type": "integer"
  35104. },
  35105. "advanceratio": {
  35106. "description": "首付比率",
  35107. "type": "number"
  35108. },
  35109. "buildtype": {
  35110. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  35111. "type": "integer"
  35112. },
  35113. "buyorsell": {
  35114. "description": "方向 - 0:买 1:卖",
  35115. "type": "integer"
  35116. },
  35117. "charge": {
  35118. "description": "手续费",
  35119. "type": "number"
  35120. },
  35121. "closecharge": {
  35122. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35123. "type": "number"
  35124. },
  35125. "closeexchagechargevalue": {
  35126. "description": "平仓交易所手续费设置值",
  35127. "type": "number"
  35128. },
  35129. "closefeealgorithm": {
  35130. "description": "平仓手续费收取方式 1:比率 2:固定",
  35131. "type": "integer"
  35132. },
  35133. "closememberchargevalue": {
  35134. "description": "平仓会员手续费设置值",
  35135. "type": "number"
  35136. },
  35137. "closepl": {
  35138. "description": "平仓盈亏",
  35139. "type": "number"
  35140. },
  35141. "closepl2": {
  35142. "description": "平仓盈亏[逐笔]",
  35143. "type": "number"
  35144. },
  35145. "closeqty": {
  35146. "description": "平仓数量(先建后平操作 需要记录)",
  35147. "type": "number"
  35148. },
  35149. "creditamount": {
  35150. "description": "授信金额",
  35151. "type": "number"
  35152. },
  35153. "decimalplace": {
  35154. "description": "商品报价小数位",
  35155. "type": "integer"
  35156. },
  35157. "enumdicname": {
  35158. "description": "单位名称",
  35159. "type": "string"
  35160. },
  35161. "gcaccountid": {
  35162. "description": "账户ID[合约币种]",
  35163. "type": "integer"
  35164. },
  35165. "goodscode": {
  35166. "description": "商品代码",
  35167. "type": "string"
  35168. },
  35169. "goodsid": {
  35170. "description": "商品ID",
  35171. "type": "integer"
  35172. },
  35173. "goodsname": {
  35174. "description": "商品名称",
  35175. "type": "string"
  35176. },
  35177. "goodunitid": {
  35178. "description": "商品单位id",
  35179. "type": "integer"
  35180. },
  35181. "intclosepl": {
  35182. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  35183. "type": "integer"
  35184. },
  35185. "isconfirmexercise": {
  35186. "description": "是否确认行权- 0:否 1:是",
  35187. "type": "integer"
  35188. },
  35189. "ismain": {
  35190. "description": "是否主单 - 0:不是 1:是",
  35191. "type": "integer"
  35192. },
  35193. "ispreexercise": {
  35194. "description": "是否预申报- 0:否 1:是",
  35195. "type": "integer"
  35196. },
  35197. "isreckoned": {
  35198. "description": "是否结算 - 0:未结算 1:已结算",
  35199. "type": "integer"
  35200. },
  35201. "listingselecttype": {
  35202. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35203. "type": "integer"
  35204. },
  35205. "marketid": {
  35206. "description": "市场ID",
  35207. "type": "integer"
  35208. },
  35209. "marketname": {
  35210. "description": "市场名称",
  35211. "type": "string"
  35212. },
  35213. "matchaccountid": {
  35214. "description": "对手账号id",
  35215. "type": "integer"
  35216. },
  35217. "memberuserid": {
  35218. "description": "会员id 个人投资者 需要填写",
  35219. "type": "integer"
  35220. },
  35221. "opencharge": {
  35222. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  35223. "type": "number"
  35224. },
  35225. "openexchagechargevalue": {
  35226. "description": "建仓交易所手续费设置值",
  35227. "type": "number"
  35228. },
  35229. "openfeealgorithm": {
  35230. "description": "建仓手续费收取方式 1:比率 2:固定",
  35231. "type": "integer"
  35232. },
  35233. "openmemberchargevalue": {
  35234. "description": "建仓会员手续费设置值",
  35235. "type": "number"
  35236. },
  35237. "openqty": {
  35238. "description": "开仓数量(先建后平操作 需要记录)",
  35239. "type": "number"
  35240. },
  35241. "optiontype": {
  35242. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  35243. "type": "integer"
  35244. },
  35245. "orderid": {
  35246. "description": "委托单号",
  35247. "type": "string"
  35248. },
  35249. "payamount": {
  35250. "description": "支付金额(付款金额)",
  35251. "type": "number"
  35252. },
  35253. "performanceplanid": {
  35254. "description": "履约计划ID[期权]",
  35255. "type": "integer"
  35256. },
  35257. "performancestatus": {
  35258. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  35259. "type": "integer"
  35260. },
  35261. "preexerciseprice": {
  35262. "description": "预申报价格",
  35263. "type": "number"
  35264. },
  35265. "premium": {
  35266. "description": "权利金 - [持仓单的权利金]",
  35267. "type": "number"
  35268. },
  35269. "qtydecimalplace": {
  35270. "description": "商品报价小数位",
  35271. "type": "integer"
  35272. },
  35273. "recvamount": {
  35274. "description": "到账金额 = 成交金额 - 手续费",
  35275. "type": "number"
  35276. },
  35277. "relatedouttradeid": {
  35278. "description": "关联外部成交单ID",
  35279. "type": "integer"
  35280. },
  35281. "status": {
  35282. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  35283. "type": "integer"
  35284. },
  35285. "totalamount": {
  35286. "description": "订单总额 = 成交金额 + 手续费",
  35287. "type": "number"
  35288. },
  35289. "tradeamount": {
  35290. "description": "成交金额[账户币种,用于所有权]",
  35291. "type": "number"
  35292. },
  35293. "tradedate": {
  35294. "description": "交易日(yyyyMMdd)",
  35295. "type": "string"
  35296. },
  35297. "tradeid": {
  35298. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35299. "type": "string"
  35300. },
  35301. "trademode": {
  35302. "description": "交易模式",
  35303. "type": "integer"
  35304. },
  35305. "tradeprice": {
  35306. "description": "成交价格",
  35307. "type": "number"
  35308. },
  35309. "tradeproperty": {
  35310. "description": "交易属性",
  35311. "type": "integer"
  35312. },
  35313. "tradeqty": {
  35314. "description": "成交数量",
  35315. "type": "number"
  35316. },
  35317. "tradetime": {
  35318. "description": "成交时间",
  35319. "type": "string"
  35320. },
  35321. "tradetype": {
  35322. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  35323. "type": "integer"
  35324. }
  35325. }
  35326. },
  35327. "order.QueryTradeOrderDetailRsp": {
  35328. "type": "object",
  35329. "required": [
  35330. "accountid",
  35331. "buildtype",
  35332. "buyorsell",
  35333. "goodsid",
  35334. "marketid",
  35335. "operatetype",
  35336. "orderqty",
  35337. "ordertime",
  35338. "pricemode",
  35339. "tradedate",
  35340. "validtype"
  35341. ],
  35342. "properties": {
  35343. "accountid": {
  35344. "description": "账户ID[报价币种]",
  35345. "type": "integer"
  35346. },
  35347. "buildtype": {
  35348. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  35349. "type": "integer"
  35350. },
  35351. "buyorsell": {
  35352. "description": "买卖 - 0:买 1:卖",
  35353. "type": "integer"
  35354. },
  35355. "cancelorderid": {
  35356. "description": "撤单单号(撤单时填写)",
  35357. "type": "string"
  35358. },
  35359. "cancelqty": {
  35360. "description": "撤单数量",
  35361. "type": "number"
  35362. },
  35363. "clienttype": {
  35364. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  35365. "type": "integer"
  35366. },
  35367. "closefreezecharge": {
  35368. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  35369. "type": "number"
  35370. },
  35371. "closeqty": {
  35372. "description": "平仓数量(先建后平操作 需要记录)",
  35373. "type": "number"
  35374. },
  35375. "closetradeqty": {
  35376. "description": "平仓成交数量(先建后平操作,需要记录)",
  35377. "type": "number"
  35378. },
  35379. "closeunfreezecharge": {
  35380. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  35381. "type": "number"
  35382. },
  35383. "decimalplace": {
  35384. "description": "商品报价小数位",
  35385. "type": "integer"
  35386. },
  35387. "delistingtype": {
  35388. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  35389. "type": "integer"
  35390. },
  35391. "enableqty": {
  35392. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  35393. "type": "number"
  35394. },
  35395. "enumdicname": {
  35396. "description": "单位名称",
  35397. "type": "string"
  35398. },
  35399. "freezecharge": {
  35400. "description": "冻结手续费",
  35401. "type": "number"
  35402. },
  35403. "freezemargin": {
  35404. "description": "冻结保证金(冻结交易金额)",
  35405. "type": "number"
  35406. },
  35407. "goodscode": {
  35408. "description": "商品代码",
  35409. "type": "string"
  35410. },
  35411. "goodsid": {
  35412. "description": "商品ID",
  35413. "type": "integer"
  35414. },
  35415. "goodsname": {
  35416. "description": "商品名称",
  35417. "type": "string"
  35418. },
  35419. "goodunitid": {
  35420. "description": "商品单位id",
  35421. "type": "integer"
  35422. },
  35423. "listingselecttype": {
  35424. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35425. "type": "integer"
  35426. },
  35427. "marketid": {
  35428. "description": "市场ID",
  35429. "type": "integer"
  35430. },
  35431. "marketname": {
  35432. "description": "市场名称",
  35433. "type": "string"
  35434. },
  35435. "openfreezecharge": {
  35436. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  35437. "type": "number"
  35438. },
  35439. "openqty": {
  35440. "description": "开仓数量(先建后平操作,需要记录)",
  35441. "type": "number"
  35442. },
  35443. "opentradeqty": {
  35444. "description": "开仓成交数量(先建后平操作,需要记录)",
  35445. "type": "number"
  35446. },
  35447. "openunfreezecharge": {
  35448. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  35449. "type": "number"
  35450. },
  35451. "operatetype": {
  35452. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  35453. "type": "integer"
  35454. },
  35455. "operatorid": {
  35456. "description": "登录账号(LoginID)",
  35457. "type": "integer"
  35458. },
  35459. "orderid": {
  35460. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35461. "type": "string"
  35462. },
  35463. "orderprice": {
  35464. "description": "委托价格",
  35465. "type": "number"
  35466. },
  35467. "orderqty": {
  35468. "description": "委托数量",
  35469. "type": "number"
  35470. },
  35471. "ordersrc": {
  35472. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  35473. "type": "integer"
  35474. },
  35475. "orderstatus": {
  35476. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  35477. "type": "integer"
  35478. },
  35479. "ordertime": {
  35480. "description": "委托时间",
  35481. "type": "string"
  35482. },
  35483. "preorderid": {
  35484. "description": "关联预埋单号(止盈止损单时填写)",
  35485. "type": "string"
  35486. },
  35487. "pricemode": {
  35488. "description": "取价方式 - 1:市价 2: 限价",
  35489. "type": "integer"
  35490. },
  35491. "qtydecimalplace": {
  35492. "description": "商品报价小数位",
  35493. "type": "integer"
  35494. },
  35495. "relatedid": {
  35496. "description": "关联单号(交割单)",
  35497. "type": "string"
  35498. },
  35499. "tradedate": {
  35500. "description": "交易日(yyyyMMdd)",
  35501. "type": "string"
  35502. },
  35503. "trademode": {
  35504. "description": "交易模式",
  35505. "type": "integer"
  35506. },
  35507. "tradeqty": {
  35508. "description": "成交数量",
  35509. "type": "number"
  35510. },
  35511. "unfreezecharge": {
  35512. "description": "解冻手续费",
  35513. "type": "number"
  35514. },
  35515. "unfreezemargin": {
  35516. "description": "解冻保证金",
  35517. "type": "number"
  35518. },
  35519. "validtime": {
  35520. "description": "有效期限",
  35521. "type": "string"
  35522. },
  35523. "validtype": {
  35524. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  35525. "type": "integer"
  35526. },
  35527. "volumetype": {
  35528. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  35529. "type": "integer"
  35530. }
  35531. }
  35532. },
  35533. "order.QueryTradePositionRsp": {
  35534. "type": "object",
  35535. "required": [
  35536. "goodsid"
  35537. ],
  35538. "properties": {
  35539. "accountid": {
  35540. "description": "资金账户",
  35541. "type": "integer"
  35542. },
  35543. "agreeunit": {
  35544. "description": "合约单位",
  35545. "type": "number"
  35546. },
  35547. "averageprice": {
  35548. "description": "持仓均价",
  35549. "type": "number"
  35550. },
  35551. "buyorsell": {
  35552. "description": "方向 - 0:买 1:卖",
  35553. "type": "integer"
  35554. },
  35555. "closetotalqty": {
  35556. "description": "平仓总数量",
  35557. "type": "number"
  35558. },
  35559. "curholderamount": {
  35560. "description": "当前持仓总金额[商品币种]",
  35561. "type": "number"
  35562. },
  35563. "curpositionqty": {
  35564. "description": "当前持仓总数量",
  35565. "type": "number"
  35566. },
  35567. "currencyid": {
  35568. "description": "报价货币ID",
  35569. "type": "integer"
  35570. },
  35571. "curtdposition": {
  35572. "description": "期末今日头寸",
  35573. "type": "number"
  35574. },
  35575. "decimalplace": {
  35576. "description": "报价小数位",
  35577. "type": "integer"
  35578. },
  35579. "enableqty": {
  35580. "description": "可用量",
  35581. "type": "number"
  35582. },
  35583. "fretdposition": {
  35584. "description": "冻结今日头寸",
  35585. "type": "number"
  35586. },
  35587. "frozenqty": {
  35588. "description": "持仓冻结数量",
  35589. "type": "number"
  35590. },
  35591. "goodscode": {
  35592. "description": "商品代码",
  35593. "type": "string"
  35594. },
  35595. "goodsid": {
  35596. "description": "商品Id",
  35597. "type": "integer"
  35598. },
  35599. "goodsname": {
  35600. "description": "商品名称",
  35601. "type": "string"
  35602. },
  35603. "goodunit": {
  35604. "description": "报价单位",
  35605. "type": "string"
  35606. },
  35607. "goodunitid": {
  35608. "description": "报价单位ID",
  35609. "type": "integer"
  35610. },
  35611. "holderamount": {
  35612. "description": "期初持仓总金额[商品币种]",
  35613. "type": "number"
  35614. },
  35615. "lastprice": {
  35616. "description": "最新价",
  35617. "type": "number"
  35618. },
  35619. "marketamount": {
  35620. "description": "市值",
  35621. "type": "number"
  35622. },
  35623. "marketid": {
  35624. "description": "所属市场ID",
  35625. "type": "integer"
  35626. },
  35627. "openreqqty": {
  35628. "description": "开仓申请数量(用于比较最大持仓数量)",
  35629. "type": "number"
  35630. },
  35631. "opentotalqty": {
  35632. "description": "开仓总数量",
  35633. "type": "number"
  35634. },
  35635. "otherfrozenqty": {
  35636. "description": "持仓其他冻结数量(交割冻结)",
  35637. "type": "number"
  35638. },
  35639. "positionpl": {
  35640. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  35641. "type": "number"
  35642. },
  35643. "positionplrate": {
  35644. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  35645. "type": "number"
  35646. },
  35647. "positionqty": {
  35648. "description": "期初持仓数量",
  35649. "type": "number"
  35650. },
  35651. "qtydecimalplace": {
  35652. "description": "成交量小数位",
  35653. "type": "integer"
  35654. },
  35655. "tnqty": {
  35656. "description": "T+N冻结总量",
  35657. "type": "number"
  35658. },
  35659. "tnusedqty": {
  35660. "description": "T+N使用量(可以使用T+N的冻结数量)",
  35661. "type": "number"
  35662. },
  35663. "trademode": {
  35664. "description": "交易模式",
  35665. "type": "integer"
  35666. },
  35667. "usedmargin": {
  35668. "description": "占用保证金[商品币种]",
  35669. "type": "number"
  35670. }
  35671. }
  35672. },
  35673. "quote.HistoryData": {
  35674. "type": "object",
  35675. "properties": {
  35676. "c": {
  35677. "description": "收盘价",
  35678. "type": "number"
  35679. },
  35680. "f": {
  35681. "description": "是否补充数据",
  35682. "type": "boolean"
  35683. },
  35684. "h": {
  35685. "description": "最高价",
  35686. "type": "number"
  35687. },
  35688. "hv": {
  35689. "description": "持仓量",
  35690. "type": "integer"
  35691. },
  35692. "l": {
  35693. "description": "最低价",
  35694. "type": "number"
  35695. },
  35696. "o": {
  35697. "description": "开盘价",
  35698. "type": "number"
  35699. },
  35700. "s": {
  35701. "description": "结算价,日线周期(包括)以上才有",
  35702. "type": "number"
  35703. },
  35704. "ts": {
  35705. "description": "时间",
  35706. "type": "string"
  35707. },
  35708. "tt": {
  35709. "description": "总金额",
  35710. "type": "number"
  35711. },
  35712. "tv": {
  35713. "description": "总量",
  35714. "type": "integer"
  35715. }
  35716. }
  35717. },
  35718. "quote.HistoryTikData": {
  35719. "type": "object",
  35720. "properties": {
  35721. "AV": {
  35722. "description": "卖量",
  35723. "type": "integer"
  35724. },
  35725. "Ask": {
  35726. "description": "卖价",
  35727. "type": "number"
  35728. },
  35729. "BV": {
  35730. "description": "买量",
  35731. "type": "integer"
  35732. },
  35733. "Bid": {
  35734. "description": "买价",
  35735. "type": "number"
  35736. },
  35737. "HI": {
  35738. "description": "单笔持仓",
  35739. "type": "integer"
  35740. },
  35741. "HV": {
  35742. "description": "持仓量",
  35743. "type": "integer"
  35744. },
  35745. "PE": {
  35746. "description": "现价",
  35747. "type": "number"
  35748. },
  35749. "TDR": {
  35750. "description": "交易方向,0:买 1:卖",
  35751. "type": "integer"
  35752. },
  35753. "TK": {
  35754. "description": "交易类型",
  35755. "type": "integer"
  35756. },
  35757. "TS": {
  35758. "description": "行情时间文本",
  35759. "type": "string"
  35760. },
  35761. "TT": {
  35762. "description": "现金额",
  35763. "type": "number"
  35764. },
  35765. "Vol": {
  35766. "description": "现量",
  35767. "type": "integer"
  35768. }
  35769. }
  35770. },
  35771. "quote.QueryQuoteDayRsp": {
  35772. "type": "object",
  35773. "properties": {
  35774. "ask": {
  35775. "description": "卖1",
  35776. "type": "number"
  35777. },
  35778. "ask10": {
  35779. "description": "卖10",
  35780. "type": "number"
  35781. },
  35782. "ask2": {
  35783. "description": "卖2",
  35784. "type": "number"
  35785. },
  35786. "ask3": {
  35787. "description": "卖3",
  35788. "type": "number"
  35789. },
  35790. "ask4": {
  35791. "description": "卖4",
  35792. "type": "number"
  35793. },
  35794. "ask5": {
  35795. "description": "卖5",
  35796. "type": "number"
  35797. },
  35798. "ask6": {
  35799. "description": "卖6",
  35800. "type": "number"
  35801. },
  35802. "ask7": {
  35803. "description": "卖7",
  35804. "type": "number"
  35805. },
  35806. "ask8": {
  35807. "description": "卖8",
  35808. "type": "number"
  35809. },
  35810. "ask9": {
  35811. "description": "卖9",
  35812. "type": "number"
  35813. },
  35814. "askorderid": {
  35815. "description": "卖单号1",
  35816. "type": "integer"
  35817. },
  35818. "askorderid2": {
  35819. "description": "卖单号2",
  35820. "type": "integer"
  35821. },
  35822. "askorderid3": {
  35823. "description": "卖单号3",
  35824. "type": "integer"
  35825. },
  35826. "askorderid4": {
  35827. "description": "卖单号4",
  35828. "type": "integer"
  35829. },
  35830. "askorderid5": {
  35831. "description": "卖单号5",
  35832. "type": "integer"
  35833. },
  35834. "askordervolume": {
  35835. "description": "卖单量1",
  35836. "type": "integer"
  35837. },
  35838. "askordervolume10": {
  35839. "description": "卖单量10",
  35840. "type": "integer"
  35841. },
  35842. "askordervolume2": {
  35843. "description": "卖单量2",
  35844. "type": "integer"
  35845. },
  35846. "askordervolume3": {
  35847. "description": "卖单量3",
  35848. "type": "integer"
  35849. },
  35850. "askordervolume4": {
  35851. "description": "卖单量4",
  35852. "type": "integer"
  35853. },
  35854. "askordervolume5": {
  35855. "description": "卖单量5",
  35856. "type": "integer"
  35857. },
  35858. "askordervolume6": {
  35859. "description": "卖单量6",
  35860. "type": "integer"
  35861. },
  35862. "askordervolume7": {
  35863. "description": "卖单量7",
  35864. "type": "integer"
  35865. },
  35866. "askordervolume8": {
  35867. "description": "卖单量8",
  35868. "type": "integer"
  35869. },
  35870. "askordervolume9": {
  35871. "description": "卖单量9",
  35872. "type": "integer"
  35873. },
  35874. "askqueueinfo": {
  35875. "description": "大利市卖港股用",
  35876. "type": "string"
  35877. },
  35878. "askvolume": {
  35879. "description": "卖量1",
  35880. "type": "integer"
  35881. },
  35882. "askvolume10": {
  35883. "description": "卖量10",
  35884. "type": "integer"
  35885. },
  35886. "askvolume2": {
  35887. "description": "卖量2",
  35888. "type": "integer"
  35889. },
  35890. "askvolume3": {
  35891. "description": "卖量3",
  35892. "type": "integer"
  35893. },
  35894. "askvolume4": {
  35895. "description": "卖量4",
  35896. "type": "integer"
  35897. },
  35898. "askvolume5": {
  35899. "description": "卖量5",
  35900. "type": "integer"
  35901. },
  35902. "askvolume6": {
  35903. "description": "卖量6",
  35904. "type": "integer"
  35905. },
  35906. "askvolume7": {
  35907. "description": "卖量7",
  35908. "type": "integer"
  35909. },
  35910. "askvolume8": {
  35911. "description": "卖量8",
  35912. "type": "integer"
  35913. },
  35914. "askvolume9": {
  35915. "description": "卖量9",
  35916. "type": "integer"
  35917. },
  35918. "averageprice": {
  35919. "description": "均价",
  35920. "type": "number"
  35921. },
  35922. "bid": {
  35923. "description": "买1",
  35924. "type": "number"
  35925. },
  35926. "bid10": {
  35927. "description": "买10",
  35928. "type": "number"
  35929. },
  35930. "bid2": {
  35931. "description": "买2",
  35932. "type": "number"
  35933. },
  35934. "bid3": {
  35935. "description": "买3",
  35936. "type": "number"
  35937. },
  35938. "bid4": {
  35939. "description": "买4",
  35940. "type": "number"
  35941. },
  35942. "bid5": {
  35943. "description": "买5",
  35944. "type": "number"
  35945. },
  35946. "bid6": {
  35947. "description": "买6",
  35948. "type": "number"
  35949. },
  35950. "bid7": {
  35951. "description": "买7",
  35952. "type": "number"
  35953. },
  35954. "bid8": {
  35955. "description": "买8",
  35956. "type": "number"
  35957. },
  35958. "bid9": {
  35959. "description": "买9",
  35960. "type": "number"
  35961. },
  35962. "bidorderid": {
  35963. "description": "买单号1",
  35964. "type": "integer"
  35965. },
  35966. "bidorderid2": {
  35967. "description": "买单号2",
  35968. "type": "integer"
  35969. },
  35970. "bidorderid3": {
  35971. "description": "买单号3",
  35972. "type": "integer"
  35973. },
  35974. "bidorderid4": {
  35975. "description": "买单号4",
  35976. "type": "integer"
  35977. },
  35978. "bidorderid5": {
  35979. "description": "买单号5",
  35980. "type": "integer"
  35981. },
  35982. "bidordervolume": {
  35983. "description": "买单量1",
  35984. "type": "integer"
  35985. },
  35986. "bidordervolume10": {
  35987. "description": "买单量10",
  35988. "type": "integer"
  35989. },
  35990. "bidordervolume2": {
  35991. "description": "买单量2",
  35992. "type": "integer"
  35993. },
  35994. "bidordervolume3": {
  35995. "description": "买单量3",
  35996. "type": "integer"
  35997. },
  35998. "bidordervolume4": {
  35999. "description": "买单量4",
  36000. "type": "integer"
  36001. },
  36002. "bidordervolume5": {
  36003. "description": "买单量5",
  36004. "type": "integer"
  36005. },
  36006. "bidordervolume6": {
  36007. "description": "买单量6",
  36008. "type": "integer"
  36009. },
  36010. "bidordervolume7": {
  36011. "description": "买单量7",
  36012. "type": "integer"
  36013. },
  36014. "bidordervolume8": {
  36015. "description": "买单量8",
  36016. "type": "integer"
  36017. },
  36018. "bidordervolume9": {
  36019. "description": "买单量9",
  36020. "type": "integer"
  36021. },
  36022. "bidqueueinfo": {
  36023. "description": "大利市买港股用",
  36024. "type": "string"
  36025. },
  36026. "bidvolume": {
  36027. "description": "买量1",
  36028. "type": "integer"
  36029. },
  36030. "bidvolume10": {
  36031. "description": "买量10",
  36032. "type": "integer"
  36033. },
  36034. "bidvolume2": {
  36035. "description": "买量2",
  36036. "type": "integer"
  36037. },
  36038. "bidvolume3": {
  36039. "description": "买量3",
  36040. "type": "integer"
  36041. },
  36042. "bidvolume4": {
  36043. "description": "买量4",
  36044. "type": "integer"
  36045. },
  36046. "bidvolume5": {
  36047. "description": "买量5",
  36048. "type": "integer"
  36049. },
  36050. "bidvolume6": {
  36051. "description": "买量6",
  36052. "type": "integer"
  36053. },
  36054. "bidvolume7": {
  36055. "description": "买量7",
  36056. "type": "integer"
  36057. },
  36058. "bidvolume8": {
  36059. "description": "买量8",
  36060. "type": "integer"
  36061. },
  36062. "bidvolume9": {
  36063. "description": "买量9",
  36064. "type": "integer"
  36065. },
  36066. "calloptionpremiums": {
  36067. "description": "认购期权1",
  36068. "type": "integer"
  36069. },
  36070. "calloptionpremiums2": {
  36071. "description": "认购期权2",
  36072. "type": "integer"
  36073. },
  36074. "calloptionpremiums3": {
  36075. "description": "认购期权3",
  36076. "type": "integer"
  36077. },
  36078. "calloptionpremiums4": {
  36079. "description": "认购期权4",
  36080. "type": "integer"
  36081. },
  36082. "calloptionpremiums5": {
  36083. "description": "认购期权5",
  36084. "type": "integer"
  36085. },
  36086. "cleartime": {
  36087. "description": "清盘时间",
  36088. "type": "integer"
  36089. },
  36090. "exchangecode": {
  36091. "description": "交易所代码",
  36092. "type": "integer"
  36093. },
  36094. "exchangedate": {
  36095. "description": "交易日",
  36096. "type": "integer"
  36097. },
  36098. "goodscode": {
  36099. "description": "商品代码",
  36100. "type": "string"
  36101. },
  36102. "grepmarketprice": {
  36103. "description": "暗盘价 港股专用",
  36104. "type": "number"
  36105. },
  36106. "highest": {
  36107. "description": "最高价",
  36108. "type": "number"
  36109. },
  36110. "holdincrement": {
  36111. "description": "单笔持仓",
  36112. "type": "integer"
  36113. },
  36114. "holdvolume": {
  36115. "description": "持仓",
  36116. "type": "integer"
  36117. },
  36118. "iep": {
  36119. "description": "平衡价 港股专用",
  36120. "type": "number"
  36121. },
  36122. "iev": {
  36123. "description": "平衡量 港股专用",
  36124. "type": "number"
  36125. },
  36126. "inventory": {
  36127. "description": "库存",
  36128. "type": "integer"
  36129. },
  36130. "iscleared": {
  36131. "description": "是否清盘标志",
  36132. "type": "integer"
  36133. },
  36134. "issettled": {
  36135. "description": "是否结算标志",
  36136. "type": "integer"
  36137. },
  36138. "last": {
  36139. "description": "最新价",
  36140. "type": "number"
  36141. },
  36142. "lastlot": {
  36143. "description": "最新成交手数",
  36144. "type": "integer"
  36145. },
  36146. "lasttime": {
  36147. "description": "行情时间(只有现价变化行情时间才变化)",
  36148. "type": "string"
  36149. },
  36150. "lastturnover": {
  36151. "description": "最新成交金额",
  36152. "type": "number"
  36153. },
  36154. "lastvolume": {
  36155. "description": "最新成交量",
  36156. "type": "integer"
  36157. },
  36158. "limitdown": {
  36159. "description": "跌停价",
  36160. "type": "number"
  36161. },
  36162. "limitup": {
  36163. "description": "涨停价",
  36164. "type": "number"
  36165. },
  36166. "lowest": {
  36167. "description": "最低价",
  36168. "type": "number"
  36169. },
  36170. "nontotalholdervolume": {
  36171. "description": "非交易持仓量",
  36172. "type": "integer"
  36173. },
  36174. "nontotallot": {
  36175. "description": "非交易总手数",
  36176. "type": "integer"
  36177. },
  36178. "nontotalturnover": {
  36179. "description": "非交易总金额",
  36180. "type": "integer"
  36181. },
  36182. "nontotalvolume": {
  36183. "description": "非交易总量",
  36184. "type": "integer"
  36185. },
  36186. "opened": {
  36187. "description": "开盘价",
  36188. "type": "number"
  36189. },
  36190. "opentime": {
  36191. "description": "开盘时间",
  36192. "type": "string"
  36193. },
  36194. "orderid": {
  36195. "description": "序号",
  36196. "type": "integer"
  36197. },
  36198. "preclose": {
  36199. "description": "昨收",
  36200. "type": "number"
  36201. },
  36202. "preholdvolume": {
  36203. "description": "昨持仓",
  36204. "type": "integer"
  36205. },
  36206. "presettle": {
  36207. "description": "昨结价",
  36208. "type": "number"
  36209. },
  36210. "publictradetype": {
  36211. "description": "公共交易标志类型 港股专用",
  36212. "type": "string"
  36213. },
  36214. "putoptionpremiums": {
  36215. "description": "认沽期权1",
  36216. "type": "integer"
  36217. },
  36218. "putoptionpremiums2": {
  36219. "description": "认沽期权2",
  36220. "type": "integer"
  36221. },
  36222. "putoptionpremiums3": {
  36223. "description": "认沽期权3",
  36224. "type": "integer"
  36225. },
  36226. "putoptionpremiums4": {
  36227. "description": "认沽期权4",
  36228. "type": "integer"
  36229. },
  36230. "putoptionpremiums5": {
  36231. "description": "认沽期权5",
  36232. "type": "integer"
  36233. },
  36234. "settle": {
  36235. "description": "结算价",
  36236. "type": "number"
  36237. },
  36238. "strikeprice": {
  36239. "description": "发行价",
  36240. "type": "number"
  36241. },
  36242. "totalaskvolume": {
  36243. "description": "内盘",
  36244. "type": "integer"
  36245. },
  36246. "totalbidvolume": {
  36247. "description": "外盘",
  36248. "type": "integer"
  36249. },
  36250. "totallot": {
  36251. "description": "总手数",
  36252. "type": "integer"
  36253. },
  36254. "totalturnover": {
  36255. "description": "总金额",
  36256. "type": "number"
  36257. },
  36258. "totalvolume": {
  36259. "description": "总量",
  36260. "type": "integer"
  36261. },
  36262. "utclasttime": {
  36263. "description": "utc的行情时间",
  36264. "type": "string"
  36265. }
  36266. }
  36267. },
  36268. "quote.QueryTSDataRsp": {
  36269. "type": "object",
  36270. "properties": {
  36271. "Count": {
  36272. "description": "交易日应有数据个数",
  36273. "type": "integer"
  36274. },
  36275. "decimalPlace": {
  36276. "description": "小数位",
  36277. "type": "integer"
  36278. },
  36279. "endTime": {
  36280. "description": "结束时间",
  36281. "type": "string"
  36282. },
  36283. "goodsCode": {
  36284. "description": "商品代码",
  36285. "type": "string"
  36286. },
  36287. "historyDatas": {
  36288. "description": "历史数据",
  36289. "type": "array",
  36290. "items": {
  36291. "$ref": "#/definitions/quote.HistoryData"
  36292. }
  36293. },
  36294. "outGoodsCode": {
  36295. "description": "外部商品代码",
  36296. "type": "string"
  36297. },
  36298. "preSettle": {
  36299. "description": "昨结价",
  36300. "type": "number"
  36301. },
  36302. "runSteps": {
  36303. "description": "交易日开休市计划",
  36304. "type": "array",
  36305. "items": {
  36306. "$ref": "#/definitions/quote.TSDataRunStep"
  36307. }
  36308. },
  36309. "startTime": {
  36310. "description": "开始时间",
  36311. "type": "string"
  36312. },
  36313. "tradeDate": {
  36314. "description": "交易日",
  36315. "type": "string"
  36316. }
  36317. }
  36318. },
  36319. "quote.TSDataRunStep": {
  36320. "type": "object",
  36321. "properties": {
  36322. "end": {
  36323. "description": "真实结束时间",
  36324. "type": "string"
  36325. },
  36326. "endflag": {
  36327. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  36328. "type": "integer"
  36329. },
  36330. "endtime": {
  36331. "description": "结束时间(HH:mm)",
  36332. "type": "string"
  36333. },
  36334. "endweekday": {
  36335. "description": "结束周几",
  36336. "type": "integer"
  36337. },
  36338. "groupid": {
  36339. "description": "分组ID",
  36340. "type": "integer"
  36341. },
  36342. "runstep": {
  36343. "description": "运行阶段 - 2:连续交易",
  36344. "type": "integer"
  36345. },
  36346. "sectionid": {
  36347. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  36348. "type": "integer"
  36349. },
  36350. "start": {
  36351. "description": "真实开始时间",
  36352. "type": "string"
  36353. },
  36354. "startflag": {
  36355. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  36356. "type": "integer"
  36357. },
  36358. "starttime": {
  36359. "description": "起始时间(HH:mm)",
  36360. "type": "string"
  36361. },
  36362. "startweekday": {
  36363. "description": "起始周几",
  36364. "type": "integer"
  36365. },
  36366. "tradeweekday": {
  36367. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  36368. "type": "integer"
  36369. }
  36370. }
  36371. },
  36372. "szdz.QueryConvertLogRsp": {
  36373. "type": "object",
  36374. "required": [
  36375. "logid"
  36376. ],
  36377. "properties": {
  36378. "accountid": {
  36379. "description": "资金账户ID",
  36380. "type": "integer"
  36381. },
  36382. "clientticket": {
  36383. "description": "客户端流水号",
  36384. "type": "string"
  36385. },
  36386. "converttype": {
  36387. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  36388. "type": "integer"
  36389. },
  36390. "createtime": {
  36391. "description": "记账时间",
  36392. "type": "string"
  36393. },
  36394. "daymaxvalue": {
  36395. "description": "配置当日最大转入限制",
  36396. "type": "number"
  36397. },
  36398. "daymaxvalue2": {
  36399. "description": "配置当日最大转入限制(转入)",
  36400. "type": "number"
  36401. },
  36402. "goodscode": {
  36403. "description": "商品代码",
  36404. "type": "string"
  36405. },
  36406. "goodsname": {
  36407. "description": "商品名称",
  36408. "type": "string"
  36409. },
  36410. "handlestatus": {
  36411. "description": "处理状态",
  36412. "type": "integer"
  36413. },
  36414. "innergoodsid": {
  36415. "description": "内部商品ID",
  36416. "type": "integer"
  36417. },
  36418. "inratio": {
  36419. "description": "配置转入比值",
  36420. "type": "integer"
  36421. },
  36422. "invalue": {
  36423. "description": "目标值",
  36424. "type": "number"
  36425. },
  36426. "logid": {
  36427. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36428. "type": "integer"
  36429. },
  36430. "mobile": {
  36431. "description": "手机号码(加密存储)",
  36432. "type": "string"
  36433. },
  36434. "outergoodscode": {
  36435. "description": "外部商品代码[JD\\PD]",
  36436. "type": "string"
  36437. },
  36438. "outratio": {
  36439. "description": "配置转出比值",
  36440. "type": "integer"
  36441. },
  36442. "outvalue": {
  36443. "description": "源值",
  36444. "type": "number"
  36445. },
  36446. "pddecimalplace": {
  36447. "description": "PD小数位",
  36448. "type": "integer"
  36449. },
  36450. "qty": {
  36451. "description": "数量",
  36452. "type": "string"
  36453. },
  36454. "remark": {
  36455. "description": "备注",
  36456. "type": "string"
  36457. },
  36458. "sessionid": {
  36459. "description": "会话ID",
  36460. "type": "integer"
  36461. },
  36462. "timemaxvalue": {
  36463. "description": "配置单次最大转入限制",
  36464. "type": "number"
  36465. },
  36466. "timemaxvalue2": {
  36467. "description": "配置单次最大转入限制(转入)",
  36468. "type": "number"
  36469. },
  36470. "timeminvalue": {
  36471. "description": "配置单次最小数量限制",
  36472. "type": "number"
  36473. },
  36474. "timeminvalue2": {
  36475. "description": "配置单次最小数量限制(转入)",
  36476. "type": "number"
  36477. },
  36478. "tradedate": {
  36479. "description": "交易日(yyyyMMdd)",
  36480. "type": "string"
  36481. },
  36482. "userid": {
  36483. "description": "用户ID",
  36484. "type": "integer"
  36485. }
  36486. }
  36487. },
  36488. "szdz.QueryGoodsPickupRsp": {
  36489. "type": "object",
  36490. "required": [
  36491. "takeorderid"
  36492. ],
  36493. "properties": {
  36494. "accountid": {
  36495. "description": "账户ID",
  36496. "type": "integer"
  36497. },
  36498. "address": {
  36499. "description": "提货人详细地址",
  36500. "type": "string"
  36501. },
  36502. "auditer": {
  36503. "description": "审核人",
  36504. "type": "integer"
  36505. },
  36506. "audittime": {
  36507. "description": "审核时间",
  36508. "type": "string"
  36509. },
  36510. "cardnum": {
  36511. "description": "提货人证件号码",
  36512. "type": "string"
  36513. },
  36514. "cardtypeid": {
  36515. "description": "提货人证件类型",
  36516. "type": "integer"
  36517. },
  36518. "checkremark": {
  36519. "description": "审核备注",
  36520. "type": "string"
  36521. },
  36522. "goodscode": {
  36523. "description": "商品代码",
  36524. "type": "string"
  36525. },
  36526. "goodsid": {
  36527. "description": "商品ID",
  36528. "type": "integer"
  36529. },
  36530. "goodsname": {
  36531. "description": "商品名称",
  36532. "type": "string"
  36533. },
  36534. "handlestatus": {
  36535. "description": "处理状态",
  36536. "type": "integer"
  36537. },
  36538. "marketid": {
  36539. "description": "市场ID",
  36540. "type": "integer"
  36541. },
  36542. "phonenum": {
  36543. "description": "提货人联系方式",
  36544. "type": "string"
  36545. },
  36546. "qty": {
  36547. "description": "提货数量",
  36548. "type": "number"
  36549. },
  36550. "recivername": {
  36551. "description": "提货人姓名",
  36552. "type": "string"
  36553. },
  36554. "reqtime": {
  36555. "description": "更新时间",
  36556. "type": "string"
  36557. },
  36558. "takemode": {
  36559. "description": "提货方式 - 2:自提 3:配送",
  36560. "type": "integer"
  36561. },
  36562. "takeorderid": {
  36563. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  36564. "type": "string"
  36565. },
  36566. "takeorderstatus": {
  36567. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  36568. "type": "integer"
  36569. },
  36570. "takeremark": {
  36571. "description": "提货备注",
  36572. "type": "string"
  36573. },
  36574. "tradedate": {
  36575. "description": "交易日(yyyyMMdd)",
  36576. "type": "string"
  36577. },
  36578. "userid": {
  36579. "description": "用户ID",
  36580. "type": "integer"
  36581. }
  36582. }
  36583. },
  36584. "szdz.QueryRecieptOrderRsp": {
  36585. "type": "object",
  36586. "required": [
  36587. "ordertime"
  36588. ],
  36589. "properties": {
  36590. "accountName": {
  36591. "description": "所属账号名称(已脱敏)",
  36592. "type": "string"
  36593. },
  36594. "accountid": {
  36595. "description": "资金账号",
  36596. "type": "integer"
  36597. },
  36598. "buyorsell": {
  36599. "description": "方向 - 0:买 1:卖",
  36600. "type": "integer"
  36601. },
  36602. "enableqty": {
  36603. "description": "可摘数量",
  36604. "type": "integer"
  36605. },
  36606. "goodscode": {
  36607. "description": "商品代码",
  36608. "type": "string"
  36609. },
  36610. "goodsid": {
  36611. "description": "商品ID",
  36612. "type": "integer"
  36613. },
  36614. "goodsname": {
  36615. "description": "商品名称",
  36616. "type": "string"
  36617. },
  36618. "orderid": {
  36619. "description": "委托单号",
  36620. "type": "string"
  36621. },
  36622. "orderprice": {
  36623. "description": "委托价格",
  36624. "type": "number"
  36625. },
  36626. "ordertime": {
  36627. "description": "委托时间",
  36628. "type": "string"
  36629. },
  36630. "tradedate": {
  36631. "description": "交易日(yyyyMMdd)",
  36632. "type": "string"
  36633. }
  36634. }
  36635. },
  36636. "szdz.QuerySZDZTradePositionRsp": {
  36637. "type": "object",
  36638. "properties": {
  36639. "accountid": {
  36640. "description": "账号Id",
  36641. "type": "integer"
  36642. },
  36643. "agreeunit": {
  36644. "description": "合约单位",
  36645. "type": "number"
  36646. },
  36647. "averageprice": {
  36648. "description": "持仓均价",
  36649. "type": "number"
  36650. },
  36651. "buyorsell": {
  36652. "description": "方向 - 0:买 1:卖",
  36653. "type": "integer"
  36654. },
  36655. "closetotalqty": {
  36656. "description": "平仓总数量",
  36657. "type": "integer"
  36658. },
  36659. "curholderamount": {
  36660. "description": "当前持仓总金额",
  36661. "type": "number"
  36662. },
  36663. "curpositionqty": {
  36664. "description": "当前持仓总数量",
  36665. "type": "integer"
  36666. },
  36667. "currencyid": {
  36668. "description": "报价货币ID",
  36669. "type": "integer"
  36670. },
  36671. "curtdposition": {
  36672. "description": "期末今日头寸",
  36673. "type": "integer"
  36674. },
  36675. "decimalplace": {
  36676. "description": "报价小数位",
  36677. "type": "integer"
  36678. },
  36679. "enableqty": {
  36680. "description": "可用量",
  36681. "type": "integer"
  36682. },
  36683. "fretdposition": {
  36684. "description": "冻结今日头寸",
  36685. "type": "integer"
  36686. },
  36687. "frozenqty": {
  36688. "description": "持仓冻结数量",
  36689. "type": "integer"
  36690. },
  36691. "goodscode": {
  36692. "description": "商品代码(内部)",
  36693. "type": "string"
  36694. },
  36695. "goodsid": {
  36696. "description": "商品Id",
  36697. "type": "integer"
  36698. },
  36699. "goodsname": {
  36700. "description": "商品名称",
  36701. "type": "string"
  36702. },
  36703. "goodunit": {
  36704. "description": "报价单位",
  36705. "type": "string"
  36706. },
  36707. "goodunitid": {
  36708. "description": "报价单位ID",
  36709. "type": "integer"
  36710. },
  36711. "holderamount": {
  36712. "description": "期初持仓总金额",
  36713. "type": "number"
  36714. },
  36715. "marketid": {
  36716. "description": "市场ID",
  36717. "type": "integer"
  36718. },
  36719. "openreqqty": {
  36720. "description": "开仓申请数量",
  36721. "type": "integer"
  36722. },
  36723. "opentotalqty": {
  36724. "description": "开仓总数量",
  36725. "type": "integer"
  36726. },
  36727. "otherfrozenqty": {
  36728. "description": "持仓其他冻结数量(交割冻结)",
  36729. "type": "integer"
  36730. },
  36731. "positionqty": {
  36732. "description": "期初持仓数量",
  36733. "type": "integer"
  36734. },
  36735. "szdz3freezqty": {
  36736. "description": "尚志大宗转换冻结总数量",
  36737. "type": "integer"
  36738. },
  36739. "tnqty": {
  36740. "description": "T+N冻结总量",
  36741. "type": "integer"
  36742. },
  36743. "tnusedqty": {
  36744. "description": "T+N使用量",
  36745. "type": "integer"
  36746. },
  36747. "trademode": {
  36748. "description": "交易模式",
  36749. "type": "integer"
  36750. },
  36751. "usedmargin": {
  36752. "description": "占用保证金",
  36753. "type": "number"
  36754. }
  36755. }
  36756. },
  36757. "taaccount.QueryAmountLogRsp": {
  36758. "type": "object",
  36759. "required": [
  36760. "accountid",
  36761. "amount",
  36762. "amountadjusttype",
  36763. "autoid",
  36764. "balance",
  36765. "createtime",
  36766. "currentbalance",
  36767. "operatetype"
  36768. ],
  36769. "properties": {
  36770. "OPERATETYPENAME": {
  36771. "description": "资金操作类型名称",
  36772. "type": "string"
  36773. },
  36774. "accountid": {
  36775. "description": "资金账户ID",
  36776. "type": "integer"
  36777. },
  36778. "agoodscode": {
  36779. "description": "竞拍商品代码",
  36780. "type": "string"
  36781. },
  36782. "agoodsname": {
  36783. "description": "竞拍商品名称",
  36784. "type": "string"
  36785. },
  36786. "amount": {
  36787. "description": "资金金额",
  36788. "type": "number"
  36789. },
  36790. "amountadjusttype": {
  36791. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  36792. "type": "integer"
  36793. },
  36794. "autoid": {
  36795. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  36796. "type": "integer"
  36797. },
  36798. "balance": {
  36799. "description": "期初余额",
  36800. "type": "number"
  36801. },
  36802. "businesscode": {
  36803. "description": "业务编号",
  36804. "type": "integer"
  36805. },
  36806. "createtime": {
  36807. "description": "发生时间",
  36808. "type": "string"
  36809. },
  36810. "currencyid": {
  36811. "description": "币种ID",
  36812. "type": "integer"
  36813. },
  36814. "currentbalance": {
  36815. "description": "期末余额(变动后金额)",
  36816. "type": "number"
  36817. },
  36818. "dgoodscode": {
  36819. "description": "交割商品代码",
  36820. "type": "string"
  36821. },
  36822. "dgoodsname": {
  36823. "description": "交割商品名称",
  36824. "type": "string"
  36825. },
  36826. "goodscode": {
  36827. "description": "商品代码",
  36828. "type": "string"
  36829. },
  36830. "goodsid": {
  36831. "description": "商品ID",
  36832. "type": "integer"
  36833. },
  36834. "goodsname": {
  36835. "description": "商品名称",
  36836. "type": "string"
  36837. },
  36838. "marketid": {
  36839. "description": "市场ID",
  36840. "type": "integer"
  36841. },
  36842. "marketname": {
  36843. "description": "市场名称",
  36844. "type": "string"
  36845. },
  36846. "moneyticket": {
  36847. "description": "资金流水号:银行端流水号",
  36848. "type": "integer"
  36849. },
  36850. "operatetype": {
  36851. "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:营销收款",
  36852. "type": "integer"
  36853. },
  36854. "relationorderid": {
  36855. "description": "关联单号",
  36856. "type": "string"
  36857. },
  36858. "remark": {
  36859. "description": "备注",
  36860. "type": "string"
  36861. },
  36862. "trademode": {
  36863. "description": "交易模式",
  36864. "type": "integer"
  36865. }
  36866. }
  36867. },
  36868. "taaccount.QueryHisAmountLogRsp": {
  36869. "type": "object",
  36870. "required": [
  36871. "accountid",
  36872. "amount",
  36873. "amountadjusttype",
  36874. "autoid",
  36875. "balance",
  36876. "createtime",
  36877. "currentbalance",
  36878. "histradedate",
  36879. "operatetype"
  36880. ],
  36881. "properties": {
  36882. "OPERATETYPENAME": {
  36883. "description": "资金操作类型名称",
  36884. "type": "string"
  36885. },
  36886. "accountid": {
  36887. "description": "资金账户ID",
  36888. "type": "integer"
  36889. },
  36890. "agoodscode": {
  36891. "description": "竞拍商品代码",
  36892. "type": "string"
  36893. },
  36894. "agoodsname": {
  36895. "description": "竞拍商品名称",
  36896. "type": "string"
  36897. },
  36898. "amount": {
  36899. "description": "资金金额",
  36900. "type": "number"
  36901. },
  36902. "amountadjusttype": {
  36903. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  36904. "type": "integer"
  36905. },
  36906. "autoid": {
  36907. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  36908. "type": "integer"
  36909. },
  36910. "balance": {
  36911. "description": "期初余额",
  36912. "type": "number"
  36913. },
  36914. "businesscode": {
  36915. "description": "业务编号",
  36916. "type": "integer"
  36917. },
  36918. "createtime": {
  36919. "description": "发生时间",
  36920. "type": "string"
  36921. },
  36922. "currencyid": {
  36923. "description": "币种ID",
  36924. "type": "integer"
  36925. },
  36926. "currentbalance": {
  36927. "description": "期末余额(变动后金额)",
  36928. "type": "number"
  36929. },
  36930. "dgoodscode": {
  36931. "description": "交割商品代码",
  36932. "type": "string"
  36933. },
  36934. "dgoodsname": {
  36935. "description": "交割商品名称",
  36936. "type": "string"
  36937. },
  36938. "goodscode": {
  36939. "description": "商品代码",
  36940. "type": "string"
  36941. },
  36942. "goodsid": {
  36943. "description": "商品ID",
  36944. "type": "integer"
  36945. },
  36946. "goodsname": {
  36947. "description": "商品名称",
  36948. "type": "string"
  36949. },
  36950. "histradedate": {
  36951. "description": "历史交易日",
  36952. "type": "string"
  36953. },
  36954. "isvaliddata": {
  36955. "description": "是否有效 - 0:无效 1:有效",
  36956. "type": "integer"
  36957. },
  36958. "marketid": {
  36959. "description": "市场ID",
  36960. "type": "integer"
  36961. },
  36962. "marketname": {
  36963. "description": "市场名称",
  36964. "type": "string"
  36965. },
  36966. "moneyticket": {
  36967. "description": "资金流水号:银行端流水号",
  36968. "type": "integer"
  36969. },
  36970. "operatetype": {
  36971. "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:营销收款",
  36972. "type": "integer"
  36973. },
  36974. "relationorderid": {
  36975. "description": "关联单号",
  36976. "type": "string"
  36977. },
  36978. "remark": {
  36979. "description": "备注",
  36980. "type": "string"
  36981. },
  36982. "trademode": {
  36983. "description": "交易模式",
  36984. "type": "integer"
  36985. }
  36986. }
  36987. },
  36988. "trade.QueryRecieptOrderRsp": {
  36989. "type": "object",
  36990. "required": [
  36991. "ordertime"
  36992. ],
  36993. "properties": {
  36994. "accountName": {
  36995. "description": "所属账号名称(已脱敏)",
  36996. "type": "string"
  36997. },
  36998. "accountid": {
  36999. "description": "资金账号",
  37000. "type": "integer"
  37001. },
  37002. "buyorsell": {
  37003. "description": "方向 - 0:买 1:卖",
  37004. "type": "integer"
  37005. },
  37006. "enableqty": {
  37007. "description": "可摘数量",
  37008. "type": "integer"
  37009. },
  37010. "goodscode": {
  37011. "description": "商品代码",
  37012. "type": "string"
  37013. },
  37014. "goodsid": {
  37015. "description": "商品ID",
  37016. "type": "integer"
  37017. },
  37018. "goodsname": {
  37019. "description": "商品名称",
  37020. "type": "string"
  37021. },
  37022. "orderid": {
  37023. "description": "委托单号",
  37024. "type": "string"
  37025. },
  37026. "orderprice": {
  37027. "description": "委托价格",
  37028. "type": "number"
  37029. },
  37030. "ordertime": {
  37031. "description": "委托时间",
  37032. "type": "string"
  37033. },
  37034. "tradedate": {
  37035. "description": "交易日(yyyyMMdd)",
  37036. "type": "string"
  37037. }
  37038. }
  37039. },
  37040. "user.LoginQueryRsp": {
  37041. "type": "object",
  37042. "properties": {
  37043. "areaRoles": {
  37044. "description": "所属角色信息",
  37045. "type": "array",
  37046. "items": {
  37047. "$ref": "#/definitions/models.Arearole"
  37048. }
  37049. },
  37050. "externalExchanges": {
  37051. "description": "外部交易所",
  37052. "type": "array",
  37053. "items": {
  37054. "$ref": "#/definitions/models.Externalexchange"
  37055. }
  37056. },
  37057. "goodsgroups": {
  37058. "description": "商品组",
  37059. "type": "array",
  37060. "items": {
  37061. "$ref": "#/definitions/models.Goodsgroup"
  37062. }
  37063. },
  37064. "loginAccount": {
  37065. "description": "登录账号",
  37066. "type": "object",
  37067. "$ref": "#/definitions/models.Loginaccount"
  37068. },
  37069. "markets": {
  37070. "description": "市场",
  37071. "type": "array",
  37072. "items": {
  37073. "$ref": "#/definitions/models.Market"
  37074. }
  37075. },
  37076. "systemParams": {
  37077. "description": "系统参数",
  37078. "type": "array",
  37079. "items": {
  37080. "$ref": "#/definitions/models.Systemparam"
  37081. }
  37082. },
  37083. "userAccount": {
  37084. "description": "用户账号",
  37085. "type": "object",
  37086. "$ref": "#/definitions/models.Useraccount"
  37087. },
  37088. "userInfo": {
  37089. "description": "用户信息",
  37090. "type": "object",
  37091. "$ref": "#/definitions/models.Userinfo"
  37092. },
  37093. "username": {
  37094. "description": "用户姓名",
  37095. "type": "string"
  37096. }
  37097. }
  37098. }
  37099. },
  37100. "securityDefinitions": {
  37101. "ApiKeyAuth": {
  37102. "type": "apiKey",
  37103. "name": "Authorization",
  37104. "in": "header"
  37105. }
  37106. }
  37107. }`
  37108. type swaggerInfo struct {
  37109. Version string
  37110. Host string
  37111. BasePath string
  37112. Schemes []string
  37113. Title string
  37114. Description string
  37115. }
  37116. // SwaggerInfo holds exported Swagger Info so clients can modify it
  37117. var SwaggerInfo = swaggerInfo{
  37118. Version: "1.0",
  37119. Host: "",
  37120. BasePath: "/api",
  37121. Schemes: []string{},
  37122. Title: "MTP2.0 查询服务 API",
  37123. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  37124. }
  37125. type s struct{}
  37126. func (s *s) ReadDoc() string {
  37127. sInfo := SwaggerInfo
  37128. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  37129. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  37130. "marshal": func(v interface{}) string {
  37131. a, _ := json.Marshal(v)
  37132. return string(a)
  37133. },
  37134. }).Parse(doc)
  37135. if err != nil {
  37136. return doc
  37137. }
  37138. var tpl bytes.Buffer
  37139. if err := t.Execute(&tpl, sInfo); err != nil {
  37140. return doc
  37141. }
  37142. return tpl.String()
  37143. }
  37144. func init() {
  37145. swag.Register(swag.Name, &s{})
  37146. }