docs.go 1.7 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188451894519045191451924519345194451954519645197451984519945200452014520245203452044520545206452074520845209452104521145212452134521445215452164521745218452194522045221452224522345224452254522645227452284522945230452314523245233452344523545236452374523845239452404524145242452434524445245452464524745248452494525045251452524525345254452554525645257452584525945260452614526245263452644526545266452674526845269452704527145272452734527445275452764527745278452794528045281452824528345284452854528645287452884528945290452914529245293452944529545296452974529845299453004530145302453034530445305453064530745308453094531045311453124531345314453154531645317453184531945320453214532245323453244532545326453274532845329453304533145332453334533445335453364533745338453394534045341453424534345344453454534645347453484534945350453514535245353453544535545356453574535845359453604536145362453634536445365453664536745368453694537045371453724537345374453754537645377453784537945380453814538245383453844538545386453874538845389453904539145392453934539445395453964539745398453994540045401454024540345404454054540645407454084540945410454114541245413454144541545416454174541845419454204542145422454234542445425454264542745428454294543045431454324543345434454354543645437454384543945440454414544245443454444544545446454474544845449454504545145452454534545445455454564545745458454594546045461454624546345464454654546645467454684546945470454714547245473454744547545476454774547845479454804548145482454834548445485454864548745488454894549045491454924549345494454954549645497454984549945500455014550245503455044550545506455074550845509455104551145512455134551445515455164551745518455194552045521455224552345524455254552645527455284552945530455314553245533455344553545536455374553845539455404554145542455434554445545455464554745548455494555045551455524555345554455554555645557455584555945560455614556245563455644556545566455674556845569455704557145572455734557445575455764557745578455794558045581455824558345584455854558645587455884558945590455914559245593455944559545596455974559845599456004560145602456034560445605456064560745608456094561045611456124561345614456154561645617456184561945620456214562245623456244562545626456274562845629456304563145632456334563445635456364563745638456394564045641456424564345644456454564645647456484564945650456514565245653456544565545656456574565845659456604566145662456634566445665456664566745668456694567045671456724567345674456754567645677456784567945680456814568245683456844568545686456874568845689456904569145692456934569445695456964569745698456994570045701457024570345704457054570645707457084570945710457114571245713457144571545716457174571845719457204572145722457234572445725457264572745728457294573045731457324573345734457354573645737457384573945740457414574245743457444574545746457474574845749457504575145752457534575445755457564575745758457594576045761457624576345764457654576645767457684576945770457714577245773457744577545776457774577845779457804578145782457834578445785457864578745788457894579045791457924579345794457954579645797457984579945800458014580245803458044580545806458074580845809458104581145812458134581445815458164581745818458194582045821458224582345824458254582645827458284582945830458314583245833458344583545836458374583845839458404584145842458434584445845458464584745848458494585045851458524585345854458554585645857458584585945860458614586245863458644586545866458674586845869458704587145872458734587445875458764587745878458794588045881458824588345884458854588645887458884588945890458914589245893458944589545896458974589845899459004590145902459034590445905459064590745908459094591045911459124591345914459154591645917459184591945920459214592245923459244592545926459274592845929459304593145932459334593445935459364593745938459394594045941459424594345944459454594645947459484594945950459514595245953459544595545956459574595845959459604596145962459634596445965459664596745968459694597045971459724597345974459754597645977459784597945980459814598245983459844598545986459874598845989459904599145992459934599445995459964599745998459994600046001460024600346004460054600646007460084600946010460114601246013460144601546016460174601846019460204602146022460234602446025460264602746028460294603046031460324603346034460354603646037460384603946040460414604246043460444604546046460474604846049460504605146052460534605446055460564605746058460594606046061460624606346064460654606646067460684606946070460714607246073460744607546076460774607846079460804608146082460834608446085460864608746088460894609046091460924609346094460954609646097460984609946100461014610246103461044610546106461074610846109461104611146112461134611446115461164611746118461194612046121461224612346124461254612646127461284612946130461314613246133461344613546136461374613846139461404614146142461434614446145461464614746148461494615046151461524615346154461554615646157461584615946160461614616246163461644616546166461674616846169461704617146172461734617446175461764617746178461794618046181461824618346184461854618646187461884618946190461914619246193461944619546196461974619846199462004620146202462034620446205462064620746208462094621046211462124621346214462154621646217462184621946220462214622246223462244622546226462274622846229462304623146232462334623446235462364623746238462394624046241462424624346244462454624646247462484624946250462514625246253462544625546256462574625846259462604626146262462634626446265462664626746268462694627046271462724627346274462754627646277462784627946280462814628246283462844628546286462874628846289462904629146292462934629446295462964629746298462994630046301463024630346304463054630646307463084630946310463114631246313463144631546316463174631846319463204632146322463234632446325463264632746328463294633046331463324633346334463354633646337463384633946340463414634246343463444634546346463474634846349463504635146352463534635446355463564635746358463594636046361463624636346364463654636646367463684636946370463714637246373463744637546376463774637846379463804638146382463834638446385463864638746388463894639046391463924639346394463954639646397463984639946400464014640246403464044640546406464074640846409464104641146412464134641446415464164641746418464194642046421464224642346424464254642646427464284642946430464314643246433464344643546436464374643846439464404644146442464434644446445464464644746448464494645046451464524645346454464554645646457464584645946460464614646246463464644646546466464674646846469464704647146472464734647446475464764647746478464794648046481464824648346484464854648646487464884648946490464914649246493464944649546496464974649846499465004650146502465034650446505465064650746508465094651046511465124651346514465154651646517465184651946520465214652246523465244652546526465274652846529465304653146532465334653446535465364653746538465394654046541465424654346544465454654646547465484654946550465514655246553465544655546556465574655846559465604656146562465634656446565465664656746568465694657046571465724657346574465754657646577465784657946580465814658246583465844658546586465874658846589465904659146592465934659446595465964659746598465994660046601466024660346604466054660646607466084660946610466114661246613466144661546616466174661846619466204662146622466234662446625466264662746628466294663046631466324663346634466354663646637466384663946640466414664246643466444664546646466474664846649466504665146652466534665446655466564665746658466594666046661466624666346664466654666646667466684666946670466714667246673466744667546676466774667846679466804668146682466834668446685466864668746688466894669046691466924669346694466954669646697466984669946700467014670246703467044670546706467074670846709467104671146712467134671446715467164671746718467194672046721467224672346724467254672646727467284672946730467314673246733467344673546736467374673846739467404674146742467434674446745467464674746748467494675046751467524675346754467554675646757467584675946760467614676246763467644676546766467674676846769467704677146772467734677446775467764677746778467794678046781467824678346784467854678646787467884678946790467914679246793467944679546796467974679846799468004680146802468034680446805468064680746808468094681046811468124681346814468154681646817468184681946820468214682246823468244682546826468274682846829468304683146832468334683446835468364683746838468394684046841468424684346844468454684646847468484684946850468514685246853468544685546856468574685846859468604686146862468634686446865468664686746868468694687046871468724687346874468754687646877468784687946880468814688246883468844688546886468874688846889468904689146892468934689446895468964689746898468994690046901469024690346904469054690646907469084690946910469114691246913469144691546916469174691846919469204692146922469234692446925469264692746928469294693046931469324693346934469354693646937469384693946940469414694246943469444694546946469474694846949469504695146952469534695446955469564695746958469594696046961469624696346964469654696646967469684696946970469714697246973469744697546976469774697846979469804698146982469834698446985469864698746988469894699046991469924699346994469954699646997469984699947000470014700247003470044700547006470074700847009470104701147012470134701447015470164701747018470194702047021470224702347024470254702647027470284702947030470314703247033470344703547036470374703847039470404704147042470434704447045470464704747048470494705047051470524705347054470554705647057470584705947060470614706247063470644706547066470674706847069470704707147072470734707447075470764707747078470794708047081470824708347084470854708647087470884708947090470914709247093470944709547096470974709847099471004710147102471034710447105471064710747108471094711047111471124711347114471154711647117471184711947120471214712247123471244712547126471274712847129471304713147132471334713447135471364713747138471394714047141471424714347144471454714647147471484714947150471514715247153471544715547156471574715847159471604716147162471634716447165471664716747168471694717047171471724717347174471754717647177471784717947180471814718247183471844718547186471874718847189471904719147192471934719447195471964719747198471994720047201472024720347204472054720647207472084720947210472114721247213472144721547216472174721847219472204722147222472234722447225472264722747228472294723047231472324723347234472354723647237472384723947240472414724247243472444724547246472474724847249472504725147252472534725447255472564725747258472594726047261472624726347264472654726647267472684726947270472714727247273472744727547276472774727847279
  1. // Package docs GENERATED BY SWAG; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import "github.com/swaggo/swag"
  5. const docTemplate = `{
  6. "schemes": {{ marshal .Schemes }},
  7. "swagger": "2.0",
  8. "info": {
  9. "description": "{{escape .Description}}",
  10. "title": "{{.Title}}",
  11. "termsOfService": "http://www.muchinfo.cn",
  12. "contact": {},
  13. "version": "{{.Version}}"
  14. },
  15. "host": "{{.Host}}",
  16. "basePath": "{{.BasePath}}",
  17. "paths": {
  18. "/CPTrade/QueryCPTradeMyBidInfos": {
  19. "get": {
  20. "security": [
  21. {
  22. "ApiKeyAuth": []
  23. }
  24. ],
  25. "produces": [
  26. "application/json"
  27. ],
  28. "tags": [
  29. "产能预售"
  30. ],
  31. "summary": "查询产能预售我的出价信息",
  32. "parameters": [
  33. {
  34. "type": "integer",
  35. "description": "资金账户",
  36. "name": "accountid",
  37. "in": "query",
  38. "required": true
  39. },
  40. {
  41. "type": "integer",
  42. "description": "预售市场ID",
  43. "name": "marketid",
  44. "in": "query"
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售商品ID",
  49. "name": "goodsid",
  50. "in": "query"
  51. }
  52. ],
  53. "responses": {
  54. "200": {
  55. "description": "OK",
  56. "schema": {
  57. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  58. }
  59. },
  60. "500": {
  61. "description": "Internal Server Error",
  62. "schema": {
  63. "$ref": "#/definitions/app.Response"
  64. }
  65. }
  66. }
  67. }
  68. },
  69. "/CPTrade/QueryCPTradeOrderDetail": {
  70. "get": {
  71. "security": [
  72. {
  73. "ApiKeyAuth": []
  74. }
  75. ],
  76. "produces": [
  77. "application/json"
  78. ],
  79. "tags": [
  80. "产能预售"
  81. ],
  82. "summary": "查询产能预售委托单信息",
  83. "parameters": [
  84. {
  85. "type": "integer",
  86. "description": "预售商品ID",
  87. "name": "goodsid",
  88. "in": "query"
  89. },
  90. {
  91. "type": "integer",
  92. "description": "预售市场ID",
  93. "name": "marketid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "string",
  98. "description": "预售商品ID列表 - 格式:1,2,3",
  99. "name": "goodsids",
  100. "in": "query"
  101. }
  102. ],
  103. "responses": {
  104. "200": {
  105. "description": "OK",
  106. "schema": {
  107. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  108. }
  109. },
  110. "500": {
  111. "description": "Internal Server Error",
  112. "schema": {
  113. "$ref": "#/definitions/app.Response"
  114. }
  115. }
  116. }
  117. }
  118. },
  119. "/CPTrade/QueryMyCPTradeGoods": {
  120. "get": {
  121. "security": [
  122. {
  123. "ApiKeyAuth": []
  124. }
  125. ],
  126. "produces": [
  127. "application/json"
  128. ],
  129. "tags": [
  130. "产能预售"
  131. ],
  132. "summary": "查询我的预售信息",
  133. "parameters": [
  134. {
  135. "type": "integer",
  136. "description": "资金账户",
  137. "name": "accountid",
  138. "in": "query",
  139. "required": true
  140. }
  141. ],
  142. "responses": {
  143. "200": {
  144. "description": "OK",
  145. "schema": {
  146. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  147. }
  148. },
  149. "500": {
  150. "description": "Internal Server Error",
  151. "schema": {
  152. "$ref": "#/definitions/app.Response"
  153. }
  154. }
  155. }
  156. }
  157. },
  158. "/CPTrade/QueryPositionCancel": {
  159. "get": {
  160. "security": [
  161. {
  162. "ApiKeyAuth": []
  163. }
  164. ],
  165. "produces": [
  166. "application/json"
  167. ],
  168. "tags": [
  169. "产能预售"
  170. ],
  171. "summary": "查询远期订单注销申请信息",
  172. "parameters": [
  173. {
  174. "type": "integer",
  175. "description": "账户ID",
  176. "name": "userid",
  177. "in": "query",
  178. "required": true
  179. },
  180. {
  181. "type": "integer",
  182. "description": "注销ID",
  183. "name": "cancelid",
  184. "in": "query"
  185. },
  186. {
  187. "type": "integer",
  188. "description": "资金账户ID",
  189. "name": "accountid",
  190. "in": "query"
  191. }
  192. ],
  193. "responses": {
  194. "200": {
  195. "description": "OK",
  196. "schema": {
  197. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  198. }
  199. },
  200. "500": {
  201. "description": "Internal Server Error",
  202. "schema": {
  203. "$ref": "#/definitions/app.Response"
  204. }
  205. }
  206. }
  207. }
  208. },
  209. "/CPTrade/QueryPreasleApply": {
  210. "get": {
  211. "security": [
  212. {
  213. "ApiKeyAuth": []
  214. }
  215. ],
  216. "produces": [
  217. "application/json"
  218. ],
  219. "tags": [
  220. "产能预售"
  221. ],
  222. "summary": "查询产能预售申请信息",
  223. "parameters": [
  224. {
  225. "type": "integer",
  226. "description": "账户ID",
  227. "name": "userid",
  228. "in": "query",
  229. "required": true
  230. },
  231. {
  232. "type": "integer",
  233. "description": "申请ID",
  234. "name": "applyid",
  235. "in": "query"
  236. },
  237. {
  238. "type": "integer",
  239. "description": "资金账户ID",
  240. "name": "accountid",
  241. "in": "query"
  242. }
  243. ],
  244. "responses": {
  245. "200": {
  246. "description": "OK",
  247. "schema": {
  248. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  249. }
  250. },
  251. "500": {
  252. "description": "Internal Server Error",
  253. "schema": {
  254. "$ref": "#/definitions/app.Response"
  255. }
  256. }
  257. }
  258. }
  259. },
  260. "/CPTrade/QueryPresaleGoodsEx": {
  261. "get": {
  262. "security": [
  263. {
  264. "ApiKeyAuth": []
  265. }
  266. ],
  267. "produces": [
  268. "application/json"
  269. ],
  270. "tags": [
  271. "产能预售"
  272. ],
  273. "summary": "查询产能预售商品扩展信息",
  274. "parameters": [
  275. {
  276. "type": "integer",
  277. "description": "预售商品ID",
  278. "name": "goodsid",
  279. "in": "query"
  280. },
  281. {
  282. "type": "integer",
  283. "description": "预售市场ID",
  284. "name": "marketid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  290. "name": "presalemode",
  291. "in": "query"
  292. },
  293. {
  294. "type": "string",
  295. "description": "预售商品ID列表 - 格式:1,2,3",
  296. "name": "goodsids",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品代码",
  302. "name": "goodscode",
  303. "in": "query"
  304. }
  305. ],
  306. "responses": {
  307. "200": {
  308. "description": "OK",
  309. "schema": {
  310. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  311. }
  312. },
  313. "500": {
  314. "description": "Internal Server Error",
  315. "schema": {
  316. "$ref": "#/definitions/app.Response"
  317. }
  318. }
  319. }
  320. }
  321. },
  322. "/CPTrade/QueryUserGoodsData": {
  323. "get": {
  324. "security": [
  325. {
  326. "ApiKeyAuth": []
  327. }
  328. ],
  329. "produces": [
  330. "application/json"
  331. ],
  332. "tags": [
  333. "产能预售"
  334. ],
  335. "summary": "查询远期订单信息",
  336. "parameters": [
  337. {
  338. "type": "integer",
  339. "description": "资金账户ID",
  340. "name": "accountid",
  341. "in": "query",
  342. "required": true
  343. }
  344. ],
  345. "responses": {
  346. "200": {
  347. "description": "OK",
  348. "schema": {
  349. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  350. }
  351. },
  352. "500": {
  353. "description": "Internal Server Error",
  354. "schema": {
  355. "$ref": "#/definitions/app.Response"
  356. }
  357. }
  358. }
  359. }
  360. },
  361. "/Common/DeleteNewFuncmenu": {
  362. "delete": {
  363. "security": [
  364. {
  365. "ApiKeyAuth": []
  366. }
  367. ],
  368. "consumes": [
  369. "application/json"
  370. ],
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "删除菜单表数据",
  378. "parameters": [
  379. {
  380. "description": "菜单表数据,只需要resourcecode字段即可",
  381. "name": "data",
  382. "in": "body",
  383. "required": true,
  384. "schema": {
  385. "$ref": "#/definitions/models.NewFuncmenulist"
  386. }
  387. }
  388. ],
  389. "responses": {
  390. "200": {
  391. "description": "OK",
  392. "schema": {
  393. "$ref": "#/definitions/app.Response"
  394. }
  395. },
  396. "500": {
  397. "description": "Internal Server Error",
  398. "schema": {
  399. "$ref": "#/definitions/app.Response"
  400. }
  401. }
  402. }
  403. }
  404. },
  405. "/Common/FindNewFuncmenu": {
  406. "get": {
  407. "security": [
  408. {
  409. "ApiKeyAuth": []
  410. }
  411. ],
  412. "produces": [
  413. "application/json"
  414. ],
  415. "tags": [
  416. "通用服务"
  417. ],
  418. "summary": "获取菜单表数据",
  419. "parameters": [
  420. {
  421. "type": "string",
  422. "description": "资源代码",
  423. "name": "resourcecode",
  424. "in": "query"
  425. },
  426. {
  427. "type": "string",
  428. "description": "上级资源代码",
  429. "name": "parentcode",
  430. "in": "query"
  431. },
  432. {
  433. "type": "string",
  434. "description": "资源名(Title), 模糊查询",
  435. "name": "resourcename",
  436. "in": "query"
  437. },
  438. {
  439. "type": "string",
  440. "description": "菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  441. "name": "menutype",
  442. "in": "query"
  443. }
  444. ],
  445. "responses": {
  446. "200": {
  447. "description": "OK",
  448. "schema": {
  449. "type": "array",
  450. "items": {
  451. "$ref": "#/definitions/models.NewFuncmenulist"
  452. }
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/GetAllEnums": {
  465. "get": {
  466. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  467. "produces": [
  468. "application/json"
  469. ],
  470. "tags": [
  471. "通用服务"
  472. ],
  473. "summary": "获取所有枚举信息",
  474. "parameters": [
  475. {
  476. "type": "integer",
  477. "description": "起始自增ID",
  478. "name": "autoid",
  479. "in": "query"
  480. }
  481. ],
  482. "responses": {
  483. "200": {
  484. "description": "OK",
  485. "schema": {
  486. "$ref": "#/definitions/models.Enumdicitem"
  487. }
  488. },
  489. "500": {
  490. "description": "Internal Server Error",
  491. "schema": {
  492. "$ref": "#/definitions/app.Response"
  493. }
  494. }
  495. }
  496. }
  497. },
  498. "/Common/GetClientMenus": {
  499. "get": {
  500. "security": [
  501. {
  502. "ApiKeyAuth": []
  503. }
  504. ],
  505. "produces": [
  506. "application/json"
  507. ],
  508. "tags": [
  509. "通用服务"
  510. ],
  511. "summary": "获取交易端菜单",
  512. "parameters": [
  513. {
  514. "type": "integer",
  515. "description": "登录账号",
  516. "name": "loginID",
  517. "in": "query",
  518. "required": true
  519. },
  520. {
  521. "type": "integer",
  522. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  523. "name": "clientType",
  524. "in": "query"
  525. },
  526. {
  527. "type": "string",
  528. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  529. "name": "name",
  530. "in": "query"
  531. }
  532. ],
  533. "responses": {
  534. "200": {
  535. "description": "OK",
  536. "schema": {
  537. "type": "array",
  538. "items": {
  539. "$ref": "#/definitions/common.ClientMenu"
  540. }
  541. }
  542. },
  543. "500": {
  544. "description": "Internal Server Error",
  545. "schema": {
  546. "$ref": "#/definitions/app.Response"
  547. }
  548. }
  549. }
  550. }
  551. },
  552. "/Common/GetClientNewFuncmenu": {
  553. "get": {
  554. "security": [
  555. {
  556. "ApiKeyAuth": []
  557. }
  558. ],
  559. "produces": [
  560. "application/json"
  561. ],
  562. "tags": [
  563. "通用服务"
  564. ],
  565. "summary": "获取终端菜单",
  566. "parameters": [
  567. {
  568. "type": "integer",
  569. "description": "登录账号",
  570. "name": "loginid",
  571. "in": "query",
  572. "required": true
  573. },
  574. {
  575. "type": "integer",
  576. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  577. "name": "menutype",
  578. "in": "query",
  579. "required": true
  580. }
  581. ],
  582. "responses": {
  583. "200": {
  584. "description": "OK",
  585. "schema": {
  586. "type": "array",
  587. "items": {
  588. "$ref": "#/definitions/models.NewFuncmenulist"
  589. }
  590. }
  591. },
  592. "500": {
  593. "description": "Internal Server Error",
  594. "schema": {
  595. "$ref": "#/definitions/app.Response"
  596. }
  597. }
  598. }
  599. }
  600. },
  601. "/Common/GetDivisions": {
  602. "get": {
  603. "produces": [
  604. "application/json"
  605. ],
  606. "tags": [
  607. "通用服务"
  608. ],
  609. "summary": "查询区域信息",
  610. "responses": {
  611. "200": {
  612. "description": "OK",
  613. "schema": {
  614. "$ref": "#/definitions/models.Division"
  615. }
  616. },
  617. "500": {
  618. "description": "Internal Server Error",
  619. "schema": {
  620. "$ref": "#/definitions/app.Response"
  621. }
  622. }
  623. }
  624. }
  625. },
  626. "/Common/GetPCWebMenus": {
  627. "get": {
  628. "security": [
  629. {
  630. "ApiKeyAuth": []
  631. }
  632. ],
  633. "produces": [
  634. "application/json"
  635. ],
  636. "tags": [
  637. "通用服务"
  638. ],
  639. "summary": "获取PCWeb交易端菜单",
  640. "parameters": [
  641. {
  642. "type": "integer",
  643. "description": "登录账号",
  644. "name": "loginID",
  645. "in": "query",
  646. "required": true
  647. },
  648. {
  649. "type": "string",
  650. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  651. "name": "name",
  652. "in": "query"
  653. }
  654. ],
  655. "responses": {
  656. "200": {
  657. "description": "OK",
  658. "schema": {
  659. "type": "array",
  660. "items": {
  661. "$ref": "#/definitions/common.PCWebMenu"
  662. }
  663. }
  664. },
  665. "500": {
  666. "description": "Internal Server Error",
  667. "schema": {
  668. "$ref": "#/definitions/app.Response"
  669. }
  670. }
  671. }
  672. }
  673. },
  674. "/Common/GetServerTime": {
  675. "get": {
  676. "produces": [
  677. "application/json"
  678. ],
  679. "tags": [
  680. "通用服务"
  681. ],
  682. "summary": "获取服务器时间",
  683. "responses": {
  684. "200": {
  685. "description": "OK",
  686. "schema": {
  687. "$ref": "#/definitions/app.Response"
  688. }
  689. },
  690. "500": {
  691. "description": "Internal Server Error",
  692. "schema": {
  693. "$ref": "#/definitions/app.Response"
  694. }
  695. }
  696. }
  697. }
  698. },
  699. "/Common/InsertNewFuncmenu": {
  700. "post": {
  701. "security": [
  702. {
  703. "ApiKeyAuth": []
  704. }
  705. ],
  706. "consumes": [
  707. "application/json"
  708. ],
  709. "produces": [
  710. "application/json"
  711. ],
  712. "tags": [
  713. "通用服务"
  714. ],
  715. "summary": "插入菜单表数据",
  716. "parameters": [
  717. {
  718. "description": "菜单表数据",
  719. "name": "data",
  720. "in": "body",
  721. "required": true,
  722. "schema": {
  723. "$ref": "#/definitions/models.NewFuncmenulist"
  724. }
  725. }
  726. ],
  727. "responses": {
  728. "200": {
  729. "description": "OK",
  730. "schema": {
  731. "$ref": "#/definitions/app.Response"
  732. }
  733. },
  734. "500": {
  735. "description": "Internal Server Error",
  736. "schema": {
  737. "$ref": "#/definitions/app.Response"
  738. }
  739. }
  740. }
  741. }
  742. },
  743. "/Common/NoticeReaded": {
  744. "post": {
  745. "security": [
  746. {
  747. "ApiKeyAuth": []
  748. }
  749. ],
  750. "produces": [
  751. "application/json"
  752. ],
  753. "tags": [
  754. "通用服务"
  755. ],
  756. "summary": "通知公告设置已读请求",
  757. "parameters": [
  758. {
  759. "type": "integer",
  760. "description": "登录账号",
  761. "name": "loginID",
  762. "in": "query",
  763. "required": true
  764. },
  765. {
  766. "type": "integer",
  767. "description": "通知公告ID",
  768. "name": "noticeID",
  769. "in": "query",
  770. "required": true
  771. }
  772. ],
  773. "responses": {
  774. "200": {
  775. "description": "OK",
  776. "schema": {
  777. "$ref": "#/definitions/app.Response"
  778. }
  779. },
  780. "500": {
  781. "description": "Internal Server Error",
  782. "schema": {
  783. "$ref": "#/definitions/app.Response"
  784. }
  785. }
  786. }
  787. }
  788. },
  789. "/Common/QueryErrorInfos": {
  790. "get": {
  791. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  792. "produces": [
  793. "application/json"
  794. ],
  795. "tags": [
  796. "通用服务"
  797. ],
  798. "summary": "获取数据库错误信息",
  799. "parameters": [
  800. {
  801. "type": "string",
  802. "description": "起始行号前索引",
  803. "name": "rowNumber",
  804. "in": "query"
  805. }
  806. ],
  807. "responses": {
  808. "200": {
  809. "description": "OK",
  810. "schema": {
  811. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  812. }
  813. },
  814. "500": {
  815. "description": "Internal Server Error",
  816. "schema": {
  817. "$ref": "#/definitions/app.Response"
  818. }
  819. }
  820. }
  821. }
  822. },
  823. "/Common/QueryImageConfigs": {
  824. "get": {
  825. "produces": [
  826. "application/json"
  827. ],
  828. "tags": [
  829. "通用服务"
  830. ],
  831. "summary": "查询轮播图配置信息",
  832. "parameters": [
  833. {
  834. "type": "integer",
  835. "description": "用户id",
  836. "name": "userId",
  837. "in": "query"
  838. },
  839. {
  840. "type": "integer",
  841. "description": "类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)",
  842. "name": "imageType",
  843. "in": "query"
  844. }
  845. ],
  846. "responses": {
  847. "200": {
  848. "description": "OK",
  849. "schema": {
  850. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  851. }
  852. },
  853. "500": {
  854. "description": "Internal Server Error",
  855. "schema": {
  856. "$ref": "#/definitions/app.Response"
  857. }
  858. }
  859. }
  860. }
  861. },
  862. "/Common/QueryNotice": {
  863. "get": {
  864. "security": [
  865. {
  866. "ApiKeyAuth": []
  867. }
  868. ],
  869. "produces": [
  870. "application/json"
  871. ],
  872. "tags": [
  873. "通用服务"
  874. ],
  875. "summary": "通知公告系统消息查询",
  876. "parameters": [
  877. {
  878. "type": "integer",
  879. "description": "页码",
  880. "name": "page",
  881. "in": "query"
  882. },
  883. {
  884. "type": "integer",
  885. "description": "每页条数",
  886. "name": "pagesize",
  887. "in": "query"
  888. },
  889. {
  890. "type": "integer",
  891. "description": "登录账号",
  892. "name": "loginID",
  893. "in": "query",
  894. "required": true
  895. },
  896. {
  897. "type": "integer",
  898. "description": "消息类型 - 1:公告通知 2:系统消息",
  899. "name": "msgType",
  900. "in": "query"
  901. },
  902. {
  903. "type": "boolean",
  904. "description": "是否只获取未读信息",
  905. "name": "onlyUnRead",
  906. "in": "query"
  907. },
  908. {
  909. "type": "integer",
  910. "description": "自增ID,传入后会返回这个ID后面的记录",
  911. "name": "lastID",
  912. "in": "query"
  913. }
  914. ],
  915. "responses": {
  916. "200": {
  917. "description": "OK",
  918. "schema": {
  919. "$ref": "#/definitions/common.QueryNoticeRsp"
  920. }
  921. },
  922. "500": {
  923. "description": "Internal Server Error",
  924. "schema": {
  925. "$ref": "#/definitions/app.Response"
  926. }
  927. }
  928. }
  929. }
  930. },
  931. "/Common/QueryProvincesAndCities": {
  932. "get": {
  933. "produces": [
  934. "application/json"
  935. ],
  936. "tags": [
  937. "通用服务"
  938. ],
  939. "summary": "查询省市信息(不包括区)",
  940. "parameters": [
  941. {
  942. "type": "integer",
  943. "description": "省ID",
  944. "name": "provinceID",
  945. "in": "query"
  946. }
  947. ],
  948. "responses": {
  949. "200": {
  950. "description": "OK",
  951. "schema": {
  952. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  953. }
  954. },
  955. "500": {
  956. "description": "Internal Server Error",
  957. "schema": {
  958. "$ref": "#/definitions/app.Response"
  959. }
  960. }
  961. }
  962. }
  963. },
  964. "/Common/QueryRates": {
  965. "get": {
  966. "security": [
  967. {
  968. "ApiKeyAuth": []
  969. },
  970. {
  971. "LoginID": []
  972. },
  973. {
  974. "Group": []
  975. }
  976. ],
  977. "produces": [
  978. "application/json"
  979. ],
  980. "tags": [
  981. "通用服务"
  982. ],
  983. "summary": "查询汇率信息",
  984. "parameters": [
  985. {
  986. "type": "integer",
  987. "description": "页码",
  988. "name": "page",
  989. "in": "query"
  990. },
  991. {
  992. "type": "integer",
  993. "description": "每页条数",
  994. "name": "pagesize",
  995. "in": "query"
  996. },
  997. {
  998. "type": "integer",
  999. "description": "源币种ID",
  1000. "name": "oricurrencyid",
  1001. "in": "query"
  1002. },
  1003. {
  1004. "type": "integer",
  1005. "description": "目标币种ID",
  1006. "name": "descurrencyid",
  1007. "in": "query"
  1008. }
  1009. ],
  1010. "responses": {
  1011. "200": {
  1012. "description": "OK",
  1013. "schema": {
  1014. "type": "array",
  1015. "items": {
  1016. "$ref": "#/definitions/models.Exchangerateconfig"
  1017. }
  1018. }
  1019. },
  1020. "500": {
  1021. "description": "Internal Server Error",
  1022. "schema": {
  1023. "$ref": "#/definitions/app.Response"
  1024. }
  1025. }
  1026. }
  1027. }
  1028. },
  1029. "/Common/QueryTableDefine": {
  1030. "get": {
  1031. "produces": [
  1032. "application/json"
  1033. ],
  1034. "tags": [
  1035. "通用服务"
  1036. ],
  1037. "summary": "查询交易端列表头信息",
  1038. "parameters": [
  1039. {
  1040. "type": "string",
  1041. "description": "表key",
  1042. "name": "tableKey",
  1043. "in": "query"
  1044. },
  1045. {
  1046. "type": "integer",
  1047. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  1048. "name": "tableType",
  1049. "in": "query"
  1050. }
  1051. ],
  1052. "responses": {
  1053. "200": {
  1054. "description": "OK",
  1055. "schema": {
  1056. "$ref": "#/definitions/common.QueryTableDefineRsp"
  1057. }
  1058. },
  1059. "500": {
  1060. "description": "Internal Server Error",
  1061. "schema": {
  1062. "$ref": "#/definitions/app.Response"
  1063. }
  1064. }
  1065. }
  1066. }
  1067. },
  1068. "/Common/QueryTraderMenu": {
  1069. "get": {
  1070. "produces": [
  1071. "application/json"
  1072. ],
  1073. "tags": [
  1074. "通用服务"
  1075. ],
  1076. "summary": "查询交易端菜单",
  1077. "parameters": [
  1078. {
  1079. "type": "integer",
  1080. "description": "登录账号",
  1081. "name": "loginid",
  1082. "in": "query",
  1083. "required": true
  1084. }
  1085. ],
  1086. "responses": {
  1087. "200": {
  1088. "description": "OK",
  1089. "schema": {
  1090. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  1091. }
  1092. },
  1093. "500": {
  1094. "description": "Internal Server Error",
  1095. "schema": {
  1096. "$ref": "#/definitions/app.Response"
  1097. }
  1098. }
  1099. }
  1100. }
  1101. },
  1102. "/Common/UpdateNewFuncmenu": {
  1103. "put": {
  1104. "security": [
  1105. {
  1106. "ApiKeyAuth": []
  1107. }
  1108. ],
  1109. "consumes": [
  1110. "application/json"
  1111. ],
  1112. "produces": [
  1113. "application/json"
  1114. ],
  1115. "tags": [
  1116. "通用服务"
  1117. ],
  1118. "summary": "更新菜单表数据",
  1119. "parameters": [
  1120. {
  1121. "description": "菜单表数据",
  1122. "name": "data",
  1123. "in": "body",
  1124. "required": true,
  1125. "schema": {
  1126. "$ref": "#/definitions/models.NewFuncmenulist"
  1127. }
  1128. }
  1129. ],
  1130. "responses": {
  1131. "200": {
  1132. "description": "OK",
  1133. "schema": {
  1134. "$ref": "#/definitions/app.Response"
  1135. }
  1136. },
  1137. "500": {
  1138. "description": "Internal Server Error",
  1139. "schema": {
  1140. "$ref": "#/definitions/app.Response"
  1141. }
  1142. }
  1143. }
  1144. }
  1145. },
  1146. "/Delivery/QueryDeliveryRelation": {
  1147. "get": {
  1148. "security": [
  1149. {
  1150. "ApiKeyAuth": []
  1151. }
  1152. ],
  1153. "produces": [
  1154. "application/json"
  1155. ],
  1156. "tags": [
  1157. "交割服务"
  1158. ],
  1159. "summary": "查询商品交割关系表",
  1160. "parameters": [
  1161. {
  1162. "type": "integer",
  1163. "description": "商品ID",
  1164. "name": "goodsid",
  1165. "in": "query"
  1166. },
  1167. {
  1168. "type": "integer",
  1169. "description": "品种ID",
  1170. "name": "deliverygoodsid",
  1171. "in": "query"
  1172. },
  1173. {
  1174. "type": "integer",
  1175. "description": "市场ID",
  1176. "name": "marketid",
  1177. "in": "query"
  1178. }
  1179. ],
  1180. "responses": {
  1181. "200": {
  1182. "description": "OK",
  1183. "schema": {
  1184. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  1185. }
  1186. },
  1187. "500": {
  1188. "description": "Internal Server Error",
  1189. "schema": {
  1190. "$ref": "#/definitions/app.Response"
  1191. }
  1192. }
  1193. }
  1194. }
  1195. },
  1196. "/Ermcp/GetErmcpGoods": {
  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. },
  1217. {
  1218. "type": "string",
  1219. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  1220. "name": "lastUpdateTime",
  1221. "in": "query"
  1222. }
  1223. ],
  1224. "responses": {
  1225. "200": {
  1226. "description": "OK",
  1227. "schema": {
  1228. "$ref": "#/definitions/models.ErmcpGoods"
  1229. }
  1230. },
  1231. "500": {
  1232. "description": "Internal Server Error",
  1233. "schema": {
  1234. "$ref": "#/definitions/app.Response"
  1235. }
  1236. }
  1237. }
  1238. }
  1239. },
  1240. "/Ermcp/GetErmcpGoodsSortByPosition": {
  1241. "get": {
  1242. "security": [
  1243. {
  1244. "ApiKeyAuth": []
  1245. }
  1246. ],
  1247. "produces": [
  1248. "application/json"
  1249. ],
  1250. "tags": [
  1251. "企业风险管理(app)"
  1252. ],
  1253. "summary": "查询企业风管期货主力、次主力商品信息",
  1254. "parameters": [
  1255. {
  1256. "type": "string",
  1257. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  1258. "name": "sortIndex",
  1259. "in": "query"
  1260. }
  1261. ],
  1262. "responses": {
  1263. "200": {
  1264. "description": "OK",
  1265. "schema": {
  1266. "$ref": "#/definitions/models.Goodssortbypreposition"
  1267. }
  1268. },
  1269. "500": {
  1270. "description": "Internal Server Error",
  1271. "schema": {
  1272. "$ref": "#/definitions/app.Response"
  1273. }
  1274. }
  1275. }
  1276. }
  1277. },
  1278. "/Ermcp/GetErmcpOutAccountStatus": {
  1279. "get": {
  1280. "security": [
  1281. {
  1282. "ApiKeyAuth": []
  1283. }
  1284. ],
  1285. "produces": [
  1286. "application/json"
  1287. ],
  1288. "tags": [
  1289. "企业风险管理(app)"
  1290. ],
  1291. "summary": "获取目标登录账号当前对冲账号在线状态",
  1292. "parameters": [
  1293. {
  1294. "type": "integer",
  1295. "description": "登录账号",
  1296. "name": "loginID",
  1297. "in": "query",
  1298. "required": true
  1299. }
  1300. ],
  1301. "responses": {
  1302. "200": {
  1303. "description": "OK",
  1304. "schema": {
  1305. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1306. }
  1307. },
  1308. "500": {
  1309. "description": "Internal Server Error",
  1310. "schema": {
  1311. "$ref": "#/definitions/app.Response"
  1312. }
  1313. }
  1314. }
  1315. }
  1316. },
  1317. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1318. "get": {
  1319. "security": [
  1320. {
  1321. "ApiKeyAuth": []
  1322. }
  1323. ],
  1324. "produces": [
  1325. "application/json"
  1326. ],
  1327. "tags": [
  1328. "企业风险管理(app)"
  1329. ],
  1330. "summary": "获取企业风管终端权限",
  1331. "parameters": [
  1332. {
  1333. "type": "integer",
  1334. "description": "登录账号",
  1335. "name": "loginID",
  1336. "in": "query",
  1337. "required": true
  1338. }
  1339. ],
  1340. "responses": {
  1341. "200": {
  1342. "description": "OK",
  1343. "schema": {
  1344. "$ref": "#/definitions/models.Funcmenulist"
  1345. }
  1346. },
  1347. "500": {
  1348. "description": "Internal Server Error",
  1349. "schema": {
  1350. "$ref": "#/definitions/app.Response"
  1351. }
  1352. }
  1353. }
  1354. }
  1355. },
  1356. "/Ermcp/QueryAccMgrBizGroupSet": {
  1357. "get": {
  1358. "security": [
  1359. {
  1360. "ApiKeyAuth": []
  1361. }
  1362. ],
  1363. "produces": [
  1364. "application/json"
  1365. ],
  1366. "tags": [
  1367. "企业风险管理(app)"
  1368. ],
  1369. "summary": "查询业务类型分组(账户管理/账户设置)",
  1370. "parameters": [
  1371. {
  1372. "type": "integer",
  1373. "description": "用户ID",
  1374. "name": "userid",
  1375. "in": "query",
  1376. "required": true
  1377. },
  1378. {
  1379. "type": "integer",
  1380. "description": "现货商品id",
  1381. "name": "deliverygoodsid",
  1382. "in": "query"
  1383. }
  1384. ],
  1385. "responses": {
  1386. "200": {
  1387. "description": "OK",
  1388. "schema": {
  1389. "type": "array",
  1390. "items": {
  1391. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1392. }
  1393. }
  1394. },
  1395. "500": {
  1396. "description": "Internal Server Error",
  1397. "schema": {
  1398. "$ref": "#/definitions/app.Response"
  1399. }
  1400. }
  1401. }
  1402. }
  1403. },
  1404. "/Ermcp/QueryAccMgrLoginUser": {
  1405. "get": {
  1406. "security": [
  1407. {
  1408. "ApiKeyAuth": []
  1409. }
  1410. ],
  1411. "produces": [
  1412. "application/json"
  1413. ],
  1414. "tags": [
  1415. "企业风险管理(app)"
  1416. ],
  1417. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1418. "parameters": [
  1419. {
  1420. "type": "integer",
  1421. "description": "用户ID",
  1422. "name": "userid",
  1423. "in": "query",
  1424. "required": true
  1425. },
  1426. {
  1427. "type": "integer",
  1428. "description": "用户类型 2-机构 7-企业成员",
  1429. "name": "usertype",
  1430. "in": "query"
  1431. },
  1432. {
  1433. "type": "integer",
  1434. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1435. "name": "querytype",
  1436. "in": "query",
  1437. "required": true
  1438. }
  1439. ],
  1440. "responses": {
  1441. "200": {
  1442. "description": "OK",
  1443. "schema": {
  1444. "type": "array",
  1445. "items": {
  1446. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1447. }
  1448. }
  1449. },
  1450. "500": {
  1451. "description": "Internal Server Error",
  1452. "schema": {
  1453. "$ref": "#/definitions/app.Response"
  1454. }
  1455. }
  1456. }
  1457. }
  1458. },
  1459. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1460. "get": {
  1461. "security": [
  1462. {
  1463. "ApiKeyAuth": []
  1464. }
  1465. ],
  1466. "produces": [
  1467. "application/json"
  1468. ],
  1469. "tags": [
  1470. "企业风险管理(app)"
  1471. ],
  1472. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1473. "parameters": [
  1474. {
  1475. "type": "integer",
  1476. "description": "用户ID",
  1477. "name": "userid",
  1478. "in": "query"
  1479. },
  1480. {
  1481. "type": "integer",
  1482. "description": "主账号id",
  1483. "name": "accountid",
  1484. "in": "query"
  1485. }
  1486. ],
  1487. "responses": {
  1488. "200": {
  1489. "description": "OK",
  1490. "schema": {
  1491. "type": "array",
  1492. "items": {
  1493. "$ref": "#/definitions/models.MainAccountInfo"
  1494. }
  1495. }
  1496. },
  1497. "500": {
  1498. "description": "Internal Server Error",
  1499. "schema": {
  1500. "$ref": "#/definitions/app.Response"
  1501. }
  1502. }
  1503. }
  1504. }
  1505. },
  1506. "/Ermcp/QueryAccMgrRole": {
  1507. "get": {
  1508. "security": [
  1509. {
  1510. "ApiKeyAuth": []
  1511. }
  1512. ],
  1513. "produces": [
  1514. "application/json"
  1515. ],
  1516. "tags": [
  1517. "企业风险管理(app)"
  1518. ],
  1519. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1520. "parameters": [
  1521. {
  1522. "type": "integer",
  1523. "description": "用户ID",
  1524. "name": "userid",
  1525. "in": "query",
  1526. "required": true
  1527. }
  1528. ],
  1529. "responses": {
  1530. "200": {
  1531. "description": "OK",
  1532. "schema": {
  1533. "type": "array",
  1534. "items": {
  1535. "$ref": "#/definitions/models.ErmcpRole"
  1536. }
  1537. }
  1538. },
  1539. "500": {
  1540. "description": "Internal Server Error",
  1541. "schema": {
  1542. "$ref": "#/definitions/app.Response"
  1543. }
  1544. }
  1545. }
  1546. }
  1547. },
  1548. "/Ermcp/QueryAccMgrRoleMenu": {
  1549. "get": {
  1550. "security": [
  1551. {
  1552. "ApiKeyAuth": []
  1553. }
  1554. ],
  1555. "produces": [
  1556. "application/json"
  1557. ],
  1558. "tags": [
  1559. "企业风险管理(app)"
  1560. ],
  1561. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1562. "parameters": [
  1563. {
  1564. "type": "integer",
  1565. "description": "用户ID",
  1566. "name": "userid",
  1567. "in": "query",
  1568. "required": true
  1569. },
  1570. {
  1571. "type": "string",
  1572. "description": "角色id(可多个,逗号隔开)",
  1573. "name": "roleid",
  1574. "in": "query"
  1575. },
  1576. {
  1577. "type": "integer",
  1578. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1579. "name": "menutype",
  1580. "in": "query"
  1581. }
  1582. ],
  1583. "responses": {
  1584. "200": {
  1585. "description": "OK",
  1586. "schema": {
  1587. "type": "array",
  1588. "items": {
  1589. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1590. }
  1591. }
  1592. },
  1593. "500": {
  1594. "description": "Internal Server Error",
  1595. "schema": {
  1596. "$ref": "#/definitions/app.Response"
  1597. }
  1598. }
  1599. }
  1600. }
  1601. },
  1602. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1603. "get": {
  1604. "security": [
  1605. {
  1606. "ApiKeyAuth": []
  1607. }
  1608. ],
  1609. "produces": [
  1610. "application/json"
  1611. ],
  1612. "tags": [
  1613. "企业风险管理(app)"
  1614. ],
  1615. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1616. "parameters": [
  1617. {
  1618. "type": "integer",
  1619. "description": "用户ID",
  1620. "name": "userid",
  1621. "in": "query",
  1622. "required": true
  1623. },
  1624. {
  1625. "type": "integer",
  1626. "description": "账号id",
  1627. "name": "accountid",
  1628. "in": "query"
  1629. }
  1630. ],
  1631. "responses": {
  1632. "200": {
  1633. "description": "OK",
  1634. "schema": {
  1635. "type": "array",
  1636. "items": {
  1637. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1638. }
  1639. }
  1640. },
  1641. "500": {
  1642. "description": "Internal Server Error",
  1643. "schema": {
  1644. "$ref": "#/definitions/app.Response"
  1645. }
  1646. }
  1647. }
  1648. }
  1649. },
  1650. "/Ermcp/QueryAccMgrTaaccount": {
  1651. "get": {
  1652. "security": [
  1653. {
  1654. "ApiKeyAuth": []
  1655. }
  1656. ],
  1657. "produces": [
  1658. "application/json"
  1659. ],
  1660. "tags": [
  1661. "企业风险管理(app)"
  1662. ],
  1663. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1664. "parameters": [
  1665. {
  1666. "type": "integer",
  1667. "description": "用户ID",
  1668. "name": "userid",
  1669. "in": "query",
  1670. "required": true
  1671. }
  1672. ],
  1673. "responses": {
  1674. "200": {
  1675. "description": "OK",
  1676. "schema": {
  1677. "type": "array",
  1678. "items": {
  1679. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1680. }
  1681. }
  1682. },
  1683. "500": {
  1684. "description": "Internal Server Error",
  1685. "schema": {
  1686. "$ref": "#/definitions/app.Response"
  1687. }
  1688. }
  1689. }
  1690. }
  1691. },
  1692. "/Ermcp/QueryAvaildGoodsGroup": {
  1693. "get": {
  1694. "security": [
  1695. {
  1696. "ApiKeyAuth": []
  1697. }
  1698. ],
  1699. "produces": [
  1700. "application/json"
  1701. ],
  1702. "tags": [
  1703. "企业风险管理(app)"
  1704. ],
  1705. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1706. "parameters": [
  1707. {
  1708. "type": "integer",
  1709. "description": "所属机构ID",
  1710. "name": "userid",
  1711. "in": "query",
  1712. "required": true
  1713. }
  1714. ],
  1715. "responses": {
  1716. "200": {
  1717. "description": "OK",
  1718. "schema": {
  1719. "type": "array",
  1720. "items": {
  1721. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1722. }
  1723. }
  1724. },
  1725. "500": {
  1726. "description": "Internal Server Error",
  1727. "schema": {
  1728. "$ref": "#/definitions/app.Response"
  1729. }
  1730. }
  1731. }
  1732. }
  1733. },
  1734. "/Ermcp/QueryBusinessDj": {
  1735. "get": {
  1736. "security": [
  1737. {
  1738. "ApiKeyAuth": []
  1739. }
  1740. ],
  1741. "produces": [
  1742. "application/json"
  1743. ],
  1744. "tags": [
  1745. "企业风险管理(app)"
  1746. ],
  1747. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1748. "parameters": [
  1749. {
  1750. "type": "integer",
  1751. "description": "用户ID",
  1752. "name": "UserId",
  1753. "in": "query",
  1754. "required": true
  1755. },
  1756. {
  1757. "type": "integer",
  1758. "description": "用户类型 2-机构 7-企业成员",
  1759. "name": "usertype",
  1760. "in": "query"
  1761. },
  1762. {
  1763. "type": "string",
  1764. "description": "现货合同ID, 不填则查所有",
  1765. "name": "relatedid",
  1766. "in": "query"
  1767. },
  1768. {
  1769. "type": "string",
  1770. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1771. "name": "applystatus",
  1772. "in": "query"
  1773. }
  1774. ],
  1775. "responses": {
  1776. "200": {
  1777. "description": "OK",
  1778. "schema": {
  1779. "type": "array",
  1780. "items": {
  1781. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1782. }
  1783. }
  1784. },
  1785. "500": {
  1786. "description": "Internal Server Error",
  1787. "schema": {
  1788. "$ref": "#/definitions/app.Response"
  1789. }
  1790. }
  1791. }
  1792. }
  1793. },
  1794. "/Ermcp/QueryBusinessFp": {
  1795. "get": {
  1796. "security": [
  1797. {
  1798. "ApiKeyAuth": []
  1799. }
  1800. ],
  1801. "produces": [
  1802. "application/json"
  1803. ],
  1804. "tags": [
  1805. "企业风险管理(app)"
  1806. ],
  1807. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1808. "parameters": [
  1809. {
  1810. "type": "integer",
  1811. "description": "用户ID",
  1812. "name": "UserId",
  1813. "in": "query",
  1814. "required": true
  1815. },
  1816. {
  1817. "type": "integer",
  1818. "description": "用户类型 2-机构 7-企业成员",
  1819. "name": "usertype",
  1820. "in": "query"
  1821. },
  1822. {
  1823. "type": "string",
  1824. "description": "现货合同ID, 不填则查所有",
  1825. "name": "relatedid",
  1826. "in": "query"
  1827. },
  1828. {
  1829. "type": "string",
  1830. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1831. "name": "applystatus",
  1832. "in": "query"
  1833. }
  1834. ],
  1835. "responses": {
  1836. "200": {
  1837. "description": "OK",
  1838. "schema": {
  1839. "type": "array",
  1840. "items": {
  1841. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1842. }
  1843. }
  1844. },
  1845. "500": {
  1846. "description": "Internal Server Error",
  1847. "schema": {
  1848. "$ref": "#/definitions/app.Response"
  1849. }
  1850. }
  1851. }
  1852. }
  1853. },
  1854. "/Ermcp/QueryBusinessJs": {
  1855. "get": {
  1856. "security": [
  1857. {
  1858. "ApiKeyAuth": []
  1859. }
  1860. ],
  1861. "produces": [
  1862. "application/json"
  1863. ],
  1864. "tags": [
  1865. "企业风险管理(app)"
  1866. ],
  1867. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1868. "parameters": [
  1869. {
  1870. "type": "integer",
  1871. "description": "用户ID",
  1872. "name": "UserId",
  1873. "in": "query",
  1874. "required": true
  1875. },
  1876. {
  1877. "type": "integer",
  1878. "description": "用户类型 2-机构 7-企业成员",
  1879. "name": "usertype",
  1880. "in": "query"
  1881. },
  1882. {
  1883. "type": "string",
  1884. "description": "现货合同ID, 不填则查所有",
  1885. "name": "relatedid",
  1886. "in": "query"
  1887. },
  1888. {
  1889. "type": "string",
  1890. "description": "操作申请id",
  1891. "name": "operateapplyid",
  1892. "in": "query"
  1893. },
  1894. {
  1895. "type": "string",
  1896. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1897. "name": "applystatus",
  1898. "in": "query"
  1899. }
  1900. ],
  1901. "responses": {
  1902. "200": {
  1903. "description": "OK",
  1904. "schema": {
  1905. "type": "array",
  1906. "items": {
  1907. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1908. }
  1909. }
  1910. },
  1911. "500": {
  1912. "description": "Internal Server Error",
  1913. "schema": {
  1914. "$ref": "#/definitions/app.Response"
  1915. }
  1916. }
  1917. }
  1918. }
  1919. },
  1920. "/Ermcp/QueryBusinessJsEx": {
  1921. "get": {
  1922. "security": [
  1923. {
  1924. "ApiKeyAuth": []
  1925. }
  1926. ],
  1927. "produces": [
  1928. "application/json"
  1929. ],
  1930. "tags": [
  1931. "企业风险管理(app)"
  1932. ],
  1933. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1934. "parameters": [
  1935. {
  1936. "type": "integer",
  1937. "description": "用户ID",
  1938. "name": "UserId",
  1939. "in": "query",
  1940. "required": true
  1941. },
  1942. {
  1943. "type": "integer",
  1944. "description": "用户类型 2-机构 7-企业成员",
  1945. "name": "usertype",
  1946. "in": "query"
  1947. },
  1948. {
  1949. "type": "string",
  1950. "description": "现货合同ID, 不填则查所有",
  1951. "name": "relatedid",
  1952. "in": "query"
  1953. },
  1954. {
  1955. "type": "string",
  1956. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1957. "name": "applystatus",
  1958. "in": "query"
  1959. }
  1960. ],
  1961. "responses": {
  1962. "200": {
  1963. "description": "OK",
  1964. "schema": {
  1965. "type": "array",
  1966. "items": {
  1967. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1968. }
  1969. }
  1970. },
  1971. "500": {
  1972. "description": "Internal Server Error",
  1973. "schema": {
  1974. "$ref": "#/definitions/app.Response"
  1975. }
  1976. }
  1977. }
  1978. }
  1979. },
  1980. "/Ermcp/QueryBusinessKx": {
  1981. "get": {
  1982. "security": [
  1983. {
  1984. "ApiKeyAuth": []
  1985. }
  1986. ],
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "企业风险管理(app)"
  1992. ],
  1993. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1994. "parameters": [
  1995. {
  1996. "type": "integer",
  1997. "description": "用户ID",
  1998. "name": "UserId",
  1999. "in": "query",
  2000. "required": true
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "用户类型 2-机构 7-企业成员",
  2005. "name": "usertype",
  2006. "in": "query"
  2007. },
  2008. {
  2009. "type": "string",
  2010. "description": "现货合同ID, 不填则查所有",
  2011. "name": "relatedid",
  2012. "in": "query"
  2013. },
  2014. {
  2015. "type": "string",
  2016. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2017. "name": "applystatus",
  2018. "in": "query"
  2019. }
  2020. ],
  2021. "responses": {
  2022. "200": {
  2023. "description": "OK",
  2024. "schema": {
  2025. "type": "array",
  2026. "items": {
  2027. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2028. }
  2029. }
  2030. },
  2031. "500": {
  2032. "description": "Internal Server Error",
  2033. "schema": {
  2034. "$ref": "#/definitions/app.Response"
  2035. }
  2036. }
  2037. }
  2038. }
  2039. },
  2040. "/Ermcp/QueryChangeLog": {
  2041. "get": {
  2042. "security": [
  2043. {
  2044. "ApiKeyAuth": []
  2045. }
  2046. ],
  2047. "produces": [
  2048. "application/json"
  2049. ],
  2050. "tags": [
  2051. "企业风险管理(app)"
  2052. ],
  2053. "summary": "查询变更记录",
  2054. "parameters": [
  2055. {
  2056. "type": "string",
  2057. "description": "合同ID",
  2058. "name": "RelatedId",
  2059. "in": "query",
  2060. "required": true
  2061. }
  2062. ],
  2063. "responses": {
  2064. "200": {
  2065. "description": "OK",
  2066. "schema": {
  2067. "type": "array",
  2068. "items": {
  2069. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2070. }
  2071. }
  2072. },
  2073. "500": {
  2074. "description": "Internal Server Error",
  2075. "schema": {
  2076. "$ref": "#/definitions/app.Response"
  2077. }
  2078. }
  2079. }
  2080. }
  2081. },
  2082. "/Ermcp/QueryErmcpHisOrderDetails": {
  2083. "get": {
  2084. "security": [
  2085. {
  2086. "ApiKeyAuth": []
  2087. }
  2088. ],
  2089. "produces": [
  2090. "application/json"
  2091. ],
  2092. "tags": [
  2093. "企业风险管理(app)"
  2094. ],
  2095. "summary": "获取企业风管期货历史委托单信息",
  2096. "parameters": [
  2097. {
  2098. "type": "integer",
  2099. "description": "资金账户ID",
  2100. "name": "accountID",
  2101. "in": "query",
  2102. "required": true
  2103. },
  2104. {
  2105. "type": "string",
  2106. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2107. "name": "startDate",
  2108. "in": "query"
  2109. },
  2110. {
  2111. "type": "string",
  2112. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2113. "name": "endDate",
  2114. "in": "query"
  2115. }
  2116. ],
  2117. "responses": {
  2118. "200": {
  2119. "description": "OK",
  2120. "schema": {
  2121. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2122. }
  2123. },
  2124. "500": {
  2125. "description": "Internal Server Error",
  2126. "schema": {
  2127. "$ref": "#/definitions/app.Response"
  2128. }
  2129. }
  2130. }
  2131. }
  2132. },
  2133. "/Ermcp/QueryErmcpHisTradeDetails": {
  2134. "get": {
  2135. "security": [
  2136. {
  2137. "ApiKeyAuth": []
  2138. }
  2139. ],
  2140. "produces": [
  2141. "application/json"
  2142. ],
  2143. "tags": [
  2144. "企业风险管理(app)"
  2145. ],
  2146. "summary": "获取企业风管期货历史成交单信息",
  2147. "parameters": [
  2148. {
  2149. "type": "integer",
  2150. "description": "资金账户ID",
  2151. "name": "accountID",
  2152. "in": "query",
  2153. "required": true
  2154. },
  2155. {
  2156. "type": "integer",
  2157. "description": "商品ID",
  2158. "name": "goodsID",
  2159. "in": "query"
  2160. },
  2161. {
  2162. "type": "integer",
  2163. "description": "买卖方向,0:买 1:卖",
  2164. "name": "buyOrSell",
  2165. "in": "query"
  2166. },
  2167. {
  2168. "type": "integer",
  2169. "description": "关联委托单号",
  2170. "name": "orderID",
  2171. "in": "query"
  2172. },
  2173. {
  2174. "type": "string",
  2175. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2176. "name": "startDate",
  2177. "in": "query"
  2178. },
  2179. {
  2180. "type": "string",
  2181. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2182. "name": "endDate",
  2183. "in": "query"
  2184. }
  2185. ],
  2186. "responses": {
  2187. "200": {
  2188. "description": "OK",
  2189. "schema": {
  2190. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2191. }
  2192. },
  2193. "500": {
  2194. "description": "Internal Server Error",
  2195. "schema": {
  2196. "$ref": "#/definitions/app.Response"
  2197. }
  2198. }
  2199. }
  2200. }
  2201. },
  2202. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2203. "get": {
  2204. "security": [
  2205. {
  2206. "ApiKeyAuth": []
  2207. }
  2208. ],
  2209. "produces": [
  2210. "application/json"
  2211. ],
  2212. "tags": [
  2213. "企业风险管理(app)"
  2214. ],
  2215. "summary": "获取企业风管期货内部持仓单信息",
  2216. "parameters": [
  2217. {
  2218. "type": "integer",
  2219. "description": "资金账户ID",
  2220. "name": "accountID",
  2221. "in": "query",
  2222. "required": true
  2223. },
  2224. {
  2225. "type": "integer",
  2226. "description": "商品ID",
  2227. "name": "goodsID",
  2228. "in": "query"
  2229. },
  2230. {
  2231. "type": "integer",
  2232. "description": "买卖方向,0:买 1:卖",
  2233. "name": "buyOrSell",
  2234. "in": "query"
  2235. }
  2236. ],
  2237. "responses": {
  2238. "200": {
  2239. "description": "OK",
  2240. "schema": {
  2241. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2242. }
  2243. },
  2244. "500": {
  2245. "description": "Internal Server Error",
  2246. "schema": {
  2247. "$ref": "#/definitions/app.Response"
  2248. }
  2249. }
  2250. }
  2251. }
  2252. },
  2253. "/Ermcp/QueryErmcpOrderDetails": {
  2254. "get": {
  2255. "security": [
  2256. {
  2257. "ApiKeyAuth": []
  2258. }
  2259. ],
  2260. "produces": [
  2261. "application/json"
  2262. ],
  2263. "tags": [
  2264. "企业风险管理(app)"
  2265. ],
  2266. "summary": "获取企业风管期货委托单信息",
  2267. "parameters": [
  2268. {
  2269. "type": "integer",
  2270. "description": "资金账户ID",
  2271. "name": "accountID",
  2272. "in": "query",
  2273. "required": true
  2274. }
  2275. ],
  2276. "responses": {
  2277. "200": {
  2278. "description": "OK",
  2279. "schema": {
  2280. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2281. }
  2282. },
  2283. "500": {
  2284. "description": "Internal Server Error",
  2285. "schema": {
  2286. "$ref": "#/definitions/app.Response"
  2287. }
  2288. }
  2289. }
  2290. }
  2291. },
  2292. "/Ermcp/QueryErmcpTradeDetails": {
  2293. "get": {
  2294. "security": [
  2295. {
  2296. "ApiKeyAuth": []
  2297. }
  2298. ],
  2299. "produces": [
  2300. "application/json"
  2301. ],
  2302. "tags": [
  2303. "企业风险管理(app)"
  2304. ],
  2305. "summary": "获取企业风管期货成交单信息",
  2306. "parameters": [
  2307. {
  2308. "type": "integer",
  2309. "description": "资金账户ID",
  2310. "name": "accountID",
  2311. "in": "query",
  2312. "required": true
  2313. },
  2314. {
  2315. "type": "integer",
  2316. "description": "商品ID",
  2317. "name": "goodsID",
  2318. "in": "query"
  2319. },
  2320. {
  2321. "type": "integer",
  2322. "description": "买卖方向,0:买 1:卖",
  2323. "name": "buyOrSell",
  2324. "in": "query"
  2325. },
  2326. {
  2327. "type": "integer",
  2328. "description": "关联委托单号",
  2329. "name": "orderID",
  2330. "in": "query"
  2331. }
  2332. ],
  2333. "responses": {
  2334. "200": {
  2335. "description": "OK",
  2336. "schema": {
  2337. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2338. }
  2339. },
  2340. "500": {
  2341. "description": "Internal Server Error",
  2342. "schema": {
  2343. "$ref": "#/definitions/app.Response"
  2344. }
  2345. }
  2346. }
  2347. }
  2348. },
  2349. "/Ermcp/QueryErmcpTradePosition": {
  2350. "get": {
  2351. "security": [
  2352. {
  2353. "ApiKeyAuth": []
  2354. }
  2355. ],
  2356. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2357. "produces": [
  2358. "application/json"
  2359. ],
  2360. "tags": [
  2361. "企业风险管理(app)"
  2362. ],
  2363. "summary": "获取企业风管期货持仓头寸信息",
  2364. "parameters": [
  2365. {
  2366. "type": "integer",
  2367. "description": "资金账户ID",
  2368. "name": "accountID",
  2369. "in": "query",
  2370. "required": true
  2371. },
  2372. {
  2373. "type": "integer",
  2374. "description": "所属市场ID",
  2375. "name": "marketID",
  2376. "in": "query"
  2377. }
  2378. ],
  2379. "responses": {
  2380. "200": {
  2381. "description": "OK",
  2382. "schema": {
  2383. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2384. }
  2385. },
  2386. "500": {
  2387. "description": "Internal Server Error",
  2388. "schema": {
  2389. "$ref": "#/definitions/app.Response"
  2390. }
  2391. }
  2392. }
  2393. }
  2394. },
  2395. "/Ermcp/QueryExposureDetail": {
  2396. "get": {
  2397. "security": [
  2398. {
  2399. "ApiKeyAuth": []
  2400. }
  2401. ],
  2402. "produces": [
  2403. "application/json"
  2404. ],
  2405. "tags": [
  2406. "企业风险管理(app)"
  2407. ],
  2408. "summary": "查询敞口现货明细",
  2409. "parameters": [
  2410. {
  2411. "type": "integer",
  2412. "description": "所属机构ID",
  2413. "name": "areaUserId",
  2414. "in": "query",
  2415. "required": true
  2416. },
  2417. {
  2418. "type": "integer",
  2419. "description": "套保商品",
  2420. "name": "middleGoodsId",
  2421. "in": "query",
  2422. "required": true
  2423. }
  2424. ],
  2425. "responses": {
  2426. "200": {
  2427. "description": "OK",
  2428. "schema": {
  2429. "type": "array",
  2430. "items": {
  2431. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2432. }
  2433. }
  2434. },
  2435. "500": {
  2436. "description": "Internal Server Error",
  2437. "schema": {
  2438. "$ref": "#/definitions/app.Response"
  2439. }
  2440. }
  2441. }
  2442. }
  2443. },
  2444. "/Ermcp/QueryExposureGoods": {
  2445. "get": {
  2446. "security": [
  2447. {
  2448. "ApiKeyAuth": []
  2449. }
  2450. ],
  2451. "produces": [
  2452. "application/json"
  2453. ],
  2454. "tags": [
  2455. "企业风险管理(app)"
  2456. ],
  2457. "summary": "查询敞口主力合约",
  2458. "parameters": [
  2459. {
  2460. "type": "integer",
  2461. "description": "套保商品id",
  2462. "name": "middlegoodsid",
  2463. "in": "query",
  2464. "required": true
  2465. }
  2466. ],
  2467. "responses": {
  2468. "200": {
  2469. "description": "OK",
  2470. "schema": {
  2471. "type": "array",
  2472. "items": {
  2473. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2474. }
  2475. }
  2476. },
  2477. "500": {
  2478. "description": "Internal Server Error",
  2479. "schema": {
  2480. "$ref": "#/definitions/app.Response"
  2481. }
  2482. }
  2483. }
  2484. }
  2485. },
  2486. "/Ermcp/QueryExposureHedgePosition": {
  2487. "get": {
  2488. "security": [
  2489. {
  2490. "ApiKeyAuth": []
  2491. }
  2492. ],
  2493. "produces": [
  2494. "application/json"
  2495. ],
  2496. "tags": [
  2497. "企业风险管理(app)"
  2498. ],
  2499. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2500. "parameters": [
  2501. {
  2502. "type": "integer",
  2503. "description": "用户id",
  2504. "name": "userid",
  2505. "in": "query",
  2506. "required": true
  2507. }
  2508. ],
  2509. "responses": {
  2510. "200": {
  2511. "description": "OK",
  2512. "schema": {
  2513. "type": "array",
  2514. "items": {
  2515. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2516. }
  2517. }
  2518. },
  2519. "500": {
  2520. "description": "Internal Server Error",
  2521. "schema": {
  2522. "$ref": "#/definitions/app.Response"
  2523. }
  2524. }
  2525. }
  2526. }
  2527. },
  2528. "/Ermcp/QueryExposureHedgePositionDetail": {
  2529. "get": {
  2530. "security": [
  2531. {
  2532. "ApiKeyAuth": []
  2533. }
  2534. ],
  2535. "produces": [
  2536. "application/json"
  2537. ],
  2538. "tags": [
  2539. "企业风险管理(app)"
  2540. ],
  2541. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2542. "parameters": [
  2543. {
  2544. "type": "integer",
  2545. "description": "所属机构ID",
  2546. "name": "userid",
  2547. "in": "query",
  2548. "required": true
  2549. },
  2550. {
  2551. "type": "integer",
  2552. "description": "商品id",
  2553. "name": "goodsId",
  2554. "in": "query",
  2555. "required": true
  2556. }
  2557. ],
  2558. "responses": {
  2559. "200": {
  2560. "description": "OK",
  2561. "schema": {
  2562. "type": "array",
  2563. "items": {
  2564. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2565. }
  2566. }
  2567. },
  2568. "500": {
  2569. "description": "Internal Server Error",
  2570. "schema": {
  2571. "$ref": "#/definitions/app.Response"
  2572. }
  2573. }
  2574. }
  2575. }
  2576. },
  2577. "/Ermcp/QueryExposureSpot": {
  2578. "get": {
  2579. "security": [
  2580. {
  2581. "ApiKeyAuth": []
  2582. }
  2583. ],
  2584. "produces": [
  2585. "application/json"
  2586. ],
  2587. "tags": [
  2588. "企业风险管理(app)"
  2589. ],
  2590. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2591. "parameters": [
  2592. {
  2593. "type": "integer",
  2594. "description": "所属机构ID",
  2595. "name": "areaUserId",
  2596. "in": "query",
  2597. "required": true
  2598. }
  2599. ],
  2600. "responses": {
  2601. "200": {
  2602. "description": "OK",
  2603. "schema": {
  2604. "type": "array",
  2605. "items": {
  2606. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2607. }
  2608. }
  2609. },
  2610. "500": {
  2611. "description": "Internal Server Error",
  2612. "schema": {
  2613. "$ref": "#/definitions/app.Response"
  2614. }
  2615. }
  2616. }
  2617. }
  2618. },
  2619. "/Ermcp/QueryExposureSpotDetail": {
  2620. "get": {
  2621. "security": [
  2622. {
  2623. "ApiKeyAuth": []
  2624. }
  2625. ],
  2626. "produces": [
  2627. "application/json"
  2628. ],
  2629. "tags": [
  2630. "企业风险管理(app)"
  2631. ],
  2632. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2633. "parameters": [
  2634. {
  2635. "type": "integer",
  2636. "description": "所属机构ID",
  2637. "name": "areaUserId",
  2638. "in": "query",
  2639. "required": true
  2640. },
  2641. {
  2642. "type": "integer",
  2643. "description": "现货品种ID",
  2644. "name": "wrstandardId",
  2645. "in": "query",
  2646. "required": true
  2647. }
  2648. ],
  2649. "responses": {
  2650. "200": {
  2651. "description": "OK",
  2652. "schema": {
  2653. "type": "array",
  2654. "items": {
  2655. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2656. }
  2657. }
  2658. },
  2659. "500": {
  2660. "description": "Internal Server Error",
  2661. "schema": {
  2662. "$ref": "#/definitions/app.Response"
  2663. }
  2664. }
  2665. }
  2666. }
  2667. },
  2668. "/Ermcp/QueryFuturesCompany": {
  2669. "get": {
  2670. "security": [
  2671. {
  2672. "ApiKeyAuth": []
  2673. }
  2674. ],
  2675. "produces": [
  2676. "application/json"
  2677. ],
  2678. "tags": [
  2679. "企业风险管理(app)"
  2680. ],
  2681. "summary": "查询期货公司",
  2682. "responses": {
  2683. "200": {
  2684. "description": "OK",
  2685. "schema": {
  2686. "type": "array",
  2687. "items": {
  2688. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2689. }
  2690. }
  2691. },
  2692. "500": {
  2693. "description": "Internal Server Error",
  2694. "schema": {
  2695. "$ref": "#/definitions/app.Response"
  2696. }
  2697. }
  2698. }
  2699. }
  2700. },
  2701. "/Ermcp/QueryGGConvertConfig": {
  2702. "get": {
  2703. "security": [
  2704. {
  2705. "ApiKeyAuth": []
  2706. }
  2707. ],
  2708. "produces": [
  2709. "application/json"
  2710. ],
  2711. "tags": [
  2712. "企业风险管理(app)"
  2713. ],
  2714. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2715. "parameters": [
  2716. {
  2717. "type": "integer",
  2718. "description": "品种id(不填则查所有)",
  2719. "name": "goodsgroupid",
  2720. "in": "query"
  2721. }
  2722. ],
  2723. "responses": {
  2724. "200": {
  2725. "description": "OK",
  2726. "schema": {
  2727. "type": "array",
  2728. "items": {
  2729. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2730. }
  2731. }
  2732. },
  2733. "500": {
  2734. "description": "Internal Server Error",
  2735. "schema": {
  2736. "$ref": "#/definitions/app.Response"
  2737. }
  2738. }
  2739. }
  2740. }
  2741. },
  2742. "/Ermcp/QueryGoodsBrand": {
  2743. "get": {
  2744. "security": [
  2745. {
  2746. "ApiKeyAuth": []
  2747. }
  2748. ],
  2749. "produces": [
  2750. "application/json"
  2751. ],
  2752. "tags": [
  2753. "企业风险管理(app)"
  2754. ],
  2755. "summary": "查询商品品牌",
  2756. "parameters": [
  2757. {
  2758. "type": "integer",
  2759. "description": "用户ID",
  2760. "name": "userid",
  2761. "in": "query",
  2762. "required": true
  2763. },
  2764. {
  2765. "type": "integer",
  2766. "description": "现货商品ID",
  2767. "name": "wrstandardid",
  2768. "in": "query"
  2769. }
  2770. ],
  2771. "responses": {
  2772. "200": {
  2773. "description": "OK",
  2774. "schema": {
  2775. "type": "array",
  2776. "items": {
  2777. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2778. }
  2779. }
  2780. },
  2781. "500": {
  2782. "description": "Internal Server Error",
  2783. "schema": {
  2784. "$ref": "#/definitions/app.Response"
  2785. }
  2786. }
  2787. }
  2788. }
  2789. },
  2790. "/Ermcp/QueryGoodsModel": {
  2791. "get": {
  2792. "security": [
  2793. {
  2794. "ApiKeyAuth": []
  2795. }
  2796. ],
  2797. "produces": [
  2798. "application/json"
  2799. ],
  2800. "tags": [
  2801. "企业风险管理(app)"
  2802. ],
  2803. "summary": "查询商品型号",
  2804. "parameters": [
  2805. {
  2806. "type": "integer",
  2807. "description": "用户ID",
  2808. "name": "userid",
  2809. "in": "query",
  2810. "required": true
  2811. }
  2812. ],
  2813. "responses": {
  2814. "200": {
  2815. "description": "OK",
  2816. "schema": {
  2817. "type": "array",
  2818. "items": {
  2819. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2820. }
  2821. }
  2822. },
  2823. "500": {
  2824. "description": "Internal Server Error",
  2825. "schema": {
  2826. "$ref": "#/definitions/app.Response"
  2827. }
  2828. }
  2829. }
  2830. }
  2831. },
  2832. "/Ermcp/QueryHisExposure": {
  2833. "get": {
  2834. "security": [
  2835. {
  2836. "ApiKeyAuth": []
  2837. }
  2838. ],
  2839. "produces": [
  2840. "application/json"
  2841. ],
  2842. "tags": [
  2843. "企业风险管理(app)"
  2844. ],
  2845. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2846. "parameters": [
  2847. {
  2848. "type": "integer",
  2849. "description": "用户id",
  2850. "name": "userid",
  2851. "in": "query",
  2852. "required": true
  2853. },
  2854. {
  2855. "type": "integer",
  2856. "description": "每个品种记录数",
  2857. "name": "lastNum",
  2858. "in": "query",
  2859. "required": true
  2860. }
  2861. ],
  2862. "responses": {
  2863. "200": {
  2864. "description": "OK",
  2865. "schema": {
  2866. "type": "array",
  2867. "items": {
  2868. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2869. }
  2870. }
  2871. },
  2872. "500": {
  2873. "description": "Internal Server Error",
  2874. "schema": {
  2875. "$ref": "#/definitions/app.Response"
  2876. }
  2877. }
  2878. }
  2879. }
  2880. },
  2881. "/Ermcp/QueryMiddleGoods": {
  2882. "get": {
  2883. "security": [
  2884. {
  2885. "ApiKeyAuth": []
  2886. }
  2887. ],
  2888. "produces": [
  2889. "application/json"
  2890. ],
  2891. "tags": [
  2892. "企业风险管理(app)"
  2893. ],
  2894. "summary": "查询套保品种(菜单:套保品种)",
  2895. "parameters": [
  2896. {
  2897. "type": "integer",
  2898. "description": "所属机构ID",
  2899. "name": "userid",
  2900. "in": "query",
  2901. "required": true
  2902. },
  2903. {
  2904. "type": "integer",
  2905. "description": "状态 0-停用 1-正常",
  2906. "name": "status",
  2907. "in": "query",
  2908. "required": true
  2909. }
  2910. ],
  2911. "responses": {
  2912. "200": {
  2913. "description": "OK",
  2914. "schema": {
  2915. "type": "array",
  2916. "items": {
  2917. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2918. }
  2919. }
  2920. },
  2921. "500": {
  2922. "description": "Internal Server Error",
  2923. "schema": {
  2924. "$ref": "#/definitions/app.Response"
  2925. }
  2926. }
  2927. }
  2928. }
  2929. },
  2930. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2931. "get": {
  2932. "security": [
  2933. {
  2934. "ApiKeyAuth": []
  2935. }
  2936. ],
  2937. "produces": [
  2938. "application/json"
  2939. ],
  2940. "tags": [
  2941. "企业风险管理(app)"
  2942. ],
  2943. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2944. "parameters": [
  2945. {
  2946. "type": "integer",
  2947. "description": "所属机构ID",
  2948. "name": "userid",
  2949. "in": "query",
  2950. "required": true
  2951. },
  2952. {
  2953. "type": "integer",
  2954. "description": "套保品种id",
  2955. "name": "middlegoodsid",
  2956. "in": "query",
  2957. "required": true
  2958. }
  2959. ],
  2960. "responses": {
  2961. "200": {
  2962. "description": "OK",
  2963. "schema": {
  2964. "type": "array",
  2965. "items": {
  2966. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2967. }
  2968. }
  2969. },
  2970. "500": {
  2971. "description": "Internal Server Error",
  2972. "schema": {
  2973. "$ref": "#/definitions/app.Response"
  2974. }
  2975. }
  2976. }
  2977. }
  2978. },
  2979. "/Ermcp/QueryMiddleGoodsDetail": {
  2980. "get": {
  2981. "security": [
  2982. {
  2983. "ApiKeyAuth": []
  2984. }
  2985. ],
  2986. "produces": [
  2987. "application/json"
  2988. ],
  2989. "tags": [
  2990. "企业风险管理(app)"
  2991. ],
  2992. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2993. "parameters": [
  2994. {
  2995. "type": "integer",
  2996. "description": "所属机构ID",
  2997. "name": "userid",
  2998. "in": "query",
  2999. "required": true
  3000. },
  3001. {
  3002. "type": "integer",
  3003. "description": "套保品种id",
  3004. "name": "middlegoodsid",
  3005. "in": "query"
  3006. }
  3007. ],
  3008. "responses": {
  3009. "200": {
  3010. "description": "OK",
  3011. "schema": {
  3012. "type": "array",
  3013. "items": {
  3014. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3015. }
  3016. }
  3017. },
  3018. "500": {
  3019. "description": "Internal Server Error",
  3020. "schema": {
  3021. "$ref": "#/definitions/app.Response"
  3022. }
  3023. }
  3024. }
  3025. }
  3026. },
  3027. "/Ermcp/QueryPendingAuditInfo": {
  3028. "get": {
  3029. "security": [
  3030. {
  3031. "ApiKeyAuth": []
  3032. }
  3033. ],
  3034. "produces": [
  3035. "application/json"
  3036. ],
  3037. "tags": [
  3038. "企业风险管理(app)"
  3039. ],
  3040. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3041. "parameters": [
  3042. {
  3043. "type": "integer",
  3044. "description": "用户ID",
  3045. "name": "UserId",
  3046. "in": "query",
  3047. "required": true
  3048. }
  3049. ],
  3050. "responses": {
  3051. "200": {
  3052. "description": "OK",
  3053. "schema": {
  3054. "type": "array",
  3055. "items": {
  3056. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3057. }
  3058. }
  3059. },
  3060. "500": {
  3061. "description": "Internal Server Error",
  3062. "schema": {
  3063. "$ref": "#/definitions/app.Response"
  3064. }
  3065. }
  3066. }
  3067. }
  3068. },
  3069. "/Ermcp/QueryRealtimeExposure": {
  3070. "get": {
  3071. "security": [
  3072. {
  3073. "ApiKeyAuth": []
  3074. }
  3075. ],
  3076. "produces": [
  3077. "application/json"
  3078. ],
  3079. "tags": [
  3080. "企业风险管理(app)"
  3081. ],
  3082. "summary": "查询实时敞口",
  3083. "parameters": [
  3084. {
  3085. "type": "integer",
  3086. "description": "所属机构ID",
  3087. "name": "userid",
  3088. "in": "query",
  3089. "required": true
  3090. }
  3091. ],
  3092. "responses": {
  3093. "200": {
  3094. "description": "OK",
  3095. "schema": {
  3096. "type": "array",
  3097. "items": {
  3098. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3099. }
  3100. }
  3101. },
  3102. "500": {
  3103. "description": "Internal Server Error",
  3104. "schema": {
  3105. "$ref": "#/definitions/app.Response"
  3106. }
  3107. }
  3108. }
  3109. }
  3110. },
  3111. "/Ermcp/QueryRealtimeExposurePosition": {
  3112. "get": {
  3113. "security": [
  3114. {
  3115. "ApiKeyAuth": []
  3116. }
  3117. ],
  3118. "produces": [
  3119. "application/json"
  3120. ],
  3121. "tags": [
  3122. "企业风险管理(app)"
  3123. ],
  3124. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3125. "parameters": [
  3126. {
  3127. "type": "integer",
  3128. "description": "用户id",
  3129. "name": "userid",
  3130. "in": "query",
  3131. "required": true
  3132. },
  3133. {
  3134. "type": "integer",
  3135. "description": "套保商品ID",
  3136. "name": "middleGoodsId",
  3137. "in": "query",
  3138. "required": true
  3139. }
  3140. ],
  3141. "responses": {
  3142. "200": {
  3143. "description": "OK",
  3144. "schema": {
  3145. "type": "array",
  3146. "items": {
  3147. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3148. }
  3149. }
  3150. },
  3151. "500": {
  3152. "description": "Internal Server Error",
  3153. "schema": {
  3154. "$ref": "#/definitions/app.Response"
  3155. }
  3156. }
  3157. }
  3158. }
  3159. },
  3160. "/Ermcp/QueryRoleMenu": {
  3161. "get": {
  3162. "security": [
  3163. {
  3164. "ApiKeyAuth": []
  3165. }
  3166. ],
  3167. "produces": [
  3168. "application/json"
  3169. ],
  3170. "tags": [
  3171. "企业风险管理(app)"
  3172. ],
  3173. "summary": "查询角色菜单和权限",
  3174. "parameters": [
  3175. {
  3176. "type": "integer",
  3177. "description": "登录ID",
  3178. "name": "loginid",
  3179. "in": "query",
  3180. "required": true
  3181. },
  3182. {
  3183. "type": "integer",
  3184. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  3185. "name": "menutype",
  3186. "in": "query"
  3187. }
  3188. ],
  3189. "responses": {
  3190. "200": {
  3191. "description": "OK",
  3192. "schema": {
  3193. "type": "array",
  3194. "items": {
  3195. "$ref": "#/definitions/models.RoleMenu"
  3196. }
  3197. }
  3198. },
  3199. "500": {
  3200. "description": "Internal Server Error",
  3201. "schema": {
  3202. "$ref": "#/definitions/app.Response"
  3203. }
  3204. }
  3205. }
  3206. }
  3207. },
  3208. "/Ermcp/QueryTradeConfigTMP": {
  3209. "get": {
  3210. "security": [
  3211. {
  3212. "ApiKeyAuth": []
  3213. }
  3214. ],
  3215. "produces": [
  3216. "application/json"
  3217. ],
  3218. "tags": [
  3219. "企业风险管理(app)"
  3220. ],
  3221. "summary": "查询交易模板配置",
  3222. "parameters": [
  3223. {
  3224. "type": "integer",
  3225. "description": "所属机构id",
  3226. "name": "areauserid",
  3227. "in": "query"
  3228. }
  3229. ],
  3230. "responses": {
  3231. "200": {
  3232. "description": "OK",
  3233. "schema": {
  3234. "type": "array",
  3235. "items": {
  3236. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3237. }
  3238. }
  3239. },
  3240. "500": {
  3241. "description": "Internal Server Error",
  3242. "schema": {
  3243. "$ref": "#/definitions/app.Response"
  3244. }
  3245. }
  3246. }
  3247. }
  3248. },
  3249. "/Ermcp/QueryUserInfo": {
  3250. "get": {
  3251. "security": [
  3252. {
  3253. "ApiKeyAuth": []
  3254. }
  3255. ],
  3256. "produces": [
  3257. "application/json"
  3258. ],
  3259. "tags": [
  3260. "企业风险管理(app)"
  3261. ],
  3262. "summary": "查询客户资料",
  3263. "parameters": [
  3264. {
  3265. "type": "integer",
  3266. "description": "所属机构用户ID",
  3267. "name": "MemberUserID",
  3268. "in": "query",
  3269. "required": true
  3270. },
  3271. {
  3272. "type": "integer",
  3273. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3274. "name": "queryType",
  3275. "in": "query",
  3276. "required": true
  3277. }
  3278. ],
  3279. "responses": {
  3280. "200": {
  3281. "description": "OK",
  3282. "schema": {
  3283. "type": "array",
  3284. "items": {
  3285. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3286. }
  3287. }
  3288. },
  3289. "500": {
  3290. "description": "Internal Server Error",
  3291. "schema": {
  3292. "$ref": "#/definitions/app.Response"
  3293. }
  3294. }
  3295. }
  3296. }
  3297. },
  3298. "/Ermcp/QueryWarehouseInfo": {
  3299. "get": {
  3300. "security": [
  3301. {
  3302. "ApiKeyAuth": []
  3303. }
  3304. ],
  3305. "produces": [
  3306. "application/json"
  3307. ],
  3308. "tags": [
  3309. "企业风险管理(app)"
  3310. ],
  3311. "summary": "查询仓库信息",
  3312. "parameters": [
  3313. {
  3314. "type": "integer",
  3315. "description": "用户ID",
  3316. "name": "userid",
  3317. "in": "query",
  3318. "required": true
  3319. },
  3320. {
  3321. "type": "string",
  3322. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3323. "name": "status",
  3324. "in": "query"
  3325. }
  3326. ],
  3327. "responses": {
  3328. "200": {
  3329. "description": "OK",
  3330. "schema": {
  3331. "type": "array",
  3332. "items": {
  3333. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3334. }
  3335. }
  3336. },
  3337. "500": {
  3338. "description": "Internal Server Error",
  3339. "schema": {
  3340. "$ref": "#/definitions/app.Response"
  3341. }
  3342. }
  3343. }
  3344. }
  3345. },
  3346. "/Ermcp3/QryAreaExpourseContractDetail": {
  3347. "get": {
  3348. "security": [
  3349. {
  3350. "ApiKeyAuth": []
  3351. }
  3352. ],
  3353. "produces": [
  3354. "application/json"
  3355. ],
  3356. "tags": [
  3357. "企业风险管理v3(app)"
  3358. ],
  3359. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3360. "parameters": [
  3361. {
  3362. "type": "integer",
  3363. "description": "用户ID",
  3364. "name": "userid",
  3365. "in": "query",
  3366. "required": true
  3367. },
  3368. {
  3369. "type": "integer",
  3370. "description": "套保商品id",
  3371. "name": "middlegoodsid",
  3372. "in": "query",
  3373. "required": true
  3374. },
  3375. {
  3376. "type": "integer",
  3377. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3378. "name": "cycletype",
  3379. "in": "query",
  3380. "required": true
  3381. },
  3382. {
  3383. "type": "string",
  3384. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3385. "name": "cycletime",
  3386. "in": "query",
  3387. "required": true
  3388. }
  3389. ],
  3390. "responses": {
  3391. "200": {
  3392. "description": "OK",
  3393. "schema": {
  3394. "type": "array",
  3395. "items": {
  3396. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3397. }
  3398. }
  3399. },
  3400. "500": {
  3401. "description": "Internal Server Error",
  3402. "schema": {
  3403. "$ref": "#/definitions/app.Response"
  3404. }
  3405. }
  3406. }
  3407. }
  3408. },
  3409. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3410. "get": {
  3411. "security": [
  3412. {
  3413. "ApiKeyAuth": []
  3414. }
  3415. ],
  3416. "produces": [
  3417. "application/json"
  3418. ],
  3419. "tags": [
  3420. "企业风险管理v3(app)"
  3421. ],
  3422. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3423. "parameters": [
  3424. {
  3425. "type": "integer",
  3426. "description": "用户ID",
  3427. "name": "userid",
  3428. "in": "query",
  3429. "required": true
  3430. },
  3431. {
  3432. "type": "integer",
  3433. "description": "套保商品id",
  3434. "name": "middlegoodsid",
  3435. "in": "query",
  3436. "required": true
  3437. },
  3438. {
  3439. "type": "integer",
  3440. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3441. "name": "cycletype",
  3442. "in": "query",
  3443. "required": true
  3444. },
  3445. {
  3446. "type": "string",
  3447. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3448. "name": "cycletime",
  3449. "in": "query",
  3450. "required": true
  3451. }
  3452. ],
  3453. "responses": {
  3454. "200": {
  3455. "description": "OK",
  3456. "schema": {
  3457. "type": "array",
  3458. "items": {
  3459. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3460. }
  3461. }
  3462. },
  3463. "500": {
  3464. "description": "Internal Server Error",
  3465. "schema": {
  3466. "$ref": "#/definitions/app.Response"
  3467. }
  3468. }
  3469. }
  3470. }
  3471. },
  3472. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3473. "get": {
  3474. "security": [
  3475. {
  3476. "ApiKeyAuth": []
  3477. }
  3478. ],
  3479. "produces": [
  3480. "application/json"
  3481. ],
  3482. "tags": [
  3483. "企业风险管理v3(app)"
  3484. ],
  3485. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3486. "parameters": [
  3487. {
  3488. "type": "integer",
  3489. "description": "用户ID",
  3490. "name": "userid",
  3491. "in": "query",
  3492. "required": true
  3493. },
  3494. {
  3495. "type": "integer",
  3496. "description": "套保商品id",
  3497. "name": "middlegoodsid",
  3498. "in": "query",
  3499. "required": true
  3500. },
  3501. {
  3502. "type": "integer",
  3503. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3504. "name": "cycletype",
  3505. "in": "query",
  3506. "required": true
  3507. },
  3508. {
  3509. "type": "string",
  3510. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3511. "name": "cycletime",
  3512. "in": "query",
  3513. "required": true
  3514. }
  3515. ],
  3516. "responses": {
  3517. "200": {
  3518. "description": "OK",
  3519. "schema": {
  3520. "type": "array",
  3521. "items": {
  3522. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3523. }
  3524. }
  3525. },
  3526. "500": {
  3527. "description": "Internal Server Error",
  3528. "schema": {
  3529. "$ref": "#/definitions/app.Response"
  3530. }
  3531. }
  3532. }
  3533. }
  3534. },
  3535. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3536. "get": {
  3537. "security": [
  3538. {
  3539. "ApiKeyAuth": []
  3540. }
  3541. ],
  3542. "produces": [
  3543. "application/json"
  3544. ],
  3545. "tags": [
  3546. "企业风险管理v3(app)"
  3547. ],
  3548. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3549. "parameters": [
  3550. {
  3551. "type": "integer",
  3552. "description": "用户ID",
  3553. "name": "userid",
  3554. "in": "query",
  3555. "required": true
  3556. },
  3557. {
  3558. "type": "integer",
  3559. "description": "套保商品id",
  3560. "name": "middlegoodsid",
  3561. "in": "query",
  3562. "required": true
  3563. },
  3564. {
  3565. "type": "integer",
  3566. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3567. "name": "cycletype",
  3568. "in": "query",
  3569. "required": true
  3570. },
  3571. {
  3572. "type": "string",
  3573. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3574. "name": "cycletime",
  3575. "in": "query",
  3576. "required": true
  3577. }
  3578. ],
  3579. "responses": {
  3580. "200": {
  3581. "description": "OK",
  3582. "schema": {
  3583. "type": "array",
  3584. "items": {
  3585. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3586. }
  3587. }
  3588. },
  3589. "500": {
  3590. "description": "Internal Server Error",
  3591. "schema": {
  3592. "$ref": "#/definitions/app.Response"
  3593. }
  3594. }
  3595. }
  3596. }
  3597. },
  3598. "/Ermcp3/QryAreaExpourseReport": {
  3599. "get": {
  3600. "security": [
  3601. {
  3602. "ApiKeyAuth": []
  3603. }
  3604. ],
  3605. "produces": [
  3606. "application/json"
  3607. ],
  3608. "tags": [
  3609. "企业风险管理v3(app)"
  3610. ],
  3611. "summary": "查询敞口报表",
  3612. "parameters": [
  3613. {
  3614. "type": "integer",
  3615. "description": "用户ID",
  3616. "name": "userid",
  3617. "in": "query",
  3618. "required": true
  3619. },
  3620. {
  3621. "type": "integer",
  3622. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3623. "name": "querytype",
  3624. "in": "query",
  3625. "required": true
  3626. },
  3627. {
  3628. "type": "integer",
  3629. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3630. "name": "cycletype",
  3631. "in": "query",
  3632. "required": true
  3633. },
  3634. {
  3635. "type": "string",
  3636. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3637. "name": "cycletime",
  3638. "in": "query",
  3639. "required": true
  3640. }
  3641. ],
  3642. "responses": {
  3643. "200": {
  3644. "description": "OK",
  3645. "schema": {
  3646. "type": "array",
  3647. "items": {
  3648. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3649. }
  3650. }
  3651. },
  3652. "500": {
  3653. "description": "Internal Server Error",
  3654. "schema": {
  3655. "$ref": "#/definitions/app.Response"
  3656. }
  3657. }
  3658. }
  3659. }
  3660. },
  3661. "/Ermcp3/QryAreaSpotplReport": {
  3662. "get": {
  3663. "security": [
  3664. {
  3665. "ApiKeyAuth": []
  3666. }
  3667. ],
  3668. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3669. "produces": [
  3670. "application/json"
  3671. ],
  3672. "tags": [
  3673. "企业风险管理v3(app)"
  3674. ],
  3675. "summary": "查询现货报表",
  3676. "parameters": [
  3677. {
  3678. "type": "integer",
  3679. "description": "用户ID",
  3680. "name": "userid",
  3681. "in": "query",
  3682. "required": true
  3683. },
  3684. {
  3685. "type": "integer",
  3686. "description": "查询类型 1-报表 2-报表明细",
  3687. "name": "querytype",
  3688. "in": "query",
  3689. "required": true
  3690. },
  3691. {
  3692. "type": "integer",
  3693. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3694. "name": "cycletype",
  3695. "in": "query",
  3696. "required": true
  3697. },
  3698. {
  3699. "type": "string",
  3700. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3701. "name": "cycletime",
  3702. "in": "query",
  3703. "required": true
  3704. },
  3705. {
  3706. "type": "integer",
  3707. "description": "现货品种id(明细必填)",
  3708. "name": "deliverygoodsid",
  3709. "in": "query"
  3710. },
  3711. {
  3712. "type": "integer",
  3713. "description": "币种id(明细必填)",
  3714. "name": "currencyid",
  3715. "in": "query"
  3716. },
  3717. {
  3718. "type": "integer",
  3719. "description": "日/周/月报表汇总维度 1:品种+品类",
  3720. "name": "sumflag",
  3721. "in": "query"
  3722. }
  3723. ],
  3724. "responses": {
  3725. "200": {
  3726. "description": "OK",
  3727. "schema": {
  3728. "type": "array",
  3729. "items": {
  3730. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3731. }
  3732. }
  3733. },
  3734. "500": {
  3735. "description": "Internal Server Error",
  3736. "schema": {
  3737. "$ref": "#/definitions/app.Response"
  3738. }
  3739. }
  3740. }
  3741. }
  3742. },
  3743. "/Ermcp3/QryAreaStockReport": {
  3744. "get": {
  3745. "security": [
  3746. {
  3747. "ApiKeyAuth": []
  3748. }
  3749. ],
  3750. "produces": [
  3751. "application/json"
  3752. ],
  3753. "tags": [
  3754. "企业风险管理v3(app)"
  3755. ],
  3756. "summary": "查询库存报表",
  3757. "parameters": [
  3758. {
  3759. "type": "integer",
  3760. "description": "用户ID",
  3761. "name": "userid",
  3762. "in": "query",
  3763. "required": true
  3764. },
  3765. {
  3766. "type": "integer",
  3767. "description": "查询类型 1-报表 2-报表明细",
  3768. "name": "querytype",
  3769. "in": "query",
  3770. "required": true
  3771. },
  3772. {
  3773. "type": "integer",
  3774. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3775. "name": "cycletype",
  3776. "in": "query",
  3777. "required": true
  3778. },
  3779. {
  3780. "type": "string",
  3781. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3782. "name": "cycletime",
  3783. "in": "query",
  3784. "required": true
  3785. },
  3786. {
  3787. "type": "string",
  3788. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3789. "name": "sumfields",
  3790. "in": "query"
  3791. },
  3792. {
  3793. "type": "integer",
  3794. "description": "品种ID",
  3795. "name": "deliverygoodsid",
  3796. "in": "query"
  3797. },
  3798. {
  3799. "type": "integer",
  3800. "description": "品类ID",
  3801. "name": "wrstandardid",
  3802. "in": "query"
  3803. },
  3804. {
  3805. "type": "integer",
  3806. "description": "品牌ID",
  3807. "name": "spotgoodsbrandid",
  3808. "in": "query"
  3809. },
  3810. {
  3811. "type": "integer",
  3812. "description": "仓库ID",
  3813. "name": "warehouseinfoid",
  3814. "in": "query"
  3815. }
  3816. ],
  3817. "responses": {
  3818. "200": {
  3819. "description": "OK",
  3820. "schema": {
  3821. "type": "array",
  3822. "items": {
  3823. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3824. }
  3825. }
  3826. },
  3827. "500": {
  3828. "description": "Internal Server Error",
  3829. "schema": {
  3830. "$ref": "#/definitions/app.Response"
  3831. }
  3832. }
  3833. }
  3834. }
  3835. },
  3836. "/Ermcp3/QryAreaSumPL": {
  3837. "get": {
  3838. "security": [
  3839. {
  3840. "ApiKeyAuth": []
  3841. }
  3842. ],
  3843. "produces": [
  3844. "application/json"
  3845. ],
  3846. "tags": [
  3847. "企业风险管理v3(app)"
  3848. ],
  3849. "summary": "查询汇总损益表",
  3850. "parameters": [
  3851. {
  3852. "type": "integer",
  3853. "description": "用户ID",
  3854. "name": "userid",
  3855. "in": "query",
  3856. "required": true
  3857. },
  3858. {
  3859. "type": "integer",
  3860. "description": "查询类型 1-报表 2-报表明细",
  3861. "name": "querytype",
  3862. "in": "query",
  3863. "required": true
  3864. },
  3865. {
  3866. "type": "integer",
  3867. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3868. "name": "cycletype",
  3869. "in": "query",
  3870. "required": true
  3871. },
  3872. {
  3873. "type": "string",
  3874. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3875. "name": "cycletime",
  3876. "in": "query",
  3877. "required": true
  3878. },
  3879. {
  3880. "type": "integer",
  3881. "description": "币种id(明细必填)",
  3882. "name": "currencyid",
  3883. "in": "query"
  3884. },
  3885. {
  3886. "type": "integer",
  3887. "description": "套保品种ID, 查询类型为2时起效",
  3888. "name": "middlegoodsid",
  3889. "in": "query"
  3890. }
  3891. ],
  3892. "responses": {
  3893. "200": {
  3894. "description": "OK",
  3895. "schema": {
  3896. "type": "array",
  3897. "items": {
  3898. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3899. }
  3900. }
  3901. },
  3902. "500": {
  3903. "description": "Internal Server Error",
  3904. "schema": {
  3905. "$ref": "#/definitions/app.Response"
  3906. }
  3907. }
  3908. }
  3909. }
  3910. },
  3911. "/Ermcp3/QryFinanceReport": {
  3912. "get": {
  3913. "security": [
  3914. {
  3915. "ApiKeyAuth": []
  3916. }
  3917. ],
  3918. "produces": [
  3919. "application/json"
  3920. ],
  3921. "tags": [
  3922. "企业风险管理v3(app)"
  3923. ],
  3924. "summary": "查询财务报表",
  3925. "parameters": [
  3926. {
  3927. "type": "integer",
  3928. "description": "用户ID",
  3929. "name": "userid",
  3930. "in": "query",
  3931. "required": true
  3932. },
  3933. {
  3934. "type": "integer",
  3935. "description": "查询类型 1-报表 2-报表明细",
  3936. "name": "querytype",
  3937. "in": "query",
  3938. "required": true
  3939. },
  3940. {
  3941. "type": "integer",
  3942. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3943. "name": "cycletype",
  3944. "in": "query",
  3945. "required": true
  3946. },
  3947. {
  3948. "type": "string",
  3949. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3950. "name": "cycletime",
  3951. "in": "query",
  3952. "required": true
  3953. },
  3954. {
  3955. "type": "integer",
  3956. "description": "币种id(报表明细必填)",
  3957. "name": "currencyid",
  3958. "in": "query"
  3959. },
  3960. {
  3961. "type": "string",
  3962. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3963. "name": "sumfields",
  3964. "in": "query"
  3965. }
  3966. ],
  3967. "responses": {
  3968. "200": {
  3969. "description": "OK",
  3970. "schema": {
  3971. "type": "array",
  3972. "items": {
  3973. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3974. }
  3975. }
  3976. },
  3977. "500": {
  3978. "description": "Internal Server Error",
  3979. "schema": {
  3980. "$ref": "#/definitions/app.Response"
  3981. }
  3982. }
  3983. }
  3984. }
  3985. },
  3986. "/Ermcp3/QrySCMiddleGoodsReport": {
  3987. "get": {
  3988. "security": [
  3989. {
  3990. "ApiKeyAuth": []
  3991. }
  3992. ],
  3993. "produces": [
  3994. "application/json"
  3995. ],
  3996. "tags": [
  3997. "企业风险管理v3(app)"
  3998. ],
  3999. "summary": "查询定价报表",
  4000. "parameters": [
  4001. {
  4002. "type": "integer",
  4003. "description": "用户ID",
  4004. "name": "userid",
  4005. "in": "query",
  4006. "required": true
  4007. },
  4008. {
  4009. "type": "integer",
  4010. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4011. "name": "cycletype",
  4012. "in": "query",
  4013. "required": true
  4014. },
  4015. {
  4016. "type": "string",
  4017. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4018. "name": "cycletime",
  4019. "in": "query",
  4020. "required": true
  4021. },
  4022. {
  4023. "type": "integer",
  4024. "description": "合同id",
  4025. "name": "spotcontractid",
  4026. "in": "query"
  4027. },
  4028. {
  4029. "type": "integer",
  4030. "description": "套保品种id",
  4031. "name": "middlegoodsid",
  4032. "in": "query"
  4033. },
  4034. {
  4035. "type": "integer",
  4036. "description": "现货品种id",
  4037. "name": "deliverygoodsid",
  4038. "in": "query"
  4039. },
  4040. {
  4041. "type": "integer",
  4042. "description": "现货商品id",
  4043. "name": "wrstandardid",
  4044. "in": "query"
  4045. },
  4046. {
  4047. "type": "string",
  4048. "description": "合同编号(模糊匹配)",
  4049. "name": "contractno",
  4050. "in": "query"
  4051. }
  4052. ],
  4053. "responses": {
  4054. "200": {
  4055. "description": "OK",
  4056. "schema": {
  4057. "type": "array",
  4058. "items": {
  4059. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  4060. }
  4061. }
  4062. },
  4063. "500": {
  4064. "description": "Internal Server Error",
  4065. "schema": {
  4066. "$ref": "#/definitions/app.Response"
  4067. }
  4068. }
  4069. }
  4070. }
  4071. },
  4072. "/Ermcp3/QryTaFutureDataReport": {
  4073. "get": {
  4074. "security": [
  4075. {
  4076. "ApiKeyAuth": []
  4077. }
  4078. ],
  4079. "produces": [
  4080. "application/json"
  4081. ],
  4082. "tags": [
  4083. "企业风险管理v3(app)"
  4084. ],
  4085. "summary": "查询期货报表",
  4086. "parameters": [
  4087. {
  4088. "type": "integer",
  4089. "description": "用户ID",
  4090. "name": "userid",
  4091. "in": "query",
  4092. "required": true
  4093. },
  4094. {
  4095. "type": "integer",
  4096. "description": "查询类型 1-报表 2-报表明细",
  4097. "name": "querytype",
  4098. "in": "query",
  4099. "required": true
  4100. },
  4101. {
  4102. "type": "integer",
  4103. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4104. "name": "cycletype",
  4105. "in": "query",
  4106. "required": true
  4107. },
  4108. {
  4109. "type": "string",
  4110. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4111. "name": "cycletime",
  4112. "in": "query",
  4113. "required": true
  4114. },
  4115. {
  4116. "type": "integer",
  4117. "description": "币种id(查明细必填)",
  4118. "name": "currencyid",
  4119. "in": "query"
  4120. },
  4121. {
  4122. "type": "integer",
  4123. "description": "品种id(查明细必填)",
  4124. "name": "goodsgroupid",
  4125. "in": "query"
  4126. },
  4127. {
  4128. "type": "integer",
  4129. "description": "商品id(查明细必填)",
  4130. "name": "goodsid",
  4131. "in": "query"
  4132. },
  4133. {
  4134. "type": "integer",
  4135. "description": "买卖方向(查明细必填)",
  4136. "name": "buyorsell",
  4137. "in": "query"
  4138. }
  4139. ],
  4140. "responses": {
  4141. "200": {
  4142. "description": "OK",
  4143. "schema": {
  4144. "type": "array",
  4145. "items": {
  4146. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  4147. }
  4148. }
  4149. },
  4150. "500": {
  4151. "description": "Internal Server Error",
  4152. "schema": {
  4153. "$ref": "#/definitions/app.Response"
  4154. }
  4155. }
  4156. }
  4157. }
  4158. },
  4159. "/Ermcp3/QueryAreaStock": {
  4160. "get": {
  4161. "security": [
  4162. {
  4163. "ApiKeyAuth": []
  4164. }
  4165. ],
  4166. "produces": [
  4167. "application/json"
  4168. ],
  4169. "tags": [
  4170. "企业风险管理v3(app)"
  4171. ],
  4172. "summary": "查询机构库存(库存管理/当前库存)",
  4173. "parameters": [
  4174. {
  4175. "type": "integer",
  4176. "description": "用户ID",
  4177. "name": "userid",
  4178. "in": "query",
  4179. "required": true
  4180. }
  4181. ],
  4182. "responses": {
  4183. "200": {
  4184. "description": "OK",
  4185. "schema": {
  4186. "type": "array",
  4187. "items": {
  4188. "$ref": "#/definitions/models.Ermcp3AreaStock"
  4189. }
  4190. }
  4191. },
  4192. "500": {
  4193. "description": "Internal Server Error",
  4194. "schema": {
  4195. "$ref": "#/definitions/app.Response"
  4196. }
  4197. }
  4198. }
  4199. }
  4200. },
  4201. "/Ermcp3/QueryAreaStockApply": {
  4202. "get": {
  4203. "security": [
  4204. {
  4205. "ApiKeyAuth": []
  4206. }
  4207. ],
  4208. "produces": [
  4209. "application/json"
  4210. ],
  4211. "tags": [
  4212. "企业风险管理v3(app)"
  4213. ],
  4214. "summary": "查询库存申请(出入库记录|库存审核)",
  4215. "parameters": [
  4216. {
  4217. "type": "integer",
  4218. "description": "用户ID",
  4219. "name": "userid",
  4220. "in": "query",
  4221. "required": true
  4222. },
  4223. {
  4224. "type": "integer",
  4225. "description": "用户类型 2-机构 7-企业成员",
  4226. "name": "usertype",
  4227. "in": "query"
  4228. },
  4229. {
  4230. "type": "integer",
  4231. "description": "现货商品ID",
  4232. "name": "deliverygoodsid",
  4233. "in": "query"
  4234. },
  4235. {
  4236. "type": "string",
  4237. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  4238. "name": "inouttype",
  4239. "in": "query"
  4240. },
  4241. {
  4242. "type": "integer",
  4243. "description": "合同ID",
  4244. "name": "spotcontractid",
  4245. "in": "query"
  4246. },
  4247. {
  4248. "type": "integer",
  4249. "description": "品类ID",
  4250. "name": "wrstandardid",
  4251. "in": "query"
  4252. },
  4253. {
  4254. "type": "integer",
  4255. "description": "品牌ID",
  4256. "name": "spotgoodsbrandid",
  4257. "in": "query"
  4258. },
  4259. {
  4260. "type": "integer",
  4261. "description": "仓库ID",
  4262. "name": "warehouseinfoid",
  4263. "in": "query"
  4264. },
  4265. {
  4266. "type": "string",
  4267. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4268. "name": "applystatus",
  4269. "in": "query"
  4270. }
  4271. ],
  4272. "responses": {
  4273. "200": {
  4274. "description": "OK",
  4275. "schema": {
  4276. "type": "array",
  4277. "items": {
  4278. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4279. }
  4280. }
  4281. },
  4282. "500": {
  4283. "description": "Internal Server Error",
  4284. "schema": {
  4285. "$ref": "#/definitions/app.Response"
  4286. }
  4287. }
  4288. }
  4289. }
  4290. },
  4291. "/Ermcp3/QueryAreaStockApplySum": {
  4292. "get": {
  4293. "security": [
  4294. {
  4295. "ApiKeyAuth": []
  4296. }
  4297. ],
  4298. "produces": [
  4299. "application/json"
  4300. ],
  4301. "tags": [
  4302. "企业风险管理v3(app)"
  4303. ],
  4304. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4305. "parameters": [
  4306. {
  4307. "type": "integer",
  4308. "description": "合同ID",
  4309. "name": "spotcontractid",
  4310. "in": "query",
  4311. "required": true
  4312. }
  4313. ],
  4314. "responses": {
  4315. "200": {
  4316. "description": "OK",
  4317. "schema": {
  4318. "type": "array",
  4319. "items": {
  4320. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4321. }
  4322. }
  4323. },
  4324. "500": {
  4325. "description": "Internal Server Error",
  4326. "schema": {
  4327. "$ref": "#/definitions/app.Response"
  4328. }
  4329. }
  4330. }
  4331. }
  4332. },
  4333. "/Ermcp3/QueryDGFactoryItem": {
  4334. "get": {
  4335. "security": [
  4336. {
  4337. "ApiKeyAuth": []
  4338. }
  4339. ],
  4340. "produces": [
  4341. "application/json"
  4342. ],
  4343. "tags": [
  4344. "企业风险管理v3(app)"
  4345. ],
  4346. "summary": "查询品种要素定义项",
  4347. "parameters": [
  4348. {
  4349. "type": "integer",
  4350. "description": "用户id",
  4351. "name": "userid",
  4352. "in": "query"
  4353. },
  4354. {
  4355. "type": "integer",
  4356. "description": "用户类型 2-机构 7-企业成员",
  4357. "name": "usertype",
  4358. "in": "query"
  4359. },
  4360. {
  4361. "type": "integer",
  4362. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4363. "name": "dgfactoryitemid",
  4364. "in": "query"
  4365. },
  4366. {
  4367. "type": "integer",
  4368. "description": "现货品种ID",
  4369. "name": "deliverygoodsid",
  4370. "in": "query"
  4371. },
  4372. {
  4373. "type": "integer",
  4374. "description": "要素项类型",
  4375. "name": "dgfactoryitemtypeid",
  4376. "in": "query"
  4377. },
  4378. {
  4379. "type": "integer",
  4380. "description": "顺序",
  4381. "name": "orderindex",
  4382. "in": "query"
  4383. }
  4384. ],
  4385. "responses": {
  4386. "200": {
  4387. "description": "OK",
  4388. "schema": {
  4389. "type": "array",
  4390. "items": {
  4391. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4392. }
  4393. }
  4394. },
  4395. "500": {
  4396. "description": "Internal Server Error",
  4397. "schema": {
  4398. "$ref": "#/definitions/app.Response"
  4399. }
  4400. }
  4401. }
  4402. }
  4403. },
  4404. "/Ermcp3/QueryDeliveryGoods": {
  4405. "get": {
  4406. "security": [
  4407. {
  4408. "ApiKeyAuth": []
  4409. }
  4410. ],
  4411. "produces": [
  4412. "application/json"
  4413. ],
  4414. "tags": [
  4415. "企业风险管理v3(app)"
  4416. ],
  4417. "summary": "查询现货商品",
  4418. "parameters": [
  4419. {
  4420. "type": "integer",
  4421. "description": "用户id",
  4422. "name": "userid",
  4423. "in": "query",
  4424. "required": true
  4425. },
  4426. {
  4427. "type": "integer",
  4428. "description": "用户类型 2-机构 7-企业成员",
  4429. "name": "usertype",
  4430. "in": "query"
  4431. },
  4432. {
  4433. "type": "integer",
  4434. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4435. "name": "excludecfg",
  4436. "in": "query"
  4437. }
  4438. ],
  4439. "responses": {
  4440. "200": {
  4441. "description": "OK",
  4442. "schema": {
  4443. "type": "array",
  4444. "items": {
  4445. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4446. }
  4447. }
  4448. },
  4449. "500": {
  4450. "description": "Internal Server Error",
  4451. "schema": {
  4452. "$ref": "#/definitions/app.Response"
  4453. }
  4454. }
  4455. }
  4456. }
  4457. },
  4458. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4459. "get": {
  4460. "security": [
  4461. {
  4462. "ApiKeyAuth": []
  4463. }
  4464. ],
  4465. "produces": [
  4466. "application/json"
  4467. ],
  4468. "tags": [
  4469. "企业风险管理v3(app)"
  4470. ],
  4471. "summary": "查询现货商品详情",
  4472. "parameters": [
  4473. {
  4474. "type": "integer",
  4475. "description": "用户id",
  4476. "name": "userid",
  4477. "in": "query",
  4478. "required": true
  4479. },
  4480. {
  4481. "type": "integer",
  4482. "description": "用户类型 2-机构 7-企业成员",
  4483. "name": "usertype",
  4484. "in": "query"
  4485. },
  4486. {
  4487. "type": "integer",
  4488. "description": "现货商品id",
  4489. "name": "deliverygoodsid",
  4490. "in": "query"
  4491. },
  4492. {
  4493. "type": "integer",
  4494. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4495. "name": "filtersubempty",
  4496. "in": "query"
  4497. }
  4498. ],
  4499. "responses": {
  4500. "200": {
  4501. "description": "OK",
  4502. "schema": {
  4503. "type": "array",
  4504. "items": {
  4505. "$ref": "#/definitions/models.XHDeliveryGoods"
  4506. }
  4507. }
  4508. },
  4509. "500": {
  4510. "description": "Internal Server Error",
  4511. "schema": {
  4512. "$ref": "#/definitions/app.Response"
  4513. }
  4514. }
  4515. }
  4516. }
  4517. },
  4518. "/Ermcp3/QueryErmcp3ContractMiddleGoodsCfg": {
  4519. "get": {
  4520. "security": [
  4521. {
  4522. "ApiKeyAuth": []
  4523. }
  4524. ],
  4525. "produces": [
  4526. "application/json"
  4527. ],
  4528. "tags": [
  4529. "企业风险管理v3(app)"
  4530. ],
  4531. "summary": "查询现货合同期现配置信息",
  4532. "parameters": [
  4533. {
  4534. "type": "string",
  4535. "description": "合同id",
  4536. "name": "spotcontractid",
  4537. "in": "query",
  4538. "required": true
  4539. }
  4540. ],
  4541. "responses": {
  4542. "200": {
  4543. "description": "OK",
  4544. "schema": {
  4545. "type": "array",
  4546. "items": {
  4547. "$ref": "#/definitions/models.Ermcp3ContractMiddleGoodsCfg"
  4548. }
  4549. }
  4550. },
  4551. "500": {
  4552. "description": "Internal Server Error",
  4553. "schema": {
  4554. "$ref": "#/definitions/app.Response"
  4555. }
  4556. }
  4557. }
  4558. }
  4559. },
  4560. "/Ermcp3/QueryExposureDetail": {
  4561. "get": {
  4562. "security": [
  4563. {
  4564. "ApiKeyAuth": []
  4565. }
  4566. ],
  4567. "produces": [
  4568. "application/json"
  4569. ],
  4570. "tags": [
  4571. "企业风险管理v3(app)"
  4572. ],
  4573. "summary": "查询敞口现货明细",
  4574. "parameters": [
  4575. {
  4576. "type": "integer",
  4577. "description": "用户id",
  4578. "name": "userid",
  4579. "in": "query",
  4580. "required": true
  4581. },
  4582. {
  4583. "type": "integer",
  4584. "description": "用户类型 2-机构 7-企业成员",
  4585. "name": "usertype",
  4586. "in": "query"
  4587. },
  4588. {
  4589. "type": "integer",
  4590. "description": "套保商品",
  4591. "name": "middlegoodsid",
  4592. "in": "query",
  4593. "required": true
  4594. }
  4595. ],
  4596. "responses": {
  4597. "200": {
  4598. "description": "OK",
  4599. "schema": {
  4600. "type": "array",
  4601. "items": {
  4602. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4603. }
  4604. }
  4605. },
  4606. "500": {
  4607. "description": "Internal Server Error",
  4608. "schema": {
  4609. "$ref": "#/definitions/app.Response"
  4610. }
  4611. }
  4612. }
  4613. }
  4614. },
  4615. "/Ermcp3/QueryExposureSpot": {
  4616. "get": {
  4617. "security": [
  4618. {
  4619. "ApiKeyAuth": []
  4620. }
  4621. ],
  4622. "produces": [
  4623. "application/json"
  4624. ],
  4625. "tags": [
  4626. "企业风险管理v3(app)"
  4627. ],
  4628. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4629. "parameters": [
  4630. {
  4631. "type": "integer",
  4632. "description": "用户id",
  4633. "name": "userid",
  4634. "in": "query",
  4635. "required": true
  4636. },
  4637. {
  4638. "type": "integer",
  4639. "description": "用户类型 2-机构 7-企业成员",
  4640. "name": "usertype",
  4641. "in": "query"
  4642. }
  4643. ],
  4644. "responses": {
  4645. "200": {
  4646. "description": "OK",
  4647. "schema": {
  4648. "type": "array",
  4649. "items": {
  4650. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4651. }
  4652. }
  4653. },
  4654. "500": {
  4655. "description": "Internal Server Error",
  4656. "schema": {
  4657. "$ref": "#/definitions/app.Response"
  4658. }
  4659. }
  4660. }
  4661. }
  4662. },
  4663. "/Ermcp3/QueryExposureSpotDetail": {
  4664. "get": {
  4665. "security": [
  4666. {
  4667. "ApiKeyAuth": []
  4668. }
  4669. ],
  4670. "produces": [
  4671. "application/json"
  4672. ],
  4673. "tags": [
  4674. "企业风险管理v3(app)"
  4675. ],
  4676. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4677. "parameters": [
  4678. {
  4679. "type": "integer",
  4680. "description": "用户id",
  4681. "name": "userid",
  4682. "in": "query",
  4683. "required": true
  4684. },
  4685. {
  4686. "type": "integer",
  4687. "description": "用户类型 2-机构 7-企业成员",
  4688. "name": "usertype",
  4689. "in": "query"
  4690. },
  4691. {
  4692. "type": "integer",
  4693. "description": "现货商品ID",
  4694. "name": "wrstandardid",
  4695. "in": "query",
  4696. "required": true
  4697. }
  4698. ],
  4699. "responses": {
  4700. "200": {
  4701. "description": "OK",
  4702. "schema": {
  4703. "type": "array",
  4704. "items": {
  4705. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4706. }
  4707. }
  4708. },
  4709. "500": {
  4710. "description": "Internal Server Error",
  4711. "schema": {
  4712. "$ref": "#/definitions/app.Response"
  4713. }
  4714. }
  4715. }
  4716. }
  4717. },
  4718. "/Ermcp3/QueryGoodsGroup": {
  4719. "get": {
  4720. "security": [
  4721. {
  4722. "ApiKeyAuth": []
  4723. }
  4724. ],
  4725. "produces": [
  4726. "application/json"
  4727. ],
  4728. "tags": [
  4729. "企业风险管理v3(app)"
  4730. ],
  4731. "summary": "查询期货商品组",
  4732. "parameters": [
  4733. {
  4734. "type": "integer",
  4735. "description": "用户id",
  4736. "name": "userid",
  4737. "in": "query",
  4738. "required": true
  4739. },
  4740. {
  4741. "type": "integer",
  4742. "description": "用户类型 2-机构 7-企业成员",
  4743. "name": "usertype",
  4744. "in": "query"
  4745. },
  4746. {
  4747. "type": "integer",
  4748. "description": "排除套保品中已关联的商品组 1-排除",
  4749. "name": "excludecfg",
  4750. "in": "query"
  4751. }
  4752. ],
  4753. "responses": {
  4754. "200": {
  4755. "description": "OK",
  4756. "schema": {
  4757. "type": "array",
  4758. "items": {
  4759. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4760. }
  4761. }
  4762. },
  4763. "500": {
  4764. "description": "Internal Server Error",
  4765. "schema": {
  4766. "$ref": "#/definitions/app.Response"
  4767. }
  4768. }
  4769. }
  4770. }
  4771. },
  4772. "/Ermcp3/QueryGoodsWrstandard": {
  4773. "get": {
  4774. "security": [
  4775. {
  4776. "ApiKeyAuth": []
  4777. }
  4778. ],
  4779. "produces": [
  4780. "application/json"
  4781. ],
  4782. "tags": [
  4783. "企业风险管理v3(app)"
  4784. ],
  4785. "summary": "查询商品品类",
  4786. "parameters": [
  4787. {
  4788. "type": "integer",
  4789. "description": "用户id",
  4790. "name": "userid",
  4791. "in": "query",
  4792. "required": true
  4793. },
  4794. {
  4795. "type": "integer",
  4796. "description": "用户类型 2-机构 7-企业成员",
  4797. "name": "usertype",
  4798. "in": "query"
  4799. },
  4800. {
  4801. "type": "integer",
  4802. "description": "现货商品id",
  4803. "name": "deliverygoodsid",
  4804. "in": "query"
  4805. }
  4806. ],
  4807. "responses": {
  4808. "200": {
  4809. "description": "OK",
  4810. "schema": {
  4811. "type": "array",
  4812. "items": {
  4813. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4814. }
  4815. }
  4816. },
  4817. "500": {
  4818. "description": "Internal Server Error",
  4819. "schema": {
  4820. "$ref": "#/definitions/app.Response"
  4821. }
  4822. }
  4823. }
  4824. }
  4825. },
  4826. "/Ermcp3/QueryGoodsbrand": {
  4827. "get": {
  4828. "security": [
  4829. {
  4830. "ApiKeyAuth": []
  4831. }
  4832. ],
  4833. "produces": [
  4834. "application/json"
  4835. ],
  4836. "tags": [
  4837. "企业风险管理v3(app)"
  4838. ],
  4839. "summary": "查询商品品牌",
  4840. "parameters": [
  4841. {
  4842. "type": "integer",
  4843. "description": "用户id",
  4844. "name": "userid",
  4845. "in": "query",
  4846. "required": true
  4847. },
  4848. {
  4849. "type": "integer",
  4850. "description": "用户类型 2-机构 7-企业成员",
  4851. "name": "usertype",
  4852. "in": "query"
  4853. }
  4854. ],
  4855. "responses": {
  4856. "200": {
  4857. "description": "OK",
  4858. "schema": {
  4859. "type": "array",
  4860. "items": {
  4861. "$ref": "#/definitions/models.Ermcp3Brand"
  4862. }
  4863. }
  4864. },
  4865. "500": {
  4866. "description": "Internal Server Error",
  4867. "schema": {
  4868. "$ref": "#/definitions/app.Response"
  4869. }
  4870. }
  4871. }
  4872. }
  4873. },
  4874. "/Ermcp3/QueryHPMiddleGoods": {
  4875. "get": {
  4876. "security": [
  4877. {
  4878. "ApiKeyAuth": []
  4879. }
  4880. ],
  4881. "produces": [
  4882. "application/json"
  4883. ],
  4884. "tags": [
  4885. "企业风险管理v3(app)"
  4886. ],
  4887. "summary": "查询可关联套保计划",
  4888. "parameters": [
  4889. {
  4890. "type": "integer",
  4891. "description": "用户ID(填登录用户的userid)",
  4892. "name": "userid",
  4893. "in": "query",
  4894. "required": true
  4895. },
  4896. {
  4897. "type": "integer",
  4898. "description": "买卖方向 0-买 1-卖",
  4899. "name": "buyorsell",
  4900. "in": "query",
  4901. "required": true
  4902. },
  4903. {
  4904. "type": "integer",
  4905. "description": "商品组id",
  4906. "name": "goodsgroupid",
  4907. "in": "query",
  4908. "required": true
  4909. },
  4910. {
  4911. "type": "string",
  4912. "description": "套保计划编号(模糊匹配)",
  4913. "name": "hedgeplanno",
  4914. "in": "query"
  4915. },
  4916. {
  4917. "type": "string",
  4918. "description": "现货商品名称(模糊匹配)",
  4919. "name": "wrstandardname",
  4920. "in": "query"
  4921. }
  4922. ],
  4923. "responses": {
  4924. "200": {
  4925. "description": "OK",
  4926. "schema": {
  4927. "type": "array",
  4928. "items": {
  4929. "$ref": "#/definitions/models.Ermcp3HPMiddleGoods"
  4930. }
  4931. }
  4932. },
  4933. "500": {
  4934. "description": "Internal Server Error",
  4935. "schema": {
  4936. "$ref": "#/definitions/app.Response"
  4937. }
  4938. }
  4939. }
  4940. }
  4941. },
  4942. "/Ermcp3/QueryHedgePlan": {
  4943. "get": {
  4944. "security": [
  4945. {
  4946. "ApiKeyAuth": []
  4947. }
  4948. ],
  4949. "produces": [
  4950. "application/json"
  4951. ],
  4952. "tags": [
  4953. "企业风险管理v3(app)"
  4954. ],
  4955. "summary": "查询套保计划",
  4956. "parameters": [
  4957. {
  4958. "type": "integer",
  4959. "description": "用户ID",
  4960. "name": "userid",
  4961. "in": "query",
  4962. "required": true
  4963. },
  4964. {
  4965. "type": "integer",
  4966. "description": "用户类型 2-机构 7-企业成员",
  4967. "name": "usertype",
  4968. "in": "query"
  4969. },
  4970. {
  4971. "type": "string",
  4972. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4973. "name": "hedgeplanstatus",
  4974. "in": "query",
  4975. "required": true
  4976. }
  4977. ],
  4978. "responses": {
  4979. "200": {
  4980. "description": "OK",
  4981. "schema": {
  4982. "type": "array",
  4983. "items": {
  4984. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4985. }
  4986. }
  4987. },
  4988. "500": {
  4989. "description": "Internal Server Error",
  4990. "schema": {
  4991. "$ref": "#/definitions/app.Response"
  4992. }
  4993. }
  4994. }
  4995. }
  4996. },
  4997. "/Ermcp3/QueryInnerTradeLink": {
  4998. "get": {
  4999. "security": [
  5000. {
  5001. "ApiKeyAuth": []
  5002. }
  5003. ],
  5004. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  5005. "produces": [
  5006. "application/json"
  5007. ],
  5008. "tags": [
  5009. "企业风险管理v3(app)"
  5010. ],
  5011. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  5012. "parameters": [
  5013. {
  5014. "type": "integer",
  5015. "description": "外部成交单号",
  5016. "name": "outtradeid",
  5017. "in": "query",
  5018. "required": true
  5019. }
  5020. ],
  5021. "responses": {
  5022. "200": {
  5023. "description": "OK",
  5024. "schema": {
  5025. "type": "array",
  5026. "items": {
  5027. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  5028. }
  5029. }
  5030. },
  5031. "500": {
  5032. "description": "Internal Server Error",
  5033. "schema": {
  5034. "$ref": "#/definitions/app.Response"
  5035. }
  5036. }
  5037. }
  5038. }
  5039. },
  5040. "/Ermcp3/QueryMiddleGoodsDetail": {
  5041. "get": {
  5042. "security": [
  5043. {
  5044. "ApiKeyAuth": []
  5045. }
  5046. ],
  5047. "produces": [
  5048. "application/json"
  5049. ],
  5050. "tags": [
  5051. "企业风险管理v3(app)"
  5052. ],
  5053. "summary": "查询套保品种详情(套保品种/商品详情)",
  5054. "parameters": [
  5055. {
  5056. "type": "integer",
  5057. "description": "用户id",
  5058. "name": "userid",
  5059. "in": "query",
  5060. "required": true
  5061. },
  5062. {
  5063. "type": "integer",
  5064. "description": "用户类型 2-机构 7-企业成员",
  5065. "name": "usertype",
  5066. "in": "query"
  5067. },
  5068. {
  5069. "type": "integer",
  5070. "description": "套保品种id",
  5071. "name": "middlegoodsid",
  5072. "in": "query"
  5073. }
  5074. ],
  5075. "responses": {
  5076. "200": {
  5077. "description": "OK",
  5078. "schema": {
  5079. "type": "array",
  5080. "items": {
  5081. "$ref": "#/definitions/models.TBMiddleGoods"
  5082. }
  5083. }
  5084. },
  5085. "500": {
  5086. "description": "Internal Server Error",
  5087. "schema": {
  5088. "$ref": "#/definitions/app.Response"
  5089. }
  5090. }
  5091. }
  5092. }
  5093. },
  5094. "/Ermcp3/QueryOutTradeLink": {
  5095. "get": {
  5096. "security": [
  5097. {
  5098. "ApiKeyAuth": []
  5099. }
  5100. ],
  5101. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  5102. "produces": [
  5103. "application/json"
  5104. ],
  5105. "tags": [
  5106. "企业风险管理v3(app)"
  5107. ],
  5108. "summary": "查询外部成交单关联",
  5109. "parameters": [
  5110. {
  5111. "type": "integer",
  5112. "description": "用户ID(填登录用户的userid)",
  5113. "name": "userid",
  5114. "in": "query",
  5115. "required": true
  5116. },
  5117. {
  5118. "type": "string",
  5119. "description": "外部订单号(模糊匹配)",
  5120. "name": "outtradeid",
  5121. "in": "query"
  5122. },
  5123. {
  5124. "type": "string",
  5125. "description": "合约名称/代码(模糊匹配)",
  5126. "name": "goodsname",
  5127. "in": "query"
  5128. },
  5129. {
  5130. "type": "integer",
  5131. "description": "关联状态 0-未关联 1-已关联",
  5132. "name": "hasinnerorder",
  5133. "in": "query"
  5134. }
  5135. ],
  5136. "responses": {
  5137. "200": {
  5138. "description": "OK",
  5139. "schema": {
  5140. "type": "array",
  5141. "items": {
  5142. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  5143. }
  5144. }
  5145. },
  5146. "500": {
  5147. "description": "Internal Server Error",
  5148. "schema": {
  5149. "$ref": "#/definitions/app.Response"
  5150. }
  5151. }
  5152. }
  5153. }
  5154. },
  5155. "/Ermcp3/QueryPaAreaAuditCfg": {
  5156. "get": {
  5157. "security": [
  5158. {
  5159. "ApiKeyAuth": []
  5160. }
  5161. ],
  5162. "produces": [
  5163. "application/json"
  5164. ],
  5165. "tags": [
  5166. "企业风险管理v3(app)"
  5167. ],
  5168. "summary": "查询审核设置",
  5169. "parameters": [
  5170. {
  5171. "type": "integer",
  5172. "description": "用户id",
  5173. "name": "userid",
  5174. "in": "query",
  5175. "required": true
  5176. }
  5177. ],
  5178. "responses": {
  5179. "200": {
  5180. "description": "OK",
  5181. "schema": {
  5182. "type": "array",
  5183. "items": {
  5184. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  5185. }
  5186. }
  5187. },
  5188. "500": {
  5189. "description": "Internal Server Error",
  5190. "schema": {
  5191. "$ref": "#/definitions/app.Response"
  5192. }
  5193. }
  5194. }
  5195. }
  5196. },
  5197. "/Ermcp3/QueryPaAreaSubject": {
  5198. "get": {
  5199. "security": [
  5200. {
  5201. "ApiKeyAuth": []
  5202. }
  5203. ],
  5204. "produces": [
  5205. "application/json"
  5206. ],
  5207. "tags": [
  5208. "企业风险管理v3(app)"
  5209. ],
  5210. "summary": "查询交易主体",
  5211. "parameters": [
  5212. {
  5213. "type": "integer",
  5214. "description": "用户id",
  5215. "name": "userid",
  5216. "in": "query",
  5217. "required": true
  5218. },
  5219. {
  5220. "type": "integer",
  5221. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  5222. "name": "subjectid",
  5223. "in": "query"
  5224. },
  5225. {
  5226. "type": "integer",
  5227. "description": "主体类型 - 1:交易主体 2:业务部门",
  5228. "name": "subjecttype",
  5229. "in": "query"
  5230. },
  5231. {
  5232. "type": "integer",
  5233. "description": "主体状态 - 1:正常 2: 停用",
  5234. "name": "subjectstatus",
  5235. "in": "query"
  5236. }
  5237. ],
  5238. "responses": {
  5239. "200": {
  5240. "description": "OK",
  5241. "schema": {
  5242. "type": "array",
  5243. "items": {
  5244. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  5245. }
  5246. }
  5247. },
  5248. "500": {
  5249. "description": "Internal Server Error",
  5250. "schema": {
  5251. "$ref": "#/definitions/app.Response"
  5252. }
  5253. }
  5254. }
  5255. }
  5256. },
  5257. "/Ermcp3/QueryPaTradeLink": {
  5258. "get": {
  5259. "security": [
  5260. {
  5261. "ApiKeyAuth": []
  5262. }
  5263. ],
  5264. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  5265. "produces": [
  5266. "application/json"
  5267. ],
  5268. "tags": [
  5269. "企业风险管理v3(app)"
  5270. ],
  5271. "summary": "查询期现单据关联",
  5272. "parameters": [
  5273. {
  5274. "type": "integer",
  5275. "description": "用户ID",
  5276. "name": "userid",
  5277. "in": "query",
  5278. "required": true
  5279. }
  5280. ],
  5281. "responses": {
  5282. "200": {
  5283. "description": "OK",
  5284. "schema": {
  5285. "type": "array",
  5286. "items": {
  5287. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  5288. }
  5289. }
  5290. },
  5291. "500": {
  5292. "description": "Internal Server Error",
  5293. "schema": {
  5294. "$ref": "#/definitions/app.Response"
  5295. }
  5296. }
  5297. }
  5298. }
  5299. },
  5300. "/Ermcp3/QueryPaTradeLinkDetail": {
  5301. "get": {
  5302. "security": [
  5303. {
  5304. "ApiKeyAuth": []
  5305. }
  5306. ],
  5307. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  5308. "produces": [
  5309. "application/json"
  5310. ],
  5311. "tags": [
  5312. "企业风险管理v3(app)"
  5313. ],
  5314. "summary": "查询期现关联记录",
  5315. "parameters": [
  5316. {
  5317. "type": "integer",
  5318. "description": "用户ID(填登录用户的userid)",
  5319. "name": "userid",
  5320. "in": "query",
  5321. "required": true
  5322. },
  5323. {
  5324. "type": "integer",
  5325. "description": "关联状态 1:成功 2:失败 3:解绑",
  5326. "name": "linkstatus",
  5327. "in": "query"
  5328. },
  5329. {
  5330. "type": "string",
  5331. "description": "期货订单号(模糊匹配)",
  5332. "name": "tradeid",
  5333. "in": "query"
  5334. },
  5335. {
  5336. "type": "string",
  5337. "description": "现货编号(模糊匹配)",
  5338. "name": "contractno",
  5339. "in": "query"
  5340. },
  5341. {
  5342. "type": "string",
  5343. "description": "期货账户(模糊匹配)",
  5344. "name": "taname",
  5345. "in": "query"
  5346. }
  5347. ],
  5348. "responses": {
  5349. "200": {
  5350. "description": "OK",
  5351. "schema": {
  5352. "type": "array",
  5353. "items": {
  5354. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  5355. }
  5356. }
  5357. },
  5358. "500": {
  5359. "description": "Internal Server Error",
  5360. "schema": {
  5361. "$ref": "#/definitions/app.Response"
  5362. }
  5363. }
  5364. }
  5365. }
  5366. },
  5367. "/Ermcp3/QueryParamChangeApp": {
  5368. "get": {
  5369. "security": [
  5370. {
  5371. "ApiKeyAuth": []
  5372. }
  5373. ],
  5374. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  5375. "produces": [
  5376. "application/json"
  5377. ],
  5378. "tags": [
  5379. "企业风险管理v3(app)"
  5380. ],
  5381. "summary": "查询现货商品参数变更申请(流水)",
  5382. "parameters": [
  5383. {
  5384. "type": "integer",
  5385. "description": "用户ID",
  5386. "name": "userid",
  5387. "in": "query",
  5388. "required": true
  5389. },
  5390. {
  5391. "type": "integer",
  5392. "description": "现货品种id",
  5393. "name": "deliverygoodsid",
  5394. "in": "query"
  5395. },
  5396. {
  5397. "type": "integer",
  5398. "description": "现货商品id",
  5399. "name": "wrstandardid",
  5400. "in": "query"
  5401. },
  5402. {
  5403. "type": "integer",
  5404. "description": "套保商品id",
  5405. "name": "middlegoodsid",
  5406. "in": "query"
  5407. },
  5408. {
  5409. "type": "integer",
  5410. "description": "操作类型 1:新增 2:修改",
  5411. "name": "operatetype",
  5412. "in": "query"
  5413. },
  5414. {
  5415. "type": "integer",
  5416. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5417. "name": "paramchangetype",
  5418. "in": "query"
  5419. },
  5420. {
  5421. "type": "string",
  5422. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5423. "name": "ftstatus",
  5424. "in": "query"
  5425. }
  5426. ],
  5427. "responses": {
  5428. "200": {
  5429. "description": "OK",
  5430. "schema": {
  5431. "type": "array",
  5432. "items": {
  5433. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5434. }
  5435. }
  5436. },
  5437. "500": {
  5438. "description": "Internal Server Error",
  5439. "schema": {
  5440. "$ref": "#/definitions/app.Response"
  5441. }
  5442. }
  5443. }
  5444. }
  5445. },
  5446. "/Ermcp3/QueryRootUserAccount": {
  5447. "get": {
  5448. "security": [
  5449. {
  5450. "ApiKeyAuth": []
  5451. }
  5452. ],
  5453. "produces": [
  5454. "application/json"
  5455. ],
  5456. "tags": [
  5457. "企业风险管理v3(app)"
  5458. ],
  5459. "summary": "查询顶级用户信息",
  5460. "parameters": [
  5461. {
  5462. "type": "integer",
  5463. "description": "用户ID",
  5464. "name": "userid",
  5465. "in": "query",
  5466. "required": true
  5467. }
  5468. ],
  5469. "responses": {
  5470. "200": {
  5471. "description": "OK",
  5472. "schema": {
  5473. "type": "array",
  5474. "items": {
  5475. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5476. }
  5477. }
  5478. },
  5479. "500": {
  5480. "description": "Internal Server Error",
  5481. "schema": {
  5482. "$ref": "#/definitions/app.Response"
  5483. }
  5484. }
  5485. }
  5486. }
  5487. },
  5488. "/Ermcp3/QuerySCMiddleGoods": {
  5489. "get": {
  5490. "security": [
  5491. {
  5492. "ApiKeyAuth": []
  5493. }
  5494. ],
  5495. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5496. "produces": [
  5497. "application/json"
  5498. ],
  5499. "tags": [
  5500. "企业风险管理v3(app)"
  5501. ],
  5502. "summary": "查询现货订单",
  5503. "parameters": [
  5504. {
  5505. "type": "integer",
  5506. "description": "用户ID(填登录用户的userid)",
  5507. "name": "userid",
  5508. "in": "query",
  5509. "required": true
  5510. },
  5511. {
  5512. "type": "integer",
  5513. "description": "买卖方向 0-买 1-卖",
  5514. "name": "buyorsell",
  5515. "in": "query",
  5516. "required": true
  5517. },
  5518. {
  5519. "type": "integer",
  5520. "description": "商品组id",
  5521. "name": "goodsgroupid",
  5522. "in": "query",
  5523. "required": true
  5524. },
  5525. {
  5526. "type": "integer",
  5527. "description": "业务类型 1:套保 2:套利",
  5528. "name": "biztype",
  5529. "in": "query"
  5530. },
  5531. {
  5532. "type": "string",
  5533. "description": "现货编号(模糊匹配)",
  5534. "name": "contractno",
  5535. "in": "query"
  5536. },
  5537. {
  5538. "type": "string",
  5539. "description": "对手方(模糊匹配)",
  5540. "name": "customername",
  5541. "in": "query"
  5542. },
  5543. {
  5544. "type": "string",
  5545. "description": "现货商品名称(模糊匹配)",
  5546. "name": "wrstandardname",
  5547. "in": "query"
  5548. }
  5549. ],
  5550. "responses": {
  5551. "200": {
  5552. "description": "OK",
  5553. "schema": {
  5554. "type": "array",
  5555. "items": {
  5556. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5557. }
  5558. }
  5559. },
  5560. "500": {
  5561. "description": "Internal Server Error",
  5562. "schema": {
  5563. "$ref": "#/definitions/app.Response"
  5564. }
  5565. }
  5566. }
  5567. }
  5568. },
  5569. "/Ermcp3/QuerySpotContract": {
  5570. "get": {
  5571. "security": [
  5572. {
  5573. "ApiKeyAuth": []
  5574. }
  5575. ],
  5576. "produces": [
  5577. "application/json"
  5578. ],
  5579. "tags": [
  5580. "企业风险管理v3(app)"
  5581. ],
  5582. "summary": "查询现货合同",
  5583. "parameters": [
  5584. {
  5585. "type": "integer",
  5586. "description": "用户id(当指定contractid, userid可不填)",
  5587. "name": "userid",
  5588. "in": "query",
  5589. "required": true
  5590. },
  5591. {
  5592. "type": "integer",
  5593. "description": "用户类型 2-机构 7-企业成员",
  5594. "name": "usertype",
  5595. "in": "query"
  5596. },
  5597. {
  5598. "type": "integer",
  5599. "description": "合同类型 1-采购, -1-销售",
  5600. "name": "contracttype",
  5601. "in": "query"
  5602. },
  5603. {
  5604. "type": "string",
  5605. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5606. "name": "querytype",
  5607. "in": "query"
  5608. },
  5609. {
  5610. "type": "string",
  5611. "description": "合同ID(SpotContractId)",
  5612. "name": "contractid",
  5613. "in": "query"
  5614. },
  5615. {
  5616. "type": "string",
  5617. "description": "合同编号(模糊匹配)",
  5618. "name": "contractno",
  5619. "in": "query"
  5620. },
  5621. {
  5622. "type": "string",
  5623. "description": "商品名称(模糊匹配)",
  5624. "name": "wrstandardname",
  5625. "in": "query"
  5626. },
  5627. {
  5628. "type": "string",
  5629. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5630. "name": "status",
  5631. "in": "query"
  5632. },
  5633. {
  5634. "type": "integer",
  5635. "description": "是否只查今日的合同 1-查今日合同",
  5636. "name": "istoday",
  5637. "in": "query"
  5638. }
  5639. ],
  5640. "responses": {
  5641. "200": {
  5642. "description": "OK",
  5643. "schema": {
  5644. "type": "array",
  5645. "items": {
  5646. "$ref": "#/definitions/models.Ermcp3Contract"
  5647. }
  5648. }
  5649. },
  5650. "500": {
  5651. "description": "Internal Server Error",
  5652. "schema": {
  5653. "$ref": "#/definitions/app.Response"
  5654. }
  5655. }
  5656. }
  5657. }
  5658. },
  5659. "/Ermcp3/QuerySpotContractBS": {
  5660. "get": {
  5661. "security": [
  5662. {
  5663. "ApiKeyAuth": []
  5664. }
  5665. ],
  5666. "produces": [
  5667. "application/json"
  5668. ],
  5669. "tags": [
  5670. "企业风险管理v3(app)"
  5671. ],
  5672. "summary": "查询合同(采购/销售)",
  5673. "parameters": [
  5674. {
  5675. "type": "integer",
  5676. "description": "用户id",
  5677. "name": "userid",
  5678. "in": "query",
  5679. "required": true
  5680. },
  5681. {
  5682. "type": "integer",
  5683. "description": "用户类型 2-机构 7-企业成员",
  5684. "name": "usertype",
  5685. "in": "query"
  5686. },
  5687. {
  5688. "type": "integer",
  5689. "description": "合同类型 1-采购, -1-销售",
  5690. "name": "contracttype",
  5691. "in": "query",
  5692. "required": true
  5693. },
  5694. {
  5695. "type": "integer",
  5696. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5697. "name": "querytype",
  5698. "in": "query"
  5699. },
  5700. {
  5701. "type": "string",
  5702. "description": "合同ID(SpotContractId)",
  5703. "name": "contractid",
  5704. "in": "query"
  5705. },
  5706. {
  5707. "type": "string",
  5708. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5709. "name": "status",
  5710. "in": "query"
  5711. },
  5712. {
  5713. "type": "integer",
  5714. "description": "是否只查今日的合同 1-查今日合同",
  5715. "name": "istoday",
  5716. "in": "query"
  5717. }
  5718. ],
  5719. "responses": {
  5720. "200": {
  5721. "description": "OK",
  5722. "schema": {
  5723. "type": "array",
  5724. "items": {
  5725. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5726. }
  5727. }
  5728. },
  5729. "500": {
  5730. "description": "Internal Server Error",
  5731. "schema": {
  5732. "$ref": "#/definitions/app.Response"
  5733. }
  5734. }
  5735. }
  5736. }
  5737. },
  5738. "/Ermcp3/QuerySpotGoodsPrice": {
  5739. "get": {
  5740. "security": [
  5741. {
  5742. "ApiKeyAuth": []
  5743. }
  5744. ],
  5745. "produces": [
  5746. "application/json"
  5747. ],
  5748. "tags": [
  5749. "企业风险管理v3(app)"
  5750. ],
  5751. "summary": "查询现货市价(现货市价)",
  5752. "parameters": [
  5753. {
  5754. "type": "integer",
  5755. "description": "用户ID",
  5756. "name": "userid",
  5757. "in": "query",
  5758. "required": true
  5759. }
  5760. ],
  5761. "responses": {
  5762. "200": {
  5763. "description": "OK",
  5764. "schema": {
  5765. "type": "array",
  5766. "items": {
  5767. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5768. }
  5769. }
  5770. },
  5771. "500": {
  5772. "description": "Internal Server Error",
  5773. "schema": {
  5774. "$ref": "#/definitions/app.Response"
  5775. }
  5776. }
  5777. }
  5778. }
  5779. },
  5780. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5781. "get": {
  5782. "security": [
  5783. {
  5784. "ApiKeyAuth": []
  5785. }
  5786. ],
  5787. "produces": [
  5788. "application/json"
  5789. ],
  5790. "tags": [
  5791. "企业风险管理v3(app)"
  5792. ],
  5793. "summary": "查询现货市价详情(现货市价/详情)",
  5794. "parameters": [
  5795. {
  5796. "type": "integer",
  5797. "description": "用户ID",
  5798. "name": "userid",
  5799. "in": "query",
  5800. "required": true
  5801. },
  5802. {
  5803. "type": "integer",
  5804. "description": "现货商品ID",
  5805. "name": "deliverygoodsid",
  5806. "in": "query",
  5807. "required": true
  5808. },
  5809. {
  5810. "type": "integer",
  5811. "description": "品牌ID",
  5812. "name": "brandid",
  5813. "in": "query"
  5814. },
  5815. {
  5816. "type": "integer",
  5817. "description": "品类ID",
  5818. "name": "wrstandardid",
  5819. "in": "query"
  5820. }
  5821. ],
  5822. "responses": {
  5823. "200": {
  5824. "description": "OK",
  5825. "schema": {
  5826. "type": "array",
  5827. "items": {
  5828. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5829. }
  5830. }
  5831. },
  5832. "500": {
  5833. "description": "Internal Server Error",
  5834. "schema": {
  5835. "$ref": "#/definitions/app.Response"
  5836. }
  5837. }
  5838. }
  5839. }
  5840. },
  5841. "/Ermcp3/QuerySubTaaccount": {
  5842. "get": {
  5843. "security": [
  5844. {
  5845. "ApiKeyAuth": []
  5846. }
  5847. ],
  5848. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5849. "produces": [
  5850. "application/json"
  5851. ],
  5852. "tags": [
  5853. "企业风险管理v3(app)"
  5854. ],
  5855. "summary": "查询期货子账户",
  5856. "parameters": [
  5857. {
  5858. "type": "integer",
  5859. "description": "母账号id",
  5860. "name": "parentaccountid",
  5861. "in": "query"
  5862. },
  5863. {
  5864. "type": "string",
  5865. "description": "母账号代码",
  5866. "name": "parentaccountcode",
  5867. "in": "query"
  5868. }
  5869. ],
  5870. "responses": {
  5871. "200": {
  5872. "description": "OK",
  5873. "schema": {
  5874. "type": "array",
  5875. "items": {
  5876. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5877. }
  5878. }
  5879. },
  5880. "500": {
  5881. "description": "Internal Server Error",
  5882. "schema": {
  5883. "$ref": "#/definitions/app.Response"
  5884. }
  5885. }
  5886. }
  5887. }
  5888. },
  5889. "/Ermcp8/QueryERMCP2HedgedItemSpotDetail": {
  5890. "get": {
  5891. "security": [
  5892. {
  5893. "ApiKeyAuth": []
  5894. }
  5895. ],
  5896. "produces": [
  5897. "application/json"
  5898. ],
  5899. "tags": [
  5900. "企业风险管理v8"
  5901. ],
  5902. "summary": "现货成交明细查询",
  5903. "parameters": [
  5904. {
  5905. "type": "integer",
  5906. "description": "套期项目ID",
  5907. "name": "hedgeditemid",
  5908. "in": "query",
  5909. "required": true
  5910. }
  5911. ],
  5912. "responses": {
  5913. "200": {
  5914. "description": "OK",
  5915. "schema": {
  5916. "type": "array",
  5917. "items": {
  5918. "$ref": "#/definitions/models.Ermcp2hedgeditemspotDetail"
  5919. }
  5920. }
  5921. },
  5922. "500": {
  5923. "description": "Internal Server Error",
  5924. "schema": {
  5925. "$ref": "#/definitions/app.Response"
  5926. }
  5927. }
  5928. }
  5929. }
  5930. },
  5931. "/Ermcp8/QueryERMCP2HedgedItemspot": {
  5932. "get": {
  5933. "security": [
  5934. {
  5935. "ApiKeyAuth": []
  5936. }
  5937. ],
  5938. "produces": [
  5939. "application/json"
  5940. ],
  5941. "tags": [
  5942. "企业风险管理v8"
  5943. ],
  5944. "summary": "套期计划明细查询",
  5945. "parameters": [
  5946. {
  5947. "type": "integer",
  5948. "description": "套期项目ID",
  5949. "name": "hedgeditemid",
  5950. "in": "query",
  5951. "required": true
  5952. }
  5953. ],
  5954. "responses": {
  5955. "200": {
  5956. "description": "OK",
  5957. "schema": {
  5958. "type": "array",
  5959. "items": {
  5960. "$ref": "#/definitions/models.Ermcp2hedgeditemspot"
  5961. }
  5962. }
  5963. },
  5964. "500": {
  5965. "description": "Internal Server Error",
  5966. "schema": {
  5967. "$ref": "#/definitions/app.Response"
  5968. }
  5969. }
  5970. }
  5971. }
  5972. },
  5973. "/Ermcp8/QueryERMCPJRLinkPos": {
  5974. "get": {
  5975. "security": [
  5976. {
  5977. "ApiKeyAuth": []
  5978. }
  5979. ],
  5980. "produces": [
  5981. "application/json"
  5982. ],
  5983. "tags": [
  5984. "企业风险管理v8"
  5985. ],
  5986. "summary": "期货持仓明细查询",
  5987. "parameters": [
  5988. {
  5989. "type": "integer",
  5990. "description": "套期项目ID",
  5991. "name": "hedgeditemid",
  5992. "in": "query",
  5993. "required": true
  5994. }
  5995. ],
  5996. "responses": {
  5997. "200": {
  5998. "description": "OK",
  5999. "schema": {
  6000. "type": "array",
  6001. "items": {
  6002. "$ref": "#/definitions/models.Ermcpjrlinkpos"
  6003. }
  6004. }
  6005. },
  6006. "500": {
  6007. "description": "Internal Server Error",
  6008. "schema": {
  6009. "$ref": "#/definitions/app.Response"
  6010. }
  6011. }
  6012. }
  6013. }
  6014. },
  6015. "/Ermcp8/QueryERMCPPatradeLinkDetail": {
  6016. "get": {
  6017. "security": [
  6018. {
  6019. "ApiKeyAuth": []
  6020. }
  6021. ],
  6022. "produces": [
  6023. "application/json"
  6024. ],
  6025. "tags": [
  6026. "企业风险管理v8"
  6027. ],
  6028. "summary": "期货成交单明细查询",
  6029. "parameters": [
  6030. {
  6031. "type": "integer",
  6032. "description": "套期项目ID",
  6033. "name": "hedgeditemid",
  6034. "in": "query",
  6035. "required": true
  6036. }
  6037. ],
  6038. "responses": {
  6039. "200": {
  6040. "description": "OK",
  6041. "schema": {
  6042. "type": "array",
  6043. "items": {
  6044. "$ref": "#/definitions/models.Ermcppatradelinkdetail"
  6045. }
  6046. }
  6047. },
  6048. "500": {
  6049. "description": "Internal Server Error",
  6050. "schema": {
  6051. "$ref": "#/definitions/app.Response"
  6052. }
  6053. }
  6054. }
  6055. }
  6056. },
  6057. "/Ermcp8/QueryErmcp2AreaExposure": {
  6058. "get": {
  6059. "security": [
  6060. {
  6061. "ApiKeyAuth": []
  6062. }
  6063. ],
  6064. "produces": [
  6065. "application/json"
  6066. ],
  6067. "tags": [
  6068. "企业风险管理v8"
  6069. ],
  6070. "summary": "企业敞口查询",
  6071. "parameters": [
  6072. {
  6073. "type": "string",
  6074. "description": "用户ID",
  6075. "name": "userid",
  6076. "in": "query",
  6077. "required": true
  6078. }
  6079. ],
  6080. "responses": {
  6081. "200": {
  6082. "description": "OK",
  6083. "schema": {
  6084. "type": "array",
  6085. "items": {
  6086. "$ref": "#/definitions/models.Ermcp2AreaExposure"
  6087. }
  6088. }
  6089. },
  6090. "500": {
  6091. "description": "Internal Server Error",
  6092. "schema": {
  6093. "$ref": "#/definitions/app.Response"
  6094. }
  6095. }
  6096. }
  6097. }
  6098. },
  6099. "/Ermcp8/QueryErmcp2HedgedItem": {
  6100. "get": {
  6101. "security": [
  6102. {
  6103. "ApiKeyAuth": []
  6104. }
  6105. ],
  6106. "description": "已完成项目查询 -\u003e 项目状态 = 3:正常完结 or 5:异常完结",
  6107. "produces": [
  6108. "application/json"
  6109. ],
  6110. "tags": [
  6111. "企业风险管理v8"
  6112. ],
  6113. "summary": "查询被套期项目信息",
  6114. "parameters": [
  6115. {
  6116. "type": "string",
  6117. "description": "用户ID",
  6118. "name": "userid",
  6119. "in": "query",
  6120. "required": true
  6121. },
  6122. {
  6123. "type": "integer",
  6124. "description": "套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6125. "name": "hedgedtype",
  6126. "in": "query"
  6127. },
  6128. {
  6129. "type": "integer",
  6130. "description": "项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6131. "name": "hedgeditemstatus",
  6132. "in": "query"
  6133. }
  6134. ],
  6135. "responses": {
  6136. "200": {
  6137. "description": "OK",
  6138. "schema": {
  6139. "type": "array",
  6140. "items": {
  6141. "$ref": "#/definitions/models.Ermcp2hedgeditem"
  6142. }
  6143. }
  6144. },
  6145. "500": {
  6146. "description": "Internal Server Error",
  6147. "schema": {
  6148. "$ref": "#/definitions/app.Response"
  6149. }
  6150. }
  6151. }
  6152. }
  6153. },
  6154. "/Ermcp8/QueryErmcp2HedgedItemLink": {
  6155. "get": {
  6156. "security": [
  6157. {
  6158. "ApiKeyAuth": []
  6159. }
  6160. ],
  6161. "produces": [
  6162. "application/json"
  6163. ],
  6164. "tags": [
  6165. "企业风险管理v8"
  6166. ],
  6167. "summary": "现货合同关联被套期项目查询",
  6168. "parameters": [
  6169. {
  6170. "type": "integer",
  6171. "description": "现货合同ID",
  6172. "name": "spotcontractid",
  6173. "in": "query",
  6174. "required": true
  6175. }
  6176. ],
  6177. "responses": {
  6178. "200": {
  6179. "description": "OK",
  6180. "schema": {
  6181. "type": "array",
  6182. "items": {
  6183. "$ref": "#/definitions/models.Ermcp2hedgeditemlink"
  6184. }
  6185. }
  6186. },
  6187. "500": {
  6188. "description": "Internal Server Error",
  6189. "schema": {
  6190. "$ref": "#/definitions/app.Response"
  6191. }
  6192. }
  6193. }
  6194. }
  6195. },
  6196. "/Ermcp8/QueryErmcp2HedgedItemsDetail": {
  6197. "get": {
  6198. "security": [
  6199. {
  6200. "ApiKeyAuth": []
  6201. }
  6202. ],
  6203. "produces": [
  6204. "application/json"
  6205. ],
  6206. "tags": [
  6207. "企业风险管理v8"
  6208. ],
  6209. "summary": "敞口明细 - 计划变动明细",
  6210. "parameters": [
  6211. {
  6212. "type": "integer",
  6213. "description": "用户ID",
  6214. "name": "userid",
  6215. "in": "query",
  6216. "required": true
  6217. },
  6218. {
  6219. "type": "integer",
  6220. "description": "套保品种ID",
  6221. "name": "middlegoodsid",
  6222. "in": "query",
  6223. "required": true
  6224. }
  6225. ],
  6226. "responses": {
  6227. "200": {
  6228. "description": "OK",
  6229. "schema": {
  6230. "type": "array",
  6231. "items": {
  6232. "$ref": "#/definitions/models.Ermcp2hedgeditemsDetail"
  6233. }
  6234. }
  6235. },
  6236. "500": {
  6237. "description": "Internal Server Error",
  6238. "schema": {
  6239. "$ref": "#/definitions/app.Response"
  6240. }
  6241. }
  6242. }
  6243. }
  6244. },
  6245. "/Ermcp8/QueryErmcp2StockSpotChangeLog": {
  6246. "get": {
  6247. "security": [
  6248. {
  6249. "ApiKeyAuth": []
  6250. }
  6251. ],
  6252. "produces": [
  6253. "application/json"
  6254. ],
  6255. "tags": [
  6256. "企业风险管理v8"
  6257. ],
  6258. "summary": "敞口明细 - 现货变动明细查询",
  6259. "parameters": [
  6260. {
  6261. "type": "integer",
  6262. "description": "用户ID",
  6263. "name": "userid",
  6264. "in": "query",
  6265. "required": true
  6266. },
  6267. {
  6268. "type": "integer",
  6269. "description": "套保品种ID",
  6270. "name": "middlegoodsid",
  6271. "in": "query",
  6272. "required": true
  6273. }
  6274. ],
  6275. "responses": {
  6276. "200": {
  6277. "description": "OK",
  6278. "schema": {
  6279. "type": "array",
  6280. "items": {
  6281. "$ref": "#/definitions/models.Ermcp2stockspotchangelog"
  6282. }
  6283. }
  6284. },
  6285. "500": {
  6286. "description": "Internal Server Error",
  6287. "schema": {
  6288. "$ref": "#/definitions/app.Response"
  6289. }
  6290. }
  6291. }
  6292. }
  6293. },
  6294. "/Ermcp8/QueryErmcp8EnableHedgeditem": {
  6295. "get": {
  6296. "security": [
  6297. {
  6298. "ApiKeyAuth": []
  6299. }
  6300. ],
  6301. "produces": [
  6302. "application/json"
  6303. ],
  6304. "tags": [
  6305. "企业风险管理v8"
  6306. ],
  6307. "summary": "可关联项目查询",
  6308. "parameters": [
  6309. {
  6310. "type": "integer",
  6311. "description": "用户ID",
  6312. "name": "userid",
  6313. "in": "query",
  6314. "required": true
  6315. },
  6316. {
  6317. "type": "integer",
  6318. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  6319. "name": "spottype",
  6320. "in": "query",
  6321. "required": true
  6322. },
  6323. {
  6324. "type": "integer",
  6325. "description": "现货商品ID",
  6326. "name": "wrstandardid",
  6327. "in": "query"
  6328. }
  6329. ],
  6330. "responses": {
  6331. "200": {
  6332. "description": "OK",
  6333. "schema": {
  6334. "type": "array",
  6335. "items": {
  6336. "$ref": "#/definitions/models.Ermcp8EnableHedgeditem"
  6337. }
  6338. }
  6339. },
  6340. "500": {
  6341. "description": "Internal Server Error",
  6342. "schema": {
  6343. "$ref": "#/definitions/app.Response"
  6344. }
  6345. }
  6346. }
  6347. }
  6348. },
  6349. "/Ermcp8/QueryErmcp8HedgeditemReport": {
  6350. "get": {
  6351. "security": [
  6352. {
  6353. "ApiKeyAuth": []
  6354. }
  6355. ],
  6356. "produces": [
  6357. "application/json"
  6358. ],
  6359. "tags": [
  6360. "企业风险管理v8"
  6361. ],
  6362. "summary": "套期项目报表查询",
  6363. "parameters": [
  6364. {
  6365. "type": "integer",
  6366. "description": "用户ID",
  6367. "name": "userid",
  6368. "in": "query",
  6369. "required": true
  6370. },
  6371. {
  6372. "type": "integer",
  6373. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  6374. "name": "cycletype",
  6375. "in": "query"
  6376. },
  6377. {
  6378. "type": "string",
  6379. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  6380. "name": "cycletime",
  6381. "in": "query",
  6382. "required": true
  6383. },
  6384. {
  6385. "type": "integer",
  6386. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6387. "name": "hedgedtype",
  6388. "in": "query"
  6389. },
  6390. {
  6391. "type": "integer",
  6392. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6393. "name": "hedgeditemstatus",
  6394. "in": "query"
  6395. },
  6396. {
  6397. "type": "string",
  6398. "description": "项目编号,模糊查询",
  6399. "name": "hedgeditemnum",
  6400. "in": "query"
  6401. },
  6402. {
  6403. "type": "integer",
  6404. "description": "现货商品ID",
  6405. "name": "wrstandardid",
  6406. "in": "query"
  6407. }
  6408. ],
  6409. "responses": {
  6410. "200": {
  6411. "description": "OK",
  6412. "schema": {
  6413. "type": "array",
  6414. "items": {
  6415. "$ref": "#/definitions/models.Ermcp8HedgeditemReport"
  6416. }
  6417. }
  6418. },
  6419. "500": {
  6420. "description": "Internal Server Error",
  6421. "schema": {
  6422. "$ref": "#/definitions/app.Response"
  6423. }
  6424. }
  6425. }
  6426. }
  6427. },
  6428. "/Ermcp8/QueryErmcp8RunningHedgeditem": {
  6429. "get": {
  6430. "security": [
  6431. {
  6432. "ApiKeyAuth": []
  6433. }
  6434. ],
  6435. "produces": [
  6436. "application/json"
  6437. ],
  6438. "tags": [
  6439. "企业风险管理v8"
  6440. ],
  6441. "summary": "查询执行中项目查询信息",
  6442. "parameters": [
  6443. {
  6444. "type": "string",
  6445. "description": "用户ID",
  6446. "name": "userid",
  6447. "in": "query",
  6448. "required": true
  6449. }
  6450. ],
  6451. "responses": {
  6452. "200": {
  6453. "description": "OK",
  6454. "schema": {
  6455. "type": "array",
  6456. "items": {
  6457. "$ref": "#/definitions/models.Ermcp8RunningHedgeditem"
  6458. }
  6459. }
  6460. },
  6461. "500": {
  6462. "description": "Internal Server Error",
  6463. "schema": {
  6464. "$ref": "#/definitions/app.Response"
  6465. }
  6466. }
  6467. }
  6468. }
  6469. },
  6470. "/Ermcp8/QueryInternalEnableTradeDetail": {
  6471. "get": {
  6472. "security": [
  6473. {
  6474. "ApiKeyAuth": []
  6475. }
  6476. ],
  6477. "produces": [
  6478. "application/json"
  6479. ],
  6480. "tags": [
  6481. "企业风险管理v8"
  6482. ],
  6483. "summary": "内部成交单可关联项目查询",
  6484. "parameters": [
  6485. {
  6486. "type": "integer",
  6487. "description": "企业ID",
  6488. "name": "areauserid",
  6489. "in": "query",
  6490. "required": true
  6491. },
  6492. {
  6493. "type": "integer",
  6494. "description": "期货合约ID",
  6495. "name": "goodsid",
  6496. "in": "query",
  6497. "required": true
  6498. },
  6499. {
  6500. "type": "integer",
  6501. "description": "交易用户ID",
  6502. "name": "tradeuserid",
  6503. "in": "query",
  6504. "required": true
  6505. }
  6506. ],
  6507. "responses": {
  6508. "200": {
  6509. "description": "OK",
  6510. "schema": {
  6511. "type": "array",
  6512. "items": {
  6513. "$ref": "#/definitions/models.InternalEnableTradeDetail"
  6514. }
  6515. }
  6516. },
  6517. "500": {
  6518. "description": "Internal Server Error",
  6519. "schema": {
  6520. "$ref": "#/definitions/app.Response"
  6521. }
  6522. }
  6523. }
  6524. }
  6525. },
  6526. "/Ermcp8/QueryInternalUncorrelatedTradeDetail": {
  6527. "get": {
  6528. "security": [
  6529. {
  6530. "ApiKeyAuth": []
  6531. }
  6532. ],
  6533. "produces": [
  6534. "application/json"
  6535. ],
  6536. "tags": [
  6537. "企业风险管理v8"
  6538. ],
  6539. "summary": "内部未关联成交单查询",
  6540. "parameters": [
  6541. {
  6542. "type": "integer",
  6543. "description": "用户编号",
  6544. "name": "userid",
  6545. "in": "query",
  6546. "required": true
  6547. },
  6548. {
  6549. "type": "string",
  6550. "description": "起始日期(格式yyyymmdd)",
  6551. "name": "begindate",
  6552. "in": "query"
  6553. },
  6554. {
  6555. "type": "string",
  6556. "description": "终止日期(格式yyyymmdd)",
  6557. "name": "enddate",
  6558. "in": "query"
  6559. },
  6560. {
  6561. "type": "string",
  6562. "description": "合约代码",
  6563. "name": "goodscode",
  6564. "in": "query"
  6565. },
  6566. {
  6567. "type": "string",
  6568. "description": "合约名称",
  6569. "name": "goodsname",
  6570. "in": "query"
  6571. },
  6572. {
  6573. "type": "integer",
  6574. "description": "成交单号",
  6575. "name": "tradeid",
  6576. "in": "query"
  6577. },
  6578. {
  6579. "type": "integer",
  6580. "description": "方向 - 0:买 1:卖",
  6581. "name": "buyorsell",
  6582. "in": "query"
  6583. },
  6584. {
  6585. "type": "string",
  6586. "description": "套期主体",
  6587. "name": "accountname",
  6588. "in": "query"
  6589. }
  6590. ],
  6591. "responses": {
  6592. "200": {
  6593. "description": "OK",
  6594. "schema": {
  6595. "type": "array",
  6596. "items": {
  6597. "$ref": "#/definitions/models.InternalUncorrelatedTradeDetail"
  6598. }
  6599. }
  6600. },
  6601. "500": {
  6602. "description": "Internal Server Error",
  6603. "schema": {
  6604. "$ref": "#/definitions/app.Response"
  6605. }
  6606. }
  6607. }
  6608. }
  6609. },
  6610. "/Ermcp8/QueryMarketCalendar": {
  6611. "get": {
  6612. "security": [
  6613. {
  6614. "ApiKeyAuth": []
  6615. }
  6616. ],
  6617. "produces": [
  6618. "application/json"
  6619. ],
  6620. "tags": [
  6621. "企业风险管理v8"
  6622. ],
  6623. "summary": "市场节假日查询",
  6624. "parameters": [
  6625. {
  6626. "type": "integer",
  6627. "description": "市场ID",
  6628. "name": "marketid",
  6629. "in": "query"
  6630. }
  6631. ],
  6632. "responses": {
  6633. "200": {
  6634. "description": "OK",
  6635. "schema": {
  6636. "type": "array",
  6637. "items": {
  6638. "$ref": "#/definitions/models.Marketcalendar"
  6639. }
  6640. }
  6641. },
  6642. "500": {
  6643. "description": "Internal Server Error",
  6644. "schema": {
  6645. "$ref": "#/definitions/app.Response"
  6646. }
  6647. }
  6648. }
  6649. }
  6650. },
  6651. "/Ermcp8/QueryPatradeLinkDetail": {
  6652. "get": {
  6653. "security": [
  6654. {
  6655. "ApiKeyAuth": []
  6656. }
  6657. ],
  6658. "produces": [
  6659. "application/json"
  6660. ],
  6661. "tags": [
  6662. "企业风险管理v8"
  6663. ],
  6664. "summary": "敞口明细 - 期货变动明细",
  6665. "parameters": [
  6666. {
  6667. "type": "integer",
  6668. "description": "用户ID",
  6669. "name": "userid",
  6670. "in": "query",
  6671. "required": true
  6672. },
  6673. {
  6674. "type": "integer",
  6675. "description": "套保品种ID",
  6676. "name": "middlegoodsid",
  6677. "in": "query",
  6678. "required": true
  6679. }
  6680. ],
  6681. "responses": {
  6682. "200": {
  6683. "description": "OK",
  6684. "schema": {
  6685. "type": "array",
  6686. "items": {
  6687. "$ref": "#/definitions/models.Patradelinkdetail"
  6688. }
  6689. }
  6690. },
  6691. "500": {
  6692. "description": "Internal Server Error",
  6693. "schema": {
  6694. "$ref": "#/definitions/app.Response"
  6695. }
  6696. }
  6697. }
  6698. }
  6699. },
  6700. "/Ermcp8/QueryUnLinkErmcpHedgePlan": {
  6701. "get": {
  6702. "security": [
  6703. {
  6704. "ApiKeyAuth": []
  6705. }
  6706. ],
  6707. "produces": [
  6708. "application/json"
  6709. ],
  6710. "tags": [
  6711. "企业风险管理v8"
  6712. ],
  6713. "summary": "未关联购销计划",
  6714. "parameters": [
  6715. {
  6716. "type": "integer",
  6717. "description": "企业ID",
  6718. "name": "areauserid",
  6719. "in": "query",
  6720. "required": true
  6721. },
  6722. {
  6723. "type": "integer",
  6724. "description": "计划类型 - 1:采购 -1:销售",
  6725. "name": "contracttype",
  6726. "in": "query"
  6727. },
  6728. {
  6729. "type": "string",
  6730. "description": "计划编号,模糊查询",
  6731. "name": "hedgeplanno",
  6732. "in": "query"
  6733. },
  6734. {
  6735. "type": "string",
  6736. "description": "现货商品,模糊查询",
  6737. "name": "wrstandardname",
  6738. "in": "query"
  6739. }
  6740. ],
  6741. "responses": {
  6742. "200": {
  6743. "description": "OK",
  6744. "schema": {
  6745. "type": "array",
  6746. "items": {
  6747. "$ref": "#/definitions/models.Unlinkermcphedgeplan"
  6748. }
  6749. }
  6750. },
  6751. "500": {
  6752. "description": "Internal Server Error",
  6753. "schema": {
  6754. "$ref": "#/definitions/app.Response"
  6755. }
  6756. }
  6757. }
  6758. }
  6759. },
  6760. "/Ermcp8/QueryUnLinkSpotContract": {
  6761. "get": {
  6762. "security": [
  6763. {
  6764. "ApiKeyAuth": []
  6765. }
  6766. ],
  6767. "produces": [
  6768. "application/json"
  6769. ],
  6770. "tags": [
  6771. "企业风险管理v8"
  6772. ],
  6773. "summary": "未关联合同查询",
  6774. "parameters": [
  6775. {
  6776. "type": "integer",
  6777. "description": "用户ID",
  6778. "name": "userid",
  6779. "in": "query",
  6780. "required": true
  6781. },
  6782. {
  6783. "type": "integer",
  6784. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6785. "name": "pricetype",
  6786. "in": "query"
  6787. },
  6788. {
  6789. "type": "string",
  6790. "description": "合同编号, 模拟查询",
  6791. "name": "contractno",
  6792. "in": "query"
  6793. },
  6794. {
  6795. "type": "string",
  6796. "description": "对手方, 模拟查询",
  6797. "name": "customername",
  6798. "in": "query"
  6799. },
  6800. {
  6801. "type": "integer",
  6802. "description": "项合同类型 - 1:采购 -1:销售",
  6803. "name": "contracttype",
  6804. "in": "query"
  6805. }
  6806. ],
  6807. "responses": {
  6808. "200": {
  6809. "description": "OK",
  6810. "schema": {
  6811. "type": "array",
  6812. "items": {
  6813. "$ref": "#/definitions/models.ErmcpSpotContractModelEx"
  6814. }
  6815. }
  6816. },
  6817. "500": {
  6818. "description": "Internal Server Error",
  6819. "schema": {
  6820. "$ref": "#/definitions/app.Response"
  6821. }
  6822. }
  6823. }
  6824. }
  6825. },
  6826. "/Erms2/QueryArbitrageStrategy": {
  6827. "get": {
  6828. "security": [
  6829. {
  6830. "ApiKeyAuth": []
  6831. }
  6832. ],
  6833. "produces": [
  6834. "application/json"
  6835. ],
  6836. "tags": [
  6837. "风险管理"
  6838. ],
  6839. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  6840. "parameters": [
  6841. {
  6842. "type": "integer",
  6843. "description": "账户ID",
  6844. "name": "userid",
  6845. "in": "query",
  6846. "required": true
  6847. },
  6848. {
  6849. "type": "string",
  6850. "description": "商品组ID(品种ID)",
  6851. "name": "goodsgroupid",
  6852. "in": "query"
  6853. }
  6854. ],
  6855. "responses": {
  6856. "200": {
  6857. "description": "OK",
  6858. "schema": {
  6859. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  6860. }
  6861. },
  6862. "500": {
  6863. "description": "Internal Server Error",
  6864. "schema": {
  6865. "$ref": "#/definitions/app.Response"
  6866. }
  6867. }
  6868. }
  6869. }
  6870. },
  6871. "/Erms2/QueryInnerTradeDetail": {
  6872. "get": {
  6873. "security": [
  6874. {
  6875. "ApiKeyAuth": []
  6876. }
  6877. ],
  6878. "produces": [
  6879. "application/json"
  6880. ],
  6881. "tags": [
  6882. "风险管理"
  6883. ],
  6884. "summary": "查询内部成交单信息",
  6885. "parameters": [
  6886. {
  6887. "type": "integer",
  6888. "description": "资金账户",
  6889. "name": "accountid",
  6890. "in": "query",
  6891. "required": true
  6892. }
  6893. ],
  6894. "responses": {
  6895. "200": {
  6896. "description": "OK",
  6897. "schema": {
  6898. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  6899. }
  6900. },
  6901. "500": {
  6902. "description": "Internal Server Error",
  6903. "schema": {
  6904. "$ref": "#/definitions/app.Response"
  6905. }
  6906. }
  6907. }
  6908. }
  6909. },
  6910. "/Erms2/QuerySpotContract": {
  6911. "get": {
  6912. "security": [
  6913. {
  6914. "ApiKeyAuth": []
  6915. }
  6916. ],
  6917. "produces": [
  6918. "application/json"
  6919. ],
  6920. "tags": [
  6921. "风险管理"
  6922. ],
  6923. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  6924. "parameters": [
  6925. {
  6926. "type": "integer",
  6927. "description": "策略申请ID",
  6928. "name": "asapplyid",
  6929. "in": "query",
  6930. "required": true
  6931. },
  6932. {
  6933. "type": "integer",
  6934. "description": "现货合同ID",
  6935. "name": "spotcontractid",
  6936. "in": "query"
  6937. }
  6938. ],
  6939. "responses": {
  6940. "200": {
  6941. "description": "OK",
  6942. "schema": {
  6943. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  6944. }
  6945. },
  6946. "500": {
  6947. "description": "Internal Server Error",
  6948. "schema": {
  6949. "$ref": "#/definitions/app.Response"
  6950. }
  6951. }
  6952. }
  6953. }
  6954. },
  6955. "/Erms3/AddErms2ASApply": {
  6956. "post": {
  6957. "security": [
  6958. {
  6959. "ApiKeyAuth": []
  6960. }
  6961. ],
  6962. "produces": [
  6963. "application/json"
  6964. ],
  6965. "tags": [
  6966. "风险管理v3"
  6967. ],
  6968. "summary": "新增期现套利业务申请",
  6969. "parameters": [
  6970. {
  6971. "description": "申请参数",
  6972. "name": "jsonBody",
  6973. "in": "body",
  6974. "required": true,
  6975. "schema": {
  6976. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  6977. }
  6978. }
  6979. ],
  6980. "responses": {
  6981. "200": {
  6982. "description": "OK",
  6983. "schema": {
  6984. "$ref": "#/definitions/app.Response"
  6985. }
  6986. },
  6987. "500": {
  6988. "description": "Internal Server Error",
  6989. "schema": {
  6990. "$ref": "#/definitions/app.Response"
  6991. }
  6992. }
  6993. }
  6994. }
  6995. },
  6996. "/Erms3/AddErms2SpotTradeApply": {
  6997. "post": {
  6998. "security": [
  6999. {
  7000. "ApiKeyAuth": []
  7001. }
  7002. ],
  7003. "produces": [
  7004. "application/json"
  7005. ],
  7006. "tags": [
  7007. "风险管理v3"
  7008. ],
  7009. "summary": "新增现货贸易业务申请",
  7010. "parameters": [
  7011. {
  7012. "description": "申请参数",
  7013. "name": "jsonBody",
  7014. "in": "body",
  7015. "required": true,
  7016. "schema": {
  7017. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  7018. }
  7019. }
  7020. ],
  7021. "responses": {
  7022. "200": {
  7023. "description": "OK",
  7024. "schema": {
  7025. "$ref": "#/definitions/app.Response"
  7026. }
  7027. },
  7028. "500": {
  7029. "description": "Internal Server Error",
  7030. "schema": {
  7031. "$ref": "#/definitions/app.Response"
  7032. }
  7033. }
  7034. }
  7035. }
  7036. },
  7037. "/Erms3/AddSpotContractApply": {
  7038. "post": {
  7039. "security": [
  7040. {
  7041. "ApiKeyAuth": []
  7042. }
  7043. ],
  7044. "produces": [
  7045. "application/json"
  7046. ],
  7047. "tags": [
  7048. "风险管理v3"
  7049. ],
  7050. "summary": "新增现货合同申请",
  7051. "parameters": [
  7052. {
  7053. "description": "申请参数",
  7054. "name": "jsonBody",
  7055. "in": "body",
  7056. "required": true,
  7057. "schema": {
  7058. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  7059. }
  7060. }
  7061. ],
  7062. "responses": {
  7063. "200": {
  7064. "description": "OK",
  7065. "schema": {
  7066. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  7067. }
  7068. },
  7069. "500": {
  7070. "description": "Internal Server Error",
  7071. "schema": {
  7072. "$ref": "#/definitions/app.Response"
  7073. }
  7074. }
  7075. }
  7076. }
  7077. },
  7078. "/Erms3/AddUserInfoApply": {
  7079. "post": {
  7080. "security": [
  7081. {
  7082. "ApiKeyAuth": []
  7083. }
  7084. ],
  7085. "produces": [
  7086. "application/json"
  7087. ],
  7088. "tags": [
  7089. "风险管理v3"
  7090. ],
  7091. "summary": "新增客户申请",
  7092. "parameters": [
  7093. {
  7094. "description": "用户信息",
  7095. "name": "jsonBody",
  7096. "in": "body",
  7097. "required": true,
  7098. "schema": {
  7099. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  7100. }
  7101. }
  7102. ],
  7103. "responses": {
  7104. "200": {
  7105. "description": "OK",
  7106. "schema": {
  7107. "$ref": "#/definitions/app.Response"
  7108. }
  7109. },
  7110. "500": {
  7111. "description": "Internal Server Error",
  7112. "schema": {
  7113. "$ref": "#/definitions/app.Response"
  7114. }
  7115. }
  7116. }
  7117. }
  7118. },
  7119. "/Erms3/DeleteUserInfoApply": {
  7120. "get": {
  7121. "security": [
  7122. {
  7123. "ApiKeyAuth": []
  7124. }
  7125. ],
  7126. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  7127. "produces": [
  7128. "application/json"
  7129. ],
  7130. "tags": [
  7131. "风险管理v3"
  7132. ],
  7133. "summary": "删除客户申请",
  7134. "parameters": [
  7135. {
  7136. "type": "integer",
  7137. "description": "用户ID",
  7138. "name": "userID",
  7139. "in": "query",
  7140. "required": true
  7141. }
  7142. ],
  7143. "responses": {
  7144. "200": {
  7145. "description": "OK",
  7146. "schema": {
  7147. "$ref": "#/definitions/app.Response"
  7148. }
  7149. },
  7150. "500": {
  7151. "description": "Internal Server Error",
  7152. "schema": {
  7153. "$ref": "#/definitions/app.Response"
  7154. }
  7155. }
  7156. }
  7157. }
  7158. },
  7159. "/Erms3/ModifyUserInfoApply": {
  7160. "post": {
  7161. "security": [
  7162. {
  7163. "ApiKeyAuth": []
  7164. }
  7165. ],
  7166. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  7167. "produces": [
  7168. "application/json"
  7169. ],
  7170. "tags": [
  7171. "风险管理v3"
  7172. ],
  7173. "summary": "修改客户申请",
  7174. "parameters": [
  7175. {
  7176. "description": "用户信息",
  7177. "name": "jsonBody",
  7178. "in": "body",
  7179. "required": true,
  7180. "schema": {
  7181. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  7182. }
  7183. }
  7184. ],
  7185. "responses": {
  7186. "200": {
  7187. "description": "OK",
  7188. "schema": {
  7189. "$ref": "#/definitions/app.Response"
  7190. }
  7191. },
  7192. "500": {
  7193. "description": "Internal Server Error",
  7194. "schema": {
  7195. "$ref": "#/definitions/app.Response"
  7196. }
  7197. }
  7198. }
  7199. }
  7200. },
  7201. "/Erms3/QueryBusinessInfo": {
  7202. "get": {
  7203. "security": [
  7204. {
  7205. "ApiKeyAuth": []
  7206. }
  7207. ],
  7208. "produces": [
  7209. "application/json"
  7210. ],
  7211. "tags": [
  7212. "风险管理v3"
  7213. ],
  7214. "summary": "查询业务表单数据",
  7215. "parameters": [
  7216. {
  7217. "type": "string",
  7218. "description": "资金账号ID列表,用逗号分隔",
  7219. "name": "accountids",
  7220. "in": "query",
  7221. "required": true
  7222. },
  7223. {
  7224. "type": "integer",
  7225. "description": "状态,0为未结束 1为已结束",
  7226. "name": "status",
  7227. "in": "query",
  7228. "required": true
  7229. }
  7230. ],
  7231. "responses": {
  7232. "200": {
  7233. "description": "OK",
  7234. "schema": {
  7235. "type": "array",
  7236. "items": {
  7237. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  7238. }
  7239. }
  7240. },
  7241. "500": {
  7242. "description": "Internal Server Error",
  7243. "schema": {
  7244. "$ref": "#/definitions/app.Response"
  7245. }
  7246. }
  7247. }
  7248. }
  7249. },
  7250. "/Erms3/QueryPendingAuditContract": {
  7251. "get": {
  7252. "security": [
  7253. {
  7254. "ApiKeyAuth": []
  7255. }
  7256. ],
  7257. "produces": [
  7258. "application/json"
  7259. ],
  7260. "tags": [
  7261. "风险管理v3"
  7262. ],
  7263. "summary": "查询待审核合同",
  7264. "parameters": [
  7265. {
  7266. "type": "string",
  7267. "description": "资金账号ID列表,逗号隔开",
  7268. "name": "accountids",
  7269. "in": "query",
  7270. "required": true
  7271. },
  7272. {
  7273. "type": "integer",
  7274. "description": "合同类型 1-采购 -1-销售",
  7275. "name": "contracttype",
  7276. "in": "query",
  7277. "required": true
  7278. },
  7279. {
  7280. "type": "integer",
  7281. "description": "合同模式 1-普通 2-回购",
  7282. "name": "contractmode",
  7283. "in": "query",
  7284. "required": true
  7285. }
  7286. ],
  7287. "responses": {
  7288. "200": {
  7289. "description": "OK",
  7290. "schema": {
  7291. "type": "array",
  7292. "items": {
  7293. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  7294. }
  7295. }
  7296. },
  7297. "500": {
  7298. "description": "Internal Server Error",
  7299. "schema": {
  7300. "$ref": "#/definitions/app.Response"
  7301. }
  7302. }
  7303. }
  7304. }
  7305. },
  7306. "/Erms3/QueryPendingBusiness": {
  7307. "get": {
  7308. "security": [
  7309. {
  7310. "ApiKeyAuth": []
  7311. }
  7312. ],
  7313. "produces": [
  7314. "application/json"
  7315. ],
  7316. "tags": [
  7317. "风险管理v3"
  7318. ],
  7319. "summary": "查询待审核基差贸易业务",
  7320. "parameters": [
  7321. {
  7322. "type": "string",
  7323. "description": "资金账号ID列表,逗号隔开",
  7324. "name": "accountids",
  7325. "in": "query",
  7326. "required": true
  7327. }
  7328. ],
  7329. "responses": {
  7330. "200": {
  7331. "description": "OK",
  7332. "schema": {
  7333. "type": "array",
  7334. "items": {
  7335. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  7336. }
  7337. }
  7338. },
  7339. "500": {
  7340. "description": "Internal Server Error",
  7341. "schema": {
  7342. "$ref": "#/definitions/app.Response"
  7343. }
  7344. }
  7345. }
  7346. }
  7347. },
  7348. "/Erms3/QuerySpotContractAppleForm": {
  7349. "get": {
  7350. "security": [
  7351. {
  7352. "ApiKeyAuth": []
  7353. }
  7354. ],
  7355. "produces": [
  7356. "application/json"
  7357. ],
  7358. "tags": [
  7359. "风险管理v3"
  7360. ],
  7361. "summary": "查询合同申请表单数据",
  7362. "parameters": [
  7363. {
  7364. "type": "integer",
  7365. "description": "登录账号",
  7366. "name": "loginID",
  7367. "in": "query",
  7368. "required": true
  7369. }
  7370. ],
  7371. "responses": {
  7372. "200": {
  7373. "description": "OK",
  7374. "schema": {
  7375. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  7376. }
  7377. },
  7378. "500": {
  7379. "description": "Internal Server Error",
  7380. "schema": {
  7381. "$ref": "#/definitions/app.Response"
  7382. }
  7383. }
  7384. }
  7385. }
  7386. },
  7387. "/Erms3/QuerySpotContractDetail": {
  7388. "get": {
  7389. "security": [
  7390. {
  7391. "ApiKeyAuth": []
  7392. }
  7393. ],
  7394. "produces": [
  7395. "application/json"
  7396. ],
  7397. "tags": [
  7398. "风险管理v3"
  7399. ],
  7400. "summary": "查询合同详细信息",
  7401. "parameters": [
  7402. {
  7403. "type": "string",
  7404. "description": "资金账号ID列表,用逗号分隔",
  7405. "name": "accountids",
  7406. "in": "query",
  7407. "required": true
  7408. },
  7409. {
  7410. "type": "integer",
  7411. "description": "合同类型,1为采购合同 -1为销售合同",
  7412. "name": "contracttype",
  7413. "in": "query",
  7414. "required": true
  7415. },
  7416. {
  7417. "type": "integer",
  7418. "description": "合同模式,1为普通合同 2为回购销售合同",
  7419. "name": "contractmode",
  7420. "in": "query",
  7421. "required": true
  7422. },
  7423. {
  7424. "type": "integer",
  7425. "description": "状态,0为履约中 1为已完成",
  7426. "name": "status",
  7427. "in": "query",
  7428. "required": true
  7429. }
  7430. ],
  7431. "responses": {
  7432. "200": {
  7433. "description": "OK",
  7434. "schema": {
  7435. "type": "array",
  7436. "items": {
  7437. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  7438. }
  7439. }
  7440. },
  7441. "500": {
  7442. "description": "Internal Server Error",
  7443. "schema": {
  7444. "$ref": "#/definitions/app.Response"
  7445. }
  7446. }
  7447. }
  7448. }
  7449. },
  7450. "/Erms3/QueryUserInfoApplies": {
  7451. "get": {
  7452. "security": [
  7453. {
  7454. "ApiKeyAuth": []
  7455. }
  7456. ],
  7457. "produces": [
  7458. "application/json"
  7459. ],
  7460. "tags": [
  7461. "风险管理v3"
  7462. ],
  7463. "summary": "客户申请信息查询",
  7464. "parameters": [
  7465. {
  7466. "type": "integer",
  7467. "description": "页码",
  7468. "name": "page",
  7469. "in": "query"
  7470. },
  7471. {
  7472. "type": "integer",
  7473. "description": "每页条数",
  7474. "name": "pagesize",
  7475. "in": "query"
  7476. },
  7477. {
  7478. "type": "string",
  7479. "description": "客户名称,支持模糊查询",
  7480. "name": "userName",
  7481. "in": "query"
  7482. }
  7483. ],
  7484. "responses": {
  7485. "200": {
  7486. "description": "OK",
  7487. "schema": {
  7488. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  7489. }
  7490. },
  7491. "500": {
  7492. "description": "Internal Server Error",
  7493. "schema": {
  7494. "$ref": "#/definitions/app.Response"
  7495. }
  7496. }
  7497. }
  7498. }
  7499. },
  7500. "/Erms3/QueryUserInfos": {
  7501. "get": {
  7502. "security": [
  7503. {
  7504. "ApiKeyAuth": []
  7505. }
  7506. ],
  7507. "produces": [
  7508. "application/json"
  7509. ],
  7510. "tags": [
  7511. "风险管理v3"
  7512. ],
  7513. "summary": "客户信息查询",
  7514. "parameters": [
  7515. {
  7516. "type": "integer",
  7517. "description": "页码",
  7518. "name": "page",
  7519. "in": "query"
  7520. },
  7521. {
  7522. "type": "integer",
  7523. "description": "每页条数",
  7524. "name": "pagesize",
  7525. "in": "query"
  7526. },
  7527. {
  7528. "type": "string",
  7529. "description": "客户名称,支持模糊查询",
  7530. "name": "userName",
  7531. "in": "query"
  7532. }
  7533. ],
  7534. "responses": {
  7535. "200": {
  7536. "description": "OK",
  7537. "schema": {
  7538. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  7539. }
  7540. },
  7541. "500": {
  7542. "description": "Internal Server Error",
  7543. "schema": {
  7544. "$ref": "#/definitions/app.Response"
  7545. }
  7546. }
  7547. }
  7548. }
  7549. },
  7550. "/Guangzuan/GZBSFWOrderOperate": {
  7551. "get": {
  7552. "security": [
  7553. {
  7554. "ApiKeyAuth": []
  7555. },
  7556. {
  7557. "LoginID": []
  7558. },
  7559. {
  7560. "Group": []
  7561. }
  7562. ],
  7563. "produces": [
  7564. "application/json"
  7565. ],
  7566. "tags": [
  7567. "广钻"
  7568. ],
  7569. "summary": "保税服务单据操作信息",
  7570. "parameters": [
  7571. {
  7572. "type": "integer",
  7573. "description": "单据ID",
  7574. "name": "orderid",
  7575. "in": "query",
  7576. "required": true
  7577. }
  7578. ],
  7579. "responses": {
  7580. "200": {
  7581. "description": "OK",
  7582. "schema": {
  7583. "type": "array",
  7584. "items": {
  7585. "$ref": "#/definitions/models.Gzbsfworderoperate"
  7586. }
  7587. }
  7588. },
  7589. "500": {
  7590. "description": "Internal Server Error",
  7591. "schema": {
  7592. "$ref": "#/definitions/app.Response"
  7593. }
  7594. }
  7595. }
  7596. }
  7597. },
  7598. "/Guangzuan/GetGoods": {
  7599. "get": {
  7600. "security": [
  7601. {
  7602. "ApiKeyAuth": []
  7603. },
  7604. {
  7605. "LoginID": []
  7606. },
  7607. {
  7608. "Group": []
  7609. }
  7610. ],
  7611. "produces": [
  7612. "application/json"
  7613. ],
  7614. "tags": [
  7615. "广钻"
  7616. ],
  7617. "summary": "获取钻石详情",
  7618. "parameters": [
  7619. {
  7620. "type": "string",
  7621. "description": "商品编号",
  7622. "name": "goodsno",
  7623. "in": "query",
  7624. "required": true
  7625. }
  7626. ],
  7627. "responses": {
  7628. "200": {
  7629. "description": "OK",
  7630. "schema": {
  7631. "$ref": "#/definitions/models.GZGoods"
  7632. }
  7633. },
  7634. "500": {
  7635. "description": "Internal Server Error",
  7636. "schema": {
  7637. "$ref": "#/definitions/app.Response"
  7638. }
  7639. }
  7640. }
  7641. }
  7642. },
  7643. "/Guangzuan/GzCertAddressConfig": {
  7644. "get": {
  7645. "security": [
  7646. {
  7647. "ApiKeyAuth": []
  7648. },
  7649. {
  7650. "LoginID": []
  7651. },
  7652. {
  7653. "Group": []
  7654. }
  7655. ],
  7656. "produces": [
  7657. "application/json"
  7658. ],
  7659. "tags": [
  7660. "广钻"
  7661. ],
  7662. "summary": "Rapaport最新报价表(广钻)",
  7663. "responses": {
  7664. "200": {
  7665. "description": "OK",
  7666. "schema": {
  7667. "type": "array",
  7668. "items": {
  7669. "$ref": "#/definitions/models.Gzcertaddressconfig"
  7670. }
  7671. }
  7672. },
  7673. "500": {
  7674. "description": "Internal Server Error",
  7675. "schema": {
  7676. "$ref": "#/definitions/app.Response"
  7677. }
  7678. }
  7679. }
  7680. }
  7681. },
  7682. "/Guangzuan/GzCertAddressParam": {
  7683. "get": {
  7684. "security": [
  7685. {
  7686. "ApiKeyAuth": []
  7687. },
  7688. {
  7689. "LoginID": []
  7690. },
  7691. {
  7692. "Group": []
  7693. }
  7694. ],
  7695. "produces": [
  7696. "application/json"
  7697. ],
  7698. "tags": [
  7699. "广钻"
  7700. ],
  7701. "summary": "钻石证书地址参数",
  7702. "responses": {
  7703. "200": {
  7704. "description": "OK",
  7705. "schema": {
  7706. "type": "array",
  7707. "items": {
  7708. "$ref": "#/definitions/models.Gzcertaddressparam"
  7709. }
  7710. }
  7711. },
  7712. "500": {
  7713. "description": "Internal Server Error",
  7714. "schema": {
  7715. "$ref": "#/definitions/app.Response"
  7716. }
  7717. }
  7718. }
  7719. }
  7720. },
  7721. "/Guangzuan/HomeData": {
  7722. "get": {
  7723. "security": [
  7724. {
  7725. "ApiKeyAuth": []
  7726. },
  7727. {
  7728. "LoginID": []
  7729. },
  7730. {
  7731. "Group": []
  7732. }
  7733. ],
  7734. "produces": [
  7735. "application/json"
  7736. ],
  7737. "tags": [
  7738. "广钻"
  7739. ],
  7740. "summary": "首页统计数据",
  7741. "parameters": [
  7742. {
  7743. "type": "integer",
  7744. "description": "用户ID",
  7745. "name": "userid",
  7746. "in": "query",
  7747. "required": true
  7748. }
  7749. ],
  7750. "responses": {
  7751. "200": {
  7752. "description": "OK",
  7753. "schema": {
  7754. "$ref": "#/definitions/models.GZHomeData"
  7755. }
  7756. },
  7757. "500": {
  7758. "description": "Internal Server Error",
  7759. "schema": {
  7760. "$ref": "#/definitions/app.Response"
  7761. }
  7762. }
  7763. }
  7764. }
  7765. },
  7766. "/Guangzuan/PriceCalc": {
  7767. "get": {
  7768. "security": [
  7769. {
  7770. "ApiKeyAuth": []
  7771. },
  7772. {
  7773. "LoginID": []
  7774. },
  7775. {
  7776. "Group": []
  7777. }
  7778. ],
  7779. "produces": [
  7780. "application/json"
  7781. ],
  7782. "tags": [
  7783. "广钻"
  7784. ],
  7785. "summary": "钻石价格计算器",
  7786. "parameters": [
  7787. {
  7788. "type": "integer",
  7789. "description": "形状 - 1:BR(圆形) 2:PS(异形)",
  7790. "name": "zsshape",
  7791. "in": "query",
  7792. "required": true
  7793. },
  7794. {
  7795. "type": "string",
  7796. "description": "颜色(D-M)",
  7797. "name": "zscolor",
  7798. "in": "query",
  7799. "required": true
  7800. },
  7801. {
  7802. "type": "string",
  7803. "description": "净度",
  7804. "name": "zsclarity",
  7805. "in": "query",
  7806. "required": true
  7807. },
  7808. {
  7809. "type": "number",
  7810. "description": "重量",
  7811. "name": "weight",
  7812. "in": "query",
  7813. "required": true
  7814. },
  7815. {
  7816. "type": "number",
  7817. "description": "汇率",
  7818. "name": "rate",
  7819. "in": "query",
  7820. "required": true
  7821. },
  7822. {
  7823. "type": "number",
  7824. "description": "折扣(%), 方向(加:10, 减:-10 )",
  7825. "name": "discount",
  7826. "in": "query"
  7827. }
  7828. ],
  7829. "responses": {
  7830. "200": {
  7831. "description": "OK",
  7832. "schema": {
  7833. "type": "array",
  7834. "items": {
  7835. "$ref": "#/definitions/models.Gzrapaportprice"
  7836. }
  7837. }
  7838. },
  7839. "500": {
  7840. "description": "Internal Server Error",
  7841. "schema": {
  7842. "$ref": "#/definitions/app.Response"
  7843. }
  7844. }
  7845. }
  7846. }
  7847. },
  7848. "/Guangzuan/QueryBuyOrder": {
  7849. "get": {
  7850. "security": [
  7851. {
  7852. "ApiKeyAuth": []
  7853. },
  7854. {
  7855. "LoginID": []
  7856. },
  7857. {
  7858. "Group": []
  7859. }
  7860. ],
  7861. "produces": [
  7862. "application/json"
  7863. ],
  7864. "tags": [
  7865. "广钻"
  7866. ],
  7867. "summary": "查询求购大厅委托单",
  7868. "parameters": [
  7869. {
  7870. "type": "integer",
  7871. "description": "页码",
  7872. "name": "page",
  7873. "in": "query"
  7874. },
  7875. {
  7876. "type": "integer",
  7877. "description": "每页条数",
  7878. "name": "pagesize",
  7879. "in": "query"
  7880. },
  7881. {
  7882. "type": "string",
  7883. "description": "商品(查询字段-模糊查询)",
  7884. "name": "zsallproperties",
  7885. "in": "query"
  7886. },
  7887. {
  7888. "type": "string",
  7889. "description": "钻石分类, 格式:1,2,3",
  7890. "name": "zscategorys",
  7891. "in": "query"
  7892. },
  7893. {
  7894. "type": "integer",
  7895. "description": "委托单号",
  7896. "name": "wrtradeorderid",
  7897. "in": "query"
  7898. },
  7899. {
  7900. "type": "string",
  7901. "description": "买方(查询字段-模糊查询)",
  7902. "name": "buyusername",
  7903. "in": "query"
  7904. }
  7905. ],
  7906. "responses": {
  7907. "200": {
  7908. "description": "OK",
  7909. "schema": {
  7910. "type": "array",
  7911. "items": {
  7912. "$ref": "#/definitions/models.BuyOrder"
  7913. }
  7914. }
  7915. },
  7916. "500": {
  7917. "description": "Internal Server Error",
  7918. "schema": {
  7919. "$ref": "#/definitions/app.Response"
  7920. }
  7921. }
  7922. }
  7923. }
  7924. },
  7925. "/Guangzuan/QueryDiamond": {
  7926. "post": {
  7927. "security": [
  7928. {
  7929. "ApiKeyAuth": []
  7930. },
  7931. {
  7932. "LoginID": []
  7933. },
  7934. {
  7935. "Group": []
  7936. }
  7937. ],
  7938. "produces": [
  7939. "application/json"
  7940. ],
  7941. "tags": [
  7942. "广钻"
  7943. ],
  7944. "summary": "钻石搜索",
  7945. "parameters": [
  7946. {
  7947. "description": "钻石搜索入参",
  7948. "name": "data",
  7949. "in": "body",
  7950. "required": true,
  7951. "schema": {
  7952. "$ref": "#/definitions/models.SellOrderQueryReq"
  7953. }
  7954. }
  7955. ],
  7956. "responses": {
  7957. "200": {
  7958. "description": "OK",
  7959. "schema": {
  7960. "type": "array",
  7961. "items": {
  7962. "$ref": "#/definitions/models.SellOrder"
  7963. }
  7964. }
  7965. },
  7966. "500": {
  7967. "description": "Internal Server Error",
  7968. "schema": {
  7969. "$ref": "#/definitions/app.Response"
  7970. }
  7971. }
  7972. }
  7973. }
  7974. },
  7975. "/Guangzuan/QueryGZBSFWOrder": {
  7976. "get": {
  7977. "security": [
  7978. {
  7979. "ApiKeyAuth": []
  7980. },
  7981. {
  7982. "LoginID": []
  7983. },
  7984. {
  7985. "Group": []
  7986. }
  7987. ],
  7988. "produces": [
  7989. "application/json"
  7990. ],
  7991. "tags": [
  7992. "广钻"
  7993. ],
  7994. "summary": "查询保税服务单据",
  7995. "parameters": [
  7996. {
  7997. "type": "integer",
  7998. "description": "用户ID",
  7999. "name": "userid",
  8000. "in": "query",
  8001. "required": true
  8002. },
  8003. {
  8004. "type": "integer",
  8005. "description": "页码",
  8006. "name": "page",
  8007. "in": "query"
  8008. },
  8009. {
  8010. "type": "integer",
  8011. "description": "每页条数",
  8012. "name": "pagesize",
  8013. "in": "query"
  8014. }
  8015. ],
  8016. "responses": {
  8017. "200": {
  8018. "description": "OK",
  8019. "schema": {
  8020. "type": "array",
  8021. "items": {
  8022. "$ref": "#/definitions/models.GzbsfworderM"
  8023. }
  8024. }
  8025. },
  8026. "500": {
  8027. "description": "Internal Server Error",
  8028. "schema": {
  8029. "$ref": "#/definitions/app.Response"
  8030. }
  8031. }
  8032. }
  8033. }
  8034. },
  8035. "/Guangzuan/QueryGZBSFWOrderDetail": {
  8036. "get": {
  8037. "security": [
  8038. {
  8039. "ApiKeyAuth": []
  8040. },
  8041. {
  8042. "LoginID": []
  8043. },
  8044. {
  8045. "Group": []
  8046. }
  8047. ],
  8048. "produces": [
  8049. "application/json"
  8050. ],
  8051. "tags": [
  8052. "广钻"
  8053. ],
  8054. "summary": "查询保税服务单据明细",
  8055. "parameters": [
  8056. {
  8057. "type": "integer",
  8058. "description": "用户ID",
  8059. "name": "userid",
  8060. "in": "query",
  8061. "required": true
  8062. },
  8063. {
  8064. "type": "integer",
  8065. "description": "单据ID",
  8066. "name": "orderid",
  8067. "in": "query"
  8068. },
  8069. {
  8070. "type": "integer",
  8071. "description": "页码",
  8072. "name": "page",
  8073. "in": "query"
  8074. },
  8075. {
  8076. "type": "integer",
  8077. "description": "每页条数",
  8078. "name": "pagesize",
  8079. "in": "query"
  8080. }
  8081. ],
  8082. "responses": {
  8083. "200": {
  8084. "description": "OK",
  8085. "schema": {
  8086. "type": "array",
  8087. "items": {
  8088. "$ref": "#/definitions/models.GzbsfworderdetailM"
  8089. }
  8090. }
  8091. },
  8092. "500": {
  8093. "description": "Internal Server Error",
  8094. "schema": {
  8095. "$ref": "#/definitions/app.Response"
  8096. }
  8097. }
  8098. }
  8099. }
  8100. },
  8101. "/Guangzuan/QueryGZCJBSOrderFile": {
  8102. "get": {
  8103. "security": [
  8104. {
  8105. "ApiKeyAuth": []
  8106. },
  8107. {
  8108. "LoginID": []
  8109. },
  8110. {
  8111. "Group": []
  8112. }
  8113. ],
  8114. "produces": [
  8115. "application/json"
  8116. ],
  8117. "tags": [
  8118. "广钻"
  8119. ],
  8120. "summary": "出境保税单据文件",
  8121. "parameters": [
  8122. {
  8123. "type": "integer",
  8124. "description": "单据ID",
  8125. "name": "orderid",
  8126. "in": "query",
  8127. "required": true
  8128. },
  8129. {
  8130. "type": "integer",
  8131. "description": "页码",
  8132. "name": "page",
  8133. "in": "query"
  8134. },
  8135. {
  8136. "type": "integer",
  8137. "description": "每页条数",
  8138. "name": "pagesize",
  8139. "in": "query"
  8140. }
  8141. ],
  8142. "responses": {
  8143. "200": {
  8144. "description": "OK",
  8145. "schema": {
  8146. "type": "array",
  8147. "items": {
  8148. "$ref": "#/definitions/models.GzcjbsorderfileM"
  8149. }
  8150. }
  8151. },
  8152. "500": {
  8153. "description": "Internal Server Error",
  8154. "schema": {
  8155. "$ref": "#/definitions/app.Response"
  8156. }
  8157. }
  8158. }
  8159. }
  8160. },
  8161. "/Guangzuan/QueryGZCJJCOrder": {
  8162. "get": {
  8163. "security": [
  8164. {
  8165. "ApiKeyAuth": []
  8166. },
  8167. {
  8168. "LoginID": []
  8169. },
  8170. {
  8171. "Group": []
  8172. }
  8173. ],
  8174. "produces": [
  8175. "application/json"
  8176. ],
  8177. "tags": [
  8178. "广钻"
  8179. ],
  8180. "summary": "查询出境检测单据",
  8181. "parameters": [
  8182. {
  8183. "type": "integer",
  8184. "description": "用户ID",
  8185. "name": "userid",
  8186. "in": "query",
  8187. "required": true
  8188. },
  8189. {
  8190. "type": "integer",
  8191. "description": "页码",
  8192. "name": "page",
  8193. "in": "query"
  8194. },
  8195. {
  8196. "type": "integer",
  8197. "description": "每页条数",
  8198. "name": "pagesize",
  8199. "in": "query"
  8200. }
  8201. ],
  8202. "responses": {
  8203. "200": {
  8204. "description": "OK",
  8205. "schema": {
  8206. "type": "array",
  8207. "items": {
  8208. "$ref": "#/definitions/models.GzcjjcorderM"
  8209. }
  8210. }
  8211. },
  8212. "500": {
  8213. "description": "Internal Server Error",
  8214. "schema": {
  8215. "$ref": "#/definitions/app.Response"
  8216. }
  8217. }
  8218. }
  8219. }
  8220. },
  8221. "/Guangzuan/QueryGZCJJCOrderDetail": {
  8222. "get": {
  8223. "security": [
  8224. {
  8225. "ApiKeyAuth": []
  8226. },
  8227. {
  8228. "LoginID": []
  8229. },
  8230. {
  8231. "Group": []
  8232. }
  8233. ],
  8234. "produces": [
  8235. "application/json"
  8236. ],
  8237. "tags": [
  8238. "广钻"
  8239. ],
  8240. "summary": "查询出境检测单据明细(批次信息)",
  8241. "parameters": [
  8242. {
  8243. "type": "integer",
  8244. "description": "用户ID",
  8245. "name": "userid",
  8246. "in": "query",
  8247. "required": true
  8248. },
  8249. {
  8250. "type": "integer",
  8251. "description": "单据ID",
  8252. "name": "orderid",
  8253. "in": "query"
  8254. },
  8255. {
  8256. "type": "integer",
  8257. "description": "页码",
  8258. "name": "page",
  8259. "in": "query"
  8260. },
  8261. {
  8262. "type": "integer",
  8263. "description": "每页条数",
  8264. "name": "pagesize",
  8265. "in": "query"
  8266. }
  8267. ],
  8268. "responses": {
  8269. "200": {
  8270. "description": "OK",
  8271. "schema": {
  8272. "type": "array",
  8273. "items": {
  8274. "$ref": "#/definitions/models.GzcjjcorderdetailM"
  8275. }
  8276. }
  8277. },
  8278. "500": {
  8279. "description": "Internal Server Error",
  8280. "schema": {
  8281. "$ref": "#/definitions/app.Response"
  8282. }
  8283. }
  8284. }
  8285. }
  8286. },
  8287. "/Guangzuan/QueryMyBargainApply": {
  8288. "get": {
  8289. "security": [
  8290. {
  8291. "ApiKeyAuth": []
  8292. },
  8293. {
  8294. "LoginID": []
  8295. },
  8296. {
  8297. "Group": []
  8298. }
  8299. ],
  8300. "produces": [
  8301. "application/json"
  8302. ],
  8303. "tags": [
  8304. "广钻"
  8305. ],
  8306. "summary": "查询询价-求购",
  8307. "parameters": [
  8308. {
  8309. "type": "integer",
  8310. "description": "用户ID",
  8311. "name": "userid",
  8312. "in": "query",
  8313. "required": true
  8314. },
  8315. {
  8316. "type": "integer",
  8317. "description": "页码",
  8318. "name": "page",
  8319. "in": "query"
  8320. },
  8321. {
  8322. "type": "integer",
  8323. "description": "每页条数",
  8324. "name": "pagesize",
  8325. "in": "query"
  8326. },
  8327. {
  8328. "type": "integer",
  8329. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  8330. "name": "applystatus",
  8331. "in": "query"
  8332. },
  8333. {
  8334. "type": "integer",
  8335. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  8336. "name": "type",
  8337. "in": "query"
  8338. },
  8339. {
  8340. "type": "string",
  8341. "description": "关联委托单ID",
  8342. "name": "wrtradeorderid",
  8343. "in": "query"
  8344. }
  8345. ],
  8346. "responses": {
  8347. "200": {
  8348. "description": "OK",
  8349. "schema": {
  8350. "type": "array",
  8351. "items": {
  8352. "$ref": "#/definitions/models.MyBargainApply"
  8353. }
  8354. }
  8355. },
  8356. "500": {
  8357. "description": "Internal Server Error",
  8358. "schema": {
  8359. "$ref": "#/definitions/app.Response"
  8360. }
  8361. }
  8362. }
  8363. }
  8364. },
  8365. "/Guangzuan/QueryMyBuyOrder": {
  8366. "get": {
  8367. "security": [
  8368. {
  8369. "ApiKeyAuth": []
  8370. },
  8371. {
  8372. "LoginID": []
  8373. },
  8374. {
  8375. "Group": []
  8376. }
  8377. ],
  8378. "produces": [
  8379. "application/json"
  8380. ],
  8381. "tags": [
  8382. "广钻"
  8383. ],
  8384. "summary": "查询我的求购",
  8385. "parameters": [
  8386. {
  8387. "type": "integer",
  8388. "description": "用户ID",
  8389. "name": "userid",
  8390. "in": "query",
  8391. "required": true
  8392. },
  8393. {
  8394. "type": "integer",
  8395. "description": "页码",
  8396. "name": "page",
  8397. "in": "query"
  8398. },
  8399. {
  8400. "type": "integer",
  8401. "description": "每页条数",
  8402. "name": "pagesize",
  8403. "in": "query"
  8404. },
  8405. {
  8406. "type": "string",
  8407. "description": "商品(查询字段-模糊查询)",
  8408. "name": "zsallproperties",
  8409. "in": "query"
  8410. },
  8411. {
  8412. "type": "string",
  8413. "description": "钻石分类, 格式:1,2,3",
  8414. "name": "zscategorys",
  8415. "in": "query"
  8416. },
  8417. {
  8418. "type": "integer",
  8419. "description": "委托单号",
  8420. "name": "wrtradeorderid",
  8421. "in": "query"
  8422. },
  8423. {
  8424. "type": "boolean",
  8425. "description": "是否历史查询",
  8426. "name": "ishis",
  8427. "in": "query"
  8428. },
  8429. {
  8430. "type": "string",
  8431. "description": "开始交易日(yyyymmdd)",
  8432. "name": "begindate",
  8433. "in": "query"
  8434. },
  8435. {
  8436. "type": "string",
  8437. "description": "结束交易日(yyyymmdd)",
  8438. "name": "enddate",
  8439. "in": "query"
  8440. }
  8441. ],
  8442. "responses": {
  8443. "200": {
  8444. "description": "OK",
  8445. "schema": {
  8446. "type": "array",
  8447. "items": {
  8448. "$ref": "#/definitions/models.MyBuyOrder"
  8449. }
  8450. }
  8451. },
  8452. "500": {
  8453. "description": "Internal Server Error",
  8454. "schema": {
  8455. "$ref": "#/definitions/app.Response"
  8456. }
  8457. }
  8458. }
  8459. }
  8460. },
  8461. "/Guangzuan/QueryMyDeListing": {
  8462. "get": {
  8463. "security": [
  8464. {
  8465. "ApiKeyAuth": []
  8466. },
  8467. {
  8468. "LoginID": []
  8469. },
  8470. {
  8471. "Group": []
  8472. }
  8473. ],
  8474. "produces": [
  8475. "application/json"
  8476. ],
  8477. "tags": [
  8478. "广钻"
  8479. ],
  8480. "summary": "查询我的摘牌",
  8481. "parameters": [
  8482. {
  8483. "type": "integer",
  8484. "description": "用户ID",
  8485. "name": "userid",
  8486. "in": "query",
  8487. "required": true
  8488. },
  8489. {
  8490. "type": "integer",
  8491. "description": "页码",
  8492. "name": "page",
  8493. "in": "query"
  8494. },
  8495. {
  8496. "type": "integer",
  8497. "description": "每页条数",
  8498. "name": "pagesize",
  8499. "in": "query"
  8500. },
  8501. {
  8502. "type": "string",
  8503. "description": "商品(查询字段-模糊查询)",
  8504. "name": "zsallproperties",
  8505. "in": "query"
  8506. },
  8507. {
  8508. "type": "string",
  8509. "description": "钻石分类, 格式:1,2,3",
  8510. "name": "zscategorys",
  8511. "in": "query"
  8512. },
  8513. {
  8514. "type": "integer",
  8515. "description": "成交单号",
  8516. "name": "wrtradedetailid",
  8517. "in": "query"
  8518. },
  8519. {
  8520. "type": "integer",
  8521. "description": "方向,0-购买 1-出售",
  8522. "name": "buyorsell",
  8523. "in": "query"
  8524. },
  8525. {
  8526. "type": "string",
  8527. "description": "对手方(模糊匹配)",
  8528. "name": "matchusername",
  8529. "in": "query"
  8530. },
  8531. {
  8532. "type": "string",
  8533. "description": "开始交易日(yyyymmdd)",
  8534. "name": "begindate",
  8535. "in": "query"
  8536. },
  8537. {
  8538. "type": "string",
  8539. "description": "结束交易日(yyyymmdd)",
  8540. "name": "enddate",
  8541. "in": "query"
  8542. }
  8543. ],
  8544. "responses": {
  8545. "200": {
  8546. "description": "OK",
  8547. "schema": {
  8548. "type": "array",
  8549. "items": {
  8550. "$ref": "#/definitions/models.MyDeListing"
  8551. }
  8552. }
  8553. },
  8554. "500": {
  8555. "description": "Internal Server Error",
  8556. "schema": {
  8557. "$ref": "#/definitions/app.Response"
  8558. }
  8559. }
  8560. }
  8561. }
  8562. },
  8563. "/Guangzuan/QueryMyDelistingApply": {
  8564. "get": {
  8565. "security": [
  8566. {
  8567. "ApiKeyAuth": []
  8568. },
  8569. {
  8570. "LoginID": []
  8571. },
  8572. {
  8573. "Group": []
  8574. }
  8575. ],
  8576. "produces": [
  8577. "application/json"
  8578. ],
  8579. "tags": [
  8580. "广钻"
  8581. ],
  8582. "summary": "查询询价-出售",
  8583. "parameters": [
  8584. {
  8585. "type": "integer",
  8586. "description": "用户ID",
  8587. "name": "userid",
  8588. "in": "query",
  8589. "required": true
  8590. },
  8591. {
  8592. "type": "integer",
  8593. "description": "页码",
  8594. "name": "page",
  8595. "in": "query"
  8596. },
  8597. {
  8598. "type": "integer",
  8599. "description": "每页条数",
  8600. "name": "pagesize",
  8601. "in": "query"
  8602. },
  8603. {
  8604. "type": "integer",
  8605. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  8606. "name": "applystatus",
  8607. "in": "query"
  8608. },
  8609. {
  8610. "type": "integer",
  8611. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  8612. "name": "type",
  8613. "in": "query"
  8614. },
  8615. {
  8616. "type": "string",
  8617. "description": "买委托单ID",
  8618. "name": "buywrtradeorderid",
  8619. "in": "query"
  8620. }
  8621. ],
  8622. "responses": {
  8623. "200": {
  8624. "description": "OK",
  8625. "schema": {
  8626. "type": "array",
  8627. "items": {
  8628. "$ref": "#/definitions/models.MyDelistingApply"
  8629. }
  8630. }
  8631. },
  8632. "500": {
  8633. "description": "Internal Server Error",
  8634. "schema": {
  8635. "$ref": "#/definitions/app.Response"
  8636. }
  8637. }
  8638. }
  8639. }
  8640. },
  8641. "/Guangzuan/QueryMyFavorite": {
  8642. "get": {
  8643. "security": [
  8644. {
  8645. "ApiKeyAuth": []
  8646. },
  8647. {
  8648. "LoginID": []
  8649. },
  8650. {
  8651. "Group": []
  8652. }
  8653. ],
  8654. "produces": [
  8655. "application/json"
  8656. ],
  8657. "tags": [
  8658. "广钻"
  8659. ],
  8660. "summary": "查询我的收藏",
  8661. "parameters": [
  8662. {
  8663. "type": "integer",
  8664. "description": "用户ID",
  8665. "name": "userid",
  8666. "in": "query",
  8667. "required": true
  8668. },
  8669. {
  8670. "type": "integer",
  8671. "description": "页码",
  8672. "name": "page",
  8673. "in": "query"
  8674. },
  8675. {
  8676. "type": "integer",
  8677. "description": "每页条数",
  8678. "name": "pagesize",
  8679. "in": "query"
  8680. },
  8681. {
  8682. "type": "string",
  8683. "description": "钻石分类, 格式:1,2,3",
  8684. "name": "zscategorys",
  8685. "in": "query"
  8686. }
  8687. ],
  8688. "responses": {
  8689. "200": {
  8690. "description": "OK",
  8691. "schema": {
  8692. "type": "array",
  8693. "items": {
  8694. "$ref": "#/definitions/models.MyFavorite"
  8695. }
  8696. }
  8697. },
  8698. "500": {
  8699. "description": "Internal Server Error",
  8700. "schema": {
  8701. "$ref": "#/definitions/app.Response"
  8702. }
  8703. }
  8704. }
  8705. }
  8706. },
  8707. "/Guangzuan/QueryMyPerformanc": {
  8708. "get": {
  8709. "security": [
  8710. {
  8711. "ApiKeyAuth": []
  8712. },
  8713. {
  8714. "LoginID": []
  8715. },
  8716. {
  8717. "Group": []
  8718. }
  8719. ],
  8720. "produces": [
  8721. "application/json"
  8722. ],
  8723. "tags": [
  8724. "广钻"
  8725. ],
  8726. "summary": "查询我的履约",
  8727. "parameters": [
  8728. {
  8729. "type": "integer",
  8730. "description": "用户ID",
  8731. "name": "userid",
  8732. "in": "query",
  8733. "required": true
  8734. },
  8735. {
  8736. "type": "integer",
  8737. "description": "页码",
  8738. "name": "page",
  8739. "in": "query"
  8740. },
  8741. {
  8742. "type": "integer",
  8743. "description": "每页条数",
  8744. "name": "pagesize",
  8745. "in": "query"
  8746. },
  8747. {
  8748. "type": "string",
  8749. "description": "商品(查询字段-模糊查询)",
  8750. "name": "zsallproperties",
  8751. "in": "query"
  8752. },
  8753. {
  8754. "type": "integer",
  8755. "description": "方向,0-买 1-卖",
  8756. "name": "buyorsell",
  8757. "in": "query"
  8758. },
  8759. {
  8760. "type": "boolean",
  8761. "description": "是否历史查询",
  8762. "name": "ishis",
  8763. "in": "query"
  8764. },
  8765. {
  8766. "type": "string",
  8767. "description": "开始交易日(yyyymmdd)",
  8768. "name": "begindate",
  8769. "in": "query"
  8770. },
  8771. {
  8772. "type": "string",
  8773. "description": "结束交易日(yyyymmdd)",
  8774. "name": "enddate",
  8775. "in": "query"
  8776. }
  8777. ],
  8778. "responses": {
  8779. "200": {
  8780. "description": "OK",
  8781. "schema": {
  8782. "type": "array",
  8783. "items": {
  8784. "$ref": "#/definitions/models.MyPerformanc"
  8785. }
  8786. }
  8787. },
  8788. "500": {
  8789. "description": "Internal Server Error",
  8790. "schema": {
  8791. "$ref": "#/definitions/app.Response"
  8792. }
  8793. }
  8794. }
  8795. }
  8796. },
  8797. "/Guangzuan/QueryMySellOrder": {
  8798. "get": {
  8799. "security": [
  8800. {
  8801. "ApiKeyAuth": []
  8802. },
  8803. {
  8804. "LoginID": []
  8805. },
  8806. {
  8807. "Group": []
  8808. }
  8809. ],
  8810. "produces": [
  8811. "application/json"
  8812. ],
  8813. "tags": [
  8814. "广钻"
  8815. ],
  8816. "summary": "查询我的出售",
  8817. "parameters": [
  8818. {
  8819. "type": "integer",
  8820. "description": "用户ID",
  8821. "name": "userid",
  8822. "in": "query",
  8823. "required": true
  8824. },
  8825. {
  8826. "type": "integer",
  8827. "description": "页码",
  8828. "name": "page",
  8829. "in": "query"
  8830. },
  8831. {
  8832. "type": "integer",
  8833. "description": "每页条数",
  8834. "name": "pagesize",
  8835. "in": "query"
  8836. },
  8837. {
  8838. "type": "string",
  8839. "description": "商品(查询字段-模糊查询)",
  8840. "name": "zsallproperties",
  8841. "in": "query"
  8842. },
  8843. {
  8844. "type": "string",
  8845. "description": "钻石分类, 格式:1,2,3",
  8846. "name": "zscategorys",
  8847. "in": "query"
  8848. },
  8849. {
  8850. "type": "integer",
  8851. "description": "委托单号",
  8852. "name": "wrtradeorderid",
  8853. "in": "query"
  8854. },
  8855. {
  8856. "type": "boolean",
  8857. "description": "是否历史查询",
  8858. "name": "ishis",
  8859. "in": "query"
  8860. },
  8861. {
  8862. "type": "string",
  8863. "description": "开始交易日(yyyymmdd)",
  8864. "name": "begindate",
  8865. "in": "query"
  8866. },
  8867. {
  8868. "type": "string",
  8869. "description": "结束交易日(yyyymmdd)",
  8870. "name": "enddate",
  8871. "in": "query"
  8872. }
  8873. ],
  8874. "responses": {
  8875. "200": {
  8876. "description": "OK",
  8877. "schema": {
  8878. "type": "array",
  8879. "items": {
  8880. "$ref": "#/definitions/models.MySellOrder"
  8881. }
  8882. }
  8883. },
  8884. "500": {
  8885. "description": "Internal Server Error",
  8886. "schema": {
  8887. "$ref": "#/definitions/app.Response"
  8888. }
  8889. }
  8890. }
  8891. }
  8892. },
  8893. "/Guangzuan/QueryMyWRPosition": {
  8894. "get": {
  8895. "security": [
  8896. {
  8897. "ApiKeyAuth": []
  8898. },
  8899. {
  8900. "LoginID": []
  8901. },
  8902. {
  8903. "Group": []
  8904. }
  8905. ],
  8906. "produces": [
  8907. "application/json"
  8908. ],
  8909. "tags": [
  8910. "广钻"
  8911. ],
  8912. "summary": "查询我的库存",
  8913. "parameters": [
  8914. {
  8915. "type": "integer",
  8916. "description": "页码",
  8917. "name": "page",
  8918. "in": "query"
  8919. },
  8920. {
  8921. "type": "integer",
  8922. "description": "每页条数",
  8923. "name": "pagesize",
  8924. "in": "query"
  8925. },
  8926. {
  8927. "type": "integer",
  8928. "description": "登录用户ID",
  8929. "name": "wruserid",
  8930. "in": "query",
  8931. "required": true
  8932. },
  8933. {
  8934. "type": "string",
  8935. "description": "商品(查询字段-模糊查询)",
  8936. "name": "zsallproperties",
  8937. "in": "query"
  8938. },
  8939. {
  8940. "type": "string",
  8941. "description": "钻石分类, 格式:1,2,3",
  8942. "name": "zscategorys",
  8943. "in": "query"
  8944. },
  8945. {
  8946. "type": "integer",
  8947. "description": "仓库ID",
  8948. "name": "warehouseid",
  8949. "in": "query"
  8950. },
  8951. {
  8952. "type": "integer",
  8953. "description": "是否上架,0-全部 1-是 2-否",
  8954. "name": "marketflag",
  8955. "in": "query"
  8956. }
  8957. ],
  8958. "responses": {
  8959. "200": {
  8960. "description": "OK",
  8961. "schema": {
  8962. "type": "array",
  8963. "items": {
  8964. "$ref": "#/definitions/models.MyWRPosition"
  8965. }
  8966. }
  8967. },
  8968. "500": {
  8969. "description": "Internal Server Error",
  8970. "schema": {
  8971. "$ref": "#/definitions/app.Response"
  8972. }
  8973. }
  8974. }
  8975. }
  8976. },
  8977. "/Guangzuan/QuerySellOrder": {
  8978. "get": {
  8979. "security": [
  8980. {
  8981. "ApiKeyAuth": []
  8982. },
  8983. {
  8984. "LoginID": []
  8985. },
  8986. {
  8987. "Group": []
  8988. }
  8989. ],
  8990. "produces": [
  8991. "application/json"
  8992. ],
  8993. "tags": [
  8994. "广钻"
  8995. ],
  8996. "summary": "查询出售大厅委托单",
  8997. "parameters": [
  8998. {
  8999. "type": "integer",
  9000. "description": "页码",
  9001. "name": "page",
  9002. "in": "query"
  9003. },
  9004. {
  9005. "type": "integer",
  9006. "description": "每页条数",
  9007. "name": "pagesize",
  9008. "in": "query"
  9009. },
  9010. {
  9011. "type": "string",
  9012. "description": "商品(查询字段-模糊查询)",
  9013. "name": "zsallproperties",
  9014. "in": "query"
  9015. },
  9016. {
  9017. "type": "string",
  9018. "description": "钻石分类, 格式:1,2,3",
  9019. "name": "zscategorys",
  9020. "in": "query"
  9021. },
  9022. {
  9023. "type": "integer",
  9024. "description": "委托单号",
  9025. "name": "wrtradeorderid",
  9026. "in": "query"
  9027. },
  9028. {
  9029. "type": "string",
  9030. "description": "卖方(查询字段-模糊查询)",
  9031. "name": "buyusername",
  9032. "in": "query"
  9033. }
  9034. ],
  9035. "responses": {
  9036. "200": {
  9037. "description": "OK",
  9038. "schema": {
  9039. "type": "array",
  9040. "items": {
  9041. "$ref": "#/definitions/models.SellOrder"
  9042. }
  9043. }
  9044. },
  9045. "500": {
  9046. "description": "Internal Server Error",
  9047. "schema": {
  9048. "$ref": "#/definitions/app.Response"
  9049. }
  9050. }
  9051. }
  9052. }
  9053. },
  9054. "/Guangzuan/QueryWarehouseInfo": {
  9055. "get": {
  9056. "security": [
  9057. {
  9058. "ApiKeyAuth": []
  9059. },
  9060. {
  9061. "LoginID": []
  9062. },
  9063. {
  9064. "Group": []
  9065. }
  9066. ],
  9067. "produces": [
  9068. "application/json"
  9069. ],
  9070. "tags": [
  9071. "广钻"
  9072. ],
  9073. "summary": "查询仓库信息",
  9074. "parameters": [
  9075. {
  9076. "type": "integer",
  9077. "description": "页码",
  9078. "name": "page",
  9079. "in": "query"
  9080. },
  9081. {
  9082. "type": "integer",
  9083. "description": "每页条数",
  9084. "name": "pagesize",
  9085. "in": "query"
  9086. },
  9087. {
  9088. "type": "integer",
  9089. "description": "用户ID",
  9090. "name": "userid",
  9091. "in": "query",
  9092. "required": true
  9093. },
  9094. {
  9095. "type": "string",
  9096. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  9097. "name": "status",
  9098. "in": "query"
  9099. },
  9100. {
  9101. "type": "boolean",
  9102. "description": "是返回交易所仓库",
  9103. "name": "isincludeexchange",
  9104. "in": "query"
  9105. }
  9106. ],
  9107. "responses": {
  9108. "200": {
  9109. "description": "OK",
  9110. "schema": {
  9111. "type": "array",
  9112. "items": {
  9113. "$ref": "#/definitions/models.GZWarehouseinfo"
  9114. }
  9115. }
  9116. },
  9117. "500": {
  9118. "description": "Internal Server Error",
  9119. "schema": {
  9120. "$ref": "#/definitions/app.Response"
  9121. }
  9122. }
  9123. }
  9124. }
  9125. },
  9126. "/Market/GetAllExExchanges": {
  9127. "get": {
  9128. "security": [
  9129. {
  9130. "ApiKeyAuth": []
  9131. }
  9132. ],
  9133. "produces": [
  9134. "application/json"
  9135. ],
  9136. "tags": [
  9137. "通用市场"
  9138. ],
  9139. "summary": "获取所有外部交易所信息",
  9140. "responses": {
  9141. "200": {
  9142. "description": "OK",
  9143. "schema": {
  9144. "$ref": "#/definitions/models.Goods"
  9145. }
  9146. },
  9147. "500": {
  9148. "description": "Internal Server Error",
  9149. "schema": {
  9150. "$ref": "#/definitions/app.Response"
  9151. }
  9152. }
  9153. }
  9154. }
  9155. },
  9156. "/Market/QueryGoodsesByLoginID": {
  9157. "get": {
  9158. "security": [
  9159. {
  9160. "ApiKeyAuth": []
  9161. }
  9162. ],
  9163. "produces": [
  9164. "application/json"
  9165. ],
  9166. "tags": [
  9167. "通用市场"
  9168. ],
  9169. "summary": "获取登录账号有权限的商品信息",
  9170. "parameters": [
  9171. {
  9172. "type": "integer",
  9173. "description": "登录账号",
  9174. "name": "loginID",
  9175. "in": "query",
  9176. "required": true
  9177. },
  9178. {
  9179. "type": "string",
  9180. "description": "市场ID列表,格式:1,2,3",
  9181. "name": "marketIDs",
  9182. "in": "query"
  9183. }
  9184. ],
  9185. "responses": {
  9186. "200": {
  9187. "description": "OK",
  9188. "schema": {
  9189. "$ref": "#/definitions/models.Goods"
  9190. }
  9191. },
  9192. "500": {
  9193. "description": "Internal Server Error",
  9194. "schema": {
  9195. "$ref": "#/definitions/app.Response"
  9196. }
  9197. }
  9198. }
  9199. }
  9200. },
  9201. "/Market/QueryMarketRun": {
  9202. "get": {
  9203. "security": [
  9204. {
  9205. "ApiKeyAuth": []
  9206. }
  9207. ],
  9208. "produces": [
  9209. "application/json"
  9210. ],
  9211. "tags": [
  9212. "通用市场"
  9213. ],
  9214. "summary": "查询市场运行信息",
  9215. "parameters": [
  9216. {
  9217. "type": "integer",
  9218. "description": "市场ID,不传返回所有",
  9219. "name": "marketID",
  9220. "in": "query"
  9221. }
  9222. ],
  9223. "responses": {
  9224. "200": {
  9225. "description": "OK",
  9226. "schema": {
  9227. "$ref": "#/definitions/models.Marketrun"
  9228. }
  9229. },
  9230. "500": {
  9231. "description": "Internal Server Error",
  9232. "schema": {
  9233. "$ref": "#/definitions/app.Response"
  9234. }
  9235. }
  9236. }
  9237. }
  9238. },
  9239. "/Market/QueryMarketsByLoginID": {
  9240. "get": {
  9241. "security": [
  9242. {
  9243. "ApiKeyAuth": []
  9244. }
  9245. ],
  9246. "produces": [
  9247. "application/json"
  9248. ],
  9249. "tags": [
  9250. "通用市场"
  9251. ],
  9252. "summary": "获取登录账号有权限的市场信息",
  9253. "parameters": [
  9254. {
  9255. "type": "integer",
  9256. "description": "登录账号",
  9257. "name": "loginID",
  9258. "in": "query",
  9259. "required": true
  9260. }
  9261. ],
  9262. "responses": {
  9263. "200": {
  9264. "description": "OK",
  9265. "schema": {
  9266. "$ref": "#/definitions/models.Market"
  9267. }
  9268. },
  9269. "500": {
  9270. "description": "Internal Server Error",
  9271. "schema": {
  9272. "$ref": "#/definitions/app.Response"
  9273. }
  9274. }
  9275. }
  9276. }
  9277. },
  9278. "/Order/QueryHisTradeDetail": {
  9279. "get": {
  9280. "security": [
  9281. {
  9282. "ApiKeyAuth": []
  9283. }
  9284. ],
  9285. "produces": [
  9286. "application/json"
  9287. ],
  9288. "tags": [
  9289. "通用单据"
  9290. ],
  9291. "summary": "历史成交单查询(合约市场)",
  9292. "parameters": [
  9293. {
  9294. "type": "string",
  9295. "description": "资金账户 - 格式:1,2,3",
  9296. "name": "accountID",
  9297. "in": "query",
  9298. "required": true
  9299. },
  9300. {
  9301. "type": "integer",
  9302. "description": "成交单号",
  9303. "name": "tradeID",
  9304. "in": "query"
  9305. },
  9306. {
  9307. "type": "integer",
  9308. "description": "委托单号",
  9309. "name": "orderID",
  9310. "in": "query"
  9311. },
  9312. {
  9313. "type": "integer",
  9314. "description": "商品ID",
  9315. "name": "goodsID",
  9316. "in": "query"
  9317. },
  9318. {
  9319. "type": "string",
  9320. "description": "交易模式 - 格式:1,2,3",
  9321. "name": "tradeMode",
  9322. "in": "query"
  9323. },
  9324. {
  9325. "type": "integer",
  9326. "description": "委托单据类型",
  9327. "name": "buildType",
  9328. "in": "query"
  9329. },
  9330. {
  9331. "type": "string",
  9332. "description": "成交类别 - 格式:1,2,3",
  9333. "name": "tradeType",
  9334. "in": "query"
  9335. },
  9336. {
  9337. "type": "string",
  9338. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9339. "name": "startDate",
  9340. "in": "query"
  9341. },
  9342. {
  9343. "type": "string",
  9344. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9345. "name": "endDate",
  9346. "in": "query"
  9347. }
  9348. ],
  9349. "responses": {
  9350. "200": {
  9351. "description": "OK",
  9352. "schema": {
  9353. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  9354. }
  9355. },
  9356. "500": {
  9357. "description": "Internal Server Error",
  9358. "schema": {
  9359. "$ref": "#/definitions/app.Response"
  9360. }
  9361. }
  9362. }
  9363. }
  9364. },
  9365. "/Order/QueryHisTradeOrderDetail": {
  9366. "get": {
  9367. "security": [
  9368. {
  9369. "ApiKeyAuth": []
  9370. }
  9371. ],
  9372. "produces": [
  9373. "application/json"
  9374. ],
  9375. "tags": [
  9376. "通用单据"
  9377. ],
  9378. "summary": "历史委托单查询请求(合约市场)",
  9379. "parameters": [
  9380. {
  9381. "type": "string",
  9382. "description": "资金账户 - 格式:1,2,3",
  9383. "name": "accountID",
  9384. "in": "query",
  9385. "required": true
  9386. },
  9387. {
  9388. "type": "string",
  9389. "description": "交易模式 - 格式:1,2,3",
  9390. "name": "tradeMode",
  9391. "in": "query"
  9392. },
  9393. {
  9394. "type": "string",
  9395. "description": "委托状态 - 格式:1,2,3",
  9396. "name": "orderStatus",
  9397. "in": "query"
  9398. },
  9399. {
  9400. "type": "integer",
  9401. "description": "委托单号",
  9402. "name": "orderID",
  9403. "in": "query"
  9404. },
  9405. {
  9406. "type": "string",
  9407. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9408. "name": "startDate",
  9409. "in": "query"
  9410. },
  9411. {
  9412. "type": "string",
  9413. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9414. "name": "endDate",
  9415. "in": "query"
  9416. }
  9417. ],
  9418. "responses": {
  9419. "200": {
  9420. "description": "OK",
  9421. "schema": {
  9422. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  9423. }
  9424. },
  9425. "500": {
  9426. "description": "Internal Server Error",
  9427. "schema": {
  9428. "$ref": "#/definitions/app.Response"
  9429. }
  9430. }
  9431. }
  9432. }
  9433. },
  9434. "/Order/QueryTradeDetail": {
  9435. "get": {
  9436. "security": [
  9437. {
  9438. "ApiKeyAuth": []
  9439. }
  9440. ],
  9441. "produces": [
  9442. "application/json"
  9443. ],
  9444. "tags": [
  9445. "通用单据"
  9446. ],
  9447. "summary": "成交单查询(合约市场)",
  9448. "parameters": [
  9449. {
  9450. "type": "string",
  9451. "description": "资金账户 - 格式:1,2,3",
  9452. "name": "accountID",
  9453. "in": "query",
  9454. "required": true
  9455. },
  9456. {
  9457. "type": "integer",
  9458. "description": "成交单号",
  9459. "name": "tradeID",
  9460. "in": "query"
  9461. },
  9462. {
  9463. "type": "integer",
  9464. "description": "委托单号",
  9465. "name": "orderID",
  9466. "in": "query"
  9467. },
  9468. {
  9469. "type": "string",
  9470. "description": "交易模式 - 格式:1,2,3",
  9471. "name": "tradeMode",
  9472. "in": "query"
  9473. },
  9474. {
  9475. "type": "integer",
  9476. "description": "委托单据类型",
  9477. "name": "buildType",
  9478. "in": "query"
  9479. },
  9480. {
  9481. "type": "string",
  9482. "description": "成交类别 - 格式:1,2,3",
  9483. "name": "tradeType",
  9484. "in": "query"
  9485. },
  9486. {
  9487. "type": "integer",
  9488. "description": "商品ID",
  9489. "name": "goodsID",
  9490. "in": "query"
  9491. }
  9492. ],
  9493. "responses": {
  9494. "200": {
  9495. "description": "OK",
  9496. "schema": {
  9497. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  9498. }
  9499. },
  9500. "500": {
  9501. "description": "Internal Server Error",
  9502. "schema": {
  9503. "$ref": "#/definitions/app.Response"
  9504. }
  9505. }
  9506. }
  9507. }
  9508. },
  9509. "/Order/QueryTradeHolderDetail": {
  9510. "get": {
  9511. "security": [
  9512. {
  9513. "ApiKeyAuth": []
  9514. }
  9515. ],
  9516. "produces": [
  9517. "application/json"
  9518. ],
  9519. "tags": [
  9520. "通用单据"
  9521. ],
  9522. "summary": "查询持仓明细",
  9523. "parameters": [
  9524. {
  9525. "type": "integer",
  9526. "description": "用户id",
  9527. "name": "userid",
  9528. "in": "query"
  9529. },
  9530. {
  9531. "type": "string",
  9532. "description": "资金账号, 格式 1,2,3",
  9533. "name": "accids",
  9534. "in": "query"
  9535. },
  9536. {
  9537. "type": "string",
  9538. "description": "交易模式, 格式 1,2,3",
  9539. "name": "trademodes",
  9540. "in": "query"
  9541. },
  9542. {
  9543. "type": "string",
  9544. "description": "市场id, 格式 1,2,3",
  9545. "name": "marketids",
  9546. "in": "query"
  9547. },
  9548. {
  9549. "type": "integer",
  9550. "description": "商品id",
  9551. "name": "goodsid",
  9552. "in": "query"
  9553. },
  9554. {
  9555. "type": "integer",
  9556. "description": "买卖方向 0-买 1-卖",
  9557. "name": "buyorsell",
  9558. "in": "query"
  9559. }
  9560. ],
  9561. "responses": {
  9562. "200": {
  9563. "description": "OK",
  9564. "schema": {
  9565. "type": "array",
  9566. "items": {
  9567. "$ref": "#/definitions/models.TradeHolderDetail"
  9568. }
  9569. }
  9570. },
  9571. "500": {
  9572. "description": "Internal Server Error",
  9573. "schema": {
  9574. "$ref": "#/definitions/app.Response"
  9575. }
  9576. }
  9577. }
  9578. }
  9579. },
  9580. "/Order/QueryTradeOrderDetail": {
  9581. "get": {
  9582. "security": [
  9583. {
  9584. "ApiKeyAuth": []
  9585. }
  9586. ],
  9587. "produces": [
  9588. "application/json"
  9589. ],
  9590. "tags": [
  9591. "通用单据"
  9592. ],
  9593. "summary": "委托单查询请求(合约市场)",
  9594. "parameters": [
  9595. {
  9596. "type": "string",
  9597. "description": "资金账户 - 格式:1,2,3",
  9598. "name": "accountID",
  9599. "in": "query",
  9600. "required": true
  9601. },
  9602. {
  9603. "type": "string",
  9604. "description": "交易模式 - 格式:1,2,3",
  9605. "name": "tradeMode",
  9606. "in": "query"
  9607. },
  9608. {
  9609. "type": "string",
  9610. "description": "委托状态 - 格式:1,2,3",
  9611. "name": "orderStatus",
  9612. "in": "query"
  9613. },
  9614. {
  9615. "type": "integer",
  9616. "description": "委托单号",
  9617. "name": "orderID",
  9618. "in": "query"
  9619. }
  9620. ],
  9621. "responses": {
  9622. "200": {
  9623. "description": "OK",
  9624. "schema": {
  9625. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  9626. }
  9627. },
  9628. "500": {
  9629. "description": "Internal Server Error",
  9630. "schema": {
  9631. "$ref": "#/definitions/app.Response"
  9632. }
  9633. }
  9634. }
  9635. }
  9636. },
  9637. "/Order/QueryTradePosition": {
  9638. "get": {
  9639. "security": [
  9640. {
  9641. "ApiKeyAuth": []
  9642. }
  9643. ],
  9644. "produces": [
  9645. "application/json"
  9646. ],
  9647. "tags": [
  9648. "通用单据"
  9649. ],
  9650. "summary": "持仓汇总查询(合约市场)",
  9651. "parameters": [
  9652. {
  9653. "type": "string",
  9654. "description": "资金账户 - 格式:1,2,3",
  9655. "name": "accountID",
  9656. "in": "query",
  9657. "required": true
  9658. },
  9659. {
  9660. "type": "string",
  9661. "description": "交易模式 - 格式:1,2,3",
  9662. "name": "tradeMode",
  9663. "in": "query"
  9664. }
  9665. ],
  9666. "responses": {
  9667. "200": {
  9668. "description": "OK",
  9669. "schema": {
  9670. "$ref": "#/definitions/order.QueryTradePositionRsp"
  9671. }
  9672. },
  9673. "500": {
  9674. "description": "Internal Server Error",
  9675. "schema": {
  9676. "$ref": "#/definitions/app.Response"
  9677. }
  9678. }
  9679. }
  9680. }
  9681. },
  9682. "/Qhj/QueryAccountInOutApply": {
  9683. "get": {
  9684. "security": [
  9685. {
  9686. "ApiKeyAuth": []
  9687. }
  9688. ],
  9689. "produces": [
  9690. "application/json"
  9691. ],
  9692. "tags": [
  9693. "大连千海金"
  9694. ],
  9695. "summary": "查询充值提现",
  9696. "parameters": [
  9697. {
  9698. "type": "integer",
  9699. "description": "用户ID",
  9700. "name": "userid",
  9701. "in": "query",
  9702. "required": true
  9703. },
  9704. {
  9705. "type": "string",
  9706. "description": "申请起始日期(格式yyyymmdd)",
  9707. "name": "begindate",
  9708. "in": "query"
  9709. },
  9710. {
  9711. "type": "string",
  9712. "description": "申请截止日期(格式yyyymmdd)",
  9713. "name": "enddate",
  9714. "in": "query"
  9715. },
  9716. {
  9717. "type": "string",
  9718. "description": "模糊搜索名称",
  9719. "name": "likename",
  9720. "in": "query"
  9721. },
  9722. {
  9723. "type": "integer",
  9724. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9725. "name": "applystatus",
  9726. "in": "query"
  9727. },
  9728. {
  9729. "type": "integer",
  9730. "description": "查询类型 1-提现(出金) 2-充值(入金)",
  9731. "name": "querytype",
  9732. "in": "query"
  9733. }
  9734. ],
  9735. "responses": {
  9736. "200": {
  9737. "description": "OK",
  9738. "schema": {
  9739. "type": "array",
  9740. "items": {
  9741. "$ref": "#/definitions/models.QhjAccountOutInApply"
  9742. }
  9743. }
  9744. },
  9745. "500": {
  9746. "description": "Internal Server Error",
  9747. "schema": {
  9748. "$ref": "#/definitions/app.Response"
  9749. }
  9750. }
  9751. }
  9752. }
  9753. },
  9754. "/Qhj/QueryAreaFinanceConfig": {
  9755. "get": {
  9756. "security": [
  9757. {
  9758. "ApiKeyAuth": []
  9759. }
  9760. ],
  9761. "produces": [
  9762. "application/json"
  9763. ],
  9764. "tags": [
  9765. "大连千海金"
  9766. ],
  9767. "summary": "查询企业配置表",
  9768. "parameters": [
  9769. {
  9770. "type": "integer",
  9771. "description": "机构用户ID 其他做市关系,都设置为 1",
  9772. "name": "userid",
  9773. "in": "query"
  9774. }
  9775. ],
  9776. "responses": {
  9777. "200": {
  9778. "description": "OK",
  9779. "schema": {
  9780. "type": "array",
  9781. "items": {
  9782. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  9783. }
  9784. }
  9785. },
  9786. "500": {
  9787. "description": "Internal Server Error",
  9788. "schema": {
  9789. "$ref": "#/definitions/app.Response"
  9790. }
  9791. }
  9792. }
  9793. }
  9794. },
  9795. "/Qhj/QueryBankAccountSign": {
  9796. "get": {
  9797. "security": [
  9798. {
  9799. "ApiKeyAuth": []
  9800. }
  9801. ],
  9802. "produces": [
  9803. "application/json"
  9804. ],
  9805. "tags": [
  9806. "大连千海金"
  9807. ],
  9808. "summary": "查询签约银行信息(提现账户管理)",
  9809. "parameters": [
  9810. {
  9811. "type": "integer",
  9812. "description": "用户ID",
  9813. "name": "userid",
  9814. "in": "query",
  9815. "required": true
  9816. }
  9817. ],
  9818. "responses": {
  9819. "200": {
  9820. "description": "OK",
  9821. "schema": {
  9822. "type": "array",
  9823. "items": {
  9824. "$ref": "#/definitions/models.QhjBankAccountSign"
  9825. }
  9826. }
  9827. },
  9828. "500": {
  9829. "description": "Internal Server Error",
  9830. "schema": {
  9831. "$ref": "#/definitions/app.Response"
  9832. }
  9833. }
  9834. }
  9835. }
  9836. },
  9837. "/Qhj/QueryBankInfo": {
  9838. "get": {
  9839. "security": [
  9840. {
  9841. "ApiKeyAuth": []
  9842. }
  9843. ],
  9844. "produces": [
  9845. "application/json"
  9846. ],
  9847. "tags": [
  9848. "大连千海金"
  9849. ],
  9850. "summary": "查询开户行",
  9851. "responses": {
  9852. "200": {
  9853. "description": "OK",
  9854. "schema": {
  9855. "type": "array",
  9856. "items": {
  9857. "$ref": "#/definitions/models.QhjBankInfo"
  9858. }
  9859. }
  9860. },
  9861. "500": {
  9862. "description": "Internal Server Error",
  9863. "schema": {
  9864. "$ref": "#/definitions/app.Response"
  9865. }
  9866. }
  9867. }
  9868. }
  9869. },
  9870. "/Qhj/QueryBrokerApply": {
  9871. "get": {
  9872. "security": [
  9873. {
  9874. "ApiKeyAuth": []
  9875. }
  9876. ],
  9877. "produces": [
  9878. "application/json"
  9879. ],
  9880. "tags": [
  9881. "大连千海金"
  9882. ],
  9883. "summary": "查询经纪人申请",
  9884. "parameters": [
  9885. {
  9886. "type": "integer",
  9887. "description": "所属机构ID",
  9888. "name": "userid",
  9889. "in": "query"
  9890. },
  9891. {
  9892. "type": "string",
  9893. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9894. "name": "filterstatus",
  9895. "in": "query"
  9896. }
  9897. ],
  9898. "responses": {
  9899. "200": {
  9900. "description": "OK",
  9901. "schema": {
  9902. "type": "array",
  9903. "items": {
  9904. "$ref": "#/definitions/models.QhjBrokerApply"
  9905. }
  9906. }
  9907. },
  9908. "500": {
  9909. "description": "Internal Server Error",
  9910. "schema": {
  9911. "$ref": "#/definitions/app.Response"
  9912. }
  9913. }
  9914. }
  9915. }
  9916. },
  9917. "/Qhj/QueryBrokerApplyEx": {
  9918. "get": {
  9919. "security": [
  9920. {
  9921. "ApiKeyAuth": []
  9922. }
  9923. ],
  9924. "produces": [
  9925. "application/json"
  9926. ],
  9927. "tags": [
  9928. "大连千海金"
  9929. ],
  9930. "summary": "查询经纪人信息和申请记录",
  9931. "parameters": [
  9932. {
  9933. "type": "integer",
  9934. "description": "所属机构ID",
  9935. "name": "userid",
  9936. "in": "query"
  9937. }
  9938. ],
  9939. "responses": {
  9940. "200": {
  9941. "description": "OK",
  9942. "schema": {
  9943. "type": "array",
  9944. "items": {
  9945. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  9946. }
  9947. }
  9948. },
  9949. "500": {
  9950. "description": "Internal Server Error",
  9951. "schema": {
  9952. "$ref": "#/definitions/app.Response"
  9953. }
  9954. }
  9955. }
  9956. }
  9957. },
  9958. "/Qhj/QueryBrokerRewardLog": {
  9959. "get": {
  9960. "security": [
  9961. {
  9962. "ApiKeyAuth": []
  9963. }
  9964. ],
  9965. "produces": [
  9966. "application/json"
  9967. ],
  9968. "tags": [
  9969. "大连千海金"
  9970. ],
  9971. "summary": "查询奖励流水(我的奖励)",
  9972. "parameters": [
  9973. {
  9974. "type": "integer",
  9975. "description": "用户ID",
  9976. "name": "userid",
  9977. "in": "query",
  9978. "required": true
  9979. },
  9980. {
  9981. "type": "string",
  9982. "description": "开始交易日(yyyymmdd)",
  9983. "name": "begindate",
  9984. "in": "query"
  9985. },
  9986. {
  9987. "type": "string",
  9988. "description": "结束交易日(yyyymmdd)",
  9989. "name": "enddate",
  9990. "in": "query"
  9991. }
  9992. ],
  9993. "responses": {
  9994. "200": {
  9995. "description": "OK",
  9996. "schema": {
  9997. "type": "array",
  9998. "items": {
  9999. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  10000. }
  10001. }
  10002. },
  10003. "500": {
  10004. "description": "Internal Server Error",
  10005. "schema": {
  10006. "$ref": "#/definitions/app.Response"
  10007. }
  10008. }
  10009. }
  10010. }
  10011. },
  10012. "/Qhj/QueryContract": {
  10013. "get": {
  10014. "security": [
  10015. {
  10016. "ApiKeyAuth": []
  10017. }
  10018. ],
  10019. "produces": [
  10020. "application/json"
  10021. ],
  10022. "tags": [
  10023. "大连千海金"
  10024. ],
  10025. "summary": "查询融资明细(合同)",
  10026. "parameters": [
  10027. {
  10028. "type": "integer",
  10029. "description": "用户ID",
  10030. "name": "userid",
  10031. "in": "query"
  10032. },
  10033. {
  10034. "type": "integer",
  10035. "description": "scf合同id",
  10036. "name": "scfcontractid",
  10037. "in": "query"
  10038. }
  10039. ],
  10040. "responses": {
  10041. "200": {
  10042. "description": "OK",
  10043. "schema": {
  10044. "type": "array",
  10045. "items": {
  10046. "$ref": "#/definitions/models.QhjContract"
  10047. }
  10048. }
  10049. },
  10050. "500": {
  10051. "description": "Internal Server Error",
  10052. "schema": {
  10053. "$ref": "#/definitions/app.Response"
  10054. }
  10055. }
  10056. }
  10057. }
  10058. },
  10059. "/Qhj/QueryContractLog": {
  10060. "get": {
  10061. "security": [
  10062. {
  10063. "ApiKeyAuth": []
  10064. }
  10065. ],
  10066. "produces": [
  10067. "application/json"
  10068. ],
  10069. "tags": [
  10070. "大连千海金"
  10071. ],
  10072. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  10073. "parameters": [
  10074. {
  10075. "type": "integer",
  10076. "description": "scf合同id",
  10077. "name": "scfcontractid",
  10078. "in": "query",
  10079. "required": true
  10080. },
  10081. {
  10082. "type": "string",
  10083. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  10084. "name": "amounttype",
  10085. "in": "query"
  10086. }
  10087. ],
  10088. "responses": {
  10089. "200": {
  10090. "description": "OK",
  10091. "schema": {
  10092. "type": "array",
  10093. "items": {
  10094. "$ref": "#/definitions/models.QhjContractLog"
  10095. }
  10096. }
  10097. },
  10098. "500": {
  10099. "description": "Internal Server Error",
  10100. "schema": {
  10101. "$ref": "#/definitions/app.Response"
  10102. }
  10103. }
  10104. }
  10105. }
  10106. },
  10107. "/Qhj/QueryCusBankSignBank": {
  10108. "get": {
  10109. "security": [
  10110. {
  10111. "ApiKeyAuth": []
  10112. }
  10113. ],
  10114. "produces": [
  10115. "application/json"
  10116. ],
  10117. "tags": [
  10118. "大连千海金"
  10119. ],
  10120. "summary": "查询托管银行",
  10121. "responses": {
  10122. "200": {
  10123. "description": "OK",
  10124. "schema": {
  10125. "type": "array",
  10126. "items": {
  10127. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  10128. }
  10129. }
  10130. },
  10131. "500": {
  10132. "description": "Internal Server Error",
  10133. "schema": {
  10134. "$ref": "#/definitions/app.Response"
  10135. }
  10136. }
  10137. }
  10138. }
  10139. },
  10140. "/Qhj/QueryCustomerInfo": {
  10141. "get": {
  10142. "security": [
  10143. {
  10144. "ApiKeyAuth": []
  10145. }
  10146. ],
  10147. "produces": [
  10148. "application/json"
  10149. ],
  10150. "tags": [
  10151. "大连千海金"
  10152. ],
  10153. "summary": "查询客户资料",
  10154. "parameters": [
  10155. {
  10156. "type": "integer",
  10157. "description": "用户ID",
  10158. "name": "userid",
  10159. "in": "query",
  10160. "required": true
  10161. },
  10162. {
  10163. "type": "integer",
  10164. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  10165. "name": "querytype",
  10166. "in": "query",
  10167. "required": true
  10168. },
  10169. {
  10170. "type": "integer",
  10171. "description": "客户类型 1-个人 2-企业",
  10172. "name": "userinfotype",
  10173. "in": "query"
  10174. },
  10175. {
  10176. "type": "string",
  10177. "description": "客户名称(模糊匹配)",
  10178. "name": "customername",
  10179. "in": "query"
  10180. },
  10181. {
  10182. "type": "string",
  10183. "description": "昵称(模糊匹配)",
  10184. "name": "nickname",
  10185. "in": "query"
  10186. },
  10187. {
  10188. "type": "integer",
  10189. "description": "是否包含子级 1-包含",
  10190. "name": "includesub",
  10191. "in": "query"
  10192. }
  10193. ],
  10194. "responses": {
  10195. "200": {
  10196. "description": "OK",
  10197. "schema": {
  10198. "type": "array",
  10199. "items": {
  10200. "$ref": "#/definitions/models.QhjCustomer"
  10201. }
  10202. }
  10203. },
  10204. "500": {
  10205. "description": "Internal Server Error",
  10206. "schema": {
  10207. "$ref": "#/definitions/app.Response"
  10208. }
  10209. }
  10210. }
  10211. }
  10212. },
  10213. "/Qhj/QueryGoodsEx": {
  10214. "get": {
  10215. "security": [
  10216. {
  10217. "ApiKeyAuth": []
  10218. }
  10219. ],
  10220. "produces": [
  10221. "application/json"
  10222. ],
  10223. "tags": [
  10224. "大连千海金"
  10225. ],
  10226. "summary": "交易商品扩展表",
  10227. "parameters": [
  10228. {
  10229. "type": "integer",
  10230. "description": "商品id",
  10231. "name": "goodsid",
  10232. "in": "query"
  10233. }
  10234. ],
  10235. "responses": {
  10236. "200": {
  10237. "description": "OK",
  10238. "schema": {
  10239. "type": "array",
  10240. "items": {
  10241. "$ref": "#/definitions/models.Qhjgoodsex"
  10242. }
  10243. }
  10244. },
  10245. "500": {
  10246. "description": "Internal Server Error",
  10247. "schema": {
  10248. "$ref": "#/definitions/app.Response"
  10249. }
  10250. }
  10251. }
  10252. }
  10253. },
  10254. "/Qhj/QueryMyTeam": {
  10255. "get": {
  10256. "security": [
  10257. {
  10258. "ApiKeyAuth": []
  10259. }
  10260. ],
  10261. "produces": [
  10262. "application/json"
  10263. ],
  10264. "tags": [
  10265. "大连千海金"
  10266. ],
  10267. "summary": "查询我的团队",
  10268. "parameters": [
  10269. {
  10270. "type": "integer",
  10271. "description": "用户ID",
  10272. "name": "userid",
  10273. "in": "query",
  10274. "required": true
  10275. }
  10276. ],
  10277. "responses": {
  10278. "200": {
  10279. "description": "OK",
  10280. "schema": {
  10281. "type": "array",
  10282. "items": {
  10283. "$ref": "#/definitions/models.QhjMyTeamEx"
  10284. }
  10285. }
  10286. },
  10287. "500": {
  10288. "description": "Internal Server Error",
  10289. "schema": {
  10290. "$ref": "#/definitions/app.Response"
  10291. }
  10292. }
  10293. }
  10294. }
  10295. },
  10296. "/Qhj/QueryMyTeamOrder": {
  10297. "get": {
  10298. "security": [
  10299. {
  10300. "ApiKeyAuth": []
  10301. }
  10302. ],
  10303. "produces": [
  10304. "application/json"
  10305. ],
  10306. "tags": [
  10307. "大连千海金"
  10308. ],
  10309. "summary": "查询团队订单(我的团队/团队订单)",
  10310. "parameters": [
  10311. {
  10312. "type": "integer",
  10313. "description": "页码",
  10314. "name": "page",
  10315. "in": "query"
  10316. },
  10317. {
  10318. "type": "integer",
  10319. "description": "每页条数",
  10320. "name": "pagesize",
  10321. "in": "query"
  10322. },
  10323. {
  10324. "type": "integer",
  10325. "description": "用户ID",
  10326. "name": "userid",
  10327. "in": "query",
  10328. "required": true
  10329. },
  10330. {
  10331. "type": "integer",
  10332. "description": "交易模式",
  10333. "name": "trademode",
  10334. "in": "query"
  10335. },
  10336. {
  10337. "type": "string",
  10338. "description": "名称(模糊搜索账户)",
  10339. "name": "filtername",
  10340. "in": "query"
  10341. }
  10342. ],
  10343. "responses": {
  10344. "200": {
  10345. "description": "OK",
  10346. "schema": {
  10347. "type": "array",
  10348. "items": {
  10349. "$ref": "#/definitions/models.QhjTeamOrder"
  10350. }
  10351. }
  10352. },
  10353. "500": {
  10354. "description": "Internal Server Error",
  10355. "schema": {
  10356. "$ref": "#/definitions/app.Response"
  10357. }
  10358. }
  10359. }
  10360. }
  10361. },
  10362. "/Qhj/QueryParentAreaList": {
  10363. "get": {
  10364. "security": [
  10365. {
  10366. "ApiKeyAuth": []
  10367. }
  10368. ],
  10369. "produces": [
  10370. "application/json"
  10371. ],
  10372. "tags": [
  10373. "大连千海金"
  10374. ],
  10375. "summary": "查询所属机构列表",
  10376. "parameters": [
  10377. {
  10378. "type": "integer",
  10379. "description": "用户ID",
  10380. "name": "userid",
  10381. "in": "query",
  10382. "required": true
  10383. }
  10384. ],
  10385. "responses": {
  10386. "200": {
  10387. "description": "OK",
  10388. "schema": {
  10389. "type": "array",
  10390. "items": {
  10391. "$ref": "#/definitions/models.QhjParentAreaList"
  10392. }
  10393. }
  10394. },
  10395. "500": {
  10396. "description": "Internal Server Error",
  10397. "schema": {
  10398. "$ref": "#/definitions/app.Response"
  10399. }
  10400. }
  10401. }
  10402. }
  10403. },
  10404. "/Qhj/QueryPayOrder": {
  10405. "get": {
  10406. "security": [
  10407. {
  10408. "ApiKeyAuth": []
  10409. }
  10410. ],
  10411. "produces": [
  10412. "application/json"
  10413. ],
  10414. "tags": [
  10415. "大连千海金"
  10416. ],
  10417. "summary": "查询待付款单据",
  10418. "parameters": [
  10419. {
  10420. "type": "integer",
  10421. "description": "资金账号id",
  10422. "name": "accountid",
  10423. "in": "query",
  10424. "required": true
  10425. },
  10426. {
  10427. "type": "integer",
  10428. "description": "成交单号",
  10429. "name": "tradeid",
  10430. "in": "query"
  10431. },
  10432. {
  10433. "type": "string",
  10434. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  10435. "name": "payflag",
  10436. "in": "query"
  10437. }
  10438. ],
  10439. "responses": {
  10440. "200": {
  10441. "description": "OK",
  10442. "schema": {
  10443. "type": "array",
  10444. "items": {
  10445. "$ref": "#/definitions/models.QhjPayOrder"
  10446. }
  10447. }
  10448. },
  10449. "500": {
  10450. "description": "Internal Server Error",
  10451. "schema": {
  10452. "$ref": "#/definitions/app.Response"
  10453. }
  10454. }
  10455. }
  10456. }
  10457. },
  10458. "/Qhj/QueryPickArea": {
  10459. "get": {
  10460. "security": [
  10461. {
  10462. "ApiKeyAuth": []
  10463. }
  10464. ],
  10465. "produces": [
  10466. "application/json"
  10467. ],
  10468. "tags": [
  10469. "大连千海金"
  10470. ],
  10471. "summary": "查询提货门店",
  10472. "parameters": [
  10473. {
  10474. "type": "integer",
  10475. "description": "用户ID",
  10476. "name": "userid",
  10477. "in": "query"
  10478. }
  10479. ],
  10480. "responses": {
  10481. "200": {
  10482. "description": "OK",
  10483. "schema": {
  10484. "type": "array",
  10485. "items": {
  10486. "$ref": "#/definitions/models.QhjPickArea"
  10487. }
  10488. }
  10489. },
  10490. "500": {
  10491. "description": "Internal Server Error",
  10492. "schema": {
  10493. "$ref": "#/definitions/app.Response"
  10494. }
  10495. }
  10496. }
  10497. }
  10498. },
  10499. "/Qhj/QueryPickGoods": {
  10500. "get": {
  10501. "security": [
  10502. {
  10503. "ApiKeyAuth": []
  10504. }
  10505. ],
  10506. "produces": [
  10507. "application/json"
  10508. ],
  10509. "tags": [
  10510. "大连千海金"
  10511. ],
  10512. "summary": "查询提货商品",
  10513. "parameters": [
  10514. {
  10515. "type": "integer",
  10516. "description": "交易商品id",
  10517. "name": "goodsid",
  10518. "in": "query",
  10519. "required": true
  10520. },
  10521. {
  10522. "type": "string",
  10523. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  10524. "name": "status",
  10525. "in": "query"
  10526. }
  10527. ],
  10528. "responses": {
  10529. "200": {
  10530. "description": "OK",
  10531. "schema": {
  10532. "type": "array",
  10533. "items": {
  10534. "$ref": "#/definitions/models.QhjPickGoods"
  10535. }
  10536. }
  10537. },
  10538. "500": {
  10539. "description": "Internal Server Error",
  10540. "schema": {
  10541. "$ref": "#/definitions/app.Response"
  10542. }
  10543. }
  10544. }
  10545. }
  10546. },
  10547. "/Qhj/QueryRSTriggerLog": {
  10548. "get": {
  10549. "security": [
  10550. {
  10551. "ApiKeyAuth": []
  10552. }
  10553. ],
  10554. "produces": [
  10555. "application/json"
  10556. ],
  10557. "tags": [
  10558. "大连千海金"
  10559. ],
  10560. "summary": "查询定投记录(定投管理/详情/定投记录)",
  10561. "parameters": [
  10562. {
  10563. "type": "integer",
  10564. "description": "用户ID",
  10565. "name": "userid",
  10566. "in": "query"
  10567. },
  10568. {
  10569. "type": "integer",
  10570. "description": "定投策略id",
  10571. "name": "regularlystrategyid",
  10572. "in": "query"
  10573. },
  10574. {
  10575. "type": "integer",
  10576. "description": "商品id",
  10577. "name": "goodsid",
  10578. "in": "query"
  10579. },
  10580. {
  10581. "type": "string",
  10582. "description": "开始交易日(yyyymmdd)",
  10583. "name": "begindate",
  10584. "in": "query"
  10585. },
  10586. {
  10587. "type": "string",
  10588. "description": "结束交易日(yyyymmdd)",
  10589. "name": "enddate",
  10590. "in": "query"
  10591. },
  10592. {
  10593. "type": "string",
  10594. "description": "名称(模糊搜索账户)",
  10595. "name": "filtername",
  10596. "in": "query"
  10597. }
  10598. ],
  10599. "responses": {
  10600. "200": {
  10601. "description": "OK",
  10602. "schema": {
  10603. "type": "array",
  10604. "items": {
  10605. "$ref": "#/definitions/models.QhjRSTriggerLog"
  10606. }
  10607. }
  10608. },
  10609. "500": {
  10610. "description": "Internal Server Error",
  10611. "schema": {
  10612. "$ref": "#/definitions/app.Response"
  10613. }
  10614. }
  10615. }
  10616. }
  10617. },
  10618. "/Qhj/QueryRStrategy": {
  10619. "get": {
  10620. "security": [
  10621. {
  10622. "ApiKeyAuth": []
  10623. }
  10624. ],
  10625. "produces": [
  10626. "application/json"
  10627. ],
  10628. "tags": [
  10629. "大连千海金"
  10630. ],
  10631. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  10632. "parameters": [
  10633. {
  10634. "type": "integer",
  10635. "description": "用户ID",
  10636. "name": "userid",
  10637. "in": "query"
  10638. },
  10639. {
  10640. "type": "integer",
  10641. "description": "商品id",
  10642. "name": "goodsid",
  10643. "in": "query"
  10644. },
  10645. {
  10646. "type": "string",
  10647. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  10648. "name": "status",
  10649. "in": "query"
  10650. },
  10651. {
  10652. "type": "string",
  10653. "description": "名称(模糊搜索账户)",
  10654. "name": "filtername",
  10655. "in": "query"
  10656. }
  10657. ],
  10658. "responses": {
  10659. "200": {
  10660. "description": "OK",
  10661. "schema": {
  10662. "type": "array",
  10663. "items": {
  10664. "$ref": "#/definitions/models.QhjRStrategy"
  10665. }
  10666. }
  10667. },
  10668. "500": {
  10669. "description": "Internal Server Error",
  10670. "schema": {
  10671. "$ref": "#/definitions/app.Response"
  10672. }
  10673. }
  10674. }
  10675. }
  10676. },
  10677. "/Qhj/QueryReckonPriceLog": {
  10678. "get": {
  10679. "security": [
  10680. {
  10681. "ApiKeyAuth": []
  10682. }
  10683. ],
  10684. "produces": [
  10685. "application/json"
  10686. ],
  10687. "tags": [
  10688. "大连千海金"
  10689. ],
  10690. "summary": "查询定投价(结算价)",
  10691. "parameters": [
  10692. {
  10693. "type": "integer",
  10694. "description": "商品ID",
  10695. "name": "goodsid",
  10696. "in": "query"
  10697. },
  10698. {
  10699. "type": "string",
  10700. "description": "交易日 格式(yyyymmdd)",
  10701. "name": "tradedate",
  10702. "in": "query"
  10703. }
  10704. ],
  10705. "responses": {
  10706. "200": {
  10707. "description": "OK",
  10708. "schema": {
  10709. "type": "array",
  10710. "items": {
  10711. "$ref": "#/definitions/models.QhjReckonPriceLog"
  10712. }
  10713. }
  10714. },
  10715. "500": {
  10716. "description": "Internal Server Error",
  10717. "schema": {
  10718. "$ref": "#/definitions/app.Response"
  10719. }
  10720. }
  10721. }
  10722. }
  10723. },
  10724. "/Qhj/QueryScoreLog": {
  10725. "get": {
  10726. "security": [
  10727. {
  10728. "ApiKeyAuth": []
  10729. }
  10730. ],
  10731. "produces": [
  10732. "application/json"
  10733. ],
  10734. "tags": [
  10735. "大连千海金"
  10736. ],
  10737. "summary": "查询积分流水(我的积分)",
  10738. "parameters": [
  10739. {
  10740. "type": "integer",
  10741. "description": "用户ID",
  10742. "name": "userid",
  10743. "in": "query",
  10744. "required": true
  10745. },
  10746. {
  10747. "type": "string",
  10748. "description": "开始交易日(yyyymmdd)",
  10749. "name": "begindate",
  10750. "in": "query"
  10751. },
  10752. {
  10753. "type": "string",
  10754. "description": "结束交易日(yyyymmdd)",
  10755. "name": "enddate",
  10756. "in": "query"
  10757. },
  10758. {
  10759. "type": "integer",
  10760. "description": "最近多少条",
  10761. "name": "lastnum",
  10762. "in": "query"
  10763. }
  10764. ],
  10765. "responses": {
  10766. "200": {
  10767. "description": "OK",
  10768. "schema": {
  10769. "type": "array",
  10770. "items": {
  10771. "$ref": "#/definitions/models.QhjScoreLog"
  10772. }
  10773. }
  10774. },
  10775. "500": {
  10776. "description": "Internal Server Error",
  10777. "schema": {
  10778. "$ref": "#/definitions/app.Response"
  10779. }
  10780. }
  10781. }
  10782. }
  10783. },
  10784. "/Qhj/QuerySiteColumnDetail": {
  10785. "get": {
  10786. "security": [
  10787. {
  10788. "ApiKeyAuth": []
  10789. }
  10790. ],
  10791. "produces": [
  10792. "application/json"
  10793. ],
  10794. "tags": [
  10795. "大连千海金"
  10796. ],
  10797. "summary": "查询资讯",
  10798. "parameters": [
  10799. {
  10800. "type": "integer",
  10801. "description": "用户ID",
  10802. "name": "userid",
  10803. "in": "query",
  10804. "required": true
  10805. }
  10806. ],
  10807. "responses": {
  10808. "200": {
  10809. "description": "OK",
  10810. "schema": {
  10811. "type": "array",
  10812. "items": {
  10813. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  10814. }
  10815. }
  10816. },
  10817. "500": {
  10818. "description": "Internal Server Error",
  10819. "schema": {
  10820. "$ref": "#/definitions/app.Response"
  10821. }
  10822. }
  10823. }
  10824. }
  10825. },
  10826. "/Qhj/QueryTradeGoodsPickup": {
  10827. "get": {
  10828. "security": [
  10829. {
  10830. "ApiKeyAuth": []
  10831. }
  10832. ],
  10833. "produces": [
  10834. "application/json"
  10835. ],
  10836. "tags": [
  10837. "大连千海金"
  10838. ],
  10839. "summary": "查询提货",
  10840. "parameters": [
  10841. {
  10842. "type": "integer",
  10843. "description": "用户ID",
  10844. "name": "userid",
  10845. "in": "query",
  10846. "required": true
  10847. },
  10848. {
  10849. "type": "integer",
  10850. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  10851. "name": "takeorderstatus",
  10852. "in": "query"
  10853. }
  10854. ],
  10855. "responses": {
  10856. "200": {
  10857. "description": "OK",
  10858. "schema": {
  10859. "type": "array",
  10860. "items": {
  10861. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  10862. }
  10863. }
  10864. },
  10865. "500": {
  10866. "description": "Internal Server Error",
  10867. "schema": {
  10868. "$ref": "#/definitions/app.Response"
  10869. }
  10870. }
  10871. }
  10872. }
  10873. },
  10874. "/Qhj/QueryUserCollectConfig": {
  10875. "get": {
  10876. "security": [
  10877. {
  10878. "ApiKeyAuth": []
  10879. }
  10880. ],
  10881. "produces": [
  10882. "application/json"
  10883. ],
  10884. "tags": [
  10885. "大连千海金"
  10886. ],
  10887. "summary": "查询提现账户设置",
  10888. "parameters": [
  10889. {
  10890. "type": "integer",
  10891. "description": "用户ID",
  10892. "name": "userid",
  10893. "in": "query",
  10894. "required": true
  10895. }
  10896. ],
  10897. "responses": {
  10898. "200": {
  10899. "description": "OK",
  10900. "schema": {
  10901. "type": "array",
  10902. "items": {
  10903. "$ref": "#/definitions/models.UserCollectConfig"
  10904. }
  10905. }
  10906. },
  10907. "500": {
  10908. "description": "Internal Server Error",
  10909. "schema": {
  10910. "$ref": "#/definitions/app.Response"
  10911. }
  10912. }
  10913. }
  10914. }
  10915. },
  10916. "/Qhj/QueryUserReceiveInfo": {
  10917. "get": {
  10918. "security": [
  10919. {
  10920. "ApiKeyAuth": []
  10921. }
  10922. ],
  10923. "produces": [
  10924. "application/json"
  10925. ],
  10926. "tags": [
  10927. "大连千海金"
  10928. ],
  10929. "summary": "查询收货地址信息",
  10930. "parameters": [
  10931. {
  10932. "type": "integer",
  10933. "description": "用户ID",
  10934. "name": "userid",
  10935. "in": "query",
  10936. "required": true
  10937. }
  10938. ],
  10939. "responses": {
  10940. "200": {
  10941. "description": "OK",
  10942. "schema": {
  10943. "type": "array",
  10944. "items": {
  10945. "$ref": "#/definitions/models.UserReceiveInfo"
  10946. }
  10947. }
  10948. },
  10949. "500": {
  10950. "description": "Internal Server Error",
  10951. "schema": {
  10952. "$ref": "#/definitions/app.Response"
  10953. }
  10954. }
  10955. }
  10956. }
  10957. },
  10958. "/QhjMgr/QueryAccountInOutApply": {
  10959. "get": {
  10960. "security": [
  10961. {
  10962. "ApiKeyAuth": []
  10963. }
  10964. ],
  10965. "produces": [
  10966. "application/json"
  10967. ],
  10968. "tags": [
  10969. "大连千海金(PCWeb)"
  10970. ],
  10971. "summary": "查询充值提现",
  10972. "parameters": [
  10973. {
  10974. "type": "integer",
  10975. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  10976. "name": "querytype",
  10977. "in": "query",
  10978. "required": true
  10979. },
  10980. {
  10981. "type": "integer",
  10982. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  10983. "name": "applystatus",
  10984. "in": "query"
  10985. },
  10986. {
  10987. "type": "string",
  10988. "description": "申请起始日期(格式yyyymmdd)",
  10989. "name": "begindate",
  10990. "in": "query"
  10991. },
  10992. {
  10993. "type": "string",
  10994. "description": "申请截止日期(格式yyyymmdd)",
  10995. "name": "enddate",
  10996. "in": "query"
  10997. },
  10998. {
  10999. "type": "string",
  11000. "description": "模糊搜索名称",
  11001. "name": "likename",
  11002. "in": "query"
  11003. }
  11004. ],
  11005. "responses": {
  11006. "200": {
  11007. "description": "OK",
  11008. "schema": {
  11009. "type": "array",
  11010. "items": {
  11011. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  11012. }
  11013. }
  11014. },
  11015. "500": {
  11016. "description": "Internal Server Error",
  11017. "schema": {
  11018. "$ref": "#/definitions/app.Response"
  11019. }
  11020. }
  11021. }
  11022. }
  11023. },
  11024. "/QhjMgr/QueryBrokerApply": {
  11025. "get": {
  11026. "security": [
  11027. {
  11028. "ApiKeyAuth": []
  11029. }
  11030. ],
  11031. "produces": [
  11032. "application/json"
  11033. ],
  11034. "tags": [
  11035. "大连千海金(PCWeb)"
  11036. ],
  11037. "summary": "查询经纪人申请",
  11038. "parameters": [
  11039. {
  11040. "type": "integer",
  11041. "description": "所属机构ID",
  11042. "name": "userid",
  11043. "in": "query"
  11044. },
  11045. {
  11046. "type": "string",
  11047. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11048. "name": "filterstatus",
  11049. "in": "query"
  11050. },
  11051. {
  11052. "type": "string",
  11053. "description": "名称(模糊匹配)",
  11054. "name": "filtername",
  11055. "in": "query"
  11056. },
  11057. {
  11058. "type": "integer",
  11059. "description": "是否包含子级 1-包含",
  11060. "name": "includesub",
  11061. "in": "query"
  11062. }
  11063. ],
  11064. "responses": {
  11065. "200": {
  11066. "description": "OK",
  11067. "schema": {
  11068. "type": "array",
  11069. "items": {
  11070. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  11071. }
  11072. }
  11073. },
  11074. "500": {
  11075. "description": "Internal Server Error",
  11076. "schema": {
  11077. "$ref": "#/definitions/app.Response"
  11078. }
  11079. }
  11080. }
  11081. }
  11082. },
  11083. "/QhjMgr/QueryBrokerRewardReport": {
  11084. "get": {
  11085. "security": [
  11086. {
  11087. "ApiKeyAuth": []
  11088. }
  11089. ],
  11090. "produces": [
  11091. "application/json"
  11092. ],
  11093. "tags": [
  11094. "大连千海金(PCWeb)"
  11095. ],
  11096. "summary": "查询经纪人奖励报表(废弃)",
  11097. "parameters": [
  11098. {
  11099. "type": "integer",
  11100. "description": "所属机构ID",
  11101. "name": "userid",
  11102. "in": "query",
  11103. "required": true
  11104. },
  11105. {
  11106. "type": "integer",
  11107. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  11108. "name": "cycletype",
  11109. "in": "query",
  11110. "required": true
  11111. },
  11112. {
  11113. "type": "string",
  11114. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  11115. "name": "cycletime",
  11116. "in": "query",
  11117. "required": true
  11118. },
  11119. {
  11120. "type": "string",
  11121. "description": "名称(模糊匹配)",
  11122. "name": "filtername",
  11123. "in": "query"
  11124. },
  11125. {
  11126. "type": "integer",
  11127. "description": "是否包含子级 1-包含",
  11128. "name": "includesub",
  11129. "in": "query"
  11130. }
  11131. ],
  11132. "responses": {
  11133. "200": {
  11134. "description": "OK",
  11135. "schema": {
  11136. "type": "array",
  11137. "items": {
  11138. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  11139. }
  11140. }
  11141. },
  11142. "500": {
  11143. "description": "Internal Server Error",
  11144. "schema": {
  11145. "$ref": "#/definitions/app.Response"
  11146. }
  11147. }
  11148. }
  11149. }
  11150. },
  11151. "/QhjMgr/QueryContract": {
  11152. "get": {
  11153. "security": [
  11154. {
  11155. "ApiKeyAuth": []
  11156. }
  11157. ],
  11158. "produces": [
  11159. "application/json"
  11160. ],
  11161. "tags": [
  11162. "大连千海金(PCWeb)"
  11163. ],
  11164. "summary": "查询融资信息(合同)",
  11165. "parameters": [
  11166. {
  11167. "type": "integer",
  11168. "description": "用户ID",
  11169. "name": "userid",
  11170. "in": "query"
  11171. },
  11172. {
  11173. "type": "integer",
  11174. "description": "商品id",
  11175. "name": "goodsid",
  11176. "in": "query"
  11177. },
  11178. {
  11179. "type": "string",
  11180. "description": "名称(模糊搜索账户)",
  11181. "name": "filtername",
  11182. "in": "query"
  11183. },
  11184. {
  11185. "type": "string",
  11186. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  11187. "name": "risklevel",
  11188. "in": "query"
  11189. },
  11190. {
  11191. "type": "string",
  11192. "description": "开始交易日(yyyymmdd)",
  11193. "name": "begindate",
  11194. "in": "query"
  11195. },
  11196. {
  11197. "type": "string",
  11198. "description": "结束交易日(yyyymmdd)",
  11199. "name": "enddate",
  11200. "in": "query"
  11201. }
  11202. ],
  11203. "responses": {
  11204. "200": {
  11205. "description": "OK",
  11206. "schema": {
  11207. "type": "array",
  11208. "items": {
  11209. "$ref": "#/definitions/models.QhjMgrContract"
  11210. }
  11211. }
  11212. },
  11213. "500": {
  11214. "description": "Internal Server Error",
  11215. "schema": {
  11216. "$ref": "#/definitions/app.Response"
  11217. }
  11218. }
  11219. }
  11220. }
  11221. },
  11222. "/QhjMgr/QueryCustomerInfo": {
  11223. "get": {
  11224. "security": [
  11225. {
  11226. "ApiKeyAuth": []
  11227. }
  11228. ],
  11229. "produces": [
  11230. "application/json"
  11231. ],
  11232. "tags": [
  11233. "大连千海金(PCWeb)"
  11234. ],
  11235. "summary": "查询客户资料",
  11236. "parameters": [
  11237. {
  11238. "type": "integer",
  11239. "description": "用户ID",
  11240. "name": "userid",
  11241. "in": "query",
  11242. "required": true
  11243. },
  11244. {
  11245. "type": "integer",
  11246. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  11247. "name": "querytype",
  11248. "in": "query",
  11249. "required": true
  11250. },
  11251. {
  11252. "type": "integer",
  11253. "description": "客户类型 1-个人 2-企业",
  11254. "name": "userinfotype",
  11255. "in": "query"
  11256. },
  11257. {
  11258. "type": "string",
  11259. "description": "客户名称(模糊匹配)",
  11260. "name": "customername",
  11261. "in": "query"
  11262. },
  11263. {
  11264. "type": "string",
  11265. "description": "昵称(模糊匹配)",
  11266. "name": "nickname",
  11267. "in": "query"
  11268. },
  11269. {
  11270. "type": "string",
  11271. "description": "所属客户经理(模糊匹配)",
  11272. "name": "brokername",
  11273. "in": "query"
  11274. },
  11275. {
  11276. "type": "string",
  11277. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  11278. "name": "birthday",
  11279. "in": "query"
  11280. },
  11281. {
  11282. "type": "integer",
  11283. "description": "是否包含子级 1-包含",
  11284. "name": "includesub",
  11285. "in": "query"
  11286. }
  11287. ],
  11288. "responses": {
  11289. "200": {
  11290. "description": "OK",
  11291. "schema": {
  11292. "type": "array",
  11293. "items": {
  11294. "$ref": "#/definitions/models.QhjMgrCustomer"
  11295. }
  11296. }
  11297. },
  11298. "500": {
  11299. "description": "Internal Server Error",
  11300. "schema": {
  11301. "$ref": "#/definitions/app.Response"
  11302. }
  11303. }
  11304. }
  11305. }
  11306. },
  11307. "/QhjMgr/QueryPickGoods": {
  11308. "get": {
  11309. "security": [
  11310. {
  11311. "ApiKeyAuth": []
  11312. }
  11313. ],
  11314. "produces": [
  11315. "application/json"
  11316. ],
  11317. "tags": [
  11318. "大连千海金(PCWeb)"
  11319. ],
  11320. "summary": "查询提货商品",
  11321. "parameters": [
  11322. {
  11323. "type": "string",
  11324. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  11325. "name": "status",
  11326. "in": "query"
  11327. }
  11328. ],
  11329. "responses": {
  11330. "200": {
  11331. "description": "OK",
  11332. "schema": {
  11333. "type": "array",
  11334. "items": {
  11335. "$ref": "#/definitions/models.QhjMgrPickGoods"
  11336. }
  11337. }
  11338. },
  11339. "500": {
  11340. "description": "Internal Server Error",
  11341. "schema": {
  11342. "$ref": "#/definitions/app.Response"
  11343. }
  11344. }
  11345. }
  11346. }
  11347. },
  11348. "/QhjMgr/QuerySubArea": {
  11349. "get": {
  11350. "security": [
  11351. {
  11352. "ApiKeyAuth": []
  11353. }
  11354. ],
  11355. "produces": [
  11356. "application/json"
  11357. ],
  11358. "tags": [
  11359. "大连千海金(PCWeb)"
  11360. ],
  11361. "summary": "查询子机构列表",
  11362. "parameters": [
  11363. {
  11364. "type": "integer",
  11365. "description": "用户ID",
  11366. "name": "userid",
  11367. "in": "query",
  11368. "required": true
  11369. }
  11370. ],
  11371. "responses": {
  11372. "200": {
  11373. "description": "OK",
  11374. "schema": {
  11375. "type": "array",
  11376. "items": {
  11377. "$ref": "#/definitions/models.QhjMgrSubArea"
  11378. }
  11379. }
  11380. },
  11381. "500": {
  11382. "description": "Internal Server Error",
  11383. "schema": {
  11384. "$ref": "#/definitions/app.Response"
  11385. }
  11386. }
  11387. }
  11388. }
  11389. },
  11390. "/QhjMgr/QueryTradeDetail": {
  11391. "get": {
  11392. "security": [
  11393. {
  11394. "ApiKeyAuth": []
  11395. }
  11396. ],
  11397. "produces": [
  11398. "application/json"
  11399. ],
  11400. "tags": [
  11401. "大连千海金(PCWeb)"
  11402. ],
  11403. "summary": "查询成交明细",
  11404. "parameters": [
  11405. {
  11406. "type": "integer",
  11407. "description": "用户ID",
  11408. "name": "userid",
  11409. "in": "query",
  11410. "required": true
  11411. },
  11412. {
  11413. "type": "integer",
  11414. "description": "用户类型 1-个人 2-企业",
  11415. "name": "userinfotype",
  11416. "in": "query"
  11417. },
  11418. {
  11419. "type": "integer",
  11420. "description": "交易模式",
  11421. "name": "trademode",
  11422. "in": "query"
  11423. },
  11424. {
  11425. "type": "integer",
  11426. "description": "商品id",
  11427. "name": "goodsid",
  11428. "in": "query"
  11429. },
  11430. {
  11431. "type": "string",
  11432. "description": "名称(模糊搜索账户)",
  11433. "name": "filtername",
  11434. "in": "query"
  11435. },
  11436. {
  11437. "type": "string",
  11438. "description": "开始交易日(yyyymmdd)",
  11439. "name": "begindate",
  11440. "in": "query"
  11441. },
  11442. {
  11443. "type": "string",
  11444. "description": "结束交易日(yyyymmdd)",
  11445. "name": "enddate",
  11446. "in": "query"
  11447. },
  11448. {
  11449. "type": "integer",
  11450. "description": "是否包含子级 1-包含",
  11451. "name": "includesub",
  11452. "in": "query"
  11453. }
  11454. ],
  11455. "responses": {
  11456. "200": {
  11457. "description": "OK",
  11458. "schema": {
  11459. "type": "array",
  11460. "items": {
  11461. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  11462. }
  11463. }
  11464. },
  11465. "500": {
  11466. "description": "Internal Server Error",
  11467. "schema": {
  11468. "$ref": "#/definitions/app.Response"
  11469. }
  11470. }
  11471. }
  11472. }
  11473. },
  11474. "/QhjMgr/QueryTradeOrderDetail": {
  11475. "get": {
  11476. "security": [
  11477. {
  11478. "ApiKeyAuth": []
  11479. }
  11480. ],
  11481. "produces": [
  11482. "application/json"
  11483. ],
  11484. "tags": [
  11485. "大连千海金(PCWeb)"
  11486. ],
  11487. "summary": "查询委托明细",
  11488. "parameters": [
  11489. {
  11490. "type": "integer",
  11491. "description": "用户ID",
  11492. "name": "userid",
  11493. "in": "query",
  11494. "required": true
  11495. },
  11496. {
  11497. "type": "integer",
  11498. "description": "用户类型 1-个人 2-企业",
  11499. "name": "userinfotype",
  11500. "in": "query"
  11501. },
  11502. {
  11503. "type": "integer",
  11504. "description": "交易模式",
  11505. "name": "trademode",
  11506. "in": "query"
  11507. },
  11508. {
  11509. "type": "integer",
  11510. "description": "商品id",
  11511. "name": "goodsid",
  11512. "in": "query"
  11513. },
  11514. {
  11515. "type": "string",
  11516. "description": "名称(模糊搜索账户)",
  11517. "name": "filtername",
  11518. "in": "query"
  11519. },
  11520. {
  11521. "type": "string",
  11522. "description": "开始交易日(yyyymmdd)",
  11523. "name": "begindate",
  11524. "in": "query"
  11525. },
  11526. {
  11527. "type": "string",
  11528. "description": "结束交易日(yyyymmdd)",
  11529. "name": "enddate",
  11530. "in": "query"
  11531. },
  11532. {
  11533. "type": "integer",
  11534. "description": "是否包含子级 1-包含",
  11535. "name": "includesub",
  11536. "in": "query"
  11537. }
  11538. ],
  11539. "responses": {
  11540. "200": {
  11541. "description": "OK",
  11542. "schema": {
  11543. "type": "array",
  11544. "items": {
  11545. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  11546. }
  11547. }
  11548. },
  11549. "500": {
  11550. "description": "Internal Server Error",
  11551. "schema": {
  11552. "$ref": "#/definitions/app.Response"
  11553. }
  11554. }
  11555. }
  11556. }
  11557. },
  11558. "/QhjMgr/QueryTradePayOrder": {
  11559. "get": {
  11560. "security": [
  11561. {
  11562. "ApiKeyAuth": []
  11563. }
  11564. ],
  11565. "produces": [
  11566. "application/json"
  11567. ],
  11568. "tags": [
  11569. "大连千海金(PCWeb)"
  11570. ],
  11571. "summary": "查询待付款单",
  11572. "parameters": [
  11573. {
  11574. "type": "integer",
  11575. "description": "用户ID",
  11576. "name": "userid",
  11577. "in": "query",
  11578. "required": true
  11579. },
  11580. {
  11581. "type": "string",
  11582. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11583. "name": "payflag",
  11584. "in": "query"
  11585. },
  11586. {
  11587. "type": "integer",
  11588. "description": "用户类型 1-个人 2-企业",
  11589. "name": "userinfotype",
  11590. "in": "query"
  11591. },
  11592. {
  11593. "type": "integer",
  11594. "description": "交易模式",
  11595. "name": "trademode",
  11596. "in": "query"
  11597. },
  11598. {
  11599. "type": "integer",
  11600. "description": "商品id",
  11601. "name": "goodsid",
  11602. "in": "query"
  11603. },
  11604. {
  11605. "type": "string",
  11606. "description": "名称(模糊搜索账户)",
  11607. "name": "filtername",
  11608. "in": "query"
  11609. },
  11610. {
  11611. "type": "string",
  11612. "description": "开始交易日(yyyymmdd)",
  11613. "name": "begindate",
  11614. "in": "query"
  11615. },
  11616. {
  11617. "type": "string",
  11618. "description": "结束交易日(yyyymmdd)",
  11619. "name": "enddate",
  11620. "in": "query"
  11621. },
  11622. {
  11623. "type": "integer",
  11624. "description": "是否包含子级 1-包含",
  11625. "name": "includesub",
  11626. "in": "query"
  11627. }
  11628. ],
  11629. "responses": {
  11630. "200": {
  11631. "description": "OK",
  11632. "schema": {
  11633. "type": "array",
  11634. "items": {
  11635. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  11636. }
  11637. }
  11638. },
  11639. "500": {
  11640. "description": "Internal Server Error",
  11641. "schema": {
  11642. "$ref": "#/definitions/app.Response"
  11643. }
  11644. }
  11645. }
  11646. }
  11647. },
  11648. "/QhjMgr/QueryTradePosition": {
  11649. "get": {
  11650. "security": [
  11651. {
  11652. "ApiKeyAuth": []
  11653. }
  11654. ],
  11655. "produces": [
  11656. "application/json"
  11657. ],
  11658. "tags": [
  11659. "大连千海金(PCWeb)"
  11660. ],
  11661. "summary": "查询持仓汇总",
  11662. "parameters": [
  11663. {
  11664. "type": "integer",
  11665. "description": "用户ID",
  11666. "name": "userid",
  11667. "in": "query",
  11668. "required": true
  11669. },
  11670. {
  11671. "type": "integer",
  11672. "description": "用户类型 1-个人 2-企业",
  11673. "name": "userinfotype",
  11674. "in": "query"
  11675. },
  11676. {
  11677. "type": "integer",
  11678. "description": "交易模式",
  11679. "name": "trademode",
  11680. "in": "query"
  11681. },
  11682. {
  11683. "type": "integer",
  11684. "description": "商品id",
  11685. "name": "goodsid",
  11686. "in": "query"
  11687. },
  11688. {
  11689. "type": "string",
  11690. "description": "名称(模糊搜索账户)",
  11691. "name": "filtername",
  11692. "in": "query"
  11693. },
  11694. {
  11695. "type": "integer",
  11696. "description": "是否包含子级 1-包含",
  11697. "name": "includesub",
  11698. "in": "query"
  11699. }
  11700. ],
  11701. "responses": {
  11702. "200": {
  11703. "description": "OK",
  11704. "schema": {
  11705. "type": "array",
  11706. "items": {
  11707. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  11708. }
  11709. }
  11710. },
  11711. "500": {
  11712. "description": "Internal Server Error",
  11713. "schema": {
  11714. "$ref": "#/definitions/app.Response"
  11715. }
  11716. }
  11717. }
  11718. }
  11719. },
  11720. "/QhjSys/QueryAgreementChangeLog": {
  11721. "get": {
  11722. "security": [
  11723. {
  11724. "ApiKeyAuth": []
  11725. }
  11726. ],
  11727. "produces": [
  11728. "application/json"
  11729. ],
  11730. "tags": [
  11731. "大连千海金(协议和签约信息)"
  11732. ],
  11733. "summary": "查询协议配置变更流水",
  11734. "parameters": [
  11735. {
  11736. "type": "integer",
  11737. "description": "协议ID",
  11738. "name": "agreementid",
  11739. "in": "query"
  11740. },
  11741. {
  11742. "type": "integer",
  11743. "description": "协议版本号",
  11744. "name": "agreementversion",
  11745. "in": "query"
  11746. },
  11747. {
  11748. "type": "integer",
  11749. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11750. "name": "agreementtype",
  11751. "in": "query"
  11752. },
  11753. {
  11754. "type": "string",
  11755. "description": "协议编号(模糊匹配)",
  11756. "name": "agreementno",
  11757. "in": "query"
  11758. },
  11759. {
  11760. "type": "string",
  11761. "description": "协议名称(模糊匹配)",
  11762. "name": "agreementname",
  11763. "in": "query"
  11764. }
  11765. ],
  11766. "responses": {
  11767. "200": {
  11768. "description": "OK",
  11769. "schema": {
  11770. "type": "array",
  11771. "items": {
  11772. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  11773. }
  11774. }
  11775. },
  11776. "500": {
  11777. "description": "Internal Server Error",
  11778. "schema": {
  11779. "$ref": "#/definitions/app.Response"
  11780. }
  11781. }
  11782. }
  11783. }
  11784. },
  11785. "/QhjSys/QueryAgreementConfig": {
  11786. "get": {
  11787. "security": [
  11788. {
  11789. "ApiKeyAuth": []
  11790. }
  11791. ],
  11792. "produces": [
  11793. "application/json"
  11794. ],
  11795. "tags": [
  11796. "大连千海金(协议和签约信息)"
  11797. ],
  11798. "summary": "查询协议配置",
  11799. "parameters": [
  11800. {
  11801. "type": "integer",
  11802. "description": "协议ID",
  11803. "name": "agreementid",
  11804. "in": "query"
  11805. },
  11806. {
  11807. "type": "integer",
  11808. "description": "协议版本号",
  11809. "name": "agreementversion",
  11810. "in": "query"
  11811. },
  11812. {
  11813. "type": "integer",
  11814. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11815. "name": "agreementtype",
  11816. "in": "query"
  11817. },
  11818. {
  11819. "type": "integer",
  11820. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  11821. "name": "isvalid",
  11822. "in": "query"
  11823. },
  11824. {
  11825. "type": "string",
  11826. "description": "协议编号(模糊匹配)",
  11827. "name": "agreementno",
  11828. "in": "query"
  11829. },
  11830. {
  11831. "type": "string",
  11832. "description": "协议名称(模糊匹配)",
  11833. "name": "agreementname",
  11834. "in": "query"
  11835. }
  11836. ],
  11837. "responses": {
  11838. "200": {
  11839. "description": "OK",
  11840. "schema": {
  11841. "type": "array",
  11842. "items": {
  11843. "$ref": "#/definitions/models.QhjAgreementConfig"
  11844. }
  11845. }
  11846. },
  11847. "500": {
  11848. "description": "Internal Server Error",
  11849. "schema": {
  11850. "$ref": "#/definitions/app.Response"
  11851. }
  11852. }
  11853. }
  11854. }
  11855. },
  11856. "/QhjSys/QueryCustomerSignStatus": {
  11857. "get": {
  11858. "security": [
  11859. {
  11860. "ApiKeyAuth": []
  11861. }
  11862. ],
  11863. "produces": [
  11864. "application/json"
  11865. ],
  11866. "tags": [
  11867. "大连千海金(协议和签约信息)"
  11868. ],
  11869. "summary": "查询客户协议签约状态",
  11870. "parameters": [
  11871. {
  11872. "type": "integer",
  11873. "description": "客户ID",
  11874. "name": "userid",
  11875. "in": "query"
  11876. },
  11877. {
  11878. "type": "integer",
  11879. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  11880. "name": "nodetype",
  11881. "in": "query"
  11882. },
  11883. {
  11884. "type": "integer",
  11885. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11886. "name": "goodsid",
  11887. "in": "query"
  11888. },
  11889. {
  11890. "type": "string",
  11891. "description": "创建交易日(yyyyMMdd)",
  11892. "name": "tradedate",
  11893. "in": "query"
  11894. },
  11895. {
  11896. "type": "string",
  11897. "description": "用户名称(模糊匹配)",
  11898. "name": "username",
  11899. "in": "query"
  11900. }
  11901. ],
  11902. "responses": {
  11903. "200": {
  11904. "description": "OK",
  11905. "schema": {
  11906. "type": "array",
  11907. "items": {
  11908. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  11909. }
  11910. }
  11911. },
  11912. "500": {
  11913. "description": "Internal Server Error",
  11914. "schema": {
  11915. "$ref": "#/definitions/app.Response"
  11916. }
  11917. }
  11918. }
  11919. }
  11920. },
  11921. "/QhjSys/QueryNodeAgreementConfig": {
  11922. "get": {
  11923. "security": [
  11924. {
  11925. "ApiKeyAuth": []
  11926. }
  11927. ],
  11928. "produces": [
  11929. "application/json"
  11930. ],
  11931. "tags": [
  11932. "大连千海金(协议和签约信息)"
  11933. ],
  11934. "summary": "查询协议节点配置",
  11935. "parameters": [
  11936. {
  11937. "type": "integer",
  11938. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11939. "name": "configid",
  11940. "in": "query"
  11941. },
  11942. {
  11943. "type": "integer",
  11944. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11945. "name": "nodetype",
  11946. "in": "query"
  11947. },
  11948. {
  11949. "type": "integer",
  11950. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11951. "name": "goodsid",
  11952. "in": "query"
  11953. },
  11954. {
  11955. "type": "integer",
  11956. "description": "协议ID",
  11957. "name": "agreementid",
  11958. "in": "query"
  11959. },
  11960. {
  11961. "type": "integer",
  11962. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11963. "name": "agreementtype",
  11964. "in": "query"
  11965. },
  11966. {
  11967. "type": "integer",
  11968. "description": "协议版本号",
  11969. "name": "agreementversion",
  11970. "in": "query"
  11971. },
  11972. {
  11973. "type": "string",
  11974. "description": "协议编号(模糊匹配)",
  11975. "name": "agreementno",
  11976. "in": "query"
  11977. },
  11978. {
  11979. "type": "string",
  11980. "description": "协议名称(模糊匹配)",
  11981. "name": "agreementname",
  11982. "in": "query"
  11983. }
  11984. ],
  11985. "responses": {
  11986. "200": {
  11987. "description": "OK",
  11988. "schema": {
  11989. "type": "array",
  11990. "items": {
  11991. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  11992. }
  11993. }
  11994. },
  11995. "500": {
  11996. "description": "Internal Server Error",
  11997. "schema": {
  11998. "$ref": "#/definitions/app.Response"
  11999. }
  12000. }
  12001. }
  12002. }
  12003. },
  12004. "/QhjSys/QueryQhjCustomerSignLog": {
  12005. "get": {
  12006. "security": [
  12007. {
  12008. "ApiKeyAuth": []
  12009. }
  12010. ],
  12011. "produces": [
  12012. "application/json"
  12013. ],
  12014. "tags": [
  12015. "大连千海金(协议和签约信息)"
  12016. ],
  12017. "summary": "查询客户协议签约流水",
  12018. "parameters": [
  12019. {
  12020. "type": "integer",
  12021. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  12022. "name": "logid",
  12023. "in": "query"
  12024. },
  12025. {
  12026. "type": "integer",
  12027. "description": "客户ID",
  12028. "name": "userid",
  12029. "in": "query"
  12030. },
  12031. {
  12032. "type": "integer",
  12033. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  12034. "name": "nodetype",
  12035. "in": "query"
  12036. },
  12037. {
  12038. "type": "integer",
  12039. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12040. "name": "goodsid",
  12041. "in": "query"
  12042. },
  12043. {
  12044. "type": "integer",
  12045. "description": "协议ID",
  12046. "name": "agreementid",
  12047. "in": "query"
  12048. },
  12049. {
  12050. "type": "string",
  12051. "description": "用户名称(模糊匹配)",
  12052. "name": "username",
  12053. "in": "query"
  12054. },
  12055. {
  12056. "type": "string",
  12057. "description": "协议编号(模糊匹配)",
  12058. "name": "agreementno",
  12059. "in": "query"
  12060. },
  12061. {
  12062. "type": "string",
  12063. "description": "协议名称(模糊匹配)",
  12064. "name": "agreementname",
  12065. "in": "query"
  12066. }
  12067. ],
  12068. "responses": {
  12069. "200": {
  12070. "description": "OK",
  12071. "schema": {
  12072. "type": "array",
  12073. "items": {
  12074. "$ref": "#/definitions/models.QhjCustomerSignLog"
  12075. }
  12076. }
  12077. },
  12078. "500": {
  12079. "description": "Internal Server Error",
  12080. "schema": {
  12081. "$ref": "#/definitions/app.Response"
  12082. }
  12083. }
  12084. }
  12085. }
  12086. },
  12087. "/QhjSys/QueryUserNodeCfgAndStatus": {
  12088. "get": {
  12089. "security": [
  12090. {
  12091. "ApiKeyAuth": []
  12092. }
  12093. ],
  12094. "produces": [
  12095. "application/json"
  12096. ],
  12097. "tags": [
  12098. "大连千海金(协议和签约信息)"
  12099. ],
  12100. "summary": "查询用户协议节点配置和状态",
  12101. "parameters": [
  12102. {
  12103. "type": "integer",
  12104. "description": "客户ID",
  12105. "name": "userid",
  12106. "in": "query"
  12107. },
  12108. {
  12109. "type": "integer",
  12110. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  12111. "name": "configid",
  12112. "in": "query"
  12113. },
  12114. {
  12115. "type": "string",
  12116. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  12117. "name": "nodetype",
  12118. "in": "query"
  12119. },
  12120. {
  12121. "type": "integer",
  12122. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12123. "name": "goodsid",
  12124. "in": "query"
  12125. },
  12126. {
  12127. "type": "integer",
  12128. "description": "协议ID",
  12129. "name": "agreementid",
  12130. "in": "query"
  12131. },
  12132. {
  12133. "type": "integer",
  12134. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12135. "name": "agreementtype",
  12136. "in": "query"
  12137. },
  12138. {
  12139. "type": "integer",
  12140. "description": "协议版本号",
  12141. "name": "agreementversion",
  12142. "in": "query"
  12143. },
  12144. {
  12145. "type": "string",
  12146. "description": "协议编号(模糊匹配)",
  12147. "name": "agreementno",
  12148. "in": "query"
  12149. },
  12150. {
  12151. "type": "string",
  12152. "description": "协议名称(模糊匹配)",
  12153. "name": "agreementname",
  12154. "in": "query"
  12155. }
  12156. ],
  12157. "responses": {
  12158. "200": {
  12159. "description": "OK",
  12160. "schema": {
  12161. "type": "array",
  12162. "items": {
  12163. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  12164. }
  12165. }
  12166. },
  12167. "500": {
  12168. "description": "Internal Server Error",
  12169. "schema": {
  12170. "$ref": "#/definitions/app.Response"
  12171. }
  12172. }
  12173. }
  12174. }
  12175. },
  12176. "/Quote/QueryHistoryDatas": {
  12177. "get": {
  12178. "security": [
  12179. {
  12180. "ApiKeyAuth": []
  12181. }
  12182. ],
  12183. "produces": [
  12184. "application/json"
  12185. ],
  12186. "tags": [
  12187. "行情服务"
  12188. ],
  12189. "summary": "查询行情历史数据",
  12190. "parameters": [
  12191. {
  12192. "type": "integer",
  12193. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  12194. "name": "cycleType",
  12195. "in": "query",
  12196. "required": true
  12197. },
  12198. {
  12199. "type": "string",
  12200. "description": "商品代码",
  12201. "name": "goodsCode",
  12202. "in": "query",
  12203. "required": true
  12204. },
  12205. {
  12206. "type": "string",
  12207. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  12208. "name": "startTime",
  12209. "in": "query"
  12210. },
  12211. {
  12212. "type": "string",
  12213. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  12214. "name": "endTime",
  12215. "in": "query"
  12216. },
  12217. {
  12218. "type": "integer",
  12219. "description": "条数",
  12220. "name": "count",
  12221. "in": "query"
  12222. },
  12223. {
  12224. "type": "boolean",
  12225. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  12226. "name": "isAsc",
  12227. "in": "query"
  12228. }
  12229. ],
  12230. "responses": {
  12231. "200": {
  12232. "description": "OK",
  12233. "schema": {
  12234. "$ref": "#/definitions/quote.HistoryData"
  12235. }
  12236. },
  12237. "500": {
  12238. "description": "Internal Server Error",
  12239. "schema": {
  12240. "$ref": "#/definitions/app.Response"
  12241. }
  12242. }
  12243. }
  12244. }
  12245. },
  12246. "/Quote/QueryHistoryTikDatas": {
  12247. "get": {
  12248. "security": [
  12249. {
  12250. "ApiKeyAuth": []
  12251. }
  12252. ],
  12253. "produces": [
  12254. "application/json"
  12255. ],
  12256. "tags": [
  12257. "行情服务"
  12258. ],
  12259. "summary": "查询行情Tik数据",
  12260. "parameters": [
  12261. {
  12262. "type": "string",
  12263. "description": "商品代码",
  12264. "name": "goodsCode",
  12265. "in": "query",
  12266. "required": true
  12267. },
  12268. {
  12269. "type": "string",
  12270. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  12271. "name": "startTime",
  12272. "in": "query"
  12273. },
  12274. {
  12275. "type": "string",
  12276. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  12277. "name": "endTime",
  12278. "in": "query"
  12279. },
  12280. {
  12281. "type": "integer",
  12282. "description": "条数",
  12283. "name": "count",
  12284. "in": "query"
  12285. },
  12286. {
  12287. "type": "boolean",
  12288. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  12289. "name": "isAsc",
  12290. "in": "query"
  12291. }
  12292. ],
  12293. "responses": {
  12294. "200": {
  12295. "description": "OK",
  12296. "schema": {
  12297. "$ref": "#/definitions/quote.HistoryTikData"
  12298. }
  12299. },
  12300. "500": {
  12301. "description": "Internal Server Error",
  12302. "schema": {
  12303. "$ref": "#/definitions/app.Response"
  12304. }
  12305. }
  12306. }
  12307. }
  12308. },
  12309. "/Quote/QueryQuoteDay": {
  12310. "get": {
  12311. "security": [
  12312. {
  12313. "ApiKeyAuth": []
  12314. }
  12315. ],
  12316. "produces": [
  12317. "application/json"
  12318. ],
  12319. "tags": [
  12320. "行情服务"
  12321. ],
  12322. "summary": "获取商品盘面信息",
  12323. "parameters": [
  12324. {
  12325. "type": "string",
  12326. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  12327. "name": "goodsCodes",
  12328. "in": "query"
  12329. }
  12330. ],
  12331. "responses": {
  12332. "200": {
  12333. "description": "OK",
  12334. "schema": {
  12335. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  12336. }
  12337. },
  12338. "500": {
  12339. "description": "Internal Server Error",
  12340. "schema": {
  12341. "$ref": "#/definitions/app.Response"
  12342. }
  12343. }
  12344. }
  12345. }
  12346. },
  12347. "/Quote/QueryTSData": {
  12348. "get": {
  12349. "security": [
  12350. {
  12351. "ApiKeyAuth": []
  12352. }
  12353. ],
  12354. "produces": [
  12355. "application/json"
  12356. ],
  12357. "tags": [
  12358. "行情服务"
  12359. ],
  12360. "summary": "分时图数据查询",
  12361. "parameters": [
  12362. {
  12363. "type": "string",
  12364. "description": "商品代码",
  12365. "name": "goodsCode",
  12366. "in": "query",
  12367. "required": true
  12368. }
  12369. ],
  12370. "responses": {
  12371. "200": {
  12372. "description": "OK",
  12373. "schema": {
  12374. "$ref": "#/definitions/quote.QueryTSDataRsp"
  12375. }
  12376. },
  12377. "500": {
  12378. "description": "Internal Server Error",
  12379. "schema": {
  12380. "$ref": "#/definitions/app.Response"
  12381. }
  12382. }
  12383. }
  12384. }
  12385. },
  12386. "/SZDZ/QueryConvertConfig": {
  12387. "get": {
  12388. "security": [
  12389. {
  12390. "ApiKeyAuth": []
  12391. }
  12392. ],
  12393. "produces": [
  12394. "application/json"
  12395. ],
  12396. "tags": [
  12397. "定制【尚志大宗】"
  12398. ],
  12399. "summary": "查询交易系统转换设置",
  12400. "parameters": [
  12401. {
  12402. "type": "integer",
  12403. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  12404. "name": "convertType",
  12405. "in": "query"
  12406. },
  12407. {
  12408. "type": "string",
  12409. "description": "外部商品代码[JD\\PD]",
  12410. "name": "outerGoodsCode",
  12411. "in": "query"
  12412. },
  12413. {
  12414. "type": "string",
  12415. "description": "内部商品ID列表[交易],格式:1,2,3",
  12416. "name": "innerGoodsIDs",
  12417. "in": "query"
  12418. }
  12419. ],
  12420. "responses": {
  12421. "200": {
  12422. "description": "OK",
  12423. "schema": {
  12424. "$ref": "#/definitions/models.Szdz3convertconfig"
  12425. }
  12426. },
  12427. "500": {
  12428. "description": "Internal Server Error",
  12429. "schema": {
  12430. "$ref": "#/definitions/app.Response"
  12431. }
  12432. }
  12433. }
  12434. }
  12435. },
  12436. "/SZDZ/QueryConvertLog": {
  12437. "get": {
  12438. "security": [
  12439. {
  12440. "ApiKeyAuth": []
  12441. }
  12442. ],
  12443. "produces": [
  12444. "application/json"
  12445. ],
  12446. "tags": [
  12447. "定制【尚志大宗】"
  12448. ],
  12449. "summary": "交易系统转换流水查询",
  12450. "parameters": [
  12451. {
  12452. "type": "string",
  12453. "description": "资金账户 - 格式:1,2,3",
  12454. "name": "accountID",
  12455. "in": "query",
  12456. "required": true
  12457. },
  12458. {
  12459. "type": "string",
  12460. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  12461. "name": "startDate",
  12462. "in": "query"
  12463. },
  12464. {
  12465. "type": "string",
  12466. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  12467. "name": "endDate",
  12468. "in": "query"
  12469. }
  12470. ],
  12471. "responses": {
  12472. "200": {
  12473. "description": "OK",
  12474. "schema": {
  12475. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  12476. }
  12477. },
  12478. "500": {
  12479. "description": "Internal Server Error",
  12480. "schema": {
  12481. "$ref": "#/definitions/app.Response"
  12482. }
  12483. }
  12484. }
  12485. }
  12486. },
  12487. "/SZDZ/QueryGoodsPickup": {
  12488. "get": {
  12489. "security": [
  12490. {
  12491. "ApiKeyAuth": []
  12492. }
  12493. ],
  12494. "produces": [
  12495. "application/json"
  12496. ],
  12497. "tags": [
  12498. "定制【尚志大宗】"
  12499. ],
  12500. "summary": "商品提货单查询",
  12501. "parameters": [
  12502. {
  12503. "type": "string",
  12504. "description": "资金账户 - 格式:1,2,3",
  12505. "name": "accountID",
  12506. "in": "query",
  12507. "required": true
  12508. },
  12509. {
  12510. "type": "integer",
  12511. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12512. "name": "takeOrderStatus",
  12513. "in": "query"
  12514. }
  12515. ],
  12516. "responses": {
  12517. "200": {
  12518. "description": "OK",
  12519. "schema": {
  12520. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  12521. }
  12522. },
  12523. "500": {
  12524. "description": "Internal Server Error",
  12525. "schema": {
  12526. "$ref": "#/definitions/app.Response"
  12527. }
  12528. }
  12529. }
  12530. }
  12531. },
  12532. "/SZDZ/QueryRecieptOrder": {
  12533. "get": {
  12534. "security": [
  12535. {
  12536. "ApiKeyAuth": []
  12537. }
  12538. ],
  12539. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  12540. "produces": [
  12541. "application/json"
  12542. ],
  12543. "tags": [
  12544. "定制【尚志大宗】"
  12545. ],
  12546. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  12547. "parameters": [
  12548. {
  12549. "type": "integer",
  12550. "description": "页码",
  12551. "name": "page",
  12552. "in": "query"
  12553. },
  12554. {
  12555. "type": "integer",
  12556. "description": "每页条数",
  12557. "name": "pagesize",
  12558. "in": "query"
  12559. },
  12560. {
  12561. "type": "integer",
  12562. "description": "商品ID",
  12563. "name": "goodsID",
  12564. "in": "query",
  12565. "required": true
  12566. },
  12567. {
  12568. "type": "string",
  12569. "description": "所属账户名称",
  12570. "name": "accountName",
  12571. "in": "query"
  12572. },
  12573. {
  12574. "type": "integer",
  12575. "description": "市场ID",
  12576. "name": "marketID",
  12577. "in": "query"
  12578. },
  12579. {
  12580. "type": "integer",
  12581. "description": "方向 - 0:买 1:卖",
  12582. "name": "buyorsell",
  12583. "in": "query",
  12584. "required": true
  12585. }
  12586. ],
  12587. "responses": {
  12588. "200": {
  12589. "description": "OK",
  12590. "schema": {
  12591. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  12592. }
  12593. },
  12594. "500": {
  12595. "description": "Internal Server Error",
  12596. "schema": {
  12597. "$ref": "#/definitions/app.Response"
  12598. }
  12599. }
  12600. }
  12601. }
  12602. },
  12603. "/SZDZ/QuerySZDZTradePosition": {
  12604. "get": {
  12605. "security": [
  12606. {
  12607. "ApiKeyAuth": []
  12608. }
  12609. ],
  12610. "produces": [
  12611. "application/json"
  12612. ],
  12613. "tags": [
  12614. "定制【尚志大宗】"
  12615. ],
  12616. "summary": "持仓汇总查询(尚志大宗)",
  12617. "parameters": [
  12618. {
  12619. "type": "integer",
  12620. "description": "资金账户",
  12621. "name": "accountID",
  12622. "in": "query",
  12623. "required": true
  12624. }
  12625. ],
  12626. "responses": {
  12627. "200": {
  12628. "description": "OK",
  12629. "schema": {
  12630. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  12631. }
  12632. },
  12633. "500": {
  12634. "description": "Internal Server Error",
  12635. "schema": {
  12636. "$ref": "#/definitions/app.Response"
  12637. }
  12638. }
  12639. }
  12640. }
  12641. },
  12642. "/SZDZ/SearchWhite": {
  12643. "get": {
  12644. "security": [
  12645. {
  12646. "ApiKeyAuth": []
  12647. }
  12648. ],
  12649. "produces": [
  12650. "application/json"
  12651. ],
  12652. "tags": [
  12653. "定制【尚志大宗】"
  12654. ],
  12655. "summary": "搜索白名单",
  12656. "parameters": [
  12657. {
  12658. "type": "integer",
  12659. "description": "用户ID",
  12660. "name": "userID",
  12661. "in": "query",
  12662. "required": true
  12663. }
  12664. ],
  12665. "responses": {
  12666. "200": {
  12667. "description": "OK",
  12668. "schema": {
  12669. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  12670. }
  12671. },
  12672. "500": {
  12673. "description": "Internal Server Error",
  12674. "schema": {
  12675. "$ref": "#/definitions/app.Response"
  12676. }
  12677. }
  12678. }
  12679. }
  12680. },
  12681. "/Search/SearchGoodses": {
  12682. "get": {
  12683. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  12684. "produces": [
  12685. "application/json"
  12686. ],
  12687. "tags": [
  12688. "检索服务"
  12689. ],
  12690. "summary": "检索商品信息",
  12691. "parameters": [
  12692. {
  12693. "type": "string",
  12694. "description": "检索内容",
  12695. "name": "content",
  12696. "in": "query",
  12697. "required": true
  12698. },
  12699. {
  12700. "type": "string",
  12701. "description": "交易模式,格式:1,2,3",
  12702. "name": "tradeModes",
  12703. "in": "query"
  12704. }
  12705. ],
  12706. "responses": {
  12707. "200": {
  12708. "description": "OK",
  12709. "schema": {
  12710. "$ref": "#/definitions/models.SearchGoods"
  12711. }
  12712. },
  12713. "500": {
  12714. "description": "Internal Server Error",
  12715. "schema": {
  12716. "$ref": "#/definitions/app.Response"
  12717. }
  12718. }
  12719. }
  12720. }
  12721. },
  12722. "/TaAccount/GetTaAccounts": {
  12723. "get": {
  12724. "security": [
  12725. {
  12726. "ApiKeyAuth": []
  12727. }
  12728. ],
  12729. "produces": [
  12730. "application/json"
  12731. ],
  12732. "tags": [
  12733. "资金账户"
  12734. ],
  12735. "summary": "获取资金账户信息",
  12736. "parameters": [
  12737. {
  12738. "type": "integer",
  12739. "description": "登录账户",
  12740. "name": "loginID",
  12741. "in": "query",
  12742. "required": true
  12743. },
  12744. {
  12745. "type": "integer",
  12746. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  12747. "name": "taAccountType",
  12748. "in": "query"
  12749. }
  12750. ],
  12751. "responses": {
  12752. "200": {
  12753. "description": "OK",
  12754. "schema": {
  12755. "$ref": "#/definitions/models.Taaccount"
  12756. }
  12757. },
  12758. "500": {
  12759. "description": "Internal Server Error",
  12760. "schema": {
  12761. "$ref": "#/definitions/app.Response"
  12762. }
  12763. }
  12764. }
  12765. }
  12766. },
  12767. "/TaAccount/QueryAmountLog": {
  12768. "get": {
  12769. "security": [
  12770. {
  12771. "ApiKeyAuth": []
  12772. }
  12773. ],
  12774. "produces": [
  12775. "application/json"
  12776. ],
  12777. "tags": [
  12778. "资金账户"
  12779. ],
  12780. "summary": "资金流水查询(当前)",
  12781. "parameters": [
  12782. {
  12783. "type": "integer",
  12784. "description": "页码",
  12785. "name": "page",
  12786. "in": "query"
  12787. },
  12788. {
  12789. "type": "integer",
  12790. "description": "每页条数",
  12791. "name": "pagesize",
  12792. "in": "query"
  12793. },
  12794. {
  12795. "type": "string",
  12796. "description": "资金账户 - 格式:1,2,3",
  12797. "name": "accountID",
  12798. "in": "query",
  12799. "required": true
  12800. },
  12801. {
  12802. "type": "string",
  12803. "description": "资金操作类型 - 格式:1,2,3",
  12804. "name": "OperateType",
  12805. "in": "query"
  12806. }
  12807. ],
  12808. "responses": {
  12809. "200": {
  12810. "description": "OK",
  12811. "schema": {
  12812. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  12813. }
  12814. },
  12815. "500": {
  12816. "description": "Internal Server Error",
  12817. "schema": {
  12818. "$ref": "#/definitions/app.Response"
  12819. }
  12820. }
  12821. }
  12822. }
  12823. },
  12824. "/TaAccount/QueryHisAmountLog": {
  12825. "get": {
  12826. "security": [
  12827. {
  12828. "ApiKeyAuth": []
  12829. }
  12830. ],
  12831. "produces": [
  12832. "application/json"
  12833. ],
  12834. "tags": [
  12835. "资金账户"
  12836. ],
  12837. "summary": "资金流水查询(历史)",
  12838. "parameters": [
  12839. {
  12840. "type": "integer",
  12841. "description": "页码",
  12842. "name": "page",
  12843. "in": "query"
  12844. },
  12845. {
  12846. "type": "integer",
  12847. "description": "每页条数",
  12848. "name": "pagesize",
  12849. "in": "query"
  12850. },
  12851. {
  12852. "type": "string",
  12853. "description": "资金账户 - 格式:1,2,3",
  12854. "name": "accountID",
  12855. "in": "query",
  12856. "required": true
  12857. },
  12858. {
  12859. "type": "string",
  12860. "description": "资金操作类型 - 格式:1,2,3",
  12861. "name": "OperateType",
  12862. "in": "query"
  12863. },
  12864. {
  12865. "type": "string",
  12866. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  12867. "name": "startDate",
  12868. "in": "query"
  12869. },
  12870. {
  12871. "type": "string",
  12872. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  12873. "name": "endDate",
  12874. "in": "query"
  12875. }
  12876. ],
  12877. "responses": {
  12878. "200": {
  12879. "description": "OK",
  12880. "schema": {
  12881. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  12882. }
  12883. },
  12884. "500": {
  12885. "description": "Internal Server Error",
  12886. "schema": {
  12887. "$ref": "#/definitions/app.Response"
  12888. }
  12889. }
  12890. }
  12891. }
  12892. },
  12893. "/TaAccount/QueryRelatedTaAccount": {
  12894. "get": {
  12895. "security": [
  12896. {
  12897. "ApiKeyAuth": []
  12898. }
  12899. ],
  12900. "produces": [
  12901. "application/json"
  12902. ],
  12903. "tags": [
  12904. "资金账户"
  12905. ],
  12906. "summary": "查询关联资金账户信息",
  12907. "parameters": [
  12908. {
  12909. "type": "integer",
  12910. "description": "关联UserID",
  12911. "name": "relateduserid",
  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.RelatedTaAccount"
  12923. }
  12924. }
  12925. },
  12926. "500": {
  12927. "description": "Internal Server Error",
  12928. "schema": {
  12929. "$ref": "#/definitions/app.Response"
  12930. }
  12931. }
  12932. }
  12933. }
  12934. },
  12935. "/Tjmd/QueryQuoteGoodsList": {
  12936. "get": {
  12937. "security": [
  12938. {
  12939. "ApiKeyAuth": []
  12940. }
  12941. ],
  12942. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  12943. "produces": [
  12944. "application/json"
  12945. ],
  12946. "tags": [
  12947. "天津麦顿"
  12948. ],
  12949. "summary": "查询掉期报价列表",
  12950. "parameters": [
  12951. {
  12952. "type": "integer",
  12953. "description": "用户类型",
  12954. "name": "usertype",
  12955. "in": "query",
  12956. "required": true
  12957. },
  12958. {
  12959. "type": "string",
  12960. "description": "市场id, 格式 1,2,3",
  12961. "name": "marketids",
  12962. "in": "query"
  12963. },
  12964. {
  12965. "type": "integer",
  12966. "description": "商品组id",
  12967. "name": "goodsgroupid",
  12968. "in": "query"
  12969. },
  12970. {
  12971. "type": "integer",
  12972. "description": "商品id",
  12973. "name": "goodsid",
  12974. "in": "query"
  12975. }
  12976. ],
  12977. "responses": {
  12978. "200": {
  12979. "description": "OK",
  12980. "schema": {
  12981. "type": "array",
  12982. "items": {
  12983. "$ref": "#/definitions/models.TjmdQuoteGoods"
  12984. }
  12985. }
  12986. },
  12987. "500": {
  12988. "description": "Internal Server Error",
  12989. "schema": {
  12990. "$ref": "#/definitions/app.Response"
  12991. }
  12992. }
  12993. }
  12994. }
  12995. },
  12996. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  12997. "get": {
  12998. "security": [
  12999. {
  13000. "ApiKeyAuth": []
  13001. }
  13002. ],
  13003. "produces": [
  13004. "application/json"
  13005. ],
  13006. "tags": [
  13007. "天津麦顿"
  13008. ],
  13009. "summary": "掉期商品订单详情(交易确认书)",
  13010. "parameters": [
  13011. {
  13012. "type": "string",
  13013. "description": "成交单号",
  13014. "name": "tradeid",
  13015. "in": "query",
  13016. "required": true
  13017. }
  13018. ],
  13019. "responses": {
  13020. "200": {
  13021. "description": "OK",
  13022. "schema": {
  13023. "type": "array",
  13024. "items": {
  13025. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  13026. }
  13027. }
  13028. },
  13029. "500": {
  13030. "description": "Internal Server Error",
  13031. "schema": {
  13032. "$ref": "#/definitions/app.Response"
  13033. }
  13034. }
  13035. }
  13036. }
  13037. },
  13038. "/Tjmd/QueryTjmdMarketSection": {
  13039. "get": {
  13040. "security": [
  13041. {
  13042. "ApiKeyAuth": []
  13043. }
  13044. ],
  13045. "produces": [
  13046. "application/json"
  13047. ],
  13048. "tags": [
  13049. "天津麦顿"
  13050. ],
  13051. "summary": "查询市场板块",
  13052. "responses": {
  13053. "200": {
  13054. "description": "OK",
  13055. "schema": {
  13056. "type": "array",
  13057. "items": {
  13058. "$ref": "#/definitions/models.TjmdMarketSection"
  13059. }
  13060. }
  13061. },
  13062. "500": {
  13063. "description": "Internal Server Error",
  13064. "schema": {
  13065. "$ref": "#/definitions/app.Response"
  13066. }
  13067. }
  13068. }
  13069. }
  13070. },
  13071. "/Tjmd/QueryTjmdTodayAccountMargin": {
  13072. "get": {
  13073. "security": [
  13074. {
  13075. "ApiKeyAuth": []
  13076. }
  13077. ],
  13078. "produces": [
  13079. "application/json"
  13080. ],
  13081. "tags": [
  13082. "天津麦顿"
  13083. ],
  13084. "summary": "查询今日账户保证金配置",
  13085. "parameters": [
  13086. {
  13087. "type": "string",
  13088. "description": "市场id",
  13089. "name": "marketid",
  13090. "in": "query"
  13091. },
  13092. {
  13093. "type": "string",
  13094. "description": "商品id",
  13095. "name": "goodsid",
  13096. "in": "query"
  13097. },
  13098. {
  13099. "type": "string",
  13100. "description": "资金账号",
  13101. "name": "accountid",
  13102. "in": "query"
  13103. }
  13104. ],
  13105. "responses": {
  13106. "200": {
  13107. "description": "OK",
  13108. "schema": {
  13109. "type": "array",
  13110. "items": {
  13111. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  13112. }
  13113. }
  13114. },
  13115. "500": {
  13116. "description": "Internal Server Error",
  13117. "schema": {
  13118. "$ref": "#/definitions/app.Response"
  13119. }
  13120. }
  13121. }
  13122. }
  13123. },
  13124. "/Tjmd/QueryTjmdTradeOrderDetail": {
  13125. "get": {
  13126. "security": [
  13127. {
  13128. "ApiKeyAuth": []
  13129. }
  13130. ],
  13131. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  13132. "produces": [
  13133. "application/json"
  13134. ],
  13135. "tags": [
  13136. "天津麦顿"
  13137. ],
  13138. "summary": "查询掉期买卖大厅",
  13139. "parameters": [
  13140. {
  13141. "type": "integer",
  13142. "description": "页码",
  13143. "name": "page",
  13144. "in": "query"
  13145. },
  13146. {
  13147. "type": "integer",
  13148. "description": "每页条数",
  13149. "name": "pagesize",
  13150. "in": "query"
  13151. },
  13152. {
  13153. "type": "integer",
  13154. "description": "用户id",
  13155. "name": "userid",
  13156. "in": "query",
  13157. "required": true
  13158. },
  13159. {
  13160. "type": "integer",
  13161. "description": "用户类型",
  13162. "name": "usertype",
  13163. "in": "query",
  13164. "required": true
  13165. },
  13166. {
  13167. "type": "string",
  13168. "description": "市场id, 格式 1,2,3",
  13169. "name": "marketids",
  13170. "in": "query"
  13171. },
  13172. {
  13173. "type": "integer",
  13174. "description": "商品id",
  13175. "name": "goodsid",
  13176. "in": "query",
  13177. "required": true
  13178. },
  13179. {
  13180. "type": "integer",
  13181. "description": "买卖方向 0-买 1-卖",
  13182. "name": "buyorsell",
  13183. "in": "query",
  13184. "required": true
  13185. }
  13186. ],
  13187. "responses": {
  13188. "200": {
  13189. "description": "OK",
  13190. "schema": {
  13191. "type": "array",
  13192. "items": {
  13193. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  13194. }
  13195. }
  13196. },
  13197. "500": {
  13198. "description": "Internal Server Error",
  13199. "schema": {
  13200. "$ref": "#/definitions/app.Response"
  13201. }
  13202. }
  13203. }
  13204. }
  13205. },
  13206. "/Tjmd/QueryTjmdTransferApply": {
  13207. "get": {
  13208. "security": [
  13209. {
  13210. "ApiKeyAuth": []
  13211. }
  13212. ],
  13213. "produces": [
  13214. "application/json"
  13215. ],
  13216. "tags": [
  13217. "天津麦顿"
  13218. ],
  13219. "summary": "查询掉期协议单",
  13220. "parameters": [
  13221. {
  13222. "type": "integer",
  13223. "description": "类型 1-我的申请 2-对方申请",
  13224. "name": "applytype",
  13225. "in": "query",
  13226. "required": true
  13227. },
  13228. {
  13229. "type": "string",
  13230. "description": "市场id, 格式 1,2,3",
  13231. "name": "marketids",
  13232. "in": "query"
  13233. },
  13234. {
  13235. "type": "string",
  13236. "description": "资金账号, 格式 25000000001,25000000003",
  13237. "name": "accountids",
  13238. "in": "query"
  13239. },
  13240. {
  13241. "type": "string",
  13242. "description": "开始交易日(yyyymmdd)",
  13243. "name": "begindate",
  13244. "in": "query"
  13245. },
  13246. {
  13247. "type": "string",
  13248. "description": "结束交易日(yyyymmdd)",
  13249. "name": "enddate",
  13250. "in": "query"
  13251. }
  13252. ],
  13253. "responses": {
  13254. "200": {
  13255. "description": "OK",
  13256. "schema": {
  13257. "type": "array",
  13258. "items": {
  13259. "$ref": "#/definitions/models.TjmdTransferApply"
  13260. }
  13261. }
  13262. },
  13263. "500": {
  13264. "description": "Internal Server Error",
  13265. "schema": {
  13266. "$ref": "#/definitions/app.Response"
  13267. }
  13268. }
  13269. }
  13270. }
  13271. },
  13272. "/Trade/QueryRecieptOrder": {
  13273. "get": {
  13274. "security": [
  13275. {
  13276. "ApiKeyAuth": []
  13277. }
  13278. ],
  13279. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  13280. "produces": [
  13281. "application/json"
  13282. ],
  13283. "tags": [
  13284. "通用交易"
  13285. ],
  13286. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  13287. "parameters": [
  13288. {
  13289. "type": "integer",
  13290. "description": "页码",
  13291. "name": "page",
  13292. "in": "query"
  13293. },
  13294. {
  13295. "type": "integer",
  13296. "description": "每页条数",
  13297. "name": "pagesize",
  13298. "in": "query"
  13299. },
  13300. {
  13301. "type": "integer",
  13302. "description": "商品ID",
  13303. "name": "goodsID",
  13304. "in": "query",
  13305. "required": true
  13306. },
  13307. {
  13308. "type": "string",
  13309. "description": "所属账户名称",
  13310. "name": "accountName",
  13311. "in": "query"
  13312. },
  13313. {
  13314. "type": "integer",
  13315. "description": "市场ID",
  13316. "name": "marketID",
  13317. "in": "query"
  13318. },
  13319. {
  13320. "type": "integer",
  13321. "description": "方向 - 0:买 1:卖",
  13322. "name": "buyorsell",
  13323. "in": "query",
  13324. "required": true
  13325. }
  13326. ],
  13327. "responses": {
  13328. "200": {
  13329. "description": "OK",
  13330. "schema": {
  13331. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  13332. }
  13333. },
  13334. "500": {
  13335. "description": "Internal Server Error",
  13336. "schema": {
  13337. "$ref": "#/definitions/app.Response"
  13338. }
  13339. }
  13340. }
  13341. }
  13342. },
  13343. "/User/AddMessageBoard": {
  13344. "post": {
  13345. "security": [
  13346. {
  13347. "ApiKeyAuth": []
  13348. }
  13349. ],
  13350. "produces": [
  13351. "application/json"
  13352. ],
  13353. "tags": [
  13354. "用户信息"
  13355. ],
  13356. "summary": "添加用户留言板信息",
  13357. "parameters": [
  13358. {
  13359. "type": "integer",
  13360. "description": "用户ID",
  13361. "name": "userID",
  13362. "in": "query",
  13363. "required": true
  13364. },
  13365. {
  13366. "type": "string",
  13367. "description": "留言信息",
  13368. "name": "message",
  13369. "in": "query",
  13370. "required": true
  13371. },
  13372. {
  13373. "type": "string",
  13374. "description": "联系电话",
  13375. "name": "contactNum",
  13376. "in": "query",
  13377. "required": true
  13378. }
  13379. ],
  13380. "responses": {
  13381. "200": {
  13382. "description": "OK",
  13383. "schema": {
  13384. "$ref": "#/definitions/app.Response"
  13385. }
  13386. },
  13387. "500": {
  13388. "description": "Internal Server Error",
  13389. "schema": {
  13390. "$ref": "#/definitions/app.Response"
  13391. }
  13392. }
  13393. }
  13394. }
  13395. },
  13396. "/User/AddUserFavoriteGoods": {
  13397. "post": {
  13398. "security": [
  13399. {
  13400. "ApiKeyAuth": []
  13401. }
  13402. ],
  13403. "produces": [
  13404. "application/json"
  13405. ],
  13406. "tags": [
  13407. "用户信息"
  13408. ],
  13409. "summary": "添加用户商品收藏信息",
  13410. "parameters": [
  13411. {
  13412. "type": "integer",
  13413. "description": "用户ID",
  13414. "name": "userID",
  13415. "in": "query",
  13416. "required": true
  13417. },
  13418. {
  13419. "type": "integer",
  13420. "description": "商品ID",
  13421. "name": "goodsID",
  13422. "in": "query",
  13423. "required": true
  13424. }
  13425. ],
  13426. "responses": {
  13427. "200": {
  13428. "description": "OK",
  13429. "schema": {
  13430. "$ref": "#/definitions/app.Response"
  13431. }
  13432. },
  13433. "500": {
  13434. "description": "Internal Server Error",
  13435. "schema": {
  13436. "$ref": "#/definitions/app.Response"
  13437. }
  13438. }
  13439. }
  13440. }
  13441. },
  13442. "/User/GetLoginID": {
  13443. "get": {
  13444. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  13445. "produces": [
  13446. "application/json"
  13447. ],
  13448. "tags": [
  13449. "用户信息"
  13450. ],
  13451. "summary": "获取登录ID",
  13452. "parameters": [
  13453. {
  13454. "type": "string",
  13455. "description": "登录代码",
  13456. "name": "username",
  13457. "in": "query",
  13458. "required": true
  13459. }
  13460. ],
  13461. "responses": {
  13462. "200": {
  13463. "description": "OK",
  13464. "schema": {
  13465. "$ref": "#/definitions/app.Response"
  13466. }
  13467. },
  13468. "500": {
  13469. "description": "Internal Server Error",
  13470. "schema": {
  13471. "$ref": "#/definitions/app.Response"
  13472. }
  13473. }
  13474. }
  13475. }
  13476. },
  13477. "/User/GetUserAccount": {
  13478. "get": {
  13479. "security": [
  13480. {
  13481. "ApiKeyAuth": []
  13482. }
  13483. ],
  13484. "produces": [
  13485. "application/json"
  13486. ],
  13487. "tags": [
  13488. "用户信息"
  13489. ],
  13490. "summary": "获取用户账号信息",
  13491. "parameters": [
  13492. {
  13493. "type": "integer",
  13494. "description": "用户ID",
  13495. "name": "userID",
  13496. "in": "query",
  13497. "required": true
  13498. }
  13499. ],
  13500. "responses": {
  13501. "200": {
  13502. "description": "OK",
  13503. "schema": {
  13504. "$ref": "#/definitions/models.Useraccount"
  13505. }
  13506. },
  13507. "500": {
  13508. "description": "Internal Server Error",
  13509. "schema": {
  13510. "$ref": "#/definitions/app.Response"
  13511. }
  13512. }
  13513. }
  13514. }
  13515. },
  13516. "/User/GetUserAuthStatus": {
  13517. "get": {
  13518. "security": [
  13519. {
  13520. "ApiKeyAuth": []
  13521. }
  13522. ],
  13523. "produces": [
  13524. "application/json"
  13525. ],
  13526. "tags": [
  13527. "用户信息"
  13528. ],
  13529. "summary": "获取用户实名认证状态",
  13530. "parameters": [
  13531. {
  13532. "type": "integer",
  13533. "description": "用户ID",
  13534. "name": "userID",
  13535. "in": "query",
  13536. "required": true
  13537. }
  13538. ],
  13539. "responses": {
  13540. "200": {
  13541. "description": "OK",
  13542. "schema": {
  13543. "$ref": "#/definitions/app.Response"
  13544. }
  13545. },
  13546. "500": {
  13547. "description": "Internal Server Error",
  13548. "schema": {
  13549. "$ref": "#/definitions/app.Response"
  13550. }
  13551. }
  13552. }
  13553. }
  13554. },
  13555. "/User/LoginQuery": {
  13556. "get": {
  13557. "security": [
  13558. {
  13559. "ApiKeyAuth": []
  13560. }
  13561. ],
  13562. "produces": [
  13563. "application/json"
  13564. ],
  13565. "tags": [
  13566. "用户信息"
  13567. ],
  13568. "summary": "账户登录后信息查询",
  13569. "parameters": [
  13570. {
  13571. "type": "integer",
  13572. "description": "登录账号",
  13573. "name": "loginID",
  13574. "in": "query",
  13575. "required": true
  13576. }
  13577. ],
  13578. "responses": {
  13579. "200": {
  13580. "description": "OK",
  13581. "schema": {
  13582. "$ref": "#/definitions/user.LoginQueryRsp"
  13583. }
  13584. },
  13585. "500": {
  13586. "description": "Internal Server Error",
  13587. "schema": {
  13588. "$ref": "#/definitions/app.Response"
  13589. }
  13590. }
  13591. }
  13592. }
  13593. },
  13594. "/User/QueryMessageBoard": {
  13595. "get": {
  13596. "security": [
  13597. {
  13598. "ApiKeyAuth": []
  13599. }
  13600. ],
  13601. "produces": [
  13602. "application/json"
  13603. ],
  13604. "tags": [
  13605. "用户信息"
  13606. ],
  13607. "summary": "获取用户留言板信息",
  13608. "parameters": [
  13609. {
  13610. "type": "integer",
  13611. "description": "用户ID",
  13612. "name": "userID",
  13613. "in": "query",
  13614. "required": true
  13615. }
  13616. ],
  13617. "responses": {
  13618. "200": {
  13619. "description": "OK",
  13620. "schema": {
  13621. "$ref": "#/definitions/models.Messageboard"
  13622. }
  13623. },
  13624. "500": {
  13625. "description": "Internal Server Error",
  13626. "schema": {
  13627. "$ref": "#/definitions/app.Response"
  13628. }
  13629. }
  13630. }
  13631. }
  13632. },
  13633. "/User/QueryUserFavoriteGoodses": {
  13634. "get": {
  13635. "security": [
  13636. {
  13637. "ApiKeyAuth": []
  13638. }
  13639. ],
  13640. "produces": [
  13641. "application/json"
  13642. ],
  13643. "tags": [
  13644. "用户信息"
  13645. ],
  13646. "summary": "获取用户商品收藏信息",
  13647. "parameters": [
  13648. {
  13649. "type": "integer",
  13650. "description": "用户ID",
  13651. "name": "userID",
  13652. "in": "query",
  13653. "required": true
  13654. }
  13655. ],
  13656. "responses": {
  13657. "200": {
  13658. "description": "OK",
  13659. "schema": {
  13660. "$ref": "#/definitions/models.Userfavoritegoods"
  13661. }
  13662. },
  13663. "500": {
  13664. "description": "Internal Server Error",
  13665. "schema": {
  13666. "$ref": "#/definitions/app.Response"
  13667. }
  13668. }
  13669. }
  13670. }
  13671. },
  13672. "/User/QueryUserInfo": {
  13673. "get": {
  13674. "security": [
  13675. {
  13676. "ApiKeyAuth": []
  13677. }
  13678. ],
  13679. "produces": [
  13680. "application/json"
  13681. ],
  13682. "tags": [
  13683. "用户信息"
  13684. ],
  13685. "summary": "获取用户信息",
  13686. "parameters": [
  13687. {
  13688. "type": "integer",
  13689. "description": "用户ID",
  13690. "name": "userID",
  13691. "in": "query",
  13692. "required": true
  13693. },
  13694. {
  13695. "type": "boolean",
  13696. "description": "是否解密",
  13697. "name": "isDecrypt",
  13698. "in": "query"
  13699. }
  13700. ],
  13701. "responses": {
  13702. "200": {
  13703. "description": "OK",
  13704. "schema": {
  13705. "$ref": "#/definitions/models.Userinfo"
  13706. }
  13707. },
  13708. "500": {
  13709. "description": "Internal Server Error",
  13710. "schema": {
  13711. "$ref": "#/definitions/app.Response"
  13712. }
  13713. }
  13714. }
  13715. }
  13716. },
  13717. "/User/QueryUserReferNum": {
  13718. "get": {
  13719. "produces": [
  13720. "application/json"
  13721. ],
  13722. "tags": [
  13723. "用户信息"
  13724. ],
  13725. "summary": "获取用户邀请码",
  13726. "parameters": [
  13727. {
  13728. "type": "integer",
  13729. "description": "用户ID",
  13730. "name": "userID",
  13731. "in": "query",
  13732. "required": true
  13733. }
  13734. ],
  13735. "responses": {
  13736. "200": {
  13737. "description": "OK",
  13738. "schema": {
  13739. "$ref": "#/definitions/app.Response"
  13740. }
  13741. },
  13742. "500": {
  13743. "description": "Internal Server Error",
  13744. "schema": {
  13745. "$ref": "#/definitions/app.Response"
  13746. }
  13747. }
  13748. }
  13749. }
  13750. },
  13751. "/User/RemoveUserFavoriteGoods": {
  13752. "post": {
  13753. "security": [
  13754. {
  13755. "ApiKeyAuth": []
  13756. }
  13757. ],
  13758. "produces": [
  13759. "application/json"
  13760. ],
  13761. "tags": [
  13762. "用户信息"
  13763. ],
  13764. "summary": "移除用户商品收藏信息",
  13765. "parameters": [
  13766. {
  13767. "type": "integer",
  13768. "description": "用户ID",
  13769. "name": "userID",
  13770. "in": "query",
  13771. "required": true
  13772. },
  13773. {
  13774. "type": "integer",
  13775. "description": "商品ID",
  13776. "name": "goodsID",
  13777. "in": "query",
  13778. "required": true
  13779. }
  13780. ],
  13781. "responses": {
  13782. "200": {
  13783. "description": "OK",
  13784. "schema": {
  13785. "$ref": "#/definitions/app.Response"
  13786. }
  13787. },
  13788. "500": {
  13789. "description": "Internal Server Error",
  13790. "schema": {
  13791. "$ref": "#/definitions/app.Response"
  13792. }
  13793. }
  13794. }
  13795. }
  13796. },
  13797. "/User/UpdateUserAccountStatus": {
  13798. "post": {
  13799. "security": [
  13800. {
  13801. "ApiKeyAuth": []
  13802. }
  13803. ],
  13804. "produces": [
  13805. "application/json"
  13806. ],
  13807. "tags": [
  13808. "用户信息"
  13809. ],
  13810. "summary": "更新用户状态",
  13811. "parameters": [
  13812. {
  13813. "type": "integer",
  13814. "description": "用户ID",
  13815. "name": "userID",
  13816. "in": "query",
  13817. "required": true
  13818. },
  13819. {
  13820. "type": "integer",
  13821. "description": "账户状态 - 4:正常 6:注销(停用)",
  13822. "name": "accountStatus",
  13823. "in": "query",
  13824. "required": true
  13825. }
  13826. ],
  13827. "responses": {
  13828. "200": {
  13829. "description": "OK",
  13830. "schema": {
  13831. "$ref": "#/definitions/app.Response"
  13832. }
  13833. },
  13834. "500": {
  13835. "description": "Internal Server Error",
  13836. "schema": {
  13837. "$ref": "#/definitions/app.Response"
  13838. }
  13839. }
  13840. }
  13841. }
  13842. },
  13843. "/WRTrade/GetAllDeliveryGoods": {
  13844. "get": {
  13845. "security": [
  13846. {
  13847. "ApiKeyAuth": []
  13848. }
  13849. ],
  13850. "produces": [
  13851. "application/json"
  13852. ],
  13853. "tags": [
  13854. "仓单贸易",
  13855. "仓单贸易"
  13856. ],
  13857. "summary": "获取带仓单分类的种类信息",
  13858. "responses": {
  13859. "200": {
  13860. "description": "OK",
  13861. "schema": {
  13862. "$ref": "#/definitions/app.Response"
  13863. }
  13864. },
  13865. "500": {
  13866. "description": "Internal Server Error",
  13867. "schema": {
  13868. "$ref": "#/definitions/app.Response"
  13869. }
  13870. }
  13871. }
  13872. }
  13873. },
  13874. "/WrTrade2/InsertXhcpSellBackApply": {
  13875. "post": {
  13876. "security": [
  13877. {
  13878. "ApiKeyAuth": []
  13879. }
  13880. ],
  13881. "produces": [
  13882. "application/json"
  13883. ],
  13884. "tags": [
  13885. "仓单贸易v2"
  13886. ],
  13887. "summary": "新增回收申请(新会陈皮)",
  13888. "parameters": [
  13889. {
  13890. "description": "回收申请",
  13891. "name": "jsonBody",
  13892. "in": "body",
  13893. "required": true,
  13894. "schema": {
  13895. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  13896. }
  13897. }
  13898. ],
  13899. "responses": {
  13900. "200": {
  13901. "description": "OK",
  13902. "schema": {
  13903. "$ref": "#/definitions/app.Response"
  13904. }
  13905. },
  13906. "500": {
  13907. "description": "Internal Server Error",
  13908. "schema": {
  13909. "$ref": "#/definitions/app.Response"
  13910. }
  13911. }
  13912. }
  13913. }
  13914. },
  13915. "/WrTrade2/QueryDeliveryGoodsSection": {
  13916. "get": {
  13917. "security": [
  13918. {
  13919. "ApiKeyAuth": []
  13920. }
  13921. ],
  13922. "produces": [
  13923. "application/json"
  13924. ],
  13925. "tags": [
  13926. "仓单贸易v2"
  13927. ],
  13928. "summary": "查询板块(分类)",
  13929. "responses": {
  13930. "200": {
  13931. "description": "OK",
  13932. "schema": {
  13933. "type": "array",
  13934. "items": {
  13935. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  13936. }
  13937. }
  13938. },
  13939. "500": {
  13940. "description": "Internal Server Error",
  13941. "schema": {
  13942. "$ref": "#/definitions/app.Response"
  13943. }
  13944. }
  13945. }
  13946. }
  13947. },
  13948. "/WrTrade2/QueryFaProductDetail": {
  13949. "get": {
  13950. "security": [
  13951. {
  13952. "ApiKeyAuth": []
  13953. }
  13954. ],
  13955. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  13956. "produces": [
  13957. "application/json"
  13958. ],
  13959. "tags": [
  13960. "仓单贸易v2"
  13961. ],
  13962. "summary": "查询融资产品列表",
  13963. "parameters": [
  13964. {
  13965. "type": "integer",
  13966. "description": "仓单要素id",
  13967. "name": "wrfactortypeid",
  13968. "in": "query",
  13969. "required": true
  13970. }
  13971. ],
  13972. "responses": {
  13973. "200": {
  13974. "description": "OK",
  13975. "schema": {
  13976. "type": "array",
  13977. "items": {
  13978. "$ref": "#/definitions/models.WrFAProductDetail"
  13979. }
  13980. }
  13981. },
  13982. "500": {
  13983. "description": "Internal Server Error",
  13984. "schema": {
  13985. "$ref": "#/definitions/app.Response"
  13986. }
  13987. }
  13988. }
  13989. }
  13990. },
  13991. "/WrTrade2/QueryFilterItem": {
  13992. "get": {
  13993. "security": [
  13994. {
  13995. "ApiKeyAuth": []
  13996. }
  13997. ],
  13998. "produces": [
  13999. "application/json"
  14000. ],
  14001. "tags": [
  14002. "仓单贸易v2"
  14003. ],
  14004. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  14005. "parameters": [
  14006. {
  14007. "type": "string",
  14008. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  14009. "name": "itype",
  14010. "in": "query",
  14011. "required": true
  14012. }
  14013. ],
  14014. "responses": {
  14015. "200": {
  14016. "description": "OK",
  14017. "schema": {
  14018. "type": "array",
  14019. "items": {
  14020. "$ref": "#/definitions/models.WrFilterItem"
  14021. }
  14022. }
  14023. },
  14024. "500": {
  14025. "description": "Internal Server Error",
  14026. "schema": {
  14027. "$ref": "#/definitions/app.Response"
  14028. }
  14029. }
  14030. }
  14031. }
  14032. },
  14033. "/WrTrade2/QueryFtDeliveryGoods": {
  14034. "get": {
  14035. "security": [
  14036. {
  14037. "ApiKeyAuth": []
  14038. }
  14039. ],
  14040. "produces": [
  14041. "application/json"
  14042. ],
  14043. "tags": [
  14044. "仓单贸易v2"
  14045. ],
  14046. "summary": "查询品种品类筛选框列表",
  14047. "responses": {
  14048. "200": {
  14049. "description": "OK",
  14050. "schema": {
  14051. "type": "array",
  14052. "items": {
  14053. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  14054. }
  14055. }
  14056. },
  14057. "500": {
  14058. "description": "Internal Server Error",
  14059. "schema": {
  14060. "$ref": "#/definitions/app.Response"
  14061. }
  14062. }
  14063. }
  14064. }
  14065. },
  14066. "/WrTrade2/QueryHoldLB": {
  14067. "get": {
  14068. "security": [
  14069. {
  14070. "ApiKeyAuth": []
  14071. }
  14072. ],
  14073. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  14074. "produces": [
  14075. "application/json"
  14076. ],
  14077. "tags": [
  14078. "仓单贸易v2"
  14079. ],
  14080. "summary": "查询仓单持有记录",
  14081. "parameters": [
  14082. {
  14083. "type": "integer",
  14084. "description": "资金账号",
  14085. "name": "accountid",
  14086. "in": "query",
  14087. "required": true
  14088. },
  14089. {
  14090. "type": "integer",
  14091. "description": "仓库id",
  14092. "name": "warehouseid",
  14093. "in": "query"
  14094. },
  14095. {
  14096. "type": "integer",
  14097. "description": "品种id",
  14098. "name": "deliverygoodsid",
  14099. "in": "query"
  14100. },
  14101. {
  14102. "type": "integer",
  14103. "description": "品类id",
  14104. "name": "wrstandardid",
  14105. "in": "query"
  14106. },
  14107. {
  14108. "type": "integer",
  14109. "description": "仓单要素id",
  14110. "name": "wrfactortypeid",
  14111. "in": "query"
  14112. },
  14113. {
  14114. "type": "string",
  14115. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14116. "name": "dgitemname",
  14117. "in": "query"
  14118. }
  14119. ],
  14120. "responses": {
  14121. "200": {
  14122. "description": "OK",
  14123. "schema": {
  14124. "type": "array",
  14125. "items": {
  14126. "$ref": "#/definitions/models.WrHoldLB"
  14127. }
  14128. }
  14129. },
  14130. "500": {
  14131. "description": "Internal Server Error",
  14132. "schema": {
  14133. "$ref": "#/definitions/app.Response"
  14134. }
  14135. }
  14136. }
  14137. }
  14138. },
  14139. "/WrTrade2/QueryOrderQuote": {
  14140. "get": {
  14141. "security": [
  14142. {
  14143. "ApiKeyAuth": []
  14144. }
  14145. ],
  14146. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  14147. "produces": [
  14148. "application/json"
  14149. ],
  14150. "tags": [
  14151. "仓单贸易v2"
  14152. ],
  14153. "summary": "查询大厅行情列表",
  14154. "parameters": [
  14155. {
  14156. "type": "integer",
  14157. "description": "页码",
  14158. "name": "page",
  14159. "in": "query"
  14160. },
  14161. {
  14162. "type": "integer",
  14163. "description": "每页条数",
  14164. "name": "pagesize",
  14165. "in": "query"
  14166. },
  14167. {
  14168. "type": "integer",
  14169. "description": "仓单贸易市场id",
  14170. "name": "marketid",
  14171. "in": "query"
  14172. },
  14173. {
  14174. "type": "integer",
  14175. "description": "价格方式 - 1:固定价 2-浮动价",
  14176. "name": "wrpricetype",
  14177. "in": "query",
  14178. "required": true
  14179. },
  14180. {
  14181. "type": "integer",
  14182. "description": "0:仓单预售 1:仓单贸易",
  14183. "name": "haswr",
  14184. "in": "query"
  14185. },
  14186. {
  14187. "type": "string",
  14188. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14189. "name": "dgitemname",
  14190. "in": "query"
  14191. },
  14192. {
  14193. "type": "integer",
  14194. "description": "仓库id(筛选条件)",
  14195. "name": "warehouseid",
  14196. "in": "query"
  14197. },
  14198. {
  14199. "type": "integer",
  14200. "description": "品种id",
  14201. "name": "deliverygoodsid",
  14202. "in": "query"
  14203. },
  14204. {
  14205. "type": "integer",
  14206. "description": "品类id",
  14207. "name": "wrstandardid",
  14208. "in": "query"
  14209. },
  14210. {
  14211. "type": "integer",
  14212. "description": "品牌id(dgfactoryitemid)",
  14213. "name": "brandid",
  14214. "in": "query"
  14215. },
  14216. {
  14217. "type": "integer",
  14218. "description": "年份id(dgfactoryitemid)",
  14219. "name": "yearsid",
  14220. "in": "query"
  14221. },
  14222. {
  14223. "type": "integer",
  14224. "description": "仓单要素id",
  14225. "name": "wrfactortypeid",
  14226. "in": "query"
  14227. },
  14228. {
  14229. "type": "string",
  14230. "description": "交收月(yyyy-mm) 仓单预售填写",
  14231. "name": "deliverymonth",
  14232. "in": "query"
  14233. }
  14234. ],
  14235. "responses": {
  14236. "200": {
  14237. "description": "OK",
  14238. "schema": {
  14239. "type": "array",
  14240. "items": {
  14241. "$ref": "#/definitions/models.WrOrderQuote"
  14242. }
  14243. }
  14244. },
  14245. "500": {
  14246. "description": "Internal Server Error",
  14247. "schema": {
  14248. "$ref": "#/definitions/app.Response"
  14249. }
  14250. }
  14251. }
  14252. }
  14253. },
  14254. "/WrTrade2/QueryOrderQuoteDetail": {
  14255. "get": {
  14256. "security": [
  14257. {
  14258. "ApiKeyAuth": []
  14259. }
  14260. ],
  14261. "produces": [
  14262. "application/json"
  14263. ],
  14264. "tags": [
  14265. "仓单贸易v2"
  14266. ],
  14267. "summary": "查询买卖大厅",
  14268. "parameters": [
  14269. {
  14270. "type": "integer",
  14271. "description": "页码",
  14272. "name": "page",
  14273. "in": "query"
  14274. },
  14275. {
  14276. "type": "integer",
  14277. "description": "每页条数",
  14278. "name": "pagesize",
  14279. "in": "query"
  14280. },
  14281. {
  14282. "type": "integer",
  14283. "description": "仓单贸易市场id",
  14284. "name": "marketid",
  14285. "in": "query"
  14286. },
  14287. {
  14288. "type": "integer",
  14289. "description": "价格方式 - 1:固定价 2-浮动价",
  14290. "name": "wrpricetype",
  14291. "in": "query",
  14292. "required": true
  14293. },
  14294. {
  14295. "type": "integer",
  14296. "description": "0:仓单预售 1:仓单贸易",
  14297. "name": "haswr",
  14298. "in": "query"
  14299. },
  14300. {
  14301. "type": "integer",
  14302. "description": "仓单要素id",
  14303. "name": "wrfactortypeid",
  14304. "in": "query",
  14305. "required": true
  14306. },
  14307. {
  14308. "type": "integer",
  14309. "description": "期货商品id(浮动价方式时填)",
  14310. "name": "goodsid",
  14311. "in": "query"
  14312. },
  14313. {
  14314. "type": "integer",
  14315. "description": "买卖方向 0-买 1-卖",
  14316. "name": "buyorsell",
  14317. "in": "query",
  14318. "required": true
  14319. },
  14320. {
  14321. "type": "string",
  14322. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  14323. "name": "deliverymonth",
  14324. "in": "query"
  14325. }
  14326. ],
  14327. "responses": {
  14328. "200": {
  14329. "description": "OK",
  14330. "schema": {
  14331. "type": "array",
  14332. "items": {
  14333. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  14334. }
  14335. }
  14336. },
  14337. "500": {
  14338. "description": "Internal Server Error",
  14339. "schema": {
  14340. "$ref": "#/definitions/app.Response"
  14341. }
  14342. }
  14343. }
  14344. }
  14345. },
  14346. "/WrTrade2/QueryOrderQuoteMyq": {
  14347. "get": {
  14348. "security": [
  14349. {
  14350. "ApiKeyAuth": []
  14351. }
  14352. ],
  14353. "produces": [
  14354. "application/json"
  14355. ],
  14356. "tags": [
  14357. "仓单贸易v2"
  14358. ],
  14359. "summary": "查询贸易圈挂牌大厅",
  14360. "parameters": [
  14361. {
  14362. "type": "integer",
  14363. "description": "页码",
  14364. "name": "page",
  14365. "in": "query"
  14366. },
  14367. {
  14368. "type": "integer",
  14369. "description": "每页条数",
  14370. "name": "pagesize",
  14371. "in": "query"
  14372. },
  14373. {
  14374. "type": "integer",
  14375. "description": "用户id",
  14376. "name": "userid",
  14377. "in": "query",
  14378. "required": true
  14379. },
  14380. {
  14381. "type": "integer",
  14382. "description": "仓单贸易市场id",
  14383. "name": "marketid",
  14384. "in": "query"
  14385. },
  14386. {
  14387. "type": "integer",
  14388. "description": "0:仓单预售 1:仓单贸易",
  14389. "name": "haswr",
  14390. "in": "query"
  14391. },
  14392. {
  14393. "type": "integer",
  14394. "description": "买卖方向 0-买 1-卖",
  14395. "name": "buyorsell",
  14396. "in": "query",
  14397. "required": true
  14398. },
  14399. {
  14400. "type": "integer",
  14401. "description": "品种id",
  14402. "name": "deliverygoodsid",
  14403. "in": "query"
  14404. },
  14405. {
  14406. "type": "integer",
  14407. "description": "品类id",
  14408. "name": "wrstandardid",
  14409. "in": "query"
  14410. },
  14411. {
  14412. "type": "string",
  14413. "description": "交收月(yyyy-mm) 仓单预售填写",
  14414. "name": "deliverymonth",
  14415. "in": "query"
  14416. },
  14417. {
  14418. "type": "string",
  14419. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14420. "name": "dgitemname",
  14421. "in": "query"
  14422. }
  14423. ],
  14424. "responses": {
  14425. "200": {
  14426. "description": "OK",
  14427. "schema": {
  14428. "type": "array",
  14429. "items": {
  14430. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  14431. }
  14432. }
  14433. },
  14434. "500": {
  14435. "description": "Internal Server Error",
  14436. "schema": {
  14437. "$ref": "#/definitions/app.Response"
  14438. }
  14439. }
  14440. }
  14441. }
  14442. },
  14443. "/WrTrade2/QueryPerformancePlan": {
  14444. "get": {
  14445. "security": [
  14446. {
  14447. "ApiKeyAuth": []
  14448. }
  14449. ],
  14450. "produces": [
  14451. "application/json"
  14452. ],
  14453. "tags": [
  14454. "仓单贸易v2"
  14455. ],
  14456. "summary": "查询履约信息",
  14457. "parameters": [
  14458. {
  14459. "type": "integer",
  14460. "description": "用户id",
  14461. "name": "userid",
  14462. "in": "query",
  14463. "required": true
  14464. },
  14465. {
  14466. "type": "integer",
  14467. "description": "买卖方向 0-买 1-卖",
  14468. "name": "buyorsell",
  14469. "in": "query",
  14470. "required": true
  14471. },
  14472. {
  14473. "type": "string",
  14474. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  14475. "name": "status",
  14476. "in": "query"
  14477. },
  14478. {
  14479. "type": "string",
  14480. "description": "开始交易日(yyyymmdd)",
  14481. "name": "begindate",
  14482. "in": "query"
  14483. },
  14484. {
  14485. "type": "string",
  14486. "description": "结束交易日(yyyymmdd)",
  14487. "name": "enddate",
  14488. "in": "query"
  14489. }
  14490. ],
  14491. "responses": {
  14492. "200": {
  14493. "description": "OK",
  14494. "schema": {
  14495. "type": "array",
  14496. "items": {
  14497. "$ref": "#/definitions/models.WrPerformancePlan"
  14498. }
  14499. }
  14500. },
  14501. "500": {
  14502. "description": "Internal Server Error",
  14503. "schema": {
  14504. "$ref": "#/definitions/app.Response"
  14505. }
  14506. }
  14507. }
  14508. }
  14509. },
  14510. "/WrTrade2/QueryPermancePlanTmp": {
  14511. "get": {
  14512. "security": [
  14513. {
  14514. "ApiKeyAuth": []
  14515. }
  14516. ],
  14517. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  14518. "produces": [
  14519. "application/json"
  14520. ],
  14521. "tags": [
  14522. "仓单贸易v2"
  14523. ],
  14524. "summary": "查询履约模板",
  14525. "parameters": [
  14526. {
  14527. "type": "integer",
  14528. "description": "用户id",
  14529. "name": "userid",
  14530. "in": "query"
  14531. },
  14532. {
  14533. "type": "string",
  14534. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  14535. "name": "tmptype",
  14536. "in": "query"
  14537. },
  14538. {
  14539. "type": "integer",
  14540. "description": "是否包含公共模板(用户id为空的) 1-包含",
  14541. "name": "includepub",
  14542. "in": "query"
  14543. },
  14544. {
  14545. "type": "integer",
  14546. "description": "市场id(天津麦顿指定此参数,其它不用)",
  14547. "name": "marketid",
  14548. "in": "query"
  14549. }
  14550. ],
  14551. "responses": {
  14552. "200": {
  14553. "description": "OK",
  14554. "schema": {
  14555. "type": "array",
  14556. "items": {
  14557. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  14558. }
  14559. }
  14560. },
  14561. "500": {
  14562. "description": "Internal Server Error",
  14563. "schema": {
  14564. "$ref": "#/definitions/app.Response"
  14565. }
  14566. }
  14567. }
  14568. }
  14569. },
  14570. "/WrTrade2/QuerySiteColumnDetail": {
  14571. "get": {
  14572. "security": [
  14573. {
  14574. "ApiKeyAuth": []
  14575. }
  14576. ],
  14577. "produces": [
  14578. "application/json"
  14579. ],
  14580. "tags": [
  14581. "仓单贸易v2"
  14582. ],
  14583. "summary": "查询资讯",
  14584. "parameters": [
  14585. {
  14586. "type": "integer",
  14587. "description": "页码",
  14588. "name": "page",
  14589. "in": "query"
  14590. },
  14591. {
  14592. "type": "integer",
  14593. "description": "每页条数",
  14594. "name": "pagesize",
  14595. "in": "query"
  14596. },
  14597. {
  14598. "type": "integer",
  14599. "description": "所属栏目id",
  14600. "name": "columnid",
  14601. "in": "query"
  14602. }
  14603. ],
  14604. "responses": {
  14605. "200": {
  14606. "description": "OK",
  14607. "schema": {
  14608. "type": "array",
  14609. "items": {
  14610. "$ref": "#/definitions/models.WrSiteColumnDetail"
  14611. }
  14612. }
  14613. },
  14614. "500": {
  14615. "description": "Internal Server Error",
  14616. "schema": {
  14617. "$ref": "#/definitions/app.Response"
  14618. }
  14619. }
  14620. }
  14621. }
  14622. },
  14623. "/WrTrade2/QuerySpotGroupTradeSum": {
  14624. "get": {
  14625. "security": [
  14626. {
  14627. "ApiKeyAuth": []
  14628. }
  14629. ],
  14630. "produces": [
  14631. "application/json"
  14632. ],
  14633. "tags": [
  14634. "仓单贸易v2"
  14635. ],
  14636. "summary": "查询指数",
  14637. "responses": {
  14638. "200": {
  14639. "description": "OK",
  14640. "schema": {
  14641. "type": "array",
  14642. "items": {
  14643. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  14644. }
  14645. }
  14646. },
  14647. "500": {
  14648. "description": "Internal Server Error",
  14649. "schema": {
  14650. "$ref": "#/definitions/app.Response"
  14651. }
  14652. }
  14653. }
  14654. }
  14655. },
  14656. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  14657. "get": {
  14658. "security": [
  14659. {
  14660. "ApiKeyAuth": []
  14661. }
  14662. ],
  14663. "description": "查询的结果将会按日期 从小到大 排序",
  14664. "produces": [
  14665. "application/json"
  14666. ],
  14667. "tags": [
  14668. "仓单贸易v2"
  14669. ],
  14670. "summary": "查询指数详细(价格走势图)",
  14671. "parameters": [
  14672. {
  14673. "type": "integer",
  14674. "description": "现货商品id",
  14675. "name": "deliverygoodsid",
  14676. "in": "query",
  14677. "required": true
  14678. },
  14679. {
  14680. "type": "integer",
  14681. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  14682. "name": "lastnum",
  14683. "in": "query"
  14684. }
  14685. ],
  14686. "responses": {
  14687. "200": {
  14688. "description": "OK",
  14689. "schema": {
  14690. "type": "array",
  14691. "items": {
  14692. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  14693. }
  14694. }
  14695. },
  14696. "500": {
  14697. "description": "Internal Server Error",
  14698. "schema": {
  14699. "$ref": "#/definitions/app.Response"
  14700. }
  14701. }
  14702. }
  14703. }
  14704. },
  14705. "/WrTrade2/QueryWrAverageTradePrice": {
  14706. "get": {
  14707. "security": [
  14708. {
  14709. "ApiKeyAuth": []
  14710. }
  14711. ],
  14712. "produces": [
  14713. "application/json"
  14714. ],
  14715. "tags": [
  14716. "仓单贸易v2"
  14717. ],
  14718. "summary": "查询成交价(历史走势)",
  14719. "parameters": [
  14720. {
  14721. "type": "integer",
  14722. "description": "页码",
  14723. "name": "page",
  14724. "in": "query"
  14725. },
  14726. {
  14727. "type": "integer",
  14728. "description": "每页条数",
  14729. "name": "pagesize",
  14730. "in": "query"
  14731. },
  14732. {
  14733. "type": "integer",
  14734. "description": "0:仓单预售 1:仓单贸易",
  14735. "name": "haswr",
  14736. "in": "query",
  14737. "required": true
  14738. },
  14739. {
  14740. "type": "integer",
  14741. "description": "仓单要素id",
  14742. "name": "wrfactortypeid",
  14743. "in": "query",
  14744. "required": true
  14745. }
  14746. ],
  14747. "responses": {
  14748. "200": {
  14749. "description": "OK",
  14750. "schema": {
  14751. "type": "array",
  14752. "items": {
  14753. "$ref": "#/definitions/models.WrAverageTradePrice"
  14754. }
  14755. }
  14756. },
  14757. "500": {
  14758. "description": "Internal Server Error",
  14759. "schema": {
  14760. "$ref": "#/definitions/app.Response"
  14761. }
  14762. }
  14763. }
  14764. }
  14765. },
  14766. "/WrTrade2/QueryWrBrandAndYears": {
  14767. "get": {
  14768. "security": [
  14769. {
  14770. "ApiKeyAuth": []
  14771. }
  14772. ],
  14773. "produces": [
  14774. "application/json"
  14775. ],
  14776. "tags": [
  14777. "仓单贸易v2"
  14778. ],
  14779. "summary": "查询品牌和年份",
  14780. "responses": {
  14781. "200": {
  14782. "description": "OK",
  14783. "schema": {
  14784. "type": "array",
  14785. "items": {
  14786. "$ref": "#/definitions/models.WrBrandAndYears"
  14787. }
  14788. }
  14789. },
  14790. "500": {
  14791. "description": "Internal Server Error",
  14792. "schema": {
  14793. "$ref": "#/definitions/app.Response"
  14794. }
  14795. }
  14796. }
  14797. }
  14798. },
  14799. "/WrTrade2/QueryWrBsGoodsInfo": {
  14800. "get": {
  14801. "security": [
  14802. {
  14803. "ApiKeyAuth": []
  14804. }
  14805. ],
  14806. "description": "合约交易/买卖大厅/详情",
  14807. "produces": [
  14808. "application/json"
  14809. ],
  14810. "tags": [
  14811. "仓单贸易v2"
  14812. ],
  14813. "summary": "查询合约交易买卖大厅详情",
  14814. "parameters": [
  14815. {
  14816. "type": "integer",
  14817. "description": "商品id",
  14818. "name": "goodsid",
  14819. "in": "query",
  14820. "required": true
  14821. }
  14822. ],
  14823. "responses": {
  14824. "200": {
  14825. "description": "OK",
  14826. "schema": {
  14827. "type": "array",
  14828. "items": {
  14829. "$ref": "#/definitions/models.WrBsGoodsInfo"
  14830. }
  14831. }
  14832. },
  14833. "500": {
  14834. "description": "Internal Server Error",
  14835. "schema": {
  14836. "$ref": "#/definitions/app.Response"
  14837. }
  14838. }
  14839. }
  14840. }
  14841. },
  14842. "/WrTrade2/QueryWrBuybackDetail": {
  14843. "get": {
  14844. "security": [
  14845. {
  14846. "ApiKeyAuth": []
  14847. }
  14848. ],
  14849. "produces": [
  14850. "application/json"
  14851. ],
  14852. "tags": [
  14853. "仓单贸易v2"
  14854. ],
  14855. "summary": "查询仓单回购明细",
  14856. "parameters": [
  14857. {
  14858. "type": "integer",
  14859. "description": "融资合同id",
  14860. "name": "scfcontractid",
  14861. "in": "query"
  14862. }
  14863. ],
  14864. "responses": {
  14865. "200": {
  14866. "description": "OK",
  14867. "schema": {
  14868. "type": "array",
  14869. "items": {
  14870. "$ref": "#/definitions/models.WrBuybackDetail"
  14871. }
  14872. }
  14873. },
  14874. "500": {
  14875. "description": "Internal Server Error",
  14876. "schema": {
  14877. "$ref": "#/definitions/app.Response"
  14878. }
  14879. }
  14880. }
  14881. }
  14882. },
  14883. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  14884. "get": {
  14885. "security": [
  14886. {
  14887. "ApiKeyAuth": []
  14888. }
  14889. ],
  14890. "produces": [
  14891. "application/json"
  14892. ],
  14893. "tags": [
  14894. "仓单贸易v2"
  14895. ],
  14896. "summary": "查询固定广告配置",
  14897. "responses": {
  14898. "200": {
  14899. "description": "OK",
  14900. "schema": {
  14901. "type": "array",
  14902. "items": {
  14903. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  14904. }
  14905. }
  14906. },
  14907. "500": {
  14908. "description": "Internal Server Error",
  14909. "schema": {
  14910. "$ref": "#/definitions/app.Response"
  14911. }
  14912. }
  14913. }
  14914. }
  14915. },
  14916. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  14917. "get": {
  14918. "security": [
  14919. {
  14920. "ApiKeyAuth": []
  14921. }
  14922. ],
  14923. "produces": [
  14924. "application/json"
  14925. ],
  14926. "tags": [
  14927. "仓单贸易v2"
  14928. ],
  14929. "summary": "查询合约交收可点选仓单",
  14930. "parameters": [
  14931. {
  14932. "type": "integer",
  14933. "description": "资金账号",
  14934. "name": "accountid",
  14935. "in": "query",
  14936. "required": true
  14937. },
  14938. {
  14939. "type": "integer",
  14940. "description": "商品id",
  14941. "name": "goodsid",
  14942. "in": "query",
  14943. "required": true
  14944. }
  14945. ],
  14946. "responses": {
  14947. "200": {
  14948. "description": "OK",
  14949. "schema": {
  14950. "type": "array",
  14951. "items": {
  14952. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  14953. }
  14954. }
  14955. },
  14956. "500": {
  14957. "description": "Internal Server Error",
  14958. "schema": {
  14959. "$ref": "#/definitions/app.Response"
  14960. }
  14961. }
  14962. }
  14963. }
  14964. },
  14965. "/WrTrade2/QueryWrDeliveryDetail": {
  14966. "get": {
  14967. "security": [
  14968. {
  14969. "ApiKeyAuth": []
  14970. }
  14971. ],
  14972. "produces": [
  14973. "application/json"
  14974. ],
  14975. "tags": [
  14976. "仓单贸易v2"
  14977. ],
  14978. "summary": "查询交收",
  14979. "parameters": [
  14980. {
  14981. "type": "integer",
  14982. "description": "用户id",
  14983. "name": "userid",
  14984. "in": "query",
  14985. "required": true
  14986. },
  14987. {
  14988. "type": "integer",
  14989. "description": "资金账号id",
  14990. "name": "accountid",
  14991. "in": "query"
  14992. },
  14993. {
  14994. "type": "string",
  14995. "description": "开始交易日(yyyymmdd)",
  14996. "name": "begindate",
  14997. "in": "query"
  14998. },
  14999. {
  15000. "type": "string",
  15001. "description": "结束交易日(yyyymmdd)",
  15002. "name": "enddate",
  15003. "in": "query"
  15004. }
  15005. ],
  15006. "responses": {
  15007. "200": {
  15008. "description": "OK",
  15009. "schema": {
  15010. "type": "array",
  15011. "items": {
  15012. "$ref": "#/definitions/models.WrDeliveryDetail"
  15013. }
  15014. }
  15015. },
  15016. "500": {
  15017. "description": "Internal Server Error",
  15018. "schema": {
  15019. "$ref": "#/definitions/app.Response"
  15020. }
  15021. }
  15022. }
  15023. }
  15024. },
  15025. "/WrTrade2/QueryWrDraftUserInfo": {
  15026. "get": {
  15027. "security": [
  15028. {
  15029. "ApiKeyAuth": []
  15030. }
  15031. ],
  15032. "produces": [
  15033. "application/json"
  15034. ],
  15035. "tags": [
  15036. "仓单贸易v2"
  15037. ],
  15038. "summary": "查询实名认证信息",
  15039. "parameters": [
  15040. {
  15041. "type": "integer",
  15042. "description": "用户ID",
  15043. "name": "userid",
  15044. "in": "query",
  15045. "required": true
  15046. },
  15047. {
  15048. "type": "integer",
  15049. "description": "用户状态 1:正常 2:注销",
  15050. "name": "userstatus",
  15051. "in": "query"
  15052. }
  15053. ],
  15054. "responses": {
  15055. "200": {
  15056. "description": "OK",
  15057. "schema": {
  15058. "type": "array",
  15059. "items": {
  15060. "$ref": "#/definitions/models.WrDraftUserInfo"
  15061. }
  15062. }
  15063. },
  15064. "500": {
  15065. "description": "Internal Server Error",
  15066. "schema": {
  15067. "$ref": "#/definitions/app.Response"
  15068. }
  15069. }
  15070. }
  15071. }
  15072. },
  15073. "/WrTrade2/QueryWrFactorTypeInfo": {
  15074. "get": {
  15075. "security": [
  15076. {
  15077. "ApiKeyAuth": []
  15078. }
  15079. ],
  15080. "produces": [
  15081. "application/json"
  15082. ],
  15083. "tags": [
  15084. "仓单贸易v2"
  15085. ],
  15086. "summary": "查询仓单要素详细信息",
  15087. "parameters": [
  15088. {
  15089. "type": "integer",
  15090. "description": "仓单要素id",
  15091. "name": "wrfactortypeid",
  15092. "in": "query",
  15093. "required": true
  15094. }
  15095. ],
  15096. "responses": {
  15097. "200": {
  15098. "description": "OK",
  15099. "schema": {
  15100. "type": "array",
  15101. "items": {
  15102. "$ref": "#/definitions/models.WrFactorTypeInfo"
  15103. }
  15104. }
  15105. },
  15106. "500": {
  15107. "description": "Internal Server Error",
  15108. "schema": {
  15109. "$ref": "#/definitions/app.Response"
  15110. }
  15111. }
  15112. }
  15113. }
  15114. },
  15115. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  15116. "get": {
  15117. "security": [
  15118. {
  15119. "ApiKeyAuth": []
  15120. }
  15121. ],
  15122. "produces": [
  15123. "application/json"
  15124. ],
  15125. "tags": [
  15126. "仓单贸易v2"
  15127. ],
  15128. "summary": "查询仓单要素详细信息列表项",
  15129. "parameters": [
  15130. {
  15131. "type": "integer",
  15132. "description": "仓单要素id",
  15133. "name": "wrfactortypeid",
  15134. "in": "query",
  15135. "required": true
  15136. }
  15137. ],
  15138. "responses": {
  15139. "200": {
  15140. "description": "OK",
  15141. "schema": {
  15142. "type": "array",
  15143. "items": {
  15144. "$ref": "#/definitions/models.WrTypeItem"
  15145. }
  15146. }
  15147. },
  15148. "500": {
  15149. "description": "Internal Server Error",
  15150. "schema": {
  15151. "$ref": "#/definitions/app.Response"
  15152. }
  15153. }
  15154. }
  15155. }
  15156. },
  15157. "/WrTrade2/QueryWrFinanceBuyApply": {
  15158. "get": {
  15159. "security": [
  15160. {
  15161. "ApiKeyAuth": []
  15162. }
  15163. ],
  15164. "description": "页面 融资信息+ / 申请单",
  15165. "produces": [
  15166. "application/json"
  15167. ],
  15168. "tags": [
  15169. "仓单贸易v2"
  15170. ],
  15171. "summary": "查询融资购买申请",
  15172. "parameters": [
  15173. {
  15174. "type": "integer",
  15175. "description": "用户id",
  15176. "name": "userid",
  15177. "in": "query",
  15178. "required": true
  15179. }
  15180. ],
  15181. "responses": {
  15182. "200": {
  15183. "description": "OK",
  15184. "schema": {
  15185. "type": "array",
  15186. "items": {
  15187. "$ref": "#/definitions/models.WrFinanceBuyApply"
  15188. }
  15189. }
  15190. },
  15191. "500": {
  15192. "description": "Internal Server Error",
  15193. "schema": {
  15194. "$ref": "#/definitions/app.Response"
  15195. }
  15196. }
  15197. }
  15198. }
  15199. },
  15200. "/WrTrade2/QueryWrFriendApply": {
  15201. "get": {
  15202. "security": [
  15203. {
  15204. "ApiKeyAuth": []
  15205. }
  15206. ],
  15207. "produces": [
  15208. "application/json"
  15209. ],
  15210. "tags": [
  15211. "仓单贸易v2"
  15212. ],
  15213. "summary": "查询好友申请记录",
  15214. "parameters": [
  15215. {
  15216. "type": "integer",
  15217. "description": "用户id",
  15218. "name": "userid",
  15219. "in": "query",
  15220. "required": true
  15221. }
  15222. ],
  15223. "responses": {
  15224. "200": {
  15225. "description": "OK",
  15226. "schema": {
  15227. "type": "array",
  15228. "items": {
  15229. "$ref": "#/definitions/models.WrFriendApply"
  15230. }
  15231. }
  15232. },
  15233. "500": {
  15234. "description": "Internal Server Error",
  15235. "schema": {
  15236. "$ref": "#/definitions/app.Response"
  15237. }
  15238. }
  15239. }
  15240. }
  15241. },
  15242. "/WrTrade2/QueryWrGoodsInfo": {
  15243. "get": {
  15244. "security": [
  15245. {
  15246. "ApiKeyAuth": []
  15247. }
  15248. ],
  15249. "produces": [
  15250. "application/json"
  15251. ],
  15252. "tags": [
  15253. "仓单贸易v2"
  15254. ],
  15255. "summary": "查询仓单商品信息",
  15256. "parameters": [
  15257. {
  15258. "type": "integer",
  15259. "description": "仓单贸易市场id",
  15260. "name": "marketid",
  15261. "in": "query"
  15262. },
  15263. {
  15264. "type": "integer",
  15265. "description": "0:仓单预售 1:仓单贸易",
  15266. "name": "haswr",
  15267. "in": "query",
  15268. "required": true
  15269. },
  15270. {
  15271. "type": "integer",
  15272. "description": "仓单要素id",
  15273. "name": "wrfactortypeid",
  15274. "in": "query",
  15275. "required": true
  15276. },
  15277. {
  15278. "type": "integer",
  15279. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  15280. "name": "tmplateid",
  15281. "in": "query"
  15282. }
  15283. ],
  15284. "responses": {
  15285. "200": {
  15286. "description": "OK",
  15287. "schema": {
  15288. "type": "array",
  15289. "items": {
  15290. "$ref": "#/definitions/models.WrGoodsInfo"
  15291. }
  15292. }
  15293. },
  15294. "500": {
  15295. "description": "Internal Server Error",
  15296. "schema": {
  15297. "$ref": "#/definitions/app.Response"
  15298. }
  15299. }
  15300. }
  15301. }
  15302. },
  15303. "/WrTrade2/QueryWrMarketTradeConfig": {
  15304. "get": {
  15305. "security": [
  15306. {
  15307. "ApiKeyAuth": []
  15308. }
  15309. ],
  15310. "produces": [
  15311. "application/json"
  15312. ],
  15313. "tags": [
  15314. "仓单贸易v2"
  15315. ],
  15316. "summary": "查询市场交易参数配置",
  15317. "parameters": [
  15318. {
  15319. "type": "integer",
  15320. "description": "市场id",
  15321. "name": "marketid",
  15322. "in": "query"
  15323. }
  15324. ],
  15325. "responses": {
  15326. "200": {
  15327. "description": "OK",
  15328. "schema": {
  15329. "type": "array",
  15330. "items": {
  15331. "$ref": "#/definitions/models.WrMarketTradeConfig"
  15332. }
  15333. }
  15334. },
  15335. "500": {
  15336. "description": "Internal Server Error",
  15337. "schema": {
  15338. "$ref": "#/definitions/app.Response"
  15339. }
  15340. }
  15341. }
  15342. }
  15343. },
  15344. "/WrTrade2/QueryWrOrderDetail": {
  15345. "get": {
  15346. "security": [
  15347. {
  15348. "ApiKeyAuth": []
  15349. }
  15350. ],
  15351. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  15352. "produces": [
  15353. "application/json"
  15354. ],
  15355. "tags": [
  15356. "仓单贸易v2"
  15357. ],
  15358. "summary": "查询仓单委托单",
  15359. "parameters": [
  15360. {
  15361. "type": "integer",
  15362. "description": "页码",
  15363. "name": "page",
  15364. "in": "query"
  15365. },
  15366. {
  15367. "type": "integer",
  15368. "description": "每页条数",
  15369. "name": "pagesize",
  15370. "in": "query"
  15371. },
  15372. {
  15373. "type": "integer",
  15374. "description": "用户id",
  15375. "name": "userid",
  15376. "in": "query",
  15377. "required": true
  15378. },
  15379. {
  15380. "type": "integer",
  15381. "description": "仓单贸易市场id",
  15382. "name": "marketid",
  15383. "in": "query"
  15384. },
  15385. {
  15386. "type": "integer",
  15387. "description": "0:仓单预售 1:仓单贸易",
  15388. "name": "haswr",
  15389. "in": "query",
  15390. "required": true
  15391. },
  15392. {
  15393. "type": "integer",
  15394. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  15395. "name": "bcancel",
  15396. "in": "query"
  15397. },
  15398. {
  15399. "type": "integer",
  15400. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  15401. "name": "wrtradetype",
  15402. "in": "query"
  15403. },
  15404. {
  15405. "type": "string",
  15406. "description": "开始交易日(yyyymmdd)",
  15407. "name": "begindate",
  15408. "in": "query"
  15409. },
  15410. {
  15411. "type": "string",
  15412. "description": "结束交易日(yyyymmdd)",
  15413. "name": "enddate",
  15414. "in": "query"
  15415. }
  15416. ],
  15417. "responses": {
  15418. "200": {
  15419. "description": "OK",
  15420. "schema": {
  15421. "type": "array",
  15422. "items": {
  15423. "$ref": "#/definitions/models.WrOrderDetail"
  15424. }
  15425. }
  15426. },
  15427. "500": {
  15428. "description": "Internal Server Error",
  15429. "schema": {
  15430. "$ref": "#/definitions/app.Response"
  15431. }
  15432. }
  15433. }
  15434. }
  15435. },
  15436. "/WrTrade2/QueryWrOutInApply": {
  15437. "get": {
  15438. "security": [
  15439. {
  15440. "ApiKeyAuth": []
  15441. }
  15442. ],
  15443. "produces": [
  15444. "application/json"
  15445. ],
  15446. "tags": [
  15447. "仓单贸易v2"
  15448. ],
  15449. "summary": "查询提货申请",
  15450. "parameters": [
  15451. {
  15452. "type": "integer",
  15453. "description": "页码",
  15454. "name": "page",
  15455. "in": "query"
  15456. },
  15457. {
  15458. "type": "integer",
  15459. "description": "每页条数",
  15460. "name": "pagesize",
  15461. "in": "query"
  15462. },
  15463. {
  15464. "type": "integer",
  15465. "description": "用户id",
  15466. "name": "userid",
  15467. "in": "query",
  15468. "required": true
  15469. },
  15470. {
  15471. "type": "string",
  15472. "description": "开始交易日(yyyymmdd)",
  15473. "name": "begindate",
  15474. "in": "query"
  15475. },
  15476. {
  15477. "type": "string",
  15478. "description": "结束交易日(yyyymmdd)",
  15479. "name": "enddate",
  15480. "in": "query"
  15481. }
  15482. ],
  15483. "responses": {
  15484. "200": {
  15485. "description": "OK",
  15486. "schema": {
  15487. "type": "array",
  15488. "items": {
  15489. "$ref": "#/definitions/models.WrOutInApply"
  15490. }
  15491. }
  15492. },
  15493. "500": {
  15494. "description": "Internal Server Error",
  15495. "schema": {
  15496. "$ref": "#/definitions/app.Response"
  15497. }
  15498. }
  15499. }
  15500. }
  15501. },
  15502. "/WrTrade2/QueryWrPerformancePlanStep": {
  15503. "get": {
  15504. "security": [
  15505. {
  15506. "ApiKeyAuth": []
  15507. }
  15508. ],
  15509. "produces": [
  15510. "application/json"
  15511. ],
  15512. "tags": [
  15513. "仓单贸易v2"
  15514. ],
  15515. "summary": "查询履约信息详情",
  15516. "parameters": [
  15517. {
  15518. "type": "integer",
  15519. "description": "履约计划id(performanceplanid)",
  15520. "name": "planid",
  15521. "in": "query",
  15522. "required": true
  15523. },
  15524. {
  15525. "type": "integer",
  15526. "description": "当前步骤id",
  15527. "name": "curstepid",
  15528. "in": "query"
  15529. }
  15530. ],
  15531. "responses": {
  15532. "200": {
  15533. "description": "OK",
  15534. "schema": {
  15535. "type": "array",
  15536. "items": {
  15537. "$ref": "#/definitions/models.WrPerformancePlanStep"
  15538. }
  15539. }
  15540. },
  15541. "500": {
  15542. "description": "Internal Server Error",
  15543. "schema": {
  15544. "$ref": "#/definitions/app.Response"
  15545. }
  15546. }
  15547. }
  15548. }
  15549. },
  15550. "/WrTrade2/QueryWrPerformanceStepType": {
  15551. "get": {
  15552. "security": [
  15553. {
  15554. "ApiKeyAuth": []
  15555. }
  15556. ],
  15557. "produces": [
  15558. "application/json"
  15559. ],
  15560. "tags": [
  15561. "仓单贸易v2"
  15562. ],
  15563. "summary": "查询履约步骤枚举",
  15564. "responses": {
  15565. "200": {
  15566. "description": "OK",
  15567. "schema": {
  15568. "type": "array",
  15569. "items": {
  15570. "$ref": "#/definitions/models.WrPerformanceStepType"
  15571. }
  15572. }
  15573. },
  15574. "500": {
  15575. "description": "Internal Server Error",
  15576. "schema": {
  15577. "$ref": "#/definitions/app.Response"
  15578. }
  15579. }
  15580. }
  15581. }
  15582. },
  15583. "/WrTrade2/QueryWrPosition": {
  15584. "get": {
  15585. "security": [
  15586. {
  15587. "ApiKeyAuth": []
  15588. }
  15589. ],
  15590. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  15591. "produces": [
  15592. "application/json"
  15593. ],
  15594. "tags": [
  15595. "仓单贸易v2"
  15596. ],
  15597. "summary": "查询现货(预售)仓单持仓",
  15598. "parameters": [
  15599. {
  15600. "type": "integer",
  15601. "description": "用户id",
  15602. "name": "userid",
  15603. "in": "query",
  15604. "required": true
  15605. },
  15606. {
  15607. "type": "integer",
  15608. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  15609. "name": "querytype",
  15610. "in": "query",
  15611. "required": true
  15612. },
  15613. {
  15614. "type": "integer",
  15615. "description": "0:仓单预售 1:仓单贸易",
  15616. "name": "haswr",
  15617. "in": "query",
  15618. "required": true
  15619. },
  15620. {
  15621. "type": "string",
  15622. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  15623. "name": "dgitemname",
  15624. "in": "query"
  15625. },
  15626. {
  15627. "type": "integer",
  15628. "description": "仓库id(筛选条件)",
  15629. "name": "warehouseid",
  15630. "in": "query"
  15631. },
  15632. {
  15633. "type": "integer",
  15634. "description": "品种id",
  15635. "name": "deliverygoodsid",
  15636. "in": "query"
  15637. },
  15638. {
  15639. "type": "integer",
  15640. "description": "品类id",
  15641. "name": "wrstandardid",
  15642. "in": "query"
  15643. }
  15644. ],
  15645. "responses": {
  15646. "200": {
  15647. "description": "OK",
  15648. "schema": {
  15649. "type": "array",
  15650. "items": {
  15651. "$ref": "#/definitions/models.WrPosition"
  15652. }
  15653. }
  15654. },
  15655. "500": {
  15656. "description": "Internal Server Error",
  15657. "schema": {
  15658. "$ref": "#/definitions/app.Response"
  15659. }
  15660. }
  15661. }
  15662. }
  15663. },
  15664. "/WrTrade2/QueryWrPreSaleInfo": {
  15665. "get": {
  15666. "security": [
  15667. {
  15668. "ApiKeyAuth": []
  15669. }
  15670. ],
  15671. "produces": [
  15672. "application/json"
  15673. ],
  15674. "tags": [
  15675. "仓单贸易v2"
  15676. ],
  15677. "summary": "查询新品发布",
  15678. "parameters": [
  15679. {
  15680. "type": "integer",
  15681. "description": "市场id",
  15682. "name": "marketid",
  15683. "in": "query"
  15684. },
  15685. {
  15686. "type": "string",
  15687. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  15688. "name": "presalestatus",
  15689. "in": "query"
  15690. },
  15691. {
  15692. "type": "integer",
  15693. "description": "摇号标识 - 0:未摇号 1:已摇号",
  15694. "name": "lotteryflag",
  15695. "in": "query"
  15696. },
  15697. {
  15698. "type": "integer",
  15699. "description": "最近多少条记录(按创建时间倒序)",
  15700. "name": "lastnum",
  15701. "in": "query"
  15702. }
  15703. ],
  15704. "responses": {
  15705. "200": {
  15706. "description": "OK",
  15707. "schema": {
  15708. "type": "array",
  15709. "items": {
  15710. "$ref": "#/definitions/models.WrPreSaleInfo"
  15711. }
  15712. }
  15713. },
  15714. "500": {
  15715. "description": "Internal Server Error",
  15716. "schema": {
  15717. "$ref": "#/definitions/app.Response"
  15718. }
  15719. }
  15720. }
  15721. }
  15722. },
  15723. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  15724. "get": {
  15725. "security": [
  15726. {
  15727. "ApiKeyAuth": []
  15728. }
  15729. ],
  15730. "produces": [
  15731. "application/json"
  15732. ],
  15733. "tags": [
  15734. "仓单贸易v2"
  15735. ],
  15736. "summary": "查询价格走势",
  15737. "parameters": [
  15738. {
  15739. "type": "integer",
  15740. "description": "市场id",
  15741. "name": "marketid",
  15742. "in": "query",
  15743. "required": true
  15744. },
  15745. {
  15746. "type": "integer",
  15747. "description": "现货商品id",
  15748. "name": "wrstandardid",
  15749. "in": "query",
  15750. "required": true
  15751. },
  15752. {
  15753. "type": "string",
  15754. "description": "开始交易日(yyyymmdd)",
  15755. "name": "begindate",
  15756. "in": "query"
  15757. },
  15758. {
  15759. "type": "string",
  15760. "description": "结束交易日(yyyymmdd)",
  15761. "name": "enddate",
  15762. "in": "query"
  15763. },
  15764. {
  15765. "type": "integer",
  15766. "description": "最近多少条记录(按交易日倒序)",
  15767. "name": "lastnum",
  15768. "in": "query"
  15769. },
  15770. {
  15771. "type": "boolean",
  15772. "description": "是否今日",
  15773. "name": "istoday",
  15774. "in": "query"
  15775. }
  15776. ],
  15777. "responses": {
  15778. "200": {
  15779. "description": "OK",
  15780. "schema": {
  15781. "type": "array",
  15782. "items": {
  15783. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  15784. }
  15785. }
  15786. },
  15787. "500": {
  15788. "description": "Internal Server Error",
  15789. "schema": {
  15790. "$ref": "#/definitions/app.Response"
  15791. }
  15792. }
  15793. }
  15794. }
  15795. },
  15796. "/WrTrade2/QueryWrScfContract": {
  15797. "get": {
  15798. "security": [
  15799. {
  15800. "ApiKeyAuth": []
  15801. }
  15802. ],
  15803. "produces": [
  15804. "application/json"
  15805. ],
  15806. "tags": [
  15807. "仓单贸易v2"
  15808. ],
  15809. "summary": "查询仓单贸易融资合同",
  15810. "parameters": [
  15811. {
  15812. "type": "integer",
  15813. "description": "用户id",
  15814. "name": "userid",
  15815. "in": "query",
  15816. "required": true
  15817. },
  15818. {
  15819. "type": "integer",
  15820. "description": "融资合同id",
  15821. "name": "scfcontractid",
  15822. "in": "query"
  15823. }
  15824. ],
  15825. "responses": {
  15826. "200": {
  15827. "description": "OK",
  15828. "schema": {
  15829. "type": "array",
  15830. "items": {
  15831. "$ref": "#/definitions/models.WrScfContract"
  15832. }
  15833. }
  15834. },
  15835. "500": {
  15836. "description": "Internal Server Error",
  15837. "schema": {
  15838. "$ref": "#/definitions/app.Response"
  15839. }
  15840. }
  15841. }
  15842. }
  15843. },
  15844. "/WrTrade2/QueryWrScfContractInterest": {
  15845. "get": {
  15846. "security": [
  15847. {
  15848. "ApiKeyAuth": []
  15849. }
  15850. ],
  15851. "produces": [
  15852. "application/json"
  15853. ],
  15854. "tags": [
  15855. "仓单贸易v2"
  15856. ],
  15857. "summary": "查询融资合同费用明细",
  15858. "parameters": [
  15859. {
  15860. "type": "integer",
  15861. "description": "融资合同id",
  15862. "name": "scfcontractid",
  15863. "in": "query"
  15864. }
  15865. ],
  15866. "responses": {
  15867. "200": {
  15868. "description": "OK",
  15869. "schema": {
  15870. "type": "array",
  15871. "items": {
  15872. "$ref": "#/definitions/models.WrScfContractInterest"
  15873. }
  15874. }
  15875. },
  15876. "500": {
  15877. "description": "Internal Server Error",
  15878. "schema": {
  15879. "$ref": "#/definitions/app.Response"
  15880. }
  15881. }
  15882. }
  15883. }
  15884. },
  15885. "/WrTrade2/QueryWrSearchUser": {
  15886. "get": {
  15887. "security": [
  15888. {
  15889. "ApiKeyAuth": []
  15890. }
  15891. ],
  15892. "produces": [
  15893. "application/json"
  15894. ],
  15895. "tags": [
  15896. "仓单贸易v2"
  15897. ],
  15898. "summary": "查询用户",
  15899. "parameters": [
  15900. {
  15901. "type": "string",
  15902. "description": "用户名称(模糊匹配)",
  15903. "name": "username",
  15904. "in": "query",
  15905. "required": true
  15906. }
  15907. ],
  15908. "responses": {
  15909. "200": {
  15910. "description": "OK",
  15911. "schema": {
  15912. "type": "array",
  15913. "items": {
  15914. "$ref": "#/definitions/models.WrSearchUser"
  15915. }
  15916. }
  15917. },
  15918. "500": {
  15919. "description": "Internal Server Error",
  15920. "schema": {
  15921. "$ref": "#/definitions/app.Response"
  15922. }
  15923. }
  15924. }
  15925. }
  15926. },
  15927. "/WrTrade2/QueryWrSpecialMatchOrder": {
  15928. "get": {
  15929. "security": [
  15930. {
  15931. "ApiKeyAuth": []
  15932. }
  15933. ],
  15934. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  15935. "produces": [
  15936. "application/json"
  15937. ],
  15938. "tags": [
  15939. "仓单贸易v2"
  15940. ],
  15941. "summary": "查询指定成交",
  15942. "parameters": [
  15943. {
  15944. "type": "integer",
  15945. "description": "页码",
  15946. "name": "page",
  15947. "in": "query"
  15948. },
  15949. {
  15950. "type": "integer",
  15951. "description": "每页条数",
  15952. "name": "pagesize",
  15953. "in": "query"
  15954. },
  15955. {
  15956. "type": "integer",
  15957. "description": "用户id",
  15958. "name": "userid",
  15959. "in": "query",
  15960. "required": true
  15961. },
  15962. {
  15963. "type": "integer",
  15964. "description": "仓单贸易市场id",
  15965. "name": "marketid",
  15966. "in": "query"
  15967. },
  15968. {
  15969. "type": "integer",
  15970. "description": "0:仓单预售 1:仓单贸易",
  15971. "name": "haswr",
  15972. "in": "query",
  15973. "required": true
  15974. },
  15975. {
  15976. "type": "integer",
  15977. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  15978. "name": "isspecified",
  15979. "in": "query"
  15980. }
  15981. ],
  15982. "responses": {
  15983. "200": {
  15984. "description": "OK",
  15985. "schema": {
  15986. "type": "array",
  15987. "items": {
  15988. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  15989. }
  15990. }
  15991. },
  15992. "500": {
  15993. "description": "Internal Server Error",
  15994. "schema": {
  15995. "$ref": "#/definitions/app.Response"
  15996. }
  15997. }
  15998. }
  15999. }
  16000. },
  16001. "/WrTrade2/QueryWrStandardFactoryItem": {
  16002. "get": {
  16003. "security": [
  16004. {
  16005. "ApiKeyAuth": []
  16006. }
  16007. ],
  16008. "produces": [
  16009. "application/json"
  16010. ],
  16011. "tags": [
  16012. "仓单贸易v2"
  16013. ],
  16014. "summary": "查询品类要素定义项",
  16015. "parameters": [
  16016. {
  16017. "type": "integer",
  16018. "description": "品类id",
  16019. "name": "wrstandardid",
  16020. "in": "query",
  16021. "required": true
  16022. }
  16023. ],
  16024. "responses": {
  16025. "200": {
  16026. "description": "OK",
  16027. "schema": {
  16028. "type": "array",
  16029. "items": {
  16030. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  16031. }
  16032. }
  16033. },
  16034. "500": {
  16035. "description": "Internal Server Error",
  16036. "schema": {
  16037. "$ref": "#/definitions/app.Response"
  16038. }
  16039. }
  16040. }
  16041. }
  16042. },
  16043. "/WrTrade2/QueryWrTradeBargainApply": {
  16044. "get": {
  16045. "security": [
  16046. {
  16047. "ApiKeyAuth": []
  16048. }
  16049. ],
  16050. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  16051. "produces": [
  16052. "application/json"
  16053. ],
  16054. "tags": [
  16055. "仓单贸易v2"
  16056. ],
  16057. "summary": "查询议价单",
  16058. "parameters": [
  16059. {
  16060. "type": "integer",
  16061. "description": "议价人id(摘牌方)",
  16062. "name": "userid",
  16063. "in": "query"
  16064. },
  16065. {
  16066. "type": "integer",
  16067. "description": "挂牌方id(查对方议价时,填写此项)",
  16068. "name": "matchuserid",
  16069. "in": "query"
  16070. },
  16071. {
  16072. "type": "integer",
  16073. "description": "关联委托单id",
  16074. "name": "wrtradeorderid",
  16075. "in": "query"
  16076. },
  16077. {
  16078. "type": "integer",
  16079. "description": "0:仓单预售 1:仓单贸易",
  16080. "name": "haswr",
  16081. "in": "query",
  16082. "required": true
  16083. },
  16084. {
  16085. "type": "string",
  16086. "description": "开始交易日(yyyymmdd)",
  16087. "name": "begindate",
  16088. "in": "query"
  16089. },
  16090. {
  16091. "type": "string",
  16092. "description": "结束交易日(yyyymmdd)",
  16093. "name": "enddate",
  16094. "in": "query"
  16095. }
  16096. ],
  16097. "responses": {
  16098. "200": {
  16099. "description": "OK",
  16100. "schema": {
  16101. "type": "array",
  16102. "items": {
  16103. "$ref": "#/definitions/models.WRTradeBargainApply"
  16104. }
  16105. }
  16106. },
  16107. "500": {
  16108. "description": "Internal Server Error",
  16109. "schema": {
  16110. "$ref": "#/definitions/app.Response"
  16111. }
  16112. }
  16113. }
  16114. }
  16115. },
  16116. "/WrTrade2/QueryWrTradeDetail": {
  16117. "get": {
  16118. "security": [
  16119. {
  16120. "ApiKeyAuth": []
  16121. }
  16122. ],
  16123. "produces": [
  16124. "application/json"
  16125. ],
  16126. "tags": [
  16127. "仓单贸易v2"
  16128. ],
  16129. "summary": "查询仓单成交明细",
  16130. "parameters": [
  16131. {
  16132. "type": "integer",
  16133. "description": "页码",
  16134. "name": "page",
  16135. "in": "query"
  16136. },
  16137. {
  16138. "type": "integer",
  16139. "description": "每页条数",
  16140. "name": "pagesize",
  16141. "in": "query"
  16142. },
  16143. {
  16144. "type": "integer",
  16145. "description": "用户id",
  16146. "name": "userid",
  16147. "in": "query",
  16148. "required": true
  16149. },
  16150. {
  16151. "type": "integer",
  16152. "description": "仓单贸易市场id",
  16153. "name": "marketid",
  16154. "in": "query"
  16155. },
  16156. {
  16157. "type": "integer",
  16158. "description": "0:仓单预售 1:仓单贸易",
  16159. "name": "haswr",
  16160. "in": "query",
  16161. "required": true
  16162. },
  16163. {
  16164. "type": "string",
  16165. "description": "开始交易日(yyyymmdd)",
  16166. "name": "begindate",
  16167. "in": "query"
  16168. },
  16169. {
  16170. "type": "string",
  16171. "description": "结束交易日(yyyymmdd)",
  16172. "name": "enddate",
  16173. "in": "query"
  16174. }
  16175. ],
  16176. "responses": {
  16177. "200": {
  16178. "description": "OK",
  16179. "schema": {
  16180. "type": "array",
  16181. "items": {
  16182. "$ref": "#/definitions/models.WrTradeDetail"
  16183. }
  16184. }
  16185. },
  16186. "500": {
  16187. "description": "Internal Server Error",
  16188. "schema": {
  16189. "$ref": "#/definitions/app.Response"
  16190. }
  16191. }
  16192. }
  16193. }
  16194. },
  16195. "/WrTrade2/QueryWrTradeOrderDetail": {
  16196. "get": {
  16197. "security": [
  16198. {
  16199. "ApiKeyAuth": []
  16200. }
  16201. ],
  16202. "produces": [
  16203. "application/json"
  16204. ],
  16205. "tags": [
  16206. "仓单贸易v2"
  16207. ],
  16208. "summary": "查询合约交易买卖大厅",
  16209. "parameters": [
  16210. {
  16211. "type": "integer",
  16212. "description": "页码",
  16213. "name": "page",
  16214. "in": "query"
  16215. },
  16216. {
  16217. "type": "integer",
  16218. "description": "每页条数",
  16219. "name": "pagesize",
  16220. "in": "query"
  16221. },
  16222. {
  16223. "type": "integer",
  16224. "description": "商品id",
  16225. "name": "goodsid",
  16226. "in": "query",
  16227. "required": true
  16228. },
  16229. {
  16230. "type": "integer",
  16231. "description": "买卖方向 0-买 1-卖",
  16232. "name": "buyorsell",
  16233. "in": "query",
  16234. "required": true
  16235. }
  16236. ],
  16237. "responses": {
  16238. "200": {
  16239. "description": "OK",
  16240. "schema": {
  16241. "type": "array",
  16242. "items": {
  16243. "$ref": "#/definitions/models.WrTradeOrderDetail"
  16244. }
  16245. }
  16246. },
  16247. "500": {
  16248. "description": "Internal Server Error",
  16249. "schema": {
  16250. "$ref": "#/definitions/app.Response"
  16251. }
  16252. }
  16253. }
  16254. }
  16255. },
  16256. "/WrTrade2/QueryWrTradeQuote": {
  16257. "get": {
  16258. "security": [
  16259. {
  16260. "ApiKeyAuth": []
  16261. }
  16262. ],
  16263. "produces": [
  16264. "application/json"
  16265. ],
  16266. "tags": [
  16267. "仓单贸易v2"
  16268. ],
  16269. "summary": "查询仓单贸易成交行情",
  16270. "parameters": [
  16271. {
  16272. "type": "integer",
  16273. "description": "现货商品id",
  16274. "name": "wrstandardid",
  16275. "in": "query",
  16276. "required": true
  16277. },
  16278. {
  16279. "type": "string",
  16280. "description": "开始日期(yyyymmdd)",
  16281. "name": "begindate",
  16282. "in": "query",
  16283. "required": true
  16284. },
  16285. {
  16286. "type": "string",
  16287. "description": "结束日期(yyyymmdd)",
  16288. "name": "enddate",
  16289. "in": "query",
  16290. "required": true
  16291. },
  16292. {
  16293. "type": "integer",
  16294. "description": "市场id",
  16295. "name": "marketid",
  16296. "in": "query"
  16297. }
  16298. ],
  16299. "responses": {
  16300. "200": {
  16301. "description": "OK",
  16302. "schema": {
  16303. "type": "array",
  16304. "items": {
  16305. "$ref": "#/definitions/models.Wrtradetradequote"
  16306. }
  16307. }
  16308. },
  16309. "500": {
  16310. "description": "Internal Server Error",
  16311. "schema": {
  16312. "$ref": "#/definitions/app.Response"
  16313. }
  16314. }
  16315. }
  16316. }
  16317. },
  16318. "/WrTrade2/QueryWrUserFriend": {
  16319. "get": {
  16320. "security": [
  16321. {
  16322. "ApiKeyAuth": []
  16323. }
  16324. ],
  16325. "produces": [
  16326. "application/json"
  16327. ],
  16328. "tags": [
  16329. "仓单贸易v2"
  16330. ],
  16331. "summary": "查询我的朋友",
  16332. "parameters": [
  16333. {
  16334. "type": "integer",
  16335. "description": "用户id",
  16336. "name": "userid",
  16337. "in": "query",
  16338. "required": true
  16339. },
  16340. {
  16341. "type": "integer",
  16342. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  16343. "name": "newuserid",
  16344. "in": "query"
  16345. }
  16346. ],
  16347. "responses": {
  16348. "200": {
  16349. "description": "OK",
  16350. "schema": {
  16351. "type": "array",
  16352. "items": {
  16353. "$ref": "#/definitions/models.WrUserFriend"
  16354. }
  16355. }
  16356. },
  16357. "500": {
  16358. "description": "Internal Server Error",
  16359. "schema": {
  16360. "$ref": "#/definitions/app.Response"
  16361. }
  16362. }
  16363. }
  16364. }
  16365. },
  16366. "/WrTrade2/QueryWrUserReceiptInfo": {
  16367. "get": {
  16368. "security": [
  16369. {
  16370. "ApiKeyAuth": []
  16371. }
  16372. ],
  16373. "produces": [
  16374. "application/json"
  16375. ],
  16376. "tags": [
  16377. "仓单贸易v2"
  16378. ],
  16379. "summary": "查询发票信息",
  16380. "parameters": [
  16381. {
  16382. "type": "integer",
  16383. "description": "用户id",
  16384. "name": "userid",
  16385. "in": "query"
  16386. },
  16387. {
  16388. "type": "integer",
  16389. "description": "发票类型 - 1:个人 2:企业",
  16390. "name": "receipttype",
  16391. "in": "query"
  16392. }
  16393. ],
  16394. "responses": {
  16395. "200": {
  16396. "description": "OK",
  16397. "schema": {
  16398. "type": "array",
  16399. "items": {
  16400. "$ref": "#/definitions/models.WrUserReceiptInfo"
  16401. }
  16402. }
  16403. },
  16404. "500": {
  16405. "description": "Internal Server Error",
  16406. "schema": {
  16407. "$ref": "#/definitions/app.Response"
  16408. }
  16409. }
  16410. }
  16411. }
  16412. },
  16413. "/WrTrade2/QueryXhcpSellBackApply": {
  16414. "get": {
  16415. "security": [
  16416. {
  16417. "ApiKeyAuth": []
  16418. }
  16419. ],
  16420. "produces": [
  16421. "application/json"
  16422. ],
  16423. "tags": [
  16424. "仓单贸易v2"
  16425. ],
  16426. "summary": "查询我的回收申请(新会陈皮)",
  16427. "parameters": [
  16428. {
  16429. "type": "integer",
  16430. "description": "用户ID",
  16431. "name": "userid",
  16432. "in": "query",
  16433. "required": true
  16434. }
  16435. ],
  16436. "responses": {
  16437. "200": {
  16438. "description": "OK",
  16439. "schema": {
  16440. "type": "array",
  16441. "items": {
  16442. "$ref": "#/definitions/models.Xhcpsellbackapply"
  16443. }
  16444. }
  16445. },
  16446. "500": {
  16447. "description": "Internal Server Error",
  16448. "schema": {
  16449. "$ref": "#/definitions/app.Response"
  16450. }
  16451. }
  16452. }
  16453. }
  16454. },
  16455. "/ZJ/GetBankTip": {
  16456. "get": {
  16457. "produces": [
  16458. "application/json"
  16459. ],
  16460. "tags": [
  16461. "中江"
  16462. ],
  16463. "summary": "获取中江网银端出入金提示信息",
  16464. "responses": {
  16465. "200": {
  16466. "description": "OK",
  16467. "schema": {
  16468. "type": "string"
  16469. }
  16470. },
  16471. "500": {
  16472. "description": "Internal Server Error",
  16473. "schema": {
  16474. "$ref": "#/definitions/app.Response"
  16475. }
  16476. }
  16477. }
  16478. }
  16479. },
  16480. "/ZJ/GetCusBankChannels": {
  16481. "get": {
  16482. "produces": [
  16483. "application/json"
  16484. ],
  16485. "tags": [
  16486. "中江"
  16487. ],
  16488. "summary": "获取中江出入金渠道显示列表",
  16489. "responses": {
  16490. "200": {
  16491. "description": "OK",
  16492. "schema": {
  16493. "type": "array",
  16494. "items": {
  16495. "type": "string"
  16496. }
  16497. }
  16498. },
  16499. "500": {
  16500. "description": "Internal Server Error",
  16501. "schema": {
  16502. "$ref": "#/definitions/app.Response"
  16503. }
  16504. }
  16505. }
  16506. }
  16507. }
  16508. },
  16509. "definitions": {
  16510. "app.Response": {
  16511. "type": "object",
  16512. "properties": {
  16513. "code": {
  16514. "type": "integer"
  16515. },
  16516. "data": {},
  16517. "msg": {
  16518. "type": "string"
  16519. },
  16520. "page": {
  16521. "description": "页码",
  16522. "type": "integer"
  16523. },
  16524. "pagesize": {
  16525. "description": "每页条数",
  16526. "type": "integer"
  16527. },
  16528. "total": {
  16529. "description": "总条数",
  16530. "type": "integer"
  16531. }
  16532. }
  16533. },
  16534. "common.ClientMenu": {
  16535. "type": "object",
  16536. "properties": {
  16537. "children": {
  16538. "description": "子菜单列表",
  16539. "type": "array",
  16540. "items": {
  16541. "$ref": "#/definitions/common.ClientMenu"
  16542. }
  16543. },
  16544. "code": {
  16545. "description": "ID",
  16546. "type": "string"
  16547. },
  16548. "isshow": {
  16549. "description": "是否显示",
  16550. "type": "boolean"
  16551. },
  16552. "remark": {
  16553. "description": "备注",
  16554. "type": "string"
  16555. },
  16556. "rulekey": {
  16557. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  16558. "type": "string"
  16559. },
  16560. "sort": {
  16561. "description": "排序",
  16562. "type": "integer"
  16563. },
  16564. "title": {
  16565. "description": "标题",
  16566. "type": "string"
  16567. },
  16568. "type": {
  16569. "description": "类型,1:菜单 2:按钮",
  16570. "type": "integer"
  16571. },
  16572. "url": {
  16573. "description": "URL",
  16574. "type": "string"
  16575. }
  16576. }
  16577. },
  16578. "common.PCWebMenu": {
  16579. "type": "object",
  16580. "properties": {
  16581. "auth": {
  16582. "description": "页面权限列表",
  16583. "type": "array",
  16584. "items": {
  16585. "$ref": "#/definitions/common.PCWebMenuAuth"
  16586. }
  16587. },
  16588. "children": {
  16589. "description": "子菜单列表",
  16590. "type": "array",
  16591. "items": {
  16592. "$ref": "#/definitions/common.PCWebMenu"
  16593. }
  16594. },
  16595. "code": {
  16596. "description": "ID,新版本中权限KEY也是这个字段",
  16597. "type": "string"
  16598. },
  16599. "component": {
  16600. "description": "路由组件",
  16601. "type": "string"
  16602. },
  16603. "isshow": {
  16604. "description": "是否显示",
  16605. "type": "boolean"
  16606. },
  16607. "path": {
  16608. "description": "路由路径",
  16609. "type": "string"
  16610. },
  16611. "remark": {
  16612. "description": "备注",
  16613. "type": "string"
  16614. },
  16615. "rulekey": {
  16616. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16617. "type": "string"
  16618. },
  16619. "sort": {
  16620. "description": "排序",
  16621. "type": "integer"
  16622. },
  16623. "title": {
  16624. "description": "标题",
  16625. "type": "string"
  16626. },
  16627. "url": {
  16628. "description": "URL",
  16629. "type": "string"
  16630. }
  16631. }
  16632. },
  16633. "common.PCWebMenuAuth": {
  16634. "type": "object",
  16635. "properties": {
  16636. "code": {
  16637. "description": "ID,新版本中权限KEY也是这个字段",
  16638. "type": "string"
  16639. },
  16640. "isshow": {
  16641. "description": "是否显示",
  16642. "type": "boolean"
  16643. },
  16644. "label": {
  16645. "description": "标题",
  16646. "type": "string"
  16647. },
  16648. "remark": {
  16649. "description": "备注",
  16650. "type": "string"
  16651. },
  16652. "rulekey": {
  16653. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16654. "type": "string"
  16655. }
  16656. }
  16657. },
  16658. "common.QueryImageConfigsRsp": {
  16659. "type": "object",
  16660. "required": [
  16661. "configid"
  16662. ],
  16663. "properties": {
  16664. "areauserid": {
  16665. "description": "所属机构ID",
  16666. "type": "integer"
  16667. },
  16668. "configid": {
  16669. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  16670. "type": "integer"
  16671. },
  16672. "createdate": {
  16673. "description": "创建时间",
  16674. "type": "string"
  16675. },
  16676. "creatorid": {
  16677. "description": "创建人",
  16678. "type": "integer"
  16679. },
  16680. "imagedetailpath": {
  16681. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  16682. "type": "string"
  16683. },
  16684. "imagepath": {
  16685. "description": "图片",
  16686. "type": "string"
  16687. },
  16688. "imagetype": {
  16689. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  16690. "type": "integer"
  16691. },
  16692. "isshow": {
  16693. "description": "是否展示 - 0:不展示 1:展示",
  16694. "type": "integer"
  16695. },
  16696. "marketid": {
  16697. "description": "市场ID",
  16698. "type": "integer"
  16699. },
  16700. "modifierid": {
  16701. "description": "操作人",
  16702. "type": "integer"
  16703. },
  16704. "sort": {
  16705. "description": "排序",
  16706. "type": "integer"
  16707. },
  16708. "title": {
  16709. "description": "标题",
  16710. "type": "string"
  16711. },
  16712. "trademode": {
  16713. "description": "交易模式",
  16714. "type": "integer"
  16715. },
  16716. "updatedate": {
  16717. "description": "修改时间",
  16718. "type": "string"
  16719. },
  16720. "url": {
  16721. "description": "链接(地址或商品ID)",
  16722. "type": "string"
  16723. },
  16724. "urltype": {
  16725. "description": "链接类型 - 1:直接地址 2:商品ID",
  16726. "type": "integer"
  16727. }
  16728. }
  16729. },
  16730. "common.QueryNoticeRsp": {
  16731. "type": "object",
  16732. "required": [
  16733. "autoid"
  16734. ],
  16735. "properties": {
  16736. "auditoruserid": {
  16737. "description": "审核人",
  16738. "type": "integer"
  16739. },
  16740. "auditremark": {
  16741. "description": "审核备注",
  16742. "type": "string"
  16743. },
  16744. "audittime": {
  16745. "description": "审核日期",
  16746. "type": "string"
  16747. },
  16748. "autoid": {
  16749. "description": "自增ID",
  16750. "type": "integer"
  16751. },
  16752. "content": {
  16753. "description": "内容",
  16754. "type": "string"
  16755. },
  16756. "createtime": {
  16757. "description": "创建时间",
  16758. "type": "string"
  16759. },
  16760. "creatorid": {
  16761. "description": "建仓人",
  16762. "type": "integer"
  16763. },
  16764. "endtime": {
  16765. "description": "结束时间",
  16766. "type": "string"
  16767. },
  16768. "istop": {
  16769. "description": "是否置顶 - 0:不置顶 1:置顶",
  16770. "type": "integer"
  16771. },
  16772. "msgiconurl": {
  16773. "description": "消息图标Url",
  16774. "type": "string"
  16775. },
  16776. "msgtype": {
  16777. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  16778. "type": "integer"
  16779. },
  16780. "publisher": {
  16781. "description": "消息发布者",
  16782. "type": "string"
  16783. },
  16784. "readed": {
  16785. "description": "是否已读",
  16786. "type": "boolean"
  16787. },
  16788. "scheduletime": {
  16789. "description": "计划发送时间",
  16790. "type": "string"
  16791. },
  16792. "sendtype": {
  16793. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  16794. "type": "integer"
  16795. },
  16796. "sentstatus": {
  16797. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  16798. "type": "integer"
  16799. },
  16800. "title": {
  16801. "description": "标题",
  16802. "type": "string"
  16803. },
  16804. "userid": {
  16805. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  16806. "type": "integer"
  16807. }
  16808. }
  16809. },
  16810. "common.QueryProvincesAndCitiesRsp": {
  16811. "type": "object",
  16812. "properties": {
  16813. "cities": {
  16814. "description": "市",
  16815. "type": "array",
  16816. "items": {
  16817. "$ref": "#/definitions/models.Division"
  16818. }
  16819. },
  16820. "province": {
  16821. "description": "省",
  16822. "$ref": "#/definitions/models.Division"
  16823. }
  16824. }
  16825. },
  16826. "common.QueryTableDefineRsp": {
  16827. "type": "object",
  16828. "required": [
  16829. "tablekey"
  16830. ],
  16831. "properties": {
  16832. "columns": {
  16833. "description": "列头信息数组",
  16834. "type": "array",
  16835. "items": {
  16836. "$ref": "#/definitions/models.Tablecolumnconfig"
  16837. }
  16838. },
  16839. "remark": {
  16840. "description": "Remark",
  16841. "type": "string"
  16842. },
  16843. "tabelmenu": {
  16844. "description": "列表菜单",
  16845. "type": "string"
  16846. },
  16847. "tablekey": {
  16848. "description": "列表Key",
  16849. "type": "string"
  16850. },
  16851. "tablename": {
  16852. "description": "列表名称",
  16853. "type": "string"
  16854. },
  16855. "tabletype": {
  16856. "description": "列表类型 - 1:管理端 2:终端",
  16857. "type": "integer"
  16858. }
  16859. }
  16860. },
  16861. "common.QueryTraderMenuRsp": {
  16862. "type": "object",
  16863. "properties": {
  16864. "OperationMenu": {
  16865. "description": "功能菜单",
  16866. "type": "array",
  16867. "items": {
  16868. "$ref": "#/definitions/models.OperationPrimaryMenu"
  16869. }
  16870. },
  16871. "QuoteMenu": {
  16872. "description": "报价牌分类菜单",
  16873. "type": "array",
  16874. "items": {
  16875. "$ref": "#/definitions/models.QuotePrimaryMenu"
  16876. }
  16877. }
  16878. }
  16879. },
  16880. "cptrade.Cptradepositioncancel": {
  16881. "type": "object",
  16882. "required": [
  16883. "cancelid"
  16884. ],
  16885. "properties": {
  16886. "accountid": {
  16887. "description": "申请人账户ID",
  16888. "type": "integer"
  16889. },
  16890. "applystatus": {
  16891. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16892. "type": "integer"
  16893. },
  16894. "applytime": {
  16895. "description": "申请时间",
  16896. "type": "string"
  16897. },
  16898. "cancelid": {
  16899. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  16900. "type": "integer"
  16901. },
  16902. "cancelqty": {
  16903. "description": "注销数量",
  16904. "type": "integer"
  16905. },
  16906. "createtime": {
  16907. "description": "创建时间",
  16908. "type": "string"
  16909. },
  16910. "creatorid": {
  16911. "description": "创建人ID",
  16912. "type": "integer"
  16913. },
  16914. "creatorname": {
  16915. "description": "创建人",
  16916. "type": "string"
  16917. },
  16918. "goodscode": {
  16919. "description": "订单商品代码",
  16920. "type": "string"
  16921. },
  16922. "goodsid": {
  16923. "description": "商品ID",
  16924. "type": "integer"
  16925. },
  16926. "goodsname": {
  16927. "description": "订单商品名称",
  16928. "type": "string"
  16929. },
  16930. "goodunit": {
  16931. "description": "报价单位",
  16932. "type": "string"
  16933. },
  16934. "handlestatus": {
  16935. "description": "处理状态",
  16936. "type": "integer"
  16937. },
  16938. "marketid": {
  16939. "description": "市场ID",
  16940. "type": "integer"
  16941. },
  16942. "marketname": {
  16943. "description": "市场名称",
  16944. "type": "string"
  16945. },
  16946. "tradedate": {
  16947. "description": "交易日(yyyyMMdd)",
  16948. "type": "string"
  16949. },
  16950. "userid": {
  16951. "description": "申请人ID",
  16952. "type": "integer"
  16953. }
  16954. }
  16955. },
  16956. "cptrade.Cptradepresaleapply": {
  16957. "type": "object",
  16958. "required": [
  16959. "applyid"
  16960. ],
  16961. "properties": {
  16962. "accountid": {
  16963. "description": "申请人账户ID",
  16964. "type": "integer"
  16965. },
  16966. "applyid": {
  16967. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  16968. "type": "integer"
  16969. },
  16970. "applyremark": {
  16971. "description": "申请备注",
  16972. "type": "string"
  16973. },
  16974. "applystatus": {
  16975. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16976. "type": "integer"
  16977. },
  16978. "applytime": {
  16979. "description": "申请时间",
  16980. "type": "string"
  16981. },
  16982. "attachmenturl": {
  16983. "description": "附件地址",
  16984. "type": "string"
  16985. },
  16986. "endtime": {
  16987. "description": "预售结束时间",
  16988. "type": "string"
  16989. },
  16990. "goodscode": {
  16991. "description": "商品代码",
  16992. "type": "string"
  16993. },
  16994. "goodsid": {
  16995. "description": "商品ID",
  16996. "type": "integer"
  16997. },
  16998. "goodsname": {
  16999. "description": "商品名称",
  17000. "type": "string"
  17001. },
  17002. "goodunit": {
  17003. "description": "报价单位",
  17004. "type": "string"
  17005. },
  17006. "handlestatus": {
  17007. "description": "处理状态",
  17008. "type": "integer"
  17009. },
  17010. "marketid": {
  17011. "description": "预售市场ID",
  17012. "type": "integer"
  17013. },
  17014. "marketname": {
  17015. "description": "预售市场名称",
  17016. "type": "string"
  17017. },
  17018. "presaleqty": {
  17019. "description": "预售数量",
  17020. "type": "integer"
  17021. },
  17022. "relatedgoodscode": {
  17023. "description": "关联交易合约代码",
  17024. "type": "string"
  17025. },
  17026. "relatedgoodsid": {
  17027. "description": "关联交易合约ID",
  17028. "type": "integer"
  17029. },
  17030. "relatedgoodsname": {
  17031. "description": "关联交易合约名称",
  17032. "type": "string"
  17033. },
  17034. "starttime": {
  17035. "description": "预售开始时间",
  17036. "type": "string"
  17037. },
  17038. "tradedate": {
  17039. "description": "交易日(yyyyMMdd)",
  17040. "type": "string"
  17041. },
  17042. "trademode": {
  17043. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  17044. "type": "integer"
  17045. },
  17046. "userid": {
  17047. "description": "申请人ID",
  17048. "type": "integer"
  17049. }
  17050. }
  17051. },
  17052. "cptrade.Cptradeusergoodsdata": {
  17053. "type": "object",
  17054. "required": [
  17055. "accountid",
  17056. "goodsid"
  17057. ],
  17058. "properties": {
  17059. "EnabledQty": {
  17060. "description": "可用量",
  17061. "type": "integer"
  17062. },
  17063. "GoodsCode": {
  17064. "description": "订单商品代码",
  17065. "type": "string"
  17066. },
  17067. "GoodsName": {
  17068. "description": "订单商品名称",
  17069. "type": "string"
  17070. },
  17071. "WRStandardCode": {
  17072. "description": "仓单标准代码",
  17073. "type": "string"
  17074. },
  17075. "WRStandardName": {
  17076. "description": "仓单标准名称",
  17077. "type": "string"
  17078. },
  17079. "accountid": {
  17080. "description": "账户ID",
  17081. "type": "integer"
  17082. },
  17083. "cancelqty": {
  17084. "description": "注销量",
  17085. "type": "integer"
  17086. },
  17087. "curpresaleqty": {
  17088. "description": "当前预售量",
  17089. "type": "integer"
  17090. },
  17091. "deliveryqty": {
  17092. "description": "交割量",
  17093. "type": "integer"
  17094. },
  17095. "freezeamount": {
  17096. "description": "冻结金额",
  17097. "type": "number"
  17098. },
  17099. "goodsid": {
  17100. "description": "商品ID",
  17101. "type": "integer"
  17102. },
  17103. "goodunit": {
  17104. "description": "报价单位",
  17105. "type": "string"
  17106. },
  17107. "hasspotfreeze": {
  17108. "description": "是否有现货冻结 - 0:否 1:有",
  17109. "type": "integer"
  17110. },
  17111. "inqty": {
  17112. "description": "转入量(总数量)",
  17113. "type": "integer"
  17114. },
  17115. "marketid": {
  17116. "description": "市场ID",
  17117. "type": "integer"
  17118. },
  17119. "presaledamount": {
  17120. "description": "已预售总金额",
  17121. "type": "integer"
  17122. },
  17123. "presaledqty": {
  17124. "description": "已预售量",
  17125. "type": "integer"
  17126. },
  17127. "userid": {
  17128. "description": "用户ID",
  17129. "type": "integer"
  17130. },
  17131. "wrstandardid": {
  17132. "description": "仓单标准ID",
  17133. "type": "integer"
  17134. }
  17135. }
  17136. },
  17137. "cptrade.QueryCPTradeMyBidRsp": {
  17138. "type": "object",
  17139. "required": [
  17140. "accountid",
  17141. "goodsid",
  17142. "marketid",
  17143. "orderid",
  17144. "orderqty",
  17145. "ordertime",
  17146. "tradeprice",
  17147. "tradeqty"
  17148. ],
  17149. "properties": {
  17150. "accountid": {
  17151. "description": "账户ID[报价币种]",
  17152. "type": "integer"
  17153. },
  17154. "goodsid": {
  17155. "description": "商品ID",
  17156. "type": "integer"
  17157. },
  17158. "goodunit": {
  17159. "description": "报价单位",
  17160. "type": "string"
  17161. },
  17162. "marketid": {
  17163. "description": "市场ID",
  17164. "type": "integer"
  17165. },
  17166. "orderid": {
  17167. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17168. "type": "integer"
  17169. },
  17170. "orderprice": {
  17171. "description": "委托价格",
  17172. "type": "number"
  17173. },
  17174. "orderqty": {
  17175. "description": "委托数量",
  17176. "type": "integer"
  17177. },
  17178. "ordertime": {
  17179. "description": "委托时间",
  17180. "type": "string"
  17181. },
  17182. "ordertotalprice": {
  17183. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  17184. "type": "number"
  17185. },
  17186. "ordertotalweight": {
  17187. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  17188. "type": "integer"
  17189. },
  17190. "totaltotalprice": {
  17191. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  17192. "type": "number"
  17193. },
  17194. "tradeprice": {
  17195. "description": "成交价格",
  17196. "type": "number"
  17197. },
  17198. "tradeqty": {
  17199. "description": "成交数量",
  17200. "type": "integer"
  17201. }
  17202. }
  17203. },
  17204. "cptrade.QueryCPTradeOrderDetailRsq": {
  17205. "type": "object",
  17206. "required": [
  17207. "accountid",
  17208. "buildtype",
  17209. "buyorsell",
  17210. "goodsid",
  17211. "marketid",
  17212. "memberuserid",
  17213. "operatetype",
  17214. "orderqty",
  17215. "ordertime",
  17216. "pricemode",
  17217. "strorderid",
  17218. "tradedate",
  17219. "validtype"
  17220. ],
  17221. "properties": {
  17222. "accountid": {
  17223. "description": "账户ID[报价币种]",
  17224. "type": "integer"
  17225. },
  17226. "buildtype": {
  17227. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17228. "type": "integer"
  17229. },
  17230. "buyorsell": {
  17231. "description": "买卖 - 0:买 1:卖",
  17232. "type": "integer"
  17233. },
  17234. "cancelorderid": {
  17235. "description": "撤单单号(撤单时填写)",
  17236. "type": "integer"
  17237. },
  17238. "cancelqty": {
  17239. "description": "撤单数量",
  17240. "type": "integer"
  17241. },
  17242. "clientordertime": {
  17243. "description": "客户端委托时间",
  17244. "type": "string"
  17245. },
  17246. "clientticket": {
  17247. "description": "客户端流水号",
  17248. "type": "string"
  17249. },
  17250. "clienttype": {
  17251. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17252. "type": "integer"
  17253. },
  17254. "closeexchagechargevalue": {
  17255. "description": "平仓交易所手续费设置值",
  17256. "type": "number"
  17257. },
  17258. "closefeealgorithm": {
  17259. "description": "平仓手续费收取方式 1:比率 2:固定",
  17260. "type": "integer"
  17261. },
  17262. "closefreezecharge": {
  17263. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17264. "type": "number"
  17265. },
  17266. "closememberchargevalue": {
  17267. "description": "平仓会员手续费设置值",
  17268. "type": "number"
  17269. },
  17270. "closeqty": {
  17271. "description": "平仓数量(先建后平操作 需要记录)",
  17272. "type": "integer"
  17273. },
  17274. "closetradeqty": {
  17275. "description": "平仓成交数量(先建后平操作,需要记录)",
  17276. "type": "integer"
  17277. },
  17278. "closeunfreezecharge": {
  17279. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17280. "type": "number"
  17281. },
  17282. "delistingtype": {
  17283. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17284. "type": "integer"
  17285. },
  17286. "freezecharge": {
  17287. "description": "冻结手续费",
  17288. "type": "number"
  17289. },
  17290. "freezemargin": {
  17291. "description": "冻结保证金(冻结交易金额)",
  17292. "type": "number"
  17293. },
  17294. "gcaccountid": {
  17295. "description": "账户ID[合约币种]",
  17296. "type": "integer"
  17297. },
  17298. "goodsid": {
  17299. "description": "商品ID",
  17300. "type": "integer"
  17301. },
  17302. "isconfirmexercise": {
  17303. "description": "是否确认行权- 0:否 1:是",
  17304. "type": "integer"
  17305. },
  17306. "ispreexercise": {
  17307. "description": "是否预申报- 0:否 1:是",
  17308. "type": "integer"
  17309. },
  17310. "listingselecttype": {
  17311. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17312. "type": "integer"
  17313. },
  17314. "marginalgorithm": {
  17315. "description": "保证金收取方式 1:比率 2:固定",
  17316. "type": "integer"
  17317. },
  17318. "marginvalue": {
  17319. "description": "即市保证金设置值",
  17320. "type": "number"
  17321. },
  17322. "marketid": {
  17323. "description": "市场ID",
  17324. "type": "integer"
  17325. },
  17326. "marketmaxsub": {
  17327. "description": "市价最大偏移范围",
  17328. "type": "number"
  17329. },
  17330. "memberuserid": {
  17331. "description": "所属会员UserID",
  17332. "type": "integer"
  17333. },
  17334. "openexchagechargevalue": {
  17335. "description": "建仓交易所手续费设置值",
  17336. "type": "number"
  17337. },
  17338. "openfeealgorithm": {
  17339. "description": "建仓手续费收取方式 1:比率 2:固定",
  17340. "type": "integer"
  17341. },
  17342. "openfreezecharge": {
  17343. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17344. "type": "number"
  17345. },
  17346. "openmemberchargevalue": {
  17347. "description": "建仓会员手续费设置值",
  17348. "type": "number"
  17349. },
  17350. "openqty": {
  17351. "description": "开仓数量(先建后平操作,需要记录)",
  17352. "type": "integer"
  17353. },
  17354. "opentradeqty": {
  17355. "description": "开仓成交数量(先建后平操作,需要记录)",
  17356. "type": "integer"
  17357. },
  17358. "openunfreezecharge": {
  17359. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17360. "type": "number"
  17361. },
  17362. "operatetype": {
  17363. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17364. "type": "integer"
  17365. },
  17366. "operatorid": {
  17367. "description": "登录账号(LoginID)",
  17368. "type": "integer"
  17369. },
  17370. "optiontype": {
  17371. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17372. "type": "integer"
  17373. },
  17374. "orderprice": {
  17375. "description": "委托价格",
  17376. "type": "number"
  17377. },
  17378. "orderqty": {
  17379. "description": "委托数量",
  17380. "type": "integer"
  17381. },
  17382. "ordersrc": {
  17383. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17384. "type": "integer"
  17385. },
  17386. "orderstatus": {
  17387. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17388. "type": "integer"
  17389. },
  17390. "ordertime": {
  17391. "description": "委托时间",
  17392. "type": "string"
  17393. },
  17394. "preexerciseprice": {
  17395. "description": "预申报价格",
  17396. "type": "number"
  17397. },
  17398. "premium": {
  17399. "description": "权利金",
  17400. "type": "number"
  17401. },
  17402. "preorderid": {
  17403. "description": "关联预埋单号(止盈止损单时填写)",
  17404. "type": "integer"
  17405. },
  17406. "pricemode": {
  17407. "description": "取价方式 - 1:市价 2: 限价",
  17408. "type": "integer"
  17409. },
  17410. "quoteid": {
  17411. "description": "报价单ID",
  17412. "type": "integer"
  17413. },
  17414. "relatedid": {
  17415. "description": "关联单号(交割单)",
  17416. "type": "integer"
  17417. },
  17418. "retcode": {
  17419. "description": "错误代码",
  17420. "type": "integer"
  17421. },
  17422. "sessionid": {
  17423. "description": "会话ID",
  17424. "type": "integer"
  17425. },
  17426. "strorderid": {
  17427. "description": "委托单号",
  17428. "type": "string"
  17429. },
  17430. "tradedate": {
  17431. "description": "交易日(yyyyMMdd)",
  17432. "type": "string"
  17433. },
  17434. "tradeproperty": {
  17435. "description": "交易属性",
  17436. "type": "integer"
  17437. },
  17438. "tradeqty": {
  17439. "description": "成交数量",
  17440. "type": "integer"
  17441. },
  17442. "unfreezecharge": {
  17443. "description": "解冻手续费",
  17444. "type": "number"
  17445. },
  17446. "unfreezemargin": {
  17447. "description": "解冻保证金",
  17448. "type": "number"
  17449. },
  17450. "updatetime": {
  17451. "description": "更新时间",
  17452. "type": "string"
  17453. },
  17454. "uuid": {
  17455. "description": "发起端唯一id",
  17456. "type": "string"
  17457. },
  17458. "validtime": {
  17459. "description": "有效期限",
  17460. "type": "string"
  17461. },
  17462. "validtype": {
  17463. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  17464. "type": "integer"
  17465. },
  17466. "volumetype": {
  17467. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  17468. "type": "integer"
  17469. }
  17470. }
  17471. },
  17472. "cptrade.QueryMyCPTradeGoodsRsp": {
  17473. "type": "object",
  17474. "required": [
  17475. "goodscode",
  17476. "goodsid",
  17477. "goodsname",
  17478. "marketid",
  17479. "relatedgoodscode",
  17480. "relatedgoodsname"
  17481. ],
  17482. "properties": {
  17483. "accountid": {
  17484. "description": "卖方账户ID",
  17485. "type": "integer"
  17486. },
  17487. "agreeunit": {
  17488. "description": "合约单位",
  17489. "type": "number"
  17490. },
  17491. "applyid": {
  17492. "description": "关联申请ID",
  17493. "type": "integer"
  17494. },
  17495. "attachmenturl": {
  17496. "description": "附件地址",
  17497. "type": "string"
  17498. },
  17499. "createtime": {
  17500. "description": "创建时间",
  17501. "type": "string"
  17502. },
  17503. "currencyid": {
  17504. "description": "报价货币ID",
  17505. "type": "integer"
  17506. },
  17507. "decimalplace": {
  17508. "description": "报价小数位",
  17509. "type": "integer"
  17510. },
  17511. "endtime": {
  17512. "description": "预售结束时间",
  17513. "type": "string"
  17514. },
  17515. "floorprice": {
  17516. "description": "底价[大宗式竞拍]",
  17517. "type": "number"
  17518. },
  17519. "goodscode": {
  17520. "description": "商品代码(预售)",
  17521. "type": "string"
  17522. },
  17523. "goodsdetail": {
  17524. "description": "详情[大宗]",
  17525. "type": "string"
  17526. },
  17527. "goodsid": {
  17528. "description": "商品ID(自增ID SEQ_GOODS)",
  17529. "type": "integer"
  17530. },
  17531. "goodsname": {
  17532. "description": "商品名称(预售)",
  17533. "type": "string"
  17534. },
  17535. "goodunit": {
  17536. "description": "报价单位",
  17537. "type": "string"
  17538. },
  17539. "goodunitid": {
  17540. "description": "报价单位ID",
  17541. "type": "integer"
  17542. },
  17543. "marketid": {
  17544. "description": "所属市场ID",
  17545. "type": "integer"
  17546. },
  17547. "marketname": {
  17548. "description": "预售市场名称",
  17549. "type": "string"
  17550. },
  17551. "presaledamount": {
  17552. "description": "已预售总金额(预售结束时更新)",
  17553. "type": "number"
  17554. },
  17555. "presaledqty": {
  17556. "description": "已预售量(预售结束时更新)",
  17557. "type": "integer"
  17558. },
  17559. "presalemode": {
  17560. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  17561. "type": "integer"
  17562. },
  17563. "presaleqty": {
  17564. "description": "预售数量",
  17565. "type": "integer"
  17566. },
  17567. "refprice": {
  17568. "description": "参考价格[一口价]",
  17569. "type": "number"
  17570. },
  17571. "relatedgoodscode": {
  17572. "description": "商品代码(订单)",
  17573. "type": "string"
  17574. },
  17575. "relatedgoodsid": {
  17576. "description": "关联交易合约ID",
  17577. "type": "integer"
  17578. },
  17579. "relatedgoodsname": {
  17580. "description": "商品名称(订单)",
  17581. "type": "string"
  17582. },
  17583. "relatedmarketid": {
  17584. "description": "关联交易合约市场ID",
  17585. "type": "integer"
  17586. },
  17587. "sellstatus": {
  17588. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17589. "type": "integer"
  17590. },
  17591. "startprice": {
  17592. "description": "起拍价[大宗式竞拍]",
  17593. "type": "number"
  17594. },
  17595. "starttime": {
  17596. "description": "预售开始时间",
  17597. "type": "string"
  17598. },
  17599. "tradedate": {
  17600. "description": "交易日(yyyyMMdd)",
  17601. "type": "string"
  17602. },
  17603. "tradeprice": {
  17604. "description": "成交价[大宗]",
  17605. "type": "number"
  17606. },
  17607. "userid": {
  17608. "description": "卖方用户ID",
  17609. "type": "integer"
  17610. }
  17611. }
  17612. },
  17613. "cptrade.QueryPresaleGoodsExRsp": {
  17614. "type": "object",
  17615. "required": [
  17616. "goodsid"
  17617. ],
  17618. "properties": {
  17619. "attachmenturl": {
  17620. "description": "附件地址",
  17621. "type": "string"
  17622. },
  17623. "createtime": {
  17624. "description": "创建时间",
  17625. "type": "string"
  17626. },
  17627. "endtime": {
  17628. "description": "预售结束时间",
  17629. "type": "string"
  17630. },
  17631. "floorprice": {
  17632. "description": "底价[大宗式竞拍]",
  17633. "type": "number"
  17634. },
  17635. "goodsdetail": {
  17636. "description": "详情[大宗]",
  17637. "type": "string"
  17638. },
  17639. "goodsid": {
  17640. "description": "商品ID(预售)",
  17641. "type": "integer"
  17642. },
  17643. "goodunit": {
  17644. "description": "报价单位",
  17645. "type": "string"
  17646. },
  17647. "marketid": {
  17648. "description": "预售市场ID - 根据预售模式选择市场",
  17649. "type": "integer"
  17650. },
  17651. "presaledamount": {
  17652. "description": "已预售总金额(预售结束时更新)",
  17653. "type": "number"
  17654. },
  17655. "presaledqty": {
  17656. "description": "已预售量(预售结束时更新)",
  17657. "type": "integer"
  17658. },
  17659. "presalemode": {
  17660. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  17661. "type": "integer"
  17662. },
  17663. "presaleqty": {
  17664. "description": "预售数量",
  17665. "type": "integer"
  17666. },
  17667. "refprice": {
  17668. "description": "参考价格[一口价]",
  17669. "type": "number"
  17670. },
  17671. "relatedgoodsid": {
  17672. "description": "关联交易合约ID",
  17673. "type": "integer"
  17674. },
  17675. "relatedmarketid": {
  17676. "description": "关联交易合约市场ID",
  17677. "type": "integer"
  17678. },
  17679. "sellstatus": {
  17680. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17681. "type": "integer"
  17682. },
  17683. "startprice": {
  17684. "description": "起拍价[大宗式竞拍]",
  17685. "type": "number"
  17686. },
  17687. "starttime": {
  17688. "description": "预售开始时间",
  17689. "type": "string"
  17690. },
  17691. "tradedate": {
  17692. "description": "交易日(yyyyMMdd)",
  17693. "type": "string"
  17694. },
  17695. "tradeprice": {
  17696. "description": "成交价[大宗]",
  17697. "type": "number"
  17698. }
  17699. }
  17700. },
  17701. "delivery.QueryDeliveryRelationRsp": {
  17702. "type": "object",
  17703. "required": [
  17704. "begindate",
  17705. "enddate",
  17706. "goodsid",
  17707. "mindeliveryqty",
  17708. "xdeliveryratio"
  17709. ],
  17710. "properties": {
  17711. "begindate": {
  17712. "description": "起始日期(yyyyMMdd)",
  17713. "type": "string"
  17714. },
  17715. "buytemplateid": {
  17716. "description": "买履约计划模板ID",
  17717. "type": "integer"
  17718. },
  17719. "deliverygoodscode": {
  17720. "description": "品种代码",
  17721. "type": "string"
  17722. },
  17723. "deliverygoodsid": {
  17724. "description": "交割商品",
  17725. "type": "integer"
  17726. },
  17727. "deliverygoodsname": {
  17728. "description": "品种名称",
  17729. "type": "string"
  17730. },
  17731. "deliverymode": {
  17732. "description": "交割方式 - 1:点选式 2:申报式",
  17733. "type": "integer"
  17734. },
  17735. "deliverypricerule": {
  17736. "description": "交割价规则- 1:行情价 2:建仓价",
  17737. "type": "integer"
  17738. },
  17739. "deliverytype": {
  17740. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  17741. "type": "integer"
  17742. },
  17743. "enddate": {
  17744. "description": "结束日期(yyyyMMdd)",
  17745. "type": "string"
  17746. },
  17747. "enumdicname": {
  17748. "description": "品类单位名称",
  17749. "type": "string"
  17750. },
  17751. "goodscode": {
  17752. "description": "商品代码",
  17753. "type": "string"
  17754. },
  17755. "goodsid": {
  17756. "description": "交易合约ID",
  17757. "type": "integer"
  17758. },
  17759. "goodsname": {
  17760. "description": "商品名称",
  17761. "type": "string"
  17762. },
  17763. "marketid": {
  17764. "description": "市场ID",
  17765. "type": "integer"
  17766. },
  17767. "mindeliveryqty": {
  17768. "description": "最小交割系数(K)",
  17769. "type": "integer"
  17770. },
  17771. "p2deliveryprice": {
  17772. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  17773. "type": "number"
  17774. },
  17775. "p2deliveryratio": {
  17776. "description": "P2合约系数(p)",
  17777. "type": "integer"
  17778. },
  17779. "p2goodsid": {
  17780. "description": "P2合约ID",
  17781. "type": "integer"
  17782. },
  17783. "p2pricemode": {
  17784. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  17785. "type": "integer"
  17786. },
  17787. "pdeliveryprice": {
  17788. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  17789. "type": "number"
  17790. },
  17791. "pdeliveryratio": {
  17792. "description": "P合约系数(n)",
  17793. "type": "integer"
  17794. },
  17795. "pgoodscode": {
  17796. "description": "p合约代码",
  17797. "type": "string"
  17798. },
  17799. "pgoodsid": {
  17800. "description": "P合约ID",
  17801. "type": "integer"
  17802. },
  17803. "ppricemode": {
  17804. "description": "P合约价格方式 - 1:商品价 2:固定值",
  17805. "type": "integer"
  17806. },
  17807. "rratio": {
  17808. "description": "兑换系数(R)",
  17809. "type": "integer"
  17810. },
  17811. "rratio1": {
  17812. "description": "兑换系数(交易合约)(R1)",
  17813. "type": "integer"
  17814. },
  17815. "rratio2": {
  17816. "description": "兑换系数(仓单标准)(R2)",
  17817. "type": "integer"
  17818. },
  17819. "selltemplateid": {
  17820. "description": "卖履约计划模板ID",
  17821. "type": "integer"
  17822. },
  17823. "wrstandardid": {
  17824. "description": "仓单标准ID",
  17825. "type": "integer"
  17826. },
  17827. "xdeliveryratio": {
  17828. "description": "交易合约系数(m)",
  17829. "type": "integer"
  17830. }
  17831. }
  17832. },
  17833. "ermcp.ExposureDetailRsp": {
  17834. "type": "object",
  17835. "properties": {
  17836. "areauserid": {
  17837. "description": "机构ID",
  17838. "type": "integer"
  17839. },
  17840. "changeQty": {
  17841. "description": "套保变动量",
  17842. "type": "number"
  17843. },
  17844. "contracttype": {
  17845. "description": "现货合同类型 - 1:采购 -1:销售",
  17846. "type": "integer"
  17847. },
  17848. "convertfactor": {
  17849. "description": "标仓系数",
  17850. "type": "number"
  17851. },
  17852. "convertratio": {
  17853. "description": "套保系数",
  17854. "type": "number"
  17855. },
  17856. "createtime": {
  17857. "description": "时间",
  17858. "type": "string"
  17859. },
  17860. "enumdicname": {
  17861. "description": "现货商品单位名称",
  17862. "type": "string"
  17863. },
  17864. "logtype": {
  17865. "description": "类型 - 1:套保计划 2:现货合同",
  17866. "type": "integer"
  17867. },
  17868. "middlegoodsId": {
  17869. "description": "套保商品id",
  17870. "type": "integer"
  17871. },
  17872. "middlegoodscode": {
  17873. "description": "套保商品代码",
  17874. "type": "string"
  17875. },
  17876. "middlegoodsname": {
  17877. "description": "套保商品名称",
  17878. "type": "string"
  17879. },
  17880. "qty": {
  17881. "description": "数量",
  17882. "type": "number"
  17883. },
  17884. "relateNo": {
  17885. "description": "现货合同/套保计划编号",
  17886. "type": "string"
  17887. },
  17888. "wrstandardcode": {
  17889. "description": "现货商品代码",
  17890. "type": "string"
  17891. },
  17892. "wrstandardid": {
  17893. "description": "现货商品ID",
  17894. "type": "integer"
  17895. },
  17896. "wrstandardname": {
  17897. "description": "现货商品名称",
  17898. "type": "string"
  17899. }
  17900. }
  17901. },
  17902. "ermcp.ExposureHedgePosDetailRsp": {
  17903. "type": "object",
  17904. "properties": {
  17905. "buyorsell": {
  17906. "description": "买卖方向 0-买 1-卖",
  17907. "type": "integer"
  17908. },
  17909. "channelbuildtype": {
  17910. "description": "开平方向 1-建仓 2-平仓",
  17911. "type": "integer"
  17912. },
  17913. "goodscode": {
  17914. "description": "商品代码",
  17915. "type": "string"
  17916. },
  17917. "goodsname": {
  17918. "description": "商品名称",
  17919. "type": "string"
  17920. },
  17921. "hedgegoodsid": {
  17922. "description": "商品id",
  17923. "type": "integer"
  17924. },
  17925. "tradeqty": {
  17926. "description": "数量(成交数量)",
  17927. "type": "integer"
  17928. },
  17929. "tradetime": {
  17930. "description": "时间(成交时间)",
  17931. "type": "string"
  17932. }
  17933. }
  17934. },
  17935. "ermcp.ExposureHedgePositionRsp": {
  17936. "type": "object",
  17937. "properties": {
  17938. "accountid": {
  17939. "description": "资金账号[外部母账户]",
  17940. "type": "integer"
  17941. },
  17942. "curbuyposition": {
  17943. "description": "期末买头寸",
  17944. "type": "integer"
  17945. },
  17946. "cursellposition": {
  17947. "description": "期末卖头寸",
  17948. "type": "integer"
  17949. },
  17950. "curtdbuyposition": {
  17951. "description": "期末今日买头寸",
  17952. "type": "integer"
  17953. },
  17954. "curtdsellposition": {
  17955. "description": "期末今日卖头寸",
  17956. "type": "integer"
  17957. },
  17958. "curydbuyposition": {
  17959. "description": "期末上日买头寸",
  17960. "type": "integer"
  17961. },
  17962. "curydsellposition": {
  17963. "description": "期末上日卖头寸",
  17964. "type": "integer"
  17965. },
  17966. "decreaseqty": {
  17967. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  17968. "type": "integer"
  17969. },
  17970. "fretdbuyposition": {
  17971. "description": "冻结今日买头寸",
  17972. "type": "integer"
  17973. },
  17974. "fretdsellposition": {
  17975. "description": "冻结今日卖头寸",
  17976. "type": "integer"
  17977. },
  17978. "freydbuyposition": {
  17979. "description": "冻结上日买头寸",
  17980. "type": "integer"
  17981. },
  17982. "freydsellposition": {
  17983. "description": "冻结上日卖头寸",
  17984. "type": "integer"
  17985. },
  17986. "goodscode": {
  17987. "description": "商品代码",
  17988. "type": "string"
  17989. },
  17990. "goodsid": {
  17991. "description": "商品id",
  17992. "type": "integer"
  17993. },
  17994. "goodsname": {
  17995. "description": "商品名称",
  17996. "type": "string"
  17997. },
  17998. "hedgeaccountcode": {
  17999. "description": "对冲账号",
  18000. "type": "string"
  18001. },
  18002. "hedgegoodsid": {
  18003. "description": "对冲合约ID",
  18004. "type": "integer"
  18005. },
  18006. "increaseqty": {
  18007. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  18008. "type": "integer"
  18009. },
  18010. "marketid": {
  18011. "description": "市场ID",
  18012. "type": "integer"
  18013. },
  18014. "relateduserid": {
  18015. "description": "关联用户id",
  18016. "type": "integer"
  18017. },
  18018. "totalcurqty": {
  18019. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  18020. "type": "integer"
  18021. },
  18022. "totalydqty": {
  18023. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  18024. "type": "integer"
  18025. },
  18026. "tradedate": {
  18027. "description": "交易日(yyyyMMdd)",
  18028. "type": "string"
  18029. },
  18030. "ydbuyposition": {
  18031. "description": "期初买头寸",
  18032. "type": "integer"
  18033. },
  18034. "ydsellposition": {
  18035. "description": "期初卖头寸",
  18036. "type": "integer"
  18037. }
  18038. }
  18039. },
  18040. "ermcp.ExposureSpotDetailRsp": {
  18041. "type": "object",
  18042. "properties": {
  18043. "contracttype": {
  18044. "description": "合同类型 1-采购 -1-销售",
  18045. "type": "integer"
  18046. },
  18047. "createtime": {
  18048. "description": "创建时间",
  18049. "type": "string"
  18050. },
  18051. "enumdicname": {
  18052. "description": "现货商品单位名称",
  18053. "type": "string"
  18054. },
  18055. "logtype": {
  18056. "description": "记录类型 1-套保 2-现货合同",
  18057. "type": "integer"
  18058. },
  18059. "qty": {
  18060. "description": "数量",
  18061. "type": "number"
  18062. },
  18063. "recordname": {
  18064. "description": "类型名称",
  18065. "type": "string"
  18066. },
  18067. "relatedid": {
  18068. "description": "套保计划ID/现货合同ID",
  18069. "type": "string"
  18070. },
  18071. "relatedno": {
  18072. "description": "编号",
  18073. "type": "string"
  18074. },
  18075. "strtime": {
  18076. "description": "时间",
  18077. "type": "string"
  18078. },
  18079. "wrstandardcode": {
  18080. "description": "现货商品代码",
  18081. "type": "string"
  18082. },
  18083. "wrstandardname": {
  18084. "description": "现货商品名称",
  18085. "type": "string"
  18086. }
  18087. }
  18088. },
  18089. "ermcp.ExposureSpotRsp": {
  18090. "type": "object",
  18091. "properties": {
  18092. "areauserid": {
  18093. "description": "所属机构",
  18094. "type": "integer"
  18095. },
  18096. "decreaseqty": {
  18097. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  18098. "type": "number"
  18099. },
  18100. "increaseqty": {
  18101. "description": "增加数量=销售计划数量+采购已定价数量",
  18102. "type": "number"
  18103. },
  18104. "oritoalspotqty": {
  18105. "description": "昨日数量",
  18106. "type": "number"
  18107. },
  18108. "totalspotqty": {
  18109. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  18110. "type": "number"
  18111. },
  18112. "updatetime": {
  18113. "description": "更新时间",
  18114. "type": "string"
  18115. },
  18116. "wrstandardcode": {
  18117. "description": "现货品种代码",
  18118. "type": "string"
  18119. },
  18120. "wrstandardid": {
  18121. "description": "现货商品ID",
  18122. "type": "integer"
  18123. },
  18124. "wrstandardname": {
  18125. "description": "现货品种",
  18126. "type": "string"
  18127. }
  18128. }
  18129. },
  18130. "ermcp.HisExposureRsp": {
  18131. "type": "object",
  18132. "properties": {
  18133. "data": {
  18134. "description": "历史敞口",
  18135. "type": "array",
  18136. "items": {
  18137. "$ref": "#/definitions/models.ErmcpHisExposure"
  18138. }
  18139. },
  18140. "enumdicname": {
  18141. "description": "单位名称",
  18142. "type": "string"
  18143. },
  18144. "middlegoodscode": {
  18145. "description": "套保品种代码",
  18146. "type": "string"
  18147. },
  18148. "middlegoodsid": {
  18149. "description": "套保品种ID",
  18150. "type": "integer"
  18151. },
  18152. "middlegoodsname": {
  18153. "description": "套保品种名称",
  18154. "type": "string"
  18155. }
  18156. }
  18157. },
  18158. "ermcp.PendingAuditCntRsp": {
  18159. "type": "object",
  18160. "properties": {
  18161. "areastockqty": {
  18162. "description": "待审核数量: 库存申请",
  18163. "type": "integer"
  18164. },
  18165. "businessdjqty": {
  18166. "description": "待审核数量: 点价",
  18167. "type": "integer"
  18168. },
  18169. "businessfpqty": {
  18170. "description": "待审核数量: 发票",
  18171. "type": "integer"
  18172. },
  18173. "businessjsqty": {
  18174. "description": "待审核数量: 结算",
  18175. "type": "integer"
  18176. },
  18177. "businesskxqty": {
  18178. "description": "待审核数量: 款项",
  18179. "type": "integer"
  18180. },
  18181. "hedgeplanqty": {
  18182. "description": "待审核数量: 套保计划",
  18183. "type": "integer"
  18184. },
  18185. "spotcontractqty": {
  18186. "description": "待审核数量: 现货合同",
  18187. "type": "integer"
  18188. },
  18189. "userqty": {
  18190. "description": "待审核数量: 用户",
  18191. "type": "integer"
  18192. }
  18193. }
  18194. },
  18195. "ermcp.QryAvalidGPRsp": {
  18196. "type": "object",
  18197. "properties": {
  18198. "goodsgroupid": {
  18199. "description": "期货品种id",
  18200. "type": "integer"
  18201. },
  18202. "goodsgroupname": {
  18203. "description": "期货品种名称",
  18204. "type": "string"
  18205. },
  18206. "goodunitid": {
  18207. "description": "品种单位id",
  18208. "type": "integer"
  18209. },
  18210. "goodunitname": {
  18211. "description": "品种单位名称",
  18212. "type": "string"
  18213. },
  18214. "outergroupcode": {
  18215. "description": "期货品种代码",
  18216. "type": "string"
  18217. }
  18218. }
  18219. },
  18220. "ermcp.QryBusinessDjRsp": {
  18221. "type": "object",
  18222. "properties": {
  18223. "amount": {
  18224. "description": "期初均价",
  18225. "type": "number"
  18226. },
  18227. "applyid": {
  18228. "description": "申请人",
  18229. "type": "string"
  18230. },
  18231. "applyname": {
  18232. "description": "申请人名称",
  18233. "type": "string"
  18234. },
  18235. "applystatus": {
  18236. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18237. "type": "integer"
  18238. },
  18239. "applytime": {
  18240. "description": "申请时间",
  18241. "type": "string"
  18242. },
  18243. "attachurl": {
  18244. "description": "附件",
  18245. "type": "string"
  18246. },
  18247. "auditid": {
  18248. "description": "审核人ID",
  18249. "type": "string"
  18250. },
  18251. "auditname": {
  18252. "description": "审核人名称",
  18253. "type": "string"
  18254. },
  18255. "auditremark": {
  18256. "description": "审核备注",
  18257. "type": "string"
  18258. },
  18259. "audittime": {
  18260. "description": "审核时间",
  18261. "type": "string"
  18262. },
  18263. "buyusername": {
  18264. "description": "采购方名称",
  18265. "type": "string"
  18266. },
  18267. "contractno": {
  18268. "description": "合同编号",
  18269. "type": "string"
  18270. },
  18271. "contractstatus": {
  18272. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18273. "type": "integer"
  18274. },
  18275. "contracttype": {
  18276. "description": "现货合同类型 - 1:采购 -1:销售",
  18277. "type": "integer"
  18278. },
  18279. "deliverygoodscode": {
  18280. "description": "现货品种代码",
  18281. "type": "string"
  18282. },
  18283. "deliverygoodsid": {
  18284. "description": "现货商品ID",
  18285. "type": "integer"
  18286. },
  18287. "deliverygoodsname": {
  18288. "description": "现货品种名称",
  18289. "type": "string"
  18290. },
  18291. "enumdicname": {
  18292. "description": "单位名称",
  18293. "type": "string"
  18294. },
  18295. "goodscode": {
  18296. "description": "点价合约",
  18297. "type": "string"
  18298. },
  18299. "goodsname": {
  18300. "description": "商品名称",
  18301. "type": "string"
  18302. },
  18303. "operateapplyid": {
  18304. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18305. "type": "string"
  18306. },
  18307. "operateapplytype": {
  18308. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18309. "type": "integer"
  18310. },
  18311. "pricedPrice": {
  18312. "description": "点价价格(非必填)",
  18313. "type": "number"
  18314. },
  18315. "pricedQty": {
  18316. "description": "点价数量(非必填)",
  18317. "type": "number"
  18318. },
  18319. "pricemove": {
  18320. "description": "升贴水",
  18321. "type": "number"
  18322. },
  18323. "pricetype": {
  18324. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18325. "type": "integer"
  18326. },
  18327. "relatedid": {
  18328. "description": "现货合同ID",
  18329. "type": "string"
  18330. },
  18331. "sellusername": {
  18332. "description": "销售方名字",
  18333. "type": "string"
  18334. },
  18335. "userid": {
  18336. "description": "用户ID",
  18337. "type": "integer"
  18338. },
  18339. "wrstandardcode": {
  18340. "description": "品类代码",
  18341. "type": "string"
  18342. },
  18343. "wrstandardid": {
  18344. "description": "品类id",
  18345. "type": "integer"
  18346. },
  18347. "wrstandardname": {
  18348. "description": "品类名称",
  18349. "type": "string"
  18350. }
  18351. }
  18352. },
  18353. "ermcp.QryBussinessFpRsp": {
  18354. "type": "object",
  18355. "properties": {
  18356. "applyid": {
  18357. "description": "申请人",
  18358. "type": "string"
  18359. },
  18360. "applyname": {
  18361. "description": "申请人名称",
  18362. "type": "string"
  18363. },
  18364. "applystatus": {
  18365. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18366. "type": "integer"
  18367. },
  18368. "applytime": {
  18369. "description": "申请时间",
  18370. "type": "string"
  18371. },
  18372. "attachurl": {
  18373. "description": "附件",
  18374. "type": "string"
  18375. },
  18376. "auditid": {
  18377. "description": "审核人ID",
  18378. "type": "string"
  18379. },
  18380. "auditname": {
  18381. "description": "审核人名称",
  18382. "type": "string"
  18383. },
  18384. "auditremark": {
  18385. "description": "审核备注",
  18386. "type": "string"
  18387. },
  18388. "audittime": {
  18389. "description": "审核时间",
  18390. "type": "string"
  18391. },
  18392. "buyusername": {
  18393. "description": "采购方名称",
  18394. "type": "string"
  18395. },
  18396. "contractno": {
  18397. "description": "合同编号",
  18398. "type": "string"
  18399. },
  18400. "contractstatus": {
  18401. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18402. "type": "integer"
  18403. },
  18404. "contracttype": {
  18405. "description": "现货合同类型 - 1:采购 -1:销售",
  18406. "type": "integer"
  18407. },
  18408. "deliverygoodscode": {
  18409. "description": "现货品种代码",
  18410. "type": "string"
  18411. },
  18412. "deliverygoodsid": {
  18413. "description": "现货商品ID",
  18414. "type": "integer"
  18415. },
  18416. "deliverygoodsname": {
  18417. "description": "现货品种名称",
  18418. "type": "string"
  18419. },
  18420. "enumdicname": {
  18421. "description": "单位名称",
  18422. "type": "string"
  18423. },
  18424. "goodscode": {
  18425. "description": "点价合约",
  18426. "type": "string"
  18427. },
  18428. "goodsname": {
  18429. "description": "商品名称",
  18430. "type": "string"
  18431. },
  18432. "invoiceamount": {
  18433. "description": "已开收票金额(销售为开票,采购为收票)",
  18434. "type": "number"
  18435. },
  18436. "operateapplyid": {
  18437. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18438. "type": "string"
  18439. },
  18440. "operateapplytype": {
  18441. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18442. "type": "integer"
  18443. },
  18444. "pricemove": {
  18445. "description": "升贴水",
  18446. "type": "number"
  18447. },
  18448. "pricetype": {
  18449. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18450. "type": "integer"
  18451. },
  18452. "relatedid": {
  18453. "description": "现货合同ID",
  18454. "type": "string"
  18455. },
  18456. "sellusername": {
  18457. "description": "销售方名字",
  18458. "type": "string"
  18459. },
  18460. "userid": {
  18461. "description": "用户ID",
  18462. "type": "integer"
  18463. },
  18464. "wrstandardcode": {
  18465. "description": "品类代码",
  18466. "type": "string"
  18467. },
  18468. "wrstandardid": {
  18469. "description": "品类id",
  18470. "type": "integer"
  18471. },
  18472. "wrstandardname": {
  18473. "description": "品类名称",
  18474. "type": "string"
  18475. }
  18476. }
  18477. },
  18478. "ermcp.QryBussinessJsExRsp": {
  18479. "type": "object",
  18480. "properties": {
  18481. "applyid": {
  18482. "description": "申请人",
  18483. "type": "string"
  18484. },
  18485. "applyname": {
  18486. "description": "申请人名称",
  18487. "type": "string"
  18488. },
  18489. "applystatus": {
  18490. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18491. "type": "integer"
  18492. },
  18493. "applytime": {
  18494. "description": "申请时间",
  18495. "type": "string"
  18496. },
  18497. "attachurl": {
  18498. "description": "附件",
  18499. "type": "string"
  18500. },
  18501. "auditid": {
  18502. "description": "审核人ID",
  18503. "type": "string"
  18504. },
  18505. "auditname": {
  18506. "description": "审核人名称",
  18507. "type": "string"
  18508. },
  18509. "auditremark": {
  18510. "description": "审核备注",
  18511. "type": "string"
  18512. },
  18513. "audittime": {
  18514. "description": "审核时间",
  18515. "type": "string"
  18516. },
  18517. "buyusername": {
  18518. "description": "采购方名称",
  18519. "type": "string"
  18520. },
  18521. "contractno": {
  18522. "description": "合同编号",
  18523. "type": "string"
  18524. },
  18525. "contractstatus": {
  18526. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18527. "type": "integer"
  18528. },
  18529. "contracttype": {
  18530. "description": "现货合同类型 - 1:采购 -1:销售",
  18531. "type": "integer"
  18532. },
  18533. "deliverygoodscode": {
  18534. "description": "现货品种代码",
  18535. "type": "string"
  18536. },
  18537. "deliverygoodsid": {
  18538. "description": "现货商品ID",
  18539. "type": "integer"
  18540. },
  18541. "deliverygoodsname": {
  18542. "description": "现货品种名称",
  18543. "type": "string"
  18544. },
  18545. "enumdicname": {
  18546. "description": "单位名称",
  18547. "type": "string"
  18548. },
  18549. "goodscode": {
  18550. "description": "点价合约",
  18551. "type": "string"
  18552. },
  18553. "goodsname": {
  18554. "description": "商品名称",
  18555. "type": "string"
  18556. },
  18557. "operateapplyid": {
  18558. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18559. "type": "string"
  18560. },
  18561. "operateapplytype": {
  18562. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18563. "type": "integer"
  18564. },
  18565. "pricemove": {
  18566. "description": "升贴水",
  18567. "type": "number"
  18568. },
  18569. "pricetype": {
  18570. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18571. "type": "integer"
  18572. },
  18573. "reckontype": {
  18574. "description": "结算类型",
  18575. "type": "string"
  18576. },
  18577. "reckonvalue": {
  18578. "description": "值",
  18579. "type": "number"
  18580. },
  18581. "relatedid": {
  18582. "description": "现货合同ID",
  18583. "type": "string"
  18584. },
  18585. "sellusername": {
  18586. "description": "销售方名字",
  18587. "type": "string"
  18588. },
  18589. "userid": {
  18590. "description": "用户ID",
  18591. "type": "integer"
  18592. },
  18593. "wrstandardcode": {
  18594. "description": "品类代码",
  18595. "type": "string"
  18596. },
  18597. "wrstandardid": {
  18598. "description": "品类id",
  18599. "type": "integer"
  18600. },
  18601. "wrstandardname": {
  18602. "description": "品类名称",
  18603. "type": "string"
  18604. }
  18605. }
  18606. },
  18607. "ermcp.QryBussinessJsRsp": {
  18608. "type": "object",
  18609. "properties": {
  18610. "addmargin": {
  18611. "description": "追加保证金(非必填)",
  18612. "type": "number"
  18613. },
  18614. "applyid": {
  18615. "description": "申请人",
  18616. "type": "string"
  18617. },
  18618. "applyname": {
  18619. "description": "申请人名称",
  18620. "type": "string"
  18621. },
  18622. "applystatus": {
  18623. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18624. "type": "integer"
  18625. },
  18626. "applytime": {
  18627. "description": "申请时间",
  18628. "type": "string"
  18629. },
  18630. "attachurl": {
  18631. "description": "附件",
  18632. "type": "string"
  18633. },
  18634. "auditid": {
  18635. "description": "审核人ID",
  18636. "type": "string"
  18637. },
  18638. "auditname": {
  18639. "description": "审核人名称",
  18640. "type": "string"
  18641. },
  18642. "auditremark": {
  18643. "description": "审核备注",
  18644. "type": "string"
  18645. },
  18646. "audittime": {
  18647. "description": "审核时间",
  18648. "type": "string"
  18649. },
  18650. "buyusername": {
  18651. "description": "采购方名称",
  18652. "type": "string"
  18653. },
  18654. "contractno": {
  18655. "description": "合同编号",
  18656. "type": "string"
  18657. },
  18658. "contractstatus": {
  18659. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18660. "type": "integer"
  18661. },
  18662. "contracttype": {
  18663. "description": "现货合同类型 - 1:采购 -1:销售",
  18664. "type": "integer"
  18665. },
  18666. "decmargin": {
  18667. "description": "减少保证金(非必填)",
  18668. "type": "number"
  18669. },
  18670. "deliverygoodscode": {
  18671. "description": "现货品种代码",
  18672. "type": "string"
  18673. },
  18674. "deliverygoodsid": {
  18675. "description": "现货商品ID",
  18676. "type": "integer"
  18677. },
  18678. "deliverygoodsname": {
  18679. "description": "现货品种名称",
  18680. "type": "string"
  18681. },
  18682. "enumdicname": {
  18683. "description": "单位名称",
  18684. "type": "string"
  18685. },
  18686. "goodscode": {
  18687. "description": "点价合约",
  18688. "type": "string"
  18689. },
  18690. "goodsname": {
  18691. "description": "商品名称",
  18692. "type": "string"
  18693. },
  18694. "operateapplyid": {
  18695. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18696. "type": "string"
  18697. },
  18698. "operateapplytype": {
  18699. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18700. "type": "integer"
  18701. },
  18702. "pricemove": {
  18703. "description": "升贴水",
  18704. "type": "number"
  18705. },
  18706. "pricetype": {
  18707. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18708. "type": "integer"
  18709. },
  18710. "reckonadjustamount": {
  18711. "description": "结算调整金额(非必填)",
  18712. "type": "number"
  18713. },
  18714. "reckonosamount": {
  18715. "description": "结算溢短金额(非必填)",
  18716. "type": "number"
  18717. },
  18718. "reckonotheramount": {
  18719. "description": "结算其他费用(非必填)",
  18720. "type": "number"
  18721. },
  18722. "reckonrealqty": {
  18723. "description": "结算实际数量(非必填)",
  18724. "type": "number"
  18725. },
  18726. "relatedid": {
  18727. "description": "现货合同ID",
  18728. "type": "string"
  18729. },
  18730. "sellusername": {
  18731. "description": "销售方名字",
  18732. "type": "string"
  18733. },
  18734. "userid": {
  18735. "description": "用户ID",
  18736. "type": "integer"
  18737. },
  18738. "wrstandardcode": {
  18739. "description": "品类代码",
  18740. "type": "string"
  18741. },
  18742. "wrstandardid": {
  18743. "description": "品类id",
  18744. "type": "integer"
  18745. },
  18746. "wrstandardname": {
  18747. "description": "品类名称",
  18748. "type": "string"
  18749. }
  18750. }
  18751. },
  18752. "ermcp.QryBussinessKxRsp": {
  18753. "type": "object",
  18754. "properties": {
  18755. "applyid": {
  18756. "description": "申请人",
  18757. "type": "string"
  18758. },
  18759. "applyname": {
  18760. "description": "申请人名称",
  18761. "type": "string"
  18762. },
  18763. "applystatus": {
  18764. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18765. "type": "integer"
  18766. },
  18767. "applytime": {
  18768. "description": "申请时间",
  18769. "type": "string"
  18770. },
  18771. "attachurl": {
  18772. "description": "附件",
  18773. "type": "string"
  18774. },
  18775. "auditid": {
  18776. "description": "审核人ID",
  18777. "type": "string"
  18778. },
  18779. "auditname": {
  18780. "description": "审核人名称",
  18781. "type": "string"
  18782. },
  18783. "auditremark": {
  18784. "description": "审核备注",
  18785. "type": "string"
  18786. },
  18787. "audittime": {
  18788. "description": "审核时间",
  18789. "type": "string"
  18790. },
  18791. "buyusername": {
  18792. "description": "采购方名称",
  18793. "type": "string"
  18794. },
  18795. "contractno": {
  18796. "description": "合同编号",
  18797. "type": "string"
  18798. },
  18799. "contractstatus": {
  18800. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18801. "type": "integer"
  18802. },
  18803. "contracttype": {
  18804. "description": "现货合同类型 - 1:采购 -1:销售",
  18805. "type": "integer"
  18806. },
  18807. "deductamount": {
  18808. "description": "期初均价",
  18809. "type": "number"
  18810. },
  18811. "deliverygoodscode": {
  18812. "description": "现货品种代码",
  18813. "type": "string"
  18814. },
  18815. "deliverygoodsid": {
  18816. "description": "现货商品ID",
  18817. "type": "integer"
  18818. },
  18819. "deliverygoodsname": {
  18820. "description": "现货品种名称",
  18821. "type": "string"
  18822. },
  18823. "enumdicname": {
  18824. "description": "单位名称",
  18825. "type": "string"
  18826. },
  18827. "goodscode": {
  18828. "description": "点价合约",
  18829. "type": "string"
  18830. },
  18831. "goodsname": {
  18832. "description": "商品名称",
  18833. "type": "string"
  18834. },
  18835. "kxtype": {
  18836. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  18837. "type": "integer"
  18838. },
  18839. "operateapplyid": {
  18840. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18841. "type": "string"
  18842. },
  18843. "operateapplytype": {
  18844. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18845. "type": "integer"
  18846. },
  18847. "payamount": {
  18848. "description": "期初均价",
  18849. "type": "number"
  18850. },
  18851. "pricemove": {
  18852. "description": "升贴水",
  18853. "type": "number"
  18854. },
  18855. "pricetype": {
  18856. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18857. "type": "integer"
  18858. },
  18859. "relatedid": {
  18860. "description": "现货合同ID",
  18861. "type": "string"
  18862. },
  18863. "sellusername": {
  18864. "description": "销售方名字",
  18865. "type": "string"
  18866. },
  18867. "userid": {
  18868. "description": "用户ID",
  18869. "type": "integer"
  18870. },
  18871. "wrstandardcode": {
  18872. "description": "品类代码",
  18873. "type": "string"
  18874. },
  18875. "wrstandardid": {
  18876. "description": "品类id",
  18877. "type": "integer"
  18878. },
  18879. "wrstandardname": {
  18880. "description": "品类名称",
  18881. "type": "string"
  18882. }
  18883. }
  18884. },
  18885. "ermcp.QryGGCovertCfgRsp": {
  18886. "type": "object",
  18887. "properties": {
  18888. "convertratio": {
  18889. "description": "折算系数",
  18890. "type": "number"
  18891. },
  18892. "destgoodsgroupid": {
  18893. "description": "目标品种ID",
  18894. "type": "integer"
  18895. },
  18896. "dstcode": {
  18897. "description": "目录品种代码",
  18898. "type": "string"
  18899. },
  18900. "dstexchangecode": {
  18901. "description": "目标期货交易所",
  18902. "type": "string"
  18903. },
  18904. "dstname": {
  18905. "description": "目标品种名称",
  18906. "type": "string"
  18907. },
  18908. "dstunitid": {
  18909. "description": "目标品种单位ID",
  18910. "type": "integer"
  18911. },
  18912. "dstunitidname": {
  18913. "description": "目标品种单位名称",
  18914. "type": "string"
  18915. },
  18916. "modifytime": {
  18917. "description": "修改时间",
  18918. "type": "string"
  18919. },
  18920. "srccode": {
  18921. "description": "源品种代码",
  18922. "type": "string"
  18923. },
  18924. "srcexchangecode": {
  18925. "description": "源期货交易所",
  18926. "type": "string"
  18927. },
  18928. "srcgoodsgroupid": {
  18929. "description": "源品种ID",
  18930. "type": "integer"
  18931. },
  18932. "srcname": {
  18933. "description": "源品种名称",
  18934. "type": "string"
  18935. },
  18936. "srcunitid": {
  18937. "description": "源品种单位ID",
  18938. "type": "integer"
  18939. },
  18940. "srcunitidname": {
  18941. "description": "源品种单位名称",
  18942. "type": "string"
  18943. }
  18944. }
  18945. },
  18946. "ermcp.QryMGChangeLogRsp": {
  18947. "type": "object",
  18948. "properties": {
  18949. "aftervalue": {
  18950. "description": "变更后",
  18951. "type": "number"
  18952. },
  18953. "applyid": {
  18954. "description": "操作人",
  18955. "type": "integer"
  18956. },
  18957. "applyname": {
  18958. "description": "操作人名称",
  18959. "type": "string"
  18960. },
  18961. "applysrc": {
  18962. "description": "操作来源 - 1:管理端 2:终端",
  18963. "type": "integer"
  18964. },
  18965. "beforevalue": {
  18966. "description": "变更前",
  18967. "type": "number"
  18968. },
  18969. "changelogtype": {
  18970. "description": "变更流水类型 - 1:套保比率变更",
  18971. "type": "integer"
  18972. },
  18973. "handlestatus": {
  18974. "description": "处理状态",
  18975. "type": "integer"
  18976. },
  18977. "logdatetime": {
  18978. "description": "流水日期",
  18979. "type": "string"
  18980. },
  18981. "logid": {
  18982. "description": "流水ID",
  18983. "type": "integer"
  18984. },
  18985. "logremark": {
  18986. "description": "流水备注",
  18987. "type": "string"
  18988. },
  18989. "middlegoodsid": {
  18990. "description": "套保品种ID",
  18991. "type": "integer"
  18992. },
  18993. "tradedate": {
  18994. "description": "交易日(yyyyMMdd)",
  18995. "type": "string"
  18996. },
  18997. "updatetime": {
  18998. "description": "更新时间",
  18999. "type": "string"
  19000. }
  19001. }
  19002. },
  19003. "ermcp.QryMiddleGoodsDetailRsp": {
  19004. "type": "object",
  19005. "properties": {
  19006. "cvList": {
  19007. "description": "期货品种折算列表",
  19008. "type": "array",
  19009. "items": {
  19010. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  19011. }
  19012. },
  19013. "mg": {
  19014. "description": "套保品种基本信息",
  19015. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19016. },
  19017. "wrcList": {
  19018. "description": "现货品种列表(现货商品折算配置)",
  19019. "type": "array",
  19020. "items": {
  19021. "$ref": "#/definitions/models.WRSConverTDetail"
  19022. }
  19023. }
  19024. }
  19025. },
  19026. "ermcp.QryMiddleGoodsRsp": {
  19027. "type": "object",
  19028. "properties": {
  19029. "areauserid": {
  19030. "description": "机构用户ID",
  19031. "type": "integer"
  19032. },
  19033. "createtime": {
  19034. "description": "修改时间",
  19035. "type": "string"
  19036. },
  19037. "enumdicname": {
  19038. "description": "单位名称",
  19039. "type": "string"
  19040. },
  19041. "evaluateratio": {
  19042. "description": "估价系数",
  19043. "type": "number"
  19044. },
  19045. "goodsgroupid": {
  19046. "description": "关联期货品种ID",
  19047. "type": "integer"
  19048. },
  19049. "goodsunitid": {
  19050. "description": "单位ID",
  19051. "type": "integer"
  19052. },
  19053. "isvalid": {
  19054. "description": "状态 0-无效(停用) 1-有效(正常)",
  19055. "type": "integer"
  19056. },
  19057. "middlegoodscode": {
  19058. "description": "套保品种代码",
  19059. "type": "string"
  19060. },
  19061. "middlegoodsid": {
  19062. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  19063. "type": "integer"
  19064. },
  19065. "middlegoodsname": {
  19066. "description": "套保品种名称",
  19067. "type": "string"
  19068. },
  19069. "modifytime": {
  19070. "description": "修改时间",
  19071. "type": "string"
  19072. },
  19073. "needarbitrageratio": {
  19074. "description": "套利比例",
  19075. "type": "number"
  19076. },
  19077. "needhedgeratio": {
  19078. "description": "套保比率",
  19079. "type": "number"
  19080. },
  19081. "qtydecimalplace": {
  19082. "description": "数量小数位",
  19083. "type": "integer"
  19084. },
  19085. "relatedgoodsid": {
  19086. "description": "关联交易商品ID",
  19087. "type": "integer"
  19088. },
  19089. "relatedgoodstype": {
  19090. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  19091. "type": "integer"
  19092. },
  19093. "remark": {
  19094. "description": "备注",
  19095. "type": "string"
  19096. }
  19097. }
  19098. },
  19099. "ermcp.QryOPLogRsp": {
  19100. "type": "object",
  19101. "properties": {
  19102. "aftervalue": {
  19103. "description": "变更后",
  19104. "type": "number"
  19105. },
  19106. "applyid": {
  19107. "description": "操作人ID",
  19108. "type": "string"
  19109. },
  19110. "applyname": {
  19111. "description": "操作人名称",
  19112. "type": "string"
  19113. },
  19114. "beforevalue": {
  19115. "description": "变更前",
  19116. "type": "number"
  19117. },
  19118. "biztype": {
  19119. "description": "业务类型 - 1:套保计划 2:现货合同",
  19120. "type": "integer"
  19121. },
  19122. "contracttype": {
  19123. "description": "现货合同类型 - 1:采购 -1:销售",
  19124. "type": "integer"
  19125. },
  19126. "logvalue": {
  19127. "description": "数值",
  19128. "type": "number"
  19129. },
  19130. "operatelogtype": {
  19131. "description": "操作流水类型",
  19132. "type": "integer"
  19133. },
  19134. "operatelogtypedesc": {
  19135. "description": "操作流水类型名称",
  19136. "type": "string"
  19137. },
  19138. "relatedid": {
  19139. "description": "现货合同ID\\套保计划",
  19140. "type": "string"
  19141. },
  19142. "updatetime": {
  19143. "description": "更新时间",
  19144. "type": "string"
  19145. }
  19146. }
  19147. },
  19148. "ermcp.QryUserInfoRsp": {
  19149. "type": "object",
  19150. "properties": {
  19151. "address": {
  19152. "description": "通讯地址",
  19153. "type": "string"
  19154. },
  19155. "attachment1": {
  19156. "description": "附件1",
  19157. "type": "string"
  19158. },
  19159. "audittime": {
  19160. "description": "审核时间",
  19161. "type": "string"
  19162. },
  19163. "cardbackphotourl": {
  19164. "description": "证件反面图片地址",
  19165. "type": "string"
  19166. },
  19167. "cardfrontphotourl": {
  19168. "description": "证件正面图片地址",
  19169. "type": "string"
  19170. },
  19171. "cardnum": {
  19172. "description": "证件号码",
  19173. "type": "string"
  19174. },
  19175. "cardtype": {
  19176. "description": "证件类型",
  19177. "type": "integer"
  19178. },
  19179. "cardtypename": {
  19180. "description": "证件类型名称",
  19181. "type": "string"
  19182. },
  19183. "cityid": {
  19184. "description": "市",
  19185. "type": "integer"
  19186. },
  19187. "contactname": {
  19188. "description": "联系人",
  19189. "type": "string"
  19190. },
  19191. "countryid": {
  19192. "description": "国家",
  19193. "type": "integer"
  19194. },
  19195. "createtime": {
  19196. "description": "创建时间",
  19197. "type": "string"
  19198. },
  19199. "customername": {
  19200. "description": "企业名称",
  19201. "type": "string"
  19202. },
  19203. "districtid": {
  19204. "description": "区域",
  19205. "type": "integer"
  19206. },
  19207. "email": {
  19208. "description": "邮件",
  19209. "type": "string"
  19210. },
  19211. "legalpersonname": {
  19212. "description": "法人姓名(企业)",
  19213. "type": "string"
  19214. },
  19215. "memberuserid": {
  19216. "description": "所属机构ID",
  19217. "type": "integer"
  19218. },
  19219. "mobile": {
  19220. "description": "手机号码",
  19221. "type": "string"
  19222. },
  19223. "modifytime": {
  19224. "description": "修改时间",
  19225. "type": "string"
  19226. },
  19227. "nickname": {
  19228. "description": "昵称",
  19229. "type": "string"
  19230. },
  19231. "provinceid": {
  19232. "description": "省",
  19233. "type": "integer"
  19234. },
  19235. "remark": {
  19236. "description": "备注",
  19237. "type": "string"
  19238. },
  19239. "status": {
  19240. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19241. "type": "integer"
  19242. },
  19243. "statusdesc": {
  19244. "description": "账户状态中文描述",
  19245. "type": "string"
  19246. },
  19247. "taxpayernum": {
  19248. "description": "纳税人识别号",
  19249. "type": "string"
  19250. },
  19251. "telphone": {
  19252. "description": "联系电话",
  19253. "type": "string"
  19254. },
  19255. "userid": {
  19256. "description": "用户ID",
  19257. "type": "integer"
  19258. },
  19259. "userinfotype": {
  19260. "description": "客户类型",
  19261. "type": "string"
  19262. }
  19263. }
  19264. },
  19265. "ermcp.QryWarehouseRsp": {
  19266. "type": "object",
  19267. "properties": {
  19268. "address": {
  19269. "description": "详细地址",
  19270. "type": "string"
  19271. },
  19272. "areauserid": {
  19273. "description": "所属机构",
  19274. "type": "integer"
  19275. },
  19276. "autoid": {
  19277. "description": "自增ID(仓库ID)",
  19278. "type": "integer"
  19279. },
  19280. "cityid": {
  19281. "description": "市",
  19282. "type": "integer"
  19283. },
  19284. "contactname": {
  19285. "description": "联系人",
  19286. "type": "string"
  19287. },
  19288. "contactnum": {
  19289. "description": "联系电话",
  19290. "type": "string"
  19291. },
  19292. "countryid": {
  19293. "description": "国家",
  19294. "type": "integer"
  19295. },
  19296. "createtime": {
  19297. "description": "创建时间",
  19298. "type": "string"
  19299. },
  19300. "districtid": {
  19301. "description": "区",
  19302. "type": "integer"
  19303. },
  19304. "hasvideo": {
  19305. "description": "是否有视频 - 0:无 1:有",
  19306. "type": "integer"
  19307. },
  19308. "provinceid": {
  19309. "description": "省",
  19310. "type": "integer"
  19311. },
  19312. "remark": {
  19313. "description": "审核备注",
  19314. "type": "string"
  19315. },
  19316. "videourl": {
  19317. "description": "视频地址",
  19318. "type": "string"
  19319. },
  19320. "warehousecode": {
  19321. "description": "仓库代码",
  19322. "type": "string"
  19323. },
  19324. "warehousename": {
  19325. "description": "仓库名称",
  19326. "type": "string"
  19327. },
  19328. "warehousestatus": {
  19329. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19330. "type": "integer"
  19331. },
  19332. "warehousetype": {
  19333. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19334. "type": "integer"
  19335. }
  19336. }
  19337. },
  19338. "ermcp.QueryErmcpTradePositionRsp": {
  19339. "type": "object",
  19340. "properties": {
  19341. "agreeunit": {
  19342. "description": "合约单位",
  19343. "type": "number"
  19344. },
  19345. "buyorsell": {
  19346. "description": "方向 - 0:买 1:卖",
  19347. "type": "integer"
  19348. },
  19349. "curpositionqty": {
  19350. "description": "持仓(总仓数量, 期末头寸)",
  19351. "type": "integer"
  19352. },
  19353. "curtdposition": {
  19354. "description": "今仓数量(期末今日头寸)",
  19355. "type": "integer"
  19356. },
  19357. "curtdpositionenabled": {
  19358. "description": "今仓可用",
  19359. "type": "integer"
  19360. },
  19361. "decimalplace": {
  19362. "description": "报价小数位",
  19363. "type": "integer"
  19364. },
  19365. "enableqty": {
  19366. "description": "可用(总仓可用)",
  19367. "type": "integer"
  19368. },
  19369. "exexchangename": {
  19370. "description": "外部交易所名称",
  19371. "type": "string"
  19372. },
  19373. "exexehangecode": {
  19374. "description": "外部交易所代码",
  19375. "type": "string"
  19376. },
  19377. "exexehangeid": {
  19378. "description": "外部交易所id",
  19379. "type": "integer"
  19380. },
  19381. "goodscode": {
  19382. "description": "商品代码(内部)",
  19383. "type": "string"
  19384. },
  19385. "goodsid": {
  19386. "description": "商品ID(自增ID SEQ_GOODS)",
  19387. "type": "integer"
  19388. },
  19389. "goodsname": {
  19390. "description": "商品名称",
  19391. "type": "string"
  19392. },
  19393. "last": {
  19394. "description": "现价",
  19395. "type": "number"
  19396. },
  19397. "marketid": {
  19398. "description": "所属市场ID",
  19399. "type": "integer"
  19400. },
  19401. "openaverageprice": {
  19402. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  19403. "type": "number"
  19404. },
  19405. "opencost": {
  19406. "description": "开仓成本",
  19407. "type": "number"
  19408. },
  19409. "openpl": {
  19410. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  19411. "type": "number"
  19412. },
  19413. "outgoodscode": {
  19414. "description": "商品代码(外部)",
  19415. "type": "string"
  19416. },
  19417. "positionaverageprice": {
  19418. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  19419. "type": "number"
  19420. },
  19421. "positioncost": {
  19422. "description": "持仓成本",
  19423. "type": "number"
  19424. },
  19425. "positionpl": {
  19426. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  19427. "type": "number"
  19428. },
  19429. "positionplrate": {
  19430. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  19431. "type": "number"
  19432. },
  19433. "usedmargin": {
  19434. "description": "占用保证金",
  19435. "type": "number"
  19436. }
  19437. }
  19438. },
  19439. "ermcp.RealtimeExposurePositionRsp": {
  19440. "type": "object",
  19441. "properties": {
  19442. "agreeunit": {
  19443. "description": "合约单位",
  19444. "type": "string"
  19445. },
  19446. "areauserid": {
  19447. "description": "所属机构id",
  19448. "type": "integer"
  19449. },
  19450. "convertratio": {
  19451. "description": "期货品种系数(折算系数)",
  19452. "type": "number"
  19453. },
  19454. "curhedgeqty": {
  19455. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  19456. "type": "number"
  19457. },
  19458. "curqty": {
  19459. "description": "当前持仓",
  19460. "type": "integer"
  19461. },
  19462. "diffhedgeqty": {
  19463. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  19464. "type": "number"
  19465. },
  19466. "diffqty": {
  19467. "description": "持仓变动量=当前持仓-昨日持仓",
  19468. "type": "integer"
  19469. },
  19470. "goodscode": {
  19471. "description": "商品代码",
  19472. "type": "string"
  19473. },
  19474. "goodsid": {
  19475. "description": "商品id",
  19476. "type": "integer"
  19477. },
  19478. "goodsname": {
  19479. "description": "商品名称",
  19480. "type": "string"
  19481. },
  19482. "hedgeaccountcode": {
  19483. "description": "对冲账号(只有外部账号才有值)",
  19484. "type": "string"
  19485. },
  19486. "middlegoodscode": {
  19487. "description": "套保商品代码",
  19488. "type": "string"
  19489. },
  19490. "middlegoodsid": {
  19491. "description": "套保商品id",
  19492. "type": "integer"
  19493. },
  19494. "middlegoodsname": {
  19495. "description": "套保商品名称",
  19496. "type": "string"
  19497. },
  19498. "ydqty": {
  19499. "description": "昨日持仓",
  19500. "type": "integer"
  19501. }
  19502. }
  19503. },
  19504. "ermcp.RealtimeExposureRsp": {
  19505. "type": "object",
  19506. "properties": {
  19507. "AreaUserID": {
  19508. "description": "所属机构",
  19509. "type": "integer"
  19510. },
  19511. "BuyFutureQty": {
  19512. "description": "买入期货数量",
  19513. "type": "number"
  19514. },
  19515. "BuyPlanQty": {
  19516. "description": "采购计划数量",
  19517. "type": "number"
  19518. },
  19519. "BuyPricedQty": {
  19520. "description": "采购合同已定价数量",
  19521. "type": "number"
  19522. },
  19523. "MiddleGoodsCode": {
  19524. "description": "套保品种代码",
  19525. "type": "string"
  19526. },
  19527. "MiddleGoodsHedgeRatio": {
  19528. "description": "套保比例",
  19529. "type": "number"
  19530. },
  19531. "MiddleGoodsID": {
  19532. "description": "套保品种",
  19533. "type": "integer"
  19534. },
  19535. "MiddleGoodsName": {
  19536. "description": "套保品种名称",
  19537. "type": "string"
  19538. },
  19539. "NeedHedgeExposoure": {
  19540. "description": "应套保敞口(套保敞口)",
  19541. "type": "number"
  19542. },
  19543. "NeedHedgeRatio": {
  19544. "description": "应套保敞口比例",
  19545. "type": "number"
  19546. },
  19547. "OriBuyFutureQty": {
  19548. "description": "期初买入期货数量",
  19549. "type": "number"
  19550. },
  19551. "OriBuyPlanQty": {
  19552. "description": "期初采购计划数量",
  19553. "type": "number"
  19554. },
  19555. "OriBuyPricedQty": {
  19556. "description": "期初采购合同已定价数量",
  19557. "type": "number"
  19558. },
  19559. "OriSellFutureQty": {
  19560. "description": "期初卖出期货数量",
  19561. "type": "number"
  19562. },
  19563. "OriSellPlanQty": {
  19564. "description": "期初销售计划数量",
  19565. "type": "number"
  19566. },
  19567. "OriSellPricedQty": {
  19568. "description": "期初销售合同已定价数量",
  19569. "type": "number"
  19570. },
  19571. "OriTotalSpotQty": {
  19572. "description": "期初现货总量",
  19573. "type": "number"
  19574. },
  19575. "SellFutureQty": {
  19576. "description": "卖出期货数量",
  19577. "type": "number"
  19578. },
  19579. "SellPlanQty": {
  19580. "description": "销售计划数量",
  19581. "type": "number"
  19582. },
  19583. "SellPricedQty": {
  19584. "description": "销售合同已定价数量",
  19585. "type": "number"
  19586. },
  19587. "TotalExposure": {
  19588. "description": "总敞口 平安:净敞口",
  19589. "type": "number"
  19590. },
  19591. "TotalFutureQty": {
  19592. "description": "期货总量 平安:保值净持仓量",
  19593. "type": "number"
  19594. },
  19595. "TotalHedgeRatio": {
  19596. "description": "敞口比例",
  19597. "type": "number"
  19598. },
  19599. "TotalNeedHedgeQty": {
  19600. "description": "应套保总量(现货应套保总量)",
  19601. "type": "number"
  19602. },
  19603. "TotalSpotQty": {
  19604. "description": "现货总量 平安:采销定价净值",
  19605. "type": "number"
  19606. },
  19607. "arbitrageqty": {
  19608. "description": "套利量",
  19609. "type": "number"
  19610. },
  19611. "diffArbitrageQty": {
  19612. "description": "期初均价",
  19613. "type": "number"
  19614. },
  19615. "diffExposoureQty": {
  19616. "description": "期初均价",
  19617. "type": "number"
  19618. },
  19619. "diffFutuQty": {
  19620. "description": "期初均价",
  19621. "type": "number"
  19622. },
  19623. "diffHedgeQty": {
  19624. "description": "期初均价",
  19625. "type": "number"
  19626. },
  19627. "diffQty": {
  19628. "description": "期初均价",
  19629. "type": "number"
  19630. },
  19631. "diffSpotHedgeQty": {
  19632. "description": "期初均价",
  19633. "type": "number"
  19634. },
  19635. "diffSpotQty": {
  19636. "description": "期初均价",
  19637. "type": "number"
  19638. },
  19639. "enumdicname": {
  19640. "description": "单位名称",
  19641. "type": "string"
  19642. },
  19643. "hedgeqty": {
  19644. "description": "套保量",
  19645. "type": "number"
  19646. },
  19647. "needarbitrageqty": {
  19648. "description": "应套利量",
  19649. "type": "number"
  19650. },
  19651. "needarbitrageratio": {
  19652. "description": "套利比例",
  19653. "type": "number"
  19654. },
  19655. "needhedgeqty": {
  19656. "description": "应套保量",
  19657. "type": "number"
  19658. },
  19659. "oriarbitrageqty": {
  19660. "description": "期初套利量",
  19661. "type": "number"
  19662. },
  19663. "orihedgeqty": {
  19664. "description": "期初套保量",
  19665. "type": "number"
  19666. },
  19667. "orineedhedgeexposoure": {
  19668. "description": "期初套保敞口",
  19669. "type": "number"
  19670. },
  19671. "oritotalexposure": {
  19672. "description": "期初总敞口",
  19673. "type": "number"
  19674. },
  19675. "oritotalfutureqty": {
  19676. "description": "期初期货总量",
  19677. "type": "number"
  19678. },
  19679. "oritotalneedhedgeqty": {
  19680. "description": "期初现货应套保量",
  19681. "type": "number"
  19682. }
  19683. }
  19684. },
  19685. "erms2.QueryArbitrageStrategyRsp": {
  19686. "type": "object",
  19687. "required": [
  19688. "asapplyid"
  19689. ],
  19690. "properties": {
  19691. "applybasis": {
  19692. "description": "申请基差",
  19693. "type": "number"
  19694. },
  19695. "asapplyid": {
  19696. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  19697. "type": "string"
  19698. },
  19699. "asname": {
  19700. "description": "策略名称",
  19701. "type": "string"
  19702. },
  19703. "asno": {
  19704. "description": "策略编号",
  19705. "type": "string"
  19706. },
  19707. "basischangepl": {
  19708. "description": "基差变动损益[结算更新]",
  19709. "type": "number"
  19710. },
  19711. "biztype": {
  19712. "description": "业务类型 - 1:正向套利 -1:反向套利",
  19713. "type": "integer"
  19714. },
  19715. "closetradedate": {
  19716. "description": "完结交易日(yyyyMMdd)",
  19717. "type": "string"
  19718. },
  19719. "curbasis": {
  19720. "description": "当前基差[结算更新]",
  19721. "type": "number"
  19722. },
  19723. "deliverygoodsid": {
  19724. "description": "现货品种ID",
  19725. "type": "integer"
  19726. },
  19727. "futureavgprice": {
  19728. "description": "期货建仓均价",
  19729. "type": "number"
  19730. },
  19731. "futurecloseamount": {
  19732. "description": "期货平仓金额",
  19733. "type": "number"
  19734. },
  19735. "futurecloseqty": {
  19736. "description": "期货平仓数量",
  19737. "type": "number"
  19738. },
  19739. "futureopenamount": {
  19740. "description": "期货开仓金额",
  19741. "type": "number"
  19742. },
  19743. "futureopenqty": {
  19744. "description": "期货开仓数量",
  19745. "type": "number"
  19746. },
  19747. "futurepl": {
  19748. "description": "期货总盈亏[结算更新]",
  19749. "type": "number"
  19750. },
  19751. "futureqty": {
  19752. "description": "期货持仓数量",
  19753. "type": "number"
  19754. },
  19755. "futurequote": {
  19756. "description": "期货额度",
  19757. "type": "number"
  19758. },
  19759. "goodsgroupid": {
  19760. "description": "期货品种ID",
  19761. "type": "integer"
  19762. },
  19763. "marketid": {
  19764. "description": "市场ID",
  19765. "type": "integer"
  19766. },
  19767. "netexposure": {
  19768. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  19769. "type": "number"
  19770. },
  19771. "netexposurepl": {
  19772. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  19773. "type": "number"
  19774. },
  19775. "netexposurerate": {
  19776. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  19777. "type": "number"
  19778. },
  19779. "openbasis": {
  19780. "description": "建仓基差",
  19781. "type": "number"
  19782. },
  19783. "pricedspotqty": {
  19784. "description": "已定价现货数量",
  19785. "type": "number"
  19786. },
  19787. "pricedspotqtynotax": {
  19788. "description": "已定价现货不含税数量",
  19789. "type": "number"
  19790. },
  19791. "remark": {
  19792. "description": "备注",
  19793. "type": "string"
  19794. },
  19795. "spotavgprice": {
  19796. "description": "现货均价",
  19797. "type": "number"
  19798. },
  19799. "spotbuyamount": {
  19800. "description": "现货采购金额",
  19801. "type": "number"
  19802. },
  19803. "spotbuyqty": {
  19804. "description": "现货采购数量",
  19805. "type": "number"
  19806. },
  19807. "spotpl": {
  19808. "description": "现货总盈亏[结算更新]",
  19809. "type": "number"
  19810. },
  19811. "spotquota": {
  19812. "description": "现货额度",
  19813. "type": "number"
  19814. },
  19815. "spotsellamount": {
  19816. "description": "现货销售金额",
  19817. "type": "number"
  19818. },
  19819. "spotsellqty": {
  19820. "description": "现货销售数量",
  19821. "type": "number"
  19822. },
  19823. "spotusedquota": {
  19824. "description": "现货占用资金",
  19825. "type": "number"
  19826. },
  19827. "strategystatus": {
  19828. "description": "策略状态 - 0:未结束 1:已结束",
  19829. "type": "integer"
  19830. },
  19831. "totalpl": {
  19832. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  19833. "type": "number"
  19834. },
  19835. "tradedate": {
  19836. "description": "交易日(yyyyMMdd)",
  19837. "type": "string"
  19838. },
  19839. "updatetime": {
  19840. "description": "更新时间",
  19841. "type": "string"
  19842. },
  19843. "usedquota": {
  19844. "description": "已占用资金",
  19845. "type": "number"
  19846. },
  19847. "userid": {
  19848. "description": "所属机构",
  19849. "type": "integer"
  19850. }
  19851. }
  19852. },
  19853. "erms2.QueryInnerTradeDetailRsp": {
  19854. "type": "object",
  19855. "required": [
  19856. "asapplyid",
  19857. "buyorsell",
  19858. "goodscode",
  19859. "goodsgroupid",
  19860. "goodsgroupname",
  19861. "goodsname",
  19862. "tradeid"
  19863. ],
  19864. "properties": {
  19865. "accountid": {
  19866. "description": "账号ID",
  19867. "type": "integer"
  19868. },
  19869. "agreeunit": {
  19870. "description": "合约单位",
  19871. "type": "number"
  19872. },
  19873. "asapplyid": {
  19874. "description": "策略申请ID",
  19875. "type": "integer"
  19876. },
  19877. "asname": {
  19878. "description": "策略名称",
  19879. "type": "string"
  19880. },
  19881. "asno": {
  19882. "description": "策略编号",
  19883. "type": "string"
  19884. },
  19885. "buyorsell": {
  19886. "description": "方向 - 0:买 1:卖",
  19887. "type": "integer"
  19888. },
  19889. "channelbuildtype": {
  19890. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  19891. "type": "integer"
  19892. },
  19893. "closetype": {
  19894. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19895. "type": "integer"
  19896. },
  19897. "decimalplace": {
  19898. "description": "报价小数位",
  19899. "type": "integer"
  19900. },
  19901. "detailtype": {
  19902. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  19903. "type": "integer"
  19904. },
  19905. "exexchangecode": {
  19906. "description": "外部交易所代码",
  19907. "type": "string"
  19908. },
  19909. "exexchangename": {
  19910. "description": "外部交易所名称",
  19911. "type": "string"
  19912. },
  19913. "goodscode": {
  19914. "description": "商品代码(合约)",
  19915. "type": "string"
  19916. },
  19917. "goodsgroupid": {
  19918. "description": "商品组ID(品种ID)",
  19919. "type": "integer"
  19920. },
  19921. "goodsgroupname": {
  19922. "description": "商品组名称(品种)",
  19923. "type": "string"
  19924. },
  19925. "goodsid": {
  19926. "description": "商品ID",
  19927. "type": "integer"
  19928. },
  19929. "goodsname": {
  19930. "description": "商品名称(合约)",
  19931. "type": "string"
  19932. },
  19933. "goodunit": {
  19934. "description": "报价单位",
  19935. "type": "string"
  19936. },
  19937. "marketid": {
  19938. "description": "市场ID",
  19939. "type": "integer"
  19940. },
  19941. "orderid": {
  19942. "description": "委托单号",
  19943. "type": "string"
  19944. },
  19945. "outgoodscode": {
  19946. "description": "商品代码(外部)",
  19947. "type": "string"
  19948. },
  19949. "relatedouttradeid": {
  19950. "description": "关联外部成交单ID",
  19951. "type": "string"
  19952. },
  19953. "remark": {
  19954. "description": "备注",
  19955. "type": "string"
  19956. },
  19957. "spotcontractid": {
  19958. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  19959. "type": "integer"
  19960. },
  19961. "spotcontractno": {
  19962. "description": "现货合同编号",
  19963. "type": "string"
  19964. },
  19965. "tradeid": {
  19966. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19967. "type": "string"
  19968. },
  19969. "tradeprice": {
  19970. "description": "成交价格",
  19971. "type": "number"
  19972. },
  19973. "tradeqty": {
  19974. "description": "成交数量",
  19975. "type": "integer"
  19976. },
  19977. "tradetime": {
  19978. "description": "成交时间",
  19979. "type": "string"
  19980. },
  19981. "updatetime": {
  19982. "description": "更新时间",
  19983. "type": "string"
  19984. }
  19985. }
  19986. },
  19987. "erms2.QuerySpotContractRsp": {
  19988. "type": "object",
  19989. "required": [
  19990. "spotcontractid"
  19991. ],
  19992. "properties": {
  19993. "accountid": {
  19994. "description": "资金账户ID",
  19995. "type": "integer"
  19996. },
  19997. "areauserid": {
  19998. "description": "所属机构",
  19999. "type": "integer"
  20000. },
  20001. "closedate": {
  20002. "description": "终止日期",
  20003. "type": "string"
  20004. },
  20005. "closeremark": {
  20006. "description": "结束备注",
  20007. "type": "string"
  20008. },
  20009. "closetradedate": {
  20010. "description": "完结交易日(yyyyMMdd)",
  20011. "type": "string"
  20012. },
  20013. "closetype": {
  20014. "description": "终止类型 - 1:违约 2:提前终止",
  20015. "type": "integer"
  20016. },
  20017. "contractamount": {
  20018. "description": "合同金额",
  20019. "type": "number"
  20020. },
  20021. "contractattachment": {
  20022. "description": "合同附件",
  20023. "type": "string"
  20024. },
  20025. "contractno": {
  20026. "description": "现货合同编号",
  20027. "type": "string"
  20028. },
  20029. "contractqty": {
  20030. "description": "合同数量(数值) (用于计算)",
  20031. "type": "number"
  20032. },
  20033. "contractqtychar": {
  20034. "description": "合同数量\\已订价数量 (用于显示)",
  20035. "type": "string"
  20036. },
  20037. "contractstatus": {
  20038. "description": "合同状态 - 0:未结束 1:已结束",
  20039. "type": "integer"
  20040. },
  20041. "contracttype": {
  20042. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  20043. "type": "integer"
  20044. },
  20045. "customeraccountid": {
  20046. "description": "客户资金账户ID",
  20047. "type": "integer"
  20048. },
  20049. "customeruserid": {
  20050. "description": "客户ID",
  20051. "type": "integer"
  20052. },
  20053. "deliverygoodsdesc": {
  20054. "description": "品种说明",
  20055. "type": "string"
  20056. },
  20057. "deliverygoodsid": {
  20058. "description": "现货品种ID",
  20059. "type": "integer"
  20060. },
  20061. "handlestatus": {
  20062. "description": "处理状态",
  20063. "type": "integer"
  20064. },
  20065. "invoiceatt": {
  20066. "description": "发票附件",
  20067. "type": "string"
  20068. },
  20069. "invoicedatetime": {
  20070. "description": "开收票更新时间",
  20071. "type": "string"
  20072. },
  20073. "invoiceopentime": {
  20074. "description": "开票时间",
  20075. "type": "string"
  20076. },
  20077. "invoiceremark": {
  20078. "description": "发票备注",
  20079. "type": "string"
  20080. },
  20081. "invoicestatus": {
  20082. "description": "开收票状态 - 0:未开票 1:已开票",
  20083. "type": "integer"
  20084. },
  20085. "lastdate": {
  20086. "description": "交货时间",
  20087. "type": "string"
  20088. },
  20089. "marketid": {
  20090. "description": "市场ID",
  20091. "type": "integer"
  20092. },
  20093. "paydatetime": {
  20094. "description": "收付款更新时间",
  20095. "type": "string"
  20096. },
  20097. "payremark": {
  20098. "description": "收付款备注",
  20099. "type": "string"
  20100. },
  20101. "paystatus": {
  20102. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  20103. "type": "integer"
  20104. },
  20105. "positionqty": {
  20106. "description": "头寸数量 - 合同数量去小数部分",
  20107. "type": "integer"
  20108. },
  20109. "producttype": {
  20110. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20111. "type": "integer"
  20112. },
  20113. "relatedqty": {
  20114. "description": "已关联数量",
  20115. "type": "number"
  20116. },
  20117. "relatedstatus": {
  20118. "description": "关联完结状态 - 0:未结束 1:已结束",
  20119. "type": "integer"
  20120. },
  20121. "remark": {
  20122. "description": "备注",
  20123. "type": "string"
  20124. },
  20125. "signdate": {
  20126. "description": "签订日期",
  20127. "type": "string"
  20128. },
  20129. "spotcontractid": {
  20130. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  20131. "type": "string"
  20132. },
  20133. "spotdatetime": {
  20134. "description": "收发货更新时间",
  20135. "type": "string"
  20136. },
  20137. "spotprice": {
  20138. "description": "价格",
  20139. "type": "number"
  20140. },
  20141. "spotremark": {
  20142. "description": "收发货备注",
  20143. "type": "string"
  20144. },
  20145. "spotstatus": {
  20146. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  20147. "type": "integer"
  20148. },
  20149. "tradedate": {
  20150. "description": "交易日(yyyyMMdd)",
  20151. "type": "string"
  20152. },
  20153. "userid": {
  20154. "description": "业务员用户ID",
  20155. "type": "integer"
  20156. },
  20157. "warehouseid": {
  20158. "description": "仓库ID",
  20159. "type": "integer"
  20160. },
  20161. "wrfactortypeid": {
  20162. "description": "仓单要素类型ID",
  20163. "type": "integer"
  20164. },
  20165. "wrstandardid": {
  20166. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  20167. "type": "integer"
  20168. }
  20169. }
  20170. },
  20171. "erms3.AddErms2ASApplyReq": {
  20172. "type": "object",
  20173. "required": [
  20174. "asapplyid"
  20175. ],
  20176. "properties": {
  20177. "applybasis": {
  20178. "description": "申请基差",
  20179. "type": "number"
  20180. },
  20181. "applystatus": {
  20182. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20183. "type": "integer"
  20184. },
  20185. "asapplyid": {
  20186. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  20187. "type": "integer"
  20188. },
  20189. "asname": {
  20190. "description": "策略名称",
  20191. "type": "string"
  20192. },
  20193. "asno": {
  20194. "description": "策略编号",
  20195. "type": "string"
  20196. },
  20197. "auditid": {
  20198. "description": "审核人",
  20199. "type": "integer"
  20200. },
  20201. "auditremark": {
  20202. "description": "审核备注",
  20203. "type": "string"
  20204. },
  20205. "audittime": {
  20206. "description": "审核时间",
  20207. "type": "string"
  20208. },
  20209. "biztype": {
  20210. "description": "业务类型 - 1:正向套利 2:反向套利",
  20211. "type": "integer"
  20212. },
  20213. "createtime": {
  20214. "description": "创建时间",
  20215. "type": "string"
  20216. },
  20217. "creatorid": {
  20218. "description": "创建人",
  20219. "type": "integer"
  20220. },
  20221. "deliverygoodsid": {
  20222. "description": "现货品种ID",
  20223. "type": "integer"
  20224. },
  20225. "futurequote": {
  20226. "description": "期货额度",
  20227. "type": "number"
  20228. },
  20229. "goodsgroupid": {
  20230. "description": "期货品种ID",
  20231. "type": "integer"
  20232. },
  20233. "marketid": {
  20234. "description": "市场ID",
  20235. "type": "integer"
  20236. },
  20237. "remark": {
  20238. "description": "备注",
  20239. "type": "string"
  20240. },
  20241. "spotquota": {
  20242. "description": "现货额度",
  20243. "type": "number"
  20244. },
  20245. "tradedate": {
  20246. "description": "交易日(yyyyMMdd)",
  20247. "type": "string"
  20248. },
  20249. "userid": {
  20250. "description": "所属机构",
  20251. "type": "integer"
  20252. }
  20253. }
  20254. },
  20255. "erms3.AddErms2SpotTradeApplyReq": {
  20256. "type": "object",
  20257. "required": [
  20258. "spottradeid"
  20259. ],
  20260. "properties": {
  20261. "applyjsondetail": {
  20262. "description": "申请明细(JSON)",
  20263. "type": "string"
  20264. },
  20265. "applystatus": {
  20266. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20267. "type": "integer"
  20268. },
  20269. "areauserid": {
  20270. "description": "所属机构",
  20271. "type": "integer"
  20272. },
  20273. "auditid": {
  20274. "description": "审核人",
  20275. "type": "integer"
  20276. },
  20277. "auditremark": {
  20278. "description": "审核备注",
  20279. "type": "string"
  20280. },
  20281. "audittime": {
  20282. "description": "审核时间",
  20283. "type": "string"
  20284. },
  20285. "createtime": {
  20286. "description": "创建时间",
  20287. "type": "string"
  20288. },
  20289. "creatorid": {
  20290. "description": "创建人",
  20291. "type": "integer"
  20292. },
  20293. "deliverygoodsid": {
  20294. "description": "现货品种ID",
  20295. "type": "integer"
  20296. },
  20297. "futureaccountid": {
  20298. "description": "期货资金账户",
  20299. "type": "integer"
  20300. },
  20301. "goodsgroupid": {
  20302. "description": "期货品种",
  20303. "type": "integer"
  20304. },
  20305. "marketid": {
  20306. "description": "市场ID",
  20307. "type": "integer"
  20308. },
  20309. "remark": {
  20310. "description": "备注",
  20311. "type": "string"
  20312. },
  20313. "spotaccountid": {
  20314. "description": "现货资金账户",
  20315. "type": "integer"
  20316. },
  20317. "spottradeid": {
  20318. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  20319. "type": "integer"
  20320. },
  20321. "spottradename": {
  20322. "description": "业务名称",
  20323. "type": "string"
  20324. },
  20325. "spottradeno": {
  20326. "description": "业务编号",
  20327. "type": "string"
  20328. },
  20329. "tradedate": {
  20330. "description": "交易日(yyyyMMdd)",
  20331. "type": "string"
  20332. },
  20333. "wrstandardid": {
  20334. "description": "仓单标准ID",
  20335. "type": "integer"
  20336. }
  20337. }
  20338. },
  20339. "erms3.AddSpotContractApplyReq": {
  20340. "type": "object",
  20341. "required": [
  20342. "accountid",
  20343. "areauserid",
  20344. "contractno",
  20345. "contracttype",
  20346. "customeraccountid",
  20347. "customeruserid",
  20348. "details",
  20349. "orimargin",
  20350. "signdate"
  20351. ],
  20352. "properties": {
  20353. "accountid": {
  20354. "description": "资金账户ID",
  20355. "type": "integer"
  20356. },
  20357. "areauserid": {
  20358. "description": "所属机构",
  20359. "type": "integer"
  20360. },
  20361. "contractattachment": {
  20362. "description": "合同附件",
  20363. "type": "string"
  20364. },
  20365. "contractno": {
  20366. "description": "现货合同编号",
  20367. "type": "string"
  20368. },
  20369. "contracttype": {
  20370. "description": "现货合同类型 - 1:采购 -1:销售",
  20371. "type": "integer"
  20372. },
  20373. "creatorid": {
  20374. "description": "申请人",
  20375. "type": "integer"
  20376. },
  20377. "customeraccountid": {
  20378. "description": "客户资金账户ID",
  20379. "type": "integer"
  20380. },
  20381. "customeruserid": {
  20382. "description": "客户ID",
  20383. "type": "integer"
  20384. },
  20385. "details": {
  20386. "description": "明细",
  20387. "type": "array",
  20388. "items": {
  20389. "$ref": "#/definitions/erms3.SoptContractDetail"
  20390. }
  20391. },
  20392. "orimargin": {
  20393. "description": "初始保证金",
  20394. "type": "number"
  20395. },
  20396. "remark": {
  20397. "description": "备注",
  20398. "type": "string"
  20399. },
  20400. "signdate": {
  20401. "description": "签订日期",
  20402. "type": "string"
  20403. }
  20404. }
  20405. },
  20406. "erms3.AddSpotContractApplyRsp": {
  20407. "type": "object",
  20408. "required": [
  20409. "contractno"
  20410. ],
  20411. "properties": {
  20412. "contractno": {
  20413. "description": "现货合同编号",
  20414. "type": "string"
  20415. },
  20416. "spotcontractid": {
  20417. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  20418. "type": "integer"
  20419. }
  20420. }
  20421. },
  20422. "erms3.AddUserInfoApplyReq": {
  20423. "type": "object",
  20424. "required": [
  20425. "userid"
  20426. ],
  20427. "properties": {
  20428. "accountid": {
  20429. "description": "交易系统帐号Id (加密存储)",
  20430. "type": "integer"
  20431. },
  20432. "areacode": {
  20433. "description": "机构代码",
  20434. "type": "string"
  20435. },
  20436. "areaid": {
  20437. "description": "机构Id",
  20438. "type": "integer"
  20439. },
  20440. "attachment1": {
  20441. "description": "附件1",
  20442. "type": "string"
  20443. },
  20444. "attachment2": {
  20445. "description": "附件2",
  20446. "type": "string"
  20447. },
  20448. "attachment3": {
  20449. "description": "附件3",
  20450. "type": "string"
  20451. },
  20452. "attachment4": {
  20453. "description": "附件4",
  20454. "type": "string"
  20455. },
  20456. "attachment5": {
  20457. "description": "附件5",
  20458. "type": "string"
  20459. },
  20460. "auditedby": {
  20461. "description": "审核人",
  20462. "type": "string"
  20463. },
  20464. "auditime": {
  20465. "description": "审核时间",
  20466. "type": "string"
  20467. },
  20468. "auditsrc": {
  20469. "description": "审核来源 - 1:管理端 2:终端",
  20470. "type": "integer"
  20471. },
  20472. "bankaccount": {
  20473. "description": "银行帐号 (加密存储)",
  20474. "type": "string"
  20475. },
  20476. "bankaccountname": {
  20477. "description": "收款人名称",
  20478. "type": "string"
  20479. },
  20480. "bankcardbackphotourl": {
  20481. "description": "银行卡背面照地址",
  20482. "type": "string"
  20483. },
  20484. "bankcardfrontphotourl": {
  20485. "description": "银行卡正面照地址",
  20486. "type": "string"
  20487. },
  20488. "bankid": {
  20489. "description": "银行编码",
  20490. "type": "string"
  20491. },
  20492. "bankname": {
  20493. "description": "银行名称",
  20494. "type": "string"
  20495. },
  20496. "bankpictureurl": {
  20497. "description": "银行卡正面地址",
  20498. "type": "string"
  20499. },
  20500. "biznature": {
  20501. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20502. "type": "integer"
  20503. },
  20504. "bizscope": {
  20505. "description": "企业经营范围(企业)",
  20506. "type": "string"
  20507. },
  20508. "biztype": {
  20509. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  20510. "type": "integer"
  20511. },
  20512. "brokerid": {
  20513. "description": "经纪人ID(加密存储)",
  20514. "type": "string"
  20515. },
  20516. "cardaddress": {
  20517. "description": "证件地址 (加密存储)",
  20518. "type": "string"
  20519. },
  20520. "cardbackphotourl": {
  20521. "description": "背面证件照地址",
  20522. "type": "string"
  20523. },
  20524. "cardfrontphotourl": {
  20525. "description": "正面证件照地址",
  20526. "type": "string"
  20527. },
  20528. "cardnum": {
  20529. "description": "证件号码 (加密存储)",
  20530. "type": "string"
  20531. },
  20532. "cardtype": {
  20533. "description": "证件类型",
  20534. "type": "integer"
  20535. },
  20536. "cityid": {
  20537. "description": "市",
  20538. "type": "integer"
  20539. },
  20540. "company": {
  20541. "description": "公司(个人)",
  20542. "type": "string"
  20543. },
  20544. "contactcardbackphotourl": {
  20545. "description": "联系人证件背面图片地址",
  20546. "type": "string"
  20547. },
  20548. "contactcardfrontphotourl": {
  20549. "description": "联系人证件正面图片地址",
  20550. "type": "string"
  20551. },
  20552. "contactname": {
  20553. "description": "联系人",
  20554. "type": "string"
  20555. },
  20556. "countryid": {
  20557. "description": "国家",
  20558. "type": "integer"
  20559. },
  20560. "createtime": {
  20561. "description": "开户申请时间",
  20562. "type": "string"
  20563. },
  20564. "cusbankid": {
  20565. "description": "签约类型",
  20566. "type": "string"
  20567. },
  20568. "cusbankname": {
  20569. "description": "签约类型名称",
  20570. "type": "string"
  20571. },
  20572. "customername": {
  20573. "description": "客户名称(企业名称)",
  20574. "type": "string"
  20575. },
  20576. "districtid": {
  20577. "description": "地区",
  20578. "type": "integer"
  20579. },
  20580. "email": {
  20581. "description": "Email地址(加密存储)",
  20582. "type": "string"
  20583. },
  20584. "halfbodyphotourl": {
  20585. "description": "半身照地址",
  20586. "type": "string"
  20587. },
  20588. "headurl": {
  20589. "description": "头像地址",
  20590. "type": "string"
  20591. },
  20592. "ipaddress": {
  20593. "description": "IP地址",
  20594. "type": "string"
  20595. },
  20596. "isvalidate": {
  20597. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20598. "type": "string"
  20599. },
  20600. "legalcardbackphotourl": {
  20601. "description": "法人身份证背面照地址",
  20602. "type": "string"
  20603. },
  20604. "legalcardfrontphotourl": {
  20605. "description": "法人身份证正面照地址",
  20606. "type": "string"
  20607. },
  20608. "legalpersonname": {
  20609. "description": "法人姓名(企业)",
  20610. "type": "string"
  20611. },
  20612. "logincode": {
  20613. "description": "登录帐号 (加密存储)",
  20614. "type": "string"
  20615. },
  20616. "memberareaid": {
  20617. "description": "所属会员ID",
  20618. "type": "integer"
  20619. },
  20620. "mobile2": {
  20621. "description": "手机号码[明文-尚志]",
  20622. "type": "string"
  20623. },
  20624. "mobilephone": {
  20625. "description": "手机号码 (加密存储)",
  20626. "type": "string"
  20627. },
  20628. "modifiedby": {
  20629. "description": "修改人帐号",
  20630. "type": "integer"
  20631. },
  20632. "modifiedtime": {
  20633. "description": "修改时间",
  20634. "type": "string"
  20635. },
  20636. "nickname": {
  20637. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20638. "type": "string"
  20639. },
  20640. "openmode": {
  20641. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20642. "type": "integer"
  20643. },
  20644. "otherurl": {
  20645. "description": "其它图片地址[使用分号分隔]",
  20646. "type": "string"
  20647. },
  20648. "postalcode": {
  20649. "description": "邮政编码",
  20650. "type": "string"
  20651. },
  20652. "provinceid": {
  20653. "description": "省",
  20654. "type": "integer"
  20655. },
  20656. "proxystatementurl": {
  20657. "description": "授权委托书",
  20658. "type": "string"
  20659. },
  20660. "qq": {
  20661. "description": "QQ(加密存储",
  20662. "type": "string"
  20663. },
  20664. "referral": {
  20665. "description": "推荐人编码",
  20666. "type": "string"
  20667. },
  20668. "remark": {
  20669. "description": "备注",
  20670. "type": "string"
  20671. },
  20672. "removebeforestatus": {
  20673. "description": "REMOVEBEFORESTATUS",
  20674. "type": "integer"
  20675. },
  20676. "sex": {
  20677. "description": "性别 - 0:女 1:男",
  20678. "type": "integer"
  20679. },
  20680. "signedstatus": {
  20681. "description": "账户一号签签约状态",
  20682. "type": "integer"
  20683. },
  20684. "signpdfurl": {
  20685. "description": "签约pdf文件",
  20686. "type": "string"
  20687. },
  20688. "subbranch": {
  20689. "description": "开户支行",
  20690. "type": "string"
  20691. },
  20692. "taxpayernum": {
  20693. "description": "纳税人识别号",
  20694. "type": "string"
  20695. },
  20696. "telphone": {
  20697. "description": "联系电话(加密存储)",
  20698. "type": "string"
  20699. },
  20700. "userid": {
  20701. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20702. "type": "integer"
  20703. },
  20704. "userinfotype": {
  20705. "description": "用户信息类型 - 1:个人 2:企业",
  20706. "type": "integer"
  20707. },
  20708. "username": {
  20709. "description": "用户姓名",
  20710. "type": "string"
  20711. },
  20712. "userstate": {
  20713. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20714. "type": "integer"
  20715. },
  20716. "usertype": {
  20717. "description": "用户类型 - 1:投资者 2:机构",
  20718. "type": "integer"
  20719. },
  20720. "videourl": {
  20721. "description": "视频地址",
  20722. "type": "string"
  20723. },
  20724. "wechat": {
  20725. "description": "微信号 (加密存储)",
  20726. "type": "string"
  20727. }
  20728. }
  20729. },
  20730. "erms3.CustomerInfo": {
  20731. "type": "object",
  20732. "required": [
  20733. "userid"
  20734. ],
  20735. "properties": {
  20736. "accountids": {
  20737. "description": "资金账户ID列表",
  20738. "type": "array",
  20739. "items": {
  20740. "type": "integer"
  20741. }
  20742. },
  20743. "customername": {
  20744. "description": "名称(企业名称)",
  20745. "type": "string"
  20746. },
  20747. "mobile": {
  20748. "description": "手机号码",
  20749. "type": "string"
  20750. },
  20751. "userid": {
  20752. "description": "用户ID",
  20753. "type": "integer"
  20754. }
  20755. }
  20756. },
  20757. "erms3.ModifyUserInfoApplyReq": {
  20758. "type": "object",
  20759. "required": [
  20760. "userid"
  20761. ],
  20762. "properties": {
  20763. "accountid": {
  20764. "description": "交易系统帐号Id (加密存储)",
  20765. "type": "integer"
  20766. },
  20767. "areacode": {
  20768. "description": "机构代码",
  20769. "type": "string"
  20770. },
  20771. "areaid": {
  20772. "description": "机构Id",
  20773. "type": "integer"
  20774. },
  20775. "attachment1": {
  20776. "description": "附件1",
  20777. "type": "string"
  20778. },
  20779. "attachment2": {
  20780. "description": "附件2",
  20781. "type": "string"
  20782. },
  20783. "attachment3": {
  20784. "description": "附件3",
  20785. "type": "string"
  20786. },
  20787. "attachment4": {
  20788. "description": "附件4",
  20789. "type": "string"
  20790. },
  20791. "attachment5": {
  20792. "description": "附件5",
  20793. "type": "string"
  20794. },
  20795. "auditedby": {
  20796. "description": "审核人",
  20797. "type": "string"
  20798. },
  20799. "auditime": {
  20800. "description": "审核时间",
  20801. "type": "string"
  20802. },
  20803. "auditsrc": {
  20804. "description": "审核来源 - 1:管理端 2:终端",
  20805. "type": "integer"
  20806. },
  20807. "bankaccount": {
  20808. "description": "银行帐号 (加密存储)",
  20809. "type": "string"
  20810. },
  20811. "bankaccountname": {
  20812. "description": "收款人名称",
  20813. "type": "string"
  20814. },
  20815. "bankcardbackphotourl": {
  20816. "description": "银行卡背面照地址",
  20817. "type": "string"
  20818. },
  20819. "bankcardfrontphotourl": {
  20820. "description": "银行卡正面照地址",
  20821. "type": "string"
  20822. },
  20823. "bankid": {
  20824. "description": "银行编码",
  20825. "type": "string"
  20826. },
  20827. "bankname": {
  20828. "description": "银行名称",
  20829. "type": "string"
  20830. },
  20831. "bankpictureurl": {
  20832. "description": "银行卡正面地址",
  20833. "type": "string"
  20834. },
  20835. "biznature": {
  20836. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20837. "type": "integer"
  20838. },
  20839. "bizscope": {
  20840. "description": "企业经营范围(企业)",
  20841. "type": "string"
  20842. },
  20843. "biztype": {
  20844. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  20845. "type": "integer"
  20846. },
  20847. "brokerid": {
  20848. "description": "经纪人ID(加密存储)",
  20849. "type": "string"
  20850. },
  20851. "cardaddress": {
  20852. "description": "证件地址 (加密存储)",
  20853. "type": "string"
  20854. },
  20855. "cardbackphotourl": {
  20856. "description": "背面证件照地址",
  20857. "type": "string"
  20858. },
  20859. "cardfrontphotourl": {
  20860. "description": "正面证件照地址",
  20861. "type": "string"
  20862. },
  20863. "cardnum": {
  20864. "description": "证件号码 (加密存储)",
  20865. "type": "string"
  20866. },
  20867. "cardtype": {
  20868. "description": "证件类型",
  20869. "type": "integer"
  20870. },
  20871. "cityid": {
  20872. "description": "市",
  20873. "type": "integer"
  20874. },
  20875. "company": {
  20876. "description": "公司(个人)",
  20877. "type": "string"
  20878. },
  20879. "contactcardbackphotourl": {
  20880. "description": "联系人证件背面图片地址",
  20881. "type": "string"
  20882. },
  20883. "contactcardfrontphotourl": {
  20884. "description": "联系人证件正面图片地址",
  20885. "type": "string"
  20886. },
  20887. "contactname": {
  20888. "description": "联系人",
  20889. "type": "string"
  20890. },
  20891. "countryid": {
  20892. "description": "国家",
  20893. "type": "integer"
  20894. },
  20895. "createtime": {
  20896. "description": "开户申请时间",
  20897. "type": "string"
  20898. },
  20899. "cusbankid": {
  20900. "description": "签约类型",
  20901. "type": "string"
  20902. },
  20903. "cusbankname": {
  20904. "description": "签约类型名称",
  20905. "type": "string"
  20906. },
  20907. "customername": {
  20908. "description": "客户名称(企业名称)",
  20909. "type": "string"
  20910. },
  20911. "districtid": {
  20912. "description": "地区",
  20913. "type": "integer"
  20914. },
  20915. "email": {
  20916. "description": "Email地址(加密存储)",
  20917. "type": "string"
  20918. },
  20919. "halfbodyphotourl": {
  20920. "description": "半身照地址",
  20921. "type": "string"
  20922. },
  20923. "headurl": {
  20924. "description": "头像地址",
  20925. "type": "string"
  20926. },
  20927. "ipaddress": {
  20928. "description": "IP地址",
  20929. "type": "string"
  20930. },
  20931. "isvalidate": {
  20932. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20933. "type": "string"
  20934. },
  20935. "legalcardbackphotourl": {
  20936. "description": "法人身份证背面照地址",
  20937. "type": "string"
  20938. },
  20939. "legalcardfrontphotourl": {
  20940. "description": "法人身份证正面照地址",
  20941. "type": "string"
  20942. },
  20943. "legalpersonname": {
  20944. "description": "法人姓名(企业)",
  20945. "type": "string"
  20946. },
  20947. "logincode": {
  20948. "description": "登录帐号 (加密存储)",
  20949. "type": "string"
  20950. },
  20951. "memberareaid": {
  20952. "description": "所属会员ID",
  20953. "type": "integer"
  20954. },
  20955. "mobile2": {
  20956. "description": "手机号码[明文-尚志]",
  20957. "type": "string"
  20958. },
  20959. "mobilephone": {
  20960. "description": "手机号码 (加密存储)",
  20961. "type": "string"
  20962. },
  20963. "modifiedby": {
  20964. "description": "修改人帐号",
  20965. "type": "integer"
  20966. },
  20967. "modifiedtime": {
  20968. "description": "修改时间",
  20969. "type": "string"
  20970. },
  20971. "nickname": {
  20972. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20973. "type": "string"
  20974. },
  20975. "openmode": {
  20976. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20977. "type": "integer"
  20978. },
  20979. "otherurl": {
  20980. "description": "其它图片地址[使用分号分隔]",
  20981. "type": "string"
  20982. },
  20983. "postalcode": {
  20984. "description": "邮政编码",
  20985. "type": "string"
  20986. },
  20987. "provinceid": {
  20988. "description": "省",
  20989. "type": "integer"
  20990. },
  20991. "proxystatementurl": {
  20992. "description": "授权委托书",
  20993. "type": "string"
  20994. },
  20995. "qq": {
  20996. "description": "QQ(加密存储",
  20997. "type": "string"
  20998. },
  20999. "referral": {
  21000. "description": "推荐人编码",
  21001. "type": "string"
  21002. },
  21003. "remark": {
  21004. "description": "备注",
  21005. "type": "string"
  21006. },
  21007. "removebeforestatus": {
  21008. "description": "REMOVEBEFORESTATUS",
  21009. "type": "integer"
  21010. },
  21011. "sex": {
  21012. "description": "性别 - 0:女 1:男",
  21013. "type": "integer"
  21014. },
  21015. "signedstatus": {
  21016. "description": "账户一号签签约状态",
  21017. "type": "integer"
  21018. },
  21019. "signpdfurl": {
  21020. "description": "签约pdf文件",
  21021. "type": "string"
  21022. },
  21023. "subbranch": {
  21024. "description": "开户支行",
  21025. "type": "string"
  21026. },
  21027. "taxpayernum": {
  21028. "description": "纳税人识别号",
  21029. "type": "string"
  21030. },
  21031. "telphone": {
  21032. "description": "联系电话(加密存储)",
  21033. "type": "string"
  21034. },
  21035. "userid": {
  21036. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  21037. "type": "integer"
  21038. },
  21039. "userinfotype": {
  21040. "description": "用户信息类型 - 1:个人 2:企业",
  21041. "type": "integer"
  21042. },
  21043. "username": {
  21044. "description": "用户姓名",
  21045. "type": "string"
  21046. },
  21047. "userstate": {
  21048. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  21049. "type": "integer"
  21050. },
  21051. "usertype": {
  21052. "description": "用户类型 - 1:投资者 2:机构",
  21053. "type": "integer"
  21054. },
  21055. "videourl": {
  21056. "description": "视频地址",
  21057. "type": "string"
  21058. },
  21059. "wechat": {
  21060. "description": "微信号 (加密存储)",
  21061. "type": "string"
  21062. }
  21063. }
  21064. },
  21065. "erms3.QryAuditContractRsp": {
  21066. "type": "object",
  21067. "required": [
  21068. "matchcustomername",
  21069. "spotcontractid"
  21070. ],
  21071. "properties": {
  21072. "accountid": {
  21073. "description": "交易员ID",
  21074. "type": "string"
  21075. },
  21076. "applystatus": {
  21077. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21078. "type": "integer"
  21079. },
  21080. "curdeliveryqty": {
  21081. "description": "未交收量",
  21082. "type": "integer"
  21083. },
  21084. "customername": {
  21085. "description": "采购方ID",
  21086. "type": "string"
  21087. },
  21088. "deliverygoodsid": {
  21089. "description": "品种ID",
  21090. "type": "string"
  21091. },
  21092. "deliveryqty": {
  21093. "description": "交收量",
  21094. "type": "integer"
  21095. },
  21096. "enumdicname": {
  21097. "description": "单位名称",
  21098. "type": "string"
  21099. },
  21100. "matchaccountid": {
  21101. "description": "业务员ID",
  21102. "type": "string"
  21103. },
  21104. "matchcustomername": {
  21105. "description": "销售方ID",
  21106. "type": "string"
  21107. },
  21108. "pricedqty": {
  21109. "description": "定价量",
  21110. "type": "number"
  21111. },
  21112. "signdate": {
  21113. "description": "签订日期",
  21114. "type": "string"
  21115. },
  21116. "spotcontractid": {
  21117. "description": "合同ID",
  21118. "type": "string"
  21119. },
  21120. "totaldqty": {
  21121. "description": "合同量",
  21122. "type": "number"
  21123. },
  21124. "unpricedqty": {
  21125. "description": "未定价量",
  21126. "type": "number"
  21127. },
  21128. "wrstandardname": {
  21129. "description": "商品名称",
  21130. "type": "string"
  21131. }
  21132. }
  21133. },
  21134. "erms3.QryPendingBizRsp": {
  21135. "type": "object",
  21136. "properties": {
  21137. "accountid": {
  21138. "description": "现货账户",
  21139. "type": "string"
  21140. },
  21141. "areaname": {
  21142. "description": "所属部门",
  21143. "type": "string"
  21144. },
  21145. "bizid": {
  21146. "description": "业务ID",
  21147. "type": "string"
  21148. },
  21149. "bizname": {
  21150. "description": "业务名称",
  21151. "type": "string"
  21152. },
  21153. "status": {
  21154. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21155. "type": "integer"
  21156. },
  21157. "type": {
  21158. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  21159. "type": "integer"
  21160. }
  21161. }
  21162. },
  21163. "erms3.QueryBusinessInfoRsp": {
  21164. "type": "object",
  21165. "properties": {
  21166. "businessid": {
  21167. "description": "业务ID.",
  21168. "type": "integer"
  21169. },
  21170. "buyamount": {
  21171. "description": "采购额.",
  21172. "type": "number"
  21173. },
  21174. "buyqty": {
  21175. "description": "采购量.",
  21176. "type": "string"
  21177. },
  21178. "futurepl": {
  21179. "description": "期货盈亏.",
  21180. "type": "number"
  21181. },
  21182. "futureqty": {
  21183. "description": "期货敞口.",
  21184. "type": "string"
  21185. },
  21186. "goodsid": {
  21187. "description": "商品名称/商品代码.",
  21188. "type": "string"
  21189. },
  21190. "hedgingqty": {
  21191. "description": "套保量.",
  21192. "type": "string"
  21193. },
  21194. "sellamount": {
  21195. "description": "销售额.",
  21196. "type": "number"
  21197. },
  21198. "sellqty": {
  21199. "description": "销售量.",
  21200. "type": "string"
  21201. },
  21202. "spotmarketvalue": {
  21203. "description": "现货市值.",
  21204. "type": "number"
  21205. },
  21206. "spotpl": {
  21207. "description": "浮动权益.",
  21208. "type": "number"
  21209. },
  21210. "spotqty": {
  21211. "description": "现货量.",
  21212. "type": "string"
  21213. },
  21214. "statu": {
  21215. "description": "状态,0-未结束 1-已结束.",
  21216. "type": "integer"
  21217. },
  21218. "totalpl": {
  21219. "description": "总盈亏.",
  21220. "type": "number"
  21221. },
  21222. "totalqty": {
  21223. "description": "总敞口.",
  21224. "type": "string"
  21225. },
  21226. "type": {
  21227. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  21228. "type": "integer"
  21229. }
  21230. }
  21231. },
  21232. "erms3.QuerySpotContractAppleFormRsp": {
  21233. "type": "object",
  21234. "properties": {
  21235. "goodses": {
  21236. "description": "合约列表",
  21237. "type": "array",
  21238. "items": {
  21239. "$ref": "#/definitions/models.GoodsIDAndName"
  21240. }
  21241. },
  21242. "oppositeusers": {
  21243. "description": "对方账号列表",
  21244. "type": "array",
  21245. "items": {
  21246. "$ref": "#/definitions/erms3.CustomerInfo"
  21247. }
  21248. },
  21249. "ouruser": {
  21250. "description": "我方账号",
  21251. "$ref": "#/definitions/erms3.CustomerInfo"
  21252. },
  21253. "warehouseinfos": {
  21254. "description": "仓库信息列表",
  21255. "type": "array",
  21256. "items": {
  21257. "$ref": "#/definitions/models.Warehouseinfo"
  21258. }
  21259. },
  21260. "wrstandards": {
  21261. "description": "仓单标准列表",
  21262. "type": "array",
  21263. "items": {
  21264. "$ref": "#/definitions/models.WRStandardInfo"
  21265. }
  21266. }
  21267. }
  21268. },
  21269. "erms3.QuerySpotContractInfoRsp": {
  21270. "type": "object",
  21271. "properties": {
  21272. "accountid": {
  21273. "description": "表示交易员ID.",
  21274. "type": "integer"
  21275. },
  21276. "curdeliveryqty": {
  21277. "description": "表示未交收量.",
  21278. "type": "number"
  21279. },
  21280. "customername": {
  21281. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  21282. "type": "string"
  21283. },
  21284. "deliverygoodsid": {
  21285. "description": "表示品种ID.",
  21286. "type": "string"
  21287. },
  21288. "deliveryqty": {
  21289. "description": "表示交收量.",
  21290. "type": "number"
  21291. },
  21292. "matchaccountid": {
  21293. "description": "表示业务员ID.",
  21294. "type": "integer"
  21295. },
  21296. "matchcustomername": {
  21297. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  21298. "type": "string"
  21299. },
  21300. "priceqty": {
  21301. "description": "表示定价量.",
  21302. "type": "number"
  21303. },
  21304. "relatedbizid": {
  21305. "description": "表示业务ID.",
  21306. "type": "string"
  21307. },
  21308. "signdate": {
  21309. "description": "表示签订日期.",
  21310. "type": "string"
  21311. },
  21312. "spotcontractid": {
  21313. "description": "合同ID",
  21314. "type": "string"
  21315. },
  21316. "status": {
  21317. "description": "表示状态,0-履约中 1-已完成.",
  21318. "type": "integer"
  21319. },
  21320. "totalqty": {
  21321. "description": "表示合同量.",
  21322. "type": "number"
  21323. },
  21324. "unpricedqty": {
  21325. "description": "表示未定价量.",
  21326. "type": "number"
  21327. },
  21328. "wrstandardname": {
  21329. "description": "表示商品ID.",
  21330. "type": "string"
  21331. }
  21332. }
  21333. },
  21334. "erms3.QueryUserInfoAppliesRsp": {
  21335. "type": "object",
  21336. "required": [
  21337. "userid"
  21338. ],
  21339. "properties": {
  21340. "biznature": {
  21341. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21342. "type": "integer"
  21343. },
  21344. "contactname": {
  21345. "description": "联系人",
  21346. "type": "string"
  21347. },
  21348. "createtime": {
  21349. "description": "开户申请时间",
  21350. "type": "string"
  21351. },
  21352. "userid": {
  21353. "description": "用户ID(自增ID)",
  21354. "type": "integer"
  21355. },
  21356. "userinfotype": {
  21357. "description": "用户信息类型 - 1:个人 2:企业",
  21358. "type": "integer"
  21359. },
  21360. "username": {
  21361. "description": "用户姓名",
  21362. "type": "string"
  21363. },
  21364. "userstate": {
  21365. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  21366. "type": "integer"
  21367. }
  21368. }
  21369. },
  21370. "erms3.QueryUserInfosRsp": {
  21371. "type": "object",
  21372. "required": [
  21373. "userid"
  21374. ],
  21375. "properties": {
  21376. "biznature": {
  21377. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21378. "type": "integer"
  21379. },
  21380. "contactname": {
  21381. "description": "联系人",
  21382. "type": "string"
  21383. },
  21384. "customername": {
  21385. "description": "客户名称(企业名称)",
  21386. "type": "string"
  21387. },
  21388. "userid": {
  21389. "description": "用户ID",
  21390. "type": "integer"
  21391. },
  21392. "userinfotype": {
  21393. "description": "用户信息类型 - 1:个人 2:企业",
  21394. "type": "integer"
  21395. },
  21396. "userstatus": {
  21397. "description": "用户状态 - 1:正常 2:注销",
  21398. "type": "integer"
  21399. }
  21400. }
  21401. },
  21402. "erms3.SoptContractDetail": {
  21403. "type": "object",
  21404. "required": [
  21405. "deliverygoodsid",
  21406. "producttype",
  21407. "unitname",
  21408. "warehouseid",
  21409. "wrstandardid",
  21410. "wrstandardname"
  21411. ],
  21412. "properties": {
  21413. "deliverygoodsdesc": {
  21414. "description": "现货品种说明",
  21415. "type": "string"
  21416. },
  21417. "deliverygoodsid": {
  21418. "description": "现货品种ID",
  21419. "type": "integer"
  21420. },
  21421. "deliverygoodsname": {
  21422. "description": "现货品种名称",
  21423. "type": "string"
  21424. },
  21425. "pointdesc": {
  21426. "description": "点价描述",
  21427. "type": "string"
  21428. },
  21429. "producttype": {
  21430. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  21431. "type": "integer"
  21432. },
  21433. "producttypename": {
  21434. "description": "产品类型名称",
  21435. "type": "string"
  21436. },
  21437. "spotPointOrderVoList": {
  21438. "description": "点价列表",
  21439. "type": "array",
  21440. "items": {
  21441. "$ref": "#/definitions/erms3.SpotPointOrder"
  21442. }
  21443. },
  21444. "spotPriceOrderList": {
  21445. "description": "定价列表",
  21446. "type": "array",
  21447. "items": {
  21448. "$ref": "#/definitions/erms3.SpotPriceOrder"
  21449. }
  21450. },
  21451. "unitname": {
  21452. "description": "单位名称",
  21453. "type": "string"
  21454. },
  21455. "warehouseid": {
  21456. "description": "仓库ID",
  21457. "type": "integer"
  21458. },
  21459. "warehousename": {
  21460. "description": "仓库名称",
  21461. "type": "string"
  21462. },
  21463. "wrstandardid": {
  21464. "description": "交易标的ID",
  21465. "type": "integer"
  21466. },
  21467. "wrstandardname": {
  21468. "description": "交易标的名称",
  21469. "type": "string"
  21470. }
  21471. }
  21472. },
  21473. "erms3.SpotPointOrder": {
  21474. "type": "object",
  21475. "required": [
  21476. "basic",
  21477. "goodsid",
  21478. "qty"
  21479. ],
  21480. "properties": {
  21481. "basic": {
  21482. "description": "基差",
  21483. "type": "number"
  21484. },
  21485. "deliveryenddate": {
  21486. "description": "交收结束日期",
  21487. "type": "string"
  21488. },
  21489. "deliverystartdate": {
  21490. "description": "交收开始日期",
  21491. "type": "string"
  21492. },
  21493. "enddate": {
  21494. "description": "点价结束日期",
  21495. "type": "string"
  21496. },
  21497. "goodsid": {
  21498. "description": "商品ID",
  21499. "type": "integer"
  21500. },
  21501. "goodsname": {
  21502. "description": "商品名称",
  21503. "type": "string"
  21504. },
  21505. "qty": {
  21506. "description": "数量",
  21507. "type": "number"
  21508. },
  21509. "startdate": {
  21510. "description": "点价开始日期",
  21511. "type": "string"
  21512. }
  21513. }
  21514. },
  21515. "erms3.SpotPriceOrder": {
  21516. "type": "object",
  21517. "required": [
  21518. "amount",
  21519. "price",
  21520. "qty"
  21521. ],
  21522. "properties": {
  21523. "amount": {
  21524. "description": "金额",
  21525. "type": "number"
  21526. },
  21527. "deliveryenddate": {
  21528. "description": "交收结束日期",
  21529. "type": "string"
  21530. },
  21531. "deliverystartdate": {
  21532. "description": "交收开始日期",
  21533. "type": "string"
  21534. },
  21535. "price": {
  21536. "description": "价格",
  21537. "type": "number"
  21538. },
  21539. "qty": {
  21540. "description": "数量",
  21541. "type": "number"
  21542. }
  21543. }
  21544. },
  21545. "models.Arearole": {
  21546. "type": "object",
  21547. "required": [
  21548. "roletype",
  21549. "userid"
  21550. ],
  21551. "properties": {
  21552. "createtime": {
  21553. "description": "创建时间",
  21554. "type": "string"
  21555. },
  21556. "creatorid": {
  21557. "description": "创建人ID",
  21558. "type": "integer"
  21559. },
  21560. "fromuserid": {
  21561. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  21562. "type": "integer"
  21563. },
  21564. "isreturnscore": {
  21565. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  21566. "type": "integer"
  21567. },
  21568. "modifierid": {
  21569. "description": "修改人ID",
  21570. "type": "integer"
  21571. },
  21572. "modifytime": {
  21573. "description": "修改时间",
  21574. "type": "string"
  21575. },
  21576. "orgtype": {
  21577. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  21578. "type": "integer"
  21579. },
  21580. "outuserid": {
  21581. "description": "外部账户[场外期权做市商]",
  21582. "type": "string"
  21583. },
  21584. "parentuserid": {
  21585. "description": "上级组织机构(组织机构)",
  21586. "type": "integer"
  21587. },
  21588. "roletype": {
  21589. "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:门店",
  21590. "type": "integer"
  21591. },
  21592. "rootuserid": {
  21593. "description": "顶级组织机构用户ID(组织机构)",
  21594. "type": "integer"
  21595. },
  21596. "shoppassword": {
  21597. "description": "商城店铺登陆密码(商城店铺角色使用)",
  21598. "type": "string"
  21599. },
  21600. "sublevelpath": {
  21601. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  21602. "type": "string"
  21603. },
  21604. "suborgtype": {
  21605. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  21606. "type": "integer"
  21607. },
  21608. "tradeaccountid": {
  21609. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  21610. "type": "integer"
  21611. },
  21612. "transurl": {
  21613. "description": "物流地址(物流机构)",
  21614. "type": "string"
  21615. },
  21616. "userid": {
  21617. "description": "机构用户ID其他做市关系,都设置为 1",
  21618. "type": "integer"
  21619. }
  21620. }
  21621. },
  21622. "models.BuyOrder": {
  21623. "type": "object",
  21624. "properties": {
  21625. "accountid": {
  21626. "description": "资金账户ID",
  21627. "type": "integer"
  21628. },
  21629. "buyusername": {
  21630. "description": "买方",
  21631. "type": "string"
  21632. },
  21633. "marketid": {
  21634. "description": "市场ID",
  21635. "type": "integer"
  21636. },
  21637. "ordertime": {
  21638. "description": "委托时间",
  21639. "type": "string"
  21640. },
  21641. "origin": {
  21642. "description": "原产地",
  21643. "type": "string"
  21644. },
  21645. "performancetemplateid": {
  21646. "description": "履约计划模板ID",
  21647. "type": "integer"
  21648. },
  21649. "remark": {
  21650. "description": "备注",
  21651. "type": "string"
  21652. },
  21653. "userid": {
  21654. "description": "用户ID",
  21655. "type": "integer"
  21656. },
  21657. "validtime": {
  21658. "description": "有效期限",
  21659. "type": "string"
  21660. },
  21661. "warehouseids": {
  21662. "description": "仓库ID - 多个, 逗号分隔",
  21663. "type": "string"
  21664. },
  21665. "warehouseinfosdisplay": {
  21666. "type": "string"
  21667. },
  21668. "wrtradeorderid": {
  21669. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  21670. "type": "string"
  21671. },
  21672. "wrtradeorderstatus": {
  21673. "description": "委托状态 - 参考枚举'WRTradeOrderStatus' - 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:撤单解冻贷款失败WRTrade_OrderDetail、",
  21674. "type": "integer"
  21675. },
  21676. "zscategory": {
  21677. "description": "钻石分类 - 枚举”ZSCategory“",
  21678. "type": "integer"
  21679. },
  21680. "zscategorydisplay": {
  21681. "type": "string"
  21682. },
  21683. "zsclaritytype": {
  21684. "description": "净度 - 两个, 逗号分隔",
  21685. "type": "string"
  21686. },
  21687. "zsclaritytypedisplay": {
  21688. "type": "string"
  21689. },
  21690. "zscolortype": {
  21691. "description": "颜色 - 两个, 逗号分隔",
  21692. "type": "string"
  21693. },
  21694. "zscolortypedisplay": {
  21695. "type": "string"
  21696. },
  21697. "zscrystaltype": {
  21698. "description": "晶型 - 多个,逗号分隔",
  21699. "type": "string"
  21700. },
  21701. "zscrystaltypedisplay": {
  21702. "type": "string"
  21703. },
  21704. "zscurrencytype": {
  21705. "description": "货币类型 - 多个, 逗号分隔",
  21706. "type": "string"
  21707. },
  21708. "zscurrencytypedisplay": {
  21709. "type": "string"
  21710. },
  21711. "zscuttype": {
  21712. "description": "切工 - 两个, 逗号分隔",
  21713. "type": "string"
  21714. },
  21715. "zscuttypedisplay": {
  21716. "type": "string"
  21717. },
  21718. "zsczcolor1type": {
  21719. "description": "彩钻颜色1, 逗号分隔",
  21720. "type": "string"
  21721. },
  21722. "zsczcolor1typedisplay": {
  21723. "type": "string"
  21724. },
  21725. "zsczcolor2type": {
  21726. "description": "彩钻颜色2, 逗号分隔",
  21727. "type": "string"
  21728. },
  21729. "zsczcolor2typedisplay": {
  21730. "type": "string"
  21731. },
  21732. "zsczcolor3type": {
  21733. "description": "彩钻颜色3, 逗号分隔",
  21734. "type": "string"
  21735. },
  21736. "zsczcolor3typedisplay": {
  21737. "type": "string"
  21738. },
  21739. "zsfluorescencetype": {
  21740. "description": "荧光 - 多个, 逗号分隔",
  21741. "type": "string"
  21742. },
  21743. "zsfluorescencetypedisplay": {
  21744. "type": "string"
  21745. },
  21746. "zspolishtype": {
  21747. "description": "抛光度 - 两个, 逗号分隔",
  21748. "type": "string"
  21749. },
  21750. "zspolishtypedisplay": {
  21751. "type": "string"
  21752. },
  21753. "zsshapetype": {
  21754. "description": "形状 - 多个, 逗号分隔",
  21755. "type": "string"
  21756. },
  21757. "zsshapetypedisplay": {
  21758. "type": "string"
  21759. },
  21760. "zssize": {
  21761. "description": "尺寸 - 两个小数, 逗号分隔",
  21762. "type": "string"
  21763. },
  21764. "zsstyletype": {
  21765. "description": "款式 - 多个, 逗号分隔",
  21766. "type": "string"
  21767. },
  21768. "zsstyletypedisplay": {
  21769. "type": "string"
  21770. },
  21771. "zssymmetrytype": {
  21772. "description": "对称度 - 两个, 逗号分隔",
  21773. "type": "string"
  21774. },
  21775. "zssymmetrytypedisplay": {
  21776. "type": "string"
  21777. },
  21778. "zstabledisplay": {
  21779. "description": "求购信息",
  21780. "type": "string"
  21781. }
  21782. }
  21783. },
  21784. "models.DgFactoryItem": {
  21785. "type": "object",
  21786. "properties": {
  21787. "dgfactoryitemid": {
  21788. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  21789. "type": "integer"
  21790. },
  21791. "dgfactoryitemtypeid": {
  21792. "description": "要素项类型",
  21793. "type": "integer"
  21794. },
  21795. "dgfactoryitemvalue": {
  21796. "description": "要素项值(类型为仓库时填写仓库名称)",
  21797. "type": "string"
  21798. },
  21799. "orderindex": {
  21800. "description": "顺序",
  21801. "type": "integer"
  21802. }
  21803. }
  21804. },
  21805. "models.Division": {
  21806. "type": "object",
  21807. "required": [
  21808. "autoid",
  21809. "divisioncode"
  21810. ],
  21811. "properties": {
  21812. "autoid": {
  21813. "description": "自增ID",
  21814. "type": "integer"
  21815. },
  21816. "divisioncode": {
  21817. "description": "行政代码",
  21818. "type": "string"
  21819. },
  21820. "divisionlevel": {
  21821. "description": "行政级别",
  21822. "type": "string"
  21823. },
  21824. "divisionname": {
  21825. "description": "行政名称",
  21826. "type": "string"
  21827. },
  21828. "modifierid": {
  21829. "description": "修改人",
  21830. "type": "integer"
  21831. },
  21832. "modifytime": {
  21833. "description": "修改时间",
  21834. "type": "string"
  21835. },
  21836. "parentcode": {
  21837. "description": "上级行政代码",
  21838. "type": "string"
  21839. },
  21840. "pathname": {
  21841. "description": "路径名称",
  21842. "type": "string"
  21843. },
  21844. "postcode": {
  21845. "description": "邮政编码",
  21846. "type": "string"
  21847. },
  21848. "separablename": {
  21849. "description": "可拆分的全称",
  21850. "type": "string"
  21851. },
  21852. "shortcode": {
  21853. "description": "地区简码",
  21854. "type": "string"
  21855. }
  21856. }
  21857. },
  21858. "models.Enumdicitem": {
  21859. "type": "object",
  21860. "required": [
  21861. "autoid",
  21862. "enumdiccode",
  21863. "enumdicid",
  21864. "enumitemname"
  21865. ],
  21866. "properties": {
  21867. "autoid": {
  21868. "description": "自增ID",
  21869. "type": "integer"
  21870. },
  21871. "bankmappedvalue": {
  21872. "description": "银行服务对应值",
  21873. "type": "string"
  21874. },
  21875. "enumdiccode": {
  21876. "description": "所属枚举代码",
  21877. "type": "string"
  21878. },
  21879. "enumdicid": {
  21880. "description": "所属枚举ID",
  21881. "type": "integer"
  21882. },
  21883. "enumdicname": {
  21884. "description": "枚举项名称",
  21885. "type": "string"
  21886. },
  21887. "enumitemname": {
  21888. "description": "枚举项值",
  21889. "type": "integer"
  21890. },
  21891. "enumitemstatus": {
  21892. "description": "枚举项状态 - 1.启用 2.不启用",
  21893. "type": "integer"
  21894. },
  21895. "enumitemvalue": {
  21896. "description": "通用值 - [币种通用简写]",
  21897. "type": "string"
  21898. },
  21899. "param1": {
  21900. "description": "参数1[币种:币种小数位]",
  21901. "type": "string"
  21902. },
  21903. "param2": {
  21904. "description": "参数1[币种:币种显示单位]",
  21905. "type": "string"
  21906. },
  21907. "remark": {
  21908. "description": "备注",
  21909. "type": "string"
  21910. }
  21911. }
  21912. },
  21913. "models.Ermcp2AreaExposure": {
  21914. "type": "object",
  21915. "properties": {
  21916. "areauserid": {
  21917. "description": "所属机构",
  21918. "type": "integer"
  21919. },
  21920. "enumdicname": {
  21921. "description": "单位",
  21922. "type": "string"
  21923. },
  21924. "futureqty": {
  21925. "description": "期货套期量",
  21926. "type": "number"
  21927. },
  21928. "futureqtychange": {
  21929. "description": "期货变动量 = FutureQty - OriFutureQty",
  21930. "type": "number"
  21931. },
  21932. "goodsunitid": {
  21933. "description": "单位ID",
  21934. "type": "integer"
  21935. },
  21936. "hedgedspotexposure": {
  21937. "description": "被套期现货敞口量",
  21938. "type": "number"
  21939. },
  21940. "hedgedspratio": {
  21941. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  21942. "type": "number"
  21943. },
  21944. "hedgedtotalexposourechange": {
  21945. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  21946. "type": "number"
  21947. },
  21948. "hedgedtotalexposure": {
  21949. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  21950. "type": "number"
  21951. },
  21952. "hedgeplanqty": {
  21953. "description": "套期计划量",
  21954. "type": "number"
  21955. },
  21956. "hedgeplanqtychange": {
  21957. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  21958. "type": "number"
  21959. },
  21960. "hedgespotqty": {
  21961. "description": "被套期现货量",
  21962. "type": "number"
  21963. },
  21964. "middlegoodsid": {
  21965. "description": "套保品种",
  21966. "type": "integer"
  21967. },
  21968. "middlegoodsname": {
  21969. "description": "套保品种名称",
  21970. "type": "string"
  21971. },
  21972. "orifutureqty": {
  21973. "description": "期初期货套期量",
  21974. "type": "number"
  21975. },
  21976. "orihedgedspotexposure": {
  21977. "description": "期初被套期现货敞口量",
  21978. "type": "number"
  21979. },
  21980. "orihedgedtotalexposure": {
  21981. "description": "期初套期敞口量",
  21982. "type": "number"
  21983. },
  21984. "orihedgeplanqty": {
  21985. "description": "期初套期计划量",
  21986. "type": "number"
  21987. },
  21988. "orihedgespotqty": {
  21989. "description": "期初被套期现货量",
  21990. "type": "number"
  21991. },
  21992. "orispotexposure": {
  21993. "description": "期初现货敞口量",
  21994. "type": "number"
  21995. },
  21996. "orispotqty": {
  21997. "description": "期初现货总量",
  21998. "type": "number"
  21999. },
  22000. "oritotalexposure": {
  22001. "description": "期初总敞口量",
  22002. "type": "number"
  22003. },
  22004. "spotexposure": {
  22005. "description": "现货敞口量",
  22006. "type": "number"
  22007. },
  22008. "spotqty": {
  22009. "description": "现货总量",
  22010. "type": "number"
  22011. },
  22012. "spotqtychange": {
  22013. "description": "现货变动量 = SpotQty - OriSpotQty",
  22014. "type": "number"
  22015. },
  22016. "spratio": {
  22017. "description": "总期现比例 = 期货套期量/现货敞口量",
  22018. "type": "number"
  22019. },
  22020. "totalexposure": {
  22021. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  22022. "type": "number"
  22023. },
  22024. "totalexposurechange": {
  22025. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  22026. "type": "number"
  22027. },
  22028. "updatetime": {
  22029. "description": "更新时间 --DATE",
  22030. "type": "string"
  22031. }
  22032. }
  22033. },
  22034. "models.Ermcp2hedgeditem": {
  22035. "type": "object",
  22036. "properties": {
  22037. "accountname": {
  22038. "description": "套期主体",
  22039. "type": "string"
  22040. },
  22041. "applyid": {
  22042. "description": "申请人",
  22043. "type": "integer"
  22044. },
  22045. "applysrc": {
  22046. "description": "申请来源 - 1:管理端 2:终端",
  22047. "type": "integer"
  22048. },
  22049. "areauserid": {
  22050. "description": "企业ID",
  22051. "type": "integer"
  22052. },
  22053. "auditid": {
  22054. "description": "审核人",
  22055. "type": "integer"
  22056. },
  22057. "auditremark": {
  22058. "description": "审核备注",
  22059. "type": "string"
  22060. },
  22061. "auditsrc": {
  22062. "description": "审核来源 - 1:管理端 2:终端",
  22063. "type": "integer"
  22064. },
  22065. "audittime": {
  22066. "description": "审核时间",
  22067. "type": "string"
  22068. },
  22069. "audittradedate": {
  22070. "description": "审核交易日(yyyyMMdd)",
  22071. "type": "string"
  22072. },
  22073. "createtime": {
  22074. "description": "申请时间",
  22075. "type": "string"
  22076. },
  22077. "curprice": {
  22078. "description": "当前市场价",
  22079. "type": "number"
  22080. },
  22081. "curstock": {
  22082. "description": "期末库存量 = 采购总量 - 销售总量",
  22083. "type": "number"
  22084. },
  22085. "deliverygoodsid": {
  22086. "description": "现货品种ID",
  22087. "type": "integer"
  22088. },
  22089. "enddate": {
  22090. "description": "完成日期",
  22091. "type": "string"
  22092. },
  22093. "endtradedate": {
  22094. "description": "完成交易日",
  22095. "type": "string"
  22096. },
  22097. "enumdicname": {
  22098. "description": "单位",
  22099. "type": "string"
  22100. },
  22101. "exeamount": {
  22102. "description": "执行市价总额",
  22103. "type": "number"
  22104. },
  22105. "exeavgprice": {
  22106. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  22107. "type": "number"
  22108. },
  22109. "execontractamount": {
  22110. "description": "执行定价总额",
  22111. "type": "number"
  22112. },
  22113. "exeqty": {
  22114. "description": "执行现货量",
  22115. "type": "number"
  22116. },
  22117. "exerestamount": {
  22118. "description": "执行剩余市价总额【现货贸易】",
  22119. "type": "number"
  22120. },
  22121. "futurefloatpl": {
  22122. "description": "期货浮动损益",
  22123. "type": "number"
  22124. },
  22125. "futurehedgepl": {
  22126. "description": "期货实际损益",
  22127. "type": "number"
  22128. },
  22129. "futurehedgeplchange": {
  22130. "description": "期货实际损益变动",
  22131. "type": "number"
  22132. },
  22133. "futurepl": {
  22134. "description": "期货套期损益",
  22135. "type": "number"
  22136. },
  22137. "futureplchange": {
  22138. "description": "期货套期损益变动",
  22139. "type": "number"
  22140. },
  22141. "hedgeamount": {
  22142. "description": "套期市价总额",
  22143. "type": "number"
  22144. },
  22145. "hedgecontractamount": {
  22146. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  22147. "type": "number"
  22148. },
  22149. "hedgeditemid": {
  22150. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  22151. "type": "string"
  22152. },
  22153. "hedgeditemname": {
  22154. "description": "项目名称",
  22155. "type": "string"
  22156. },
  22157. "hedgeditemnum": {
  22158. "description": "项目编号",
  22159. "type": "string"
  22160. },
  22161. "hedgeditemstatus": {
  22162. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22163. "type": "integer"
  22164. },
  22165. "hedgedtype": {
  22166. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22167. "type": "integer"
  22168. },
  22169. "hedgeqty": {
  22170. "description": "套期现货量",
  22171. "type": "number"
  22172. },
  22173. "hedgerate": {
  22174. "description": "套保比率",
  22175. "type": "number"
  22176. },
  22177. "hedgerestamount": {
  22178. "description": "套期剩余市价总额【现货贸易】",
  22179. "type": "number"
  22180. },
  22181. "hedgesumpl": {
  22182. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  22183. "type": "number"
  22184. },
  22185. "middlegoodslist": {
  22186. "description": "套期商品列表",
  22187. "type": "array",
  22188. "items": {
  22189. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  22190. }
  22191. },
  22192. "oriavgprice": {
  22193. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  22194. "type": "number"
  22195. },
  22196. "orifuturehedgepl": {
  22197. "description": "期初期货实际损益",
  22198. "type": "number"
  22199. },
  22200. "orifuturepl": {
  22201. "description": "期初期货套期损益",
  22202. "type": "number"
  22203. },
  22204. "orispothedgepl": {
  22205. "description": "期初现货实际损益",
  22206. "type": "number"
  22207. },
  22208. "orispotpl": {
  22209. "description": "期初现货套期损益",
  22210. "type": "number"
  22211. },
  22212. "planenddate": {
  22213. "description": "计划结束日期",
  22214. "type": "string"
  22215. },
  22216. "planstartdate": {
  22217. "description": "计划开始日期",
  22218. "type": "string"
  22219. },
  22220. "remark": {
  22221. "description": "备注",
  22222. "type": "string"
  22223. },
  22224. "spotbookamount": {
  22225. "description": "现货账面总额",
  22226. "type": "number"
  22227. },
  22228. "spotfloatpl": {
  22229. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  22230. "type": "number"
  22231. },
  22232. "spothedgepl": {
  22233. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  22234. "type": "number"
  22235. },
  22236. "spothedgeplchange": {
  22237. "description": "现货实际损益变动",
  22238. "type": "number"
  22239. },
  22240. "spotpl": {
  22241. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  22242. "type": "number"
  22243. },
  22244. "spotplchange": {
  22245. "description": "现货套期损益变动",
  22246. "type": "number"
  22247. },
  22248. "spottradepl": {
  22249. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  22250. "type": "number"
  22251. },
  22252. "sumobspl": {
  22253. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  22254. "type": "number"
  22255. },
  22256. "tradeuserid": {
  22257. "description": "交易用户ID",
  22258. "type": "integer"
  22259. },
  22260. "unexeqty": {
  22261. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  22262. "type": "number"
  22263. },
  22264. "updatetime": {
  22265. "description": "更新时间",
  22266. "type": "string"
  22267. },
  22268. "vatpl": {
  22269. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  22270. "type": "number"
  22271. },
  22272. "vatrate": {
  22273. "description": "增值税",
  22274. "type": "number"
  22275. },
  22276. "wrstandardid": {
  22277. "description": "现货商品ID",
  22278. "type": "integer"
  22279. },
  22280. "wrstandardname": {
  22281. "description": "商品名称",
  22282. "type": "string"
  22283. }
  22284. }
  22285. },
  22286. "models.Ermcp2hedgeditemlink": {
  22287. "type": "object",
  22288. "required": [
  22289. "relatedspotcontractid"
  22290. ],
  22291. "properties": {
  22292. "areauserid": {
  22293. "description": "企业ID",
  22294. "type": "integer"
  22295. },
  22296. "createtime": {
  22297. "description": "[关联时间]创建时间",
  22298. "type": "string"
  22299. },
  22300. "customeruserid": {
  22301. "description": "对手方 【3:采购合同 4:销售合同】",
  22302. "type": "integer"
  22303. },
  22304. "deliverygoodsid": {
  22305. "description": "现货品种ID",
  22306. "type": "integer"
  22307. },
  22308. "enumdicname": {
  22309. "description": "单位",
  22310. "type": "string"
  22311. },
  22312. "hedgeditemid": {
  22313. "description": "被套期项目ID",
  22314. "type": "integer"
  22315. },
  22316. "hedgeditemlinkid": {
  22317. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  22318. "type": "integer"
  22319. },
  22320. "hedgeditemnum": {
  22321. "description": "项目编号",
  22322. "type": "string"
  22323. },
  22324. "hedgedtype": {
  22325. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22326. "type": "integer"
  22327. },
  22328. "relatedamount": {
  22329. "description": "市价总额 = 关联数量 * 期初市场价",
  22330. "type": "number"
  22331. },
  22332. "relatedhedgeplanid": {
  22333. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22334. "type": "integer"
  22335. },
  22336. "relatedqty": {
  22337. "description": "关联数量",
  22338. "type": "number"
  22339. },
  22340. "relatedspotcontractid": {
  22341. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22342. "type": "integer"
  22343. },
  22344. "relatedtype": {
  22345. "description": "关联类型 - 1:套期关联 2:执行关联",
  22346. "type": "integer"
  22347. },
  22348. "spotgoodsbrandid": {
  22349. "description": "现货品牌ID",
  22350. "type": "integer"
  22351. },
  22352. "spotpricedamount": {
  22353. "description": "[关联定价总额]定价总额",
  22354. "type": "number"
  22355. },
  22356. "spotpricedavgprice": {
  22357. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  22358. "type": "number"
  22359. },
  22360. "spottype": {
  22361. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22362. "type": "integer"
  22363. },
  22364. "tradeuserid": {
  22365. "description": "交易用户ID",
  22366. "type": "integer"
  22367. },
  22368. "unexeqty": {
  22369. "description": "未执行现货量【项目关联时值】",
  22370. "type": "number"
  22371. },
  22372. "wrstandardid": {
  22373. "description": "现货商品ID",
  22374. "type": "integer"
  22375. },
  22376. "wrstandardname": {
  22377. "description": "现货商品",
  22378. "type": "string"
  22379. }
  22380. }
  22381. },
  22382. "models.Ermcp2hedgeditemsDetail": {
  22383. "type": "object",
  22384. "properties": {
  22385. "accountname": {
  22386. "description": "套期主体",
  22387. "type": "string"
  22388. },
  22389. "areauserid": {
  22390. "description": "企业ID",
  22391. "type": "integer"
  22392. },
  22393. "createtime": {
  22394. "description": "[日期时间]创建时间",
  22395. "type": "string"
  22396. },
  22397. "customeruserid": {
  22398. "description": "对手方 【3:采购合同 4:销售合同】",
  22399. "type": "integer"
  22400. },
  22401. "deliverygoodsid": {
  22402. "description": "现货品种ID",
  22403. "type": "integer"
  22404. },
  22405. "enumdicname": {
  22406. "description": "单位",
  22407. "type": "string"
  22408. },
  22409. "hedgeditemid": {
  22410. "description": "被套期项目ID",
  22411. "type": "string"
  22412. },
  22413. "hedgeditemspotid": {
  22414. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22415. "type": "string"
  22416. },
  22417. "hedgedtype": {
  22418. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22419. "type": "integer"
  22420. },
  22421. "hedgeplanno": {
  22422. "description": "计划编号",
  22423. "type": "string"
  22424. },
  22425. "middlegoodschange": {
  22426. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  22427. "type": "number"
  22428. },
  22429. "oriavgprice": {
  22430. "description": "期初市场价[当初市场价]",
  22431. "type": "number"
  22432. },
  22433. "relatedamount": {
  22434. "description": "市价总额 = 关联数量 * 期初市场价",
  22435. "type": "number"
  22436. },
  22437. "relatedhedgeplanid": {
  22438. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22439. "type": "integer"
  22440. },
  22441. "relatedqty": {
  22442. "description": "[期间变化量]关联数量",
  22443. "type": "number"
  22444. },
  22445. "relatedspotcontractid": {
  22446. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22447. "type": "integer"
  22448. },
  22449. "relatedtype": {
  22450. "description": "关联类型 - 1:套期关联 2:执行关联",
  22451. "type": "integer"
  22452. },
  22453. "spotgoodsbrandid": {
  22454. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22455. "type": "integer"
  22456. },
  22457. "spotpricedamount": {
  22458. "description": "定价总额",
  22459. "type": "number"
  22460. },
  22461. "spotpricedavgprice": {
  22462. "description": "现货均价 = 定价总额 / 关联数量",
  22463. "type": "number"
  22464. },
  22465. "spottype": {
  22466. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22467. "type": "integer"
  22468. },
  22469. "tradeuserid": {
  22470. "description": "交易用户ID",
  22471. "type": "integer"
  22472. },
  22473. "unexeqty": {
  22474. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  22475. "type": "number"
  22476. },
  22477. "wrstandardid": {
  22478. "description": "现货商品ID",
  22479. "type": "integer"
  22480. },
  22481. "wrstandardname": {
  22482. "description": "现货商品",
  22483. "type": "string"
  22484. }
  22485. }
  22486. },
  22487. "models.Ermcp2hedgeditemspot": {
  22488. "type": "object",
  22489. "required": [
  22490. "hedgeditemid"
  22491. ],
  22492. "properties": {
  22493. "areauserid": {
  22494. "description": "企业ID",
  22495. "type": "integer"
  22496. },
  22497. "createtime": {
  22498. "description": "创建时间",
  22499. "type": "string"
  22500. },
  22501. "customeruserid": {
  22502. "description": "对手方 【3:采购合同 4:销售合同】",
  22503. "type": "integer"
  22504. },
  22505. "deliverygoodsid": {
  22506. "description": "现货品种ID",
  22507. "type": "integer"
  22508. },
  22509. "enumdicname": {
  22510. "description": "单位",
  22511. "type": "string"
  22512. },
  22513. "hedgeditemid": {
  22514. "description": "被套期项目ID",
  22515. "type": "string"
  22516. },
  22517. "hedgeditemspotid": {
  22518. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22519. "type": "string"
  22520. },
  22521. "hedgedtype": {
  22522. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22523. "type": "integer"
  22524. },
  22525. "hedgeplanno": {
  22526. "description": "计划编号",
  22527. "type": "string"
  22528. },
  22529. "oriavgprice": {
  22530. "description": "期初市场价[当初市场价]",
  22531. "type": "number"
  22532. },
  22533. "relatedamount": {
  22534. "description": "市价总额 = 关联数量 * 期初市场价",
  22535. "type": "number"
  22536. },
  22537. "relatedhedgeplanid": {
  22538. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22539. "type": "integer"
  22540. },
  22541. "relatedqty": {
  22542. "description": "关联数量[数量]",
  22543. "type": "number"
  22544. },
  22545. "relatedspotcontractid": {
  22546. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22547. "type": "integer"
  22548. },
  22549. "relatedtype": {
  22550. "description": "关联类型 - 1:套期关联 2:执行关联",
  22551. "type": "integer"
  22552. },
  22553. "spotgoodsbrandid": {
  22554. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22555. "type": "integer"
  22556. },
  22557. "spotpricedamount": {
  22558. "description": "定价总额",
  22559. "type": "number"
  22560. },
  22561. "spotpricedavgprice": {
  22562. "description": "现货均价 = 定价总额 / 关联数量",
  22563. "type": "number"
  22564. },
  22565. "spottype": {
  22566. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22567. "type": "integer"
  22568. },
  22569. "tradeuserid": {
  22570. "description": "交易用户ID",
  22571. "type": "integer"
  22572. },
  22573. "wrstandardid": {
  22574. "description": "现货商品ID",
  22575. "type": "integer"
  22576. },
  22577. "wrstandardname": {
  22578. "description": "现货商品",
  22579. "type": "string"
  22580. }
  22581. }
  22582. },
  22583. "models.Ermcp2hedgeditemspotDetail": {
  22584. "type": "object",
  22585. "required": [
  22586. "hedgeditemid"
  22587. ],
  22588. "properties": {
  22589. "accountname": {
  22590. "description": "对手方",
  22591. "type": "string"
  22592. },
  22593. "areauserid": {
  22594. "description": "企业ID",
  22595. "type": "integer"
  22596. },
  22597. "brandname": {
  22598. "description": "品牌",
  22599. "type": "string"
  22600. },
  22601. "contractno": {
  22602. "description": "合同编号",
  22603. "type": "string"
  22604. },
  22605. "createtime": {
  22606. "description": "创建时间",
  22607. "type": "string"
  22608. },
  22609. "customeruserid": {
  22610. "description": "对手方 【3:采购合同 4:销售合同】",
  22611. "type": "integer"
  22612. },
  22613. "deliverygoodsid": {
  22614. "description": "现货品种ID",
  22615. "type": "integer"
  22616. },
  22617. "enumdicname": {
  22618. "description": "单位",
  22619. "type": "string"
  22620. },
  22621. "hedgeditemid": {
  22622. "description": "被套期项目ID",
  22623. "type": "string"
  22624. },
  22625. "hedgeditemspotid": {
  22626. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22627. "type": "string"
  22628. },
  22629. "hedgedtype": {
  22630. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22631. "type": "integer"
  22632. },
  22633. "oriavgprice": {
  22634. "description": "期初市场价[当初市场价]",
  22635. "type": "number"
  22636. },
  22637. "relatedamount": {
  22638. "description": "市价总额 = 关联数量 * 期初市场价",
  22639. "type": "number"
  22640. },
  22641. "relatedhedgeplanid": {
  22642. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22643. "type": "integer"
  22644. },
  22645. "relatedqty": {
  22646. "description": "关联数量[数量]",
  22647. "type": "number"
  22648. },
  22649. "relatedspotcontractid": {
  22650. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22651. "type": "integer"
  22652. },
  22653. "relatedtype": {
  22654. "description": "关联类型 - 1:套期关联 2:执行关联",
  22655. "type": "integer"
  22656. },
  22657. "spotgoodsbrandid": {
  22658. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22659. "type": "integer"
  22660. },
  22661. "spotpricedamount": {
  22662. "description": "定价总额[金额]",
  22663. "type": "number"
  22664. },
  22665. "spotpricedavgprice": {
  22666. "description": "现货均价 = 定价总额 / 关联数量",
  22667. "type": "number"
  22668. },
  22669. "spottype": {
  22670. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22671. "type": "integer"
  22672. },
  22673. "tradeuserid": {
  22674. "description": "交易用户ID",
  22675. "type": "integer"
  22676. },
  22677. "wrstandardid": {
  22678. "description": "现货商品ID",
  22679. "type": "integer"
  22680. },
  22681. "wrstandardname": {
  22682. "description": "现货商品",
  22683. "type": "string"
  22684. }
  22685. }
  22686. },
  22687. "models.Ermcp2himiddlegoods": {
  22688. "type": "object",
  22689. "required": [
  22690. "hedgeditemid",
  22691. "middlegoodsid"
  22692. ],
  22693. "properties": {
  22694. "futurehedgeqty": {
  22695. "description": "期货持仓套期量",
  22696. "type": "number"
  22697. },
  22698. "hedgeditemid": {
  22699. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  22700. "type": "integer"
  22701. },
  22702. "hiexpsoure": {
  22703. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  22704. "type": "number"
  22705. },
  22706. "middlegoodscode": {
  22707. "description": "套保商品代码",
  22708. "type": "string"
  22709. },
  22710. "middlegoodsid": {
  22711. "description": "套保品种ID",
  22712. "type": "integer"
  22713. },
  22714. "middlegoodsname": {
  22715. "description": "套保商品名称",
  22716. "type": "string"
  22717. },
  22718. "unexehedgeqty": {
  22719. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  22720. "type": "number"
  22721. }
  22722. }
  22723. },
  22724. "models.Ermcp2stockspotchangelog": {
  22725. "type": "object",
  22726. "properties": {
  22727. "accountname": {
  22728. "description": "套期主体",
  22729. "type": "string"
  22730. },
  22731. "aftervalue": {
  22732. "description": "现货量",
  22733. "type": "number"
  22734. },
  22735. "beforevalue": {
  22736. "description": "变更前现货量",
  22737. "type": "number"
  22738. },
  22739. "contractno": {
  22740. "description": "[编号]现货合同编号",
  22741. "type": "string"
  22742. },
  22743. "contracttype": {
  22744. "description": "现货合同类型 - 1:采购 -1:销售",
  22745. "type": "integer"
  22746. },
  22747. "createtime": {
  22748. "description": "创建时间",
  22749. "type": "string"
  22750. },
  22751. "customerusername": {
  22752. "description": "对手方",
  22753. "type": "string"
  22754. },
  22755. "deliverygoodsid": {
  22756. "description": "现货品种ID",
  22757. "type": "integer"
  22758. },
  22759. "exetype": {
  22760. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  22761. "type": "integer"
  22762. },
  22763. "logid": {
  22764. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  22765. "type": "string"
  22766. },
  22767. "logvalue": {
  22768. "description": "[期间变化量]现货量变更值",
  22769. "type": "number"
  22770. },
  22771. "middlegoodschange": {
  22772. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  22773. "type": "number"
  22774. },
  22775. "operatelogtype": {
  22776. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  22777. "type": "integer"
  22778. },
  22779. "relatedid": {
  22780. "description": "现货合同ID",
  22781. "type": "integer"
  22782. },
  22783. "spotgoodsbrandid": {
  22784. "description": "现货品牌ID",
  22785. "type": "integer"
  22786. },
  22787. "tradedate": {
  22788. "description": "交易日(yyyyMMdd)",
  22789. "type": "string"
  22790. },
  22791. "userid": {
  22792. "description": "机构ID",
  22793. "type": "integer"
  22794. },
  22795. "warehouseinfoid": {
  22796. "description": "仓库ID",
  22797. "type": "integer"
  22798. },
  22799. "wrfactortypeid": {
  22800. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22801. "type": "integer"
  22802. },
  22803. "wrstandardid": {
  22804. "description": "现货商品ID",
  22805. "type": "integer"
  22806. },
  22807. "wrstandardname": {
  22808. "description": "商品名称",
  22809. "type": "string"
  22810. }
  22811. }
  22812. },
  22813. "models.Ermcp3AreaSpot": {
  22814. "type": "object",
  22815. "properties": {
  22816. "areauserid": {
  22817. "description": "所属机构",
  22818. "type": "integer"
  22819. },
  22820. "convertratio": {
  22821. "description": "套保系数",
  22822. "type": "number"
  22823. },
  22824. "decreaseqty": {
  22825. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  22826. "type": "number"
  22827. },
  22828. "enumdicname": {
  22829. "description": "单位名称",
  22830. "type": "string"
  22831. },
  22832. "increaseqty": {
  22833. "description": "增加数量=销售计划数量+采购已定价数量",
  22834. "type": "number"
  22835. },
  22836. "oritoalspotqty": {
  22837. "description": "昨日数量",
  22838. "type": "number"
  22839. },
  22840. "totalspotqty": {
  22841. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  22842. "type": "number"
  22843. },
  22844. "unitid": {
  22845. "description": "现货商品单位id",
  22846. "type": "integer"
  22847. },
  22848. "updatetime": {
  22849. "description": "更新时间",
  22850. "type": "string"
  22851. },
  22852. "wrstandardcode": {
  22853. "description": "现货商品代码",
  22854. "type": "string"
  22855. },
  22856. "wrstandardid": {
  22857. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22858. "type": "integer"
  22859. },
  22860. "wrstandardname": {
  22861. "description": "现货商品名称",
  22862. "type": "string"
  22863. }
  22864. }
  22865. },
  22866. "models.Ermcp3AreaSpotDetail": {
  22867. "type": "object",
  22868. "properties": {
  22869. "contracttype": {
  22870. "description": "合同类型 1-采购 -1-销售",
  22871. "type": "integer"
  22872. },
  22873. "createtime": {
  22874. "description": "创建时间",
  22875. "type": "string"
  22876. },
  22877. "enumdicname": {
  22878. "description": "现货商品单位名称",
  22879. "type": "string"
  22880. },
  22881. "logtype": {
  22882. "description": "记录类型 1-套保 2-现货合同",
  22883. "type": "integer"
  22884. },
  22885. "qty": {
  22886. "description": "数量",
  22887. "type": "number"
  22888. },
  22889. "recordname": {
  22890. "description": "类型名称",
  22891. "type": "string"
  22892. },
  22893. "relatedid": {
  22894. "description": "套保计划ID/现货合同ID",
  22895. "type": "string"
  22896. },
  22897. "relatedno": {
  22898. "description": "编号",
  22899. "type": "string"
  22900. },
  22901. "strtime": {
  22902. "description": "时间",
  22903. "type": "string"
  22904. },
  22905. "wrstandardcode": {
  22906. "description": "现货商品代码",
  22907. "type": "string"
  22908. },
  22909. "wrstandardid": {
  22910. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22911. "type": "integer"
  22912. },
  22913. "wrstandardname": {
  22914. "description": "现货商品名称",
  22915. "type": "string"
  22916. }
  22917. }
  22918. },
  22919. "models.Ermcp3AreaSpotPLReport": {
  22920. "type": "object",
  22921. "properties": {
  22922. "accountid": {
  22923. "description": "期货账户ID (作废, 默认为0)",
  22924. "type": "integer"
  22925. },
  22926. "accountname": {
  22927. "description": "机构名称",
  22928. "type": "string"
  22929. },
  22930. "actualpl": {
  22931. "description": "现货损益",
  22932. "type": "number"
  22933. },
  22934. "areauserid": {
  22935. "description": "所属机构\\交易用户ID",
  22936. "type": "integer"
  22937. },
  22938. "begindate": {
  22939. "description": "开始交易日",
  22940. "type": "string"
  22941. },
  22942. "biztype": {
  22943. "description": "业务类型 - 1:套保 2:套利",
  22944. "type": "integer"
  22945. },
  22946. "brandname": {
  22947. "description": "品牌名称",
  22948. "type": "string"
  22949. },
  22950. "curamount": {
  22951. "description": "期末额",
  22952. "type": "number"
  22953. },
  22954. "curaverageprice": {
  22955. "description": "期初均价",
  22956. "type": "number"
  22957. },
  22958. "curbuyamount": {
  22959. "description": "期末采购总额",
  22960. "type": "number"
  22961. },
  22962. "curbuyqty": {
  22963. "description": "期末采购总量",
  22964. "type": "number"
  22965. },
  22966. "curmarketvalue": {
  22967. "description": "期初均价",
  22968. "type": "number"
  22969. },
  22970. "curqty": {
  22971. "description": "期末量",
  22972. "type": "number"
  22973. },
  22974. "currencyid": {
  22975. "description": "结算币种ID【原值】",
  22976. "type": "integer"
  22977. },
  22978. "currencyname": {
  22979. "description": "币种名称",
  22980. "type": "string"
  22981. },
  22982. "cursellamount": {
  22983. "description": "期末销售总额",
  22984. "type": "number"
  22985. },
  22986. "cursellqty": {
  22987. "description": "期末销售总量",
  22988. "type": "number"
  22989. },
  22990. "curspotprice": {
  22991. "description": "期初均价",
  22992. "type": "number"
  22993. },
  22994. "cycletime": {
  22995. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22996. "type": "string"
  22997. },
  22998. "cycletype": {
  22999. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23000. "type": "integer"
  23001. },
  23002. "deliverygoodscode": {
  23003. "description": "现货品种代码",
  23004. "type": "string"
  23005. },
  23006. "deliverygoodsid": {
  23007. "description": "现货品种ID",
  23008. "type": "integer"
  23009. },
  23010. "deliverygoodsname": {
  23011. "description": "现货品种名称",
  23012. "type": "string"
  23013. },
  23014. "enddate": {
  23015. "description": "结束交易日",
  23016. "type": "string"
  23017. },
  23018. "enumdicname": {
  23019. "description": "现货品种单位名称(作废)",
  23020. "type": "string"
  23021. },
  23022. "floatpl": {
  23023. "description": "期初均价",
  23024. "type": "number"
  23025. },
  23026. "goodsunitid": {
  23027. "description": "现货品种单位id(作废)",
  23028. "type": "integer"
  23029. },
  23030. "oriamount": {
  23031. "description": "期初额",
  23032. "type": "number"
  23033. },
  23034. "oriaverageprice": {
  23035. "description": "期初均价",
  23036. "type": "number"
  23037. },
  23038. "oribuyamount": {
  23039. "description": "期初采购总额",
  23040. "type": "number"
  23041. },
  23042. "oribuyqty": {
  23043. "description": "期初采购总量",
  23044. "type": "number"
  23045. },
  23046. "oriqty": {
  23047. "description": "期初量",
  23048. "type": "number"
  23049. },
  23050. "orisellamount": {
  23051. "description": "期初销售总额",
  23052. "type": "number"
  23053. },
  23054. "orisellqty": {
  23055. "description": "期初销售总量",
  23056. "type": "number"
  23057. },
  23058. "reckondate": {
  23059. "description": "日照时期(yyyyMMdd)",
  23060. "type": "string"
  23061. },
  23062. "spotgoodsbrandid": {
  23063. "description": "现货品牌ID",
  23064. "type": "integer"
  23065. },
  23066. "todaybuyamount": {
  23067. "description": "今日采购额(今采购额)",
  23068. "type": "number"
  23069. },
  23070. "todaybuyaverageprice": {
  23071. "description": "期初均价",
  23072. "type": "number"
  23073. },
  23074. "todaybuyqty": {
  23075. "description": "今日采购量(今采购量)",
  23076. "type": "number"
  23077. },
  23078. "todayinqty": {
  23079. "description": "今日入库量(今入库量)",
  23080. "type": "number"
  23081. },
  23082. "todayoutqty": {
  23083. "description": "今日出库量(今出库量)",
  23084. "type": "number"
  23085. },
  23086. "todaysellamount": {
  23087. "description": "今日销售额(今销售额)",
  23088. "type": "number"
  23089. },
  23090. "todaysellaverageprice": {
  23091. "description": "期初均价",
  23092. "type": "number"
  23093. },
  23094. "todaysellqty": {
  23095. "description": "今日销售量(今销售量)",
  23096. "type": "number"
  23097. },
  23098. "unitid": {
  23099. "description": "品类单位id",
  23100. "type": "integer"
  23101. },
  23102. "unitidname": {
  23103. "description": "品类单位名称",
  23104. "type": "string"
  23105. },
  23106. "updatetime": {
  23107. "description": "更新时间",
  23108. "type": "string"
  23109. },
  23110. "wrfactortypeid": {
  23111. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  23112. "type": "integer"
  23113. },
  23114. "wrstandardcode": {
  23115. "description": "现货商品(品类)代码",
  23116. "type": "string"
  23117. },
  23118. "wrstandardid": {
  23119. "description": "现货品类ID",
  23120. "type": "integer"
  23121. },
  23122. "wrstandardname": {
  23123. "description": "现货商品(品类)名称",
  23124. "type": "string"
  23125. }
  23126. }
  23127. },
  23128. "models.Ermcp3AreaStock": {
  23129. "type": "object",
  23130. "required": [
  23131. "userid"
  23132. ],
  23133. "properties": {
  23134. "brandname": {
  23135. "description": "品牌名称",
  23136. "type": "string"
  23137. },
  23138. "curstock": {
  23139. "description": "期末库存量(今日量)",
  23140. "type": "number"
  23141. },
  23142. "deliverygoodscode": {
  23143. "description": "现货品种代码",
  23144. "type": "string"
  23145. },
  23146. "deliverygoodsid": {
  23147. "description": "现货品种id",
  23148. "type": "integer"
  23149. },
  23150. "deliverygoodsname": {
  23151. "description": "现货品种名称",
  23152. "type": "string"
  23153. },
  23154. "enumdicname": {
  23155. "description": "单位名称",
  23156. "type": "string"
  23157. },
  23158. "goodsunitid": {
  23159. "description": "现货商品单位id",
  23160. "type": "integer"
  23161. },
  23162. "oristock": {
  23163. "description": "期初库存量(昨日量)",
  23164. "type": "number"
  23165. },
  23166. "spotgoodsbrandid": {
  23167. "description": "现货品牌ID",
  23168. "type": "integer"
  23169. },
  23170. "todaybuyinqty": {
  23171. "description": "今日采购入库量",
  23172. "type": "number"
  23173. },
  23174. "todayproduceinqty": {
  23175. "description": "今日生产入库量",
  23176. "type": "number"
  23177. },
  23178. "todayproduceoutqty": {
  23179. "description": "今日生产出库量",
  23180. "type": "number"
  23181. },
  23182. "todayselloutqty": {
  23183. "description": "今日销售出库量",
  23184. "type": "number"
  23185. },
  23186. "unitid": {
  23187. "description": "单位id",
  23188. "type": "integer"
  23189. },
  23190. "updatetime": {
  23191. "description": "更新时间",
  23192. "type": "string"
  23193. },
  23194. "userid": {
  23195. "description": "机构ID",
  23196. "type": "integer"
  23197. },
  23198. "username": {
  23199. "description": "机构名称",
  23200. "type": "string"
  23201. },
  23202. "warehousecode": {
  23203. "description": "仓库代码",
  23204. "type": "string"
  23205. },
  23206. "warehouseinfoid": {
  23207. "description": "仓库ID",
  23208. "type": "string"
  23209. },
  23210. "warehousename": {
  23211. "description": "仓库名称",
  23212. "type": "string"
  23213. },
  23214. "warehousetype": {
  23215. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23216. "type": "integer"
  23217. },
  23218. "wrstandardcode": {
  23219. "description": "品类代码",
  23220. "type": "string"
  23221. },
  23222. "wrstandardid": {
  23223. "description": "品类ID",
  23224. "type": "string"
  23225. },
  23226. "wrstandardname": {
  23227. "description": "品类名称",
  23228. "type": "string"
  23229. }
  23230. }
  23231. },
  23232. "models.Ermcp3AreaStockApply": {
  23233. "type": "object",
  23234. "properties": {
  23235. "applyid": {
  23236. "description": "申请人",
  23237. "type": "integer"
  23238. },
  23239. "applyname": {
  23240. "description": "申请人名称",
  23241. "type": "string"
  23242. },
  23243. "applyremark": {
  23244. "description": "申请备注",
  23245. "type": "string"
  23246. },
  23247. "applysrc": {
  23248. "description": "申请来源 - 1:管理端 2:终端",
  23249. "type": "integer"
  23250. },
  23251. "applystatus": {
  23252. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  23253. "type": "integer"
  23254. },
  23255. "applytime": {
  23256. "description": "申请时间",
  23257. "type": "string"
  23258. },
  23259. "auditid": {
  23260. "description": "审核人",
  23261. "type": "integer"
  23262. },
  23263. "auditname": {
  23264. "description": "审核人名称",
  23265. "type": "string"
  23266. },
  23267. "auditremark": {
  23268. "description": "审核备注",
  23269. "type": "string"
  23270. },
  23271. "auditsrc": {
  23272. "description": "审核来源 - 1:管理端 2:终端",
  23273. "type": "integer"
  23274. },
  23275. "audittime": {
  23276. "description": "审核时间",
  23277. "type": "string"
  23278. },
  23279. "audittradedate": {
  23280. "description": "审核交易日(yyyyMMdd)",
  23281. "type": "string"
  23282. },
  23283. "brandname": {
  23284. "description": "品牌名称",
  23285. "type": "string"
  23286. },
  23287. "buynickname": {
  23288. "description": "采购方昵称",
  23289. "type": "string"
  23290. },
  23291. "buyuserid": {
  23292. "description": "采购方userid",
  23293. "type": "integer"
  23294. },
  23295. "buyusername": {
  23296. "description": "采购方名称",
  23297. "type": "string"
  23298. },
  23299. "contractno": {
  23300. "description": "合同编号",
  23301. "type": "string"
  23302. },
  23303. "contractqty": {
  23304. "description": "合同量",
  23305. "type": "number"
  23306. },
  23307. "contracttype": {
  23308. "description": "现货合同类型 - 1:采购 -1:销售",
  23309. "type": "integer"
  23310. },
  23311. "deliverygoodscode": {
  23312. "description": "现货品种代码",
  23313. "type": "string"
  23314. },
  23315. "deliverygoodsid": {
  23316. "description": "现货品种id",
  23317. "type": "integer"
  23318. },
  23319. "deliverygoodsname": {
  23320. "description": "现货品种名称",
  23321. "type": "string"
  23322. },
  23323. "detailjson": {
  23324. "description": "明细数据",
  23325. "type": "string"
  23326. },
  23327. "enumdicname": {
  23328. "description": "现货商品单位名称",
  23329. "type": "string"
  23330. },
  23331. "inoutapplyid": {
  23332. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  23333. "type": "string"
  23334. },
  23335. "inouttype": {
  23336. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  23337. "type": "integer"
  23338. },
  23339. "pricetype": {
  23340. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23341. "type": "integer"
  23342. },
  23343. "qty": {
  23344. "description": "数量",
  23345. "type": "number"
  23346. },
  23347. "sellnickname": {
  23348. "description": "销售方昵称",
  23349. "type": "string"
  23350. },
  23351. "selluserid": {
  23352. "description": "销售方userid",
  23353. "type": "integer"
  23354. },
  23355. "sellusername": {
  23356. "description": "销售方名称",
  23357. "type": "string"
  23358. },
  23359. "spotcontractid": {
  23360. "description": "关联现货合同ID",
  23361. "type": "string"
  23362. },
  23363. "spotgoodsbrandid": {
  23364. "description": "现货品牌ID",
  23365. "type": "integer"
  23366. },
  23367. "unitid": {
  23368. "description": "单位id",
  23369. "type": "integer"
  23370. },
  23371. "userid": {
  23372. "description": "机构ID",
  23373. "type": "integer"
  23374. },
  23375. "warehousecode": {
  23376. "description": "仓库代码",
  23377. "type": "string"
  23378. },
  23379. "warehouseinfoid": {
  23380. "description": "现货仓库ID",
  23381. "type": "string"
  23382. },
  23383. "warehousename": {
  23384. "description": "仓库名称",
  23385. "type": "string"
  23386. },
  23387. "warehousetype": {
  23388. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23389. "type": "integer"
  23390. },
  23391. "wrstandardcode": {
  23392. "description": "品类代码",
  23393. "type": "string"
  23394. },
  23395. "wrstandardid": {
  23396. "description": "品类ID",
  23397. "type": "integer"
  23398. },
  23399. "wrstandardname": {
  23400. "description": "品类名称",
  23401. "type": "string"
  23402. }
  23403. }
  23404. },
  23405. "models.Ermcp3AreaStockApplySum": {
  23406. "type": "object",
  23407. "properties": {
  23408. "brandname": {
  23409. "description": "品牌名称",
  23410. "type": "string"
  23411. },
  23412. "inouttype": {
  23413. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  23414. "type": "integer"
  23415. },
  23416. "spotcontractid": {
  23417. "description": "关联现货合同ID",
  23418. "type": "string"
  23419. },
  23420. "spotgoodsbrandid": {
  23421. "description": "品牌id",
  23422. "type": "integer"
  23423. },
  23424. "totalqty": {
  23425. "description": "总数量",
  23426. "type": "number"
  23427. },
  23428. "wrstandardid": {
  23429. "description": "品类id",
  23430. "type": "integer"
  23431. },
  23432. "wrstandardname": {
  23433. "description": "品类名称",
  23434. "type": "string"
  23435. }
  23436. }
  23437. },
  23438. "models.Ermcp3AreaStockReportEx": {
  23439. "type": "object",
  23440. "properties": {
  23441. "begindate": {
  23442. "description": "开始交易日",
  23443. "type": "string"
  23444. },
  23445. "brandname": {
  23446. "description": "品牌名称",
  23447. "type": "string"
  23448. },
  23449. "curstock": {
  23450. "description": "期末库存量",
  23451. "type": "number"
  23452. },
  23453. "cycletime": {
  23454. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23455. "type": "string"
  23456. },
  23457. "cycletype": {
  23458. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23459. "type": "integer"
  23460. },
  23461. "deliverygoodscode": {
  23462. "description": "现货品种代码",
  23463. "type": "string"
  23464. },
  23465. "deliverygoodsid": {
  23466. "description": "现货品种id",
  23467. "type": "integer"
  23468. },
  23469. "deliverygoodsname": {
  23470. "description": "现货品种名称",
  23471. "type": "string"
  23472. },
  23473. "diffqty": {
  23474. "description": "库存变化量 = 期末 - 期初",
  23475. "type": "number"
  23476. },
  23477. "enddate": {
  23478. "description": "结束交易日",
  23479. "type": "string"
  23480. },
  23481. "enumdicname": {
  23482. "description": "单位名称",
  23483. "type": "string"
  23484. },
  23485. "goodsunitid": {
  23486. "description": "现货单位id",
  23487. "type": "integer"
  23488. },
  23489. "oristock": {
  23490. "description": "期初库存量",
  23491. "type": "number"
  23492. },
  23493. "reckondate": {
  23494. "description": "日照时期(yyyyMMdd)",
  23495. "type": "string"
  23496. },
  23497. "spotgoodsbrandid": {
  23498. "description": "现货品牌ID",
  23499. "type": "integer"
  23500. },
  23501. "todaybuyinqty": {
  23502. "description": "今采购入库量",
  23503. "type": "number"
  23504. },
  23505. "todayproduceinqty": {
  23506. "description": "今内部入库量",
  23507. "type": "number"
  23508. },
  23509. "todayproduceoutqty": {
  23510. "description": "今内部出库量",
  23511. "type": "number"
  23512. },
  23513. "todayselloutqty": {
  23514. "description": "今销售出库量",
  23515. "type": "number"
  23516. },
  23517. "unbuyinqty": {
  23518. "description": "采购未入库量(数据库未找到相关字段?)",
  23519. "type": "number"
  23520. },
  23521. "unitid": {
  23522. "description": "品类单位id",
  23523. "type": "integer"
  23524. },
  23525. "unselloutqty": {
  23526. "description": "销售未出库量(数据库未找到相关字段?)",
  23527. "type": "number"
  23528. },
  23529. "updatetime": {
  23530. "description": "更新时间",
  23531. "type": "string"
  23532. },
  23533. "userid": {
  23534. "description": "机构ID",
  23535. "type": "integer"
  23536. },
  23537. "username": {
  23538. "description": "机构名称",
  23539. "type": "string"
  23540. },
  23541. "warehousecode": {
  23542. "description": "仓库代码",
  23543. "type": "string"
  23544. },
  23545. "warehouseinfoid": {
  23546. "description": "仓库ID",
  23547. "type": "string"
  23548. },
  23549. "warehousename": {
  23550. "description": "仓库名称",
  23551. "type": "string"
  23552. },
  23553. "warehousetype": {
  23554. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23555. "type": "integer"
  23556. },
  23557. "wrstandardcode": {
  23558. "description": "品类代码",
  23559. "type": "string"
  23560. },
  23561. "wrstandardid": {
  23562. "description": "品类ID",
  23563. "type": "integer"
  23564. },
  23565. "wrstandardname": {
  23566. "description": "品类名称",
  23567. "type": "string"
  23568. }
  23569. }
  23570. },
  23571. "models.Ermcp3ArealSumPL": {
  23572. "type": "object",
  23573. "properties": {
  23574. "accountname": {
  23575. "description": "机构名称",
  23576. "type": "string"
  23577. },
  23578. "areauserid": {
  23579. "description": "所属机构\\交易用户ID",
  23580. "type": "integer"
  23581. },
  23582. "begindate": {
  23583. "description": "开始交易日",
  23584. "type": "string"
  23585. },
  23586. "currencyid": {
  23587. "description": "结算币种ID",
  23588. "type": "integer"
  23589. },
  23590. "currencyname": {
  23591. "description": "币种名称",
  23592. "type": "string"
  23593. },
  23594. "cycletime": {
  23595. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23596. "type": "string"
  23597. },
  23598. "cycletype": {
  23599. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23600. "type": "integer"
  23601. },
  23602. "enddate": {
  23603. "description": "结束交易日",
  23604. "type": "string"
  23605. },
  23606. "enumdicname": {
  23607. "description": "单位名称(套保品种)",
  23608. "type": "string"
  23609. },
  23610. "futureactualpl": {
  23611. "description": "期货损益",
  23612. "type": "number"
  23613. },
  23614. "futurefloatpl": {
  23615. "description": "期货浮动损益",
  23616. "type": "number"
  23617. },
  23618. "futurespotratio": {
  23619. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  23620. "type": "number"
  23621. },
  23622. "goodsunitid": {
  23623. "description": "套保品种单位id",
  23624. "type": "integer"
  23625. },
  23626. "hedgeexposurepl": {
  23627. "description": "套保敞口损益",
  23628. "type": "number"
  23629. },
  23630. "middlegoodscode": {
  23631. "description": "套保品种代码",
  23632. "type": "string"
  23633. },
  23634. "middlegoodsid": {
  23635. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  23636. "type": "integer"
  23637. },
  23638. "middlegoodsname": {
  23639. "description": "套保品种名称",
  23640. "type": "string"
  23641. },
  23642. "reckondate": {
  23643. "description": "日照时期(yyyyMMdd)",
  23644. "type": "string"
  23645. },
  23646. "spotactualpl": {
  23647. "description": "现货损益",
  23648. "type": "number"
  23649. },
  23650. "spotfloatpl": {
  23651. "description": "现货浮动损益",
  23652. "type": "number"
  23653. },
  23654. "sumactualpl": {
  23655. "description": "实际损益 = (ActualPL + FutureActualPL)",
  23656. "type": "number"
  23657. },
  23658. "sumpl": {
  23659. "description": "总敞口损益 | 汇总损益",
  23660. "type": "number"
  23661. },
  23662. "totalfutureqty": {
  23663. "description": "期货头寸总量",
  23664. "type": "number"
  23665. },
  23666. "totalneedhedgeqty": {
  23667. "description": "应套保总量",
  23668. "type": "number"
  23669. },
  23670. "totalspotqty": {
  23671. "description": "现货头寸总量",
  23672. "type": "number"
  23673. },
  23674. "updatetime": {
  23675. "description": "更新时间",
  23676. "type": "string"
  23677. }
  23678. }
  23679. },
  23680. "models.Ermcp3Brand": {
  23681. "type": "object",
  23682. "properties": {
  23683. "areauserid": {
  23684. "description": "用户id",
  23685. "type": "integer"
  23686. },
  23687. "brandid": {
  23688. "description": "品牌id",
  23689. "type": "integer"
  23690. },
  23691. "brandname": {
  23692. "description": "品牌名称",
  23693. "type": "string"
  23694. },
  23695. "deliverygoodsid": {
  23696. "description": "品种ID",
  23697. "type": "integer"
  23698. },
  23699. "isvalid": {
  23700. "description": "是否有效",
  23701. "type": "integer"
  23702. }
  23703. }
  23704. },
  23705. "models.Ermcp3Contract": {
  23706. "type": "object",
  23707. "properties": {
  23708. "accountid": {
  23709. "description": "期货账户id",
  23710. "type": "string"
  23711. },
  23712. "amount": {
  23713. "description": "金额 [1:一口价、3:暂定价]",
  23714. "type": "number"
  23715. },
  23716. "attachment": {
  23717. "description": "附件",
  23718. "type": "string"
  23719. },
  23720. "auditremark": {
  23721. "description": "审核意见",
  23722. "type": "string"
  23723. },
  23724. "audittime": {
  23725. "description": "审核时间",
  23726. "type": "string"
  23727. },
  23728. "biztype": {
  23729. "description": "业务类型 1-套保 2-套利",
  23730. "type": "integer"
  23731. },
  23732. "brandname": {
  23733. "description": "品牌名称",
  23734. "type": "string"
  23735. },
  23736. "buynickname": {
  23737. "description": "销售方昵称",
  23738. "type": "string"
  23739. },
  23740. "buyuserid": {
  23741. "description": "采购方ID",
  23742. "type": "integer"
  23743. },
  23744. "buyusername": {
  23745. "description": "采购方名称",
  23746. "type": "string"
  23747. },
  23748. "contracctstatus": {
  23749. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23750. "type": "integer"
  23751. },
  23752. "contractmargin": {
  23753. "description": "合同保证金",
  23754. "type": "number"
  23755. },
  23756. "contractno": {
  23757. "description": "现货合同编号",
  23758. "type": "string"
  23759. },
  23760. "contracttype": {
  23761. "description": "现货合同类型 - 1:采购 -1:销售",
  23762. "type": "integer"
  23763. },
  23764. "convertfactor": {
  23765. "description": "标仓系数(品类)",
  23766. "type": "number"
  23767. },
  23768. "createtime": {
  23769. "description": "创建时间",
  23770. "type": "string"
  23771. },
  23772. "currencyid": {
  23773. "description": "币种id",
  23774. "type": "integer"
  23775. },
  23776. "currencyname": {
  23777. "description": "币种名称",
  23778. "type": "string"
  23779. },
  23780. "deliveryenddate": {
  23781. "description": "交收期(结束)",
  23782. "type": "string"
  23783. },
  23784. "deliverygoodscode": {
  23785. "description": "现货品种代码",
  23786. "type": "string"
  23787. },
  23788. "deliverygoodsid": {
  23789. "description": "现货品种ID",
  23790. "type": "integer"
  23791. },
  23792. "deliverygoodsname": {
  23793. "description": "现货品种名称",
  23794. "type": "string"
  23795. },
  23796. "deliverystartdate": {
  23797. "description": "交收期(开始)",
  23798. "type": "string"
  23799. },
  23800. "enddate": {
  23801. "description": "点价结束日期 [2:点价 3:暂定价]",
  23802. "type": "string"
  23803. },
  23804. "enumdicname": {
  23805. "description": "单位名称",
  23806. "type": "string"
  23807. },
  23808. "goodscode": {
  23809. "description": "点价合约代码",
  23810. "type": "string"
  23811. },
  23812. "goodsid": {
  23813. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  23814. "type": "integer"
  23815. },
  23816. "goodsname": {
  23817. "description": "点价商品名称",
  23818. "type": "string"
  23819. },
  23820. "margin": {
  23821. "description": "当前保证金",
  23822. "type": "number"
  23823. },
  23824. "meruserid": {
  23825. "description": "跟单员id",
  23826. "type": "integer"
  23827. },
  23828. "meruserlogincode": {
  23829. "description": "跟单员登录代码",
  23830. "type": "string"
  23831. },
  23832. "merusername": {
  23833. "description": "跟单员名称",
  23834. "type": "string"
  23835. },
  23836. "pointdesc": {
  23837. "description": "点价备注",
  23838. "type": "string"
  23839. },
  23840. "price": {
  23841. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  23842. "type": "number"
  23843. },
  23844. "pricemove": {
  23845. "description": "升贴水 [2:点价 3:暂定价]",
  23846. "type": "number"
  23847. },
  23848. "pricetype": {
  23849. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23850. "type": "integer"
  23851. },
  23852. "producttype": {
  23853. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23854. "type": "integer"
  23855. },
  23856. "qty": {
  23857. "description": "数量",
  23858. "type": "number"
  23859. },
  23860. "remark": {
  23861. "description": "备注",
  23862. "type": "string"
  23863. },
  23864. "saleuserid": {
  23865. "description": "业务员id",
  23866. "type": "integer"
  23867. },
  23868. "saleuserlogincode": {
  23869. "description": "业务员登录代码",
  23870. "type": "string"
  23871. },
  23872. "saleusername": {
  23873. "description": "业务员名称",
  23874. "type": "string"
  23875. },
  23876. "sellnickname": {
  23877. "description": "采购方昵称",
  23878. "type": "string"
  23879. },
  23880. "selluserid": {
  23881. "description": "销售方ID",
  23882. "type": "integer"
  23883. },
  23884. "sellusername": {
  23885. "description": "销售方名称",
  23886. "type": "string"
  23887. },
  23888. "spotcontractid": {
  23889. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23890. "type": "string"
  23891. },
  23892. "spotgoodsbrandid": {
  23893. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23894. "type": "integer"
  23895. },
  23896. "spotgoodsdesc": {
  23897. "description": "商品型号",
  23898. "type": "string"
  23899. },
  23900. "startdate": {
  23901. "description": "点价开始日期 [2:点价 3:暂定价]",
  23902. "type": "string"
  23903. },
  23904. "subjectid": {
  23905. "description": "交易主体ID",
  23906. "type": "integer"
  23907. },
  23908. "subjectname": {
  23909. "description": "交易主体名称",
  23910. "type": "string"
  23911. },
  23912. "tradeuserid": {
  23913. "description": "交易员id",
  23914. "type": "integer"
  23915. },
  23916. "tradeuserlogincode": {
  23917. "description": "交易员登录代码",
  23918. "type": "string"
  23919. },
  23920. "tradeusername": {
  23921. "description": "交易员名称",
  23922. "type": "string"
  23923. },
  23924. "unitid": {
  23925. "description": "单位id(取品类上的单位id)",
  23926. "type": "integer"
  23927. },
  23928. "updatetime": {
  23929. "description": "更新时间",
  23930. "type": "string"
  23931. },
  23932. "userid": {
  23933. "description": "所属机构ID",
  23934. "type": "integer"
  23935. },
  23936. "vatrate": {
  23937. "description": "增值税率",
  23938. "type": "number"
  23939. },
  23940. "wrstandardcode": {
  23941. "description": "品类代码",
  23942. "type": "string"
  23943. },
  23944. "wrstandardid": {
  23945. "description": "品类ID",
  23946. "type": "integer"
  23947. },
  23948. "wrstandardname": {
  23949. "description": "品类名称",
  23950. "type": "string"
  23951. }
  23952. }
  23953. },
  23954. "models.Ermcp3ContractMiddleGoodsCfg": {
  23955. "type": "object",
  23956. "properties": {
  23957. "agreeunit": {
  23958. "description": "合约乘数",
  23959. "type": "number"
  23960. },
  23961. "convertratio": {
  23962. "description": "期货品种系数",
  23963. "type": "number"
  23964. },
  23965. "covertqty": {
  23966. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  23967. "type": "integer"
  23968. },
  23969. "middlegoodsid": {
  23970. "description": "套保品种ID",
  23971. "type": "integer"
  23972. },
  23973. "middlegoodspricedqty3": {
  23974. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  23975. "type": "string",
  23976. "example": "0"
  23977. },
  23978. "pendingpricedqty": {
  23979. "description": "待点价量",
  23980. "type": "string",
  23981. "example": "0"
  23982. },
  23983. "relatedmiddlegoodsqty": {
  23984. "description": "已关联量(套保品种-期货)",
  23985. "type": "string",
  23986. "example": "0"
  23987. },
  23988. "spotcontractid": {
  23989. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23990. "type": "string"
  23991. }
  23992. }
  23993. },
  23994. "models.Ermcp3ExposureContractDetail": {
  23995. "type": "object",
  23996. "properties": {
  23997. "biztype": {
  23998. "description": "业务类型 1-套保 2-套利",
  23999. "type": "integer"
  24000. },
  24001. "brandname": {
  24002. "description": "品牌名称",
  24003. "type": "string"
  24004. },
  24005. "buyuserid": {
  24006. "description": "采购方id",
  24007. "type": "integer"
  24008. },
  24009. "buyusername": {
  24010. "description": "采购方名称",
  24011. "type": "string"
  24012. },
  24013. "contractno": {
  24014. "description": "合同编号",
  24015. "type": "string"
  24016. },
  24017. "contracttype": {
  24018. "description": "现货合同类型 - 1:采购 -1:销售",
  24019. "type": "integer"
  24020. },
  24021. "convertfactor": {
  24022. "description": "标仓系数",
  24023. "type": "number"
  24024. },
  24025. "convertratio": {
  24026. "description": "折算系数(套保品种)",
  24027. "type": "number"
  24028. },
  24029. "curqty": {
  24030. "description": "今定价量",
  24031. "type": "number"
  24032. },
  24033. "deliverygoodscode": {
  24034. "description": "现货品种代码",
  24035. "type": "string"
  24036. },
  24037. "deliverygoodsid": {
  24038. "description": "现货品种id",
  24039. "type": "integer"
  24040. },
  24041. "deliverygoodsname": {
  24042. "description": "现货品种名称",
  24043. "type": "string"
  24044. },
  24045. "diffhedgeqty": {
  24046. "description": "套保变动量",
  24047. "type": "number"
  24048. },
  24049. "diffneedhedgeqty": {
  24050. "description": "应套保变动量",
  24051. "type": "number"
  24052. },
  24053. "diffqty": {
  24054. "description": "套保品种今变动量",
  24055. "type": "number"
  24056. },
  24057. "enumdicname": {
  24058. "description": "单位名称",
  24059. "type": "string"
  24060. },
  24061. "mgunitname": {
  24062. "description": "套保品种单位名称",
  24063. "type": "string"
  24064. },
  24065. "middlegoodscode": {
  24066. "description": "套保品种代码",
  24067. "type": "string"
  24068. },
  24069. "middlegoodsid": {
  24070. "description": "套保品种id",
  24071. "type": "integer"
  24072. },
  24073. "middlegoodsname": {
  24074. "description": "套保品种名称",
  24075. "type": "string"
  24076. },
  24077. "needarbitrageratio": {
  24078. "description": "应套利比例",
  24079. "type": "number"
  24080. },
  24081. "needhedgeratio": {
  24082. "description": "应套保比例",
  24083. "type": "number"
  24084. },
  24085. "pricedqty": {
  24086. "description": "已定价量",
  24087. "type": "number"
  24088. },
  24089. "qty": {
  24090. "description": "合同量",
  24091. "type": "number"
  24092. },
  24093. "reckondate": {
  24094. "description": "交易日(reckondate)",
  24095. "type": "string"
  24096. },
  24097. "selluserid": {
  24098. "description": "销售方id",
  24099. "type": "integer"
  24100. },
  24101. "sellusername": {
  24102. "description": "销售方名称",
  24103. "type": "string"
  24104. },
  24105. "spotcontractid": {
  24106. "description": "合同id",
  24107. "type": "string"
  24108. },
  24109. "todaypricedqty": {
  24110. "description": "今定价量",
  24111. "type": "number"
  24112. },
  24113. "tradedate": {
  24114. "description": "交易日",
  24115. "type": "string"
  24116. },
  24117. "unitid": {
  24118. "description": "品类单位id",
  24119. "type": "integer"
  24120. },
  24121. "userid": {
  24122. "description": "机构id",
  24123. "type": "integer"
  24124. },
  24125. "username": {
  24126. "description": "交易用户",
  24127. "type": "string"
  24128. },
  24129. "wrstandardcode": {
  24130. "description": "现货商品代码",
  24131. "type": "string"
  24132. },
  24133. "wrstandardid": {
  24134. "description": "现货商品id",
  24135. "type": "integer"
  24136. },
  24137. "wrstandardname": {
  24138. "description": "现货商品名称",
  24139. "type": "string"
  24140. }
  24141. }
  24142. },
  24143. "models.Ermcp3ExposureDetail": {
  24144. "type": "object",
  24145. "properties": {
  24146. "areauserid": {
  24147. "description": "机构ID",
  24148. "type": "integer"
  24149. },
  24150. "changeQty": {
  24151. "description": "套保变动量",
  24152. "type": "number"
  24153. },
  24154. "contracttype": {
  24155. "description": "现货合同类型 - 1:采购 -1:销售",
  24156. "type": "integer"
  24157. },
  24158. "convertfactor": {
  24159. "description": "标仓系数",
  24160. "type": "number"
  24161. },
  24162. "convertratio": {
  24163. "description": "折算系数",
  24164. "type": "number"
  24165. },
  24166. "createtime": {
  24167. "description": "时间",
  24168. "type": "string"
  24169. },
  24170. "enumdicname": {
  24171. "description": "现货商品单位名称",
  24172. "type": "string"
  24173. },
  24174. "logtype": {
  24175. "description": "类型 - 1:套保计划 2:现货合同",
  24176. "type": "integer"
  24177. },
  24178. "mgunitid": {
  24179. "description": "套保品种单位id",
  24180. "type": "integer"
  24181. },
  24182. "mgunitidname": {
  24183. "description": "套保品种单位名称",
  24184. "type": "string"
  24185. },
  24186. "middlegoodsId": {
  24187. "description": "套保商品id",
  24188. "type": "integer"
  24189. },
  24190. "middlegoodscode": {
  24191. "description": "套保商品代码",
  24192. "type": "string"
  24193. },
  24194. "middlegoodsname": {
  24195. "description": "套保商品名称",
  24196. "type": "string"
  24197. },
  24198. "qty": {
  24199. "description": "数量",
  24200. "type": "number"
  24201. },
  24202. "relateNo": {
  24203. "description": "现货合同/套保计划编号",
  24204. "type": "string"
  24205. },
  24206. "unitid": {
  24207. "description": "现货商品单位id",
  24208. "type": "integer"
  24209. },
  24210. "wrstandardcode": {
  24211. "description": "现货商品代码",
  24212. "type": "string"
  24213. },
  24214. "wrstandardid": {
  24215. "description": "现货商品ID(SEQ_WRSTANDARD)",
  24216. "type": "integer"
  24217. },
  24218. "wrstandardname": {
  24219. "description": "现货商品名称",
  24220. "type": "string"
  24221. }
  24222. }
  24223. },
  24224. "models.Ermcp3ExposureFutuDetail": {
  24225. "type": "object",
  24226. "properties": {
  24227. "accountid": {
  24228. "description": "交易账户id",
  24229. "type": "integer"
  24230. },
  24231. "accountname": {
  24232. "description": "交易账户",
  24233. "type": "string"
  24234. },
  24235. "begindate": {
  24236. "description": "开始交易日",
  24237. "type": "string"
  24238. },
  24239. "buyorsell": {
  24240. "description": "方向 0-买 1-卖",
  24241. "type": "integer"
  24242. },
  24243. "diffmgqty": {
  24244. "description": "套保品种今变化量",
  24245. "type": "number"
  24246. },
  24247. "diffneedqty": {
  24248. "description": "应套保总量变化量",
  24249. "type": "number"
  24250. },
  24251. "difftradeqty": {
  24252. "description": "交易品种今变化量",
  24253. "type": "number"
  24254. },
  24255. "enddate": {
  24256. "description": "结束交易日",
  24257. "type": "string"
  24258. },
  24259. "enumdicname": {
  24260. "description": "单位名称",
  24261. "type": "string"
  24262. },
  24263. "goodscode": {
  24264. "description": "商品代码",
  24265. "type": "string"
  24266. },
  24267. "goodsid": {
  24268. "description": "商品id",
  24269. "type": "integer"
  24270. },
  24271. "goodsname": {
  24272. "description": "商品名称",
  24273. "type": "string"
  24274. },
  24275. "holdqty": {
  24276. "description": "期末持仓量",
  24277. "type": "number"
  24278. },
  24279. "middlegoodscode": {
  24280. "description": "套保商品代码",
  24281. "type": "string"
  24282. },
  24283. "middlegoodsid": {
  24284. "description": "套保商品id",
  24285. "type": "integer"
  24286. },
  24287. "middlegoodsname": {
  24288. "description": "套保商品名称",
  24289. "type": "string"
  24290. },
  24291. "oriholdqty": {
  24292. "description": "期初持仓量",
  24293. "type": "number"
  24294. },
  24295. "reckondate": {
  24296. "description": "交易日(RECKONDATE)",
  24297. "type": "string"
  24298. },
  24299. "todaycloseqty": {
  24300. "description": "今平仓量",
  24301. "type": "number"
  24302. },
  24303. "todayopenqty": {
  24304. "description": "今开仓量",
  24305. "type": "number"
  24306. },
  24307. "tradedate": {
  24308. "description": "交易日(RECKONDATE)",
  24309. "type": "string"
  24310. },
  24311. "username": {
  24312. "description": "用户名称(交易用户)",
  24313. "type": "string"
  24314. }
  24315. }
  24316. },
  24317. "models.Ermcp3ExposureHedgeplanDetail": {
  24318. "type": "object",
  24319. "properties": {
  24320. "biztype": {
  24321. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  24322. "type": "integer"
  24323. },
  24324. "changqty": {
  24325. "description": "应套保总量变化量",
  24326. "type": "number"
  24327. },
  24328. "contracttype": {
  24329. "description": "计划类型 - 1:采购 -1:销售",
  24330. "type": "integer"
  24331. },
  24332. "convertratio": {
  24333. "description": "折算系数(套保品种)",
  24334. "type": "number"
  24335. },
  24336. "deliverygoodscode": {
  24337. "description": "现货商品代码",
  24338. "type": "string"
  24339. },
  24340. "deliverygoodsid": {
  24341. "description": "现货商品id",
  24342. "type": "integer"
  24343. },
  24344. "deliverygoodsname": {
  24345. "description": "现货商吕名称",
  24346. "type": "string"
  24347. },
  24348. "dgunitid": {
  24349. "description": "现货商品单位id",
  24350. "type": "integer"
  24351. },
  24352. "dgunitidname": {
  24353. "description": "单位名称(现货商品)",
  24354. "type": "string"
  24355. },
  24356. "diffqty": {
  24357. "description": "套保品种今变动量",
  24358. "type": "number"
  24359. },
  24360. "enumdicname": {
  24361. "description": "单位名称(品类)",
  24362. "type": "string"
  24363. },
  24364. "hedgeplanid": {
  24365. "description": "套保计划id",
  24366. "type": "string"
  24367. },
  24368. "hedgeplanno": {
  24369. "description": "套保计划名称",
  24370. "type": "string"
  24371. },
  24372. "hedgeplanstatus": {
  24373. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24374. "type": "integer"
  24375. },
  24376. "mgunitidname": {
  24377. "description": "单位名称(套保商品)",
  24378. "type": "string"
  24379. },
  24380. "middlegoodscode": {
  24381. "description": "套保品种代码",
  24382. "type": "string"
  24383. },
  24384. "middlegoodsid": {
  24385. "description": "套保品种id",
  24386. "type": "integer"
  24387. },
  24388. "middlegoodsname": {
  24389. "description": "套保品种名称",
  24390. "type": "string"
  24391. },
  24392. "needarbitrageratio": {
  24393. "description": "应套利比例",
  24394. "type": "number"
  24395. },
  24396. "needhedgeratio": {
  24397. "description": "应套保比例",
  24398. "type": "number"
  24399. },
  24400. "pricedqty": {
  24401. "description": "已定价量",
  24402. "type": "number"
  24403. },
  24404. "qty": {
  24405. "description": "合同量",
  24406. "type": "number"
  24407. },
  24408. "reckondate": {
  24409. "description": "交易日(reckondate)",
  24410. "type": "string"
  24411. },
  24412. "tradedate": {
  24413. "description": "交易日(登记日)",
  24414. "type": "string"
  24415. },
  24416. "unitid": {
  24417. "description": "品类单位id",
  24418. "type": "integer"
  24419. },
  24420. "userid": {
  24421. "description": "机构id",
  24422. "type": "integer"
  24423. },
  24424. "wrstandardcode": {
  24425. "description": "品类代码",
  24426. "type": "string"
  24427. },
  24428. "wrstandardid": {
  24429. "description": "品类id",
  24430. "type": "integer"
  24431. },
  24432. "wrstandardname": {
  24433. "description": "品类名称",
  24434. "type": "string"
  24435. }
  24436. }
  24437. },
  24438. "models.Ermcp3ExposureParamChLog": {
  24439. "type": "object",
  24440. "properties": {
  24441. "accountid": {
  24442. "description": "期货账户ID (作废, 默认为0)",
  24443. "type": "integer"
  24444. },
  24445. "aftervalue": {
  24446. "description": "应套保\\套利量变更后(调整后应套保总量)",
  24447. "type": "number"
  24448. },
  24449. "areauserid": {
  24450. "description": "所属机构\\交易用户ID",
  24451. "type": "integer"
  24452. },
  24453. "beforevalue": {
  24454. "description": "应套保\\套利量变更前(调整前应套保总量)",
  24455. "type": "number"
  24456. },
  24457. "begindate": {
  24458. "description": "开始交易日",
  24459. "type": "string"
  24460. },
  24461. "changelogtype": {
  24462. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  24463. "type": "integer"
  24464. },
  24465. "curvalue": {
  24466. "description": "当前套保\\套利量(套保总量|套利总量)",
  24467. "type": "number"
  24468. },
  24469. "diffvalue": {
  24470. "description": "应套保总量变化量",
  24471. "type": "number"
  24472. },
  24473. "enddate": {
  24474. "description": "结束交易日",
  24475. "type": "string"
  24476. },
  24477. "logdatetime": {
  24478. "description": "流水日期",
  24479. "type": "string"
  24480. },
  24481. "logid": {
  24482. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  24483. "type": "string"
  24484. },
  24485. "middlegoodscode": {
  24486. "description": "套保品种代码",
  24487. "type": "string"
  24488. },
  24489. "middlegoodsid": {
  24490. "description": "套保品种",
  24491. "type": "integer"
  24492. },
  24493. "middlegoodsname": {
  24494. "description": "套保品种名称",
  24495. "type": "string"
  24496. },
  24497. "paramaftervalue": {
  24498. "description": "参数变更后(调整后参数值)",
  24499. "type": "number"
  24500. },
  24501. "parambeforevalue": {
  24502. "description": "参数变更前(调整前参数值)",
  24503. "type": "number"
  24504. },
  24505. "reckondate": {
  24506. "description": "交易日(reckondate)",
  24507. "type": "string"
  24508. },
  24509. "tradedate": {
  24510. "description": "交易日(yyyyMMdd)",
  24511. "type": "string"
  24512. }
  24513. }
  24514. },
  24515. "models.Ermcp3ExpourseReport": {
  24516. "type": "object",
  24517. "properties": {
  24518. "accountid": {
  24519. "description": "期货账户ID (作废, 默认为0)",
  24520. "type": "integer"
  24521. },
  24522. "accountname": {
  24523. "description": "机构名称",
  24524. "type": "string"
  24525. },
  24526. "arbitrageqty": {
  24527. "description": "套利量",
  24528. "type": "number"
  24529. },
  24530. "areauserid": {
  24531. "description": "所属机构\\交易用户ID",
  24532. "type": "integer"
  24533. },
  24534. "begindate": {
  24535. "description": "开始交易日",
  24536. "type": "string"
  24537. },
  24538. "buyfutureqty": {
  24539. "description": "买入期货数量",
  24540. "type": "number"
  24541. },
  24542. "buyplanqty": {
  24543. "description": "采购计划数量",
  24544. "type": "number"
  24545. },
  24546. "buypricedqty": {
  24547. "description": "采购合同已定价数量",
  24548. "type": "number"
  24549. },
  24550. "cycletime": {
  24551. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24552. "type": "string"
  24553. },
  24554. "cycletype": {
  24555. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24556. "type": "integer"
  24557. },
  24558. "diffexposure": {
  24559. "description": "变动量(套保敞口)",
  24560. "type": "number"
  24561. },
  24562. "difffutuqty": {
  24563. "description": "变动量(期货)",
  24564. "type": "number"
  24565. },
  24566. "diffhedgeqty": {
  24567. "description": "变动量(现货应套保总量)",
  24568. "type": "number"
  24569. },
  24570. "diffmgqtya": {
  24571. "description": "套保变动量",
  24572. "type": "number"
  24573. },
  24574. "diffmgqtyb": {
  24575. "description": "套利变动量",
  24576. "type": "number"
  24577. },
  24578. "diffneedqty": {
  24579. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  24580. "type": "number"
  24581. },
  24582. "diffqty": {
  24583. "description": "变动量(总敞口)",
  24584. "type": "number"
  24585. },
  24586. "diffspotqty": {
  24587. "description": "变动量(现货) | 除税变动量",
  24588. "type": "number"
  24589. },
  24590. "enddate": {
  24591. "description": "结束交易日",
  24592. "type": "string"
  24593. },
  24594. "enumdicname": {
  24595. "description": "单位名称",
  24596. "type": "string"
  24597. },
  24598. "hedgeqty": {
  24599. "description": "套保量",
  24600. "type": "number"
  24601. },
  24602. "mgneedhedgeratio": {
  24603. "description": "套保比例(套保品的)",
  24604. "type": "number"
  24605. },
  24606. "middlegoodsid": {
  24607. "description": "套保品种ID",
  24608. "type": "integer"
  24609. },
  24610. "middlegoodsname": {
  24611. "description": "套保商品名称",
  24612. "type": "string"
  24613. },
  24614. "middlgoodscode": {
  24615. "description": "套保商品代码",
  24616. "type": "string"
  24617. },
  24618. "needarbitrageqty": {
  24619. "description": "应套利量",
  24620. "type": "number"
  24621. },
  24622. "needarbitrageratio": {
  24623. "description": "套利比例(套保品的)",
  24624. "type": "number"
  24625. },
  24626. "needhedgeexposoure": {
  24627. "description": "应套保敞口(套保敞口)",
  24628. "type": "number"
  24629. },
  24630. "needhedgeqty": {
  24631. "description": "应套保量",
  24632. "type": "number"
  24633. },
  24634. "needhedgeratio": {
  24635. "description": "应套保敞口比例",
  24636. "type": "number"
  24637. },
  24638. "needqty": {
  24639. "description": "应套总量 = 应套保量 + 应套利量",
  24640. "type": "number"
  24641. },
  24642. "oriarbitrageqty": {
  24643. "description": "期初套利量",
  24644. "type": "number"
  24645. },
  24646. "oribuyfutureqty": {
  24647. "description": "期初买入期货数量",
  24648. "type": "number"
  24649. },
  24650. "oribuyplanqty": {
  24651. "description": "期初采购计划数量",
  24652. "type": "number"
  24653. },
  24654. "oribuypricedqty": {
  24655. "description": "期初采购合同已定价数量",
  24656. "type": "number"
  24657. },
  24658. "orihedgeqty": {
  24659. "description": "期初套保量",
  24660. "type": "number"
  24661. },
  24662. "orineedarbitrageqty": {
  24663. "description": "期初应套利量",
  24664. "type": "number"
  24665. },
  24666. "orineedhedgeexposoure": {
  24667. "description": "期初应套保敞口",
  24668. "type": "number"
  24669. },
  24670. "orineedhedgeqty": {
  24671. "description": "期初应套保量",
  24672. "type": "number"
  24673. },
  24674. "orisellfutureqty": {
  24675. "description": "期初卖出期货数量",
  24676. "type": "number"
  24677. },
  24678. "orisellplanqty": {
  24679. "description": "期初销售计划数量",
  24680. "type": "number"
  24681. },
  24682. "orisellpricedqty": {
  24683. "description": "期初销售合同已定价数量",
  24684. "type": "number"
  24685. },
  24686. "oritotalexposure": {
  24687. "description": "期初实时总敞口",
  24688. "type": "number"
  24689. },
  24690. "oritotalfutureqty": {
  24691. "description": "期初期货头寸总量",
  24692. "type": "number"
  24693. },
  24694. "oritotalneedhedgeqty": {
  24695. "description": "期初应套保总量",
  24696. "type": "number"
  24697. },
  24698. "oritotalspotqty": {
  24699. "description": "期初现货头寸总量",
  24700. "type": "number"
  24701. },
  24702. "reckondate": {
  24703. "description": "日照时期(yyyyMMdd)",
  24704. "type": "string"
  24705. },
  24706. "sellfutureqty": {
  24707. "description": "卖出期货数量",
  24708. "type": "number"
  24709. },
  24710. "sellplanqty": {
  24711. "description": "销售计划数量",
  24712. "type": "number"
  24713. },
  24714. "sellpricedqty": {
  24715. "description": "销售合同已定价数量",
  24716. "type": "number"
  24717. },
  24718. "totalexposure": {
  24719. "description": "实时总敞口(总敞口)",
  24720. "type": "number"
  24721. },
  24722. "totalfutureqty": {
  24723. "description": "期货头寸总量(期货总量)",
  24724. "type": "number"
  24725. },
  24726. "totalhedgeratio": {
  24727. "description": "敞口比例",
  24728. "type": "number"
  24729. },
  24730. "totalneedhedgeqty": {
  24731. "description": "应套保总量(现货应套保总量)",
  24732. "type": "number"
  24733. },
  24734. "totalspotqty": {
  24735. "description": "现货头寸总量 | 除税总量",
  24736. "type": "number"
  24737. },
  24738. "unitid": {
  24739. "description": "单位id",
  24740. "type": "integer"
  24741. },
  24742. "updatetime": {
  24743. "description": "更新时间",
  24744. "type": "string"
  24745. }
  24746. }
  24747. },
  24748. "models.Ermcp3FinanceReport": {
  24749. "type": "object",
  24750. "properties": {
  24751. "accountname": {
  24752. "description": "机构名称",
  24753. "type": "string"
  24754. },
  24755. "areauserid": {
  24756. "description": "所属机构\\交易用户ID",
  24757. "type": "integer"
  24758. },
  24759. "begindate": {
  24760. "description": "开始交易日",
  24761. "type": "string"
  24762. },
  24763. "biztype": {
  24764. "description": "业务类型 - 1:套保 2:套利",
  24765. "type": "integer"
  24766. },
  24767. "brandname": {
  24768. "description": "品牌名称",
  24769. "type": "string"
  24770. },
  24771. "buypreinvoicedamount": {
  24772. "description": "采购预收票额(预收票额)",
  24773. "type": "number"
  24774. },
  24775. "buyprepaidamount": {
  24776. "description": "采购预付款额(预付货款额)",
  24777. "type": "number"
  24778. },
  24779. "buytodayinvoiceamount": {
  24780. "description": "采购今收票额(今收票额)",
  24781. "type": "number"
  24782. },
  24783. "buytodayrefundamount": {
  24784. "description": "采购今收退款额(今收退款额)",
  24785. "type": "number"
  24786. },
  24787. "buytodaysettleamount": {
  24788. "description": "采购今付款额(今付货款额)",
  24789. "type": "number"
  24790. },
  24791. "buyuninvoicedamount": {
  24792. "description": "采购应收票额(应收票额)",
  24793. "type": "number"
  24794. },
  24795. "buyunpaidamount": {
  24796. "description": "采购应付款额(应付货款额)",
  24797. "type": "number"
  24798. },
  24799. "currencyid": {
  24800. "description": "结算币种ID",
  24801. "type": "integer"
  24802. },
  24803. "currencyname": {
  24804. "description": "币种名称",
  24805. "type": "string"
  24806. },
  24807. "cycletime": {
  24808. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24809. "type": "string"
  24810. },
  24811. "cycletype": {
  24812. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24813. "type": "integer"
  24814. },
  24815. "deliverygoodscode": {
  24816. "description": "现货品种代码",
  24817. "type": "string"
  24818. },
  24819. "deliverygoodsid": {
  24820. "description": "现货品种ID",
  24821. "type": "integer"
  24822. },
  24823. "deliverygoodsname": {
  24824. "description": "现货品种名称",
  24825. "type": "string"
  24826. },
  24827. "enddate": {
  24828. "description": "结束交易日",
  24829. "type": "string"
  24830. },
  24831. "reckondate": {
  24832. "description": "日照时期(yyyyMMdd)",
  24833. "type": "string"
  24834. },
  24835. "sellpreinvoicedamount": {
  24836. "description": "销售预开票额(预开票额)",
  24837. "type": "number"
  24838. },
  24839. "sellprepaidamount": {
  24840. "description": "销售预收款额(预收货款额)",
  24841. "type": "number"
  24842. },
  24843. "selltodayinvoiceamount": {
  24844. "description": "销售今开票额(今开票额)",
  24845. "type": "number"
  24846. },
  24847. "selltodayrefundamount": {
  24848. "description": "销售今付退款额(今付退款额)",
  24849. "type": "number"
  24850. },
  24851. "selltodaysettleamount": {
  24852. "description": "销售今收款额(今收货款额)",
  24853. "type": "number"
  24854. },
  24855. "selluninvoicedamount": {
  24856. "description": "销售应开票额(应开票额)",
  24857. "type": "number"
  24858. },
  24859. "sellunpaidamount": {
  24860. "description": "销售应收款额(应收货款额)",
  24861. "type": "number"
  24862. },
  24863. "spotgoodsbrandid": {
  24864. "description": "现货品牌ID",
  24865. "type": "integer"
  24866. },
  24867. "todaypaysum": {
  24868. "description": "今付款合计",
  24869. "type": "number"
  24870. },
  24871. "todayreceivesum": {
  24872. "description": "今收款合计",
  24873. "type": "number"
  24874. },
  24875. "updatetime": {
  24876. "description": "更新时间",
  24877. "type": "string"
  24878. },
  24879. "wrfactortypeid": {
  24880. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  24881. "type": "integer"
  24882. },
  24883. "wrstandardcode": {
  24884. "description": "品类代码",
  24885. "type": "string"
  24886. },
  24887. "wrstandardid": {
  24888. "description": "现货商品ID",
  24889. "type": "integer"
  24890. },
  24891. "wrstandardname": {
  24892. "description": "品类名称",
  24893. "type": "string"
  24894. }
  24895. }
  24896. },
  24897. "models.Ermcp3GoodsGroup": {
  24898. "type": "object",
  24899. "required": [
  24900. "areauserid"
  24901. ],
  24902. "properties": {
  24903. "agreeunit": {
  24904. "description": "合约单位",
  24905. "type": "number"
  24906. },
  24907. "areauserid": {
  24908. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  24909. "type": "integer"
  24910. },
  24911. "canshort": {
  24912. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  24913. "type": "integer"
  24914. },
  24915. "closepricemode": {
  24916. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24917. "type": "integer"
  24918. },
  24919. "createtime": {
  24920. "description": "创建时间",
  24921. "type": "string"
  24922. },
  24923. "creatorid": {
  24924. "description": "创建人",
  24925. "type": "integer"
  24926. },
  24927. "currencyid": {
  24928. "description": "报价货币ID",
  24929. "type": "integer"
  24930. },
  24931. "decimalplace": {
  24932. "description": "报价小数位",
  24933. "type": "integer"
  24934. },
  24935. "enumdicname": {
  24936. "description": "单位名称",
  24937. "type": "string"
  24938. },
  24939. "exchangefullname": {
  24940. "description": "交易所全称",
  24941. "type": "string"
  24942. },
  24943. "excludecfg": {
  24944. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  24945. "type": "integer"
  24946. },
  24947. "exexchangecode": {
  24948. "description": "交易所代码",
  24949. "type": "string"
  24950. },
  24951. "exexchangeid": {
  24952. "description": "外部交易所ID[通道交易]",
  24953. "type": "integer"
  24954. },
  24955. "exexchangename": {
  24956. "description": "交易所名称",
  24957. "type": "string"
  24958. },
  24959. "goodsgroupid": {
  24960. "description": "商品组ID(自增ID)",
  24961. "type": "integer"
  24962. },
  24963. "goodsgroupname": {
  24964. "description": "商品组名称",
  24965. "type": "string"
  24966. },
  24967. "goodsgroupstatus": {
  24968. "description": "商品组状态 - 1:正常 2:注销",
  24969. "type": "integer"
  24970. },
  24971. "goodunitid": {
  24972. "description": "报价单位ID",
  24973. "type": "integer"
  24974. },
  24975. "groupcategroyid": {
  24976. "description": "品种分类ID",
  24977. "type": "integer"
  24978. },
  24979. "innerdealmode": {
  24980. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24981. "type": "integer"
  24982. },
  24983. "marketid": {
  24984. "description": "所属市场ID",
  24985. "type": "integer"
  24986. },
  24987. "modifierid": {
  24988. "description": "修改人",
  24989. "type": "integer"
  24990. },
  24991. "modifytime": {
  24992. "description": "修改时间",
  24993. "type": "string"
  24994. },
  24995. "outerdealmode": {
  24996. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24997. "type": "integer"
  24998. },
  24999. "outergroupcode": {
  25000. "description": "外部商品组代码[通道交易]",
  25001. "type": "string"
  25002. },
  25003. "quoteminunit": {
  25004. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25005. "type": "integer"
  25006. },
  25007. "quotesourcegroupid": {
  25008. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25009. "type": "integer"
  25010. },
  25011. "syncgoodsqty": {
  25012. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25013. "type": "integer"
  25014. }
  25015. }
  25016. },
  25017. "models.Ermcp3HPMiddleGoods": {
  25018. "type": "object",
  25019. "properties": {
  25020. "biztype": {
  25021. "description": "业务类型 1:套保 2:套利",
  25022. "type": "integer"
  25023. },
  25024. "contracttype": {
  25025. "description": "合同类型 1:采购 -1:销售",
  25026. "type": "integer"
  25027. },
  25028. "convertratio": {
  25029. "description": "折算系数",
  25030. "type": "number"
  25031. },
  25032. "customername": {
  25033. "description": "对手手名称",
  25034. "type": "string"
  25035. },
  25036. "customeruserid": {
  25037. "description": "对手id",
  25038. "type": "integer"
  25039. },
  25040. "enumdicname": {
  25041. "description": "现货单位名称",
  25042. "type": "string"
  25043. },
  25044. "hedgeplanid": {
  25045. "description": "计划id",
  25046. "type": "string"
  25047. },
  25048. "hedgeplanno": {
  25049. "description": "计划编号",
  25050. "type": "string"
  25051. },
  25052. "middlegoodsid": {
  25053. "description": "套保品种ID",
  25054. "type": "integer"
  25055. },
  25056. "middlegoodsplanqty3": {
  25057. "description": "应套保计划量",
  25058. "type": "number"
  25059. },
  25060. "needhedgeratio": {
  25061. "description": "套保比例",
  25062. "type": "number"
  25063. },
  25064. "pricedqty": {
  25065. "description": "已定价量",
  25066. "type": "number"
  25067. },
  25068. "relatedmiddlegoodsqty": {
  25069. "description": "已关联量(套保品种)(期货)",
  25070. "type": "number"
  25071. },
  25072. "unitid": {
  25073. "description": "现货单位id",
  25074. "type": "integer"
  25075. },
  25076. "userid": {
  25077. "description": "用户id",
  25078. "type": "integer"
  25079. },
  25080. "vatrate": {
  25081. "description": "增值税率",
  25082. "type": "number"
  25083. },
  25084. "wrstandardcode": {
  25085. "description": "现货商品代码",
  25086. "type": "string"
  25087. },
  25088. "wrstandardid": {
  25089. "description": "现货商品id",
  25090. "type": "integer"
  25091. },
  25092. "wrstandardname": {
  25093. "description": "现货商品名称",
  25094. "type": "string"
  25095. }
  25096. }
  25097. },
  25098. "models.Ermcp3HedgePlan": {
  25099. "type": "object",
  25100. "properties": {
  25101. "accountid": {
  25102. "description": "资金账号",
  25103. "type": "integer"
  25104. },
  25105. "areauserid": {
  25106. "description": "用户ID",
  25107. "type": "integer"
  25108. },
  25109. "auditid": {
  25110. "description": "审核id",
  25111. "type": "integer"
  25112. },
  25113. "auditname": {
  25114. "description": "审核人名称",
  25115. "type": "string"
  25116. },
  25117. "auditremark": {
  25118. "description": "审核备注",
  25119. "type": "string"
  25120. },
  25121. "auditsrc": {
  25122. "description": "审核来源 1-管理端 2-终端",
  25123. "type": "integer"
  25124. },
  25125. "audittime": {
  25126. "description": "审核时间",
  25127. "type": "string"
  25128. },
  25129. "contracttype": {
  25130. "description": "计划类型 - 1:采购 -1:销售",
  25131. "type": "integer"
  25132. },
  25133. "convertfactor": {
  25134. "description": "标仓系数",
  25135. "type": "number"
  25136. },
  25137. "createtime": {
  25138. "description": "创建时间",
  25139. "type": "string"
  25140. },
  25141. "currencyid": {
  25142. "description": "币种id",
  25143. "type": "integer"
  25144. },
  25145. "currencyname": {
  25146. "description": "币种名称",
  25147. "type": "string"
  25148. },
  25149. "deliverygoodscode": {
  25150. "description": "现货品种代码",
  25151. "type": "string"
  25152. },
  25153. "deliverygoodsid": {
  25154. "description": "现货品种ID",
  25155. "type": "integer"
  25156. },
  25157. "deliverygoodsname": {
  25158. "description": "现货品种名称",
  25159. "type": "string"
  25160. },
  25161. "enumdicname": {
  25162. "description": "单位名称(现货商品)",
  25163. "type": "string"
  25164. },
  25165. "hedgeplanid": {
  25166. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  25167. "type": "string"
  25168. },
  25169. "hedgeplanno": {
  25170. "description": "套保计划编号(名称)",
  25171. "type": "string"
  25172. },
  25173. "hedgeplanstatus": {
  25174. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25175. "type": "integer"
  25176. },
  25177. "planqty": {
  25178. "description": "计划数量",
  25179. "type": "number"
  25180. },
  25181. "plantime": {
  25182. "description": "计划时间",
  25183. "type": "string"
  25184. },
  25185. "producttype": {
  25186. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25187. "type": "integer"
  25188. },
  25189. "remark": {
  25190. "description": "备注",
  25191. "type": "string"
  25192. },
  25193. "spotgoodsdesc": {
  25194. "description": "商品型号",
  25195. "type": "string"
  25196. },
  25197. "taaccountname": {
  25198. "description": "资金账号名称",
  25199. "type": "string"
  25200. },
  25201. "tradeuserid": {
  25202. "description": "交易用户id",
  25203. "type": "integer"
  25204. },
  25205. "tradeusername": {
  25206. "description": "交易用户名称",
  25207. "type": "string"
  25208. },
  25209. "unitid": {
  25210. "description": "单位id(现货商品)",
  25211. "type": "integer"
  25212. },
  25213. "updatetime": {
  25214. "description": "更新时间",
  25215. "type": "string"
  25216. },
  25217. "vatrate": {
  25218. "description": "增值税率",
  25219. "type": "number"
  25220. },
  25221. "wrstandardcode": {
  25222. "description": "品类代码",
  25223. "type": "string"
  25224. },
  25225. "wrstandardid": {
  25226. "description": "品类id",
  25227. "type": "integer"
  25228. },
  25229. "wrstandardname": {
  25230. "description": "品类名称",
  25231. "type": "string"
  25232. },
  25233. "wrunitid": {
  25234. "description": "品类单位id",
  25235. "type": "integer"
  25236. },
  25237. "wrunitidame": {
  25238. "description": "品类单位名称",
  25239. "type": "string"
  25240. }
  25241. }
  25242. },
  25243. "models.Ermcp3InnerTradeLink": {
  25244. "type": "object",
  25245. "properties": {
  25246. "accountid": {
  25247. "description": "期货账号代码 | 资金账号ID",
  25248. "type": "integer"
  25249. },
  25250. "buyorsell": {
  25251. "description": "方向 - 0:买 1:卖",
  25252. "type": "integer"
  25253. },
  25254. "channelbuildtype": {
  25255. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25256. "type": "integer"
  25257. },
  25258. "currencyid": {
  25259. "description": "币种id",
  25260. "type": "integer"
  25261. },
  25262. "currencyname": {
  25263. "description": "结算币种 名称",
  25264. "type": "string"
  25265. },
  25266. "goodscode": {
  25267. "description": "商品代码",
  25268. "type": "string"
  25269. },
  25270. "goodsid": {
  25271. "description": "商品ID",
  25272. "type": "integer"
  25273. },
  25274. "goodsname": {
  25275. "description": "商品名称",
  25276. "type": "string"
  25277. },
  25278. "outtradeid": {
  25279. "description": "外部成交单号",
  25280. "type": "string"
  25281. },
  25282. "taname": {
  25283. "description": "期货账户名称",
  25284. "type": "string"
  25285. },
  25286. "tradeid": {
  25287. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25288. "type": "string"
  25289. },
  25290. "tradeprice": {
  25291. "description": "成交价格",
  25292. "type": "number"
  25293. },
  25294. "tradeqty": {
  25295. "description": "期货成交数量",
  25296. "type": "integer"
  25297. },
  25298. "tradetime": {
  25299. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  25300. "type": "string"
  25301. },
  25302. "username": {
  25303. "description": "用户名称",
  25304. "type": "string"
  25305. }
  25306. }
  25307. },
  25308. "models.Ermcp3OutTradeLink": {
  25309. "type": "object",
  25310. "properties": {
  25311. "buyorsell": {
  25312. "description": "买卖方向 - 0:买 1:卖",
  25313. "type": "integer"
  25314. },
  25315. "channelbuildtype": {
  25316. "description": "开平标志- 0:无 1:建仓 2:平仓",
  25317. "type": "integer"
  25318. },
  25319. "currencyname": {
  25320. "description": "币种名称",
  25321. "type": "string"
  25322. },
  25323. "exexchangecode": {
  25324. "description": "交易所代码",
  25325. "type": "string"
  25326. },
  25327. "exexchangename": {
  25328. "description": "交易所名称",
  25329. "type": "string"
  25330. },
  25331. "goodscode": {
  25332. "description": "合约代码",
  25333. "type": "string"
  25334. },
  25335. "goodsid": {
  25336. "description": "合约id",
  25337. "type": "integer"
  25338. },
  25339. "goodsname": {
  25340. "description": "合约名称",
  25341. "type": "string"
  25342. },
  25343. "hasinnerorder": {
  25344. "description": "是否有内部单关联 - 0:无 1:有",
  25345. "type": "integer"
  25346. },
  25347. "hedgeaccountcode": {
  25348. "description": "外部账号 | 对冲账号",
  25349. "type": "string"
  25350. },
  25351. "outtradeid": {
  25352. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25353. "type": "string"
  25354. },
  25355. "tradeprice": {
  25356. "description": "成交价格",
  25357. "type": "number"
  25358. },
  25359. "tradeqty": {
  25360. "description": "成交数量",
  25361. "type": "integer"
  25362. },
  25363. "tradetime": {
  25364. "description": "成交时间",
  25365. "type": "string"
  25366. }
  25367. }
  25368. },
  25369. "models.Ermcp3PaAreaAuditCfg": {
  25370. "type": "object",
  25371. "properties": {
  25372. "areauserid": {
  25373. "description": "用户ID",
  25374. "type": "integer"
  25375. },
  25376. "buyinauditflag": {
  25377. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  25378. "type": "integer"
  25379. },
  25380. "costratioauditflag": {
  25381. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  25382. "type": "integer"
  25383. },
  25384. "customerauditflag": {
  25385. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  25386. "type": "integer"
  25387. },
  25388. "deliveryauditflag": {
  25389. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  25390. "type": "integer"
  25391. },
  25392. "invoiceauditflag": {
  25393. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  25394. "type": "integer"
  25395. },
  25396. "mgneedhedgeratioauditflag": {
  25397. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  25398. "type": "integer"
  25399. },
  25400. "moneyauditflag": {
  25401. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  25402. "type": "integer"
  25403. },
  25404. "operatorid": {
  25405. "description": "操作人",
  25406. "type": "integer"
  25407. },
  25408. "operatorsrc": {
  25409. "description": "操作来源 - 1:管理端 2:终端",
  25410. "type": "integer"
  25411. },
  25412. "pointpriceauditflag": {
  25413. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  25414. "type": "integer"
  25415. },
  25416. "produceinauditflag": {
  25417. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  25418. "type": "integer"
  25419. },
  25420. "produceoutauditflag": {
  25421. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  25422. "type": "integer"
  25423. },
  25424. "selloutauditflag": {
  25425. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  25426. "type": "integer"
  25427. },
  25428. "sgconvertratioauditflag": {
  25429. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  25430. "type": "integer"
  25431. },
  25432. "sgvtaratioauditflag": {
  25433. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  25434. "type": "integer"
  25435. },
  25436. "spotcontractauditflag": {
  25437. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  25438. "type": "integer"
  25439. },
  25440. "updatetime": {
  25441. "description": "更新时间",
  25442. "type": "string"
  25443. }
  25444. }
  25445. },
  25446. "models.Ermcp3PaAreaSubject": {
  25447. "type": "object",
  25448. "properties": {
  25449. "areauserid": {
  25450. "description": "所属机构",
  25451. "type": "integer"
  25452. },
  25453. "canmodify": {
  25454. "description": "是否可修改 - 0:否 1:是",
  25455. "type": "integer"
  25456. },
  25457. "createtime": {
  25458. "description": "创建时间",
  25459. "type": "string"
  25460. },
  25461. "creatorid": {
  25462. "description": "创建人ID",
  25463. "type": "string"
  25464. },
  25465. "creatorsrc": {
  25466. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  25467. "type": "integer"
  25468. },
  25469. "modifierid": {
  25470. "description": "修改人",
  25471. "type": "string"
  25472. },
  25473. "modifiersrc": {
  25474. "description": "修改人来源 - 1:管理端 2:终端",
  25475. "type": "integer"
  25476. },
  25477. "modifytime": {
  25478. "description": "修改时间",
  25479. "type": "string"
  25480. },
  25481. "parentsubjectid": {
  25482. "description": "上级主体ID",
  25483. "type": "string"
  25484. },
  25485. "remark": {
  25486. "description": "备注",
  25487. "type": "string"
  25488. },
  25489. "subjectid": {
  25490. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  25491. "type": "integer"
  25492. },
  25493. "subjectname": {
  25494. "description": "主体名称",
  25495. "type": "string"
  25496. },
  25497. "subjectstatus": {
  25498. "description": "主体状态 - 1:正常 2: 停用",
  25499. "type": "integer"
  25500. },
  25501. "subjecttype": {
  25502. "description": "主体类型 - 1:交易主体 2:业务部门",
  25503. "type": "integer"
  25504. }
  25505. }
  25506. },
  25507. "models.Ermcp3PaTradeLink": {
  25508. "type": "object",
  25509. "properties": {
  25510. "accountid": {
  25511. "description": "期货账户代码 | 账号ID",
  25512. "type": "integer"
  25513. },
  25514. "agreeunit": {
  25515. "description": "合约乘数",
  25516. "type": "number"
  25517. },
  25518. "buyorsell": {
  25519. "description": "方向 - 0:买 1:卖",
  25520. "type": "integer"
  25521. },
  25522. "channelbuildtype": {
  25523. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25524. "type": "integer"
  25525. },
  25526. "charge": {
  25527. "description": "手续费",
  25528. "type": "number"
  25529. },
  25530. "closepl": {
  25531. "description": "平仓盈亏",
  25532. "type": "number"
  25533. },
  25534. "closetype": {
  25535. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  25536. "type": "integer"
  25537. },
  25538. "convertratio": {
  25539. "description": "折算系数",
  25540. "type": "number"
  25541. },
  25542. "enumdicname": {
  25543. "description": "单位名称",
  25544. "type": "string"
  25545. },
  25546. "executeprice": {
  25547. "description": "执行价 [期权]",
  25548. "type": "integer"
  25549. },
  25550. "goodscode": {
  25551. "description": "合约代码",
  25552. "type": "string"
  25553. },
  25554. "goodsgroupid": {
  25555. "description": "对冲品种ID[期货合约商品组ID]",
  25556. "type": "integer"
  25557. },
  25558. "goodsid": {
  25559. "description": "商品ID",
  25560. "type": "integer"
  25561. },
  25562. "goodsname": {
  25563. "description": "合约名称",
  25564. "type": "string"
  25565. },
  25566. "goodunitid": {
  25567. "description": "单位id",
  25568. "type": "integer"
  25569. },
  25570. "hedgeflag": {
  25571. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  25572. "type": "integer"
  25573. },
  25574. "marketid": {
  25575. "description": "市场ID",
  25576. "type": "integer"
  25577. },
  25578. "middlegoodsid": {
  25579. "description": "套保品种ID",
  25580. "type": "integer"
  25581. },
  25582. "middlegoodsqty": {
  25583. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  25584. "type": "number"
  25585. },
  25586. "optioncode": {
  25587. "description": "期权代码 [期权]",
  25588. "type": "string"
  25589. },
  25590. "ordertype": {
  25591. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  25592. "type": "integer"
  25593. },
  25594. "ordertypename": {
  25595. "description": "订单类型",
  25596. "type": "string"
  25597. },
  25598. "parentaccountid": {
  25599. "description": "所属母账户",
  25600. "type": "integer"
  25601. },
  25602. "premium": {
  25603. "description": "权利金 [期权]",
  25604. "type": "number"
  25605. },
  25606. "relatedlot": {
  25607. "description": "已关联数量(已关联数量手) | db:关联手数",
  25608. "type": "number"
  25609. },
  25610. "relatedouttradeid": {
  25611. "description": "关联外部成交单ID",
  25612. "type": "string"
  25613. },
  25614. "relatedqty": {
  25615. "description": "关联数量",
  25616. "type": "number"
  25617. },
  25618. "spotcontractid": {
  25619. "description": "现货合同ID [4:套期保值\\10\\11]",
  25620. "type": "string"
  25621. },
  25622. "taname": {
  25623. "description": "期货账户名称",
  25624. "type": "string"
  25625. },
  25626. "tradeamount": {
  25627. "description": "成交金额(账户)",
  25628. "type": "number"
  25629. },
  25630. "tradedate": {
  25631. "description": "交易日(yyyyMMdd)",
  25632. "type": "string"
  25633. },
  25634. "tradeid": {
  25635. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25636. "type": "string"
  25637. },
  25638. "tradelot": {
  25639. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  25640. "type": "integer"
  25641. },
  25642. "tradeprice": {
  25643. "description": "成交价格",
  25644. "type": "number"
  25645. },
  25646. "tradetime": {
  25647. "description": "时间 | db:成交时间",
  25648. "type": "string"
  25649. },
  25650. "tradetype": {
  25651. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  25652. "type": "integer"
  25653. },
  25654. "userid": {
  25655. "description": "所属机构 - 所属母账户的UserID",
  25656. "type": "string"
  25657. },
  25658. "username": {
  25659. "description": "用户名称",
  25660. "type": "string"
  25661. }
  25662. }
  25663. },
  25664. "models.Ermcp3ParamChangeApp": {
  25665. "type": "object",
  25666. "properties": {
  25667. "aftervalue": {
  25668. "description": "变更后",
  25669. "type": "number"
  25670. },
  25671. "applicationid": {
  25672. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  25673. "type": "string"
  25674. },
  25675. "applyid": {
  25676. "description": "申请人",
  25677. "type": "string"
  25678. },
  25679. "applyname": {
  25680. "description": "申请人名称(代码)",
  25681. "type": "string"
  25682. },
  25683. "applyremark": {
  25684. "description": "申请备注",
  25685. "type": "string"
  25686. },
  25687. "applysrc": {
  25688. "description": "申请来源 - 1:管理端 2:终端",
  25689. "type": "integer"
  25690. },
  25691. "applystatus": {
  25692. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25693. "type": "integer"
  25694. },
  25695. "applytime": {
  25696. "description": "申请时间",
  25697. "type": "string"
  25698. },
  25699. "areauserid": {
  25700. "description": "所属机构用户ID",
  25701. "type": "integer"
  25702. },
  25703. "auditid": {
  25704. "description": "审核人",
  25705. "type": "string"
  25706. },
  25707. "auditname": {
  25708. "description": "审核人名称(代码)",
  25709. "type": "string"
  25710. },
  25711. "auditremark": {
  25712. "description": "审核备注",
  25713. "type": "string"
  25714. },
  25715. "auditsrc": {
  25716. "description": "审核来源 - 1:管理端 2:终端",
  25717. "type": "integer"
  25718. },
  25719. "audittime": {
  25720. "description": "审核时间",
  25721. "type": "string"
  25722. },
  25723. "audittradedate": {
  25724. "description": "审核交易日(yyyyMMdd)",
  25725. "type": "string"
  25726. },
  25727. "beforevalue": {
  25728. "description": "变更前",
  25729. "type": "number"
  25730. },
  25731. "deliverygoodscode": {
  25732. "description": "品种代码",
  25733. "type": "string"
  25734. },
  25735. "deliverygoodsid": {
  25736. "description": "品种id",
  25737. "type": "integer"
  25738. },
  25739. "deliverygoodsname": {
  25740. "description": "品种名称",
  25741. "type": "string"
  25742. },
  25743. "middlegoodscode": {
  25744. "description": "套保品种代码",
  25745. "type": "string"
  25746. },
  25747. "middlegoodsid": {
  25748. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  25749. "type": "integer"
  25750. },
  25751. "middlegoodsname": {
  25752. "description": "套保品种名称",
  25753. "type": "string"
  25754. },
  25755. "operatetype": {
  25756. "description": "操作类型 - 1:新增 2:修改",
  25757. "type": "integer"
  25758. },
  25759. "paramchangetype": {
  25760. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  25761. "type": "integer"
  25762. },
  25763. "wrstandardcode": {
  25764. "description": "现货商品代码",
  25765. "type": "string"
  25766. },
  25767. "wrstandardid": {
  25768. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  25769. "type": "integer"
  25770. },
  25771. "wrstandardname": {
  25772. "description": "现货商品名称",
  25773. "type": "string"
  25774. }
  25775. }
  25776. },
  25777. "models.Ermcp3RootUserAccount": {
  25778. "type": "object",
  25779. "properties": {
  25780. "accountname": {
  25781. "description": "账户名称(机构名称)",
  25782. "type": "string"
  25783. },
  25784. "accountstatus": {
  25785. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25786. "type": "integer"
  25787. },
  25788. "applysrc": {
  25789. "description": "申请来源 - 1:管理端 2:终端",
  25790. "type": "integer"
  25791. },
  25792. "auditremark": {
  25793. "description": "审核备注",
  25794. "type": "string"
  25795. },
  25796. "auditsrc": {
  25797. "description": "审核来源 - 1:管理端 2:终端",
  25798. "type": "integer"
  25799. },
  25800. "audittime": {
  25801. "description": "审核时间",
  25802. "type": "string"
  25803. },
  25804. "audituserid": {
  25805. "description": "审核人",
  25806. "type": "integer"
  25807. },
  25808. "broker": {
  25809. "description": "所属经纪人ID",
  25810. "type": "integer"
  25811. },
  25812. "canceltime": {
  25813. "description": "销户时间",
  25814. "type": "string"
  25815. },
  25816. "canceluserid": {
  25817. "description": "销户人",
  25818. "type": "integer"
  25819. },
  25820. "canrecommend": {
  25821. "description": "是否可推荐 - 0:不可 1;可",
  25822. "type": "integer"
  25823. },
  25824. "createtime": {
  25825. "description": "创建时间",
  25826. "type": "string"
  25827. },
  25828. "creatorid": {
  25829. "description": "创建人",
  25830. "type": "integer"
  25831. },
  25832. "hasauth": {
  25833. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  25834. "type": "integer"
  25835. },
  25836. "isanonymous": {
  25837. "description": "是否匿名下单 - 0:否 1:是",
  25838. "type": "integer"
  25839. },
  25840. "maxinvestornum": {
  25841. "description": "最大用户数(经纪会员下投资者个数)",
  25842. "type": "integer"
  25843. },
  25844. "memberuserid": {
  25845. "description": "所属会员ID",
  25846. "type": "integer"
  25847. },
  25848. "modifierid": {
  25849. "description": "修改人",
  25850. "type": "integer"
  25851. },
  25852. "modifyremark": {
  25853. "description": "变更备注",
  25854. "type": "string"
  25855. },
  25856. "modifystatus": {
  25857. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  25858. "type": "integer"
  25859. },
  25860. "modifytime": {
  25861. "description": "修改时间",
  25862. "type": "string"
  25863. },
  25864. "nickname": {
  25865. "description": "昵称",
  25866. "type": "string"
  25867. },
  25868. "parenttopuser": {
  25869. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  25870. "type": "string"
  25871. },
  25872. "parentuserid": {
  25873. "description": "所属机构ID",
  25874. "type": "integer"
  25875. },
  25876. "reckonaccountid": {
  25877. "description": "默认结算资金账号ID(机构分润使用) 作废",
  25878. "type": "integer"
  25879. },
  25880. "refercount": {
  25881. "description": "推荐总人数",
  25882. "type": "integer"
  25883. },
  25884. "refereeuserid": {
  25885. "description": "推荐人ID",
  25886. "type": "integer"
  25887. },
  25888. "refernum": {
  25889. "description": "推荐码",
  25890. "type": "string"
  25891. },
  25892. "rootuserid": {
  25893. "description": "根用户ID",
  25894. "type": "integer"
  25895. },
  25896. "subaccountlevel": {
  25897. "description": "子账户层数",
  25898. "type": "integer"
  25899. },
  25900. "subarealevelpath": {
  25901. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  25902. "type": "string"
  25903. },
  25904. "userid": {
  25905. "description": "用户ID",
  25906. "type": "integer"
  25907. },
  25908. "usertype": {
  25909. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25910. "type": "integer"
  25911. }
  25912. }
  25913. },
  25914. "models.Ermcp3SCMiddleGoods": {
  25915. "type": "object",
  25916. "properties": {
  25917. "biztype": {
  25918. "description": "业务类型 1:套保 2:套利",
  25919. "type": "integer"
  25920. },
  25921. "contractno": {
  25922. "description": "合同编号",
  25923. "type": "string"
  25924. },
  25925. "contracttype": {
  25926. "description": "合同类型 1:采购 -1:销售",
  25927. "type": "integer"
  25928. },
  25929. "convertratio": {
  25930. "description": "折算系数",
  25931. "type": "number"
  25932. },
  25933. "customername": {
  25934. "description": "对手手名称",
  25935. "type": "string"
  25936. },
  25937. "customeruserid": {
  25938. "description": "对手id",
  25939. "type": "integer"
  25940. },
  25941. "deliverygoodscode": {
  25942. "description": "现货品种代码",
  25943. "type": "string"
  25944. },
  25945. "deliverygoodsid": {
  25946. "description": "现货品种ID",
  25947. "type": "integer"
  25948. },
  25949. "deliverygoodsname": {
  25950. "description": "现货品种名称",
  25951. "type": "string"
  25952. },
  25953. "enumdicname": {
  25954. "description": "现货单位名称",
  25955. "type": "string"
  25956. },
  25957. "middlegoodsid": {
  25958. "description": "套保品种ID",
  25959. "type": "integer"
  25960. },
  25961. "middlegoodspricedqty3": {
  25962. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  25963. "type": "number"
  25964. },
  25965. "needhedgeratio": {
  25966. "description": "套保比例",
  25967. "type": "number"
  25968. },
  25969. "pricedqty": {
  25970. "description": "已定价量",
  25971. "type": "number"
  25972. },
  25973. "relatedmiddlegoodsqty": {
  25974. "description": "已关联量(套保品种)(期货)",
  25975. "type": "number"
  25976. },
  25977. "spotcontractid": {
  25978. "description": "合同编号",
  25979. "type": "string"
  25980. },
  25981. "unitid": {
  25982. "description": "现货单位id",
  25983. "type": "integer"
  25984. },
  25985. "userid": {
  25986. "description": "用户id",
  25987. "type": "integer"
  25988. },
  25989. "vatrate": {
  25990. "description": "增值税率",
  25991. "type": "number"
  25992. },
  25993. "wrstandardcode": {
  25994. "description": "现货商品代码",
  25995. "type": "string"
  25996. },
  25997. "wrstandardid": {
  25998. "description": "现货商品id",
  25999. "type": "integer"
  26000. },
  26001. "wrstandardname": {
  26002. "description": "现货商品名称",
  26003. "type": "string"
  26004. }
  26005. }
  26006. },
  26007. "models.Ermcp3SCMiddleGoodsReport": {
  26008. "type": "object",
  26009. "properties": {
  26010. "begindate": {
  26011. "description": "开始交易日",
  26012. "type": "string"
  26013. },
  26014. "contractno": {
  26015. "description": "合同编号",
  26016. "type": "string"
  26017. },
  26018. "contracttype": {
  26019. "description": "合同类型 1:采购 -1:销售",
  26020. "type": "integer"
  26021. },
  26022. "convertratio": {
  26023. "description": "期初均价",
  26024. "type": "number"
  26025. },
  26026. "cycletime": {
  26027. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  26028. "type": "string"
  26029. },
  26030. "cycletype": {
  26031. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26032. "type": "integer"
  26033. },
  26034. "deliverygoodscode": {
  26035. "description": "品种代码",
  26036. "type": "string"
  26037. },
  26038. "deliverygoodsid": {
  26039. "description": "现货品种ID",
  26040. "type": "integer"
  26041. },
  26042. "deliverygoodsname": {
  26043. "description": "品种名称",
  26044. "type": "string"
  26045. },
  26046. "diffprice": {
  26047. "description": "期初均价",
  26048. "type": "number"
  26049. },
  26050. "diffqty": {
  26051. "description": "期初均价",
  26052. "type": "number"
  26053. },
  26054. "enddate": {
  26055. "description": "结束交易日",
  26056. "type": "string"
  26057. },
  26058. "hedgeplanqty": {
  26059. "description": "期初均价",
  26060. "type": "number"
  26061. },
  26062. "matchname": {
  26063. "description": "交易对手方(个人:用户名称 企业:简称)",
  26064. "type": "string"
  26065. },
  26066. "matchnickname": {
  26067. "description": "交易对手方昵称",
  26068. "type": "string"
  26069. },
  26070. "middlegoodscode": {
  26071. "description": "套保品种代码",
  26072. "type": "string"
  26073. },
  26074. "middlegoodsid": {
  26075. "description": "套保品种ID",
  26076. "type": "integer"
  26077. },
  26078. "middlegoodsname": {
  26079. "description": "套保品种名称",
  26080. "type": "string"
  26081. },
  26082. "middlegoodspricedqty": {
  26083. "description": "期初均价",
  26084. "type": "number"
  26085. },
  26086. "middlegoodspricedqty2": {
  26087. "description": "期初均价",
  26088. "type": "number"
  26089. },
  26090. "middlegoodspricedqty3": {
  26091. "description": "期初均价",
  26092. "type": "number"
  26093. },
  26094. "needhedgeratio": {
  26095. "description": "期初均价",
  26096. "type": "number"
  26097. },
  26098. "pricedamount": {
  26099. "description": "期初均价",
  26100. "type": "number"
  26101. },
  26102. "pricedamount2": {
  26103. "description": "期初均价",
  26104. "type": "number"
  26105. },
  26106. "pricedqty": {
  26107. "description": "期初均价",
  26108. "type": "number"
  26109. },
  26110. "reckondate": {
  26111. "description": "日照时期(yyyyMMdd)",
  26112. "type": "string"
  26113. },
  26114. "relatedmiddlegoodsamount": {
  26115. "description": "期初均价",
  26116. "type": "number"
  26117. },
  26118. "relatedmiddlegoodsqty": {
  26119. "description": "期初均价",
  26120. "type": "number"
  26121. },
  26122. "spotcontractid": {
  26123. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  26124. "type": "string"
  26125. },
  26126. "todayavgfutuprice": {
  26127. "description": "期初均价",
  26128. "type": "number"
  26129. },
  26130. "todayavgprice": {
  26131. "description": "期初均价",
  26132. "type": "number"
  26133. },
  26134. "todayavgprice2": {
  26135. "description": "期初均价",
  26136. "type": "number"
  26137. },
  26138. "todaypricedamount": {
  26139. "description": "期初均价",
  26140. "type": "number"
  26141. },
  26142. "todaypricedamount2": {
  26143. "description": "期初均价",
  26144. "type": "number"
  26145. },
  26146. "todaypricedqty": {
  26147. "description": "期初均价",
  26148. "type": "number"
  26149. },
  26150. "todayrelatedfutureqty": {
  26151. "description": "期初均价",
  26152. "type": "number"
  26153. },
  26154. "todayrelatedmiddlegoodsamount": {
  26155. "description": "期初均价",
  26156. "type": "number"
  26157. },
  26158. "todayrelatedmiddlegoodsqty": {
  26159. "description": "期初均价",
  26160. "type": "number"
  26161. },
  26162. "updatetime": {
  26163. "description": "更新时间",
  26164. "type": "string"
  26165. },
  26166. "userid": {
  26167. "description": "合同所属用户id",
  26168. "type": "integer"
  26169. },
  26170. "vatrate": {
  26171. "description": "期初均价",
  26172. "type": "number"
  26173. },
  26174. "wrstandardcode": {
  26175. "description": "商品(品类) 代码",
  26176. "type": "string"
  26177. },
  26178. "wrstandardid": {
  26179. "description": "现货商品ID",
  26180. "type": "integer"
  26181. },
  26182. "wrstandardname": {
  26183. "description": "商品(品类) 名称",
  26184. "type": "string"
  26185. }
  26186. }
  26187. },
  26188. "models.Ermcp3SellBuyContract": {
  26189. "type": "object",
  26190. "properties": {
  26191. "accountid": {
  26192. "description": "期货账户id",
  26193. "type": "string"
  26194. },
  26195. "accountname": {
  26196. "description": "账户名称",
  26197. "type": "string"
  26198. },
  26199. "attachment": {
  26200. "description": "附件",
  26201. "type": "string"
  26202. },
  26203. "audittime": {
  26204. "description": "审核时间",
  26205. "type": "string"
  26206. },
  26207. "bizsubjectid": {
  26208. "description": "归属业务部门ID - SubjectID",
  26209. "type": "integer"
  26210. },
  26211. "biztype": {
  26212. "description": "业务类型 1-套保 2-套利",
  26213. "type": "integer"
  26214. },
  26215. "brandname": {
  26216. "description": "品牌名称",
  26217. "type": "string"
  26218. },
  26219. "contracctstatus": {
  26220. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26221. "type": "integer"
  26222. },
  26223. "contractmargin": {
  26224. "description": "合同保证金",
  26225. "type": "number"
  26226. },
  26227. "contractno": {
  26228. "description": "合同编号",
  26229. "type": "string"
  26230. },
  26231. "contracttype": {
  26232. "description": "合同类型 1-采购, -1-销售",
  26233. "type": "integer"
  26234. },
  26235. "convertfactor": {
  26236. "description": "标仓系数(品类)",
  26237. "type": "number"
  26238. },
  26239. "createtime": {
  26240. "description": "创建时间",
  26241. "type": "string"
  26242. },
  26243. "currencyid": {
  26244. "description": "币种id",
  26245. "type": "integer"
  26246. },
  26247. "currencyname": {
  26248. "description": "币种名称",
  26249. "type": "string"
  26250. },
  26251. "daikaiamount": {
  26252. "description": "应收(开)票额 | 未收票额",
  26253. "type": "number"
  26254. },
  26255. "deliveryenddate": {
  26256. "description": "交割结束日",
  26257. "type": "string"
  26258. },
  26259. "deliverygoodscode": {
  26260. "description": "现货品种代码",
  26261. "type": "string"
  26262. },
  26263. "deliverygoodsid": {
  26264. "description": "现货商品ID",
  26265. "type": "integer"
  26266. },
  26267. "deliverygoodsname": {
  26268. "description": "现货品种名称",
  26269. "type": "string"
  26270. },
  26271. "deliverystartdate": {
  26272. "description": "交割开始日",
  26273. "type": "string"
  26274. },
  26275. "enddate": {
  26276. "description": "点价结束日",
  26277. "type": "string"
  26278. },
  26279. "enumdicname": {
  26280. "description": "单位名称",
  26281. "type": "string"
  26282. },
  26283. "goodscode": {
  26284. "description": "点价商品代码",
  26285. "type": "string"
  26286. },
  26287. "goodsgroupid": {
  26288. "description": "点价商品组id",
  26289. "type": "integer"
  26290. },
  26291. "goodsid": {
  26292. "description": "点价商品ID",
  26293. "type": "integer"
  26294. },
  26295. "goodsname": {
  26296. "description": "点价商品名称",
  26297. "type": "string"
  26298. },
  26299. "invoiceamount": {
  26300. "description": "已开票额",
  26301. "type": "number"
  26302. },
  26303. "loanamount": {
  26304. "description": "贷款总额=已定价额+调整金额",
  26305. "type": "number"
  26306. },
  26307. "margin": {
  26308. "description": "保证金",
  26309. "type": "number"
  26310. },
  26311. "meruserid": {
  26312. "description": "跟单员id",
  26313. "type": "integer"
  26314. },
  26315. "meruserlogincode": {
  26316. "description": "跟单员登录代码",
  26317. "type": "string"
  26318. },
  26319. "merusername": {
  26320. "description": "跟单员名称",
  26321. "type": "string"
  26322. },
  26323. "nickname": {
  26324. "description": "账户昵称",
  26325. "type": "string"
  26326. },
  26327. "orireckonrealqty": {
  26328. "description": "应交收量",
  26329. "type": "number"
  26330. },
  26331. "payamount": {
  26332. "description": "已收付额(收款或付款)",
  26333. "type": "number"
  26334. },
  26335. "preinvoiceamount": {
  26336. "description": "预收(开)票额",
  26337. "type": "number"
  26338. },
  26339. "prepayamount": {
  26340. "description": "预收付额",
  26341. "type": "number"
  26342. },
  26343. "price": {
  26344. "description": "价格",
  26345. "type": "number"
  26346. },
  26347. "pricedamount": {
  26348. "description": "已定价额",
  26349. "type": "number"
  26350. },
  26351. "pricedavg": {
  26352. "description": "已点均价",
  26353. "type": "number"
  26354. },
  26355. "pricedqty": {
  26356. "description": "已定价量",
  26357. "type": "number"
  26358. },
  26359. "pricemove": {
  26360. "description": "升贴水",
  26361. "type": "number"
  26362. },
  26363. "pricetype": {
  26364. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  26365. "type": "integer"
  26366. },
  26367. "producttype": {
  26368. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  26369. "type": "integer"
  26370. },
  26371. "qty": {
  26372. "description": "合同量",
  26373. "type": "number"
  26374. },
  26375. "reckonadjustamount": {
  26376. "description": "调整金额",
  26377. "type": "number"
  26378. },
  26379. "reckonedamount": {
  26380. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  26381. "type": "number"
  26382. },
  26383. "reckonotheramount": {
  26384. "description": "其它费用",
  26385. "type": "number"
  26386. },
  26387. "reckonrealqty": {
  26388. "description": "已交收量",
  26389. "type": "number"
  26390. },
  26391. "remark": {
  26392. "description": "备注",
  26393. "type": "string"
  26394. },
  26395. "saleuserid": {
  26396. "description": "业务员id",
  26397. "type": "integer"
  26398. },
  26399. "saleuserlogincode": {
  26400. "description": "业务员登录代码",
  26401. "type": "string"
  26402. },
  26403. "saleusername": {
  26404. "description": "业务员名称",
  26405. "type": "string"
  26406. },
  26407. "spotcontractid": {
  26408. "description": "合同ID",
  26409. "type": "string"
  26410. },
  26411. "spotgoodsbrandid": {
  26412. "description": "现货品牌ID(DGFactoryItem表的ID)",
  26413. "type": "integer"
  26414. },
  26415. "spotgoodsdesc": {
  26416. "description": "商品型号(商品规格)",
  26417. "type": "string"
  26418. },
  26419. "startdate": {
  26420. "description": "点价开始日",
  26421. "type": "string"
  26422. },
  26423. "subjectid": {
  26424. "description": "交易主体ID",
  26425. "type": "integer"
  26426. },
  26427. "subjectname": {
  26428. "description": "交易主体名称",
  26429. "type": "string"
  26430. },
  26431. "totalamount": {
  26432. "description": "合计总额",
  26433. "type": "number"
  26434. },
  26435. "tradeuserid": {
  26436. "description": "交易员id",
  26437. "type": "integer"
  26438. },
  26439. "tradeuserlogincode": {
  26440. "description": "交易员登录代码",
  26441. "type": "string"
  26442. },
  26443. "tradeusername": {
  26444. "description": "交易员名称",
  26445. "type": "string"
  26446. },
  26447. "unpayamount": {
  26448. "description": "应收付款额(应支付或应收款) | 未付款额",
  26449. "type": "number"
  26450. },
  26451. "unpricedqty": {
  26452. "description": "未定价量",
  26453. "type": "number"
  26454. },
  26455. "unsureqty": {
  26456. "description": "未确定量 | 未交收量",
  26457. "type": "number"
  26458. },
  26459. "userid": {
  26460. "description": "机构ID",
  26461. "type": "integer"
  26462. },
  26463. "vatrate": {
  26464. "description": "增值税率",
  26465. "type": "number"
  26466. },
  26467. "wrstandardcode": {
  26468. "description": "品类代码",
  26469. "type": "string"
  26470. },
  26471. "wrstandardid": {
  26472. "description": "品类ID",
  26473. "type": "integer"
  26474. },
  26475. "wrstandardname": {
  26476. "description": "品类名称",
  26477. "type": "string"
  26478. }
  26479. }
  26480. },
  26481. "models.Ermcp3SpotGoodsPrice": {
  26482. "type": "object",
  26483. "properties": {
  26484. "areauserid": {
  26485. "description": "所属机构id",
  26486. "type": "integer"
  26487. },
  26488. "brandname": {
  26489. "description": "品牌名称",
  26490. "type": "string"
  26491. },
  26492. "currencyid": {
  26493. "description": "报价货币ID",
  26494. "type": "integer"
  26495. },
  26496. "currencyname": {
  26497. "description": "币种名称",
  26498. "type": "string"
  26499. },
  26500. "deliverygoodscode": {
  26501. "description": "现货商品代码",
  26502. "type": "string"
  26503. },
  26504. "deliverygoodsid": {
  26505. "description": "现货商品id",
  26506. "type": "integer"
  26507. },
  26508. "deliverygoodsname": {
  26509. "description": "现货商品名称",
  26510. "type": "string"
  26511. },
  26512. "enumdicname": {
  26513. "description": "现货商品单位名称",
  26514. "type": "string"
  26515. },
  26516. "gbenumdicname": {
  26517. "description": "品类单位名称",
  26518. "type": "string"
  26519. },
  26520. "gmunitid": {
  26521. "description": "品类单位id",
  26522. "type": "integer"
  26523. },
  26524. "isvalid": {
  26525. "description": "是否有效 - 0:无效 1:有效",
  26526. "type": "integer"
  26527. },
  26528. "operateid": {
  26529. "description": "最后操作人",
  26530. "type": "integer"
  26531. },
  26532. "operatesrc": {
  26533. "description": "最后操作来源 - 1:管理端 2:终端",
  26534. "type": "integer"
  26535. },
  26536. "operatetime": {
  26537. "description": "最后操作时间",
  26538. "type": "string"
  26539. },
  26540. "operatorname": {
  26541. "description": "操作人名称",
  26542. "type": "string"
  26543. },
  26544. "spotgoodsbrandid": {
  26545. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  26546. "type": "integer"
  26547. },
  26548. "spotgoodsprice": {
  26549. "description": "现货价格",
  26550. "type": "number"
  26551. },
  26552. "tradedate": {
  26553. "description": "交易日(yyyyMMdd)",
  26554. "type": "string"
  26555. },
  26556. "unitid": {
  26557. "description": "现货商品单位id",
  26558. "type": "integer"
  26559. },
  26560. "wrstandardcode": {
  26561. "description": "品类代码",
  26562. "type": "string"
  26563. },
  26564. "wrstandardid": {
  26565. "description": "现货品类ID(通用则为0)",
  26566. "type": "integer"
  26567. },
  26568. "wrstandardname": {
  26569. "description": "品类名称",
  26570. "type": "string"
  26571. }
  26572. }
  26573. },
  26574. "models.Ermcp3SpotGoodsPriceLog": {
  26575. "type": "object",
  26576. "properties": {
  26577. "areauserid": {
  26578. "description": "所属机构id",
  26579. "type": "integer"
  26580. },
  26581. "brandname": {
  26582. "description": "品牌名称",
  26583. "type": "string"
  26584. },
  26585. "currencyid": {
  26586. "description": "报价货币ID",
  26587. "type": "integer"
  26588. },
  26589. "deliverygoodscode": {
  26590. "description": "现货商品代码",
  26591. "type": "string"
  26592. },
  26593. "deliverygoodsid": {
  26594. "description": "现货商品id",
  26595. "type": "integer"
  26596. },
  26597. "deliverygoodsname": {
  26598. "description": "现货商品名称",
  26599. "type": "string"
  26600. },
  26601. "enumdicname": {
  26602. "description": "现货商品单位名称",
  26603. "type": "string"
  26604. },
  26605. "gbenumdicname": {
  26606. "description": "品类单位名称",
  26607. "type": "string"
  26608. },
  26609. "gmunitid": {
  26610. "description": "品类单位id",
  26611. "type": "integer"
  26612. },
  26613. "logid": {
  26614. "description": "日志id",
  26615. "type": "integer"
  26616. },
  26617. "operateid": {
  26618. "description": "最后操作人",
  26619. "type": "integer"
  26620. },
  26621. "operatesrc": {
  26622. "description": "最后操作来源 - 1:管理端 2:终端",
  26623. "type": "integer"
  26624. },
  26625. "operatetime": {
  26626. "description": "最后操作时间",
  26627. "type": "string"
  26628. },
  26629. "operatorname": {
  26630. "description": "操作人名称",
  26631. "type": "string"
  26632. },
  26633. "spotgoodsbrandid": {
  26634. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  26635. "type": "integer"
  26636. },
  26637. "spotgoodsprice": {
  26638. "description": "现货价格",
  26639. "type": "number"
  26640. },
  26641. "tradedate": {
  26642. "description": "交易日(yyyyMMdd)",
  26643. "type": "string"
  26644. },
  26645. "unitid": {
  26646. "description": "现货商品单位id",
  26647. "type": "integer"
  26648. },
  26649. "wrstandardcode": {
  26650. "description": "品类代码",
  26651. "type": "string"
  26652. },
  26653. "wrstandardid": {
  26654. "description": "现货品类ID(通用则为0)",
  26655. "type": "integer"
  26656. },
  26657. "wrstandardname": {
  26658. "description": "品类名称",
  26659. "type": "string"
  26660. }
  26661. }
  26662. },
  26663. "models.Ermcp3SubTaaccount": {
  26664. "type": "object",
  26665. "properties": {
  26666. "accountid": {
  26667. "description": "资金账户ID",
  26668. "type": "integer"
  26669. },
  26670. "parentaccountcode": {
  26671. "description": "所属根账号代码(母账号代码)",
  26672. "type": "string"
  26673. },
  26674. "parentaccountid": {
  26675. "description": "所属根账号(母账号)",
  26676. "type": "integer"
  26677. },
  26678. "taname": {
  26679. "description": "资金账号名称",
  26680. "type": "string"
  26681. },
  26682. "tradestatus": {
  26683. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  26684. "type": "integer"
  26685. },
  26686. "username": {
  26687. "description": "交易用户",
  26688. "type": "string"
  26689. }
  26690. }
  26691. },
  26692. "models.Ermcp3TaFutuReDataReport": {
  26693. "type": "object",
  26694. "properties": {
  26695. "accountid": {
  26696. "description": "交易账户",
  26697. "type": "integer"
  26698. },
  26699. "accountname": {
  26700. "description": "交易账号名称",
  26701. "type": "string"
  26702. },
  26703. "agreeunit": {
  26704. "description": "商品合约单位",
  26705. "type": "number"
  26706. },
  26707. "begindate": {
  26708. "description": "开始交易日",
  26709. "type": "string"
  26710. },
  26711. "buyorsell": {
  26712. "description": "持仓方向",
  26713. "type": "integer"
  26714. },
  26715. "charge": {
  26716. "description": "手续费",
  26717. "type": "number"
  26718. },
  26719. "closeavgprice": {
  26720. "description": "期初均价",
  26721. "type": "number"
  26722. },
  26723. "closepl": {
  26724. "description": "平仓损益",
  26725. "type": "number"
  26726. },
  26727. "currencyid": {
  26728. "description": "结算币种ID",
  26729. "type": "integer"
  26730. },
  26731. "currencyname": {
  26732. "description": "币种名称",
  26733. "type": "string"
  26734. },
  26735. "cycletime": {
  26736. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  26737. "type": "string"
  26738. },
  26739. "cycletype": {
  26740. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26741. "type": "integer"
  26742. },
  26743. "enddate": {
  26744. "description": "结束交易日",
  26745. "type": "string"
  26746. },
  26747. "enumdicname": {
  26748. "description": "单位名称",
  26749. "type": "string"
  26750. },
  26751. "floatpl": {
  26752. "description": "浮动损益",
  26753. "type": "number"
  26754. },
  26755. "goodscode": {
  26756. "description": "交易合约代码",
  26757. "type": "string"
  26758. },
  26759. "goodsgroupid": {
  26760. "description": "交易品种",
  26761. "type": "integer"
  26762. },
  26763. "goodsgroupname": {
  26764. "description": "交易品种名称",
  26765. "type": "string"
  26766. },
  26767. "goodsgroupspotqty": {
  26768. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  26769. "type": "number"
  26770. },
  26771. "goodsid": {
  26772. "description": "交易合约",
  26773. "type": "integer"
  26774. },
  26775. "goodsname": {
  26776. "description": "交易合约名称",
  26777. "type": "string"
  26778. },
  26779. "goodunitid": {
  26780. "description": "交易合约单位id",
  26781. "type": "integer"
  26782. },
  26783. "holdamount": {
  26784. "description": "期末持仓额",
  26785. "type": "number"
  26786. },
  26787. "holdqty": {
  26788. "description": "期初均价",
  26789. "type": "number"
  26790. },
  26791. "lastholdamount": {
  26792. "description": "当前持仓额",
  26793. "type": "number"
  26794. },
  26795. "lastprice": {
  26796. "description": "最新价",
  26797. "type": "number"
  26798. },
  26799. "middlegoodsid": {
  26800. "description": "套保品种id",
  26801. "type": "integer"
  26802. },
  26803. "middlegoodsname": {
  26804. "description": "套保商品名称",
  26805. "type": "string"
  26806. },
  26807. "middlegoodsqty": {
  26808. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  26809. "type": "number"
  26810. },
  26811. "middlgoodscode": {
  26812. "description": "套保商品代码",
  26813. "type": "string"
  26814. },
  26815. "openamount": {
  26816. "description": "期末开仓额",
  26817. "type": "number"
  26818. },
  26819. "openavgprice": {
  26820. "description": "期初均价",
  26821. "type": "number"
  26822. },
  26823. "oriholdamount": {
  26824. "description": "期初持仓额",
  26825. "type": "number"
  26826. },
  26827. "oriholdqty": {
  26828. "description": "期初均价",
  26829. "type": "number"
  26830. },
  26831. "oriopenamount": {
  26832. "description": "期初开仓额",
  26833. "type": "number"
  26834. },
  26835. "outergroupcode": {
  26836. "description": "交易品种代码",
  26837. "type": "string"
  26838. },
  26839. "qtydecimalplace": {
  26840. "description": "成交量小数位",
  26841. "type": "integer"
  26842. },
  26843. "reckondate": {
  26844. "description": "日照时期(yyyyMMdd)",
  26845. "type": "string"
  26846. },
  26847. "reckonholdamount": {
  26848. "description": "结算持仓额",
  26849. "type": "number"
  26850. },
  26851. "reckonpl": {
  26852. "description": "结算损益",
  26853. "type": "number"
  26854. },
  26855. "reckonpl2": {
  26856. "description": "结算逐笔盈亏",
  26857. "type": "number"
  26858. },
  26859. "reckonprice": {
  26860. "description": "结算价",
  26861. "type": "number"
  26862. },
  26863. "relateduserid": {
  26864. "description": "账户关联用户ID",
  26865. "type": "integer"
  26866. },
  26867. "todaycloseamount": {
  26868. "description": "今平仓额",
  26869. "type": "number"
  26870. },
  26871. "todaycloseqty": {
  26872. "description": "期初均价",
  26873. "type": "number"
  26874. },
  26875. "todaygoodsgroupspotqty": {
  26876. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  26877. "type": "number"
  26878. },
  26879. "todaymiddlegoodsqty": {
  26880. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  26881. "type": "number"
  26882. },
  26883. "todayopenamount": {
  26884. "description": "今开仓额",
  26885. "type": "number"
  26886. },
  26887. "todayopenqty": {
  26888. "description": "期初均价",
  26889. "type": "number"
  26890. },
  26891. "userid": {
  26892. "description": "账户所属用户ID",
  26893. "type": "integer"
  26894. }
  26895. }
  26896. },
  26897. "models.Ermcp3TradeLinkDetail": {
  26898. "type": "object",
  26899. "properties": {
  26900. "accountid": {
  26901. "description": "资金账号",
  26902. "type": "integer"
  26903. },
  26904. "agreeunit": {
  26905. "description": "合约乘数",
  26906. "type": "number"
  26907. },
  26908. "areauserid": {
  26909. "description": "所属机构",
  26910. "type": "string"
  26911. },
  26912. "bizsubjectid": {
  26913. "description": "归属业务部门ID - SubjectID",
  26914. "type": "string"
  26915. },
  26916. "buyorsell": {
  26917. "description": "方向 - 0:买 1:卖",
  26918. "type": "integer"
  26919. },
  26920. "channelbuildtype": {
  26921. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26922. "type": "integer"
  26923. },
  26924. "contractno": {
  26925. "description": "现货编号 (合同编号)",
  26926. "type": "string"
  26927. },
  26928. "convertratio": {
  26929. "description": "折算系数",
  26930. "type": "number"
  26931. },
  26932. "createtime": {
  26933. "description": "关联时间 | 创建时间",
  26934. "type": "string"
  26935. },
  26936. "creatorid": {
  26937. "description": "创建人ID",
  26938. "type": "string"
  26939. },
  26940. "creatorsrc": {
  26941. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  26942. "type": "integer"
  26943. },
  26944. "enumdicname": {
  26945. "description": "单位名称",
  26946. "type": "string"
  26947. },
  26948. "goodscode": {
  26949. "description": "合约代码",
  26950. "type": "string"
  26951. },
  26952. "goodsgroupid": {
  26953. "description": "对冲品种ID[期货合约商品组ID]",
  26954. "type": "integer"
  26955. },
  26956. "goodsid": {
  26957. "description": "商品ID",
  26958. "type": "integer"
  26959. },
  26960. "goodsname": {
  26961. "description": "合约名称",
  26962. "type": "string"
  26963. },
  26964. "hedgeflag": {
  26965. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  26966. "type": "integer"
  26967. },
  26968. "linkdetailid": {
  26969. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  26970. "type": "string"
  26971. },
  26972. "linkstatus": {
  26973. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  26974. "type": "integer"
  26975. },
  26976. "middlegoodscode": {
  26977. "description": "套保品种代码",
  26978. "type": "string"
  26979. },
  26980. "middlegoodsid": {
  26981. "description": "套保品种ID",
  26982. "type": "integer"
  26983. },
  26984. "middlegoodsname": {
  26985. "description": "套保品种名称",
  26986. "type": "string"
  26987. },
  26988. "relatedlot": {
  26989. "description": "关联手数",
  26990. "type": "number"
  26991. },
  26992. "relatedmode": {
  26993. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  26994. "type": "integer"
  26995. },
  26996. "relatedqty": {
  26997. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  26998. "type": "number"
  26999. },
  27000. "retcode": {
  27001. "description": "返回码",
  27002. "type": "integer"
  27003. },
  27004. "saleuserid": {
  27005. "description": "业务员ID",
  27006. "type": "string"
  27007. },
  27008. "spotcontractid": {
  27009. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  27010. "type": "string"
  27011. },
  27012. "taname": {
  27013. "description": "期货账户",
  27014. "type": "string"
  27015. },
  27016. "tradedate": {
  27017. "description": "关联交易日(yyyyMMdd)",
  27018. "type": "string"
  27019. },
  27020. "tradeid": {
  27021. "description": "期货订单号 | 内部成交单ID",
  27022. "type": "string"
  27023. },
  27024. "tradelot": {
  27025. "description": "成交数量 | 成交手数",
  27026. "type": "integer"
  27027. },
  27028. "tradeprice": {
  27029. "description": "成交价格",
  27030. "type": "number"
  27031. },
  27032. "tradetime": {
  27033. "description": "期货成交时间",
  27034. "type": "string"
  27035. },
  27036. "tradetradedate": {
  27037. "description": "成交交易日(yyyyMMdd)",
  27038. "type": "string"
  27039. },
  27040. "username": {
  27041. "description": "用户名称",
  27042. "type": "string"
  27043. }
  27044. }
  27045. },
  27046. "models.Ermcp3Wrstandard": {
  27047. "type": "object",
  27048. "properties": {
  27049. "areauserid": {
  27050. "description": "所属机构",
  27051. "type": "integer"
  27052. },
  27053. "cantrade": {
  27054. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  27055. "type": "integer"
  27056. },
  27057. "convertfactor": {
  27058. "description": "标仓系数",
  27059. "type": "number"
  27060. },
  27061. "createtime": {
  27062. "description": "创建时间",
  27063. "type": "string"
  27064. },
  27065. "creatorid": {
  27066. "description": "创建人",
  27067. "type": "integer"
  27068. },
  27069. "deliverygoodsid": {
  27070. "description": "现货品种ID",
  27071. "type": "integer"
  27072. },
  27073. "enumdicname": {
  27074. "description": "品类单位名称",
  27075. "type": "string"
  27076. },
  27077. "isvalid": {
  27078. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  27079. "type": "integer"
  27080. },
  27081. "minivalue": {
  27082. "description": "最小变动值",
  27083. "type": "integer"
  27084. },
  27085. "minivaluedp": {
  27086. "description": "最小变动值小数位",
  27087. "type": "integer"
  27088. },
  27089. "realminivalue": {
  27090. "description": "实际最小变动值",
  27091. "type": "integer"
  27092. },
  27093. "realminivaluedp": {
  27094. "description": "实际最小变动值小数位",
  27095. "type": "integer"
  27096. },
  27097. "remark": {
  27098. "description": "备注",
  27099. "type": "string"
  27100. },
  27101. "unitid": {
  27102. "description": "品类单位ID",
  27103. "type": "integer"
  27104. },
  27105. "updatetime": {
  27106. "description": "更新时间",
  27107. "type": "string"
  27108. },
  27109. "wrstandardcode": {
  27110. "description": "品类代码",
  27111. "type": "string"
  27112. },
  27113. "wrstandardid": {
  27114. "description": "品类ID(SEQ_WRSTANDARD)",
  27115. "type": "integer"
  27116. },
  27117. "wrstandardname": {
  27118. "description": "品类名称",
  27119. "type": "string"
  27120. }
  27121. }
  27122. },
  27123. "models.Ermcp8EnableHedgeditem": {
  27124. "type": "object",
  27125. "properties": {
  27126. "accountname": {
  27127. "description": "套期主体",
  27128. "type": "string"
  27129. },
  27130. "hedgeditemid": {
  27131. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  27132. "type": "string"
  27133. },
  27134. "hedgeditemname": {
  27135. "description": "项目名称",
  27136. "type": "string"
  27137. },
  27138. "hedgeditemnum": {
  27139. "description": "项目编号",
  27140. "type": "string"
  27141. },
  27142. "hedgedtype": {
  27143. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  27144. "type": "integer"
  27145. },
  27146. "planenddate": {
  27147. "description": "计划结束日期",
  27148. "type": "string"
  27149. },
  27150. "planstartdate": {
  27151. "description": "计划开始日期",
  27152. "type": "string"
  27153. },
  27154. "wrstandardid": {
  27155. "description": "现货商品ID",
  27156. "type": "integer"
  27157. },
  27158. "wrstandardname": {
  27159. "description": "现货商品",
  27160. "type": "string"
  27161. }
  27162. }
  27163. },
  27164. "models.Ermcp8HedgeditemReport": {
  27165. "type": "object",
  27166. "properties": {
  27167. "accountname": {
  27168. "description": "套期主体",
  27169. "type": "string"
  27170. },
  27171. "areauserid": {
  27172. "description": "企业ID",
  27173. "type": "integer"
  27174. },
  27175. "curprice": {
  27176. "description": "[当日现货市场价]当前市场价",
  27177. "type": "number"
  27178. },
  27179. "enumdicname": {
  27180. "description": "单位",
  27181. "type": "string"
  27182. },
  27183. "exeamount": {
  27184. "description": "[执行现货金额]执行市价总额",
  27185. "type": "number"
  27186. },
  27187. "exeavgprice": {
  27188. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  27189. "type": "number"
  27190. },
  27191. "exeqty": {
  27192. "description": "[执行数量]执行现货量",
  27193. "type": "number"
  27194. },
  27195. "futurehedgepl": {
  27196. "description": "期货实际损益",
  27197. "type": "number"
  27198. },
  27199. "futurehedgeplchange": {
  27200. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  27201. "type": "number"
  27202. },
  27203. "futurepl": {
  27204. "description": "期货套期损益",
  27205. "type": "number"
  27206. },
  27207. "futureplchange": {
  27208. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  27209. "type": "number"
  27210. },
  27211. "hedgeamount": {
  27212. "description": "[套期现货金额]套期市价总额",
  27213. "type": "number"
  27214. },
  27215. "hedgeditemnum": {
  27216. "description": "项目编号,模糊查询",
  27217. "type": "string"
  27218. },
  27219. "hedgeditemstatus": {
  27220. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27221. "type": "integer"
  27222. },
  27223. "hedgedtype": {
  27224. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  27225. "type": "integer"
  27226. },
  27227. "hedgeqty": {
  27228. "description": "[套期数量]套期现货量",
  27229. "type": "number"
  27230. },
  27231. "oriavgprice": {
  27232. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  27233. "type": "number"
  27234. },
  27235. "orifuturehedgepl": {
  27236. "description": "期初期货实际损益",
  27237. "type": "number"
  27238. },
  27239. "orifuturepl": {
  27240. "description": "期初期货套期损益",
  27241. "type": "number"
  27242. },
  27243. "orispothedgepl": {
  27244. "description": "期初现货实际损益",
  27245. "type": "number"
  27246. },
  27247. "orispotpl": {
  27248. "description": "期初现货套期损益",
  27249. "type": "number"
  27250. },
  27251. "planenddate": {
  27252. "description": "计划结束日期",
  27253. "type": "string"
  27254. },
  27255. "planstartdate": {
  27256. "description": "计划开始日期",
  27257. "type": "string"
  27258. },
  27259. "spothedgepl": {
  27260. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  27261. "type": "number"
  27262. },
  27263. "spothedgeplchange": {
  27264. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  27265. "type": "number"
  27266. },
  27267. "spotpl": {
  27268. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  27269. "type": "number"
  27270. },
  27271. "spotplchange": {
  27272. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  27273. "type": "number"
  27274. },
  27275. "tradeuserid": {
  27276. "description": "交易用户ID",
  27277. "type": "integer"
  27278. },
  27279. "unexeqty": {
  27280. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  27281. "type": "number"
  27282. },
  27283. "wrstandardcode": {
  27284. "description": "现货品类代码",
  27285. "type": "string"
  27286. },
  27287. "wrstandardid": {
  27288. "description": "现货商品ID",
  27289. "type": "integer"
  27290. },
  27291. "wrstandardname": {
  27292. "description": "[现货商品]现货品类名称",
  27293. "type": "string"
  27294. }
  27295. }
  27296. },
  27297. "models.Ermcp8RunningHedgeditem": {
  27298. "type": "object",
  27299. "properties": {
  27300. "accountname": {
  27301. "description": "套期主体",
  27302. "type": "string"
  27303. },
  27304. "applyid": {
  27305. "description": "申请人",
  27306. "type": "integer"
  27307. },
  27308. "applysrc": {
  27309. "description": "申请来源 - 1:管理端 2:终端",
  27310. "type": "integer"
  27311. },
  27312. "areauserid": {
  27313. "description": "企业ID",
  27314. "type": "integer"
  27315. },
  27316. "auditid": {
  27317. "description": "审核人",
  27318. "type": "integer"
  27319. },
  27320. "auditremark": {
  27321. "description": "审核备注",
  27322. "type": "string"
  27323. },
  27324. "auditsrc": {
  27325. "description": "审核来源 - 1:管理端 2:终端",
  27326. "type": "integer"
  27327. },
  27328. "audittime": {
  27329. "description": "审核时间",
  27330. "type": "string"
  27331. },
  27332. "audittradedate": {
  27333. "description": "审核交易日(yyyyMMdd)",
  27334. "type": "string"
  27335. },
  27336. "createtime": {
  27337. "description": "申请时间",
  27338. "type": "string"
  27339. },
  27340. "curprice": {
  27341. "description": "当前市场价",
  27342. "type": "number"
  27343. },
  27344. "curstock": {
  27345. "description": "期末库存量 = 采购总量 - 销售总量",
  27346. "type": "number"
  27347. },
  27348. "deliverygoodsid": {
  27349. "description": "现货品种ID",
  27350. "type": "integer"
  27351. },
  27352. "enddate": {
  27353. "description": "完成日期",
  27354. "type": "string"
  27355. },
  27356. "endtradedate": {
  27357. "description": "完成交易日",
  27358. "type": "string"
  27359. },
  27360. "enumdicname": {
  27361. "description": "单位",
  27362. "type": "string"
  27363. },
  27364. "exeamount": {
  27365. "description": "执行市价总额",
  27366. "type": "number"
  27367. },
  27368. "exeavgprice": {
  27369. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  27370. "type": "number"
  27371. },
  27372. "execontractamount": {
  27373. "description": "执行定价总额",
  27374. "type": "number"
  27375. },
  27376. "exeqty": {
  27377. "description": "执行现货量",
  27378. "type": "number"
  27379. },
  27380. "exerestamount": {
  27381. "description": "执行剩余市价总额【现货贸易】",
  27382. "type": "number"
  27383. },
  27384. "futurefloatpl": {
  27385. "description": "期货浮动损益",
  27386. "type": "number"
  27387. },
  27388. "futurehedgepl": {
  27389. "description": "期货实际损益",
  27390. "type": "number"
  27391. },
  27392. "futurehedgeplchange": {
  27393. "description": "期货实际损益变动",
  27394. "type": "number"
  27395. },
  27396. "futurepl": {
  27397. "description": "期货套期损益",
  27398. "type": "number"
  27399. },
  27400. "futureplchange": {
  27401. "description": "期货套期损益变动",
  27402. "type": "number"
  27403. },
  27404. "hedgeamount": {
  27405. "description": "套期市价总额",
  27406. "type": "number"
  27407. },
  27408. "hedgecontractamount": {
  27409. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  27410. "type": "number"
  27411. },
  27412. "hedgeditemid": {
  27413. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  27414. "type": "string"
  27415. },
  27416. "hedgeditemname": {
  27417. "description": "项目名称",
  27418. "type": "string"
  27419. },
  27420. "hedgeditemnum": {
  27421. "description": "项目编号",
  27422. "type": "string"
  27423. },
  27424. "hedgeditemstatus": {
  27425. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27426. "type": "integer"
  27427. },
  27428. "hedgedtype": {
  27429. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  27430. "type": "integer"
  27431. },
  27432. "hedgeqty": {
  27433. "description": "套期现货量",
  27434. "type": "number"
  27435. },
  27436. "hedgerate": {
  27437. "description": "套保比率",
  27438. "type": "number"
  27439. },
  27440. "hedgerestamount": {
  27441. "description": "套期剩余市价总额【现货贸易】",
  27442. "type": "number"
  27443. },
  27444. "hedgesumpl": {
  27445. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  27446. "type": "number"
  27447. },
  27448. "middlegoodslist": {
  27449. "description": "套期商品列表",
  27450. "type": "array",
  27451. "items": {
  27452. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  27453. }
  27454. },
  27455. "oriavgprice": {
  27456. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  27457. "type": "number"
  27458. },
  27459. "orifuturehedgepl": {
  27460. "description": "期初期货实际损益",
  27461. "type": "number"
  27462. },
  27463. "orifuturepl": {
  27464. "description": "期初期货套期损益",
  27465. "type": "number"
  27466. },
  27467. "orispothedgepl": {
  27468. "description": "期初现货实际损益",
  27469. "type": "number"
  27470. },
  27471. "orispotpl": {
  27472. "description": "期初现货套期损益",
  27473. "type": "number"
  27474. },
  27475. "planenddate": {
  27476. "description": "计划结束日期",
  27477. "type": "string"
  27478. },
  27479. "planstartdate": {
  27480. "description": "计划开始日期",
  27481. "type": "string"
  27482. },
  27483. "remark": {
  27484. "description": "备注",
  27485. "type": "string"
  27486. },
  27487. "spotbookamount": {
  27488. "description": "现货账面总额",
  27489. "type": "number"
  27490. },
  27491. "spotfloatpl": {
  27492. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  27493. "type": "number"
  27494. },
  27495. "spothedgepl": {
  27496. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  27497. "type": "number"
  27498. },
  27499. "spothedgeplchange": {
  27500. "description": "现货实际损益变动",
  27501. "type": "number"
  27502. },
  27503. "spotpl": {
  27504. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  27505. "type": "number"
  27506. },
  27507. "spotplchange": {
  27508. "description": "现货套期损益变动",
  27509. "type": "number"
  27510. },
  27511. "spottradepl": {
  27512. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  27513. "type": "number"
  27514. },
  27515. "sumobspl": {
  27516. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  27517. "type": "number"
  27518. },
  27519. "tradeuserid": {
  27520. "description": "交易用户ID",
  27521. "type": "integer"
  27522. },
  27523. "unexeqty": {
  27524. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  27525. "type": "number"
  27526. },
  27527. "updatetime": {
  27528. "description": "更新时间",
  27529. "type": "string"
  27530. },
  27531. "vatpl": {
  27532. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  27533. "type": "number"
  27534. },
  27535. "vatrate": {
  27536. "description": "增值税",
  27537. "type": "number"
  27538. },
  27539. "wrstandardid": {
  27540. "description": "现货商品ID",
  27541. "type": "integer"
  27542. },
  27543. "wrstandardname": {
  27544. "description": "商品名称",
  27545. "type": "string"
  27546. }
  27547. }
  27548. },
  27549. "models.ErmcpBizGroupEx": {
  27550. "type": "object",
  27551. "properties": {
  27552. "acclist": {
  27553. "description": "账号列表",
  27554. "type": "array",
  27555. "items": {
  27556. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  27557. }
  27558. },
  27559. "bizgroupid": {
  27560. "description": "业务分组id",
  27561. "type": "integer"
  27562. },
  27563. "biztype": {
  27564. "description": "业务类型 1-套保 2-套利",
  27565. "type": "integer"
  27566. },
  27567. "wrlist": {
  27568. "description": "现货商品表",
  27569. "type": "array",
  27570. "items": {
  27571. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  27572. }
  27573. }
  27574. }
  27575. },
  27576. "models.ErmcpBizGroupSpotGoods": {
  27577. "type": "object",
  27578. "properties": {
  27579. "areauserid": {
  27580. "description": "所属机构id",
  27581. "type": "integer"
  27582. },
  27583. "bizgroupid": {
  27584. "description": "分组id",
  27585. "type": "integer"
  27586. },
  27587. "biztype": {
  27588. "description": "业务类型 1-套保 2-套利",
  27589. "type": "integer"
  27590. },
  27591. "deliverygoodscode": {
  27592. "description": "现货商品代码",
  27593. "type": "string"
  27594. },
  27595. "deliverygoodsid": {
  27596. "description": "现货商品id",
  27597. "type": "integer"
  27598. },
  27599. "deliverygoodsname": {
  27600. "description": "现货商品名称",
  27601. "type": "string"
  27602. },
  27603. "unitid": {
  27604. "description": "现货商品单位id",
  27605. "type": "integer"
  27606. }
  27607. }
  27608. },
  27609. "models.ErmcpBizGroupTaAccount": {
  27610. "type": "object",
  27611. "properties": {
  27612. "accountid": {
  27613. "description": "账号id",
  27614. "type": "integer"
  27615. },
  27616. "accountname": {
  27617. "description": "账号名称",
  27618. "type": "string"
  27619. },
  27620. "areauserid": {
  27621. "description": "所属机构id",
  27622. "type": "integer"
  27623. },
  27624. "bizgroupid": {
  27625. "description": "业务分组id",
  27626. "type": "integer"
  27627. },
  27628. "ismain": {
  27629. "description": "是否主账号 1-是 0-否",
  27630. "type": "integer"
  27631. }
  27632. }
  27633. },
  27634. "models.ErmcpDGFactoryItem": {
  27635. "type": "object",
  27636. "properties": {
  27637. "areauserid": {
  27638. "description": "用户id",
  27639. "type": "integer"
  27640. },
  27641. "deliverygoodsid": {
  27642. "description": "现货品种ID",
  27643. "type": "integer"
  27644. },
  27645. "dgfactoryitemid": {
  27646. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  27647. "type": "integer"
  27648. },
  27649. "dgfactoryitemtypeid": {
  27650. "description": "要素项类型",
  27651. "type": "integer"
  27652. },
  27653. "dgfactoryitemvalue": {
  27654. "description": "要素项值(类型为仓库时填写仓库名称)",
  27655. "type": "string"
  27656. },
  27657. "isvalid": {
  27658. "description": "是否有效 - 0:无效 1:有效",
  27659. "type": "integer"
  27660. },
  27661. "orderindex": {
  27662. "description": "顺序",
  27663. "type": "integer"
  27664. },
  27665. "warehouseid": {
  27666. "description": "仓库ID(类型为仓库时填写)",
  27667. "type": "integer"
  27668. }
  27669. }
  27670. },
  27671. "models.ErmcpDeliveryGoods": {
  27672. "type": "object",
  27673. "properties": {
  27674. "agreeunit": {
  27675. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  27676. "type": "integer"
  27677. },
  27678. "areauserid": {
  27679. "description": "所属机构",
  27680. "type": "integer"
  27681. },
  27682. "auditflag": {
  27683. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  27684. "type": "integer"
  27685. },
  27686. "categoryid": {
  27687. "description": "类别ID(SEQ_WRCATEGORY)",
  27688. "type": "integer"
  27689. },
  27690. "deliverygoodscode": {
  27691. "description": "现货品种代码",
  27692. "type": "string"
  27693. },
  27694. "deliverygoodsid": {
  27695. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  27696. "type": "integer"
  27697. },
  27698. "deliverygoodsname": {
  27699. "description": "现货品种名称",
  27700. "type": "string"
  27701. },
  27702. "deliverygoodstype": {
  27703. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  27704. "type": "integer"
  27705. },
  27706. "dgstatus": {
  27707. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  27708. "type": "integer"
  27709. },
  27710. "enumdicname": {
  27711. "description": "现货品种单位名称",
  27712. "type": "string"
  27713. },
  27714. "goodsunitid": {
  27715. "description": "现货品种单位ID",
  27716. "type": "integer"
  27717. },
  27718. "isvalid": {
  27719. "description": "是否有效 - 0:无效 1:有效",
  27720. "type": "integer"
  27721. },
  27722. "qtydecimalplace": {
  27723. "description": "成交量小数位",
  27724. "type": "integer"
  27725. },
  27726. "remark": {
  27727. "description": "备注",
  27728. "type": "string"
  27729. },
  27730. "standardqty": {
  27731. "description": "标准数量(库位数量) [标准品特有]",
  27732. "type": "integer"
  27733. },
  27734. "standardqtyrange": {
  27735. "description": "标准数量偏差范围 [标准品特有]",
  27736. "type": "integer"
  27737. }
  27738. }
  27739. },
  27740. "models.ErmcpFuturesCompany": {
  27741. "type": "object",
  27742. "properties": {
  27743. "brokerid": {
  27744. "description": "经纪公司代码",
  27745. "type": "string"
  27746. },
  27747. "channeladdress": {
  27748. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  27749. "type": "string"
  27750. },
  27751. "channelid": {
  27752. "description": "对冲渠道ID",
  27753. "type": "string"
  27754. },
  27755. "createtime": {
  27756. "description": "创建时间",
  27757. "type": "string"
  27758. },
  27759. "creatorid": {
  27760. "description": "创建人",
  27761. "type": "string"
  27762. },
  27763. "fcid": {
  27764. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  27765. "type": "integer"
  27766. },
  27767. "fcname": {
  27768. "description": "期货公司名称",
  27769. "type": "string"
  27770. },
  27771. "isvalid": {
  27772. "description": "是否有效 - 0:无效 1:有效",
  27773. "type": "integer"
  27774. },
  27775. "mhpaddress": {
  27776. "description": "MHP服务地址(IP:Port)",
  27777. "type": "string"
  27778. },
  27779. "riskrulegroupid": {
  27780. "description": "风控规则组ID",
  27781. "type": "string"
  27782. },
  27783. "tradefeetmpid": {
  27784. "description": "手续费模板ID[TradeConfigTmpType为2]",
  27785. "type": "string"
  27786. },
  27787. "trademargintmpid": {
  27788. "description": "保证金模板ID [TradeConfigTmpType为1]",
  27789. "type": "string"
  27790. },
  27791. "traderatetmpid": {
  27792. "description": "汇率模板ID[TradeConfigTmpType为3]",
  27793. "type": "string"
  27794. },
  27795. "updatetime": {
  27796. "description": "更新时间",
  27797. "type": "string"
  27798. },
  27799. "updatorid": {
  27800. "description": "更新人",
  27801. "type": "string"
  27802. }
  27803. }
  27804. },
  27805. "models.ErmcpGGConvertCfg": {
  27806. "type": "object",
  27807. "properties": {
  27808. "convertratio": {
  27809. "description": "折算系数",
  27810. "type": "number"
  27811. },
  27812. "destgoodsgroupid": {
  27813. "description": "目标品种ID",
  27814. "type": "integer"
  27815. },
  27816. "dstcode": {
  27817. "description": "目录品种代码",
  27818. "type": "string"
  27819. },
  27820. "dstexchangecode": {
  27821. "description": "目标期货交易所",
  27822. "type": "string"
  27823. },
  27824. "dstname": {
  27825. "description": "目标品种名称",
  27826. "type": "string"
  27827. },
  27828. "dstunitid": {
  27829. "description": "目标品种单位ID",
  27830. "type": "integer"
  27831. },
  27832. "dstunitidname": {
  27833. "description": "目标品种单位名称",
  27834. "type": "string"
  27835. },
  27836. "modifytime": {
  27837. "description": "修改时间",
  27838. "type": "string"
  27839. },
  27840. "srccode": {
  27841. "description": "源品种代码",
  27842. "type": "string"
  27843. },
  27844. "srcexchangecode": {
  27845. "description": "源期货交易所",
  27846. "type": "string"
  27847. },
  27848. "srcgoodsgroupid": {
  27849. "description": "源品种ID",
  27850. "type": "integer"
  27851. },
  27852. "srcname": {
  27853. "description": "源品种名称",
  27854. "type": "string"
  27855. },
  27856. "srcunitid": {
  27857. "description": "源品种单位ID",
  27858. "type": "integer"
  27859. },
  27860. "srcunitidname": {
  27861. "description": "源品种单位名称",
  27862. "type": "string"
  27863. }
  27864. }
  27865. },
  27866. "models.ErmcpGoods": {
  27867. "type": "object",
  27868. "required": [
  27869. "goodscode",
  27870. "goodsid",
  27871. "goodsname",
  27872. "marketid"
  27873. ],
  27874. "properties": {
  27875. "agreeunit": {
  27876. "description": "合约单位",
  27877. "type": "number"
  27878. },
  27879. "areauserid": {
  27880. "description": "所属机构",
  27881. "type": "integer"
  27882. },
  27883. "auditaccountid": {
  27884. "description": "审核操作员账号",
  27885. "type": "integer"
  27886. },
  27887. "audittime": {
  27888. "description": "审核时间",
  27889. "type": "string"
  27890. },
  27891. "cancelaccountid": {
  27892. "description": "注销操作员账号",
  27893. "type": "integer"
  27894. },
  27895. "canceltime": {
  27896. "description": "注销时间",
  27897. "type": "string"
  27898. },
  27899. "closepricemode": {
  27900. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  27901. "type": "integer"
  27902. },
  27903. "closepriceparam": {
  27904. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  27905. "type": "number"
  27906. },
  27907. "createtime": {
  27908. "description": "创建时间",
  27909. "type": "string"
  27910. },
  27911. "creatorid": {
  27912. "description": "创建人",
  27913. "type": "integer"
  27914. },
  27915. "currencyid": {
  27916. "description": "报价货币ID",
  27917. "type": "integer"
  27918. },
  27919. "cutmode": {
  27920. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  27921. "type": "integer"
  27922. },
  27923. "decimalplace": {
  27924. "description": "报价小数位",
  27925. "type": "integer"
  27926. },
  27927. "delistingdate": {
  27928. "description": "商品退市时间(状态:退市) -- 已作废",
  27929. "type": "string"
  27930. },
  27931. "delistingmode": {
  27932. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  27933. "type": "integer"
  27934. },
  27935. "deliveryflag": {
  27936. "description": "交割标志 - 0:不可交割 1:可交割",
  27937. "type": "integer"
  27938. },
  27939. "enumdicname": {
  27940. "description": "单位名称",
  27941. "type": "string"
  27942. },
  27943. "forceclosemode": {
  27944. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  27945. "type": "integer"
  27946. },
  27947. "forceclosevalue": {
  27948. "description": "定期强平参数 [收益权]",
  27949. "type": "integer"
  27950. },
  27951. "goodscode": {
  27952. "description": "商品代码(内部)",
  27953. "type": "string"
  27954. },
  27955. "goodscurrencyid": {
  27956. "description": "合约货币ID",
  27957. "type": "integer"
  27958. },
  27959. "goodsgroupid": {
  27960. "description": "所属商品组ID",
  27961. "type": "integer"
  27962. },
  27963. "goodsid": {
  27964. "description": "商品ID(自增ID SEQ_GOODS)",
  27965. "type": "integer"
  27966. },
  27967. "goodsname": {
  27968. "description": "商品名称",
  27969. "type": "string"
  27970. },
  27971. "goodsquotetype": {
  27972. "description": "合约报价类型: 1-直接报价 2-间接报价",
  27973. "type": "integer"
  27974. },
  27975. "goodsstatus": {
  27976. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  27977. "type": "integer"
  27978. },
  27979. "goodstradetype": {
  27980. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  27981. "type": "integer"
  27982. },
  27983. "goodunitid": {
  27984. "description": "报价单位ID",
  27985. "type": "integer"
  27986. },
  27987. "hasquoter": {
  27988. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  27989. "type": "integer"
  27990. },
  27991. "hqprotecttime": {
  27992. "description": "行情保护时间(秒)",
  27993. "type": "integer"
  27994. },
  27995. "innerdealmode": {
  27996. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  27997. "type": "integer"
  27998. },
  27999. "isbuylimited": {
  28000. "description": "是否限制建仓量 - 0:不限制 1:限制",
  28001. "type": "integer"
  28002. },
  28003. "isvisible": {
  28004. "description": "游客是否可见 - 0:不可见 1:可见",
  28005. "type": "integer"
  28006. },
  28007. "lasttradedate": {
  28008. "description": "最后交易日期(状态:待退市)",
  28009. "type": "string"
  28010. },
  28011. "listingdate": {
  28012. "description": "交易开始日期",
  28013. "type": "string"
  28014. },
  28015. "marketid": {
  28016. "description": "所属市场ID",
  28017. "type": "integer"
  28018. },
  28019. "modifierid": {
  28020. "description": "修改人",
  28021. "type": "integer"
  28022. },
  28023. "modifystatus": {
  28024. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  28025. "type": "integer"
  28026. },
  28027. "modifytime": {
  28028. "description": "修改时间",
  28029. "type": "string"
  28030. },
  28031. "outerdealmode": {
  28032. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  28033. "type": "integer"
  28034. },
  28035. "outgoodscode": {
  28036. "description": "商品代码(外部)",
  28037. "type": "string"
  28038. },
  28039. "pictureurl": {
  28040. "description": "商品图片",
  28041. "type": "string"
  28042. },
  28043. "qtydecimalplace": {
  28044. "description": "成交量小数位",
  28045. "type": "integer"
  28046. },
  28047. "quotegear": {
  28048. "description": "行情档位(1-10)",
  28049. "type": "integer"
  28050. },
  28051. "quoteminunit": {
  28052. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28053. "type": "integer"
  28054. },
  28055. "quoteshowtype": {
  28056. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  28057. "type": "integer"
  28058. },
  28059. "quoteshowtypeinterval": {
  28060. "description": "行情报价间隔时间(秒)(成交价时为0)",
  28061. "type": "integer"
  28062. },
  28063. "relatedgoodsid": {
  28064. "description": "关联参考商品ID",
  28065. "type": "integer"
  28066. },
  28067. "remark": {
  28068. "description": "备注",
  28069. "type": "string"
  28070. },
  28071. "trademode": {
  28072. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28073. "type": "integer"
  28074. }
  28075. }
  28076. },
  28077. "models.ErmcpGoodsBrand": {
  28078. "type": "object",
  28079. "properties": {
  28080. "areauserid": {
  28081. "description": "所属机构",
  28082. "type": "integer"
  28083. },
  28084. "brandid": {
  28085. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  28086. "type": "integer"
  28087. },
  28088. "brandname": {
  28089. "description": "品牌名称",
  28090. "type": "string"
  28091. },
  28092. "createtime": {
  28093. "description": "创建时间",
  28094. "type": "string"
  28095. },
  28096. "creatorid": {
  28097. "description": "创建人",
  28098. "type": "integer"
  28099. },
  28100. "creatorsrc": {
  28101. "description": "创建人来源 - 1:管理端 2:终端",
  28102. "type": "integer"
  28103. },
  28104. "deliverygoodsid": {
  28105. "description": "现货品种ID",
  28106. "type": "integer"
  28107. },
  28108. "isvalid": {
  28109. "description": "是否有效 - 0:无效 1:有效",
  28110. "type": "integer"
  28111. },
  28112. "updatetime": {
  28113. "description": "更新时间",
  28114. "type": "string"
  28115. },
  28116. "updatorid": {
  28117. "description": "更新人",
  28118. "type": "integer"
  28119. },
  28120. "updatorsrc": {
  28121. "description": "更新人来源 - 1:管理端 2:终端",
  28122. "type": "integer"
  28123. },
  28124. "wrstandardid": {
  28125. "description": "现货商品ID",
  28126. "type": "integer"
  28127. }
  28128. }
  28129. },
  28130. "models.ErmcpGoodsModel": {
  28131. "type": "object",
  28132. "properties": {
  28133. "areauserid": {
  28134. "description": "所属机构",
  28135. "type": "integer"
  28136. },
  28137. "convertfactor": {
  28138. "description": "标仓系数",
  28139. "type": "number"
  28140. },
  28141. "createtime": {
  28142. "description": "创建时间",
  28143. "type": "string"
  28144. },
  28145. "creatorid": {
  28146. "description": "创建人",
  28147. "type": "integer"
  28148. },
  28149. "creatorsrc": {
  28150. "description": "创建人来源 - 1:管理端 2:终端",
  28151. "type": "integer"
  28152. },
  28153. "deliverygoodsid": {
  28154. "description": "现货品种ID",
  28155. "type": "integer"
  28156. },
  28157. "isvalid": {
  28158. "description": "是否有效 - 0:无效 1:有效",
  28159. "type": "integer"
  28160. },
  28161. "modelid": {
  28162. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  28163. "type": "integer"
  28164. },
  28165. "modelname": {
  28166. "description": "型号名称",
  28167. "type": "string"
  28168. },
  28169. "updatetime": {
  28170. "description": "更新时间",
  28171. "type": "string"
  28172. },
  28173. "updatorid": {
  28174. "description": "更新人",
  28175. "type": "integer"
  28176. },
  28177. "updatorsrc": {
  28178. "description": "更新人来源 - 1:管理端 2:终端",
  28179. "type": "integer"
  28180. },
  28181. "wrstandardid": {
  28182. "description": "现货商品ID",
  28183. "type": "integer"
  28184. }
  28185. }
  28186. },
  28187. "models.ErmcpHisExposure": {
  28188. "type": "object",
  28189. "properties": {
  28190. "needhedgeexposoure": {
  28191. "description": "应套保敞口",
  28192. "type": "number"
  28193. },
  28194. "reckondate": {
  28195. "description": "日照时期(yyyyMMdd)",
  28196. "type": "string"
  28197. },
  28198. "totalexposure": {
  28199. "description": "总敞口",
  28200. "type": "number"
  28201. }
  28202. }
  28203. },
  28204. "models.ErmcpLoginTaAccount": {
  28205. "type": "object",
  28206. "properties": {
  28207. "accountid": {
  28208. "description": "账号id",
  28209. "type": "integer"
  28210. },
  28211. "accountname": {
  28212. "description": "账号名称",
  28213. "type": "string"
  28214. }
  28215. }
  28216. },
  28217. "models.ErmcpLoginUser": {
  28218. "type": "object",
  28219. "properties": {
  28220. "acclist": {
  28221. "description": "关联资金账号",
  28222. "type": "array",
  28223. "items": {
  28224. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  28225. }
  28226. },
  28227. "accountname": {
  28228. "description": "用户名称",
  28229. "type": "string"
  28230. },
  28231. "clientroleid": {
  28232. "description": "角色id(usertype=2)",
  28233. "type": "integer"
  28234. },
  28235. "createtime": {
  28236. "description": "创建时间",
  28237. "type": "string"
  28238. },
  28239. "logincode": {
  28240. "description": "登录代码",
  28241. "type": "string"
  28242. },
  28243. "loginid": {
  28244. "description": "登录id(LOGINID)",
  28245. "type": "integer"
  28246. },
  28247. "loginname": {
  28248. "description": "登录名称(loginaccount表中的accountname字段)",
  28249. "type": "string"
  28250. },
  28251. "loginstatus": {
  28252. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  28253. "type": "integer"
  28254. },
  28255. "memberuserid": {
  28256. "description": "所属会员id",
  28257. "type": "integer"
  28258. },
  28259. "mobile": {
  28260. "description": "手机号",
  28261. "type": "string"
  28262. },
  28263. "modifytime": {
  28264. "description": "修改时间",
  28265. "type": "string"
  28266. },
  28267. "password": {
  28268. "description": "密码(不可解密)",
  28269. "type": "string"
  28270. },
  28271. "rolename": {
  28272. "description": "角色名称",
  28273. "type": "string"
  28274. },
  28275. "rolestatus": {
  28276. "description": "角色状态 1-启用 2-停用",
  28277. "type": "integer"
  28278. },
  28279. "roletype": {
  28280. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  28281. "type": "string"
  28282. },
  28283. "userid": {
  28284. "description": "用户id",
  28285. "type": "integer"
  28286. },
  28287. "usertype": {
  28288. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28289. "type": "integer"
  28290. }
  28291. }
  28292. },
  28293. "models.ErmcpLoginUserEx": {
  28294. "type": "object",
  28295. "properties": {
  28296. "accountstatus": {
  28297. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28298. "type": "integer"
  28299. },
  28300. "mobile": {
  28301. "description": "手机号",
  28302. "type": "string"
  28303. },
  28304. "querytype": {
  28305. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  28306. "type": "integer"
  28307. },
  28308. "roleid": {
  28309. "description": "角色id(交易账户-\u003e用户id)",
  28310. "type": "integer"
  28311. },
  28312. "rolename": {
  28313. "description": "角色名称(交易账户-\u003e用户名称)",
  28314. "type": "string"
  28315. },
  28316. "userlist": {
  28317. "description": "用户列表",
  28318. "type": "array",
  28319. "items": {
  28320. "$ref": "#/definitions/models.ErmcpLoginUser"
  28321. }
  28322. },
  28323. "usertype": {
  28324. "description": "用户类型 2-机构 7-企业成员(云平台)",
  28325. "type": "integer"
  28326. }
  28327. }
  28328. },
  28329. "models.ErmcpMiddleGoodsModel": {
  28330. "type": "object",
  28331. "properties": {
  28332. "areauserid": {
  28333. "description": "机构用户ID",
  28334. "type": "integer"
  28335. },
  28336. "createtime": {
  28337. "description": "修改时间",
  28338. "type": "string"
  28339. },
  28340. "enumdicname": {
  28341. "description": "单位名称",
  28342. "type": "string"
  28343. },
  28344. "evaluateratio": {
  28345. "description": "估价系数",
  28346. "type": "number"
  28347. },
  28348. "goodsgroupid": {
  28349. "description": "关联期货品种ID",
  28350. "type": "integer"
  28351. },
  28352. "goodsunitid": {
  28353. "description": "单位ID",
  28354. "type": "integer"
  28355. },
  28356. "isvalid": {
  28357. "description": "状态 0-无效(停用) 1-有效(正常)",
  28358. "type": "integer"
  28359. },
  28360. "middlegoodscode": {
  28361. "description": "套保品种代码",
  28362. "type": "string"
  28363. },
  28364. "middlegoodsid": {
  28365. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  28366. "type": "integer"
  28367. },
  28368. "middlegoodsname": {
  28369. "description": "套保品种名称",
  28370. "type": "string"
  28371. },
  28372. "modifytime": {
  28373. "description": "修改时间",
  28374. "type": "string"
  28375. },
  28376. "needarbitrageratio": {
  28377. "description": "套利比例",
  28378. "type": "number"
  28379. },
  28380. "needhedgeratio": {
  28381. "description": "套保比率",
  28382. "type": "number"
  28383. },
  28384. "qtydecimalplace": {
  28385. "description": "数量小数位",
  28386. "type": "integer"
  28387. },
  28388. "relatedgoodsid": {
  28389. "description": "关联交易商品ID",
  28390. "type": "integer"
  28391. },
  28392. "relatedgoodstype": {
  28393. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  28394. "type": "integer"
  28395. },
  28396. "remark": {
  28397. "description": "备注",
  28398. "type": "string"
  28399. }
  28400. }
  28401. },
  28402. "models.ErmcpMiddlegoodsRelateGoods": {
  28403. "type": "object",
  28404. "properties": {
  28405. "agreeunit": {
  28406. "description": "合约乘数",
  28407. "type": "number"
  28408. },
  28409. "convertratio": {
  28410. "description": "折算系数",
  28411. "type": "number"
  28412. },
  28413. "enumdicname": {
  28414. "description": "单位名称(交易商品)",
  28415. "type": "string"
  28416. },
  28417. "goodscode": {
  28418. "description": "交易商品代码",
  28419. "type": "string"
  28420. },
  28421. "goodsgroupid": {
  28422. "description": "交易品种id",
  28423. "type": "integer"
  28424. },
  28425. "goodsid": {
  28426. "description": "商品Id",
  28427. "type": "integer"
  28428. },
  28429. "goodsname": {
  28430. "description": "交易商品名称",
  28431. "type": "string"
  28432. },
  28433. "goodunitid": {
  28434. "description": "交易商品单位id",
  28435. "type": "integer"
  28436. },
  28437. "middlegoodsid": {
  28438. "description": "套保商品id",
  28439. "type": "integer"
  28440. },
  28441. "middlegoodsname": {
  28442. "description": "套保商品名称",
  28443. "type": "string"
  28444. },
  28445. "middlegoodsswcode": {
  28446. "description": "套保商品代码",
  28447. "type": "string"
  28448. },
  28449. "needarbitrageratio": {
  28450. "description": "应套利比例",
  28451. "type": "number"
  28452. },
  28453. "needhedgeratio": {
  28454. "description": "应套保比例",
  28455. "type": "number"
  28456. }
  28457. }
  28458. },
  28459. "models.ErmcpRole": {
  28460. "type": "object",
  28461. "properties": {
  28462. "areauserid": {
  28463. "description": "所属机构",
  28464. "type": "integer"
  28465. },
  28466. "autoid": {
  28467. "description": "角色ID(自增ID)",
  28468. "type": "integer"
  28469. },
  28470. "modifierid": {
  28471. "description": "修改人(创建人)",
  28472. "type": "integer"
  28473. },
  28474. "modifiername": {
  28475. "description": "修改人名称",
  28476. "type": "string"
  28477. },
  28478. "modifytime": {
  28479. "description": "修改时间(创建时间)",
  28480. "type": "string"
  28481. },
  28482. "rolename": {
  28483. "description": "角色名称",
  28484. "type": "string"
  28485. },
  28486. "rolestatus": {
  28487. "description": "角色状态 - 1:启用 2:停用",
  28488. "type": "integer"
  28489. },
  28490. "roletype": {
  28491. "description": "角色类型 - 1- 管理端 2- 交易端",
  28492. "type": "integer"
  28493. }
  28494. }
  28495. },
  28496. "models.ErmcpRoleMenu": {
  28497. "type": "object",
  28498. "properties": {
  28499. "iconame": {
  28500. "description": "菜单图标",
  28501. "type": "string"
  28502. },
  28503. "ishadrole": {
  28504. "description": "是否有权限",
  28505. "type": "boolean"
  28506. },
  28507. "menutype": {
  28508. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  28509. "type": "integer"
  28510. },
  28511. "parentcode": {
  28512. "description": "上级资源代码",
  28513. "type": "string"
  28514. },
  28515. "remark": {
  28516. "description": "菜单备注",
  28517. "type": "string"
  28518. },
  28519. "resourcecode": {
  28520. "description": "菜单代码",
  28521. "type": "string"
  28522. },
  28523. "resourcelevel": {
  28524. "description": "级别",
  28525. "type": "integer"
  28526. },
  28527. "resourcename": {
  28528. "description": "菜单名称",
  28529. "type": "string"
  28530. },
  28531. "roleid": {
  28532. "description": "角色id",
  28533. "type": "integer"
  28534. },
  28535. "sort": {
  28536. "description": "排序",
  28537. "type": "integer"
  28538. },
  28539. "url": {
  28540. "description": "URL",
  28541. "type": "string"
  28542. },
  28543. "userid": {
  28544. "description": "用户id",
  28545. "type": "integer"
  28546. }
  28547. }
  28548. },
  28549. "models.ErmcpRoleMenuEx": {
  28550. "type": "object",
  28551. "properties": {
  28552. "menu": {
  28553. "description": "父级菜单",
  28554. "$ref": "#/definitions/models.ErmcpRoleMenu"
  28555. },
  28556. "subMenu": {
  28557. "description": "子级菜单",
  28558. "type": "array",
  28559. "items": {
  28560. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  28561. }
  28562. }
  28563. }
  28564. },
  28565. "models.ErmcpSpotContractModelEx": {
  28566. "type": "object",
  28567. "properties": {
  28568. "accountname": {
  28569. "description": "套期主体",
  28570. "type": "string"
  28571. },
  28572. "amount": {
  28573. "description": "金额 [1:一口价、3:暂定价]",
  28574. "type": "number"
  28575. },
  28576. "attachment": {
  28577. "description": "附件",
  28578. "type": "string"
  28579. },
  28580. "auditremark": {
  28581. "description": "审核意见",
  28582. "type": "string"
  28583. },
  28584. "audittime": {
  28585. "description": "审核时间",
  28586. "type": "string"
  28587. },
  28588. "avgprice": {
  28589. "description": "定价均价 = 已定价金额 / 已定价量",
  28590. "type": "number"
  28591. },
  28592. "brandname": {
  28593. "description": "品牌名称",
  28594. "type": "string"
  28595. },
  28596. "buyuserid": {
  28597. "description": "采购方ID",
  28598. "type": "integer"
  28599. },
  28600. "buyusername": {
  28601. "description": "采购方名称",
  28602. "type": "string"
  28603. },
  28604. "contracctstatus": {
  28605. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  28606. "type": "integer"
  28607. },
  28608. "contractmargin": {
  28609. "description": "合同保证金",
  28610. "type": "number"
  28611. },
  28612. "contractno": {
  28613. "description": "[合同编号]现货合同编号",
  28614. "type": "string"
  28615. },
  28616. "contracttype": {
  28617. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  28618. "type": "integer"
  28619. },
  28620. "convertfactor": {
  28621. "description": "标仓系数",
  28622. "type": "number"
  28623. },
  28624. "createtime": {
  28625. "description": "创建时间",
  28626. "type": "string"
  28627. },
  28628. "customername": {
  28629. "description": "对手方",
  28630. "type": "string"
  28631. },
  28632. "customeruserid": {
  28633. "description": "客户ID",
  28634. "type": "integer"
  28635. },
  28636. "deliveryenddate": {
  28637. "description": "交收期(结束)",
  28638. "type": "string"
  28639. },
  28640. "deliverygoodscode": {
  28641. "description": "现货品种代码",
  28642. "type": "string"
  28643. },
  28644. "deliverygoodsid": {
  28645. "description": "现货品种ID",
  28646. "type": "integer"
  28647. },
  28648. "deliverygoodsname": {
  28649. "description": "现货品种名称",
  28650. "type": "string"
  28651. },
  28652. "deliverystartdate": {
  28653. "description": "交收期(开始)",
  28654. "type": "string"
  28655. },
  28656. "enddate": {
  28657. "description": "点价结束日期 [2:点价 3:暂定价]",
  28658. "type": "string"
  28659. },
  28660. "enumdicname": {
  28661. "description": "单位名称",
  28662. "type": "string"
  28663. },
  28664. "goodscode": {
  28665. "description": "点价合约代码",
  28666. "type": "string"
  28667. },
  28668. "goodsid": {
  28669. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  28670. "type": "integer"
  28671. },
  28672. "goodsname": {
  28673. "description": "点价商品名称",
  28674. "type": "string"
  28675. },
  28676. "isrelated": {
  28677. "description": "是否已关联计划项目 - 0:否 1:是",
  28678. "type": "integer"
  28679. },
  28680. "isrelated2": {
  28681. "description": "是否已关联现货项目 - 0:否 1:是",
  28682. "type": "integer"
  28683. },
  28684. "margin": {
  28685. "description": "当前保证金",
  28686. "type": "number"
  28687. },
  28688. "modelname": {
  28689. "description": "型号名称",
  28690. "type": "string"
  28691. },
  28692. "price": {
  28693. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  28694. "type": "number"
  28695. },
  28696. "pricedamount": {
  28697. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  28698. "type": "number"
  28699. },
  28700. "pricedqty": {
  28701. "description": "已定价量",
  28702. "type": "number"
  28703. },
  28704. "pricemove": {
  28705. "description": "升贴水 [2:点价 3:暂定价]",
  28706. "type": "number"
  28707. },
  28708. "pricetype": {
  28709. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  28710. "type": "integer"
  28711. },
  28712. "producttype": {
  28713. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  28714. "type": "integer"
  28715. },
  28716. "qty": {
  28717. "description": "[合同数量]数量",
  28718. "type": "number"
  28719. },
  28720. "remark": {
  28721. "description": "备注",
  28722. "type": "string"
  28723. },
  28724. "selluserid": {
  28725. "description": "销售方ID",
  28726. "type": "integer"
  28727. },
  28728. "sellusername": {
  28729. "description": "销售方名称",
  28730. "type": "string"
  28731. },
  28732. "spotamount": {
  28733. "description": "合同现货金额 [不含升贴水]",
  28734. "type": "number"
  28735. },
  28736. "spotavgprice": {
  28737. "description": "现货均价 = 合同现货金额 / 已定价量",
  28738. "type": "number"
  28739. },
  28740. "spotcontractid": {
  28741. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  28742. "type": "string"
  28743. },
  28744. "spotgoodsbrandid": {
  28745. "description": "现货品牌ID",
  28746. "type": "integer"
  28747. },
  28748. "spotgoodsdesc": {
  28749. "description": "商品型号",
  28750. "type": "string"
  28751. },
  28752. "spotgoodsmodelid": {
  28753. "description": "现货型号ID",
  28754. "type": "integer"
  28755. },
  28756. "startdate": {
  28757. "description": "点价开始日期 [2:点价 3:暂定价]",
  28758. "type": "string"
  28759. },
  28760. "tradeuserid": {
  28761. "description": "交易用户ID",
  28762. "type": "integer"
  28763. },
  28764. "unpricedqty": {
  28765. "description": "未定价量 = 合同数量 - 已定价量",
  28766. "type": "number"
  28767. },
  28768. "updatetime": {
  28769. "description": "更新时间",
  28770. "type": "string"
  28771. },
  28772. "userid": {
  28773. "description": "机构ID",
  28774. "type": "integer"
  28775. },
  28776. "wrstandardcode": {
  28777. "description": "现货商品代码",
  28778. "type": "string"
  28779. },
  28780. "wrstandardid": {
  28781. "description": "现货商品ID",
  28782. "type": "integer"
  28783. },
  28784. "wrstandardname": {
  28785. "description": "[现货商品]现货商品名称",
  28786. "type": "string"
  28787. }
  28788. }
  28789. },
  28790. "models.ErmcpTaAccount": {
  28791. "type": "object",
  28792. "properties": {
  28793. "accountid": {
  28794. "description": "账户id",
  28795. "type": "integer"
  28796. },
  28797. "accountname": {
  28798. "description": "账户名称",
  28799. "type": "string"
  28800. },
  28801. "currencyid": {
  28802. "description": "币种id",
  28803. "type": "integer"
  28804. },
  28805. "hedgeaccountcode": {
  28806. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28807. "type": "string"
  28808. },
  28809. "ismain": {
  28810. "description": "是否主账户 0-否 1-是",
  28811. "type": "integer"
  28812. },
  28813. "parentaccountid": {
  28814. "description": "父账户id",
  28815. "type": "integer"
  28816. },
  28817. "relateduserid": {
  28818. "description": "关联userid",
  28819. "type": "integer"
  28820. },
  28821. "tradefeetmpid": {
  28822. "description": "手续费模板id",
  28823. "type": "integer"
  28824. },
  28825. "tradefeetmpname": {
  28826. "description": "手续费模板名称",
  28827. "type": "string"
  28828. },
  28829. "trademargintmpid": {
  28830. "description": "保证金模板id",
  28831. "type": "integer"
  28832. },
  28833. "trademargintmpname": {
  28834. "description": "保证金模板名称",
  28835. "type": "string"
  28836. },
  28837. "traderatetmpid": {
  28838. "description": "汇率模板id",
  28839. "type": "integer"
  28840. },
  28841. "traderatetmpname": {
  28842. "description": "汇率模板名称",
  28843. "type": "string"
  28844. },
  28845. "tradestatus": {
  28846. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28847. "type": "integer"
  28848. },
  28849. "userid": {
  28850. "description": "用户id",
  28851. "type": "integer"
  28852. }
  28853. }
  28854. },
  28855. "models.ErmcpTaAccountEx": {
  28856. "type": "object",
  28857. "properties": {
  28858. "mainAcc": {
  28859. "description": "主账号",
  28860. "$ref": "#/definitions/models.ErmcpTaAccountM"
  28861. },
  28862. "subacclist": {
  28863. "description": "子账号列表",
  28864. "type": "array",
  28865. "items": {
  28866. "$ref": "#/definitions/models.ErmcpTaAccount"
  28867. }
  28868. }
  28869. }
  28870. },
  28871. "models.ErmcpTaAccountInfo": {
  28872. "type": "object",
  28873. "properties": {
  28874. "accountid": {
  28875. "description": "资金账户ID",
  28876. "type": "integer"
  28877. },
  28878. "accountname": {
  28879. "description": "账户名称",
  28880. "type": "string"
  28881. },
  28882. "balance": {
  28883. "description": "期初余额",
  28884. "type": "number"
  28885. },
  28886. "capitalbalance": {
  28887. "description": "本金余额[外部子账户实际出入金余额]",
  28888. "type": "number"
  28889. },
  28890. "closepl": {
  28891. "description": "今日平仓盈亏",
  28892. "type": "number"
  28893. },
  28894. "creditdecrease": {
  28895. "description": "今日授信减少",
  28896. "type": "number"
  28897. },
  28898. "creditincrease": {
  28899. "description": "今日授信增加",
  28900. "type": "number"
  28901. },
  28902. "curdebt": {
  28903. "description": "期末欠款",
  28904. "type": "number"
  28905. },
  28906. "currencyid": {
  28907. "description": "货币ID",
  28908. "type": "integer"
  28909. },
  28910. "currentbalance": {
  28911. "description": "期末余额",
  28912. "type": "number"
  28913. },
  28914. "freezecharge": {
  28915. "description": "手续费冻结",
  28916. "type": "number"
  28917. },
  28918. "freezemargin": {
  28919. "description": "冻结保证金",
  28920. "type": "number"
  28921. },
  28922. "fromaccountid": {
  28923. "description": "所属上级账户",
  28924. "type": "integer"
  28925. },
  28926. "inamount": {
  28927. "description": "今日入金金额(包括三方入金)",
  28928. "type": "number"
  28929. },
  28930. "ismain": {
  28931. "description": "是否母账号 0:不是母账户 1:是母账户",
  28932. "type": "integer"
  28933. },
  28934. "mortgagecredit": {
  28935. "description": "授信金额",
  28936. "type": "number"
  28937. },
  28938. "oridebt": {
  28939. "description": "期初欠款",
  28940. "type": "number"
  28941. },
  28942. "orifreezecharge": {
  28943. "description": "期初手续费冻结",
  28944. "type": "number"
  28945. },
  28946. "orifreezemargin": {
  28947. "description": "期初冻结保证金",
  28948. "type": "number"
  28949. },
  28950. "orimortgagecredit": {
  28951. "description": "期初授信金额",
  28952. "type": "number"
  28953. },
  28954. "oriothercredit": {
  28955. "description": "期初其它授信金额",
  28956. "type": "number"
  28957. },
  28958. "oriotherfreezemargin": {
  28959. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  28960. "type": "number"
  28961. },
  28962. "orioutamountfreeze": {
  28963. "description": "期初出金冻结",
  28964. "type": "number"
  28965. },
  28966. "oriusedmargin": {
  28967. "description": "期初占用保证金",
  28968. "type": "number"
  28969. },
  28970. "othercredit": {
  28971. "description": "其它授信金额",
  28972. "type": "number"
  28973. },
  28974. "othercreditdecrease": {
  28975. "description": "今日其它授信减少",
  28976. "type": "number"
  28977. },
  28978. "othercreditincrease": {
  28979. "description": "今日其它授信增加",
  28980. "type": "number"
  28981. },
  28982. "otherfreezemargin": {
  28983. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  28984. "type": "number"
  28985. },
  28986. "outamount": {
  28987. "description": "今日出金金额(包括三方出金)",
  28988. "type": "number"
  28989. },
  28990. "outamountfreeze": {
  28991. "description": "出金冻结",
  28992. "type": "number"
  28993. },
  28994. "outthreshold": {
  28995. "description": "出金阈值",
  28996. "type": "number"
  28997. },
  28998. "parentaccountid": {
  28999. "description": "所属根账号",
  29000. "type": "integer"
  29001. },
  29002. "paycharge": {
  29003. "description": "今日手续费支出",
  29004. "type": "number"
  29005. },
  29006. "relateduserid": {
  29007. "description": "关联用户",
  29008. "type": "integer"
  29009. },
  29010. "signstatus": {
  29011. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  29012. "type": "integer"
  29013. },
  29014. "sublevelpath": {
  29015. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  29016. "type": "string"
  29017. },
  29018. "taaccounttype": {
  29019. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  29020. "type": "integer"
  29021. },
  29022. "thirdinamount": {
  29023. "description": "今日三方入金",
  29024. "type": "number"
  29025. },
  29026. "thirdoutamount": {
  29027. "description": "今日三方出金",
  29028. "type": "number"
  29029. },
  29030. "tradestatus": {
  29031. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29032. "type": "integer"
  29033. },
  29034. "transferamount": {
  29035. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  29036. "type": "number"
  29037. },
  29038. "usedmargin": {
  29039. "description": "占用保证金",
  29040. "type": "number"
  29041. },
  29042. "userid": {
  29043. "description": "用户ID",
  29044. "type": "integer"
  29045. }
  29046. }
  29047. },
  29048. "models.ErmcpTaAccountM": {
  29049. "type": "object",
  29050. "properties": {
  29051. "accountid": {
  29052. "description": "账户id",
  29053. "type": "integer"
  29054. },
  29055. "accountname": {
  29056. "description": "账户名称",
  29057. "type": "string"
  29058. },
  29059. "currencyid": {
  29060. "description": "币种id",
  29061. "type": "integer"
  29062. },
  29063. "fcid": {
  29064. "description": "期货公司id",
  29065. "type": "integer"
  29066. },
  29067. "fcname": {
  29068. "description": "期货公司代码",
  29069. "type": "string"
  29070. },
  29071. "hedgeaccountcode": {
  29072. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  29073. "type": "string"
  29074. },
  29075. "ismain": {
  29076. "description": "是否主账户 0-否 1-是",
  29077. "type": "integer"
  29078. },
  29079. "parentaccountid": {
  29080. "description": "父账户id",
  29081. "type": "integer"
  29082. },
  29083. "relateduserid": {
  29084. "description": "关联userid",
  29085. "type": "integer"
  29086. },
  29087. "tradefeetmpid": {
  29088. "description": "手续费模板id",
  29089. "type": "integer"
  29090. },
  29091. "tradefeetmpname": {
  29092. "description": "手续费模板名称",
  29093. "type": "string"
  29094. },
  29095. "trademargintmpid": {
  29096. "description": "保证金模板id",
  29097. "type": "integer"
  29098. },
  29099. "trademargintmpname": {
  29100. "description": "保证金模板名称",
  29101. "type": "string"
  29102. },
  29103. "traderatetmpid": {
  29104. "description": "汇率模板id",
  29105. "type": "integer"
  29106. },
  29107. "traderatetmpname": {
  29108. "description": "汇率模板名称",
  29109. "type": "string"
  29110. },
  29111. "tradestatus": {
  29112. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29113. "type": "integer"
  29114. },
  29115. "userid": {
  29116. "description": "用户id",
  29117. "type": "integer"
  29118. }
  29119. }
  29120. },
  29121. "models.ErmcpTradeConfigTMP": {
  29122. "type": "object",
  29123. "properties": {
  29124. "areauserid": {
  29125. "description": "所属机构",
  29126. "type": "integer"
  29127. },
  29128. "basiccurrencyid": {
  29129. "description": "基本币种ID[汇率] - 目标币种",
  29130. "type": "integer"
  29131. },
  29132. "mainaccountid": {
  29133. "description": "主账户ID",
  29134. "type": "integer"
  29135. },
  29136. "modifierid": {
  29137. "description": "修改人",
  29138. "type": "integer"
  29139. },
  29140. "remark": {
  29141. "description": "备注",
  29142. "type": "string"
  29143. },
  29144. "tradeconfigtmpid": {
  29145. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  29146. "type": "integer"
  29147. },
  29148. "tradeconfigtmpname": {
  29149. "description": "交易配置模板名称",
  29150. "type": "string"
  29151. },
  29152. "tradeconfigtmptype": {
  29153. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  29154. "type": "integer"
  29155. },
  29156. "updatetime": {
  29157. "description": "更新时间",
  29158. "type": "string"
  29159. }
  29160. }
  29161. },
  29162. "models.Ermcpjrlinkpos": {
  29163. "type": "object",
  29164. "required": [
  29165. "spotcontractid"
  29166. ],
  29167. "properties": {
  29168. "areauserid": {
  29169. "description": "所属企业",
  29170. "type": "integer"
  29171. },
  29172. "averageprice": {
  29173. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  29174. "type": "number"
  29175. },
  29176. "closepl": {
  29177. "description": "总平仓盈亏 [期货损益]",
  29178. "type": "number"
  29179. },
  29180. "executeprice": {
  29181. "description": "执行价 - 1:期货单 为 0",
  29182. "type": "integer"
  29183. },
  29184. "futurehedgeqty": {
  29185. "description": "期货套期量",
  29186. "type": "number"
  29187. },
  29188. "goodsid": {
  29189. "description": "期货合约",
  29190. "type": "integer"
  29191. },
  29192. "middlegoodscode": {
  29193. "description": "套保商品代码",
  29194. "type": "string"
  29195. },
  29196. "middlegoodsname": {
  29197. "description": "套保商品名称",
  29198. "type": "string"
  29199. },
  29200. "netqty": {
  29201. "description": "净头寸",
  29202. "type": "number"
  29203. },
  29204. "optioncode": {
  29205. "description": "期权代码",
  29206. "type": "string"
  29207. },
  29208. "ordertype": {
  29209. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  29210. "type": "integer"
  29211. },
  29212. "reckonpl": {
  29213. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  29214. "type": "number"
  29215. },
  29216. "spotcontractid": {
  29217. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  29218. "type": "string"
  29219. },
  29220. "todayfutureclosepl": {
  29221. "description": "今日平仓盈亏",
  29222. "type": "number"
  29223. },
  29224. "totalbuyamount": {
  29225. "description": "买金额 [期货]",
  29226. "type": "number"
  29227. },
  29228. "totalbuyholdamount": {
  29229. "description": "买持仓总金额[期货]",
  29230. "type": "number"
  29231. },
  29232. "totalbuyqty": {
  29233. "description": "买数量",
  29234. "type": "number"
  29235. },
  29236. "totalcharge": {
  29237. "description": "手续费",
  29238. "type": "number"
  29239. },
  29240. "totalpremium": {
  29241. "description": "权利金 [期权]",
  29242. "type": "number"
  29243. },
  29244. "totalsellamount": {
  29245. "description": "卖金额 [期货]",
  29246. "type": "number"
  29247. },
  29248. "totalsellholdamount": {
  29249. "description": "卖持仓总金额[期货]",
  29250. "type": "number"
  29251. },
  29252. "totalsellqty": {
  29253. "description": "卖数量",
  29254. "type": "number"
  29255. },
  29256. "updatetime": {
  29257. "description": "更新时间",
  29258. "type": "string"
  29259. }
  29260. }
  29261. },
  29262. "models.Ermcppatradelinkdetail": {
  29263. "type": "object",
  29264. "required": [
  29265. "hedgeditemid"
  29266. ],
  29267. "properties": {
  29268. "agreeunit": {
  29269. "description": "合约乘数",
  29270. "type": "number"
  29271. },
  29272. "amount": {
  29273. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  29274. "type": "number"
  29275. },
  29276. "areauserid": {
  29277. "description": "所属机构",
  29278. "type": "integer"
  29279. },
  29280. "bizsubjectid": {
  29281. "description": "归属业务部门ID - SubjectID",
  29282. "type": "integer"
  29283. },
  29284. "buyorsell": {
  29285. "description": "方向 - 0:买 1:卖",
  29286. "type": "integer"
  29287. },
  29288. "convertratio": {
  29289. "description": "品种系数",
  29290. "type": "number"
  29291. },
  29292. "createtime": {
  29293. "description": "创建时间",
  29294. "type": "string"
  29295. },
  29296. "creatorid": {
  29297. "description": "创建人ID",
  29298. "type": "integer"
  29299. },
  29300. "creatorsrc": {
  29301. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  29302. "type": "integer"
  29303. },
  29304. "goodsgroupid": {
  29305. "description": "对冲品种ID[期货合约商品组ID]",
  29306. "type": "integer"
  29307. },
  29308. "goodsid": {
  29309. "description": "商品ID",
  29310. "type": "integer"
  29311. },
  29312. "hedgeditemid": {
  29313. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  29314. "type": "integer"
  29315. },
  29316. "hedgeflag": {
  29317. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  29318. "type": "integer"
  29319. },
  29320. "linkdetailid": {
  29321. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  29322. "type": "string"
  29323. },
  29324. "linkstatus": {
  29325. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  29326. "type": "integer"
  29327. },
  29328. "middlegoodsid": {
  29329. "description": "套保品种ID",
  29330. "type": "integer"
  29331. },
  29332. "name": {
  29333. "description": "账户名/子账户",
  29334. "type": "string"
  29335. },
  29336. "optioncode": {
  29337. "description": "[期货合约]期权代码 [期权]",
  29338. "type": "string"
  29339. },
  29340. "ordertype": {
  29341. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  29342. "type": "integer"
  29343. },
  29344. "relatedlot": {
  29345. "description": "[数量]关联手数",
  29346. "type": "number"
  29347. },
  29348. "relatedmode": {
  29349. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  29350. "type": "integer"
  29351. },
  29352. "relatedqty": {
  29353. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  29354. "type": "number"
  29355. },
  29356. "retcode": {
  29357. "description": "返回码",
  29358. "type": "integer"
  29359. },
  29360. "saleuserid": {
  29361. "description": "业务员ID",
  29362. "type": "integer"
  29363. },
  29364. "tradedate": {
  29365. "description": "关联交易日(yyyyMMdd)",
  29366. "type": "string"
  29367. },
  29368. "tradeid": {
  29369. "description": "[成交单号]内部成交单ID",
  29370. "type": "string"
  29371. },
  29372. "tradelot": {
  29373. "description": "成交手数",
  29374. "type": "integer"
  29375. },
  29376. "tradeprice": {
  29377. "description": "[价格]成交价格",
  29378. "type": "number"
  29379. },
  29380. "tradetime": {
  29381. "description": "日期时间",
  29382. "type": "string"
  29383. },
  29384. "tradetradedate": {
  29385. "description": "成交交易日(yyyyMMdd)",
  29386. "type": "string"
  29387. }
  29388. }
  29389. },
  29390. "models.Exchangerateconfig": {
  29391. "type": "object",
  29392. "properties": {
  29393. "descurrencyid": {
  29394. "description": "目标币种ID",
  29395. "type": "integer"
  29396. },
  29397. "exchangerate": {
  29398. "description": "汇率",
  29399. "type": "number"
  29400. },
  29401. "oricurrencyid": {
  29402. "description": "源币种ID",
  29403. "type": "integer"
  29404. },
  29405. "remark": {
  29406. "description": "备注",
  29407. "type": "string"
  29408. }
  29409. }
  29410. },
  29411. "models.Externalexchange": {
  29412. "type": "object",
  29413. "required": [
  29414. "autoid"
  29415. ],
  29416. "properties": {
  29417. "autoid": {
  29418. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  29419. "type": "integer"
  29420. },
  29421. "exchangefullname": {
  29422. "description": "外部交易所全称",
  29423. "type": "string"
  29424. },
  29425. "exexchangecode": {
  29426. "description": "外部交易所代码",
  29427. "type": "string"
  29428. },
  29429. "exexchangename": {
  29430. "description": "外部交易所名称(简称)",
  29431. "type": "string"
  29432. },
  29433. "ismarketprice": {
  29434. "description": "是否支持市价 - 0:不支持 1:支持",
  29435. "type": "integer"
  29436. },
  29437. "quotegear": {
  29438. "description": "行情档位(1-10)",
  29439. "type": "integer"
  29440. },
  29441. "showbrokerflag": {
  29442. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  29443. "type": "integer"
  29444. },
  29445. "updatetime": {
  29446. "description": "更新时间",
  29447. "type": "string"
  29448. }
  29449. }
  29450. },
  29451. "models.Funcmenulist": {
  29452. "type": "object",
  29453. "required": [
  29454. "resourcecode"
  29455. ],
  29456. "properties": {
  29457. "iconame": {
  29458. "description": "菜单图标",
  29459. "type": "string"
  29460. },
  29461. "menutype": {
  29462. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  29463. "type": "integer"
  29464. },
  29465. "parentcode": {
  29466. "description": "上级资源代码",
  29467. "type": "string"
  29468. },
  29469. "remark": {
  29470. "description": "备注",
  29471. "type": "string"
  29472. },
  29473. "resourcecode": {
  29474. "description": "资源代码",
  29475. "type": "string"
  29476. },
  29477. "resourcelevel": {
  29478. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  29479. "type": "integer"
  29480. },
  29481. "resourcename": {
  29482. "description": "资源名",
  29483. "type": "string"
  29484. },
  29485. "sort": {
  29486. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  29487. "type": "integer"
  29488. },
  29489. "url": {
  29490. "description": "URL",
  29491. "type": "string"
  29492. }
  29493. }
  29494. },
  29495. "models.GZGoods": {
  29496. "type": "object",
  29497. "required": [
  29498. "goodsno"
  29499. ],
  29500. "properties": {
  29501. "cerno": {
  29502. "description": "证书编号 - 类型:2,4,5",
  29503. "type": "string"
  29504. },
  29505. "cpcertno": {
  29506. "description": "金伯利证书编号 - 类型:3",
  29507. "type": "string"
  29508. },
  29509. "goodsno": {
  29510. "description": "商品编号",
  29511. "type": "string"
  29512. },
  29513. "imagepath": {
  29514. "description": "商品照片(相对地址)",
  29515. "type": "string"
  29516. },
  29517. "isvalid": {
  29518. "description": "是否有效 - 0:无效 1:有效",
  29519. "type": "integer"
  29520. },
  29521. "kppath": {
  29522. "description": "金伯利证书图片(相对地址) - 类型:3",
  29523. "type": "string"
  29524. },
  29525. "kpweight": {
  29526. "description": "金伯利证书重量 - 类型:3",
  29527. "type": "string"
  29528. },
  29529. "marketprice": {
  29530. "description": "市场价",
  29531. "type": "string"
  29532. },
  29533. "mobile": {
  29534. "description": "手机号码",
  29535. "type": "string"
  29536. },
  29537. "origin": {
  29538. "description": "原产地 - 类型:3",
  29539. "type": "string"
  29540. },
  29541. "performancetemplateid": {
  29542. "description": "履约计划模板ID",
  29543. "type": "integer"
  29544. },
  29545. "price": {
  29546. "description": "总价(价格) - 类型:1,2,3,4,5",
  29547. "type": "number"
  29548. },
  29549. "priceper": {
  29550. "description": "克拉单价 - 类型:1,2,3,5",
  29551. "type": "string"
  29552. },
  29553. "remainqty": {
  29554. "description": "剩余重量",
  29555. "type": "number"
  29556. },
  29557. "remark": {
  29558. "description": "备注",
  29559. "type": "string"
  29560. },
  29561. "sellusername": {
  29562. "description": "账户名称(机构名称)",
  29563. "type": "string"
  29564. },
  29565. "settingmaterial": {
  29566. "description": "镶嵌材料 - 类型:4",
  29567. "type": "string"
  29568. },
  29569. "size1": {
  29570. "description": "尺寸1 - 类型:2,4,5",
  29571. "type": "string"
  29572. },
  29573. "size2": {
  29574. "description": "尺寸2 - 类型:2,4,5",
  29575. "type": "string"
  29576. },
  29577. "size3": {
  29578. "description": "尺寸3 - 类型:2,4,5",
  29579. "type": "string"
  29580. },
  29581. "stonedesc": {
  29582. "description": "配石描述 - 类型:4",
  29583. "type": "string"
  29584. },
  29585. "userid": {
  29586. "description": "用户ID",
  29587. "type": "integer"
  29588. },
  29589. "warehouseid": {
  29590. "description": "仓库ID",
  29591. "type": "integer"
  29592. },
  29593. "warehousenamedisplay": {
  29594. "type": "string"
  29595. },
  29596. "weight": {
  29597. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  29598. "type": "number"
  29599. },
  29600. "weightavg": {
  29601. "description": "平均单颗重量 - 类型:1,3",
  29602. "type": "number"
  29603. },
  29604. "wrpath": {
  29605. "description": "仓单扫描件(相对地址)",
  29606. "type": "string"
  29607. },
  29608. "wrstandardid": {
  29609. "description": "现货商品ID",
  29610. "type": "integer"
  29611. },
  29612. "wrtradeorderid": {
  29613. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29614. "type": "string"
  29615. },
  29616. "zscategory": {
  29617. "description": "钻石分类 - 枚举”ZSCategory“",
  29618. "type": "integer"
  29619. },
  29620. "zscategorydisplay": {
  29621. "type": "string"
  29622. },
  29623. "zscerttype": {
  29624. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  29625. "type": "integer"
  29626. },
  29627. "zscerttypedisplay": {
  29628. "type": "string"
  29629. },
  29630. "zsclaritytype1": {
  29631. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  29632. "type": "integer"
  29633. },
  29634. "zsclaritytype1display": {
  29635. "type": "string"
  29636. },
  29637. "zsclaritytype2": {
  29638. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  29639. "type": "integer"
  29640. },
  29641. "zsclaritytype2display": {
  29642. "type": "string"
  29643. },
  29644. "zscolortype1": {
  29645. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  29646. "type": "integer"
  29647. },
  29648. "zscolortype1display": {
  29649. "type": "string"
  29650. },
  29651. "zscolortype2": {
  29652. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  29653. "type": "integer"
  29654. },
  29655. "zscolortype2display": {
  29656. "type": "string"
  29657. },
  29658. "zscrystaltype": {
  29659. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  29660. "type": "string"
  29661. },
  29662. "zscrystaltypedisplay": {
  29663. "type": "string"
  29664. },
  29665. "zscurrencytype": {
  29666. "description": "货币类型 - 枚举“ZSCurrencyType”",
  29667. "type": "integer"
  29668. },
  29669. "zscurrencytypedisplay": {
  29670. "type": "string"
  29671. },
  29672. "zscurrencytypedisplayunit": {
  29673. "type": "string"
  29674. },
  29675. "zscuttype1": {
  29676. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  29677. "type": "integer"
  29678. },
  29679. "zscuttype1display": {
  29680. "type": "string"
  29681. },
  29682. "zscuttype2": {
  29683. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  29684. "type": "integer"
  29685. },
  29686. "zscuttype2display": {
  29687. "type": "string"
  29688. },
  29689. "zsczcolor1type": {
  29690. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  29691. "type": "integer"
  29692. },
  29693. "zsczcolor1typedisplay": {
  29694. "type": "string"
  29695. },
  29696. "zsczcolor2type": {
  29697. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  29698. "type": "integer"
  29699. },
  29700. "zsczcolor2typedisplay": {
  29701. "type": "string"
  29702. },
  29703. "zsczcolor3type": {
  29704. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  29705. "type": "integer"
  29706. },
  29707. "zsczcolor3typedisplay": {
  29708. "type": "string"
  29709. },
  29710. "zsfluorescencetype1": {
  29711. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  29712. "type": "integer"
  29713. },
  29714. "zsfluorescencetype1display": {
  29715. "type": "string"
  29716. },
  29717. "zsfluorescencetype2": {
  29718. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  29719. "type": "integer"
  29720. },
  29721. "zsfluorescencetype2display": {
  29722. "type": "string"
  29723. },
  29724. "zspolishtype1": {
  29725. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  29726. "type": "integer"
  29727. },
  29728. "zspolishtype1display": {
  29729. "type": "string"
  29730. },
  29731. "zspolishtype2": {
  29732. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  29733. "type": "integer"
  29734. },
  29735. "zspolishtype2display": {
  29736. "type": "string"
  29737. },
  29738. "zsshapetype": {
  29739. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  29740. "type": "string"
  29741. },
  29742. "zsshapetypedisplay": {
  29743. "type": "string"
  29744. },
  29745. "zsstyletype": {
  29746. "description": "款式 - 类型:4",
  29747. "type": "integer"
  29748. },
  29749. "zsstyletypedisplay": {
  29750. "type": "string"
  29751. },
  29752. "zssymmetrytype1": {
  29753. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  29754. "type": "integer"
  29755. },
  29756. "zssymmetrytype1display": {
  29757. "type": "string"
  29758. },
  29759. "zssymmetrytype2": {
  29760. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  29761. "type": "integer"
  29762. },
  29763. "zssymmetrytype2display": {
  29764. "type": "string"
  29765. }
  29766. }
  29767. },
  29768. "models.GZHomeData": {
  29769. "type": "object",
  29770. "properties": {
  29771. "purchasedtransactions": {
  29772. "description": "已购买的交易",
  29773. "type": "integer"
  29774. },
  29775. "transactioninpurchase": {
  29776. "description": "求购中的交易",
  29777. "type": "integer"
  29778. },
  29779. "transactionsonsale": {
  29780. "description": "出售中的交易",
  29781. "type": "integer"
  29782. },
  29783. "transactionssold": {
  29784. "description": "已卖出的交易",
  29785. "type": "integer"
  29786. },
  29787. "unhandledmessage": {
  29788. "description": "未处理消息",
  29789. "type": "integer"
  29790. }
  29791. }
  29792. },
  29793. "models.GZWarehouseinfo": {
  29794. "type": "object",
  29795. "properties": {
  29796. "address": {
  29797. "description": "详细地址",
  29798. "type": "string"
  29799. },
  29800. "areauserid": {
  29801. "description": "所属机构",
  29802. "type": "integer"
  29803. },
  29804. "autoid": {
  29805. "description": "自增ID",
  29806. "type": "integer"
  29807. },
  29808. "cityid": {
  29809. "description": "市",
  29810. "type": "integer"
  29811. },
  29812. "contactname": {
  29813. "description": "联系人",
  29814. "type": "string"
  29815. },
  29816. "contactnum": {
  29817. "description": "联系电话",
  29818. "type": "string"
  29819. },
  29820. "countryid": {
  29821. "description": "国家",
  29822. "type": "integer"
  29823. },
  29824. "createtime": {
  29825. "description": "创建时间",
  29826. "type": "string"
  29827. },
  29828. "districtid": {
  29829. "description": "区",
  29830. "type": "integer"
  29831. },
  29832. "hasvideo": {
  29833. "description": "是否有视频 - 0:无 1:有",
  29834. "type": "integer"
  29835. },
  29836. "provinceid": {
  29837. "description": "省",
  29838. "type": "integer"
  29839. },
  29840. "remark": {
  29841. "description": "审核备注",
  29842. "type": "string"
  29843. },
  29844. "videourl": {
  29845. "description": "视频地址",
  29846. "type": "string"
  29847. },
  29848. "warehousecode": {
  29849. "description": "仓库代码",
  29850. "type": "string"
  29851. },
  29852. "warehousename": {
  29853. "description": "仓库名称",
  29854. "type": "string"
  29855. },
  29856. "warehousestatus": {
  29857. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  29858. "type": "integer"
  29859. },
  29860. "warehousetype": {
  29861. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  29862. "type": "integer"
  29863. }
  29864. }
  29865. },
  29866. "models.Goods": {
  29867. "type": "object",
  29868. "required": [
  29869. "goodscode",
  29870. "goodsid",
  29871. "goodsname",
  29872. "marketid"
  29873. ],
  29874. "properties": {
  29875. "agreeunit": {
  29876. "description": "合约单位",
  29877. "type": "number"
  29878. },
  29879. "areauserid": {
  29880. "description": "所属机构",
  29881. "type": "integer"
  29882. },
  29883. "auditaccountid": {
  29884. "description": "审核操作员账号",
  29885. "type": "integer"
  29886. },
  29887. "audittime": {
  29888. "description": "审核时间",
  29889. "type": "string"
  29890. },
  29891. "cancelaccountid": {
  29892. "description": "注销操作员账号",
  29893. "type": "integer"
  29894. },
  29895. "canceltime": {
  29896. "description": "注销时间",
  29897. "type": "string"
  29898. },
  29899. "closepricemode": {
  29900. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  29901. "type": "integer"
  29902. },
  29903. "closepriceparam": {
  29904. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  29905. "type": "number"
  29906. },
  29907. "createtime": {
  29908. "description": "创建时间",
  29909. "type": "string"
  29910. },
  29911. "creatorid": {
  29912. "description": "创建人",
  29913. "type": "integer"
  29914. },
  29915. "currencyid": {
  29916. "description": "报价货币ID",
  29917. "type": "integer"
  29918. },
  29919. "cutmode": {
  29920. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  29921. "type": "integer"
  29922. },
  29923. "decimalplace": {
  29924. "description": "报价小数位",
  29925. "type": "integer"
  29926. },
  29927. "delistingdate": {
  29928. "description": "商品退市时间(状态:退市) -- 已作废",
  29929. "type": "string"
  29930. },
  29931. "delistingmode": {
  29932. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  29933. "type": "integer"
  29934. },
  29935. "deliveryflag": {
  29936. "description": "交割标志 - 0:不可交割 1:可交割",
  29937. "type": "integer"
  29938. },
  29939. "forceclosemode": {
  29940. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  29941. "type": "integer"
  29942. },
  29943. "forceclosevalue": {
  29944. "description": "定期强平参数 [收益权]",
  29945. "type": "integer"
  29946. },
  29947. "goodscode": {
  29948. "description": "商品代码(内部)",
  29949. "type": "string"
  29950. },
  29951. "goodscurrencyid": {
  29952. "description": "合约货币ID",
  29953. "type": "integer"
  29954. },
  29955. "goodsgroupid": {
  29956. "description": "所属商品组ID",
  29957. "type": "integer"
  29958. },
  29959. "goodsid": {
  29960. "description": "商品ID(自增ID SEQ_GOODS)",
  29961. "type": "integer"
  29962. },
  29963. "goodsname": {
  29964. "description": "商品名称",
  29965. "type": "string"
  29966. },
  29967. "goodsquotetype": {
  29968. "description": "合约报价类型: 1-直接报价 2-间接报价",
  29969. "type": "integer"
  29970. },
  29971. "goodsstatus": {
  29972. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  29973. "type": "integer"
  29974. },
  29975. "goodstradetype": {
  29976. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  29977. "type": "integer"
  29978. },
  29979. "goodunitid": {
  29980. "description": "报价单位ID",
  29981. "type": "integer"
  29982. },
  29983. "hasquoter": {
  29984. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  29985. "type": "integer"
  29986. },
  29987. "hqprotecttime": {
  29988. "description": "行情保护时间(秒)",
  29989. "type": "integer"
  29990. },
  29991. "innerdealmode": {
  29992. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  29993. "type": "integer"
  29994. },
  29995. "isbuylimited": {
  29996. "description": "是否限制建仓量 - 0:不限制 1:限制",
  29997. "type": "integer"
  29998. },
  29999. "isvisible": {
  30000. "description": "游客是否可见 - 0:不可见 1:可见",
  30001. "type": "integer"
  30002. },
  30003. "lasttradedate": {
  30004. "description": "最后交易日期(状态:待退市)",
  30005. "type": "string"
  30006. },
  30007. "listingdate": {
  30008. "description": "交易开始日期",
  30009. "type": "string"
  30010. },
  30011. "marketid": {
  30012. "description": "所属市场ID",
  30013. "type": "integer"
  30014. },
  30015. "modifierid": {
  30016. "description": "修改人",
  30017. "type": "integer"
  30018. },
  30019. "modifystatus": {
  30020. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  30021. "type": "integer"
  30022. },
  30023. "modifytime": {
  30024. "description": "修改时间",
  30025. "type": "string"
  30026. },
  30027. "outerdealmode": {
  30028. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  30029. "type": "integer"
  30030. },
  30031. "outgoodscode": {
  30032. "description": "商品代码(外部)",
  30033. "type": "string"
  30034. },
  30035. "pictureurl": {
  30036. "description": "商品图片",
  30037. "type": "string"
  30038. },
  30039. "qtydecimalplace": {
  30040. "description": "成交量小数位",
  30041. "type": "integer"
  30042. },
  30043. "quotegear": {
  30044. "description": "行情档位(1-10)",
  30045. "type": "integer"
  30046. },
  30047. "quoteminunit": {
  30048. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30049. "type": "integer"
  30050. },
  30051. "quoteshowtype": {
  30052. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  30053. "type": "integer"
  30054. },
  30055. "quoteshowtypeinterval": {
  30056. "description": "行情报价间隔时间(秒)(成交价时为0)",
  30057. "type": "integer"
  30058. },
  30059. "remark": {
  30060. "description": "备注",
  30061. "type": "string"
  30062. }
  30063. }
  30064. },
  30065. "models.GoodsIDAndName": {
  30066. "type": "object",
  30067. "required": [
  30068. "goodscode",
  30069. "goodsid",
  30070. "goodsname",
  30071. "marketid"
  30072. ],
  30073. "properties": {
  30074. "goodscode": {
  30075. "description": "商品代码(内部)",
  30076. "type": "string"
  30077. },
  30078. "goodsid": {
  30079. "description": "商品ID(自增ID SEQ_GOODS)",
  30080. "type": "integer"
  30081. },
  30082. "goodsname": {
  30083. "description": "商品名称",
  30084. "type": "string"
  30085. },
  30086. "marketid": {
  30087. "description": "所属市场ID",
  30088. "type": "integer"
  30089. }
  30090. }
  30091. },
  30092. "models.Goodsgroup": {
  30093. "type": "object",
  30094. "required": [
  30095. "goodsgroupid",
  30096. "goodsgroupname",
  30097. "goodsgroupstatus",
  30098. "marketid"
  30099. ],
  30100. "properties": {
  30101. "agreeunit": {
  30102. "description": "合约单位",
  30103. "type": "number"
  30104. },
  30105. "canshort": {
  30106. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  30107. "type": "integer"
  30108. },
  30109. "closepricemode": {
  30110. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  30111. "type": "integer"
  30112. },
  30113. "closepriceparam": {
  30114. "description": "强平最新价浮动比例 - 方式为2时使用",
  30115. "type": "number"
  30116. },
  30117. "createtime": {
  30118. "description": "创建时间",
  30119. "type": "string"
  30120. },
  30121. "creatorid": {
  30122. "description": "创建人",
  30123. "type": "integer"
  30124. },
  30125. "currencyid": {
  30126. "description": "报价货币ID",
  30127. "type": "integer"
  30128. },
  30129. "decimalplace": {
  30130. "description": "报价小数位",
  30131. "type": "integer"
  30132. },
  30133. "exercisetype": {
  30134. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  30135. "type": "integer"
  30136. },
  30137. "exexchangeid": {
  30138. "description": "外部交易所ID[通道交易]",
  30139. "type": "integer"
  30140. },
  30141. "goodsgroupid": {
  30142. "description": "商品组ID(自增ID)",
  30143. "type": "integer"
  30144. },
  30145. "goodsgroupname": {
  30146. "description": "商品组名称",
  30147. "type": "string"
  30148. },
  30149. "goodsgroupstatus": {
  30150. "description": "商品组状态 - 1:正常 2:注销",
  30151. "type": "integer"
  30152. },
  30153. "goodunitid": {
  30154. "description": "报价单位ID",
  30155. "type": "integer"
  30156. },
  30157. "innerdealmode": {
  30158. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  30159. "type": "integer"
  30160. },
  30161. "isbuylimited": {
  30162. "description": "是否限制建仓量 - 0:不限制 1:限制",
  30163. "type": "integer"
  30164. },
  30165. "marketid": {
  30166. "description": "所属市场ID",
  30167. "type": "integer"
  30168. },
  30169. "modifierid": {
  30170. "description": "修改人",
  30171. "type": "integer"
  30172. },
  30173. "modifytime": {
  30174. "description": "修改时间",
  30175. "type": "string"
  30176. },
  30177. "outerdealmode": {
  30178. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  30179. "type": "integer"
  30180. },
  30181. "outergroupcode": {
  30182. "description": "外部商品组代码[通道交易]",
  30183. "type": "string"
  30184. },
  30185. "premiumdecimalplace": {
  30186. "description": "权利金小数位[场外期权]",
  30187. "type": "integer"
  30188. },
  30189. "premiumspreadalgorithm": {
  30190. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  30191. "type": "integer"
  30192. },
  30193. "premiumspreadvalue": {
  30194. "description": "权利金点差值[场外期权]",
  30195. "type": "number"
  30196. },
  30197. "qtydecimalplace": {
  30198. "description": "成交量小数位",
  30199. "type": "integer"
  30200. },
  30201. "quotegear": {
  30202. "description": "行情档位(1-10)",
  30203. "type": "integer"
  30204. },
  30205. "quoteminunit": {
  30206. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30207. "type": "integer"
  30208. },
  30209. "quoterid": {
  30210. "description": "报价商ID[场外期权]",
  30211. "type": "integer"
  30212. },
  30213. "quotesourcegroupid": {
  30214. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  30215. "type": "integer"
  30216. },
  30217. "syncgoodsqty": {
  30218. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  30219. "type": "integer"
  30220. }
  30221. }
  30222. },
  30223. "models.Goodssortbypreposition": {
  30224. "type": "object",
  30225. "required": [
  30226. "goodscode",
  30227. "tradedate"
  30228. ],
  30229. "properties": {
  30230. "goodscode": {
  30231. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  30232. "type": "string"
  30233. },
  30234. "goodsgroupcode": {
  30235. "description": "品种代码",
  30236. "type": "string"
  30237. },
  30238. "prepositionqty": {
  30239. "description": "昨持仓量",
  30240. "type": "integer"
  30241. },
  30242. "sortindex": {
  30243. "description": "排序",
  30244. "type": "integer"
  30245. },
  30246. "tradedate": {
  30247. "description": "交易日",
  30248. "type": "string"
  30249. },
  30250. "updatetime": {
  30251. "description": "更新时间",
  30252. "type": "string"
  30253. }
  30254. }
  30255. },
  30256. "models.GzbsfworderM": {
  30257. "type": "object",
  30258. "required": [
  30259. "userid"
  30260. ],
  30261. "properties": {
  30262. "accountid": {
  30263. "description": "资金账户ID",
  30264. "type": "integer"
  30265. },
  30266. "addresscn": {
  30267. "description": "地址(中文)",
  30268. "type": "string"
  30269. },
  30270. "addressen": {
  30271. "description": "地址(英文)",
  30272. "type": "string"
  30273. },
  30274. "advanceamount": {
  30275. "description": "总预付款",
  30276. "type": "number"
  30277. },
  30278. "colorrange": {
  30279. "description": "颜色范围",
  30280. "type": "string"
  30281. },
  30282. "companynamecn": {
  30283. "description": "收货人(中文)",
  30284. "type": "string"
  30285. },
  30286. "companynameen": {
  30287. "description": "收货人(英文)",
  30288. "type": "string"
  30289. },
  30290. "contactfax": {
  30291. "description": "收货人传真",
  30292. "type": "string"
  30293. },
  30294. "contactname": {
  30295. "description": "收货人姓名",
  30296. "type": "string"
  30297. },
  30298. "contactphoneno": {
  30299. "description": "收货人电话",
  30300. "type": "string"
  30301. },
  30302. "contentrange": {
  30303. "description": "【内容】内容范围",
  30304. "type": "string"
  30305. },
  30306. "createtime": {
  30307. "description": "创建时间",
  30308. "type": "string"
  30309. },
  30310. "executestatus": {
  30311. "description": "执行状态 - 1:未生效 2:进行中 3:已结束",
  30312. "type": "integer"
  30313. },
  30314. "gzbsdeliverytype": {
  30315. "description": "收货方式 - 枚举\"GZBSDeliveryType\"",
  30316. "type": "integer"
  30317. },
  30318. "gzbsstatus": {
  30319. "description": "单据状态(保税服务) - 枚举\"GZBSStatus\"",
  30320. "type": "integer"
  30321. },
  30322. "gzbsstatusdisplay": {
  30323. "description": "单据状态",
  30324. "type": "string"
  30325. },
  30326. "handlestatus": {
  30327. "description": "处理状态",
  30328. "type": "integer"
  30329. },
  30330. "orderdate": {
  30331. "description": "单据日期",
  30332. "type": "string"
  30333. },
  30334. "orderid": {
  30335. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  30336. "type": "integer"
  30337. },
  30338. "orderno": {
  30339. "description": "单据编号 - GZDEBSFW+单据流水号",
  30340. "type": "string"
  30341. },
  30342. "ordersn": {
  30343. "description": "单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全",
  30344. "type": "string"
  30345. },
  30346. "origincountry": {
  30347. "description": "原产国",
  30348. "type": "string"
  30349. },
  30350. "otherlogistics": {
  30351. "description": "指定其它物流",
  30352. "type": "string"
  30353. },
  30354. "priceper": {
  30355. "description": "单价(美元/克拉) = 总值(美元) / 总净重(克拉)",
  30356. "type": "number"
  30357. },
  30358. "settleamount": {
  30359. "description": "总结算费用 - 实际扣除资金,不含税费保证金",
  30360. "type": "number"
  30361. },
  30362. "shaperange": {
  30363. "description": "形状范围",
  30364. "type": "string"
  30365. },
  30366. "taxmargin": {
  30367. "description": "税费保证金 - 确认结算费用时退回",
  30368. "type": "number"
  30369. },
  30370. "totalamount": {
  30371. "description": "总值(美元)",
  30372. "type": "number"
  30373. },
  30374. "totalgrossweightgm": {
  30375. "description": "总毛重(克)",
  30376. "type": "number"
  30377. },
  30378. "totalnetweightgm": {
  30379. "description": "总净重(克)",
  30380. "type": "number"
  30381. },
  30382. "totalnetweigthct": {
  30383. "description": "总净重(克拉)",
  30384. "type": "number"
  30385. },
  30386. "totalnumber": {
  30387. "description": "总粒数",
  30388. "type": "integer"
  30389. },
  30390. "userid": {
  30391. "description": "用户ID",
  30392. "type": "integer"
  30393. },
  30394. "weightrange": {
  30395. "description": "重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)",
  30396. "type": "string"
  30397. }
  30398. }
  30399. },
  30400. "models.GzbsfworderdetailM": {
  30401. "type": "object",
  30402. "properties": {
  30403. "colorinfo": {
  30404. "description": "彩钻信息",
  30405. "type": "string"
  30406. },
  30407. "createtime": {
  30408. "description": "创建时间",
  30409. "type": "string"
  30410. },
  30411. "grossweightgm": {
  30412. "description": "毛重(克)",
  30413. "type": "number"
  30414. },
  30415. "gzcjshape": {
  30416. "description": "形状(字符)",
  30417. "type": "string"
  30418. },
  30419. "netweigthct": {
  30420. "description": "净重(克拉)",
  30421. "type": "number"
  30422. },
  30423. "netweigthgm": {
  30424. "description": "净重(克)",
  30425. "type": "number"
  30426. },
  30427. "ordercontent": {
  30428. "description": "内容",
  30429. "type": "string"
  30430. },
  30431. "orderdetailid": {
  30432. "description": "单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)",
  30433. "type": "integer"
  30434. },
  30435. "orderid": {
  30436. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  30437. "type": "integer"
  30438. },
  30439. "orderindex": {
  30440. "description": "顺序",
  30441. "type": "integer"
  30442. },
  30443. "perprice": {
  30444. "description": "单价(美元/克拉) = 总值(美元) / 净重(克拉)",
  30445. "type": "number"
  30446. },
  30447. "remark": {
  30448. "description": "备注(其它)",
  30449. "type": "string"
  30450. },
  30451. "totalamount": {
  30452. "description": "总值(美元)",
  30453. "type": "number"
  30454. }
  30455. }
  30456. },
  30457. "models.Gzbsfworderoperate": {
  30458. "type": "object",
  30459. "required": [
  30460. "orderid"
  30461. ],
  30462. "properties": {
  30463. "advanceproofaddr": {
  30464. "description": "预付款收款凭证(确认结算费用时)",
  30465. "type": "string"
  30466. },
  30467. "bankfee": {
  30468. "description": "汇款银行手续费",
  30469. "type": "number"
  30470. },
  30471. "bankproofaddr": {
  30472. "description": "广钻汇款银行手续费凭证(确认结算费用时)",
  30473. "type": "string"
  30474. },
  30475. "customsproofaddr": {
  30476. "description": "海关税费保证金收据(确认结算费用时)",
  30477. "type": "string"
  30478. },
  30479. "gzbsstatus": {
  30480. "description": "操作后单据状态 - 枚举\"GZBSStatus\"",
  30481. "type": "integer"
  30482. },
  30483. "logisticsfee": {
  30484. "description": "代缴物流保险费",
  30485. "type": "number"
  30486. },
  30487. "logisticsproofaddr": {
  30488. "description": "代缴物流保险费凭证(确认结算费用时)",
  30489. "type": "string"
  30490. },
  30491. "operatetime": {
  30492. "description": "操作时间",
  30493. "type": "string"
  30494. },
  30495. "operatoraccount": {
  30496. "description": "操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid",
  30497. "type": "string"
  30498. },
  30499. "operatorid": {
  30500. "description": "操作人ID - systemmanager的autoid 或 loginaccount的loginid",
  30501. "type": "integer"
  30502. },
  30503. "operatorname": {
  30504. "description": "操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid",
  30505. "type": "string"
  30506. },
  30507. "operatorsrc": {
  30508. "description": "操作人来源 - 1:管理端 2:终端",
  30509. "type": "integer"
  30510. },
  30511. "orderid": {
  30512. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  30513. "type": "integer"
  30514. },
  30515. "otherfee": {
  30516. "description": "其它费用",
  30517. "type": "number"
  30518. },
  30519. "remark": {
  30520. "description": "操作备注",
  30521. "type": "string"
  30522. },
  30523. "servicefee": {
  30524. "description": "综合服务费",
  30525. "type": "number"
  30526. },
  30527. "taxmargin": {
  30528. "description": "税费保证金",
  30529. "type": "number"
  30530. },
  30531. "totalfee": {
  30532. "description": "总费用 = 费用之和 (结算费用时不含税费保证金)",
  30533. "type": "number"
  30534. }
  30535. }
  30536. },
  30537. "models.Gzcertaddressconfig": {
  30538. "type": "object",
  30539. "properties": {
  30540. "certregion": {
  30541. "description": "证书地域 - 1:国内 2:国际",
  30542. "type": "integer"
  30543. },
  30544. "certtype": {
  30545. "description": "证书类型",
  30546. "type": "string"
  30547. },
  30548. "orderindex": {
  30549. "description": "显示顺序",
  30550. "type": "integer"
  30551. },
  30552. "orgcnname": {
  30553. "description": "机构名称(中文)",
  30554. "type": "string"
  30555. },
  30556. "orgenname": {
  30557. "description": "机构名称(英文)",
  30558. "type": "string"
  30559. },
  30560. "queryaddress": {
  30561. "description": "查询地址",
  30562. "type": "string"
  30563. },
  30564. "remark": {
  30565. "description": "备注",
  30566. "type": "string"
  30567. },
  30568. "updatetime": {
  30569. "description": "更新时间",
  30570. "type": "string"
  30571. }
  30572. }
  30573. },
  30574. "models.Gzcertaddressparam": {
  30575. "type": "object",
  30576. "properties": {
  30577. "certtype": {
  30578. "description": "证书类型",
  30579. "type": "string"
  30580. },
  30581. "orderindex": {
  30582. "description": "参数顺序",
  30583. "type": "integer"
  30584. },
  30585. "paramkey": {
  30586. "description": "参数Key",
  30587. "type": "string"
  30588. },
  30589. "paramname": {
  30590. "description": "参数名称",
  30591. "type": "string"
  30592. },
  30593. "updatetime": {
  30594. "description": "更新时间",
  30595. "type": "string"
  30596. }
  30597. }
  30598. },
  30599. "models.GzcjbsorderfileM": {
  30600. "type": "object",
  30601. "required": [
  30602. "orderid"
  30603. ],
  30604. "properties": {
  30605. "canmembervisit": {
  30606. "description": "会员是否可访问 - 1:可 2:不可",
  30607. "type": "integer"
  30608. },
  30609. "fileaddress": {
  30610. "description": "文件地址",
  30611. "type": "string"
  30612. },
  30613. "filegentype": {
  30614. "description": "文件生成类型 - 1:系统生成 2:手动上传",
  30615. "type": "integer"
  30616. },
  30617. "filename": {
  30618. "description": "文件名称",
  30619. "type": "string"
  30620. },
  30621. "operatetime": {
  30622. "description": "操作时间",
  30623. "type": "string"
  30624. },
  30625. "operatoraccount": {
  30626. "description": "操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid",
  30627. "type": "string"
  30628. },
  30629. "operatorid": {
  30630. "description": "操作人ID - systemmanager的autoid 或 loginaccount的loginid",
  30631. "type": "integer"
  30632. },
  30633. "operatorsrc": {
  30634. "description": "操作人来源 - 1:管理端 2:终端",
  30635. "type": "integer"
  30636. },
  30637. "orderfileid": {
  30638. "description": "单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)",
  30639. "type": "integer"
  30640. },
  30641. "orderid": {
  30642. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  30643. "type": "integer"
  30644. }
  30645. }
  30646. },
  30647. "models.GzcjjcorderM": {
  30648. "type": "object",
  30649. "required": [
  30650. "userid"
  30651. ],
  30652. "properties": {
  30653. "accountid": {
  30654. "description": "资金账户ID",
  30655. "type": "integer"
  30656. },
  30657. "addresscn": {
  30658. "description": "地址(中文)",
  30659. "type": "string"
  30660. },
  30661. "addressen": {
  30662. "description": "地址(英文)",
  30663. "type": "string"
  30664. },
  30665. "advanceamount": {
  30666. "description": "总预付款",
  30667. "type": "number"
  30668. },
  30669. "colorrange": {
  30670. "description": "颜色范围",
  30671. "type": "string"
  30672. },
  30673. "companynamecn": {
  30674. "description": "公司名称(中文)",
  30675. "type": "string"
  30676. },
  30677. "companynameen": {
  30678. "description": "公司名称(英文)",
  30679. "type": "string"
  30680. },
  30681. "contactname": {
  30682. "description": "联系人姓名",
  30683. "type": "string"
  30684. },
  30685. "contactphoneno": {
  30686. "description": "联系人电话",
  30687. "type": "string"
  30688. },
  30689. "contactposition": {
  30690. "description": "联系人职位",
  30691. "type": "string"
  30692. },
  30693. "createtime": {
  30694. "description": "创建时间",
  30695. "type": "string"
  30696. },
  30697. "email": {
  30698. "description": "邮箱",
  30699. "type": "string"
  30700. },
  30701. "executestatus": {
  30702. "description": "执行状态 - 1:未生效 2:进行中 3:已结束",
  30703. "type": "integer"
  30704. },
  30705. "gzcjaccount": {
  30706. "description": "送检账户",
  30707. "type": "string"
  30708. },
  30709. "gzcjaccounttype": {
  30710. "description": "检测账户类型 - 枚举\"GZCJAccountType\"",
  30711. "type": "integer"
  30712. },
  30713. "gzcjcategorytype": {
  30714. "description": "货物品类 - 枚举\"GZCJCategoryType\"",
  30715. "type": "integer"
  30716. },
  30717. "gzcjcategorytypedisplay": {
  30718. "description": "货物品类",
  30719. "type": "string"
  30720. },
  30721. "gzcjdeliverytype": {
  30722. "description": "收货方式 - 枚举\"GZCJDeliveryType\"",
  30723. "type": "integer"
  30724. },
  30725. "gzcjdeliverytypedisplay": {
  30726. "description": "收货方式",
  30727. "type": "string"
  30728. },
  30729. "gzcjstatus": {
  30730. "description": "单据状态(出境检测) - 枚举\"GZCJStatus\"",
  30731. "type": "integer"
  30732. },
  30733. "gzcjstatusdisplay": {
  30734. "description": "单据状态(出境检测)",
  30735. "type": "string"
  30736. },
  30737. "handlestatus": {
  30738. "description": "处理状态",
  30739. "type": "integer"
  30740. },
  30741. "invoiceremark": {
  30742. "description": "复核备注 - 发票装箱单使用",
  30743. "type": "string"
  30744. },
  30745. "orderid": {
  30746. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  30747. "type": "integer"
  30748. },
  30749. "orderno": {
  30750. "description": "单据编号 - 合同编号:GZDECJJC+单据流水号",
  30751. "type": "string"
  30752. },
  30753. "ordersn": {
  30754. "description": "单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全",
  30755. "type": "string"
  30756. },
  30757. "origincountry": {
  30758. "description": "原产国",
  30759. "type": "string"
  30760. },
  30761. "processingcountry": {
  30762. "description": "成品钻石加工国",
  30763. "type": "string"
  30764. },
  30765. "realservicefee": {
  30766. "description": "应收综合服务费",
  30767. "type": "number"
  30768. },
  30769. "servicefeesum": {
  30770. "description": "汇总综合服务费 - 明细上值汇总",
  30771. "type": "number"
  30772. },
  30773. "settleamount": {
  30774. "description": "总结算费用",
  30775. "type": "number"
  30776. },
  30777. "shaperange": {
  30778. "description": "形状范围",
  30779. "type": "string"
  30780. },
  30781. "totalamount": {
  30782. "description": "总金额(美元)",
  30783. "type": "number"
  30784. },
  30785. "totalgrossweight": {
  30786. "description": "总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整) * 200",
  30787. "type": "number"
  30788. },
  30789. "totalnumber": {
  30790. "description": "总粒数",
  30791. "type": "integer"
  30792. },
  30793. "totalweight": {
  30794. "description": "总克拉数(保留3位小数)",
  30795. "type": "number"
  30796. },
  30797. "totalweightgm": {
  30798. "description": "总净重(克) = TotalWeight * 0.2 (2位小数)",
  30799. "type": "number"
  30800. },
  30801. "userid": {
  30802. "description": "用户ID",
  30803. "type": "integer"
  30804. },
  30805. "weightrange": {
  30806. "description": "重量规格范围 - Min(Weight) - Max(Weight)",
  30807. "type": "string"
  30808. },
  30809. "zsorigin": {
  30810. "description": "天然钻石毛坯原产地",
  30811. "type": "string"
  30812. }
  30813. }
  30814. },
  30815. "models.GzcjjcorderdetailM": {
  30816. "type": "object",
  30817. "properties": {
  30818. "amount": {
  30819. "description": "参考货值(USD)",
  30820. "type": "number"
  30821. },
  30822. "colorinfo": {
  30823. "description": "彩钻信息",
  30824. "type": "string"
  30825. },
  30826. "createtime": {
  30827. "description": "创建时间",
  30828. "type": "string"
  30829. },
  30830. "gzcjmarktype": {
  30831. "description": "刻印服务 - 枚举\"GZCJMarkType\" 【送检账户为“广钻账户”】",
  30832. "type": "integer"
  30833. },
  30834. "gzcjpublishtype": {
  30835. "description": "是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】",
  30836. "type": "integer"
  30837. },
  30838. "gzcjpublishtypestring": {
  30839. "description": "是否披露处理 - 枚举 GZCJPublishType 对应的显示值",
  30840. "type": "string"
  30841. },
  30842. "gzcjservicetype": {
  30843. "description": "服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】",
  30844. "type": "integer"
  30845. },
  30846. "gzcjservicetypestring": {
  30847. "description": "服务类别 - 枚举 GZCJServiceType 对应的显示值",
  30848. "type": "string"
  30849. },
  30850. "gzcjshapetype": {
  30851. "description": "形状 - 枚举\"GZCJShapeType\"",
  30852. "type": "integer"
  30853. },
  30854. "gzcjshapetypestring": {
  30855. "description": "形状(字符) - 枚举\"GZCJShapeType\"对应的显示值",
  30856. "type": "string"
  30857. },
  30858. "gzno": {
  30859. "description": "货物编号",
  30860. "type": "string"
  30861. },
  30862. "orderdetailid": {
  30863. "description": "单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)",
  30864. "type": "integer"
  30865. },
  30866. "orderid": {
  30867. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  30868. "type": "integer"
  30869. },
  30870. "orderindex": {
  30871. "description": "顺序",
  30872. "type": "integer"
  30873. },
  30874. "origincertno": {
  30875. "description": "原证书号【送检账户为“广钻账户”】",
  30876. "type": "string"
  30877. },
  30878. "remark": {
  30879. "description": "备注(其它)",
  30880. "type": "string"
  30881. },
  30882. "servicefee": {
  30883. "description": "综合服务费 - 根据市场配置计算",
  30884. "type": "number"
  30885. },
  30886. "weight": {
  30887. "description": "重量(CT)",
  30888. "type": "number"
  30889. }
  30890. }
  30891. },
  30892. "models.Gzrapaportprice": {
  30893. "type": "object",
  30894. "properties": {
  30895. "dollar": {
  30896. "description": "美元",
  30897. "type": "string"
  30898. },
  30899. "rmb": {
  30900. "description": "人民币",
  30901. "type": "string"
  30902. }
  30903. }
  30904. },
  30905. "models.Hedgeinnerholderdetail": {
  30906. "type": "object",
  30907. "required": [
  30908. "buyorsell",
  30909. "tradeid"
  30910. ],
  30911. "properties": {
  30912. "accountid": {
  30913. "description": "账号ID",
  30914. "type": "integer"
  30915. },
  30916. "buyorsell": {
  30917. "description": "方向 - 0:买 1:卖",
  30918. "type": "integer"
  30919. },
  30920. "freezeqty": {
  30921. "description": "冻结数量 - 按单平使用",
  30922. "type": "integer"
  30923. },
  30924. "goodsid": {
  30925. "description": "商品ID",
  30926. "type": "integer"
  30927. },
  30928. "holderamount": {
  30929. "description": "持仓金额 [商品币种]",
  30930. "type": "number"
  30931. },
  30932. "holderdays": {
  30933. "description": "剩余冻结天数",
  30934. "type": "integer"
  30935. },
  30936. "holderprice": {
  30937. "description": "持仓价格",
  30938. "type": "number"
  30939. },
  30940. "holderqty": {
  30941. "description": "持仓数量",
  30942. "type": "integer"
  30943. },
  30944. "marketid": {
  30945. "description": "市场ID",
  30946. "type": "integer"
  30947. },
  30948. "openprice": {
  30949. "description": "建仓价格",
  30950. "type": "number"
  30951. },
  30952. "openqty": {
  30953. "description": "建仓数量",
  30954. "type": "integer"
  30955. },
  30956. "parentaccountid": {
  30957. "description": "所属母账户",
  30958. "type": "integer"
  30959. },
  30960. "releaseamount": {
  30961. "description": "释放持仓金额[商品币种]",
  30962. "type": "number"
  30963. },
  30964. "tradeamount": {
  30965. "description": "成交金额[账户]",
  30966. "type": "number"
  30967. },
  30968. "tradedate": {
  30969. "description": "交易日(yyyyMMdd)",
  30970. "type": "string"
  30971. },
  30972. "tradeid": {
  30973. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30974. "type": "string"
  30975. },
  30976. "tradetime": {
  30977. "description": "交易时间",
  30978. "type": "string"
  30979. }
  30980. }
  30981. },
  30982. "models.Hedgemarketopenlog": {
  30983. "type": "object",
  30984. "required": [
  30985. "accountid"
  30986. ],
  30987. "properties": {
  30988. "accountid": {
  30989. "description": "资金账号[外部母账户]",
  30990. "type": "integer"
  30991. },
  30992. "fcname": {
  30993. "description": "期货公司名称",
  30994. "type": "string"
  30995. },
  30996. "handlestatus": {
  30997. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  30998. "type": "integer"
  30999. },
  31000. "marketid": {
  31001. "description": "市场ID",
  31002. "type": "integer"
  31003. },
  31004. "status": {
  31005. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  31006. "type": "integer"
  31007. },
  31008. "tradedate": {
  31009. "description": "交易日(yyyyMMdd)",
  31010. "type": "string"
  31011. },
  31012. "updatetime": {
  31013. "description": "更新时间",
  31014. "type": "string"
  31015. }
  31016. }
  31017. },
  31018. "models.InternalEnableTradeDetail": {
  31019. "type": "object",
  31020. "required": [
  31021. "areauserid",
  31022. "goodsid",
  31023. "tradeuserid"
  31024. ],
  31025. "properties": {
  31026. "agreeunit": {
  31027. "description": "合约乘数",
  31028. "type": "number"
  31029. },
  31030. "areauserid": {
  31031. "description": "企业ID",
  31032. "type": "integer"
  31033. },
  31034. "convertratio": {
  31035. "description": "品种系数",
  31036. "type": "number"
  31037. },
  31038. "deliverygoodscode": {
  31039. "description": "现货品种代码",
  31040. "type": "string"
  31041. },
  31042. "deliverygoodsid": {
  31043. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  31044. "type": "integer"
  31045. },
  31046. "deliverygoodsname": {
  31047. "description": "现货品种名称",
  31048. "type": "string"
  31049. },
  31050. "futurehedgeqty": {
  31051. "description": "[已关联数量]期货持仓套期量",
  31052. "type": "number"
  31053. },
  31054. "goodsid": {
  31055. "description": "期货合约ID",
  31056. "type": "integer"
  31057. },
  31058. "hedgeditemid": {
  31059. "description": "被套期项目ID",
  31060. "type": "string"
  31061. },
  31062. "hedgeditemnum": {
  31063. "description": "项目编号",
  31064. "type": "string"
  31065. },
  31066. "tradeuserid": {
  31067. "description": "交易用户ID",
  31068. "type": "integer"
  31069. },
  31070. "unexehedgeqty": {
  31071. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  31072. "type": "number"
  31073. },
  31074. "unexespotqty": {
  31075. "description": "未执行现货量",
  31076. "type": "number"
  31077. },
  31078. "wrstandardcode": {
  31079. "description": "现货品类代码",
  31080. "type": "string"
  31081. },
  31082. "wrstandardid": {
  31083. "description": "现货品类ID(SEQ_WRSTANDARD)",
  31084. "type": "integer"
  31085. },
  31086. "wrstandardname": {
  31087. "description": "现货品类名称",
  31088. "type": "string"
  31089. }
  31090. }
  31091. },
  31092. "models.InternalUncorrelatedTradeDetail": {
  31093. "type": "object",
  31094. "properties": {
  31095. "accountid": {
  31096. "description": "账号ID",
  31097. "type": "integer"
  31098. },
  31099. "accountname": {
  31100. "description": "套期主体",
  31101. "type": "string"
  31102. },
  31103. "agreeunit": {
  31104. "description": "合约乘数",
  31105. "type": "number"
  31106. },
  31107. "areauserid": {
  31108. "description": "所属机构",
  31109. "type": "integer"
  31110. },
  31111. "bizsubjectid": {
  31112. "description": "归属业务部门ID - SubjectID",
  31113. "type": "integer"
  31114. },
  31115. "buyorsell": {
  31116. "description": "方向 - 0:买 1:卖",
  31117. "type": "integer"
  31118. },
  31119. "channelbuildtype": {
  31120. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31121. "type": "integer"
  31122. },
  31123. "convertratio": {
  31124. "description": "品种系数",
  31125. "type": "number"
  31126. },
  31127. "createtime": {
  31128. "description": "创建时间",
  31129. "type": "string"
  31130. },
  31131. "creatorid": {
  31132. "description": "创建人ID",
  31133. "type": "integer"
  31134. },
  31135. "creatorsrc": {
  31136. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  31137. "type": "integer"
  31138. },
  31139. "enableqty": {
  31140. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  31141. "type": "number"
  31142. },
  31143. "enumdicname": {
  31144. "description": "单位",
  31145. "type": "string"
  31146. },
  31147. "goodscode": {
  31148. "description": "合约代码",
  31149. "type": "string"
  31150. },
  31151. "goodsgroupid": {
  31152. "description": "对冲品种ID[期货合约商品组ID]",
  31153. "type": "integer"
  31154. },
  31155. "goodsid": {
  31156. "description": "商品ID",
  31157. "type": "integer"
  31158. },
  31159. "goodsname": {
  31160. "description": "合约名称",
  31161. "type": "string"
  31162. },
  31163. "hedgeditemid": {
  31164. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  31165. "type": "integer"
  31166. },
  31167. "hedgeflag": {
  31168. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  31169. "type": "integer"
  31170. },
  31171. "linkdetailid": {
  31172. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  31173. "type": "string"
  31174. },
  31175. "linkstatus": {
  31176. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  31177. "type": "integer"
  31178. },
  31179. "middlegoodsid": {
  31180. "description": "套保品种ID",
  31181. "type": "integer"
  31182. },
  31183. "middlegoodsqty": {
  31184. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  31185. "type": "number"
  31186. },
  31187. "relatedlot": {
  31188. "description": "[数量]关联手数",
  31189. "type": "number"
  31190. },
  31191. "relatedmode": {
  31192. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  31193. "type": "integer"
  31194. },
  31195. "relatedqty": {
  31196. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  31197. "type": "number"
  31198. },
  31199. "retcode": {
  31200. "description": "返回码",
  31201. "type": "integer"
  31202. },
  31203. "saleuserid": {
  31204. "description": "业务员ID",
  31205. "type": "integer"
  31206. },
  31207. "tradedate": {
  31208. "description": "关联交易日(yyyyMMdd)",
  31209. "type": "string"
  31210. },
  31211. "tradeid": {
  31212. "description": "成交单号",
  31213. "type": "string"
  31214. },
  31215. "tradelot": {
  31216. "description": "成交手数",
  31217. "type": "integer"
  31218. },
  31219. "tradeprice": {
  31220. "description": "成交价",
  31221. "type": "number"
  31222. },
  31223. "tradetime": {
  31224. "description": "成交时间",
  31225. "type": "string"
  31226. },
  31227. "tradetradedate": {
  31228. "description": "成交交易日(yyyyMMdd)",
  31229. "type": "string"
  31230. },
  31231. "tradeuserid": {
  31232. "description": "交易用户ID",
  31233. "type": "integer"
  31234. }
  31235. }
  31236. },
  31237. "models.Loginaccount": {
  31238. "type": "object",
  31239. "required": [
  31240. "loginid"
  31241. ],
  31242. "properties": {
  31243. "accountname": {
  31244. "description": "账户名称",
  31245. "type": "string"
  31246. },
  31247. "canoutin": {
  31248. "description": "是否可出入金 - 0:不可 1:可",
  31249. "type": "integer"
  31250. },
  31251. "clientroleid": {
  31252. "description": "终端角色ID",
  31253. "type": "integer"
  31254. },
  31255. "haslogined": {
  31256. "description": "是否已登录 - 0:未登录 1:已登录",
  31257. "type": "integer"
  31258. },
  31259. "hasupdatedpwd": {
  31260. "description": "是否已更改密码 - 0:未修改 1:已修改",
  31261. "type": "integer"
  31262. },
  31263. "lastloginip": {
  31264. "description": "最新登录地址",
  31265. "type": "string"
  31266. },
  31267. "lastloginmode": {
  31268. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  31269. "type": "integer"
  31270. },
  31271. "lastloginremark": {
  31272. "description": "最新登录描述",
  31273. "type": "string"
  31274. },
  31275. "lastlogintime": {
  31276. "description": "最新登录时间",
  31277. "type": "string"
  31278. },
  31279. "logincode": {
  31280. "description": "登录代码",
  31281. "type": "string"
  31282. },
  31283. "loginfailnum": {
  31284. "description": "连续登录失败次数(登录成功时清零)",
  31285. "type": "integer"
  31286. },
  31287. "loginid": {
  31288. "description": "登陆账号",
  31289. "type": "integer"
  31290. },
  31291. "loginport": {
  31292. "description": "最新登录端口",
  31293. "type": "integer"
  31294. },
  31295. "loginstatus": {
  31296. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  31297. "type": "integer"
  31298. },
  31299. "loginusertype": {
  31300. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  31301. "type": "integer"
  31302. },
  31303. "mobile": {
  31304. "description": "手机号码(加密存储)",
  31305. "type": "string"
  31306. },
  31307. "modifierid": {
  31308. "description": "修改人",
  31309. "type": "integer"
  31310. },
  31311. "modifysrc": {
  31312. "description": "审核来源 - 1:管理端 2:终端",
  31313. "type": "integer"
  31314. },
  31315. "modifytime": {
  31316. "description": "修改时间",
  31317. "type": "string"
  31318. },
  31319. "pwdwrongcount": {
  31320. "description": "密码错误次数",
  31321. "type": "integer"
  31322. },
  31323. "relateduserid": {
  31324. "description": "关联用户ID(机构)",
  31325. "type": "integer"
  31326. },
  31327. "taaccountrighttype": {
  31328. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  31329. "type": "integer"
  31330. },
  31331. "unfreezetime": {
  31332. "description": "账户解冻时间",
  31333. "type": "string"
  31334. },
  31335. "userid": {
  31336. "description": "用户ID",
  31337. "type": "integer"
  31338. }
  31339. }
  31340. },
  31341. "models.MainAccountInfo": {
  31342. "type": "object",
  31343. "properties": {
  31344. "accountid": {
  31345. "description": "账号id",
  31346. "type": "integer"
  31347. },
  31348. "accountname": {
  31349. "description": "账号名称(taaccount表中的名称)",
  31350. "type": "string"
  31351. },
  31352. "appid": {
  31353. "description": "AppID",
  31354. "type": "string"
  31355. },
  31356. "authcode": {
  31357. "description": "授权码",
  31358. "type": "string"
  31359. },
  31360. "brokerid": {
  31361. "description": "经纪商id",
  31362. "type": "string"
  31363. },
  31364. "fcid": {
  31365. "description": "期货公司id",
  31366. "type": "integer"
  31367. },
  31368. "fcname": {
  31369. "description": "期货公司代码",
  31370. "type": "string"
  31371. },
  31372. "hedgeaccountcode": {
  31373. "description": "外部账号代码(主账号登录代码)",
  31374. "type": "string"
  31375. },
  31376. "hedgeaccountpwd": {
  31377. "description": "密码",
  31378. "type": "string"
  31379. },
  31380. "ismain": {
  31381. "description": "是否主账号",
  31382. "type": "integer"
  31383. },
  31384. "relateduserid": {
  31385. "description": "关联用户id",
  31386. "type": "integer"
  31387. },
  31388. "userid": {
  31389. "description": "关联用户id",
  31390. "type": "integer"
  31391. }
  31392. }
  31393. },
  31394. "models.Market": {
  31395. "type": "object",
  31396. "required": [
  31397. "marketid",
  31398. "marketstatus",
  31399. "openmethod",
  31400. "reckonpricealgorithm",
  31401. "trademode",
  31402. "tradeproperty"
  31403. ],
  31404. "properties": {
  31405. "auctionwrtype": {
  31406. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  31407. "type": "integer"
  31408. },
  31409. "canacceptquote": {
  31410. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  31411. "type": "integer"
  31412. },
  31413. "cangoodsexercise": {
  31414. "description": "[期权]是否可现货行权- 0:否 1:是",
  31415. "type": "integer"
  31416. },
  31417. "cangoodsexercisetype": {
  31418. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  31419. "type": "integer"
  31420. },
  31421. "canmanualquotestrike": {
  31422. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  31423. "type": "integer"
  31424. },
  31425. "canmutistage": {
  31426. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  31427. "type": "integer"
  31428. },
  31429. "canpreexercise": {
  31430. "description": "[期权]是否可预申报- 0:否 1:是",
  31431. "type": "integer"
  31432. },
  31433. "clearinterval": {
  31434. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  31435. "type": "integer"
  31436. },
  31437. "contracttmp": {
  31438. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  31439. "type": "string"
  31440. },
  31441. "exchareaid": {
  31442. "description": "所属交易所,可以没有",
  31443. "type": "integer"
  31444. },
  31445. "goodstype": {
  31446. "description": "商品类型 - 1:交易商品 2:仓单商品",
  31447. "type": "integer"
  31448. },
  31449. "hasrebate": {
  31450. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  31451. "type": "integer"
  31452. },
  31453. "hastradecredit": {
  31454. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  31455. "type": "integer"
  31456. },
  31457. "haswr": {
  31458. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  31459. "type": "integer"
  31460. },
  31461. "isdeductmargin": {
  31462. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  31463. "type": "integer"
  31464. },
  31465. "isrecordsource": {
  31466. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  31467. "type": "integer"
  31468. },
  31469. "isreleasemargin": {
  31470. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  31471. "type": "integer"
  31472. },
  31473. "marginformula": {
  31474. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  31475. "type": "integer"
  31476. },
  31477. "marginformula2": {
  31478. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  31479. "type": "integer"
  31480. },
  31481. "marketid": {
  31482. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  31483. "type": "integer"
  31484. },
  31485. "marketname": {
  31486. "description": "市场名称",
  31487. "type": "string"
  31488. },
  31489. "marketserviceid": {
  31490. "description": "市场服务ID",
  31491. "type": "integer"
  31492. },
  31493. "marketstatus": {
  31494. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  31495. "type": "integer"
  31496. },
  31497. "markettype": {
  31498. "description": "市场类型- 1:非交易服务 2:交易服务",
  31499. "type": "integer"
  31500. },
  31501. "matchermode": {
  31502. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  31503. "type": "integer"
  31504. },
  31505. "openmethod": {
  31506. "description": "开盘模式 - 0 自动 1手动",
  31507. "type": "integer"
  31508. },
  31509. "otcuserid": {
  31510. "description": "场外期权做市商[场外期权]",
  31511. "type": "integer"
  31512. },
  31513. "outersynctime": {
  31514. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  31515. "type": "string"
  31516. },
  31517. "pendingflag": {
  31518. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  31519. "type": "integer"
  31520. },
  31521. "pendingtime": {
  31522. "description": "待开市时间[通道交易-对冲](HH:mm)",
  31523. "type": "string"
  31524. },
  31525. "performancetempid": {
  31526. "description": "履约计划模板ID - 作废",
  31527. "type": "integer"
  31528. },
  31529. "premiumquotemode": {
  31530. "description": "权利金报价方式 - 1:自动 2:手动",
  31531. "type": "integer"
  31532. },
  31533. "rebateratio": {
  31534. "description": "返利比率[竞价式]",
  31535. "type": "number"
  31536. },
  31537. "reckonorder": {
  31538. "description": "结算顺序",
  31539. "type": "integer"
  31540. },
  31541. "reckonpricealgorithm": {
  31542. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  31543. "type": "integer"
  31544. },
  31545. "reckonpriceparam": {
  31546. "description": "结算价参数",
  31547. "type": "integer"
  31548. },
  31549. "reckontime": {
  31550. "description": "结算时间[通道交易-对冲](HH:mm)",
  31551. "type": "string"
  31552. },
  31553. "roleprioritytype": {
  31554. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  31555. "type": "integer"
  31556. },
  31557. "selllistingauditflag": {
  31558. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  31559. "type": "integer"
  31560. },
  31561. "trademarkettype": {
  31562. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  31563. "type": "integer"
  31564. },
  31565. "trademode": {
  31566. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31567. "type": "integer"
  31568. },
  31569. "tradeproperty": {
  31570. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  31571. "type": "integer"
  31572. },
  31573. "tradetype": {
  31574. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  31575. "type": "integer"
  31576. }
  31577. }
  31578. },
  31579. "models.Marketcalendar": {
  31580. "type": "object",
  31581. "properties": {
  31582. "holidaydate": {
  31583. "description": "节假日期(yyyy-MM-dd)",
  31584. "type": "string"
  31585. },
  31586. "marketid": {
  31587. "description": "市场ID",
  31588. "type": "integer"
  31589. }
  31590. }
  31591. },
  31592. "models.Marketrun": {
  31593. "type": "object",
  31594. "required": [
  31595. "marketid",
  31596. "nexttradedate",
  31597. "reckonflag",
  31598. "runstatus",
  31599. "tradedate",
  31600. "tradedate2"
  31601. ],
  31602. "properties": {
  31603. "afternexttradedate": {
  31604. "description": "下下交易日",
  31605. "type": "string"
  31606. },
  31607. "clearquoteflag": {
  31608. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  31609. "type": "integer"
  31610. },
  31611. "lastreckondate": {
  31612. "description": "最新交易日(结算成功)",
  31613. "type": "string"
  31614. },
  31615. "machinedate": {
  31616. "description": "机器时间",
  31617. "type": "string"
  31618. },
  31619. "manualflag": {
  31620. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  31621. "type": "integer"
  31622. },
  31623. "marketid": {
  31624. "description": "市场ID",
  31625. "type": "integer"
  31626. },
  31627. "nexttradedate": {
  31628. "description": "下一交易日",
  31629. "type": "string"
  31630. },
  31631. "pretradedate": {
  31632. "description": "上一交易日",
  31633. "type": "string"
  31634. },
  31635. "reckonflag": {
  31636. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  31637. "type": "integer"
  31638. },
  31639. "runstatus": {
  31640. "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.今日免清算",
  31641. "type": "integer"
  31642. },
  31643. "sectionid": {
  31644. "description": "时间段号[多时段时用]",
  31645. "type": "integer"
  31646. },
  31647. "tradedate": {
  31648. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  31649. "type": "string"
  31650. },
  31651. "tradedate2": {
  31652. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  31653. "type": "string"
  31654. },
  31655. "updatetime": {
  31656. "description": "更新时间",
  31657. "type": "string"
  31658. }
  31659. }
  31660. },
  31661. "models.Messageboard": {
  31662. "type": "object",
  31663. "required": [
  31664. "messageboardid"
  31665. ],
  31666. "properties": {
  31667. "contactnum": {
  31668. "description": "联系电话",
  31669. "type": "string"
  31670. },
  31671. "createtime": {
  31672. "description": "创建时间",
  31673. "type": "string"
  31674. },
  31675. "message": {
  31676. "description": "留言信息",
  31677. "type": "string"
  31678. },
  31679. "messageboardid": {
  31680. "description": "留言簿ID(SEQ_MessageBoard)",
  31681. "type": "integer"
  31682. },
  31683. "userid": {
  31684. "description": "用户ID",
  31685. "type": "integer"
  31686. }
  31687. }
  31688. },
  31689. "models.MyBargainApply": {
  31690. "type": "object",
  31691. "required": [
  31692. "userid"
  31693. ],
  31694. "properties": {
  31695. "accountid": {
  31696. "description": "摘牌资金账号",
  31697. "type": "integer"
  31698. },
  31699. "applyprice": {
  31700. "description": "申请价格",
  31701. "type": "string"
  31702. },
  31703. "applyremark": {
  31704. "description": "申请备注",
  31705. "type": "string"
  31706. },
  31707. "applystatus": {
  31708. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  31709. "type": "integer"
  31710. },
  31711. "applytime": {
  31712. "description": "申请时间",
  31713. "type": "string"
  31714. },
  31715. "buyorsell": {
  31716. "description": "买卖 - 0:买 1:卖",
  31717. "type": "integer"
  31718. },
  31719. "confirmprice": {
  31720. "description": "可接受价格(拒绝时填写)-作废",
  31721. "type": "number"
  31722. },
  31723. "confirmqty": {
  31724. "description": "可接受数量(拒绝时填写)-作废",
  31725. "type": "integer"
  31726. },
  31727. "confirmremark": {
  31728. "description": "确认备注",
  31729. "type": "string"
  31730. },
  31731. "confirmtime": {
  31732. "description": "确认时间",
  31733. "type": "string"
  31734. },
  31735. "confirmuserid": {
  31736. "description": "确认人",
  31737. "type": "integer"
  31738. },
  31739. "goodsno": {
  31740. "description": "商品编号",
  31741. "type": "string"
  31742. },
  31743. "handlestatus": {
  31744. "description": "处理状态",
  31745. "type": "integer"
  31746. },
  31747. "ladingbillid": {
  31748. "description": "摘牌方提单ID [卖]",
  31749. "type": "integer"
  31750. },
  31751. "marketid": {
  31752. "description": "市场ID",
  31753. "type": "integer"
  31754. },
  31755. "matchaccountid": {
  31756. "description": "挂牌方资金账号",
  31757. "type": "integer"
  31758. },
  31759. "matchuserid": {
  31760. "description": "挂牌方用户ID",
  31761. "type": "integer"
  31762. },
  31763. "performancetemplateid": {
  31764. "description": "履约计划模板ID",
  31765. "type": "integer"
  31766. },
  31767. "price": {
  31768. "description": "价格",
  31769. "type": "number"
  31770. },
  31771. "priceper": {
  31772. "description": "克拉单价 - 类型:1,2,3,5",
  31773. "type": "string"
  31774. },
  31775. "qty": {
  31776. "description": "申请数量",
  31777. "type": "number"
  31778. },
  31779. "refprice": {
  31780. "description": "参考价格",
  31781. "type": "string"
  31782. },
  31783. "retcode": {
  31784. "description": "委托返回代码",
  31785. "type": "integer"
  31786. },
  31787. "sellusername": {
  31788. "description": "卖方",
  31789. "type": "string"
  31790. },
  31791. "sizedisplay": {
  31792. "description": "尺寸",
  31793. "type": "string"
  31794. },
  31795. "subnum": {
  31796. "description": "摘牌方提单子单号 [卖]",
  31797. "type": "integer"
  31798. },
  31799. "tradedate": {
  31800. "description": "交易日(yyyyMMdd)",
  31801. "type": "string"
  31802. },
  31803. "userid": {
  31804. "description": "摘牌人用户ID",
  31805. "type": "integer"
  31806. },
  31807. "warehousenamedisplay": {
  31808. "type": "string"
  31809. },
  31810. "wrbargainid": {
  31811. "description": "[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  31812. "type": "string"
  31813. },
  31814. "wrtradeorderid": {
  31815. "description": "关联委托单ID",
  31816. "type": "string"
  31817. },
  31818. "zscerttypedisplay": {
  31819. "type": "string"
  31820. },
  31821. "zsclaritytype1display": {
  31822. "type": "string"
  31823. },
  31824. "zsclaritytype2display": {
  31825. "type": "string"
  31826. },
  31827. "zscolortype1display": {
  31828. "type": "string"
  31829. },
  31830. "zscolortype2display": {
  31831. "type": "string"
  31832. },
  31833. "zscrystaltypedisplay": {
  31834. "type": "string"
  31835. },
  31836. "zscurrencytypedisplay": {
  31837. "type": "string"
  31838. },
  31839. "zscurrencytypedisplayunit": {
  31840. "type": "string"
  31841. },
  31842. "zscuttype1display": {
  31843. "type": "string"
  31844. },
  31845. "zscuttype2display": {
  31846. "type": "string"
  31847. },
  31848. "zsczcolor1typedisplay": {
  31849. "type": "string"
  31850. },
  31851. "zsczcolor2typedisplay": {
  31852. "type": "string"
  31853. },
  31854. "zsczcolor3typedisplay": {
  31855. "type": "string"
  31856. },
  31857. "zsfluorescencetype1display": {
  31858. "type": "string"
  31859. },
  31860. "zsfluorescencetype2display": {
  31861. "type": "string"
  31862. },
  31863. "zspolishtype1display": {
  31864. "type": "string"
  31865. },
  31866. "zspolishtype2display": {
  31867. "type": "string"
  31868. },
  31869. "zsshapetypedisplay": {
  31870. "type": "string"
  31871. },
  31872. "zsstyletypedisplay": {
  31873. "type": "string"
  31874. },
  31875. "zssymmetrytype1display": {
  31876. "type": "string"
  31877. },
  31878. "zssymmetrytype2display": {
  31879. "type": "string"
  31880. }
  31881. }
  31882. },
  31883. "models.MyBuyOrder": {
  31884. "type": "object",
  31885. "required": [
  31886. "userid"
  31887. ],
  31888. "properties": {
  31889. "accountid": {
  31890. "description": "资金账户ID",
  31891. "type": "integer"
  31892. },
  31893. "marketid": {
  31894. "description": "市场ID",
  31895. "type": "integer"
  31896. },
  31897. "ordertime": {
  31898. "description": "委托时间",
  31899. "type": "string"
  31900. },
  31901. "origin": {
  31902. "description": "原产地",
  31903. "type": "string"
  31904. },
  31905. "performancetemplateid": {
  31906. "description": "履约计划模板ID",
  31907. "type": "integer"
  31908. },
  31909. "remark": {
  31910. "description": "备注",
  31911. "type": "string"
  31912. },
  31913. "userid": {
  31914. "description": "用户ID",
  31915. "type": "integer"
  31916. },
  31917. "validtime": {
  31918. "description": "有效期限",
  31919. "type": "string"
  31920. },
  31921. "warehouseids": {
  31922. "description": "仓库ID - 多个, 逗号分隔",
  31923. "type": "string"
  31924. },
  31925. "warehouseinfosdisplay": {
  31926. "type": "string"
  31927. },
  31928. "wrtradeorderid": {
  31929. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31930. "type": "string"
  31931. },
  31932. "wrtradeorderstatus": {
  31933. "description": "委托状态 - 参考枚举'WRTradeOrderStatus' - 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:撤单解冻贷款失败WRTrade_OrderDetail、",
  31934. "type": "integer"
  31935. },
  31936. "zscategory": {
  31937. "description": "钻石分类 - 枚举”ZSCategory“",
  31938. "type": "integer"
  31939. },
  31940. "zscategorydisplay": {
  31941. "type": "string"
  31942. },
  31943. "zsclaritytype": {
  31944. "description": "净度 - 两个, 逗号分隔",
  31945. "type": "string"
  31946. },
  31947. "zsclaritytypedisplay": {
  31948. "type": "string"
  31949. },
  31950. "zscolortype": {
  31951. "description": "颜色 - 两个, 逗号分隔",
  31952. "type": "string"
  31953. },
  31954. "zscolortypedisplay": {
  31955. "type": "string"
  31956. },
  31957. "zscrystaltype": {
  31958. "description": "晶型 - 多个,逗号分隔",
  31959. "type": "string"
  31960. },
  31961. "zscrystaltypedisplay": {
  31962. "type": "string"
  31963. },
  31964. "zscurrencytype": {
  31965. "description": "货币类型 - 多个, 逗号分隔",
  31966. "type": "string"
  31967. },
  31968. "zscurrencytypedisplay": {
  31969. "type": "string"
  31970. },
  31971. "zscuttype": {
  31972. "description": "切工 - 两个, 逗号分隔",
  31973. "type": "string"
  31974. },
  31975. "zscuttypedisplay": {
  31976. "type": "string"
  31977. },
  31978. "zsczcolor1type": {
  31979. "description": "彩钻颜色1, 逗号分隔",
  31980. "type": "string"
  31981. },
  31982. "zsczcolor1typedisplay": {
  31983. "type": "string"
  31984. },
  31985. "zsczcolor2type": {
  31986. "description": "彩钻颜色2, 逗号分隔",
  31987. "type": "string"
  31988. },
  31989. "zsczcolor2typedisplay": {
  31990. "type": "string"
  31991. },
  31992. "zsczcolor3type": {
  31993. "description": "彩钻颜色3, 逗号分隔",
  31994. "type": "string"
  31995. },
  31996. "zsczcolor3typedisplay": {
  31997. "type": "string"
  31998. },
  31999. "zsfluorescencetype": {
  32000. "description": "荧光 - 多个, 逗号分隔",
  32001. "type": "string"
  32002. },
  32003. "zsfluorescencetypedisplay": {
  32004. "type": "string"
  32005. },
  32006. "zspolishtype": {
  32007. "description": "抛光度 - 两个, 逗号分隔",
  32008. "type": "string"
  32009. },
  32010. "zspolishtypedisplay": {
  32011. "type": "string"
  32012. },
  32013. "zsshapetype": {
  32014. "description": "形状 - 多个, 逗号分隔",
  32015. "type": "string"
  32016. },
  32017. "zsshapetypedisplay": {
  32018. "type": "string"
  32019. },
  32020. "zssize": {
  32021. "description": "尺寸 - 两个小数, 逗号分隔",
  32022. "type": "string"
  32023. },
  32024. "zsstyletype": {
  32025. "description": "款式 - 多个, 逗号分隔",
  32026. "type": "string"
  32027. },
  32028. "zsstyletypedisplay": {
  32029. "type": "string"
  32030. },
  32031. "zssymmetrytype": {
  32032. "description": "对称度 - 两个, 逗号分隔",
  32033. "type": "string"
  32034. },
  32035. "zssymmetrytypedisplay": {
  32036. "type": "string"
  32037. },
  32038. "zstabledisplay": {
  32039. "description": "求购信息",
  32040. "type": "string"
  32041. }
  32042. }
  32043. },
  32044. "models.MyDeListing": {
  32045. "type": "object",
  32046. "required": [
  32047. "userid"
  32048. ],
  32049. "properties": {
  32050. "buyaccountid": {
  32051. "description": "买方账号ID",
  32052. "type": "integer"
  32053. },
  32054. "buychargevalue": {
  32055. "description": "买方手续费",
  32056. "type": "number"
  32057. },
  32058. "buyuserid": {
  32059. "description": "买方用户ID",
  32060. "type": "integer"
  32061. },
  32062. "deliverygoodsid": {
  32063. "description": "现货品种ID",
  32064. "type": "integer"
  32065. },
  32066. "exchangerate": {
  32067. "description": "汇率",
  32068. "type": "number"
  32069. },
  32070. "goodsno": {
  32071. "description": "商品编号",
  32072. "type": "string"
  32073. },
  32074. "marketid": {
  32075. "description": "市场ID",
  32076. "type": "integer"
  32077. },
  32078. "matchusername": {
  32079. "description": "对手方",
  32080. "type": "string"
  32081. },
  32082. "oritradeamount": {
  32083. "description": "成交金额[商品币种]",
  32084. "type": "number"
  32085. },
  32086. "performanceplanid": {
  32087. "description": "履约计划ID/合同ID",
  32088. "type": "string"
  32089. },
  32090. "price": {
  32091. "description": "价格",
  32092. "type": "number"
  32093. },
  32094. "qty": {
  32095. "description": "成交重量",
  32096. "type": "number"
  32097. },
  32098. "sellaccountid": {
  32099. "description": "卖方账号ID",
  32100. "type": "integer"
  32101. },
  32102. "sellchargevalue": {
  32103. "description": "卖方手续费",
  32104. "type": "number"
  32105. },
  32106. "selluserid": {
  32107. "description": "卖方用户ID",
  32108. "type": "integer"
  32109. },
  32110. "sizedisplay": {
  32111. "description": "尺寸",
  32112. "type": "string"
  32113. },
  32114. "tradeamount": {
  32115. "description": "成交金额",
  32116. "type": "number"
  32117. },
  32118. "tradedate": {
  32119. "description": "交易日(yyyyMMdd)",
  32120. "type": "string"
  32121. },
  32122. "tradeprice": {
  32123. "description": "成交价格",
  32124. "type": "number"
  32125. },
  32126. "tradetime": {
  32127. "description": "成交时间",
  32128. "type": "string"
  32129. },
  32130. "userid": {
  32131. "description": "用户ID",
  32132. "type": "integer"
  32133. },
  32134. "warehousenamedisplay": {
  32135. "type": "string"
  32136. },
  32137. "wrfactortypeid": {
  32138. "description": "仓单要素类型ID",
  32139. "type": "integer"
  32140. },
  32141. "wrstandardid": {
  32142. "description": "现货商品ID",
  32143. "type": "integer"
  32144. },
  32145. "wrtradedetailid": {
  32146. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  32147. "type": "string"
  32148. },
  32149. "zscategory": {
  32150. "description": "钻石分类 - 枚举”ZSCategory“",
  32151. "type": "integer"
  32152. },
  32153. "zscategorydisplay": {
  32154. "type": "string"
  32155. },
  32156. "zscerttypedisplay": {
  32157. "type": "string"
  32158. },
  32159. "zsclaritytype1display": {
  32160. "type": "string"
  32161. },
  32162. "zsclaritytype2display": {
  32163. "type": "string"
  32164. },
  32165. "zscolortype1display": {
  32166. "type": "string"
  32167. },
  32168. "zscolortype2display": {
  32169. "type": "string"
  32170. },
  32171. "zscrystaltypedisplay": {
  32172. "type": "string"
  32173. },
  32174. "zscurrencytype": {
  32175. "description": "货币类型 - 枚举“ZSCurrencyType”",
  32176. "type": "integer"
  32177. },
  32178. "zscurrencytypedisplay": {
  32179. "type": "string"
  32180. },
  32181. "zscurrencytypedisplayunit": {
  32182. "type": "string"
  32183. },
  32184. "zscuttype1display": {
  32185. "type": "string"
  32186. },
  32187. "zscuttype2display": {
  32188. "type": "string"
  32189. },
  32190. "zsczcolor1typedisplay": {
  32191. "type": "string"
  32192. },
  32193. "zsczcolor2typedisplay": {
  32194. "type": "string"
  32195. },
  32196. "zsczcolor3typedisplay": {
  32197. "type": "string"
  32198. },
  32199. "zsfluorescencetype1display": {
  32200. "type": "string"
  32201. },
  32202. "zsfluorescencetype2display": {
  32203. "type": "string"
  32204. },
  32205. "zspolishtype1display": {
  32206. "type": "string"
  32207. },
  32208. "zspolishtype2display": {
  32209. "type": "string"
  32210. },
  32211. "zsshapetypedisplay": {
  32212. "type": "string"
  32213. },
  32214. "zsstyletypedisplay": {
  32215. "type": "string"
  32216. },
  32217. "zssymmetrytype1display": {
  32218. "type": "string"
  32219. },
  32220. "zssymmetrytype2display": {
  32221. "type": "string"
  32222. }
  32223. }
  32224. },
  32225. "models.MyDelistingApply": {
  32226. "type": "object",
  32227. "required": [
  32228. "selluserid"
  32229. ],
  32230. "properties": {
  32231. "applyprice": {
  32232. "description": "申请价格",
  32233. "type": "number"
  32234. },
  32235. "applyqty": {
  32236. "description": "申请数量",
  32237. "type": "number"
  32238. },
  32239. "applyremark": {
  32240. "description": "申请备注",
  32241. "type": "string"
  32242. },
  32243. "applystatus": {
  32244. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  32245. "type": "integer"
  32246. },
  32247. "applytime": {
  32248. "description": "申请时间",
  32249. "type": "string"
  32250. },
  32251. "auditremark": {
  32252. "description": "确认备注",
  32253. "type": "string"
  32254. },
  32255. "audittime": {
  32256. "description": "确认时间",
  32257. "type": "string"
  32258. },
  32259. "buyuserid": {
  32260. "description": "买方用户ID",
  32261. "type": "integer"
  32262. },
  32263. "buyusername": {
  32264. "type": "string"
  32265. },
  32266. "buywrtradeorderid": {
  32267. "description": "买委托单ID",
  32268. "type": "string"
  32269. },
  32270. "goodsno": {
  32271. "description": "商品编号",
  32272. "type": "string"
  32273. },
  32274. "ladingbillid": {
  32275. "description": "卖方提单ID",
  32276. "type": "string"
  32277. },
  32278. "marketid": {
  32279. "description": "市场ID",
  32280. "type": "integer"
  32281. },
  32282. "performancetemplateid": {
  32283. "description": "履约计划模板ID",
  32284. "type": "integer"
  32285. },
  32286. "price": {
  32287. "description": "价格",
  32288. "type": "number"
  32289. },
  32290. "sellaccountid": {
  32291. "description": "卖方账户ID",
  32292. "type": "integer"
  32293. },
  32294. "selldelistingapplyid": {
  32295. "description": "[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)",
  32296. "type": "string"
  32297. },
  32298. "selltradeorderid": {
  32299. "description": "卖方委托ID(买方确认成交后更新)",
  32300. "type": "string"
  32301. },
  32302. "selluserid": {
  32303. "description": "卖方用户ID",
  32304. "type": "integer"
  32305. },
  32306. "sizedisplay": {
  32307. "description": "尺寸",
  32308. "type": "string"
  32309. },
  32310. "subnum": {
  32311. "description": "卖方提单子单号",
  32312. "type": "integer"
  32313. },
  32314. "warehouseinfosdisplay": {
  32315. "type": "string"
  32316. },
  32317. "weight": {
  32318. "description": "克拉重量",
  32319. "type": "number"
  32320. },
  32321. "wrfactortypeid": {
  32322. "description": "仓单要素类型ID",
  32323. "type": "string"
  32324. },
  32325. "wrstandardid": {
  32326. "description": "现货商品ID",
  32327. "type": "integer"
  32328. },
  32329. "zsallproperties": {
  32330. "type": "string"
  32331. },
  32332. "zscategorydisplay": {
  32333. "type": "string"
  32334. },
  32335. "zsclaritytypedisplay": {
  32336. "type": "string"
  32337. },
  32338. "zscolortypedisplay": {
  32339. "type": "string"
  32340. },
  32341. "zscrystaltypedisplay": {
  32342. "type": "string"
  32343. },
  32344. "zscurrencytypedisplay": {
  32345. "type": "string"
  32346. },
  32347. "zscuttypedisplay": {
  32348. "type": "string"
  32349. },
  32350. "zsczcolor1typedisplay": {
  32351. "type": "string"
  32352. },
  32353. "zsczcolor2typedisplay": {
  32354. "type": "string"
  32355. },
  32356. "zsczcolor3typedisplay": {
  32357. "type": "string"
  32358. },
  32359. "zsfluorescencetypedisplay": {
  32360. "type": "string"
  32361. },
  32362. "zspolishtypedisplay": {
  32363. "type": "string"
  32364. },
  32365. "zsshapetypedisplay": {
  32366. "type": "string"
  32367. },
  32368. "zssizedisplay": {
  32369. "type": "string"
  32370. },
  32371. "zsstyletypedisplay": {
  32372. "type": "string"
  32373. },
  32374. "zssymmetrytypedisplay": {
  32375. "type": "string"
  32376. },
  32377. "zstabledisplay": {
  32378. "type": "string"
  32379. }
  32380. }
  32381. },
  32382. "models.MyFavorite": {
  32383. "type": "object",
  32384. "required": [
  32385. "userid"
  32386. ],
  32387. "properties": {
  32388. "accountname": {
  32389. "description": "账户名称(机构名称)",
  32390. "type": "string"
  32391. },
  32392. "buyorsell": {
  32393. "description": "买卖 - 0:买 1:卖",
  32394. "type": "integer"
  32395. },
  32396. "favoritestatus": {
  32397. "description": "收藏状态 - 1:正常 2:失效",
  32398. "type": "integer"
  32399. },
  32400. "goodsno": {
  32401. "description": "商品编号",
  32402. "type": "string"
  32403. },
  32404. "marketid": {
  32405. "description": "市场ID",
  32406. "type": "integer"
  32407. },
  32408. "price": {
  32409. "description": "价格",
  32410. "type": "number"
  32411. },
  32412. "priceper": {
  32413. "description": "克拉单价",
  32414. "type": "string"
  32415. },
  32416. "sizedisplay": {
  32417. "description": "尺寸",
  32418. "type": "string"
  32419. },
  32420. "userid": {
  32421. "description": "用户ID",
  32422. "type": "integer"
  32423. },
  32424. "warehousenamedisplay": {
  32425. "type": "string"
  32426. },
  32427. "weight": {
  32428. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  32429. "type": "number"
  32430. },
  32431. "weightavg": {
  32432. "description": "平均单颗重量 - 类型:1,3",
  32433. "type": "number"
  32434. },
  32435. "wrfactortypeid": {
  32436. "description": "仓单要素类型ID/商品ID(77)",
  32437. "type": "string"
  32438. },
  32439. "wrstandardid": {
  32440. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  32441. "type": "integer"
  32442. },
  32443. "wrtradeorderid": {
  32444. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32445. "type": "string"
  32446. },
  32447. "zscategory": {
  32448. "description": "钻石分类 - 枚举”ZSCategory“",
  32449. "type": "integer"
  32450. },
  32451. "zscategorydisplay": {
  32452. "type": "string"
  32453. },
  32454. "zscerttypedisplay": {
  32455. "type": "string"
  32456. },
  32457. "zsclaritytype1display": {
  32458. "type": "string"
  32459. },
  32460. "zsclaritytype2display": {
  32461. "type": "string"
  32462. },
  32463. "zscolortype1display": {
  32464. "type": "string"
  32465. },
  32466. "zscolortype2display": {
  32467. "type": "string"
  32468. },
  32469. "zscrystaltypedisplay": {
  32470. "type": "string"
  32471. },
  32472. "zscurrencytypedisplay": {
  32473. "type": "string"
  32474. },
  32475. "zscurrencytypedisplayunit": {
  32476. "type": "string"
  32477. },
  32478. "zscuttype1display": {
  32479. "type": "string"
  32480. },
  32481. "zscuttype2display": {
  32482. "type": "string"
  32483. },
  32484. "zsczcolor1typedisplay": {
  32485. "type": "string"
  32486. },
  32487. "zsczcolor2typedisplay": {
  32488. "type": "string"
  32489. },
  32490. "zsczcolor3typedisplay": {
  32491. "type": "string"
  32492. },
  32493. "zsfluorescencetype1display": {
  32494. "type": "string"
  32495. },
  32496. "zsfluorescencetype2display": {
  32497. "type": "string"
  32498. },
  32499. "zspolishtype1display": {
  32500. "type": "string"
  32501. },
  32502. "zspolishtype2display": {
  32503. "type": "string"
  32504. },
  32505. "zsshapetypedisplay": {
  32506. "type": "string"
  32507. },
  32508. "zsstyletypedisplay": {
  32509. "type": "string"
  32510. },
  32511. "zssymmetrytype1display": {
  32512. "type": "string"
  32513. },
  32514. "zssymmetrytype2display": {
  32515. "type": "string"
  32516. }
  32517. }
  32518. },
  32519. "models.MyPerformanc": {
  32520. "type": "object",
  32521. "properties": {
  32522. "accountname": {
  32523. "description": "[对手方]账户名称(机构名称)",
  32524. "type": "string"
  32525. },
  32526. "amount": {
  32527. "description": "履约金额",
  32528. "type": "number"
  32529. },
  32530. "buyaccountid": {
  32531. "description": "买方账号",
  32532. "type": "integer"
  32533. },
  32534. "buyerfreezeamount": {
  32535. "description": "买方履约前冻结资金",
  32536. "type": "number"
  32537. },
  32538. "buyerfreezeamountremain": {
  32539. "description": "买方履约前冻结资金剩余",
  32540. "type": "number"
  32541. },
  32542. "buyerinfo": {
  32543. "description": "买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\", \"ReceiveInfo\": \"xxxxxxxxx\", \"ReceiptInfo\": \"xxxxxxxxxxxx\"}",
  32544. "type": "string"
  32545. },
  32546. "buyorsell": {
  32547. "description": "方向 - 0:买 1:卖",
  32548. "type": "integer"
  32549. },
  32550. "buypaidamount": {
  32551. "description": "买方已冻/已扣金额",
  32552. "type": "number"
  32553. },
  32554. "curstepid": {
  32555. "description": "当前步骤ID",
  32556. "type": "string"
  32557. },
  32558. "goodsno": {
  32559. "description": "商品编号",
  32560. "type": "string"
  32561. },
  32562. "overshortamount": {
  32563. "description": "溢短金额",
  32564. "type": "number"
  32565. },
  32566. "paymenttype": {
  32567. "description": "买方支付方式 - 1:冻结 2:扣款",
  32568. "type": "integer"
  32569. },
  32570. "performanceplanid": {
  32571. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  32572. "type": "string"
  32573. },
  32574. "performancestatus": {
  32575. "description": "履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  32576. "type": "integer"
  32577. },
  32578. "price": {
  32579. "description": "价格",
  32580. "type": "number"
  32581. },
  32582. "priceper": {
  32583. "description": "克拉单价",
  32584. "type": "string"
  32585. },
  32586. "relatedorderid": {
  32587. "description": "关联单号(履约类型的关联单号)",
  32588. "type": "string"
  32589. },
  32590. "remaindays": {
  32591. "description": "剩余天数",
  32592. "type": "integer"
  32593. },
  32594. "sellerfreezeamount": {
  32595. "description": "卖方履约前冻结资金",
  32596. "type": "number"
  32597. },
  32598. "sellerfreezeamountremain": {
  32599. "description": "卖方履约前冻结资金剩余",
  32600. "type": "number"
  32601. },
  32602. "sellerinfo": {
  32603. "description": "卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\"}",
  32604. "type": "string"
  32605. },
  32606. "sellreceivedamount": {
  32607. "description": "卖方已收金额",
  32608. "type": "number"
  32609. },
  32610. "sizedisplay": {
  32611. "description": "尺寸",
  32612. "type": "string"
  32613. },
  32614. "steptypeid": {
  32615. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  32616. "type": "integer"
  32617. },
  32618. "warehousenamedisplay": {
  32619. "type": "string"
  32620. },
  32621. "zscategorydisplay": {
  32622. "type": "string"
  32623. },
  32624. "zscerttypedisplay": {
  32625. "type": "string"
  32626. },
  32627. "zsclaritytype1display": {
  32628. "type": "string"
  32629. },
  32630. "zsclaritytype2display": {
  32631. "type": "string"
  32632. },
  32633. "zscolortype1display": {
  32634. "type": "string"
  32635. },
  32636. "zscolortype2display": {
  32637. "type": "string"
  32638. },
  32639. "zscrystaltypedisplay": {
  32640. "type": "string"
  32641. },
  32642. "zscurrencytypedisplay": {
  32643. "type": "string"
  32644. },
  32645. "zscurrencytypedisplayunit": {
  32646. "type": "string"
  32647. },
  32648. "zscuttype1display": {
  32649. "type": "string"
  32650. },
  32651. "zscuttype2display": {
  32652. "type": "string"
  32653. },
  32654. "zsczcolor1typedisplay": {
  32655. "type": "string"
  32656. },
  32657. "zsczcolor2typedisplay": {
  32658. "type": "string"
  32659. },
  32660. "zsczcolor3typedisplay": {
  32661. "type": "string"
  32662. },
  32663. "zsfluorescencetype1display": {
  32664. "type": "string"
  32665. },
  32666. "zsfluorescencetype2display": {
  32667. "type": "string"
  32668. },
  32669. "zspolishtype1display": {
  32670. "type": "string"
  32671. },
  32672. "zspolishtype2display": {
  32673. "type": "string"
  32674. },
  32675. "zsshapetypedisplay": {
  32676. "type": "string"
  32677. },
  32678. "zsstyletypedisplay": {
  32679. "type": "string"
  32680. },
  32681. "zssymmetrytype1display": {
  32682. "type": "string"
  32683. },
  32684. "zssymmetrytype2display": {
  32685. "type": "string"
  32686. }
  32687. }
  32688. },
  32689. "models.MySellOrder": {
  32690. "type": "object",
  32691. "required": [
  32692. "userid"
  32693. ],
  32694. "properties": {
  32695. "accountid": {
  32696. "description": "资金账号",
  32697. "type": "integer"
  32698. },
  32699. "applyid": {
  32700. "description": "申请单ID",
  32701. "type": "integer"
  32702. },
  32703. "attachment1": {
  32704. "description": "附件1",
  32705. "type": "string"
  32706. },
  32707. "attachment2": {
  32708. "description": "附件2",
  32709. "type": "string"
  32710. },
  32711. "buyorsell": {
  32712. "description": "买卖 - 0:买 1:卖",
  32713. "type": "integer"
  32714. },
  32715. "canbargain": {
  32716. "description": "是否可议价 - 0:不可 1:可",
  32717. "type": "integer"
  32718. },
  32719. "cancelqty": {
  32720. "description": "撤销数量",
  32721. "type": "integer"
  32722. },
  32723. "canceltime": {
  32724. "description": "撤销时间",
  32725. "type": "string"
  32726. },
  32727. "cerno": {
  32728. "type": "string"
  32729. },
  32730. "chargealgorithm": {
  32731. "description": "手续费收取方式 1:比率 2:固定",
  32732. "type": "integer"
  32733. },
  32734. "chargealgorithmvalue": {
  32735. "description": "手续费设置值(交易所部分)",
  32736. "type": "number"
  32737. },
  32738. "chargealgorithmvalue2": {
  32739. "description": "手续费设置值(会员部分)",
  32740. "type": "number"
  32741. },
  32742. "clientordertime": {
  32743. "description": "客户端委托时间",
  32744. "type": "string"
  32745. },
  32746. "cpcertno": {
  32747. "type": "string"
  32748. },
  32749. "exchangerate": {
  32750. "description": "汇率[67]",
  32751. "type": "number"
  32752. },
  32753. "firstratio": {
  32754. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  32755. "type": "number"
  32756. },
  32757. "fixedprice": {
  32758. "description": "[克拉单价]固定价格 - [挂牌]",
  32759. "type": "number"
  32760. },
  32761. "freezecharge": {
  32762. "description": "冻结手续费",
  32763. "type": "number"
  32764. },
  32765. "freezefirstamount": {
  32766. "description": "冻结首付金额 - [摘牌]",
  32767. "type": "number"
  32768. },
  32769. "freezemargin": {
  32770. "description": "冻结保证金",
  32771. "type": "number"
  32772. },
  32773. "goodsno": {
  32774. "description": "商品编号",
  32775. "type": "string"
  32776. },
  32777. "imagepath": {
  32778. "type": "string"
  32779. },
  32780. "isspecified": {
  32781. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  32782. "type": "integer"
  32783. },
  32784. "kppath": {
  32785. "type": "string"
  32786. },
  32787. "kpweight": {
  32788. "type": "string"
  32789. },
  32790. "marginalgorithm": {
  32791. "description": "保证金方式 - 1:比率 2:固定",
  32792. "type": "integer"
  32793. },
  32794. "marginvalue": {
  32795. "description": "保证金设置值",
  32796. "type": "number"
  32797. },
  32798. "marketid": {
  32799. "description": "市场ID",
  32800. "type": "integer"
  32801. },
  32802. "marketprice": {
  32803. "type": "string"
  32804. },
  32805. "orderamount": {
  32806. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  32807. "type": "number"
  32808. },
  32809. "ordertime": {
  32810. "description": "委托时间",
  32811. "type": "string"
  32812. },
  32813. "performancetemplateid": {
  32814. "description": "履约计划模板ID",
  32815. "type": "integer"
  32816. },
  32817. "price": {
  32818. "description": "价格",
  32819. "type": "number"
  32820. },
  32821. "pricefactor": {
  32822. "description": "价格系数(浮动价时填写) - [挂牌]",
  32823. "type": "number"
  32824. },
  32825. "pricemove": {
  32826. "description": "升贴水(浮动价时填写) - [挂牌]",
  32827. "type": "number"
  32828. },
  32829. "priceper": {
  32830. "type": "string"
  32831. },
  32832. "relatedwrtradeorderid": {
  32833. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  32834. "type": "integer"
  32835. },
  32836. "remark": {
  32837. "type": "string"
  32838. },
  32839. "retcode": {
  32840. "description": "错误代码",
  32841. "type": "integer"
  32842. },
  32843. "selledqty": {
  32844. "description": "成交重量",
  32845. "type": "number"
  32846. },
  32847. "settingmaterial": {
  32848. "type": "string"
  32849. },
  32850. "size1": {
  32851. "type": "string"
  32852. },
  32853. "size2": {
  32854. "type": "string"
  32855. },
  32856. "size3": {
  32857. "type": "string"
  32858. },
  32859. "stonedesc": {
  32860. "type": "string"
  32861. },
  32862. "totalqty": {
  32863. "description": "总重量",
  32864. "type": "number"
  32865. },
  32866. "tradedate": {
  32867. "description": "交易日(yyyyMMdd)",
  32868. "type": "string"
  32869. },
  32870. "tradeprice": {
  32871. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  32872. "type": "number"
  32873. },
  32874. "unfreezecharge": {
  32875. "description": "解冻手续费",
  32876. "type": "number"
  32877. },
  32878. "unfreezefirstamount": {
  32879. "description": "解冻首付金额 - [摘牌]",
  32880. "type": "number"
  32881. },
  32882. "unfreezemargin": {
  32883. "description": "解冻保证金",
  32884. "type": "number"
  32885. },
  32886. "userid": {
  32887. "description": "用户ID",
  32888. "type": "integer"
  32889. },
  32890. "uuid": {
  32891. "description": "发起端唯一id",
  32892. "type": "string"
  32893. },
  32894. "validtime": {
  32895. "description": "有效期限",
  32896. "type": "string"
  32897. },
  32898. "validtype": {
  32899. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  32900. "type": "integer"
  32901. },
  32902. "warehousenamedisplay": {
  32903. "type": "string"
  32904. },
  32905. "wrbargainid": {
  32906. "description": "议价申请单ID",
  32907. "type": "integer"
  32908. },
  32909. "wrfactortypeid": {
  32910. "description": "仓单要素类型ID/商品ID(77)",
  32911. "type": "integer"
  32912. },
  32913. "wrpath": {
  32914. "type": "string"
  32915. },
  32916. "wrpricetype": {
  32917. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  32918. "type": "integer"
  32919. },
  32920. "wrstandardid": {
  32921. "description": "现货商品ID",
  32922. "type": "integer"
  32923. },
  32924. "wrtradeorderid": {
  32925. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32926. "type": "string"
  32927. },
  32928. "wrtradeorderstatus": {
  32929. "description": "委托状态 - 参考枚举'WRTradeOrderStatus' - 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:撤单解冻贷款失败",
  32930. "type": "integer"
  32931. },
  32932. "wrtradetype": {
  32933. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  32934. "type": "integer"
  32935. },
  32936. "wrtransferuserid": {
  32937. "description": "仓单受让用户 - [摘牌]",
  32938. "type": "integer"
  32939. },
  32940. "zscategory": {
  32941. "description": "钻石分类 - 枚举”ZSCategory“",
  32942. "type": "integer"
  32943. },
  32944. "zscategorydisplay": {
  32945. "description": "钻石分类 - 描述",
  32946. "type": "string"
  32947. },
  32948. "zscerttypedisplay": {
  32949. "type": "string"
  32950. },
  32951. "zsclaritytype1display": {
  32952. "type": "string"
  32953. },
  32954. "zsclaritytype2display": {
  32955. "type": "string"
  32956. },
  32957. "zscolortype1display": {
  32958. "type": "string"
  32959. },
  32960. "zscolortype2display": {
  32961. "type": "string"
  32962. },
  32963. "zscrystaltype": {
  32964. "type": "string"
  32965. },
  32966. "zscrystaltypedisplay": {
  32967. "type": "string"
  32968. },
  32969. "zscurrencytype": {
  32970. "description": "货币类型 - 枚举“ZSCurrencyType”",
  32971. "type": "integer"
  32972. },
  32973. "zscurrencytypedisplay": {
  32974. "type": "string"
  32975. },
  32976. "zscurrencytypedisplayunit": {
  32977. "type": "string"
  32978. },
  32979. "zscuttype1display": {
  32980. "type": "string"
  32981. },
  32982. "zscuttype2display": {
  32983. "type": "string"
  32984. },
  32985. "zsczcolor1typedisplay": {
  32986. "type": "string"
  32987. },
  32988. "zsczcolor2typedisplay": {
  32989. "type": "string"
  32990. },
  32991. "zsczcolor3typedisplay": {
  32992. "type": "string"
  32993. },
  32994. "zsfluorescencetype1display": {
  32995. "type": "string"
  32996. },
  32997. "zsfluorescencetype2display": {
  32998. "type": "string"
  32999. },
  33000. "zspolishtype1display": {
  33001. "type": "string"
  33002. },
  33003. "zspolishtype2display": {
  33004. "type": "string"
  33005. },
  33006. "zsshapetypedisplay": {
  33007. "type": "string"
  33008. },
  33009. "zsstyletypedisplay": {
  33010. "type": "string"
  33011. },
  33012. "zssymmetrytype1display": {
  33013. "type": "string"
  33014. },
  33015. "zssymmetrytype2display": {
  33016. "type": "string"
  33017. }
  33018. }
  33019. },
  33020. "models.MyWRPosition": {
  33021. "type": "object",
  33022. "required": [
  33023. "wruserid"
  33024. ],
  33025. "properties": {
  33026. "cerno": {
  33027. "description": "证书编号 - 类型:2,4,5",
  33028. "type": "string"
  33029. },
  33030. "cpcertno": {
  33031. "description": "金伯利证书编号 - 类型:3",
  33032. "type": "string"
  33033. },
  33034. "ffreezeqty": {
  33035. "description": "冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数",
  33036. "type": "number"
  33037. },
  33038. "ftotalqty": {
  33039. "description": "库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数",
  33040. "type": "number"
  33041. },
  33042. "goodsno": {
  33043. "description": "商品编号",
  33044. "type": "string"
  33045. },
  33046. "imagepath": {
  33047. "description": "商品照片(相对地址)",
  33048. "type": "string"
  33049. },
  33050. "isvalid": {
  33051. "description": "是否有效 - 0:无效 1:有效",
  33052. "type": "integer"
  33053. },
  33054. "kppath": {
  33055. "description": "金伯利证书图片(相对地址) - 类型:3",
  33056. "type": "string"
  33057. },
  33058. "kpweight": {
  33059. "description": "金伯利证书重量 - 类型:3",
  33060. "type": "string"
  33061. },
  33062. "ladingbillid": {
  33063. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  33064. "type": "string"
  33065. },
  33066. "marketflag": {
  33067. "description": "是否上架,0-全部 1-是 2-否",
  33068. "type": "integer"
  33069. },
  33070. "marketprice": {
  33071. "description": "市场价",
  33072. "type": "string"
  33073. },
  33074. "origin": {
  33075. "description": "原产地 - 类型:3",
  33076. "type": "string"
  33077. },
  33078. "price": {
  33079. "description": "总价(价格) - 类型:1,2,3,4,5",
  33080. "type": "number"
  33081. },
  33082. "priceper": {
  33083. "description": "克拉单价 - 类型:1,2,3,5",
  33084. "type": "string"
  33085. },
  33086. "remark": {
  33087. "description": "备注",
  33088. "type": "string"
  33089. },
  33090. "sellmobile": {
  33091. "description": "手机号码(加密存储)",
  33092. "type": "string"
  33093. },
  33094. "sellusername": {
  33095. "description": "账户名称(机构名称)",
  33096. "type": "string"
  33097. },
  33098. "settingmaterial": {
  33099. "description": "镶嵌材料 - 类型:4",
  33100. "type": "string"
  33101. },
  33102. "size1": {
  33103. "description": "尺寸1 - 类型:2,4,5",
  33104. "type": "string"
  33105. },
  33106. "size2": {
  33107. "description": "尺寸2 - 类型:2,4,5",
  33108. "type": "string"
  33109. },
  33110. "size3": {
  33111. "description": "尺寸3 - 类型:2,4,5",
  33112. "type": "string"
  33113. },
  33114. "stonedesc": {
  33115. "description": "配石描述 - 类型:4",
  33116. "type": "string"
  33117. },
  33118. "subnum": {
  33119. "description": "提单子单号",
  33120. "type": "integer"
  33121. },
  33122. "userid": {
  33123. "description": "用户ID",
  33124. "type": "integer"
  33125. },
  33126. "warehouseid": {
  33127. "description": "仓库ID",
  33128. "type": "integer"
  33129. },
  33130. "warehousenamedisplay": {
  33131. "type": "string"
  33132. },
  33133. "weight": {
  33134. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  33135. "type": "number"
  33136. },
  33137. "weightavg": {
  33138. "description": "平均单颗重量 - 类型:1,3",
  33139. "type": "number"
  33140. },
  33141. "wrpath": {
  33142. "description": "仓单扫描件(相对地址)",
  33143. "type": "string"
  33144. },
  33145. "wrstandardid": {
  33146. "description": "现货商品ID",
  33147. "type": "integer"
  33148. },
  33149. "wrtradeorderid": {
  33150. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33151. "type": "string"
  33152. },
  33153. "wruserid": {
  33154. "description": "登录用户ID",
  33155. "type": "integer"
  33156. },
  33157. "zscategory": {
  33158. "description": "钻石分类 - 枚举”ZSCategory“",
  33159. "type": "integer"
  33160. },
  33161. "zscategorydisplay": {
  33162. "type": "string"
  33163. },
  33164. "zscerttype": {
  33165. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  33166. "type": "integer"
  33167. },
  33168. "zscerttypedisplay": {
  33169. "type": "string"
  33170. },
  33171. "zsclaritytype1": {
  33172. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  33173. "type": "integer"
  33174. },
  33175. "zsclaritytype1display": {
  33176. "type": "string"
  33177. },
  33178. "zsclaritytype2": {
  33179. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  33180. "type": "integer"
  33181. },
  33182. "zsclaritytype2display": {
  33183. "type": "string"
  33184. },
  33185. "zscolortype1": {
  33186. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  33187. "type": "integer"
  33188. },
  33189. "zscolortype1display": {
  33190. "type": "string"
  33191. },
  33192. "zscolortype2": {
  33193. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  33194. "type": "integer"
  33195. },
  33196. "zscolortype2display": {
  33197. "type": "string"
  33198. },
  33199. "zscrystaltype": {
  33200. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  33201. "type": "string"
  33202. },
  33203. "zscrystaltypedisplay": {
  33204. "type": "string"
  33205. },
  33206. "zscurrencytype": {
  33207. "description": "货币类型 - 枚举“ZSCurrencyType”",
  33208. "type": "integer"
  33209. },
  33210. "zscurrencytypedisplay": {
  33211. "type": "string"
  33212. },
  33213. "zscurrencytypedisplayunit": {
  33214. "type": "string"
  33215. },
  33216. "zscuttype1": {
  33217. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  33218. "type": "integer"
  33219. },
  33220. "zscuttype1display": {
  33221. "type": "string"
  33222. },
  33223. "zscuttype2": {
  33224. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  33225. "type": "integer"
  33226. },
  33227. "zscuttype2display": {
  33228. "type": "string"
  33229. },
  33230. "zsczcolor1type": {
  33231. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  33232. "type": "integer"
  33233. },
  33234. "zsczcolor1typedisplay": {
  33235. "type": "string"
  33236. },
  33237. "zsczcolor2type": {
  33238. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  33239. "type": "integer"
  33240. },
  33241. "zsczcolor2typedisplay": {
  33242. "type": "string"
  33243. },
  33244. "zsczcolor3type": {
  33245. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  33246. "type": "integer"
  33247. },
  33248. "zsczcolor3typedisplay": {
  33249. "type": "string"
  33250. },
  33251. "zsfluorescencetype1": {
  33252. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  33253. "type": "integer"
  33254. },
  33255. "zsfluorescencetype1display": {
  33256. "type": "string"
  33257. },
  33258. "zsfluorescencetype2": {
  33259. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  33260. "type": "integer"
  33261. },
  33262. "zsfluorescencetype2display": {
  33263. "type": "string"
  33264. },
  33265. "zspolishtype1": {
  33266. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  33267. "type": "integer"
  33268. },
  33269. "zspolishtype1display": {
  33270. "type": "string"
  33271. },
  33272. "zspolishtype2": {
  33273. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  33274. "type": "integer"
  33275. },
  33276. "zspolishtype2display": {
  33277. "type": "string"
  33278. },
  33279. "zsshapetype": {
  33280. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  33281. "type": "string"
  33282. },
  33283. "zsshapetypedisplay": {
  33284. "type": "string"
  33285. },
  33286. "zsstyletype": {
  33287. "description": "款式 - 类型:4",
  33288. "type": "integer"
  33289. },
  33290. "zsstyletypedisplay": {
  33291. "type": "string"
  33292. },
  33293. "zssymmetrytype1": {
  33294. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  33295. "type": "integer"
  33296. },
  33297. "zssymmetrytype1display": {
  33298. "type": "string"
  33299. },
  33300. "zssymmetrytype2": {
  33301. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  33302. "type": "integer"
  33303. },
  33304. "zssymmetrytype2display": {
  33305. "type": "string"
  33306. }
  33307. }
  33308. },
  33309. "models.NewFuncmenulist": {
  33310. "type": "object",
  33311. "required": [
  33312. "resourcecode"
  33313. ],
  33314. "properties": {
  33315. "authtype": {
  33316. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  33317. "type": "integer"
  33318. },
  33319. "buttonname": {
  33320. "description": "按钮名称",
  33321. "type": "string"
  33322. },
  33323. "buttontype": {
  33324. "description": "按钮类型 - 存按钮样式",
  33325. "type": "string"
  33326. },
  33327. "component": {
  33328. "description": "组件名或组件地址",
  33329. "type": "string"
  33330. },
  33331. "hidden": {
  33332. "description": "是否隐藏 - 0:显示 1:隐藏",
  33333. "type": "integer"
  33334. },
  33335. "iconame": {
  33336. "description": "菜单图标",
  33337. "type": "string"
  33338. },
  33339. "menutype": {
  33340. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  33341. "type": "integer"
  33342. },
  33343. "parentcode": {
  33344. "description": "上级资源代码",
  33345. "type": "string"
  33346. },
  33347. "remark": {
  33348. "description": "Remark",
  33349. "type": "string"
  33350. },
  33351. "resourcecode": {
  33352. "description": "资源代码",
  33353. "type": "string"
  33354. },
  33355. "resourcelevel": {
  33356. "description": "级别1-一级 2-二级 3-三级4-四级",
  33357. "type": "integer"
  33358. },
  33359. "resourcename": {
  33360. "description": "资源名(Title)",
  33361. "type": "string"
  33362. },
  33363. "sort": {
  33364. "description": "排序",
  33365. "type": "integer"
  33366. },
  33367. "url": {
  33368. "description": "Url",
  33369. "type": "string"
  33370. },
  33371. "urltype": {
  33372. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  33373. "type": "integer"
  33374. }
  33375. }
  33376. },
  33377. "models.OperationPrimaryMenu": {
  33378. "type": "object",
  33379. "properties": {
  33380. "Children": {
  33381. "description": "二级功能菜单",
  33382. "type": "array",
  33383. "items": {
  33384. "$ref": "#/definitions/models.OperationSecondaryMenu"
  33385. }
  33386. },
  33387. "Key": {
  33388. "description": "菜单KEY",
  33389. "type": "string"
  33390. },
  33391. "Label": {
  33392. "description": "菜单标题",
  33393. "type": "string"
  33394. }
  33395. }
  33396. },
  33397. "models.OperationSecondaryMenu": {
  33398. "type": "object",
  33399. "properties": {
  33400. "Key": {
  33401. "description": "菜单KEY",
  33402. "type": "string"
  33403. },
  33404. "Label": {
  33405. "description": "菜单标题",
  33406. "type": "string"
  33407. },
  33408. "TabList": {
  33409. "description": "三级功能菜单",
  33410. "type": "array",
  33411. "items": {
  33412. "$ref": "#/definitions/models.OperationTabMenu"
  33413. }
  33414. }
  33415. }
  33416. },
  33417. "models.OperationTabMenu": {
  33418. "type": "object",
  33419. "properties": {
  33420. "Key": {
  33421. "description": "菜单KEY",
  33422. "type": "string"
  33423. },
  33424. "Label": {
  33425. "description": "菜单标题",
  33426. "type": "string"
  33427. }
  33428. }
  33429. },
  33430. "models.Patradelinkdetail": {
  33431. "type": "object",
  33432. "properties": {
  33433. "accountname": {
  33434. "description": "套期主体",
  33435. "type": "string"
  33436. },
  33437. "agreeunit": {
  33438. "description": "合约乘数",
  33439. "type": "number"
  33440. },
  33441. "amount": {
  33442. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  33443. "type": "number"
  33444. },
  33445. "areauserid": {
  33446. "description": "所属机构",
  33447. "type": "integer"
  33448. },
  33449. "bizsubjectid": {
  33450. "description": "归属业务部门ID - SubjectID",
  33451. "type": "integer"
  33452. },
  33453. "buyorsell": {
  33454. "description": "方向 - 0:买 1:卖",
  33455. "type": "integer"
  33456. },
  33457. "convertratio": {
  33458. "description": "品种系数",
  33459. "type": "number"
  33460. },
  33461. "convertratiochange": {
  33462. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  33463. "type": "number"
  33464. },
  33465. "createtime": {
  33466. "description": "[日期时间]创建时间",
  33467. "type": "string"
  33468. },
  33469. "creatorid": {
  33470. "description": "创建人ID",
  33471. "type": "integer"
  33472. },
  33473. "creatorsrc": {
  33474. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  33475. "type": "integer"
  33476. },
  33477. "goodscode": {
  33478. "description": "商品代码(内部)",
  33479. "type": "string"
  33480. },
  33481. "goodsgroupid": {
  33482. "description": "对冲品种ID[期货合约商品组ID]",
  33483. "type": "integer"
  33484. },
  33485. "goodsid": {
  33486. "description": "商品ID",
  33487. "type": "integer"
  33488. },
  33489. "hedgeditemid": {
  33490. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  33491. "type": "integer"
  33492. },
  33493. "hedgeflag": {
  33494. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  33495. "type": "integer"
  33496. },
  33497. "linkdetailid": {
  33498. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  33499. "type": "string"
  33500. },
  33501. "linkstatus": {
  33502. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  33503. "type": "integer"
  33504. },
  33505. "middlegoodsid": {
  33506. "description": "套保品种ID",
  33507. "type": "integer"
  33508. },
  33509. "name": {
  33510. "description": "账户名/子账户",
  33511. "type": "string"
  33512. },
  33513. "optioncode": {
  33514. "description": "[期货合约]期权代码 [期权]",
  33515. "type": "string"
  33516. },
  33517. "ordertype": {
  33518. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  33519. "type": "integer"
  33520. },
  33521. "relatedlot": {
  33522. "description": "[数量]关联手数",
  33523. "type": "number"
  33524. },
  33525. "relatedmode": {
  33526. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  33527. "type": "integer"
  33528. },
  33529. "relatedqty": {
  33530. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  33531. "type": "number"
  33532. },
  33533. "retcode": {
  33534. "description": "返回码",
  33535. "type": "integer"
  33536. },
  33537. "saleuserid": {
  33538. "description": "业务员ID",
  33539. "type": "integer"
  33540. },
  33541. "tradedate": {
  33542. "description": "关联交易日(yyyyMMdd)",
  33543. "type": "string"
  33544. },
  33545. "tradeid": {
  33546. "description": "[成交单号]内部成交单ID",
  33547. "type": "string"
  33548. },
  33549. "tradelot": {
  33550. "description": "成交手数",
  33551. "type": "integer"
  33552. },
  33553. "tradeprice": {
  33554. "description": "[价格]成交价格",
  33555. "type": "number"
  33556. },
  33557. "tradetradedate": {
  33558. "description": "成交交易日(yyyyMMdd)",
  33559. "type": "string"
  33560. }
  33561. }
  33562. },
  33563. "models.QhjAccountOutInApply": {
  33564. "type": "object",
  33565. "properties": {
  33566. "accountcode": {
  33567. "description": "资金账号",
  33568. "type": "string"
  33569. },
  33570. "accountname": {
  33571. "description": "用户名称(名称)",
  33572. "type": "string"
  33573. },
  33574. "accountpwd": {
  33575. "description": "资金密码",
  33576. "type": "string"
  33577. },
  33578. "accountticket": {
  33579. "description": "最新账户服务流水号",
  33580. "type": "string"
  33581. },
  33582. "amount": {
  33583. "description": "金额",
  33584. "type": "number"
  33585. },
  33586. "applyremark": {
  33587. "description": "申请备注",
  33588. "type": "string"
  33589. },
  33590. "applystatus": {
  33591. "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: 复审通过,账户冻结金额检查中;",
  33592. "type": "integer"
  33593. },
  33594. "auditid": {
  33595. "description": "审核人",
  33596. "type": "integer"
  33597. },
  33598. "audittime": {
  33599. "description": "审核时间",
  33600. "type": "string"
  33601. },
  33602. "bank_apply_ticket": {
  33603. "description": "银行申请流水",
  33604. "type": "string"
  33605. },
  33606. "bankaccountname": {
  33607. "description": "银行账户名",
  33608. "type": "string"
  33609. },
  33610. "bankaccountno": {
  33611. "description": "银行卡号",
  33612. "type": "string"
  33613. },
  33614. "bankid": {
  33615. "description": "银行编号",
  33616. "type": "string"
  33617. },
  33618. "bankticket": {
  33619. "description": "银行流水",
  33620. "type": "string"
  33621. },
  33622. "branchbankid": {
  33623. "description": "银行支行号",
  33624. "type": "string"
  33625. },
  33626. "branchbankname": {
  33627. "description": "银行支行名称",
  33628. "type": "string"
  33629. },
  33630. "capamountout": {
  33631. "description": "出金(劣后本金) - 外部子账户",
  33632. "type": "number"
  33633. },
  33634. "certificatephotourl": {
  33635. "description": "凭证地址",
  33636. "type": "string"
  33637. },
  33638. "charge": {
  33639. "description": "手续费",
  33640. "type": "number"
  33641. },
  33642. "checkerrorflag": {
  33643. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  33644. "type": "integer"
  33645. },
  33646. "currency": {
  33647. "description": "币种",
  33648. "type": "string"
  33649. },
  33650. "cusbankid": {
  33651. "description": "托管银行编号",
  33652. "type": "string"
  33653. },
  33654. "cusbankname": {
  33655. "description": "托管银行名称",
  33656. "type": "string"
  33657. },
  33658. "cusbankshortname": {
  33659. "description": "托管银行简称",
  33660. "type": "string"
  33661. },
  33662. "exchticket": {
  33663. "description": "银行服务流水号",
  33664. "type": "string"
  33665. },
  33666. "executetype": {
  33667. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  33668. "type": "integer"
  33669. },
  33670. "extendinfo": {
  33671. "description": "扩展信息",
  33672. "type": "string"
  33673. },
  33674. "extoperateid": {
  33675. "description": "交易服务流水号",
  33676. "type": "integer"
  33677. },
  33678. "infamount": {
  33679. "description": "劣后金额(自有)",
  33680. "type": "number"
  33681. },
  33682. "logincode": {
  33683. "description": "登录账号(账号)",
  33684. "type": "string"
  33685. },
  33686. "netaddr": {
  33687. "description": "调转网址",
  33688. "type": "string"
  33689. },
  33690. "priamount": {
  33691. "description": "优先金额(授信)",
  33692. "type": "number"
  33693. },
  33694. "reauditid": {
  33695. "description": "复审人",
  33696. "type": "integer"
  33697. },
  33698. "reauditremark": {
  33699. "description": "复审备注",
  33700. "type": "string"
  33701. },
  33702. "reaudittime": {
  33703. "description": "复审时间",
  33704. "type": "string"
  33705. },
  33706. "relatedorderid": {
  33707. "description": "三方关联ID",
  33708. "type": "string"
  33709. },
  33710. "remark": {
  33711. "description": "备注",
  33712. "type": "string"
  33713. },
  33714. "remark2": {
  33715. "description": "备注(失败原因)",
  33716. "type": "string"
  33717. },
  33718. "soucreamount": {
  33719. "description": "原始出入金金额",
  33720. "type": "number"
  33721. },
  33722. "soucrecurrencyid": {
  33723. "description": "原始出入金币种",
  33724. "type": "integer"
  33725. },
  33726. "tradedate": {
  33727. "description": "交易日(yyyyMMdd)",
  33728. "type": "string"
  33729. },
  33730. "updatetime": {
  33731. "description": "更新时间(申请时间)",
  33732. "type": "string"
  33733. },
  33734. "userid": {
  33735. "description": "用户id",
  33736. "type": "integer"
  33737. },
  33738. "userinfotype": {
  33739. "description": "账户类型 1-个人 2-企业",
  33740. "type": "integer"
  33741. }
  33742. }
  33743. },
  33744. "models.QhjAgreementChangeLog": {
  33745. "type": "object",
  33746. "properties": {
  33747. "agreementcontent": {
  33748. "description": "协议内容",
  33749. "type": "string"
  33750. },
  33751. "agreementfrequency": {
  33752. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  33753. "type": "integer"
  33754. },
  33755. "agreementid": {
  33756. "description": "协议ID",
  33757. "type": "integer"
  33758. },
  33759. "agreementname": {
  33760. "description": "协议名称",
  33761. "type": "string"
  33762. },
  33763. "agreementno": {
  33764. "description": "协议编号",
  33765. "type": "string"
  33766. },
  33767. "agreementtype": {
  33768. "description": "协议类型 - 1:注册 2:登录 3:交易",
  33769. "type": "integer"
  33770. },
  33771. "agreementversion": {
  33772. "description": "协议版本号",
  33773. "type": "integer"
  33774. },
  33775. "logid": {
  33776. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  33777. "type": "integer"
  33778. },
  33779. "reviserid": {
  33780. "description": "修改人",
  33781. "type": "integer"
  33782. },
  33783. "revisersrc": {
  33784. "description": "修改来源 - 1:管理端 2:终端",
  33785. "type": "integer"
  33786. },
  33787. "updatetime": {
  33788. "description": "更新时间",
  33789. "type": "string"
  33790. }
  33791. }
  33792. },
  33793. "models.QhjAgreementConfig": {
  33794. "type": "object",
  33795. "properties": {
  33796. "agreementcontent": {
  33797. "description": "协议内容",
  33798. "type": "string"
  33799. },
  33800. "agreementfrequency": {
  33801. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  33802. "type": "integer"
  33803. },
  33804. "agreementid": {
  33805. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  33806. "type": "integer"
  33807. },
  33808. "agreementname": {
  33809. "description": "协议名称",
  33810. "type": "string"
  33811. },
  33812. "agreementno": {
  33813. "description": "协议编号",
  33814. "type": "string"
  33815. },
  33816. "agreementtype": {
  33817. "description": "协议类型 - 1:注册 2:登录 3:交易",
  33818. "type": "integer"
  33819. },
  33820. "agreementversion": {
  33821. "description": "协议版本号(从1开始每次修改加1)",
  33822. "type": "integer"
  33823. },
  33824. "createtime": {
  33825. "description": "创建时间",
  33826. "type": "string"
  33827. },
  33828. "creatorid": {
  33829. "description": "创建人",
  33830. "type": "integer"
  33831. },
  33832. "creatorsrc": {
  33833. "description": "创建来源 - 1:管理端 2:终端",
  33834. "type": "integer"
  33835. },
  33836. "isvalid": {
  33837. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  33838. "type": "integer"
  33839. },
  33840. "reviserid": {
  33841. "description": "修改人",
  33842. "type": "integer"
  33843. },
  33844. "revisersrc": {
  33845. "description": "修改来源 - 1:管理端 2:终端",
  33846. "type": "integer"
  33847. },
  33848. "updatetime": {
  33849. "description": "更新时间",
  33850. "type": "string"
  33851. }
  33852. }
  33853. },
  33854. "models.QhjAreaFinanceConfig": {
  33855. "type": "object",
  33856. "properties": {
  33857. "additionalratio": {
  33858. "description": "追加款比例",
  33859. "type": "number"
  33860. },
  33861. "advanceratio": {
  33862. "description": "预付款比例",
  33863. "type": "number"
  33864. },
  33865. "alarmratio": {
  33866. "description": "告警比例",
  33867. "type": "number"
  33868. },
  33869. "consumptiondirectreward": {
  33870. "description": "消费直推奖励值",
  33871. "type": "number"
  33872. },
  33873. "consumptionenabled": {
  33874. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  33875. "type": "integer"
  33876. },
  33877. "consumptionindirectreward": {
  33878. "description": "消费间推奖励值",
  33879. "type": "number"
  33880. },
  33881. "consumptionmodel": {
  33882. "description": "消费奖励方式 - 1:比率 2:固定",
  33883. "type": "integer"
  33884. },
  33885. "customerservicenum": {
  33886. "description": "客服电话",
  33887. "type": "string"
  33888. },
  33889. "dayinterestrate": {
  33890. "description": "日利率",
  33891. "type": "number"
  33892. },
  33893. "disableconsumptiontips": {
  33894. "description": "关闭消费奖励提示",
  33895. "type": "string"
  33896. },
  33897. "modifierid": {
  33898. "description": "修改人ID",
  33899. "type": "integer"
  33900. },
  33901. "modifysrc": {
  33902. "description": "审核来源 - 1:管理端 2:终端",
  33903. "type": "integer"
  33904. },
  33905. "modifytime": {
  33906. "description": "修改时间",
  33907. "type": "string"
  33908. },
  33909. "promotionvalue": {
  33910. "description": "推广奖励值(固定)",
  33911. "type": "number"
  33912. },
  33913. "scoreconfigvalue1": {
  33914. "description": "提货积分配置1",
  33915. "type": "integer"
  33916. },
  33917. "scoreconfigvalue2": {
  33918. "description": "提货积分配置2",
  33919. "type": "integer"
  33920. },
  33921. "userid": {
  33922. "description": "机构用户ID其他做市关系,都设置为 1",
  33923. "type": "integer"
  33924. },
  33925. "username": {
  33926. "description": "用户名称",
  33927. "type": "string"
  33928. }
  33929. }
  33930. },
  33931. "models.QhjBankAccountSign": {
  33932. "type": "object",
  33933. "properties": {
  33934. "accountcode": {
  33935. "description": "资金账号",
  33936. "type": "string"
  33937. },
  33938. "accountname": {
  33939. "description": "资金账号对应的账号名(UserName)",
  33940. "type": "string"
  33941. },
  33942. "accountname2": {
  33943. "description": "资金账号对应的账号名(UserName) - 密文",
  33944. "type": "string"
  33945. },
  33946. "accounttype": {
  33947. "description": "账户类型(UserType)",
  33948. "type": "integer"
  33949. },
  33950. "applicationtime": {
  33951. "description": "最后一次更新的时间",
  33952. "type": "string"
  33953. },
  33954. "applyexchticket": {
  33955. "description": "申请流水",
  33956. "type": "string"
  33957. },
  33958. "auditid": {
  33959. "description": "审核人",
  33960. "type": "integer"
  33961. },
  33962. "audittime": {
  33963. "description": "审核时间",
  33964. "type": "string"
  33965. },
  33966. "bankaccountname": {
  33967. "description": "签约银行卡账号名",
  33968. "type": "string"
  33969. },
  33970. "bankaccountname2": {
  33971. "description": "签约银行卡账号名 - 密文",
  33972. "type": "string"
  33973. },
  33974. "bankaccountno": {
  33975. "description": "银行卡号",
  33976. "type": "string"
  33977. },
  33978. "bankaccountno2": {
  33979. "description": "银行卡号 - 密文",
  33980. "type": "string"
  33981. },
  33982. "bankaccounttype": {
  33983. "description": "银行账户类型 - 1-对私; 2-对公",
  33984. "type": "integer"
  33985. },
  33986. "bankcardtype": {
  33987. "description": "银行卡类型",
  33988. "type": "integer"
  33989. },
  33990. "bankchildaccount": {
  33991. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  33992. "type": "string"
  33993. },
  33994. "bankcity": {
  33995. "description": "开户行城市",
  33996. "type": "string"
  33997. },
  33998. "bankid": {
  33999. "description": "签约银行ID",
  34000. "type": "string"
  34001. },
  34002. "bankname": {
  34003. "description": "签约银行名称",
  34004. "type": "string"
  34005. },
  34006. "bankprovince": {
  34007. "description": "开户行省份",
  34008. "type": "string"
  34009. },
  34010. "branchbankid": {
  34011. "description": "签约银行支行号",
  34012. "type": "string"
  34013. },
  34014. "branchbankname": {
  34015. "description": "签约银行支行名称",
  34016. "type": "string"
  34017. },
  34018. "cardno": {
  34019. "description": "证件号码",
  34020. "type": "string"
  34021. },
  34022. "cardno2": {
  34023. "description": "证件号码 - 密文",
  34024. "type": "string"
  34025. },
  34026. "cardtype": {
  34027. "description": "证件类型",
  34028. "type": "string"
  34029. },
  34030. "currency": {
  34031. "description": "币种",
  34032. "type": "string"
  34033. },
  34034. "cusbankid": {
  34035. "description": "托管银行编号",
  34036. "type": "string"
  34037. },
  34038. "direct": {
  34039. "description": "方向(可以判断那方先发起的签约)",
  34040. "type": "integer"
  34041. },
  34042. "exchticket": {
  34043. "description": "最后一次签约成功的流水号",
  34044. "type": "string"
  34045. },
  34046. "extendinfo": {
  34047. "description": "扩展信息(JSON字符串)",
  34048. "type": "string"
  34049. },
  34050. "mobilephone": {
  34051. "description": "手机号",
  34052. "type": "string"
  34053. },
  34054. "mobilephone2": {
  34055. "description": "手机号 - 密文",
  34056. "type": "string"
  34057. },
  34058. "netaddr": {
  34059. "description": "调转网址",
  34060. "type": "string"
  34061. },
  34062. "relateduserid": {
  34063. "description": "关联使用者userid",
  34064. "type": "integer"
  34065. },
  34066. "signstatus": {
  34067. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  34068. "type": "integer"
  34069. },
  34070. "updatetime": {
  34071. "description": "更新时间(签解约更新时间)",
  34072. "type": "string"
  34073. }
  34074. }
  34075. },
  34076. "models.QhjBankInfo": {
  34077. "type": "object",
  34078. "properties": {
  34079. "bankid": {
  34080. "description": "银行ID",
  34081. "type": "string"
  34082. },
  34083. "bankname": {
  34084. "description": "银行名称",
  34085. "type": "string"
  34086. },
  34087. "clearbankno": {
  34088. "description": "清算系统银行编号",
  34089. "type": "string"
  34090. },
  34091. "orderindex": {
  34092. "description": "排序顺序",
  34093. "type": "integer"
  34094. },
  34095. "status": {
  34096. "description": "状态 - 0:正常 1:注销",
  34097. "type": "integer"
  34098. }
  34099. }
  34100. },
  34101. "models.QhjBrokerApply": {
  34102. "type": "object",
  34103. "properties": {
  34104. "applicantid": {
  34105. "description": "申请人",
  34106. "type": "integer"
  34107. },
  34108. "applysrc": {
  34109. "description": "申请来源 - 1:管理端 2:终端",
  34110. "type": "integer"
  34111. },
  34112. "applystatus": {
  34113. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34114. "type": "integer"
  34115. },
  34116. "applytime": {
  34117. "description": "申请时间",
  34118. "type": "string"
  34119. },
  34120. "auditorid": {
  34121. "description": "审核人",
  34122. "type": "integer"
  34123. },
  34124. "auditremark": {
  34125. "description": "审核备注",
  34126. "type": "string"
  34127. },
  34128. "auditsrc": {
  34129. "description": "审核来源 - 1:管理端 2:终端",
  34130. "type": "integer"
  34131. },
  34132. "audittime": {
  34133. "description": "审核时间",
  34134. "type": "string"
  34135. },
  34136. "audittradedate": {
  34137. "description": "审核交易日(yyyyMMdd)",
  34138. "type": "string"
  34139. },
  34140. "brokerapplyid": {
  34141. "description": "申请ID(SEQ_BROKERAPPLY)",
  34142. "type": "integer"
  34143. },
  34144. "cardbackphotourl": {
  34145. "description": "证件背面图片地址",
  34146. "type": "string"
  34147. },
  34148. "cardfrontphotourl": {
  34149. "description": "证件正面图片地址",
  34150. "type": "string"
  34151. },
  34152. "cardnum": {
  34153. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  34154. "type": "string"
  34155. },
  34156. "customername": {
  34157. "description": "姓名",
  34158. "type": "string"
  34159. },
  34160. "logincode": {
  34161. "description": "登录代码",
  34162. "type": "string"
  34163. },
  34164. "mobile": {
  34165. "description": "手机号码",
  34166. "type": "string"
  34167. },
  34168. "parentuserid": {
  34169. "description": "所属机构id",
  34170. "type": "integer"
  34171. },
  34172. "parentusername": {
  34173. "description": "所属机构名称",
  34174. "type": "string"
  34175. },
  34176. "refereeuserid": {
  34177. "description": "推荐人id(经纪人)",
  34178. "type": "integer"
  34179. },
  34180. "refernum": {
  34181. "description": "推荐码",
  34182. "type": "string"
  34183. },
  34184. "remark": {
  34185. "description": "备注",
  34186. "type": "string"
  34187. },
  34188. "subarealevelpath": {
  34189. "description": "层级路径",
  34190. "type": "string"
  34191. },
  34192. "tradedate": {
  34193. "description": "交易日(yyyyMMdd)",
  34194. "type": "string"
  34195. },
  34196. "userid": {
  34197. "description": "申请人用户ID",
  34198. "type": "integer"
  34199. },
  34200. "userinfotype": {
  34201. "description": "用户类型 1-个人 2-企业",
  34202. "type": "integer"
  34203. },
  34204. "username": {
  34205. "description": "用户名称",
  34206. "type": "string"
  34207. }
  34208. }
  34209. },
  34210. "models.QhjBrokerApplyEx": {
  34211. "type": "object",
  34212. "properties": {
  34213. "applylist": {
  34214. "description": "经纪人申请记录(只返回最新一条)",
  34215. "type": "array",
  34216. "items": {
  34217. "$ref": "#/definitions/models.QhjBrokerApply"
  34218. }
  34219. },
  34220. "canrecommend": {
  34221. "description": "是否经纪人 0-不是 1-是",
  34222. "type": "integer"
  34223. },
  34224. "refernum": {
  34225. "description": "推荐码",
  34226. "type": "string"
  34227. },
  34228. "userid": {
  34229. "description": "用户id",
  34230. "type": "integer"
  34231. },
  34232. "userinfotype": {
  34233. "description": "用户类型 1-个人 2-企业",
  34234. "type": "integer"
  34235. }
  34236. }
  34237. },
  34238. "models.QhjBrokerRewardLog": {
  34239. "type": "object",
  34240. "properties": {
  34241. "accountid": {
  34242. "description": "资金账号ID",
  34243. "type": "integer"
  34244. },
  34245. "createtime": {
  34246. "description": "创建时间(时间)",
  34247. "type": "string"
  34248. },
  34249. "handlestatus": {
  34250. "description": "处理状态",
  34251. "type": "integer"
  34252. },
  34253. "logid": {
  34254. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34255. "type": "string"
  34256. },
  34257. "marketid": {
  34258. "description": "市场ID",
  34259. "type": "integer"
  34260. },
  34261. "mmaccountid": {
  34262. "description": "做市商资金账号ID",
  34263. "type": "string"
  34264. },
  34265. "mmuserid": {
  34266. "description": "做市商用户ID",
  34267. "type": "string"
  34268. },
  34269. "rewardamount": {
  34270. "description": "奖励金额",
  34271. "type": "number"
  34272. },
  34273. "rewardmodel": {
  34274. "description": "消费奖励方式 - 1:比率 2:固定",
  34275. "type": "integer"
  34276. },
  34277. "rewardtype": {
  34278. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  34279. "type": "integer"
  34280. },
  34281. "rewardvalue": {
  34282. "description": "配置奖励值",
  34283. "type": "number"
  34284. },
  34285. "srcamount": {
  34286. "description": "成交金额 [消费奖励] (金额)",
  34287. "type": "number"
  34288. },
  34289. "srcgoodsid": {
  34290. "description": "来源商品ID [消费奖励]",
  34291. "type": "string"
  34292. },
  34293. "srctime": {
  34294. "description": "来源时间 (成交时间) [消费奖励]",
  34295. "type": "string"
  34296. },
  34297. "srctradeid": {
  34298. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  34299. "type": "string"
  34300. },
  34301. "srcuserid": {
  34302. "description": "来源用户ID(推广账户)",
  34303. "type": "string"
  34304. },
  34305. "srcusername": {
  34306. "description": "推广账户名称",
  34307. "type": "string"
  34308. },
  34309. "tradedate": {
  34310. "description": "交易日(yyyyMMdd)",
  34311. "type": "string"
  34312. },
  34313. "userid": {
  34314. "description": "经纪人用户ID",
  34315. "type": "integer"
  34316. }
  34317. }
  34318. },
  34319. "models.QhjContract": {
  34320. "type": "object",
  34321. "properties": {
  34322. "contractconfirmtime": {
  34323. "description": "合同确认时间(时间)",
  34324. "type": "string"
  34325. },
  34326. "currisklevel": {
  34327. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  34328. "type": "integer"
  34329. },
  34330. "decimalplace": {
  34331. "description": "商品报价小数位",
  34332. "type": "integer"
  34333. },
  34334. "enumdicname": {
  34335. "description": "单位名称",
  34336. "type": "string"
  34337. },
  34338. "goodscode": {
  34339. "description": "商品代码",
  34340. "type": "string"
  34341. },
  34342. "goodsid": {
  34343. "description": "商品ID [5:融资单]",
  34344. "type": "integer"
  34345. },
  34346. "goodsname": {
  34347. "description": "商品名称",
  34348. "type": "string"
  34349. },
  34350. "goodunitid": {
  34351. "description": "商品单位id",
  34352. "type": "integer"
  34353. },
  34354. "initmargin": {
  34355. "description": "初始保证金(首付款)",
  34356. "type": "number"
  34357. },
  34358. "lenderamount": {
  34359. "description": "贷款金额(总额|订单总额)",
  34360. "type": "number"
  34361. },
  34362. "marginratio": {
  34363. "description": "保证金比率(首付比例)",
  34364. "type": "number"
  34365. },
  34366. "payamount": {
  34367. "description": "已付(已付货款)",
  34368. "type": "number"
  34369. },
  34370. "reckonrecovermargin": {
  34371. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  34372. "type": "number"
  34373. },
  34374. "recoveredmargin": {
  34375. "description": "已追缴保证金",
  34376. "type": "number"
  34377. },
  34378. "remainamount": {
  34379. "description": "合同剩余金额(融资额)",
  34380. "type": "number"
  34381. },
  34382. "scfcontractid": {
  34383. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34384. "type": "string"
  34385. },
  34386. "scfcontractstatus": {
  34387. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  34388. "type": "integer"
  34389. },
  34390. "scfcontracttype": {
  34391. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  34392. "type": "integer"
  34393. },
  34394. "totalinterest": {
  34395. "description": "已计总利息(利息)",
  34396. "type": "number"
  34397. },
  34398. "tradeprice": {
  34399. "description": "成交价格(成本价格)",
  34400. "type": "number"
  34401. },
  34402. "userid": {
  34403. "description": "用户ID",
  34404. "type": "integer"
  34405. },
  34406. "username": {
  34407. "description": "用户名称",
  34408. "type": "string"
  34409. },
  34410. "wrqty": {
  34411. "description": "仓单数量(数量)",
  34412. "type": "number"
  34413. }
  34414. }
  34415. },
  34416. "models.QhjContractLog": {
  34417. "type": "object",
  34418. "properties": {
  34419. "amount": {
  34420. "description": "支付金额",
  34421. "type": "number"
  34422. },
  34423. "amounttype": {
  34424. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  34425. "type": "integer"
  34426. },
  34427. "logid": {
  34428. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34429. "type": "string"
  34430. },
  34431. "remainamount": {
  34432. "description": "剩余货款",
  34433. "type": "number"
  34434. },
  34435. "scfcontractid": {
  34436. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34437. "type": "integer"
  34438. },
  34439. "updatetime": {
  34440. "description": "更新时间",
  34441. "type": "string"
  34442. }
  34443. }
  34444. },
  34445. "models.QhjCusBankSignBankEx": {
  34446. "type": "object",
  34447. "properties": {
  34448. "banklst": {
  34449. "description": "银行列表",
  34450. "type": "array",
  34451. "items": {
  34452. "$ref": "#/definitions/models.QhjBankInfo"
  34453. }
  34454. },
  34455. "canallot": {
  34456. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  34457. "type": "integer"
  34458. },
  34459. "canallotquery": {
  34460. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  34461. "type": "integer"
  34462. },
  34463. "canbindcard": {
  34464. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  34465. "type": "integer"
  34466. },
  34467. "caninamount": {
  34468. "description": "是否可入金 - 0:不可 1:可以",
  34469. "type": "integer"
  34470. },
  34471. "caninamount2": {
  34472. "description": "是否可入金(网银端) - 0:不可 1:可以",
  34473. "type": "integer"
  34474. },
  34475. "canmodifybankcard": {
  34476. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  34477. "type": "integer"
  34478. },
  34479. "canmodifyphone": {
  34480. "description": "是否可修改手机号 - 0:不可 1:可以",
  34481. "type": "integer"
  34482. },
  34483. "canmodifysigninfo": {
  34484. "description": "是否可修改签约信息 - 0:不可 1:可以",
  34485. "type": "integer"
  34486. },
  34487. "canoutamount": {
  34488. "description": "是否可出金 - 0:不可 1:可以",
  34489. "type": "integer"
  34490. },
  34491. "canoutamount2": {
  34492. "description": "是否可出金(网银端) - 0:不可 1:可以",
  34493. "type": "integer"
  34494. },
  34495. "canrelease": {
  34496. "description": "是否可解约 - 0:不可 1:可以",
  34497. "type": "integer"
  34498. },
  34499. "canrelease2": {
  34500. "description": "是否可解约(网银端) - 0:不可 1:可以",
  34501. "type": "integer"
  34502. },
  34503. "cansign": {
  34504. "description": "是否可签约 - 0:不可 1:可以",
  34505. "type": "integer"
  34506. },
  34507. "cansign2": {
  34508. "description": "是否可签约(网银端) - 0:不可 1:可以",
  34509. "type": "integer"
  34510. },
  34511. "currency": {
  34512. "description": "币种",
  34513. "type": "string"
  34514. },
  34515. "cusbankid": {
  34516. "description": "托管银行编号(对应清算中心TRAN_NO)",
  34517. "type": "string"
  34518. },
  34519. "cusbankname": {
  34520. "description": "银行业务名称",
  34521. "type": "string"
  34522. },
  34523. "cusbankshortname": {
  34524. "description": "银行业务简称",
  34525. "type": "string"
  34526. },
  34527. "exchbankid": {
  34528. "description": "交易所开户银行ID",
  34529. "type": "string"
  34530. },
  34531. "exchpaybankaccname": {
  34532. "description": "交易所支出结算账户户名",
  34533. "type": "string"
  34534. },
  34535. "exchpaybankaccno": {
  34536. "description": "交易所支出结算账户",
  34537. "type": "string"
  34538. },
  34539. "isneedcheck": {
  34540. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  34541. "type": "integer"
  34542. },
  34543. "isneedclear": {
  34544. "description": "是否需要清算 - 0:不需要 1:需要",
  34545. "type": "integer"
  34546. },
  34547. "lastcheckstatus": {
  34548. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  34549. "type": "integer"
  34550. },
  34551. "lastchecktime": {
  34552. "description": "最后对账时间",
  34553. "type": "string"
  34554. },
  34555. "lastclearstatus": {
  34556. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  34557. "type": "integer"
  34558. },
  34559. "lastcleartime": {
  34560. "description": "最后清算时间",
  34561. "type": "string"
  34562. },
  34563. "lastsignintime": {
  34564. "description": "最后签到时间",
  34565. "type": "string"
  34566. },
  34567. "lastsignouttime": {
  34568. "description": "最后签退时间",
  34569. "type": "string"
  34570. },
  34571. "riskinfo": {
  34572. "description": "签约风险提示书",
  34573. "type": "string"
  34574. },
  34575. "signstatus": {
  34576. "description": "当前签到/签退状态 - 1:签到 2:签退",
  34577. "type": "integer"
  34578. },
  34579. "tradedate": {
  34580. "description": "交易日(yyyyMMdd)",
  34581. "type": "string"
  34582. },
  34583. "updatetime": {
  34584. "description": "当前签到/签退更新时间",
  34585. "type": "string"
  34586. }
  34587. }
  34588. },
  34589. "models.QhjCustomer": {
  34590. "type": "object",
  34591. "properties": {
  34592. "address": {
  34593. "description": "通讯地址",
  34594. "type": "string"
  34595. },
  34596. "attachment1": {
  34597. "description": "附件1",
  34598. "type": "string"
  34599. },
  34600. "attachment2": {
  34601. "description": "附件2",
  34602. "type": "string"
  34603. },
  34604. "audittime": {
  34605. "description": "审核时间",
  34606. "type": "string"
  34607. },
  34608. "cardbackphotourl": {
  34609. "description": "证件反面图片地址",
  34610. "type": "string"
  34611. },
  34612. "cardfrontphotourl": {
  34613. "description": "证件正面图片地址",
  34614. "type": "string"
  34615. },
  34616. "cardnum": {
  34617. "description": "证件号码",
  34618. "type": "string"
  34619. },
  34620. "cardtype": {
  34621. "description": "证件类型",
  34622. "type": "integer"
  34623. },
  34624. "cardtypename": {
  34625. "description": "证件类型名称",
  34626. "type": "string"
  34627. },
  34628. "cityid": {
  34629. "description": "市",
  34630. "type": "integer"
  34631. },
  34632. "cityname": {
  34633. "description": "城市名称",
  34634. "type": "string"
  34635. },
  34636. "contactname": {
  34637. "description": "联系人",
  34638. "type": "string"
  34639. },
  34640. "countryid": {
  34641. "description": "国家",
  34642. "type": "integer"
  34643. },
  34644. "countryname": {
  34645. "description": "国家名称",
  34646. "type": "string"
  34647. },
  34648. "createtime": {
  34649. "description": "创建时间",
  34650. "type": "string"
  34651. },
  34652. "customername": {
  34653. "description": "客户名称",
  34654. "type": "string"
  34655. },
  34656. "districtid": {
  34657. "description": "区域",
  34658. "type": "integer"
  34659. },
  34660. "districtname": {
  34661. "description": "地区名称",
  34662. "type": "string"
  34663. },
  34664. "email": {
  34665. "description": "邮件",
  34666. "type": "string"
  34667. },
  34668. "legalpersonname": {
  34669. "description": "法人姓名(企业)",
  34670. "type": "string"
  34671. },
  34672. "logincode": {
  34673. "description": "登录账号(代码)",
  34674. "type": "string"
  34675. },
  34676. "memberuserid": {
  34677. "description": "所属机构ID(所属会员)",
  34678. "type": "integer"
  34679. },
  34680. "memberusername": {
  34681. "description": "所属会员名称",
  34682. "type": "string"
  34683. },
  34684. "mobile": {
  34685. "description": "手机号码",
  34686. "type": "string"
  34687. },
  34688. "modifytime": {
  34689. "description": "修改时间",
  34690. "type": "string"
  34691. },
  34692. "nickname": {
  34693. "description": "昵称",
  34694. "type": "string"
  34695. },
  34696. "parentuserid": {
  34697. "description": "上级机构(所属机构)",
  34698. "type": "integer"
  34699. },
  34700. "parentusername": {
  34701. "description": "所属机构名称",
  34702. "type": "string"
  34703. },
  34704. "provinceid": {
  34705. "description": "省",
  34706. "type": "integer"
  34707. },
  34708. "provincename": {
  34709. "description": "省名称",
  34710. "type": "string"
  34711. },
  34712. "proxystatementurl": {
  34713. "description": "授权委托书",
  34714. "type": "string"
  34715. },
  34716. "remark": {
  34717. "description": "备注",
  34718. "type": "string"
  34719. },
  34720. "status": {
  34721. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  34722. "type": "integer"
  34723. },
  34724. "statusdesc": {
  34725. "description": "账户状态中文描述",
  34726. "type": "string"
  34727. },
  34728. "taxpayernum": {
  34729. "description": "纳税人识别号",
  34730. "type": "string"
  34731. },
  34732. "telphone": {
  34733. "description": "联系电话",
  34734. "type": "string"
  34735. },
  34736. "userid": {
  34737. "description": "用户ID",
  34738. "type": "integer"
  34739. },
  34740. "userinfotype": {
  34741. "description": "客户类型 1-个人 2-企业",
  34742. "type": "integer"
  34743. },
  34744. "username": {
  34745. "description": "用户名称",
  34746. "type": "string"
  34747. }
  34748. }
  34749. },
  34750. "models.QhjCustomerSignLog": {
  34751. "type": "object",
  34752. "properties": {
  34753. "agreementcontent": {
  34754. "description": "协议内容",
  34755. "type": "string"
  34756. },
  34757. "agreementid": {
  34758. "description": "协议ID",
  34759. "type": "integer"
  34760. },
  34761. "agreementname": {
  34762. "description": "协议名称",
  34763. "type": "string"
  34764. },
  34765. "agreementno": {
  34766. "description": "协议编号",
  34767. "type": "string"
  34768. },
  34769. "agreementtype": {
  34770. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34771. "type": "integer"
  34772. },
  34773. "agreementversion": {
  34774. "description": "协议版本号",
  34775. "type": "integer"
  34776. },
  34777. "createtime": {
  34778. "description": "创建时间",
  34779. "type": "string"
  34780. },
  34781. "goodscode": {
  34782. "description": "商品代码",
  34783. "type": "string"
  34784. },
  34785. "goodsid": {
  34786. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  34787. "type": "integer"
  34788. },
  34789. "goodsname": {
  34790. "description": "商品名称",
  34791. "type": "string"
  34792. },
  34793. "logid": {
  34794. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  34795. "type": "integer"
  34796. },
  34797. "nodetype": {
  34798. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  34799. "type": "integer"
  34800. },
  34801. "signadressurl": {
  34802. "description": "签约文件地址",
  34803. "type": "string"
  34804. },
  34805. "signtimestamp": {
  34806. "description": "签约状态时间戳",
  34807. "type": "string"
  34808. },
  34809. "userid": {
  34810. "description": "客户ID",
  34811. "type": "integer"
  34812. },
  34813. "username": {
  34814. "description": "客户名称",
  34815. "type": "string"
  34816. }
  34817. }
  34818. },
  34819. "models.QhjCustomerSignStatus": {
  34820. "type": "object",
  34821. "properties": {
  34822. "createtime": {
  34823. "description": "创建时间",
  34824. "type": "string"
  34825. },
  34826. "goodscode": {
  34827. "description": "商品代码",
  34828. "type": "string"
  34829. },
  34830. "goodsid": {
  34831. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  34832. "type": "integer"
  34833. },
  34834. "goodsname": {
  34835. "description": "商品名称",
  34836. "type": "string"
  34837. },
  34838. "nodetype": {
  34839. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  34840. "type": "integer"
  34841. },
  34842. "signtimestamp": {
  34843. "description": "签约状态时间戳",
  34844. "type": "string"
  34845. },
  34846. "tradedate": {
  34847. "description": "创建交易日(yyyyMMdd)",
  34848. "type": "string"
  34849. },
  34850. "updatetime": {
  34851. "description": "更新时间",
  34852. "type": "string"
  34853. },
  34854. "userid": {
  34855. "description": "客户ID",
  34856. "type": "integer"
  34857. },
  34858. "username": {
  34859. "description": "客户名称",
  34860. "type": "string"
  34861. }
  34862. }
  34863. },
  34864. "models.QhjMgrAccountOutInApply": {
  34865. "type": "object",
  34866. "properties": {
  34867. "accountcode": {
  34868. "description": "资金账号",
  34869. "type": "string"
  34870. },
  34871. "accountname": {
  34872. "description": "用户名称(名称)",
  34873. "type": "string"
  34874. },
  34875. "accountpwd": {
  34876. "description": "资金密码",
  34877. "type": "string"
  34878. },
  34879. "accountticket": {
  34880. "description": "最新账户服务流水号",
  34881. "type": "string"
  34882. },
  34883. "amount": {
  34884. "description": "金额",
  34885. "type": "number"
  34886. },
  34887. "applyremark": {
  34888. "description": "申请备注",
  34889. "type": "string"
  34890. },
  34891. "applystatus": {
  34892. "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: 复审通过,账户冻结金额检查中;",
  34893. "type": "integer"
  34894. },
  34895. "auditid": {
  34896. "description": "审核人",
  34897. "type": "integer"
  34898. },
  34899. "audittime": {
  34900. "description": "审核时间",
  34901. "type": "string"
  34902. },
  34903. "bank_apply_ticket": {
  34904. "description": "银行申请流水",
  34905. "type": "string"
  34906. },
  34907. "bankaccountname": {
  34908. "description": "银行账户名",
  34909. "type": "string"
  34910. },
  34911. "bankaccountno": {
  34912. "description": "银行卡号",
  34913. "type": "string"
  34914. },
  34915. "bankid": {
  34916. "description": "银行编号",
  34917. "type": "string"
  34918. },
  34919. "bankname": {
  34920. "description": "银行名称",
  34921. "type": "string"
  34922. },
  34923. "bankticket": {
  34924. "description": "银行流水",
  34925. "type": "string"
  34926. },
  34927. "branchbankid": {
  34928. "description": "银行支行号",
  34929. "type": "string"
  34930. },
  34931. "branchbankname": {
  34932. "description": "银行支行名称",
  34933. "type": "string"
  34934. },
  34935. "capamountout": {
  34936. "description": "出金(劣后本金) - 外部子账户",
  34937. "type": "number"
  34938. },
  34939. "certificatephotourl": {
  34940. "description": "凭证地址",
  34941. "type": "string"
  34942. },
  34943. "charge": {
  34944. "description": "手续费",
  34945. "type": "number"
  34946. },
  34947. "checkerrorflag": {
  34948. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  34949. "type": "integer"
  34950. },
  34951. "currency": {
  34952. "description": "币种",
  34953. "type": "string"
  34954. },
  34955. "cusbankid": {
  34956. "description": "托管银行编号",
  34957. "type": "string"
  34958. },
  34959. "exchticket": {
  34960. "description": "银行服务流水号",
  34961. "type": "string"
  34962. },
  34963. "executetype": {
  34964. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  34965. "type": "integer"
  34966. },
  34967. "extendinfo": {
  34968. "description": "扩展信息",
  34969. "type": "string"
  34970. },
  34971. "extoperateid": {
  34972. "description": "交易服务流水号",
  34973. "type": "integer"
  34974. },
  34975. "infamount": {
  34976. "description": "劣后金额(自有)",
  34977. "type": "number"
  34978. },
  34979. "logincode": {
  34980. "description": "登录账号(账号)",
  34981. "type": "string"
  34982. },
  34983. "netaddr": {
  34984. "description": "调转网址",
  34985. "type": "string"
  34986. },
  34987. "priamount": {
  34988. "description": "优先金额(授信)",
  34989. "type": "number"
  34990. },
  34991. "reauditid": {
  34992. "description": "复审人",
  34993. "type": "integer"
  34994. },
  34995. "reauditremark": {
  34996. "description": "复审备注",
  34997. "type": "string"
  34998. },
  34999. "reaudittime": {
  35000. "description": "复审时间",
  35001. "type": "string"
  35002. },
  35003. "relatedorderid": {
  35004. "description": "三方关联ID",
  35005. "type": "string"
  35006. },
  35007. "remark": {
  35008. "description": "备注",
  35009. "type": "string"
  35010. },
  35011. "remark2": {
  35012. "description": "备注(失败原因)",
  35013. "type": "string"
  35014. },
  35015. "soucreamount": {
  35016. "description": "原始出入金金额",
  35017. "type": "number"
  35018. },
  35019. "soucrecurrencyid": {
  35020. "description": "原始出入金币种",
  35021. "type": "integer"
  35022. },
  35023. "tradedate": {
  35024. "description": "交易日(yyyyMMdd)",
  35025. "type": "string"
  35026. },
  35027. "updatetime": {
  35028. "description": "更新时间(申请时间)",
  35029. "type": "string"
  35030. },
  35031. "userid": {
  35032. "description": "用户id",
  35033. "type": "integer"
  35034. },
  35035. "userinfotype": {
  35036. "description": "账户类型 1-个人 2-企业",
  35037. "type": "integer"
  35038. }
  35039. }
  35040. },
  35041. "models.QhjMgrBrokerApply": {
  35042. "type": "object",
  35043. "properties": {
  35044. "applicantid": {
  35045. "description": "申请人",
  35046. "type": "integer"
  35047. },
  35048. "applysrc": {
  35049. "description": "申请来源 - 1:管理端 2:终端",
  35050. "type": "integer"
  35051. },
  35052. "applystatus": {
  35053. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  35054. "type": "integer"
  35055. },
  35056. "applytime": {
  35057. "description": "申请时间",
  35058. "type": "string"
  35059. },
  35060. "auditorid": {
  35061. "description": "审核人",
  35062. "type": "integer"
  35063. },
  35064. "auditremark": {
  35065. "description": "审核备注",
  35066. "type": "string"
  35067. },
  35068. "auditsrc": {
  35069. "description": "审核来源 - 1:管理端 2:终端",
  35070. "type": "integer"
  35071. },
  35072. "audittime": {
  35073. "description": "审核时间",
  35074. "type": "string"
  35075. },
  35076. "audittradedate": {
  35077. "description": "审核交易日(yyyyMMdd)",
  35078. "type": "string"
  35079. },
  35080. "brokerapplyid": {
  35081. "description": "申请ID(SEQ_BROKERAPPLY)",
  35082. "type": "integer"
  35083. },
  35084. "cardbackphotourl": {
  35085. "description": "证件背面图片地址",
  35086. "type": "string"
  35087. },
  35088. "cardfrontphotourl": {
  35089. "description": "证件正面图片地址",
  35090. "type": "string"
  35091. },
  35092. "cardnum": {
  35093. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  35094. "type": "string"
  35095. },
  35096. "customername": {
  35097. "description": "姓名",
  35098. "type": "string"
  35099. },
  35100. "filterstatus": {
  35101. "description": "筛选条件",
  35102. "type": "string"
  35103. },
  35104. "logincode": {
  35105. "description": "登录代码",
  35106. "type": "string"
  35107. },
  35108. "mobile": {
  35109. "description": "手机号码",
  35110. "type": "string"
  35111. },
  35112. "parentuserid": {
  35113. "description": "所属机构id",
  35114. "type": "integer"
  35115. },
  35116. "parentusername": {
  35117. "description": "所属机构名称",
  35118. "type": "string"
  35119. },
  35120. "refereeuserid": {
  35121. "description": "推荐人id(经纪人)",
  35122. "type": "integer"
  35123. },
  35124. "refernum": {
  35125. "description": "推荐码",
  35126. "type": "string"
  35127. },
  35128. "remark": {
  35129. "description": "备注",
  35130. "type": "string"
  35131. },
  35132. "subarealevelpath": {
  35133. "description": "层级路径",
  35134. "type": "string"
  35135. },
  35136. "tradedate": {
  35137. "description": "交易日(yyyyMMdd)",
  35138. "type": "string"
  35139. },
  35140. "userid": {
  35141. "description": "申请人用户ID",
  35142. "type": "integer"
  35143. },
  35144. "userinfotype": {
  35145. "description": "用户类型 1-个人 2-企业",
  35146. "type": "integer"
  35147. },
  35148. "username": {
  35149. "description": "用户名称",
  35150. "type": "string"
  35151. }
  35152. }
  35153. },
  35154. "models.QhjMgrBrokerRewardReport": {
  35155. "type": "object",
  35156. "properties": {
  35157. "createtime": {
  35158. "description": "创建时间(注册时间)",
  35159. "type": "string"
  35160. },
  35161. "cycletime": {
  35162. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  35163. "type": "string"
  35164. },
  35165. "cycletype": {
  35166. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  35167. "type": "integer"
  35168. },
  35169. "directtotalnum": {
  35170. "description": "直推总人数【期末】",
  35171. "type": "integer"
  35172. },
  35173. "indirecttotalnum": {
  35174. "description": "间推总人数【期末】",
  35175. "type": "integer"
  35176. },
  35177. "mobile": {
  35178. "description": "电话号码",
  35179. "type": "string"
  35180. },
  35181. "refereeuserid": {
  35182. "description": "推荐人id(经纪人id)",
  35183. "type": "integer"
  35184. },
  35185. "refereeusername": {
  35186. "description": "推荐人名称(经纪人) 上级经纪人名称",
  35187. "type": "string"
  35188. },
  35189. "refernum": {
  35190. "description": "推荐码",
  35191. "type": "string"
  35192. },
  35193. "subarealevelpath": {
  35194. "description": "用户层级路径",
  35195. "type": "string"
  35196. },
  35197. "todayrewardamount": {
  35198. "description": "奖励总金额【汇总】",
  35199. "type": "number"
  35200. },
  35201. "updatetime": {
  35202. "description": "更新时间",
  35203. "type": "string"
  35204. },
  35205. "userid": {
  35206. "description": "经纪人用户ID",
  35207. "type": "integer"
  35208. },
  35209. "userinfotype": {
  35210. "description": "用户类型 1-个人 2-企业",
  35211. "type": "integer"
  35212. },
  35213. "username": {
  35214. "description": "用户名称",
  35215. "type": "string"
  35216. }
  35217. }
  35218. },
  35219. "models.QhjMgrContract": {
  35220. "type": "object",
  35221. "properties": {
  35222. "contractconfirmtime": {
  35223. "description": "合同确认时间(时间)",
  35224. "type": "string"
  35225. },
  35226. "currisklevel": {
  35227. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  35228. "type": "integer"
  35229. },
  35230. "decimalplace": {
  35231. "description": "商品报价小数位",
  35232. "type": "integer"
  35233. },
  35234. "enumdicname": {
  35235. "description": "单位名称",
  35236. "type": "string"
  35237. },
  35238. "goodscode": {
  35239. "description": "商品代码",
  35240. "type": "string"
  35241. },
  35242. "goodsid": {
  35243. "description": "商品ID [5:融资单]",
  35244. "type": "integer"
  35245. },
  35246. "goodsname": {
  35247. "description": "商品名称",
  35248. "type": "string"
  35249. },
  35250. "goodunitid": {
  35251. "description": "商品单位id",
  35252. "type": "integer"
  35253. },
  35254. "initmargin": {
  35255. "description": "初始保证金(首付款)",
  35256. "type": "number"
  35257. },
  35258. "lenderamount": {
  35259. "description": "贷款金额(总额|订单总额)",
  35260. "type": "number"
  35261. },
  35262. "logincode": {
  35263. "description": "账号(登录代码)",
  35264. "type": "string"
  35265. },
  35266. "marginratio": {
  35267. "description": "保证金比率(首付比例)",
  35268. "type": "number"
  35269. },
  35270. "mobile": {
  35271. "description": "电话号码(用户资料里的电话)",
  35272. "type": "string"
  35273. },
  35274. "payamount": {
  35275. "description": "已付(已付货款)",
  35276. "type": "number"
  35277. },
  35278. "reckonrecovermargin": {
  35279. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  35280. "type": "number"
  35281. },
  35282. "recoveredmargin": {
  35283. "description": "已追缴保证金",
  35284. "type": "number"
  35285. },
  35286. "remainamount": {
  35287. "description": "合同剩余金额(融资额)",
  35288. "type": "number"
  35289. },
  35290. "scfcontractid": {
  35291. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  35292. "type": "string"
  35293. },
  35294. "scfcontractstatus": {
  35295. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  35296. "type": "integer"
  35297. },
  35298. "scfcontracttype": {
  35299. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  35300. "type": "integer"
  35301. },
  35302. "totalinterest": {
  35303. "description": "已计总利息(利息)",
  35304. "type": "number"
  35305. },
  35306. "tradedate": {
  35307. "description": "交易日",
  35308. "type": "string"
  35309. },
  35310. "tradeprice": {
  35311. "description": "成交价格(成本价格)",
  35312. "type": "number"
  35313. },
  35314. "userid": {
  35315. "description": "用户ID",
  35316. "type": "integer"
  35317. },
  35318. "userinfotype": {
  35319. "description": "用户类型 1-个人 2-企业",
  35320. "type": "integer"
  35321. },
  35322. "username": {
  35323. "description": "用户名称",
  35324. "type": "string"
  35325. },
  35326. "wrqty": {
  35327. "description": "仓单数量(数量)",
  35328. "type": "number"
  35329. }
  35330. }
  35331. },
  35332. "models.QhjMgrCustomer": {
  35333. "type": "object",
  35334. "properties": {
  35335. "address": {
  35336. "description": "通讯地址",
  35337. "type": "string"
  35338. },
  35339. "attachment1": {
  35340. "description": "附件1",
  35341. "type": "string"
  35342. },
  35343. "audittime": {
  35344. "description": "审核时间",
  35345. "type": "string"
  35346. },
  35347. "birthday": {
  35348. "description": "生日",
  35349. "type": "string"
  35350. },
  35351. "brokerid": {
  35352. "description": "所属客户经理id",
  35353. "type": "integer"
  35354. },
  35355. "brokername": {
  35356. "description": "所属客户经理名称",
  35357. "type": "string"
  35358. },
  35359. "cardbackphotourl": {
  35360. "description": "证件反面图片地址",
  35361. "type": "string"
  35362. },
  35363. "cardfrontphotourl": {
  35364. "description": "证件正面图片地址",
  35365. "type": "string"
  35366. },
  35367. "cardnum": {
  35368. "description": "证件号码",
  35369. "type": "string"
  35370. },
  35371. "cardtype": {
  35372. "description": "证件类型",
  35373. "type": "integer"
  35374. },
  35375. "cardtypename": {
  35376. "description": "证件类型名称",
  35377. "type": "string"
  35378. },
  35379. "cityid": {
  35380. "description": "市",
  35381. "type": "integer"
  35382. },
  35383. "cityname": {
  35384. "description": "城市名称",
  35385. "type": "string"
  35386. },
  35387. "contactname": {
  35388. "description": "联系人",
  35389. "type": "string"
  35390. },
  35391. "countryid": {
  35392. "description": "国家",
  35393. "type": "integer"
  35394. },
  35395. "countryname": {
  35396. "description": "国家名称",
  35397. "type": "string"
  35398. },
  35399. "createtime": {
  35400. "description": "创建时间",
  35401. "type": "string"
  35402. },
  35403. "customername": {
  35404. "description": "客户名称",
  35405. "type": "string"
  35406. },
  35407. "districtid": {
  35408. "description": "区域",
  35409. "type": "integer"
  35410. },
  35411. "districtname": {
  35412. "description": "地区名称",
  35413. "type": "string"
  35414. },
  35415. "email": {
  35416. "description": "邮件",
  35417. "type": "string"
  35418. },
  35419. "legalpersonname": {
  35420. "description": "法人姓名(企业)",
  35421. "type": "string"
  35422. },
  35423. "logincode": {
  35424. "description": "登录账号(代码)",
  35425. "type": "string"
  35426. },
  35427. "memberuserid": {
  35428. "description": "所属机构ID(所属会员)",
  35429. "type": "integer"
  35430. },
  35431. "memberusername": {
  35432. "description": "所属会员名称",
  35433. "type": "string"
  35434. },
  35435. "mobile": {
  35436. "description": "手机号码",
  35437. "type": "string"
  35438. },
  35439. "modifytime": {
  35440. "description": "修改时间",
  35441. "type": "string"
  35442. },
  35443. "nickname": {
  35444. "description": "昵称",
  35445. "type": "string"
  35446. },
  35447. "parentuserid": {
  35448. "description": "上级机构(所属机构)",
  35449. "type": "integer"
  35450. },
  35451. "parentusername": {
  35452. "description": "所属机构名称",
  35453. "type": "string"
  35454. },
  35455. "provinceid": {
  35456. "description": "省",
  35457. "type": "integer"
  35458. },
  35459. "provincename": {
  35460. "description": "省名称",
  35461. "type": "string"
  35462. },
  35463. "proxystatementurl": {
  35464. "description": "授权委托书",
  35465. "type": "string"
  35466. },
  35467. "querytype": {
  35468. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  35469. "type": "integer"
  35470. },
  35471. "remark": {
  35472. "description": "备注",
  35473. "type": "string"
  35474. },
  35475. "sex": {
  35476. "description": "性别 0-女 1-男",
  35477. "type": "integer"
  35478. },
  35479. "status": {
  35480. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  35481. "type": "integer"
  35482. },
  35483. "statusdesc": {
  35484. "description": "账户状态中文描述",
  35485. "type": "string"
  35486. },
  35487. "taxpayernum": {
  35488. "description": "纳税人识别号",
  35489. "type": "string"
  35490. },
  35491. "telphone": {
  35492. "description": "联系电话",
  35493. "type": "string"
  35494. },
  35495. "userid": {
  35496. "description": "用户ID",
  35497. "type": "integer"
  35498. },
  35499. "userinfotype": {
  35500. "description": "客户类型 1-个人 2-企业",
  35501. "type": "integer"
  35502. },
  35503. "username": {
  35504. "description": "用户名称",
  35505. "type": "string"
  35506. }
  35507. }
  35508. },
  35509. "models.QhjMgrPickGoods": {
  35510. "type": "object",
  35511. "properties": {
  35512. "enumdicname": {
  35513. "description": "单位名称(提货商品)",
  35514. "type": "string"
  35515. },
  35516. "goodsid": {
  35517. "description": "商品id",
  35518. "type": "integer"
  35519. },
  35520. "imageaddress": {
  35521. "description": "图片",
  35522. "type": "string"
  35523. },
  35524. "modifierid": {
  35525. "description": "修改人",
  35526. "type": "integer"
  35527. },
  35528. "modifiername": {
  35529. "description": "修改人名称",
  35530. "type": "string"
  35531. },
  35532. "modifysrc": {
  35533. "description": "修改来源 - 1:管理端 2:终端",
  35534. "type": "integer"
  35535. },
  35536. "pickupgoodsagreeunit": {
  35537. "description": "合约乘数",
  35538. "type": "number"
  35539. },
  35540. "pickupgoodsdesc": {
  35541. "description": "描述",
  35542. "type": "string"
  35543. },
  35544. "pickupgoodsid": {
  35545. "description": "提货商品ID",
  35546. "type": "string"
  35547. },
  35548. "pickupgoodsname": {
  35549. "description": "提货商品名称",
  35550. "type": "string"
  35551. },
  35552. "pickupgoodsstatus": {
  35553. "description": "状态 - 1:正常 2:停用 3:注销",
  35554. "type": "integer"
  35555. },
  35556. "pickupgoodsunitid": {
  35557. "description": "单位ID",
  35558. "type": "integer"
  35559. },
  35560. "pickupratio": {
  35561. "description": "提货系数",
  35562. "type": "number"
  35563. },
  35564. "preparedays": {
  35565. "description": "备货期(天)",
  35566. "type": "integer"
  35567. },
  35568. "remark": {
  35569. "description": "备注",
  35570. "type": "string"
  35571. },
  35572. "updatetime": {
  35573. "description": "更新时间",
  35574. "type": "string"
  35575. }
  35576. }
  35577. },
  35578. "models.QhjMgrPositionRsp": {
  35579. "type": "object",
  35580. "properties": {
  35581. "accountid": {
  35582. "description": "账号Id",
  35583. "type": "integer"
  35584. },
  35585. "accountname": {
  35586. "description": "用户名称",
  35587. "type": "string"
  35588. },
  35589. "agreeunit": {
  35590. "description": "合约乘数",
  35591. "type": "number"
  35592. },
  35593. "averageprice": {
  35594. "description": "均价",
  35595. "type": "number"
  35596. },
  35597. "avialqty": {
  35598. "description": "可用数量",
  35599. "type": "number"
  35600. },
  35601. "decimalplace": {
  35602. "description": "报价小数位",
  35603. "type": "integer"
  35604. },
  35605. "enumdicname": {
  35606. "description": "单位名称(商品)",
  35607. "type": "string"
  35608. },
  35609. "frozenqty": {
  35610. "description": "冻结数量",
  35611. "type": "number"
  35612. },
  35613. "goodscode": {
  35614. "description": "商品代码(内部)",
  35615. "type": "string"
  35616. },
  35617. "goodsid": {
  35618. "description": "商品Id",
  35619. "type": "integer"
  35620. },
  35621. "goodsname": {
  35622. "description": "商品名称",
  35623. "type": "string"
  35624. },
  35625. "goodunitid": {
  35626. "description": "报价单位ID",
  35627. "type": "integer"
  35628. },
  35629. "holderamount": {
  35630. "description": "金额",
  35631. "type": "number"
  35632. },
  35633. "holderqty": {
  35634. "description": "持有数量",
  35635. "type": "number"
  35636. },
  35637. "holdertype": {
  35638. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  35639. "type": "integer"
  35640. },
  35641. "logincode": {
  35642. "description": "登录代码(账户)",
  35643. "type": "string"
  35644. },
  35645. "marketid": {
  35646. "description": "市场id",
  35647. "type": "integer"
  35648. },
  35649. "qtydecimalplace": {
  35650. "description": "成交量小数位",
  35651. "type": "integer"
  35652. },
  35653. "trademode": {
  35654. "description": "交易模式",
  35655. "type": "integer"
  35656. },
  35657. "userid": {
  35658. "description": "用户id",
  35659. "type": "integer"
  35660. },
  35661. "userinfotype": {
  35662. "description": "账户类型 1-个人 2-企业",
  35663. "type": "integer"
  35664. }
  35665. }
  35666. },
  35667. "models.QhjMgrSubArea": {
  35668. "type": "object",
  35669. "properties": {
  35670. "accountname": {
  35671. "description": "账户名称(机构名称)",
  35672. "type": "string"
  35673. },
  35674. "memberuserid": {
  35675. "description": "所属会员ID",
  35676. "type": "integer"
  35677. },
  35678. "parenttopuser": {
  35679. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  35680. "type": "string"
  35681. },
  35682. "parentuserid": {
  35683. "description": "所属机构ID",
  35684. "type": "integer"
  35685. },
  35686. "rootuserid": {
  35687. "description": "根用户ID",
  35688. "type": "string"
  35689. },
  35690. "subaccountlevel": {
  35691. "description": "子账户层数",
  35692. "type": "integer"
  35693. },
  35694. "subarealevelpath": {
  35695. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  35696. "type": "string"
  35697. },
  35698. "userid": {
  35699. "description": "用户ID",
  35700. "type": "integer"
  35701. },
  35702. "usertype": {
  35703. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  35704. "type": "integer"
  35705. }
  35706. }
  35707. },
  35708. "models.QhjMgrTradeDetailRsp": {
  35709. "type": "object",
  35710. "properties": {
  35711. "accountid": {
  35712. "description": "资金账号",
  35713. "type": "integer"
  35714. },
  35715. "accountname": {
  35716. "description": "用户名称",
  35717. "type": "string"
  35718. },
  35719. "agreeunit": {
  35720. "description": "合约乘数",
  35721. "type": "number"
  35722. },
  35723. "buyorsell": {
  35724. "description": "成交类型(方向) 0:买 1:卖",
  35725. "type": "integer"
  35726. },
  35727. "decimalplace": {
  35728. "description": "报价小数位",
  35729. "type": "integer"
  35730. },
  35731. "enumdicname": {
  35732. "description": "单位名称(商品)",
  35733. "type": "string"
  35734. },
  35735. "goodscode": {
  35736. "description": "商品代码(内部)",
  35737. "type": "string"
  35738. },
  35739. "goodsid": {
  35740. "description": "商品id",
  35741. "type": "integer"
  35742. },
  35743. "goodsname": {
  35744. "description": "商品名称",
  35745. "type": "string"
  35746. },
  35747. "goodunitid": {
  35748. "description": "报价单位ID",
  35749. "type": "integer"
  35750. },
  35751. "logincode": {
  35752. "description": "登录代码(账户)",
  35753. "type": "string"
  35754. },
  35755. "marketid": {
  35756. "description": "市场id",
  35757. "type": "integer"
  35758. },
  35759. "orderid": {
  35760. "description": "关联委托单号",
  35761. "type": "string"
  35762. },
  35763. "qtydecimalplace": {
  35764. "description": "成交量小数位",
  35765. "type": "integer"
  35766. },
  35767. "tradeamount": {
  35768. "description": "金额",
  35769. "type": "number"
  35770. },
  35771. "tradedate": {
  35772. "description": "交易日",
  35773. "type": "string"
  35774. },
  35775. "tradeid": {
  35776. "description": "成交单号",
  35777. "type": "string"
  35778. },
  35779. "trademode": {
  35780. "description": "交易模式",
  35781. "type": "integer"
  35782. },
  35783. "tradeprice": {
  35784. "description": "价格",
  35785. "type": "number"
  35786. },
  35787. "tradeqty": {
  35788. "description": "数量",
  35789. "type": "number"
  35790. },
  35791. "tradetime": {
  35792. "description": "成交时间",
  35793. "type": "string"
  35794. },
  35795. "userid": {
  35796. "description": "用户id",
  35797. "type": "integer"
  35798. },
  35799. "userinfotype": {
  35800. "description": "账户类型 1-个人 2-企业",
  35801. "type": "integer"
  35802. }
  35803. }
  35804. },
  35805. "models.QhjMgrTradeOrderDetailRsp": {
  35806. "type": "object",
  35807. "properties": {
  35808. "accountid": {
  35809. "description": "资金账号",
  35810. "type": "integer"
  35811. },
  35812. "accountname": {
  35813. "description": "用户名称",
  35814. "type": "string"
  35815. },
  35816. "agreeunit": {
  35817. "description": "合约乘数",
  35818. "type": "number"
  35819. },
  35820. "amount": {
  35821. "description": "金额",
  35822. "type": "number"
  35823. },
  35824. "decimalplace": {
  35825. "description": "报价小数位",
  35826. "type": "integer"
  35827. },
  35828. "enumdicname": {
  35829. "description": "单位名称(商品)",
  35830. "type": "string"
  35831. },
  35832. "goodscode": {
  35833. "description": "商品代码(内部)",
  35834. "type": "string"
  35835. },
  35836. "goodsid": {
  35837. "description": "商品id",
  35838. "type": "integer"
  35839. },
  35840. "goodsname": {
  35841. "description": "商品名称",
  35842. "type": "string"
  35843. },
  35844. "goodunitid": {
  35845. "description": "报价单位ID",
  35846. "type": "integer"
  35847. },
  35848. "logincode": {
  35849. "description": "登录代码(账户)",
  35850. "type": "string"
  35851. },
  35852. "marketid": {
  35853. "description": "市场id",
  35854. "type": "integer"
  35855. },
  35856. "orderid": {
  35857. "description": "关联委托单号",
  35858. "type": "string"
  35859. },
  35860. "orderprice": {
  35861. "description": "价格",
  35862. "type": "number"
  35863. },
  35864. "orderqty": {
  35865. "description": "数量",
  35866. "type": "number"
  35867. },
  35868. "orderstatus": {
  35869. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  35870. "type": "integer"
  35871. },
  35872. "ordertime": {
  35873. "description": "委托时间",
  35874. "type": "string"
  35875. },
  35876. "qtydecimalplace": {
  35877. "description": "成交量小数位",
  35878. "type": "integer"
  35879. },
  35880. "tradedate": {
  35881. "description": "交易日",
  35882. "type": "string"
  35883. },
  35884. "trademode": {
  35885. "description": "交易模式",
  35886. "type": "integer"
  35887. },
  35888. "userid": {
  35889. "description": "用户id",
  35890. "type": "integer"
  35891. },
  35892. "userinfotype": {
  35893. "description": "账户类型 1-个人 2-企业",
  35894. "type": "integer"
  35895. }
  35896. }
  35897. },
  35898. "models.QhjMgrTradePayOrder": {
  35899. "type": "object",
  35900. "properties": {
  35901. "accountname": {
  35902. "description": "用户名称",
  35903. "type": "string"
  35904. },
  35905. "advanceratio": {
  35906. "description": "首付比率",
  35907. "type": "number"
  35908. },
  35909. "agreeunit": {
  35910. "description": "合约乘数",
  35911. "type": "number"
  35912. },
  35913. "buyaccountid": {
  35914. "description": "买方账号ID[报价币种]",
  35915. "type": "integer"
  35916. },
  35917. "buyorderid": {
  35918. "description": "买方委托单号(关联单号)",
  35919. "type": "string"
  35920. },
  35921. "createtime": {
  35922. "description": "创建时间",
  35923. "type": "string"
  35924. },
  35925. "decimalplace": {
  35926. "description": "报价小数位",
  35927. "type": "integer"
  35928. },
  35929. "enumdicname": {
  35930. "description": "单位名称(商品)",
  35931. "type": "string"
  35932. },
  35933. "goodscode": {
  35934. "description": "商品代码(内部)",
  35935. "type": "string"
  35936. },
  35937. "goodsid": {
  35938. "description": "商品ID",
  35939. "type": "integer"
  35940. },
  35941. "goodsname": {
  35942. "description": "商品名称",
  35943. "type": "string"
  35944. },
  35945. "goodunitid": {
  35946. "description": "报价单位ID",
  35947. "type": "integer"
  35948. },
  35949. "logincode": {
  35950. "description": "登录代码(账户)",
  35951. "type": "string"
  35952. },
  35953. "marketid": {
  35954. "description": "市场id",
  35955. "type": "integer"
  35956. },
  35957. "offamount": {
  35958. "description": "优惠金额",
  35959. "type": "number"
  35960. },
  35961. "operatetype": {
  35962. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  35963. "type": "integer"
  35964. },
  35965. "payamount": {
  35966. "description": "支付金额(金额)",
  35967. "type": "number"
  35968. },
  35969. "payflag": {
  35970. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  35971. "type": "integer"
  35972. },
  35973. "paylimitedtime": {
  35974. "description": "支付期限",
  35975. "type": "string"
  35976. },
  35977. "paytime": {
  35978. "description": "付款时间",
  35979. "type": "string"
  35980. },
  35981. "qtydecimalplace": {
  35982. "description": "成交量小数位",
  35983. "type": "integer"
  35984. },
  35985. "sellaccountid": {
  35986. "description": "卖方账号ID[报价币种]",
  35987. "type": "integer"
  35988. },
  35989. "sellorderid": {
  35990. "description": "卖方委托单号",
  35991. "type": "string"
  35992. },
  35993. "tradeamount": {
  35994. "description": "成交金额(优惠后金额)",
  35995. "type": "number"
  35996. },
  35997. "tradecharge": {
  35998. "description": "成交手续费(买方)",
  35999. "type": "number"
  36000. },
  36001. "tradedate": {
  36002. "description": "交易日(yyyyMMdd)",
  36003. "type": "string"
  36004. },
  36005. "tradeid": {
  36006. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36007. "type": "string"
  36008. },
  36009. "trademode": {
  36010. "description": "交易模式",
  36011. "type": "integer"
  36012. },
  36013. "tradeprice": {
  36014. "description": "成交价格(价格)",
  36015. "type": "number"
  36016. },
  36017. "tradeqty": {
  36018. "description": "成交数量(数量)",
  36019. "type": "number"
  36020. },
  36021. "tradetime": {
  36022. "description": "成交时间",
  36023. "type": "string"
  36024. },
  36025. "userid": {
  36026. "description": "用户id",
  36027. "type": "integer"
  36028. },
  36029. "userinfotype": {
  36030. "description": "账户类型 1-个人 2-企业",
  36031. "type": "integer"
  36032. }
  36033. }
  36034. },
  36035. "models.QhjMyTeamEx": {
  36036. "type": "object",
  36037. "properties": {
  36038. "accountname": {
  36039. "description": "用户名称",
  36040. "type": "string"
  36041. },
  36042. "accountstatus": {
  36043. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  36044. "type": "integer"
  36045. },
  36046. "createtime": {
  36047. "description": "创建时间",
  36048. "type": "string"
  36049. },
  36050. "mobile": {
  36051. "description": "手机号码",
  36052. "type": "string"
  36053. },
  36054. "refereeuserid": {
  36055. "description": "推荐人id",
  36056. "type": "integer"
  36057. },
  36058. "refernum": {
  36059. "description": "推荐码",
  36060. "type": "string"
  36061. },
  36062. "subList": {
  36063. "type": "array",
  36064. "items": {
  36065. "$ref": "#/definitions/models.QhjMyTeamEx"
  36066. }
  36067. },
  36068. "userid": {
  36069. "description": "用户id",
  36070. "type": "integer"
  36071. },
  36072. "userinfotype": {
  36073. "description": "用户类型 1-个人 2-企业",
  36074. "type": "integer"
  36075. }
  36076. }
  36077. },
  36078. "models.QhjNodeAgreementConfig": {
  36079. "type": "object",
  36080. "properties": {
  36081. "agreementcontent": {
  36082. "description": "协议内容",
  36083. "type": "string"
  36084. },
  36085. "agreementid": {
  36086. "description": "协议ID",
  36087. "type": "integer"
  36088. },
  36089. "agreementname": {
  36090. "description": "协议名称",
  36091. "type": "string"
  36092. },
  36093. "agreementno": {
  36094. "description": "协议编号",
  36095. "type": "string"
  36096. },
  36097. "agreementtype": {
  36098. "description": "协议类型 - 1:注册 2:登录 3:交易",
  36099. "type": "integer"
  36100. },
  36101. "agreementversion": {
  36102. "description": "协议版本号",
  36103. "type": "integer"
  36104. },
  36105. "configid": {
  36106. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  36107. "type": "integer"
  36108. },
  36109. "createtime": {
  36110. "description": "创建时间",
  36111. "type": "string"
  36112. },
  36113. "goodsid": {
  36114. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  36115. "type": "integer"
  36116. },
  36117. "nodetype": {
  36118. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  36119. "type": "integer"
  36120. }
  36121. }
  36122. },
  36123. "models.QhjParentAreaList": {
  36124. "type": "object",
  36125. "properties": {
  36126. "accountname": {
  36127. "description": "账户名称(机构名称)",
  36128. "type": "string"
  36129. },
  36130. "userid": {
  36131. "description": "用户ID",
  36132. "type": "integer"
  36133. },
  36134. "usertype": {
  36135. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  36136. "type": "integer"
  36137. }
  36138. }
  36139. },
  36140. "models.QhjPayOrder": {
  36141. "type": "object",
  36142. "properties": {
  36143. "advanceratio": {
  36144. "description": "首付比率",
  36145. "type": "number"
  36146. },
  36147. "buyaccountid": {
  36148. "description": "买方账号ID[报价币种]",
  36149. "type": "integer"
  36150. },
  36151. "buyorderid": {
  36152. "description": "买方委托单号",
  36153. "type": "string"
  36154. },
  36155. "createtime": {
  36156. "description": "创建时间",
  36157. "type": "string"
  36158. },
  36159. "decimalplace": {
  36160. "description": "商品报价小数位",
  36161. "type": "integer"
  36162. },
  36163. "enumdicname": {
  36164. "description": "单位名称",
  36165. "type": "string"
  36166. },
  36167. "goodscode": {
  36168. "description": "商品代码",
  36169. "type": "string"
  36170. },
  36171. "goodsid": {
  36172. "description": "商品ID",
  36173. "type": "integer"
  36174. },
  36175. "goodsname": {
  36176. "description": "商品名称",
  36177. "type": "string"
  36178. },
  36179. "goodunitid": {
  36180. "description": "商品单位id",
  36181. "type": "integer"
  36182. },
  36183. "marketid": {
  36184. "description": "市场ID",
  36185. "type": "integer"
  36186. },
  36187. "offamount": {
  36188. "description": "优惠金额",
  36189. "type": "number"
  36190. },
  36191. "operatetype": {
  36192. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  36193. "type": "integer"
  36194. },
  36195. "payamount": {
  36196. "description": "支付金额",
  36197. "type": "number"
  36198. },
  36199. "payflag": {
  36200. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  36201. "type": "integer"
  36202. },
  36203. "paylimitedtime": {
  36204. "description": "支付期限",
  36205. "type": "string"
  36206. },
  36207. "paytime": {
  36208. "description": "付款时间",
  36209. "type": "string"
  36210. },
  36211. "qtydecimalplace": {
  36212. "description": "成交量小数位",
  36213. "type": "integer"
  36214. },
  36215. "sellaccountid": {
  36216. "description": "卖方账号ID[报价币种]",
  36217. "type": "integer"
  36218. },
  36219. "sellorderid": {
  36220. "description": "卖方委托单号",
  36221. "type": "string"
  36222. },
  36223. "tradeamount": {
  36224. "description": "成交金额(优惠后金额)",
  36225. "type": "number"
  36226. },
  36227. "tradecharge": {
  36228. "description": "成交手续费(买方)",
  36229. "type": "number"
  36230. },
  36231. "tradedate": {
  36232. "description": "交易日(yyyyMMdd)",
  36233. "type": "string"
  36234. },
  36235. "tradeid": {
  36236. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36237. "type": "string"
  36238. },
  36239. "tradeprice": {
  36240. "description": "成交价格",
  36241. "type": "number"
  36242. },
  36243. "tradeqty": {
  36244. "description": "成交数量",
  36245. "type": "number"
  36246. }
  36247. }
  36248. },
  36249. "models.QhjPickArea": {
  36250. "type": "object",
  36251. "properties": {
  36252. "address": {
  36253. "description": "详细地址",
  36254. "type": "string"
  36255. },
  36256. "cityid": {
  36257. "description": "市",
  36258. "type": "integer"
  36259. },
  36260. "cityname": {
  36261. "description": "城市名称",
  36262. "type": "string"
  36263. },
  36264. "countryid": {
  36265. "description": "国家",
  36266. "type": "integer"
  36267. },
  36268. "countryname": {
  36269. "description": "国家名称",
  36270. "type": "string"
  36271. },
  36272. "districtid": {
  36273. "description": "地区",
  36274. "type": "integer"
  36275. },
  36276. "districtname": {
  36277. "description": "地区名称",
  36278. "type": "string"
  36279. },
  36280. "fromuserid": {
  36281. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  36282. "type": "integer"
  36283. },
  36284. "fromusername": {
  36285. "description": "所属机构名称",
  36286. "type": "string"
  36287. },
  36288. "provinceid": {
  36289. "description": "省",
  36290. "type": "integer"
  36291. },
  36292. "provincename": {
  36293. "description": "省名称",
  36294. "type": "string"
  36295. },
  36296. "suborgtype": {
  36297. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  36298. "type": "integer"
  36299. },
  36300. "userid": {
  36301. "description": "机构用户ID 其他做市关系,都设置为 1",
  36302. "type": "integer"
  36303. },
  36304. "username": {
  36305. "description": "机构用户名称(门店门称)",
  36306. "type": "string"
  36307. }
  36308. }
  36309. },
  36310. "models.QhjPickGoods": {
  36311. "type": "object",
  36312. "properties": {
  36313. "enumdicname": {
  36314. "description": "单位名称(提货商品)",
  36315. "type": "string"
  36316. },
  36317. "goodsid": {
  36318. "description": "商品id",
  36319. "type": "integer"
  36320. },
  36321. "imageaddress": {
  36322. "description": "图片",
  36323. "type": "string"
  36324. },
  36325. "modifierid": {
  36326. "description": "修改人",
  36327. "type": "integer"
  36328. },
  36329. "modifiername": {
  36330. "description": "修改人名称",
  36331. "type": "string"
  36332. },
  36333. "modifysrc": {
  36334. "description": "修改来源 - 1:管理端 2:终端",
  36335. "type": "integer"
  36336. },
  36337. "pickupgoodsagreeunit": {
  36338. "description": "合约乘数",
  36339. "type": "number"
  36340. },
  36341. "pickupgoodsdesc": {
  36342. "description": "描述",
  36343. "type": "string"
  36344. },
  36345. "pickupgoodsid": {
  36346. "description": "提货商品ID",
  36347. "type": "string"
  36348. },
  36349. "pickupgoodsname": {
  36350. "description": "提货商品名称",
  36351. "type": "string"
  36352. },
  36353. "pickupgoodsstatus": {
  36354. "description": "状态 - 1:正常 2:停用 3:注销",
  36355. "type": "integer"
  36356. },
  36357. "pickupgoodsunitid": {
  36358. "description": "单位ID",
  36359. "type": "integer"
  36360. },
  36361. "pickupratio": {
  36362. "description": "提货系数",
  36363. "type": "number"
  36364. },
  36365. "preparedays": {
  36366. "description": "备货期(天)",
  36367. "type": "integer"
  36368. },
  36369. "remark": {
  36370. "description": "备注",
  36371. "type": "string"
  36372. },
  36373. "updatetime": {
  36374. "description": "更新时间",
  36375. "type": "string"
  36376. }
  36377. }
  36378. },
  36379. "models.QhjRSTriggerLog": {
  36380. "type": "object",
  36381. "properties": {
  36382. "accountid": {
  36383. "description": "用户资金账户",
  36384. "type": "integer"
  36385. },
  36386. "accountname": {
  36387. "description": "账号名称(ACCOUNTID对应的名称)",
  36388. "type": "string"
  36389. },
  36390. "currencyid": {
  36391. "description": "币种id",
  36392. "type": "integer"
  36393. },
  36394. "currencyname": {
  36395. "description": "币种名称",
  36396. "type": "string"
  36397. },
  36398. "decimalplace": {
  36399. "description": "商品报价小数位",
  36400. "type": "integer"
  36401. },
  36402. "enumdicname": {
  36403. "description": "单位名称",
  36404. "type": "string"
  36405. },
  36406. "goodscode": {
  36407. "description": "定投商品代码",
  36408. "type": "string"
  36409. },
  36410. "goodsid": {
  36411. "description": "定投商品ID",
  36412. "type": "integer"
  36413. },
  36414. "goodsname": {
  36415. "description": "定投商品名称",
  36416. "type": "string"
  36417. },
  36418. "goodunitid": {
  36419. "description": "定投商品单位id",
  36420. "type": "integer"
  36421. },
  36422. "logid": {
  36423. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  36424. "type": "string"
  36425. },
  36426. "logincode": {
  36427. "description": "账号(登录代码)",
  36428. "type": "string"
  36429. },
  36430. "qtydecimalplace": {
  36431. "description": "成交量小数位",
  36432. "type": "integer"
  36433. },
  36434. "regularlycycle": {
  36435. "description": "定投频率 - 1:每周 2:每月",
  36436. "type": "integer"
  36437. },
  36438. "regularlycyclevalue": {
  36439. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  36440. "type": "string"
  36441. },
  36442. "regularlymode": {
  36443. "description": "定投方式 - 1:按数量 2:按金额",
  36444. "type": "integer"
  36445. },
  36446. "regularlymodevalue": {
  36447. "description": "定投方式值 - 数量或金额",
  36448. "type": "number"
  36449. },
  36450. "regularlystrategyid": {
  36451. "description": "定投策略ID",
  36452. "type": "integer"
  36453. },
  36454. "retcode": {
  36455. "description": "错误码",
  36456. "type": "string"
  36457. },
  36458. "tradeid": {
  36459. "description": "成交单ID",
  36460. "type": "string"
  36461. },
  36462. "triggeramount": {
  36463. "description": "触发金额",
  36464. "type": "number"
  36465. },
  36466. "triggerqty": {
  36467. "description": "触发数量",
  36468. "type": "number"
  36469. },
  36470. "triggerstatus": {
  36471. "description": "触发状态 - 1:成功 2:失败",
  36472. "type": "integer"
  36473. },
  36474. "triggertime": {
  36475. "description": "触发时间",
  36476. "type": "string"
  36477. },
  36478. "triggertradedate": {
  36479. "description": "触发交易日",
  36480. "type": "string"
  36481. },
  36482. "userid": {
  36483. "description": "所属用户ID",
  36484. "type": "integer"
  36485. },
  36486. "userinfotype": {
  36487. "description": "用户类型 1-个人 2-企业",
  36488. "type": "integer"
  36489. },
  36490. "username": {
  36491. "description": "用户名称(userid对应的名称)",
  36492. "type": "string"
  36493. }
  36494. }
  36495. },
  36496. "models.QhjRStrategy": {
  36497. "type": "object",
  36498. "properties": {
  36499. "accountid": {
  36500. "description": "用户资金账户",
  36501. "type": "integer"
  36502. },
  36503. "accountname": {
  36504. "description": "账号名称(ACCOUNTID对应的名称)",
  36505. "type": "string"
  36506. },
  36507. "currencyid": {
  36508. "description": "币种id",
  36509. "type": "integer"
  36510. },
  36511. "currencyname": {
  36512. "description": "币种名称",
  36513. "type": "string"
  36514. },
  36515. "decimalplace": {
  36516. "description": "商品报价小数位",
  36517. "type": "integer"
  36518. },
  36519. "enumdicname": {
  36520. "description": "单位名称",
  36521. "type": "string"
  36522. },
  36523. "goodscode": {
  36524. "description": "定投商品代码",
  36525. "type": "string"
  36526. },
  36527. "goodsid": {
  36528. "description": "定投商品ID",
  36529. "type": "integer"
  36530. },
  36531. "goodsname": {
  36532. "description": "定投商品名称",
  36533. "type": "string"
  36534. },
  36535. "goodunitid": {
  36536. "description": "定投商品单位id",
  36537. "type": "integer"
  36538. },
  36539. "lasteffecttradedate": {
  36540. "description": "最新生效交易日",
  36541. "type": "string"
  36542. },
  36543. "laststoptradedate": {
  36544. "description": "最新暂停交易日",
  36545. "type": "string"
  36546. },
  36547. "lasttriggertradedate": {
  36548. "description": "最新触发交易日",
  36549. "type": "string"
  36550. },
  36551. "logincode": {
  36552. "description": "账号(登录代码)",
  36553. "type": "string"
  36554. },
  36555. "nexttriggeramount": {
  36556. "description": "下次触发金额",
  36557. "type": "number"
  36558. },
  36559. "nexttriggerdate": {
  36560. "description": "下次触发日期",
  36561. "type": "string"
  36562. },
  36563. "nexttriggerqty": {
  36564. "description": "下次触发数量 [按小数位放大值]",
  36565. "type": "number"
  36566. },
  36567. "qtydecimalplace": {
  36568. "description": "成交量小数位",
  36569. "type": "integer"
  36570. },
  36571. "regularlycycle": {
  36572. "description": "定投频率 - 1:每周 2:每月",
  36573. "type": "integer"
  36574. },
  36575. "regularlycyclevalue": {
  36576. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  36577. "type": "string"
  36578. },
  36579. "regularlymode": {
  36580. "description": "定投方式 - 1:按数量 2:按金额",
  36581. "type": "integer"
  36582. },
  36583. "regularlymodevalue": {
  36584. "description": "定投方式值 - 数量或金额",
  36585. "type": "number"
  36586. },
  36587. "regularlystrategyid": {
  36588. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  36589. "type": "integer"
  36590. },
  36591. "regularlystrategystatus": {
  36592. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  36593. "type": "integer"
  36594. },
  36595. "remark": {
  36596. "description": "备注",
  36597. "type": "string"
  36598. },
  36599. "triggersuccesstimes": {
  36600. "description": "累计定投成功次数",
  36601. "type": "string"
  36602. },
  36603. "triggertotalamount": {
  36604. "description": "累计定投金额(成功)",
  36605. "type": "number"
  36606. },
  36607. "triggertotalqty": {
  36608. "description": "累计定投数量(成功) [按小数位放大值]",
  36609. "type": "number"
  36610. },
  36611. "triggertotaltimes": {
  36612. "description": "累计定投总次数",
  36613. "type": "string"
  36614. },
  36615. "updatesrc": {
  36616. "description": "更新来源 - 1:管理端 2:终端",
  36617. "type": "integer"
  36618. },
  36619. "updatetime": {
  36620. "description": "更新时间",
  36621. "type": "string"
  36622. },
  36623. "updatorid": {
  36624. "description": "更新人",
  36625. "type": "string"
  36626. },
  36627. "userid": {
  36628. "description": "所属用户ID",
  36629. "type": "integer"
  36630. },
  36631. "userinfotype": {
  36632. "description": "用户类型 1-个人 2-企业",
  36633. "type": "integer"
  36634. },
  36635. "username": {
  36636. "description": "用户名称(userid对应的名称)",
  36637. "type": "string"
  36638. }
  36639. }
  36640. },
  36641. "models.QhjReckonPriceLog": {
  36642. "type": "object",
  36643. "properties": {
  36644. "decimalplace": {
  36645. "description": "商品报价小数位",
  36646. "type": "integer"
  36647. },
  36648. "goodscode": {
  36649. "description": "商品代码",
  36650. "type": "string"
  36651. },
  36652. "goodsid": {
  36653. "description": "商品ID",
  36654. "type": "integer"
  36655. },
  36656. "goodsname": {
  36657. "description": "商品名称",
  36658. "type": "string"
  36659. },
  36660. "lastreckonprice": {
  36661. "description": "上日结算价",
  36662. "type": "number"
  36663. },
  36664. "nextdnlimitprice": {
  36665. "description": "下个交易日跌停价",
  36666. "type": "number"
  36667. },
  36668. "nexttrade": {
  36669. "description": "下个交易日",
  36670. "type": "string"
  36671. },
  36672. "nextuplimitprice": {
  36673. "description": "下个交易日涨停价",
  36674. "type": "number"
  36675. },
  36676. "reckonprice": {
  36677. "description": "今日结算价(定投价)",
  36678. "type": "number"
  36679. },
  36680. "reckontime": {
  36681. "description": "结算时间",
  36682. "type": "string"
  36683. },
  36684. "totalholderqty": {
  36685. "description": "总持仓数",
  36686. "type": "integer"
  36687. },
  36688. "totalstock": {
  36689. "description": "总库存",
  36690. "type": "integer"
  36691. },
  36692. "tradedate": {
  36693. "description": "交易日",
  36694. "type": "string"
  36695. },
  36696. "updowncount": {
  36697. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  36698. "type": "integer"
  36699. },
  36700. "updownflag": {
  36701. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  36702. "type": "integer"
  36703. },
  36704. "updownrate": {
  36705. "description": "今日涨跌幅",
  36706. "type": "number"
  36707. },
  36708. "updownrate_2d": {
  36709. "description": "连续两日涨跌幅",
  36710. "type": "number"
  36711. },
  36712. "updownrate_3d": {
  36713. "description": "连续三日涨跌幅",
  36714. "type": "number"
  36715. }
  36716. }
  36717. },
  36718. "models.QhjScoreLog": {
  36719. "type": "object",
  36720. "properties": {
  36721. "accountid": {
  36722. "description": "账户ID",
  36723. "type": "integer"
  36724. },
  36725. "createtime": {
  36726. "description": "创建时间(时间)",
  36727. "type": "string"
  36728. },
  36729. "goodsid": {
  36730. "description": "商品ID",
  36731. "type": "integer"
  36732. },
  36733. "hasuploaded": {
  36734. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  36735. "type": "integer"
  36736. },
  36737. "logid": {
  36738. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36739. "type": "string"
  36740. },
  36741. "marketid": {
  36742. "description": "市场ID",
  36743. "type": "integer"
  36744. },
  36745. "relatedamount": {
  36746. "description": "关联金额",
  36747. "type": "number"
  36748. },
  36749. "relatedorderid": {
  36750. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  36751. "type": "string"
  36752. },
  36753. "scoreconfigvalue1": {
  36754. "description": "积分配置1",
  36755. "type": "integer"
  36756. },
  36757. "scoreconfigvalue2": {
  36758. "description": "积分配置1",
  36759. "type": "integer"
  36760. },
  36761. "scoretype": {
  36762. "description": "积分类型 - 1:提货积分",
  36763. "type": "integer"
  36764. },
  36765. "scorevalue": {
  36766. "description": "积分",
  36767. "type": "number"
  36768. },
  36769. "tradedate": {
  36770. "description": "交易日(yyyyMMdd)",
  36771. "type": "string"
  36772. },
  36773. "uploadedtime": {
  36774. "description": "同步时间",
  36775. "type": "string"
  36776. },
  36777. "userid": {
  36778. "description": "用户ID",
  36779. "type": "integer"
  36780. }
  36781. }
  36782. },
  36783. "models.QhjSiteColumnDetail": {
  36784. "type": "object",
  36785. "properties": {
  36786. "author": {
  36787. "description": "作者",
  36788. "type": "string"
  36789. },
  36790. "brief": {
  36791. "description": "简介",
  36792. "type": "string"
  36793. },
  36794. "columnid": {
  36795. "description": "所属栏目",
  36796. "type": "integer"
  36797. },
  36798. "context": {
  36799. "description": "内容",
  36800. "type": "string"
  36801. },
  36802. "coverimage": {
  36803. "description": "封面图片",
  36804. "type": "string"
  36805. },
  36806. "creaedate": {
  36807. "description": "创建时间",
  36808. "type": "string"
  36809. },
  36810. "creatorid": {
  36811. "description": "创建人",
  36812. "type": "integer"
  36813. },
  36814. "hits": {
  36815. "description": "点击数",
  36816. "type": "integer"
  36817. },
  36818. "id": {
  36819. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  36820. "type": "integer"
  36821. },
  36822. "isshow": {
  36823. "description": "是否展示 - 0:不展示 1:展示",
  36824. "type": "integer"
  36825. },
  36826. "istop": {
  36827. "description": "是否置顶 - 0:不置 1:置顶",
  36828. "type": "integer"
  36829. },
  36830. "modifierid": {
  36831. "description": "操作人",
  36832. "type": "integer"
  36833. },
  36834. "publishdate": {
  36835. "description": "发布日期",
  36836. "type": "string"
  36837. },
  36838. "status": {
  36839. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  36840. "type": "integer"
  36841. },
  36842. "title": {
  36843. "description": "标题",
  36844. "type": "string"
  36845. },
  36846. "updatedate": {
  36847. "description": "修改时间",
  36848. "type": "string"
  36849. },
  36850. "userid": {
  36851. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  36852. "type": "integer"
  36853. },
  36854. "username": {
  36855. "description": "用户名称",
  36856. "type": "string"
  36857. }
  36858. }
  36859. },
  36860. "models.QhjTeamOrder": {
  36861. "type": "object",
  36862. "properties": {
  36863. "accountid": {
  36864. "description": "账户ID[报价币种]",
  36865. "type": "integer"
  36866. },
  36867. "accountname": {
  36868. "description": "账户名称",
  36869. "type": "string"
  36870. },
  36871. "agreeunit": {
  36872. "description": "合约乘数",
  36873. "type": "number"
  36874. },
  36875. "buyorsell": {
  36876. "description": "方向 - 0:买 1:卖",
  36877. "type": "integer"
  36878. },
  36879. "decimalplace": {
  36880. "description": "报价小数位",
  36881. "type": "integer"
  36882. },
  36883. "enumdicname": {
  36884. "description": "单位名称",
  36885. "type": "string"
  36886. },
  36887. "goodscode": {
  36888. "description": "商品代码(内部)",
  36889. "type": "string"
  36890. },
  36891. "goodsid": {
  36892. "description": "商品ID",
  36893. "type": "integer"
  36894. },
  36895. "goodsname": {
  36896. "description": "商品名称",
  36897. "type": "string"
  36898. },
  36899. "goodunitid": {
  36900. "description": "报价单位ID",
  36901. "type": "integer"
  36902. },
  36903. "marketid": {
  36904. "description": "市场ID",
  36905. "type": "integer"
  36906. },
  36907. "marketname": {
  36908. "description": "市场名称",
  36909. "type": "string"
  36910. },
  36911. "qtydecimalplace": {
  36912. "description": "成交量小数位",
  36913. "type": "integer"
  36914. },
  36915. "refereeuserid": {
  36916. "description": "推荐人ID",
  36917. "type": "integer"
  36918. },
  36919. "tradeamount": {
  36920. "description": "成交金额[账户币种,用于所有权]",
  36921. "type": "number"
  36922. },
  36923. "tradedate": {
  36924. "description": "交易日(yyyyMMdd)",
  36925. "type": "string"
  36926. },
  36927. "trademode": {
  36928. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  36929. "type": "integer"
  36930. },
  36931. "tradeprice": {
  36932. "description": "成交价格",
  36933. "type": "number"
  36934. },
  36935. "tradeqty": {
  36936. "description": "成交数量",
  36937. "type": "number"
  36938. },
  36939. "tradetime": {
  36940. "description": "成交时间",
  36941. "type": "string"
  36942. },
  36943. "userid": {
  36944. "description": "用户ID",
  36945. "type": "integer"
  36946. }
  36947. }
  36948. },
  36949. "models.QhjTradeGoodsPickup": {
  36950. "type": "object",
  36951. "properties": {
  36952. "accountid": {
  36953. "description": "账户ID",
  36954. "type": "integer"
  36955. },
  36956. "address": {
  36957. "description": "提货人详细地址",
  36958. "type": "string"
  36959. },
  36960. "amount": {
  36961. "description": "提货金额",
  36962. "type": "number"
  36963. },
  36964. "artradedate": {
  36965. "description": "自动收货交易日(yyyyMMdd)",
  36966. "type": "string"
  36967. },
  36968. "auditer": {
  36969. "description": "审核人",
  36970. "type": "integer"
  36971. },
  36972. "auditsrc": {
  36973. "description": "更新来源 - 1:管理端 2:终端",
  36974. "type": "integer"
  36975. },
  36976. "audittime": {
  36977. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  36978. "type": "string"
  36979. },
  36980. "audittradedate": {
  36981. "description": "审核交易日(yyyyMMdd)",
  36982. "type": "string"
  36983. },
  36984. "cardnum": {
  36985. "description": "提货人证件号码",
  36986. "type": "string"
  36987. },
  36988. "cardtypeid": {
  36989. "description": "提货人证件类型",
  36990. "type": "integer"
  36991. },
  36992. "checkremark": {
  36993. "description": "审核备注",
  36994. "type": "string"
  36995. },
  36996. "cityid": {
  36997. "description": "市",
  36998. "type": "integer"
  36999. },
  37000. "cityname": {
  37001. "description": "城市名称",
  37002. "type": "string"
  37003. },
  37004. "confirmtime": {
  37005. "description": "取货时间 或 收货时间",
  37006. "type": "string"
  37007. },
  37008. "countryid": {
  37009. "description": "国家",
  37010. "type": "integer"
  37011. },
  37012. "countryname": {
  37013. "description": "国家名称",
  37014. "type": "string"
  37015. },
  37016. "decimalplace": {
  37017. "description": "商品报价小数位",
  37018. "type": "integer"
  37019. },
  37020. "districtid": {
  37021. "description": "地区",
  37022. "type": "integer"
  37023. },
  37024. "districtname": {
  37025. "description": "地区名称",
  37026. "type": "string"
  37027. },
  37028. "enumdicname": {
  37029. "description": "单位名称(提货商品)",
  37030. "type": "string"
  37031. },
  37032. "expresscompany": {
  37033. "description": "物流公司",
  37034. "type": "string"
  37035. },
  37036. "expressnum": {
  37037. "description": "物流单号",
  37038. "type": "string"
  37039. },
  37040. "goodsagreeunit": {
  37041. "description": "交易商品乘数",
  37042. "type": "number"
  37043. },
  37044. "goodscode": {
  37045. "description": "商品代码",
  37046. "type": "string"
  37047. },
  37048. "goodsid": {
  37049. "description": "商品ID",
  37050. "type": "integer"
  37051. },
  37052. "goodsname": {
  37053. "description": "商品名称",
  37054. "type": "string"
  37055. },
  37056. "goodsqty": {
  37057. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  37058. "type": "number"
  37059. },
  37060. "handlestatus": {
  37061. "description": "处理状态",
  37062. "type": "integer"
  37063. },
  37064. "logincode": {
  37065. "description": "账号(登录代码, 有可能为空)",
  37066. "type": "string"
  37067. },
  37068. "marketid": {
  37069. "description": "市场ID",
  37070. "type": "integer"
  37071. },
  37072. "phonenum": {
  37073. "description": "提货人联系方式",
  37074. "type": "string"
  37075. },
  37076. "pickupgoodsagreeunit": {
  37077. "description": "提货商品合约乘数",
  37078. "type": "number"
  37079. },
  37080. "pickupgoodsid": {
  37081. "description": "提货商品ID",
  37082. "type": "string"
  37083. },
  37084. "pickupgoodsname": {
  37085. "description": "提货商品名称",
  37086. "type": "string"
  37087. },
  37088. "pickupgoodsqty": {
  37089. "description": "提货商品手数(数量)",
  37090. "type": "number"
  37091. },
  37092. "pickupgoodsunitid": {
  37093. "description": "单位ID(提货商品)",
  37094. "type": "integer"
  37095. },
  37096. "pickupratio": {
  37097. "description": "提货系数",
  37098. "type": "number"
  37099. },
  37100. "preparedays": {
  37101. "description": "备货期(天)-提货单明细表",
  37102. "type": "integer"
  37103. },
  37104. "provinceid": {
  37105. "description": "省",
  37106. "type": "integer"
  37107. },
  37108. "provincename": {
  37109. "description": "省名称",
  37110. "type": "string"
  37111. },
  37112. "qty": {
  37113. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  37114. "type": "number"
  37115. },
  37116. "qtydecimalplace": {
  37117. "description": "商品数量小数位",
  37118. "type": "integer"
  37119. },
  37120. "recivername": {
  37121. "description": "提货人姓名",
  37122. "type": "string"
  37123. },
  37124. "reqtime": {
  37125. "description": "提货申请时间",
  37126. "type": "string"
  37127. },
  37128. "storeuserid": {
  37129. "description": "门店用户ID (千海金)",
  37130. "type": "integer"
  37131. },
  37132. "storeusername": {
  37133. "description": "门店用户名称",
  37134. "type": "string"
  37135. },
  37136. "takemode": {
  37137. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  37138. "type": "integer"
  37139. },
  37140. "takeorderid": {
  37141. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  37142. "type": "string"
  37143. },
  37144. "takeorderstatus": {
  37145. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  37146. "type": "integer"
  37147. },
  37148. "takeremark": {
  37149. "description": "提货备注",
  37150. "type": "string"
  37151. },
  37152. "tradedate": {
  37153. "description": "交易日(yyyyMMdd)",
  37154. "type": "string"
  37155. },
  37156. "updatetime": {
  37157. "description": "更新时间",
  37158. "type": "string"
  37159. },
  37160. "userid": {
  37161. "description": "用户ID",
  37162. "type": "integer"
  37163. },
  37164. "userinfotype": {
  37165. "description": "客户类型 1-个人 2-企业",
  37166. "type": "integer"
  37167. },
  37168. "username": {
  37169. "description": "用户名称",
  37170. "type": "string"
  37171. }
  37172. }
  37173. },
  37174. "models.QhjUserNodeCfgAndStatus": {
  37175. "type": "object",
  37176. "properties": {
  37177. "agreementcontent": {
  37178. "description": "协议内容",
  37179. "type": "string"
  37180. },
  37181. "agreementid": {
  37182. "description": "协议ID",
  37183. "type": "integer"
  37184. },
  37185. "agreementname": {
  37186. "description": "协议名称",
  37187. "type": "string"
  37188. },
  37189. "agreementno": {
  37190. "description": "协议编号",
  37191. "type": "string"
  37192. },
  37193. "agreementtype": {
  37194. "description": "协议类型 - 1:注册 2:登录 3:交易",
  37195. "type": "integer"
  37196. },
  37197. "agreementversion": {
  37198. "description": "协议版本号",
  37199. "type": "integer"
  37200. },
  37201. "configid": {
  37202. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  37203. "type": "integer"
  37204. },
  37205. "createtime": {
  37206. "description": "创建时间",
  37207. "type": "string"
  37208. },
  37209. "goodsid": {
  37210. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  37211. "type": "integer"
  37212. },
  37213. "nodetype": {
  37214. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  37215. "type": "integer"
  37216. },
  37217. "signtimestamp": {
  37218. "description": "签约状态时间戳(最近一次)",
  37219. "type": "string"
  37220. },
  37221. "tradedate": {
  37222. "description": "签约交易日(yyyyMMdd)",
  37223. "type": "string"
  37224. },
  37225. "userid": {
  37226. "description": "客户ID",
  37227. "type": "integer"
  37228. }
  37229. }
  37230. },
  37231. "models.Qhjgoodsex": {
  37232. "type": "object",
  37233. "properties": {
  37234. "canfinance": {
  37235. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  37236. "type": "integer"
  37237. },
  37238. "canregularlybuy": {
  37239. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  37240. "type": "integer"
  37241. },
  37242. "defaulttradeuserid": {
  37243. "description": "默认交易用户ID",
  37244. "type": "integer"
  37245. },
  37246. "deliverygoodsid": {
  37247. "description": "现货品种ID",
  37248. "type": "integer"
  37249. },
  37250. "goodsid": {
  37251. "description": "商品ID(自增ID SEQ_GOODS)",
  37252. "type": "integer"
  37253. },
  37254. "minamount": {
  37255. "description": "最小购买金额",
  37256. "type": "number"
  37257. },
  37258. "regularlybuyminamount": {
  37259. "description": "定投最小金额",
  37260. "type": "number"
  37261. },
  37262. "regularlybuyminqty": {
  37263. "description": "定投最小数量",
  37264. "type": "number"
  37265. },
  37266. "spotgoodsbrandid": {
  37267. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  37268. "type": "integer"
  37269. },
  37270. "visibilityforenterprise": {
  37271. "description": "企业客户是否可见 - 0:不可见 1:可见",
  37272. "type": "integer"
  37273. },
  37274. "visibilityforpersonal": {
  37275. "description": "个人客户是否可见 - 0:不可见 1:可见",
  37276. "type": "integer"
  37277. },
  37278. "wrstandardid": {
  37279. "description": "现货商品ID",
  37280. "type": "integer"
  37281. }
  37282. }
  37283. },
  37284. "models.QueryErrorInfosRsp": {
  37285. "type": "object",
  37286. "required": [
  37287. "errorid"
  37288. ],
  37289. "properties": {
  37290. "description": {
  37291. "description": "异常描述",
  37292. "type": "string"
  37293. },
  37294. "errorcode": {
  37295. "description": "异常代码",
  37296. "type": "string"
  37297. },
  37298. "errorid": {
  37299. "description": "异常ID",
  37300. "type": "integer"
  37301. },
  37302. "modulecode": {
  37303. "description": "所属模块",
  37304. "type": "string"
  37305. },
  37306. "operatecode": {
  37307. "description": "所属操作",
  37308. "type": "string"
  37309. },
  37310. "rownumber": {
  37311. "description": "行号",
  37312. "type": "string"
  37313. }
  37314. }
  37315. },
  37316. "models.QueryHedgeOrderDetailRsp": {
  37317. "type": "object",
  37318. "properties": {
  37319. "accountid": {
  37320. "description": "账户ID",
  37321. "type": "integer"
  37322. },
  37323. "buyorsell": {
  37324. "description": "买卖 - 0:买 1:卖",
  37325. "type": "integer"
  37326. },
  37327. "cancellogincode": {
  37328. "description": "撤单人",
  37329. "type": "string"
  37330. },
  37331. "channelbuildtype": {
  37332. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  37333. "type": "integer"
  37334. },
  37335. "channelinnerorderstatus": {
  37336. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  37337. "type": "integer"
  37338. },
  37339. "channeloperatetype": {
  37340. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  37341. "type": "integer"
  37342. },
  37343. "closetype": {
  37344. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  37345. "type": "integer"
  37346. },
  37347. "curexchangerate": {
  37348. "description": "当前汇率",
  37349. "type": "number"
  37350. },
  37351. "decimalplace": {
  37352. "description": "商品报价小数位",
  37353. "type": "integer"
  37354. },
  37355. "exchangefullname": {
  37356. "description": "外部交易所全称",
  37357. "type": "string"
  37358. },
  37359. "goodscode": {
  37360. "description": "商品代码(内部)",
  37361. "type": "string"
  37362. },
  37363. "goodsid": {
  37364. "description": "商品ID",
  37365. "type": "integer"
  37366. },
  37367. "goodsname": {
  37368. "description": "商品名称",
  37369. "type": "string"
  37370. },
  37371. "marketid": {
  37372. "description": "市场ID",
  37373. "type": "integer"
  37374. },
  37375. "openfreezemargin": {
  37376. "description": "冻结保证金(冻结交易金额)",
  37377. "type": "number"
  37378. },
  37379. "orderid": {
  37380. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37381. "type": "string"
  37382. },
  37383. "orderlogincode": {
  37384. "description": "委托人",
  37385. "type": "string"
  37386. },
  37387. "orderprice": {
  37388. "description": "委托价格(账户)",
  37389. "type": "number"
  37390. },
  37391. "orderqty": {
  37392. "description": "委托数量",
  37393. "type": "integer"
  37394. },
  37395. "ordertime": {
  37396. "description": "委托时间",
  37397. "type": "string"
  37398. },
  37399. "pricemode": {
  37400. "description": "取价方式 - 1:市价 2: 限价",
  37401. "type": "integer"
  37402. },
  37403. "tradedate": {
  37404. "description": "交易日(yyyyMMdd)",
  37405. "type": "string"
  37406. },
  37407. "tradeqty": {
  37408. "description": "成交数量",
  37409. "type": "integer"
  37410. }
  37411. }
  37412. },
  37413. "models.QueryHedgeTradeDetailRsp": {
  37414. "type": "object",
  37415. "properties": {
  37416. "accountid": {
  37417. "description": "账号ID",
  37418. "type": "integer"
  37419. },
  37420. "buyorsell": {
  37421. "description": "方向 - 0:买 1:卖",
  37422. "type": "integer"
  37423. },
  37424. "channelbuildtype": {
  37425. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  37426. "type": "integer"
  37427. },
  37428. "closecharge": {
  37429. "description": "平仓手续费(账户)",
  37430. "type": "number"
  37431. },
  37432. "closecharge2": {
  37433. "description": "平仓手续费(商品)",
  37434. "type": "number"
  37435. },
  37436. "closepl": {
  37437. "description": "平仓盈亏(账户)",
  37438. "type": "number"
  37439. },
  37440. "closepl2": {
  37441. "description": "平仓盈亏(商品)",
  37442. "type": "number"
  37443. },
  37444. "closepl3": {
  37445. "description": "平仓盈亏(账户)(逐笔)",
  37446. "type": "number"
  37447. },
  37448. "closepl4": {
  37449. "description": "平仓盈亏(商品)(逐笔)",
  37450. "type": "number"
  37451. },
  37452. "closetype": {
  37453. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  37454. "type": "integer"
  37455. },
  37456. "curexchangerate": {
  37457. "description": "当前汇率",
  37458. "type": "number"
  37459. },
  37460. "decimalplace": {
  37461. "description": "商品报价小数位",
  37462. "type": "integer"
  37463. },
  37464. "exchangefullname": {
  37465. "description": "外部交易所全称",
  37466. "type": "string"
  37467. },
  37468. "goodscode": {
  37469. "description": "商品代码(内部)",
  37470. "type": "string"
  37471. },
  37472. "goodsid": {
  37473. "description": "商品ID",
  37474. "type": "integer"
  37475. },
  37476. "goodsname": {
  37477. "description": "商品名称",
  37478. "type": "string"
  37479. },
  37480. "marketid": {
  37481. "description": "市场ID",
  37482. "type": "integer"
  37483. },
  37484. "opencharge": {
  37485. "description": "建仓手续费(账户)",
  37486. "type": "number"
  37487. },
  37488. "opencharge2": {
  37489. "description": "建仓手续费(商品)",
  37490. "type": "number"
  37491. },
  37492. "orderid": {
  37493. "description": "委托单号",
  37494. "type": "string"
  37495. },
  37496. "orderlogincode": {
  37497. "description": "委托人",
  37498. "type": "string"
  37499. },
  37500. "tradeamount": {
  37501. "description": "成交金额(账户)",
  37502. "type": "number"
  37503. },
  37504. "tradedate": {
  37505. "description": "交易日(yyyyMMdd)",
  37506. "type": "string"
  37507. },
  37508. "tradeid": {
  37509. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37510. "type": "string"
  37511. },
  37512. "tradeprice": {
  37513. "description": "成交价格",
  37514. "type": "number"
  37515. },
  37516. "tradeqty": {
  37517. "description": "成交数量",
  37518. "type": "integer"
  37519. },
  37520. "tradetime": {
  37521. "description": "成交时间",
  37522. "type": "string"
  37523. },
  37524. "tradetype": {
  37525. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  37526. "type": "integer"
  37527. }
  37528. }
  37529. },
  37530. "models.QuotePrimaryMenu": {
  37531. "type": "object",
  37532. "properties": {
  37533. "Index": {
  37534. "description": "序号",
  37535. "type": "integer"
  37536. },
  37537. "Key": {
  37538. "description": "键名",
  37539. "type": "string"
  37540. },
  37541. "Name": {
  37542. "description": "菜单名称",
  37543. "type": "string"
  37544. },
  37545. "SubMenus": {
  37546. "description": "子菜单",
  37547. "type": "array",
  37548. "items": {
  37549. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  37550. }
  37551. },
  37552. "SubTitleType": {
  37553. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  37554. "type": "integer"
  37555. },
  37556. "TradeModes": {
  37557. "description": "包含市场交易类型",
  37558. "type": "string"
  37559. }
  37560. }
  37561. },
  37562. "models.QuoteSecondaryMenu": {
  37563. "type": "object",
  37564. "properties": {
  37565. "ExExchangeCode": {
  37566. "description": "外部交易所代码",
  37567. "type": "string"
  37568. },
  37569. "ExExchangeID": {
  37570. "description": "外部交易所ID",
  37571. "type": "integer"
  37572. },
  37573. "GoodsGroupIDs": {
  37574. "description": "商品组ID列表",
  37575. "type": "array",
  37576. "items": {
  37577. "type": "integer"
  37578. }
  37579. },
  37580. "Index": {
  37581. "description": "序号",
  37582. "type": "integer"
  37583. },
  37584. "MarketID": {
  37585. "description": "市场ID",
  37586. "type": "integer"
  37587. },
  37588. "MenuTitle": {
  37589. "description": "菜单标题(市场名称或外部交易所名称)",
  37590. "type": "string"
  37591. },
  37592. "TradeMode": {
  37593. "description": "交易模式",
  37594. "type": "integer"
  37595. }
  37596. }
  37597. },
  37598. "models.RelatedTaAccount": {
  37599. "type": "object",
  37600. "properties": {
  37601. "accountid": {
  37602. "description": "资金账户ID",
  37603. "type": "integer"
  37604. }
  37605. }
  37606. },
  37607. "models.RoleMenu": {
  37608. "type": "object",
  37609. "properties": {
  37610. "hasright": {
  37611. "description": "是否有权限 0-没有权限 1-有权限",
  37612. "type": "integer"
  37613. },
  37614. "iconame": {
  37615. "description": "菜单图标",
  37616. "type": "string"
  37617. },
  37618. "menutype": {
  37619. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  37620. "type": "integer"
  37621. },
  37622. "parentcode": {
  37623. "description": "上级资源代码",
  37624. "type": "string"
  37625. },
  37626. "remark": {
  37627. "description": "菜单备注",
  37628. "type": "string"
  37629. },
  37630. "resourcecode": {
  37631. "description": "菜单代码",
  37632. "type": "string"
  37633. },
  37634. "resourcelevel": {
  37635. "description": "级别",
  37636. "type": "integer"
  37637. },
  37638. "resourcename": {
  37639. "description": "菜单名称",
  37640. "type": "string"
  37641. },
  37642. "roleid": {
  37643. "description": "角色id",
  37644. "type": "integer"
  37645. },
  37646. "sort": {
  37647. "description": "排序",
  37648. "type": "integer"
  37649. },
  37650. "subMenu": {
  37651. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  37652. "type": "array",
  37653. "items": {
  37654. "$ref": "#/definitions/models.RoleMenu"
  37655. }
  37656. },
  37657. "url": {
  37658. "description": "URL",
  37659. "type": "string"
  37660. },
  37661. "userid": {
  37662. "description": "用户id",
  37663. "type": "integer"
  37664. }
  37665. }
  37666. },
  37667. "models.SearchGoods": {
  37668. "type": "object",
  37669. "required": [
  37670. "goodscode",
  37671. "goodsid",
  37672. "goodsname",
  37673. "marketid",
  37674. "trademode"
  37675. ],
  37676. "properties": {
  37677. "goodscode": {
  37678. "description": "商品代码(内部)",
  37679. "type": "string"
  37680. },
  37681. "goodsid": {
  37682. "description": "商品ID(自增ID SEQ_GOODS)",
  37683. "type": "integer"
  37684. },
  37685. "goodsname": {
  37686. "description": "商品名称",
  37687. "type": "string"
  37688. },
  37689. "marketid": {
  37690. "description": "所属市场ID",
  37691. "type": "integer"
  37692. },
  37693. "marketname": {
  37694. "description": "市场名称",
  37695. "type": "string"
  37696. },
  37697. "trademode": {
  37698. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  37699. "type": "integer"
  37700. }
  37701. }
  37702. },
  37703. "models.SellOrder": {
  37704. "type": "object",
  37705. "properties": {
  37706. "accountid": {
  37707. "description": "资金账号",
  37708. "type": "integer"
  37709. },
  37710. "applyid": {
  37711. "description": "申请单ID",
  37712. "type": "integer"
  37713. },
  37714. "attachment1": {
  37715. "description": "附件1",
  37716. "type": "string"
  37717. },
  37718. "attachment2": {
  37719. "description": "附件2",
  37720. "type": "string"
  37721. },
  37722. "buyorsell": {
  37723. "description": "买卖 - 0:买 1:卖",
  37724. "type": "integer"
  37725. },
  37726. "canbargain": {
  37727. "description": "是否可议价 - 0:不可 1:可",
  37728. "type": "integer"
  37729. },
  37730. "cancelqty": {
  37731. "description": "撤销数量",
  37732. "type": "integer"
  37733. },
  37734. "canceltime": {
  37735. "description": "撤销时间",
  37736. "type": "string"
  37737. },
  37738. "cerno": {
  37739. "type": "string"
  37740. },
  37741. "chargealgorithm": {
  37742. "description": "手续费收取方式 1:比率 2:固定",
  37743. "type": "integer"
  37744. },
  37745. "chargealgorithmvalue": {
  37746. "description": "手续费设置值(交易所部分)",
  37747. "type": "number"
  37748. },
  37749. "chargealgorithmvalue2": {
  37750. "description": "手续费设置值(会员部分)",
  37751. "type": "number"
  37752. },
  37753. "clientordertime": {
  37754. "description": "客户端委托时间",
  37755. "type": "string"
  37756. },
  37757. "cpcertno": {
  37758. "type": "string"
  37759. },
  37760. "exchangerate": {
  37761. "description": "汇率[67]",
  37762. "type": "number"
  37763. },
  37764. "firstratio": {
  37765. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  37766. "type": "number"
  37767. },
  37768. "fixedprice": {
  37769. "description": "[克拉单价]固定价格 - [挂牌]",
  37770. "type": "number"
  37771. },
  37772. "freezecharge": {
  37773. "description": "冻结手续费",
  37774. "type": "number"
  37775. },
  37776. "freezefirstamount": {
  37777. "description": "冻结首付金额 - [摘牌]",
  37778. "type": "number"
  37779. },
  37780. "freezemargin": {
  37781. "description": "冻结保证金",
  37782. "type": "number"
  37783. },
  37784. "goodsno": {
  37785. "description": "商品编号",
  37786. "type": "string"
  37787. },
  37788. "imagepath": {
  37789. "type": "string"
  37790. },
  37791. "isQueryDiamond": {
  37792. "description": "是否钻石查询",
  37793. "type": "boolean"
  37794. },
  37795. "isspecified": {
  37796. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  37797. "type": "integer"
  37798. },
  37799. "kppath": {
  37800. "type": "string"
  37801. },
  37802. "kpweight": {
  37803. "type": "string"
  37804. },
  37805. "marginalgorithm": {
  37806. "description": "保证金方式 - 1:比率 2:固定",
  37807. "type": "integer"
  37808. },
  37809. "marginvalue": {
  37810. "description": "保证金设置值",
  37811. "type": "number"
  37812. },
  37813. "marketid": {
  37814. "description": "市场ID",
  37815. "type": "integer"
  37816. },
  37817. "marketprice": {
  37818. "type": "string"
  37819. },
  37820. "orderamount": {
  37821. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  37822. "type": "number"
  37823. },
  37824. "ordertime": {
  37825. "description": "委托时间",
  37826. "type": "string"
  37827. },
  37828. "performancetemplateid": {
  37829. "description": "履约计划模板ID",
  37830. "type": "integer"
  37831. },
  37832. "price": {
  37833. "description": "价格",
  37834. "type": "number"
  37835. },
  37836. "pricefactor": {
  37837. "description": "价格系数(浮动价时填写) - [挂牌]",
  37838. "type": "number"
  37839. },
  37840. "pricemove": {
  37841. "description": "升贴水(浮动价时填写) - [挂牌]",
  37842. "type": "number"
  37843. },
  37844. "priceper": {
  37845. "type": "string"
  37846. },
  37847. "relatedwrtradeorderid": {
  37848. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  37849. "type": "integer"
  37850. },
  37851. "remainqty": {
  37852. "description": "剩余重量",
  37853. "type": "number"
  37854. },
  37855. "remark": {
  37856. "type": "string"
  37857. },
  37858. "retcode": {
  37859. "description": "错误代码",
  37860. "type": "integer"
  37861. },
  37862. "sellusername": {
  37863. "description": "卖方(查询字段-模糊查询)",
  37864. "type": "string"
  37865. },
  37866. "settingmaterial": {
  37867. "type": "string"
  37868. },
  37869. "size1": {
  37870. "type": "string"
  37871. },
  37872. "size2": {
  37873. "type": "string"
  37874. },
  37875. "size3": {
  37876. "type": "string"
  37877. },
  37878. "sizedisplay": {
  37879. "description": "尺寸",
  37880. "type": "string"
  37881. },
  37882. "stonedesc": {
  37883. "type": "string"
  37884. },
  37885. "totalqty": {
  37886. "description": "总重量",
  37887. "type": "number"
  37888. },
  37889. "tradedate": {
  37890. "description": "交易日(yyyyMMdd)",
  37891. "type": "string"
  37892. },
  37893. "tradeprice": {
  37894. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  37895. "type": "number"
  37896. },
  37897. "unfreezecharge": {
  37898. "description": "解冻手续费",
  37899. "type": "number"
  37900. },
  37901. "unfreezefirstamount": {
  37902. "description": "解冻首付金额 - [摘牌]",
  37903. "type": "number"
  37904. },
  37905. "unfreezemargin": {
  37906. "description": "解冻保证金",
  37907. "type": "number"
  37908. },
  37909. "userid": {
  37910. "description": "用户ID",
  37911. "type": "integer"
  37912. },
  37913. "uuid": {
  37914. "description": "发起端唯一id",
  37915. "type": "string"
  37916. },
  37917. "validtime": {
  37918. "description": "有效期限",
  37919. "type": "string"
  37920. },
  37921. "validtype": {
  37922. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  37923. "type": "integer"
  37924. },
  37925. "warehousenamedisplay": {
  37926. "type": "string"
  37927. },
  37928. "wrbargainid": {
  37929. "description": "议价申请单ID",
  37930. "type": "integer"
  37931. },
  37932. "wrfactortypeid": {
  37933. "description": "仓单要素类型ID/商品ID(77)",
  37934. "type": "integer"
  37935. },
  37936. "wrpath": {
  37937. "type": "string"
  37938. },
  37939. "wrpricetype": {
  37940. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  37941. "type": "integer"
  37942. },
  37943. "wrstandardid": {
  37944. "description": "现货商品ID",
  37945. "type": "integer"
  37946. },
  37947. "wrtradeorderid": {
  37948. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  37949. "type": "string"
  37950. },
  37951. "wrtradeorderstatus": {
  37952. "description": "委托状态 - 参考枚举'WRTradeOrderStatus' - 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:撤单解冻贷款失败",
  37953. "type": "integer"
  37954. },
  37955. "wrtradetype": {
  37956. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  37957. "type": "integer"
  37958. },
  37959. "wrtransferuserid": {
  37960. "description": "仓单受让用户 - [摘牌]",
  37961. "type": "integer"
  37962. },
  37963. "zscategory": {
  37964. "description": "钻石分类 - 枚举”ZSCategory“",
  37965. "type": "integer"
  37966. },
  37967. "zscategorydisplay": {
  37968. "description": "钻石分类 - 描述",
  37969. "type": "string"
  37970. },
  37971. "zscerttypedisplay": {
  37972. "type": "string"
  37973. },
  37974. "zsclaritytype1display": {
  37975. "type": "string"
  37976. },
  37977. "zsclaritytype2display": {
  37978. "type": "string"
  37979. },
  37980. "zscolortype1display": {
  37981. "type": "string"
  37982. },
  37983. "zscolortype2display": {
  37984. "type": "string"
  37985. },
  37986. "zscrystaltype": {
  37987. "type": "string"
  37988. },
  37989. "zscrystaltypedisplay": {
  37990. "type": "string"
  37991. },
  37992. "zscurrencytype": {
  37993. "description": "货币类型 - 枚举“ZSCurrencyType”",
  37994. "type": "integer"
  37995. },
  37996. "zscurrencytypedisplay": {
  37997. "type": "string"
  37998. },
  37999. "zscurrencytypedisplayunit": {
  38000. "type": "string"
  38001. },
  38002. "zscuttype1display": {
  38003. "type": "string"
  38004. },
  38005. "zscuttype2display": {
  38006. "type": "string"
  38007. },
  38008. "zsczcolor1typedisplay": {
  38009. "type": "string"
  38010. },
  38011. "zsczcolor2typedisplay": {
  38012. "type": "string"
  38013. },
  38014. "zsczcolor3typedisplay": {
  38015. "type": "string"
  38016. },
  38017. "zsfluorescencetype1display": {
  38018. "type": "string"
  38019. },
  38020. "zsfluorescencetype2display": {
  38021. "type": "string"
  38022. },
  38023. "zspolishtype1display": {
  38024. "type": "string"
  38025. },
  38026. "zspolishtype2display": {
  38027. "type": "string"
  38028. },
  38029. "zsshapetypedisplay": {
  38030. "type": "string"
  38031. },
  38032. "zsstyletypedisplay": {
  38033. "type": "string"
  38034. },
  38035. "zssymmetrytype1display": {
  38036. "type": "string"
  38037. },
  38038. "zssymmetrytype2display": {
  38039. "type": "string"
  38040. }
  38041. }
  38042. },
  38043. "models.SellOrderQueryReq": {
  38044. "type": "object",
  38045. "required": [
  38046. "zscategory"
  38047. ],
  38048. "properties": {
  38049. "origin": {
  38050. "description": "原产地",
  38051. "type": "string"
  38052. },
  38053. "page": {
  38054. "description": "页码",
  38055. "type": "integer"
  38056. },
  38057. "pagesize": {
  38058. "description": "每页大小",
  38059. "type": "integer"
  38060. },
  38061. "total": {
  38062. "description": "总条数",
  38063. "type": "integer"
  38064. },
  38065. "warehouseid": {
  38066. "description": "仓库ID",
  38067. "type": "integer"
  38068. },
  38069. "weight1": {
  38070. "description": "总重量(克拉重量)-从",
  38071. "type": "number"
  38072. },
  38073. "weight2": {
  38074. "description": "总重量(克拉重量)-至",
  38075. "type": "number"
  38076. },
  38077. "weightavg1": {
  38078. "description": "平均单颗重量-从",
  38079. "type": "number"
  38080. },
  38081. "weightavg2": {
  38082. "description": "平均单颗重量-至",
  38083. "type": "number"
  38084. },
  38085. "zscategory": {
  38086. "description": "钻石分类 - 枚举”ZSCategory“",
  38087. "type": "integer"
  38088. },
  38089. "zscerttype": {
  38090. "description": "证书类型",
  38091. "type": "array",
  38092. "items": {
  38093. "type": "string"
  38094. }
  38095. },
  38096. "zsclaritytype": {
  38097. "description": "净度",
  38098. "type": "array",
  38099. "items": {
  38100. "type": "integer"
  38101. }
  38102. },
  38103. "zscolortype": {
  38104. "description": "颜色",
  38105. "type": "array",
  38106. "items": {
  38107. "type": "integer"
  38108. }
  38109. },
  38110. "zscurrencytype": {
  38111. "description": "货币类型 - 枚举“ZSCurrencyType”",
  38112. "type": "array",
  38113. "items": {
  38114. "type": "string"
  38115. }
  38116. },
  38117. "zscuttype": {
  38118. "description": "切工",
  38119. "type": "array",
  38120. "items": {
  38121. "type": "integer"
  38122. }
  38123. },
  38124. "zsczcolor1type": {
  38125. "description": "彩钻颜色1",
  38126. "type": "array",
  38127. "items": {
  38128. "type": "string"
  38129. }
  38130. },
  38131. "zsfluorescencetype": {
  38132. "description": "荧光",
  38133. "type": "array",
  38134. "items": {
  38135. "type": "integer"
  38136. }
  38137. },
  38138. "zspolishtype": {
  38139. "description": "抛光度",
  38140. "type": "array",
  38141. "items": {
  38142. "type": "integer"
  38143. }
  38144. },
  38145. "zsshapetype": {
  38146. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  38147. "type": "array",
  38148. "items": {
  38149. "type": "string"
  38150. }
  38151. },
  38152. "zsstyletype": {
  38153. "description": "款式",
  38154. "type": "array",
  38155. "items": {
  38156. "type": "string"
  38157. }
  38158. },
  38159. "zssymmetrytype": {
  38160. "description": "对称度",
  38161. "type": "array",
  38162. "items": {
  38163. "type": "integer"
  38164. }
  38165. }
  38166. }
  38167. },
  38168. "models.Systemparam": {
  38169. "type": "object",
  38170. "required": [
  38171. "paramcode"
  38172. ],
  38173. "properties": {
  38174. "loginid": {
  38175. "description": "更新用户账号,登录账号",
  38176. "type": "string"
  38177. },
  38178. "modifyflag": {
  38179. "description": "修改标志0 不允许修改 1 允许修改",
  38180. "type": "integer"
  38181. },
  38182. "paramcode": {
  38183. "description": "参数代码",
  38184. "type": "string"
  38185. },
  38186. "paramname": {
  38187. "description": "参数名",
  38188. "type": "string"
  38189. },
  38190. "paramtype": {
  38191. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  38192. "type": "integer"
  38193. },
  38194. "paramvalue": {
  38195. "description": "参数值",
  38196. "type": "string"
  38197. },
  38198. "paramvalue2": {
  38199. "description": "参数值(CLOB)",
  38200. "type": "string"
  38201. },
  38202. "regexpress": {
  38203. "description": "正则表达式",
  38204. "type": "string"
  38205. },
  38206. "remark": {
  38207. "description": "备注",
  38208. "type": "string"
  38209. },
  38210. "serverip": {
  38211. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  38212. "type": "string"
  38213. },
  38214. "showflag": {
  38215. "description": "是否显示0 不显示 1 显示",
  38216. "type": "integer"
  38217. },
  38218. "updatetime": {
  38219. "description": "更新时间",
  38220. "type": "string"
  38221. },
  38222. "userid": {
  38223. "description": "更新用户ID",
  38224. "type": "integer"
  38225. }
  38226. }
  38227. },
  38228. "models.Szdz3convertconfig": {
  38229. "type": "object",
  38230. "required": [
  38231. "converttype",
  38232. "innergoodsid",
  38233. "outergoodscode"
  38234. ],
  38235. "properties": {
  38236. "canin": {
  38237. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  38238. "type": "integer"
  38239. },
  38240. "canout": {
  38241. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  38242. "type": "integer"
  38243. },
  38244. "converttype": {
  38245. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  38246. "type": "integer"
  38247. },
  38248. "createtime": {
  38249. "description": "创建时间",
  38250. "type": "string"
  38251. },
  38252. "creatorid": {
  38253. "description": "创建人",
  38254. "type": "integer"
  38255. },
  38256. "daymaxvalue": {
  38257. "description": "当日最大转入限制",
  38258. "type": "number"
  38259. },
  38260. "freezedays": {
  38261. "description": "冻结天数 [5:花生米转交易]",
  38262. "type": "integer"
  38263. },
  38264. "innergoodsid": {
  38265. "description": "内部商品ID[交易]",
  38266. "type": "integer"
  38267. },
  38268. "inratio": {
  38269. "description": "目标值",
  38270. "type": "integer"
  38271. },
  38272. "modifierid": {
  38273. "description": "修改人",
  38274. "type": "integer"
  38275. },
  38276. "modifytime": {
  38277. "description": "修改时间",
  38278. "type": "string"
  38279. },
  38280. "outergoodscode": {
  38281. "description": "外部商品代码[JD\\PD]",
  38282. "type": "string"
  38283. },
  38284. "outratio": {
  38285. "description": "源值",
  38286. "type": "integer"
  38287. },
  38288. "pddecimalplace": {
  38289. "description": "PD小数位",
  38290. "type": "integer"
  38291. },
  38292. "timemaxvalue": {
  38293. "description": "单次最大转入限制",
  38294. "type": "number"
  38295. },
  38296. "timeminvalue": {
  38297. "description": "单次最小转入限制",
  38298. "type": "number"
  38299. }
  38300. }
  38301. },
  38302. "models.Szdz3searchwhitelist": {
  38303. "type": "object",
  38304. "required": [
  38305. "userid"
  38306. ],
  38307. "properties": {
  38308. "createtime": {
  38309. "description": "创建时间",
  38310. "type": "string"
  38311. },
  38312. "creatorid": {
  38313. "description": "创建人",
  38314. "type": "integer"
  38315. },
  38316. "modifierid": {
  38317. "description": "修改人",
  38318. "type": "integer"
  38319. },
  38320. "modifytime": {
  38321. "description": "修改时间",
  38322. "type": "string"
  38323. },
  38324. "userid": {
  38325. "description": "用户ID",
  38326. "type": "integer"
  38327. }
  38328. }
  38329. },
  38330. "models.TBGoods": {
  38331. "type": "object",
  38332. "properties": {
  38333. "agreeunit": {
  38334. "description": "合约乘数",
  38335. "type": "number"
  38336. },
  38337. "enumdicname": {
  38338. "description": "单位名称",
  38339. "type": "string"
  38340. },
  38341. "goodscode": {
  38342. "description": "商品代码(内部)",
  38343. "type": "string"
  38344. },
  38345. "goodsid": {
  38346. "description": "商品ID(自增ID SEQ_GOODS)",
  38347. "type": "integer"
  38348. },
  38349. "goodsname": {
  38350. "description": "商品名称",
  38351. "type": "string"
  38352. }
  38353. }
  38354. },
  38355. "models.TBGoodsGroup": {
  38356. "type": "object",
  38357. "properties": {
  38358. "GDLST": {
  38359. "description": "商品列表",
  38360. "type": "array",
  38361. "items": {
  38362. "$ref": "#/definitions/models.TBGoods"
  38363. }
  38364. },
  38365. "convertratio": {
  38366. "description": "折算系数",
  38367. "type": "number"
  38368. },
  38369. "enumdicname": {
  38370. "description": "单位名称",
  38371. "type": "string"
  38372. },
  38373. "exexchangecode": {
  38374. "description": "交易所代码",
  38375. "type": "string"
  38376. },
  38377. "exexchangename": {
  38378. "description": "交易所名称",
  38379. "type": "string"
  38380. },
  38381. "goodsgroupid": {
  38382. "description": "商品组ID(自增ID)",
  38383. "type": "integer"
  38384. },
  38385. "goodsgroupname": {
  38386. "description": "商品组名称",
  38387. "type": "string"
  38388. },
  38389. "goodunitid": {
  38390. "description": "报价单位ID",
  38391. "type": "integer"
  38392. }
  38393. }
  38394. },
  38395. "models.TBMiddleGoods": {
  38396. "type": "object",
  38397. "properties": {
  38398. "GPLST": {
  38399. "description": "期货品种列表",
  38400. "type": "array",
  38401. "items": {
  38402. "$ref": "#/definitions/models.TBGoodsGroup"
  38403. }
  38404. },
  38405. "WDLST": {
  38406. "description": "商品信息列表(现货品类)",
  38407. "type": "array",
  38408. "items": {
  38409. "$ref": "#/definitions/models.TBWrstandard"
  38410. }
  38411. },
  38412. "areauserid": {
  38413. "description": "机构用户ID",
  38414. "type": "integer"
  38415. },
  38416. "enumdicname": {
  38417. "description": "单位名称",
  38418. "type": "string"
  38419. },
  38420. "goodsunitid": {
  38421. "description": "套保品种单位id",
  38422. "type": "integer"
  38423. },
  38424. "middlegoodscode": {
  38425. "description": "套保品种代码",
  38426. "type": "string"
  38427. },
  38428. "middlegoodsid": {
  38429. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  38430. "type": "integer"
  38431. },
  38432. "middlegoodsname": {
  38433. "description": "套保品种名称",
  38434. "type": "string"
  38435. },
  38436. "needarbitrageratio": {
  38437. "description": "套利比率",
  38438. "type": "number"
  38439. },
  38440. "needhedgeratio": {
  38441. "description": "套保比率",
  38442. "type": "number"
  38443. }
  38444. }
  38445. },
  38446. "models.TBWrstandard": {
  38447. "type": "object",
  38448. "properties": {
  38449. "convertratio": {
  38450. "description": "折算系数",
  38451. "type": "number"
  38452. },
  38453. "deliverygoodsname": {
  38454. "description": "品种名称",
  38455. "type": "string"
  38456. },
  38457. "enumdicname": {
  38458. "description": "单位名称",
  38459. "type": "string"
  38460. },
  38461. "vatrate": {
  38462. "description": "增值税率",
  38463. "type": "number"
  38464. },
  38465. "wrstandardcode": {
  38466. "description": "现货商品代码",
  38467. "type": "string"
  38468. },
  38469. "wrstandardid": {
  38470. "description": "现货商品ID(SEQ_WRSTANDARD)",
  38471. "type": "integer"
  38472. },
  38473. "wrstandardname": {
  38474. "description": "现货商品名称",
  38475. "type": "string"
  38476. }
  38477. }
  38478. },
  38479. "models.Taaccount": {
  38480. "type": "object",
  38481. "required": [
  38482. "accountid",
  38483. "userid"
  38484. ],
  38485. "properties": {
  38486. "accountflag": {
  38487. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  38488. "type": "integer"
  38489. },
  38490. "accountid": {
  38491. "description": "资金账户ID",
  38492. "type": "integer"
  38493. },
  38494. "accountname": {
  38495. "description": "账户名称",
  38496. "type": "string"
  38497. },
  38498. "balance": {
  38499. "description": "期初余额",
  38500. "type": "number"
  38501. },
  38502. "capitalbalance": {
  38503. "description": "本金余额[外部子账户实际出入金余额]",
  38504. "type": "number"
  38505. },
  38506. "changeflag": {
  38507. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  38508. "type": "integer"
  38509. },
  38510. "changetime": {
  38511. "description": "账户状态变更时间",
  38512. "type": "string"
  38513. },
  38514. "closepl": {
  38515. "description": "今日平仓盈亏",
  38516. "type": "number"
  38517. },
  38518. "creditdecrease": {
  38519. "description": "今日授信减少",
  38520. "type": "number"
  38521. },
  38522. "creditincrease": {
  38523. "description": "今日授信增加",
  38524. "type": "number"
  38525. },
  38526. "curamount": {
  38527. "description": "总市值(从持仓中统计)",
  38528. "type": "number"
  38529. },
  38530. "currencyid": {
  38531. "description": "货币ID",
  38532. "type": "integer"
  38533. },
  38534. "currentbalance": {
  38535. "description": "期末余额",
  38536. "type": "number"
  38537. },
  38538. "freezecharge": {
  38539. "description": "手续费冻结",
  38540. "type": "number"
  38541. },
  38542. "freezemargin": {
  38543. "description": "冻结保证金",
  38544. "type": "number"
  38545. },
  38546. "fromaccountid": {
  38547. "description": "所属上级账户",
  38548. "type": "integer"
  38549. },
  38550. "inamount": {
  38551. "description": "今日入金金额(包括三方入金)",
  38552. "type": "number"
  38553. },
  38554. "ismain": {
  38555. "description": "是否母账号 0:不是母账户 1:是母账户",
  38556. "type": "integer"
  38557. },
  38558. "ismarketaccount": {
  38559. "description": "是否机构接单账号 0:不是 1:是",
  38560. "type": "integer"
  38561. },
  38562. "isreckonaccount": {
  38563. "description": "是否机构分润账号 0:不是 1:是",
  38564. "type": "integer"
  38565. },
  38566. "mortgagecredit": {
  38567. "description": "授信金额",
  38568. "type": "number"
  38569. },
  38570. "orifreezecharge": {
  38571. "description": "期初手续费冻结",
  38572. "type": "number"
  38573. },
  38574. "orifreezemargin": {
  38575. "description": "期初冻结保证金",
  38576. "type": "number"
  38577. },
  38578. "orimortgagecredit": {
  38579. "description": "期初授信金额",
  38580. "type": "number"
  38581. },
  38582. "oriothercredit": {
  38583. "description": "期初其它授信金额",
  38584. "type": "number"
  38585. },
  38586. "oriotherfreezemargin": {
  38587. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  38588. "type": "number"
  38589. },
  38590. "orioutamountfreeze": {
  38591. "description": "期初出金冻结",
  38592. "type": "number"
  38593. },
  38594. "oriusedmargin": {
  38595. "description": "期初占用保证金",
  38596. "type": "number"
  38597. },
  38598. "othercredit": {
  38599. "description": "其它授信金额",
  38600. "type": "number"
  38601. },
  38602. "othercreditdecrease": {
  38603. "description": "今日其它授信减少",
  38604. "type": "number"
  38605. },
  38606. "othercreditincrease": {
  38607. "description": "今日其它授信增加",
  38608. "type": "number"
  38609. },
  38610. "otherfreezemargin": {
  38611. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  38612. "type": "number"
  38613. },
  38614. "otherincome": {
  38615. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  38616. "type": "number"
  38617. },
  38618. "otherpay": {
  38619. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  38620. "type": "number"
  38621. },
  38622. "outamount": {
  38623. "description": "今日出金金额(包括三方出金)",
  38624. "type": "number"
  38625. },
  38626. "outamountfreeze": {
  38627. "description": "出金冻结",
  38628. "type": "number"
  38629. },
  38630. "outthreshold": {
  38631. "description": "出金阈值",
  38632. "type": "number"
  38633. },
  38634. "parentaccountid": {
  38635. "description": "所属根账号",
  38636. "type": "integer"
  38637. },
  38638. "paycharge": {
  38639. "description": "今日手续费支出",
  38640. "type": "number"
  38641. },
  38642. "relatedaccountstatus": {
  38643. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  38644. "type": "integer"
  38645. },
  38646. "relateduserid": {
  38647. "description": "关联用户",
  38648. "type": "integer"
  38649. },
  38650. "remainamount": {
  38651. "description": "融资额(从融资合同中统计)",
  38652. "type": "number"
  38653. },
  38654. "serivcegroup": {
  38655. "description": "服务分组",
  38656. "type": "integer"
  38657. },
  38658. "signstatus": {
  38659. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  38660. "type": "integer"
  38661. },
  38662. "sublevelpath": {
  38663. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  38664. "type": "string"
  38665. },
  38666. "taaccounttype": {
  38667. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  38668. "type": "integer"
  38669. },
  38670. "thirdinamount": {
  38671. "description": "今日三方入金",
  38672. "type": "number"
  38673. },
  38674. "thirdoutamount": {
  38675. "description": "今日三方出金",
  38676. "type": "number"
  38677. },
  38678. "tradestatus": {
  38679. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  38680. "type": "integer"
  38681. },
  38682. "tradestatuschangetime": {
  38683. "description": "激活时间",
  38684. "type": "string"
  38685. },
  38686. "transferamount": {
  38687. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  38688. "type": "number"
  38689. },
  38690. "usedmargin": {
  38691. "description": "占用保证金",
  38692. "type": "number"
  38693. },
  38694. "userid": {
  38695. "description": "用户ID",
  38696. "type": "integer"
  38697. }
  38698. }
  38699. },
  38700. "models.Tablecolumnconfig": {
  38701. "type": "object",
  38702. "required": [
  38703. "autoid"
  38704. ],
  38705. "properties": {
  38706. "aligntype": {
  38707. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  38708. "type": "integer"
  38709. },
  38710. "autoid": {
  38711. "description": "AutoID",
  38712. "type": "integer"
  38713. },
  38714. "columnfield": {
  38715. "description": "列字段",
  38716. "type": "string"
  38717. },
  38718. "columntitle": {
  38719. "description": "列Title",
  38720. "type": "string"
  38721. },
  38722. "columnwidth": {
  38723. "description": "列宽",
  38724. "type": "string"
  38725. },
  38726. "fixed": {
  38727. "description": "固定类型 - 空 | left | right",
  38728. "type": "string"
  38729. },
  38730. "formatterstring": {
  38731. "description": "格式化字符",
  38732. "type": "string"
  38733. },
  38734. "formattertype": {
  38735. "description": "格式化类型",
  38736. "type": "string"
  38737. },
  38738. "groupname": {
  38739. "description": "表头分组名称",
  38740. "type": "string"
  38741. },
  38742. "ismerge": {
  38743. "description": "是否合并显示 - 0:不合并 1:合并",
  38744. "type": "integer"
  38745. },
  38746. "isshow": {
  38747. "description": "是否显示 - 0:不显示 1:显示",
  38748. "type": "integer"
  38749. },
  38750. "needsummary": {
  38751. "description": "是否需要汇总 - 0:不需要 1:需要",
  38752. "type": "integer"
  38753. },
  38754. "orderindex": {
  38755. "description": "顺序",
  38756. "type": "integer"
  38757. },
  38758. "remark": {
  38759. "description": "备注",
  38760. "type": "string"
  38761. },
  38762. "summarytype": {
  38763. "description": "汇总类型 - 1:加总 2:最后一个",
  38764. "type": "integer"
  38765. },
  38766. "tablekey": {
  38767. "description": "列表Key",
  38768. "type": "string"
  38769. }
  38770. }
  38771. },
  38772. "models.TjmdHolderDetailTradeInfo": {
  38773. "type": "object",
  38774. "properties": {
  38775. "agreeunit": {
  38776. "description": "合约乘数",
  38777. "type": "number"
  38778. },
  38779. "buyaccountid": {
  38780. "description": "买方账户",
  38781. "type": "string"
  38782. },
  38783. "buyusername": {
  38784. "description": "买方",
  38785. "type": "string"
  38786. },
  38787. "delistingdate": {
  38788. "description": "最后结算日",
  38789. "type": "string"
  38790. },
  38791. "expiredate": {
  38792. "description": "到期结算价定价日",
  38793. "type": "string"
  38794. },
  38795. "exprieprice": {
  38796. "description": "到期清算价格",
  38797. "type": "string"
  38798. },
  38799. "goodscode": {
  38800. "description": "商品代码",
  38801. "type": "string"
  38802. },
  38803. "goodsid": {
  38804. "description": "商品ID",
  38805. "type": "integer"
  38806. },
  38807. "goodsname": {
  38808. "description": "商品名称(交易标的)",
  38809. "type": "string"
  38810. },
  38811. "lasttradedate": {
  38812. "description": "最后交易日",
  38813. "type": "string"
  38814. },
  38815. "listingdate": {
  38816. "description": "开始交易日",
  38817. "type": "string"
  38818. },
  38819. "openprice": {
  38820. "description": "成交价",
  38821. "type": "number"
  38822. },
  38823. "openqty": {
  38824. "description": "交易数量",
  38825. "type": "integer"
  38826. },
  38827. "sellaccountid": {
  38828. "description": "卖方账户",
  38829. "type": "string"
  38830. },
  38831. "sellusername": {
  38832. "description": "卖方",
  38833. "type": "string"
  38834. },
  38835. "tradeamount": {
  38836. "description": "初始名义价值",
  38837. "type": "number"
  38838. },
  38839. "tradedate": {
  38840. "description": "成交日期",
  38841. "type": "string"
  38842. },
  38843. "tradeid": {
  38844. "description": "成交编号",
  38845. "type": "string"
  38846. }
  38847. }
  38848. },
  38849. "models.TjmdMarketSection": {
  38850. "type": "object",
  38851. "properties": {
  38852. "marketsectionid": {
  38853. "description": "市场版块ID(SEQ_MARKETSECTION)",
  38854. "type": "integer"
  38855. },
  38856. "marketsectionname": {
  38857. "description": "市场版块名称",
  38858. "type": "string"
  38859. },
  38860. "mlist": {
  38861. "description": "市场列表(板块下面有多少个市场)",
  38862. "type": "array",
  38863. "items": {
  38864. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  38865. }
  38866. },
  38867. "orderindex": {
  38868. "description": "排序",
  38869. "type": "integer"
  38870. },
  38871. "pictureurl": {
  38872. "description": "图片url, 规格(90*90)",
  38873. "type": "string"
  38874. },
  38875. "remark": {
  38876. "description": "备注",
  38877. "type": "string"
  38878. }
  38879. }
  38880. },
  38881. "models.TjmdMarketSectionConfig": {
  38882. "type": "object",
  38883. "properties": {
  38884. "auctionwrtype": {
  38885. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  38886. "type": "integer"
  38887. },
  38888. "canacceptquote": {
  38889. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  38890. "type": "integer"
  38891. },
  38892. "cangoodsexercise": {
  38893. "description": "[期权]是否可现货行权- 0:否 1:是",
  38894. "type": "integer"
  38895. },
  38896. "cangoodsexercisetype": {
  38897. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  38898. "type": "integer"
  38899. },
  38900. "canmanualquotestrike": {
  38901. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  38902. "type": "integer"
  38903. },
  38904. "canmutistage": {
  38905. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  38906. "type": "integer"
  38907. },
  38908. "canpreexercise": {
  38909. "description": "[期权]是否可预申报- 0:否 1:是",
  38910. "type": "integer"
  38911. },
  38912. "clearinterval": {
  38913. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  38914. "type": "integer"
  38915. },
  38916. "contracttmp": {
  38917. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  38918. "type": "string"
  38919. },
  38920. "exchareaid": {
  38921. "description": "所属交易所,可以没有",
  38922. "type": "integer"
  38923. },
  38924. "financemarketid": {
  38925. "description": "融资回购市场ID [仓单贸易]",
  38926. "type": "integer"
  38927. },
  38928. "goodstype": {
  38929. "description": "商品类型 - 1:交易商品 2:仓单商品",
  38930. "type": "integer"
  38931. },
  38932. "hasrebate": {
  38933. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  38934. "type": "integer"
  38935. },
  38936. "hastradecredit": {
  38937. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  38938. "type": "integer"
  38939. },
  38940. "haswr": {
  38941. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  38942. "type": "integer"
  38943. },
  38944. "isdeductmargin": {
  38945. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  38946. "type": "integer"
  38947. },
  38948. "isrecordsource": {
  38949. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  38950. "type": "integer"
  38951. },
  38952. "isreleasemargin": {
  38953. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  38954. "type": "integer"
  38955. },
  38956. "isupdatereckonprice": {
  38957. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  38958. "type": "integer"
  38959. },
  38960. "listingmode": {
  38961. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  38962. "type": "integer"
  38963. },
  38964. "marginformula": {
  38965. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  38966. "type": "integer"
  38967. },
  38968. "marginformula2": {
  38969. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  38970. "type": "integer"
  38971. },
  38972. "marketid": {
  38973. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  38974. "type": "integer"
  38975. },
  38976. "marketname": {
  38977. "description": "市场名称",
  38978. "type": "string"
  38979. },
  38980. "marketsectionid": {
  38981. "description": "市场版块ID(SEQ_MARKETSECTION)",
  38982. "type": "integer"
  38983. },
  38984. "marketserviceid": {
  38985. "description": "市场服务ID",
  38986. "type": "integer"
  38987. },
  38988. "marketstatus": {
  38989. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  38990. "type": "integer"
  38991. },
  38992. "markettype": {
  38993. "description": "市场类型- 1:非交易服务 2:交易服务",
  38994. "type": "integer"
  38995. },
  38996. "matchermode": {
  38997. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  38998. "type": "integer"
  38999. },
  39000. "nowrquotaflag": {
  39001. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  39002. "type": "integer"
  39003. },
  39004. "openmethod": {
  39005. "description": "开盘模式 - 0 自动 1手动",
  39006. "type": "integer"
  39007. },
  39008. "orderindex": {
  39009. "description": "排序",
  39010. "type": "integer"
  39011. },
  39012. "otcuserid": {
  39013. "description": "场外期权做市商[场外期权]",
  39014. "type": "integer"
  39015. },
  39016. "outersynctime": {
  39017. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  39018. "type": "string"
  39019. },
  39020. "paylaterflag": {
  39021. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  39022. "type": "integer"
  39023. },
  39024. "pendingflag": {
  39025. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  39026. "type": "integer"
  39027. },
  39028. "pendingtime": {
  39029. "description": "待开市时间[通道交易-对冲](HH:mm)",
  39030. "type": "string"
  39031. },
  39032. "performancetempid": {
  39033. "description": "履约计划模板ID - 作废",
  39034. "type": "integer"
  39035. },
  39036. "premiumquotemode": {
  39037. "description": "权利金报价方式 - 1:自动 2:手动",
  39038. "type": "integer"
  39039. },
  39040. "rebateratio": {
  39041. "description": "返利比率[竞价式]",
  39042. "type": "number"
  39043. },
  39044. "reckonorder": {
  39045. "description": "结算顺序",
  39046. "type": "integer"
  39047. },
  39048. "reckonpricealgorithm": {
  39049. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  39050. "type": "integer"
  39051. },
  39052. "reckonpriceparam": {
  39053. "description": "结算价参数",
  39054. "type": "integer"
  39055. },
  39056. "reckontime": {
  39057. "description": "结算时间[通道交易-对冲](HH:mm)",
  39058. "type": "string"
  39059. },
  39060. "roleprioritytype": {
  39061. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  39062. "type": "integer"
  39063. },
  39064. "selllistingauditflag": {
  39065. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  39066. "type": "integer"
  39067. },
  39068. "trademarkettype": {
  39069. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  39070. "type": "integer"
  39071. },
  39072. "trademode": {
  39073. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  39074. "type": "integer"
  39075. },
  39076. "tradeproperty": {
  39077. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  39078. "type": "integer"
  39079. },
  39080. "tradetype": {
  39081. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  39082. "type": "integer"
  39083. },
  39084. "updatereckonpriceinterval": {
  39085. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  39086. "type": "integer"
  39087. }
  39088. }
  39089. },
  39090. "models.TjmdQuoteGoods": {
  39091. "type": "object",
  39092. "properties": {
  39093. "buyqty": {
  39094. "description": "买量(暂不做, 无值, 保留字段)",
  39095. "type": "number"
  39096. },
  39097. "decimalplace": {
  39098. "description": "报价小数位",
  39099. "type": "integer"
  39100. },
  39101. "goodscode": {
  39102. "description": "合约代码",
  39103. "type": "string"
  39104. },
  39105. "goodsgroupid": {
  39106. "description": "商品组ID(自增ID)",
  39107. "type": "integer"
  39108. },
  39109. "goodsgroupname": {
  39110. "description": "商品组名称",
  39111. "type": "string"
  39112. },
  39113. "goodsid": {
  39114. "description": "合约id",
  39115. "type": "integer"
  39116. },
  39117. "goodsname": {
  39118. "description": "合约名称",
  39119. "type": "string"
  39120. },
  39121. "refgoodscode": {
  39122. "description": "标的合约代码",
  39123. "type": "string"
  39124. },
  39125. "refgoodsid": {
  39126. "description": "标的合约id",
  39127. "type": "integer"
  39128. },
  39129. "refgoodsname": {
  39130. "description": "标的合约名称",
  39131. "type": "string"
  39132. },
  39133. "sellqty": {
  39134. "description": "卖量(暂不做, 无值, 保留字段)",
  39135. "type": "number"
  39136. }
  39137. }
  39138. },
  39139. "models.TjmdTodayAccountMargin": {
  39140. "type": "object",
  39141. "properties": {
  39142. "accountid": {
  39143. "description": "账号ID",
  39144. "type": "integer"
  39145. },
  39146. "goodsid": {
  39147. "description": "商品ID",
  39148. "type": "integer"
  39149. },
  39150. "infoc": {
  39151. "description": "配置参数",
  39152. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  39153. },
  39154. "marketid": {
  39155. "description": "市场ID",
  39156. "type": "integer"
  39157. }
  39158. }
  39159. },
  39160. "models.TjmdTradeOrderDetail": {
  39161. "type": "object",
  39162. "properties": {
  39163. "buyorsell": {
  39164. "description": "买卖方向 0-买 1-卖",
  39165. "type": "integer"
  39166. },
  39167. "goodsid": {
  39168. "description": "商品id",
  39169. "type": "integer"
  39170. },
  39171. "marketmaxsub": {
  39172. "description": "市价最大偏移范围 [浮动价 - 点差]",
  39173. "type": "number"
  39174. },
  39175. "orderid": {
  39176. "description": "委托单号",
  39177. "type": "string"
  39178. },
  39179. "orderprice": {
  39180. "description": "期初均价",
  39181. "type": "number"
  39182. },
  39183. "orderqty": {
  39184. "description": "委托数量",
  39185. "type": "integer"
  39186. },
  39187. "pricemode": {
  39188. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  39189. "type": "integer"
  39190. },
  39191. "userid": {
  39192. "description": "用户id",
  39193. "type": "integer"
  39194. },
  39195. "username": {
  39196. "description": "用户名称(已脱敏)",
  39197. "type": "string"
  39198. }
  39199. }
  39200. },
  39201. "models.TjmdTransferApply": {
  39202. "type": "object",
  39203. "properties": {
  39204. "applyid": {
  39205. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  39206. "type": "integer"
  39207. },
  39208. "applystatus": {
  39209. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  39210. "type": "integer"
  39211. },
  39212. "applytime": {
  39213. "description": "申请时间(时间)",
  39214. "type": "string"
  39215. },
  39216. "auditremark": {
  39217. "description": "审核备注(拒绝原因?)",
  39218. "type": "string"
  39219. },
  39220. "begindate": {
  39221. "description": "开始交易日(yyyymmdd)",
  39222. "type": "string"
  39223. },
  39224. "buyorsell": {
  39225. "description": "买卖 - 0:买 1:卖",
  39226. "type": "integer"
  39227. },
  39228. "enddate": {
  39229. "description": "结束交易日(yyyymmdd)",
  39230. "type": "string"
  39231. },
  39232. "goodscode": {
  39233. "description": "商品代码",
  39234. "type": "string"
  39235. },
  39236. "goodsid": {
  39237. "description": "商品ID",
  39238. "type": "integer"
  39239. },
  39240. "goodsname": {
  39241. "description": "商品名称",
  39242. "type": "string"
  39243. },
  39244. "marketid": {
  39245. "description": "市场ID",
  39246. "type": "integer"
  39247. },
  39248. "qty": {
  39249. "description": "期初均价",
  39250. "type": "number"
  39251. },
  39252. "tradeid": {
  39253. "description": "成交单号(关联持仓)",
  39254. "type": "string"
  39255. },
  39256. "transferamount": {
  39257. "description": "转让总金额(金额)",
  39258. "type": "number"
  39259. },
  39260. "transferprice": {
  39261. "description": "转让价格(协议价格)",
  39262. "type": "number"
  39263. }
  39264. }
  39265. },
  39266. "models.TradeHolderDetail": {
  39267. "type": "object",
  39268. "properties": {
  39269. "accountid": {
  39270. "description": "账号ID",
  39271. "type": "integer"
  39272. },
  39273. "agreeunit": {
  39274. "description": "合约乘数",
  39275. "type": "number"
  39276. },
  39277. "buyorsell": {
  39278. "description": "方向 - 0:买 1:卖",
  39279. "type": "integer"
  39280. },
  39281. "currencyid": {
  39282. "description": "商品币种id",
  39283. "type": "integer"
  39284. },
  39285. "currencyname": {
  39286. "description": "币种名称",
  39287. "type": "string"
  39288. },
  39289. "decimalplace": {
  39290. "description": "商品价格小数位",
  39291. "type": "integer"
  39292. },
  39293. "enumdicname": {
  39294. "description": "商品单位名称",
  39295. "type": "string"
  39296. },
  39297. "expirecycle": {
  39298. "description": "行权周期(天) - 1:滚动行权时填写",
  39299. "type": "integer"
  39300. },
  39301. "expiredate": {
  39302. "description": "行权日(yyyyMMdd) - 到期日",
  39303. "type": "string"
  39304. },
  39305. "expiretype": {
  39306. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  39307. "type": "integer"
  39308. },
  39309. "freezeqty": {
  39310. "description": "期初均价",
  39311. "type": "number"
  39312. },
  39313. "goodscode": {
  39314. "description": "商品代码",
  39315. "type": "string"
  39316. },
  39317. "goodsid": {
  39318. "description": "商品ID",
  39319. "type": "integer"
  39320. },
  39321. "goodsname": {
  39322. "description": "商品名称",
  39323. "type": "string"
  39324. },
  39325. "goodunitid": {
  39326. "description": "商品单位id",
  39327. "type": "integer"
  39328. },
  39329. "holderamount": {
  39330. "description": "持仓金额",
  39331. "type": "number"
  39332. },
  39333. "holdercredit": {
  39334. "description": "持仓授信金额",
  39335. "type": "number"
  39336. },
  39337. "holderdays": {
  39338. "description": "剩余冻结天数",
  39339. "type": "integer"
  39340. },
  39341. "holderprice": {
  39342. "description": "持仓价格",
  39343. "type": "number"
  39344. },
  39345. "holderqty": {
  39346. "description": "期初均价",
  39347. "type": "number"
  39348. },
  39349. "isconfirmexercise": {
  39350. "description": "是否确认行权- 0:否 1:是",
  39351. "type": "integer"
  39352. },
  39353. "ispreexercise": {
  39354. "description": "是否预申报- 0:否 1:是 2:不可行权",
  39355. "type": "integer"
  39356. },
  39357. "marketid": {
  39358. "description": "市场id",
  39359. "type": "integer"
  39360. },
  39361. "marketname": {
  39362. "description": "市场名称",
  39363. "type": "string"
  39364. },
  39365. "openprice": {
  39366. "description": "建仓价格",
  39367. "type": "number"
  39368. },
  39369. "openqty": {
  39370. "description": "期初均价",
  39371. "type": "number"
  39372. },
  39373. "optiontype": {
  39374. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  39375. "type": "integer"
  39376. },
  39377. "preexerciseprice": {
  39378. "description": "预申报价格",
  39379. "type": "number"
  39380. },
  39381. "premium": {
  39382. "description": "权利金",
  39383. "type": "number"
  39384. },
  39385. "qtydecimalplace": {
  39386. "description": "商品成交量小数位",
  39387. "type": "integer"
  39388. },
  39389. "refgoodscode": {
  39390. "description": "标的合约代码",
  39391. "type": "string"
  39392. },
  39393. "refgoodsid": {
  39394. "description": "标的合约id",
  39395. "type": "integer"
  39396. },
  39397. "releaseamount": {
  39398. "description": "释放持仓金额",
  39399. "type": "number"
  39400. },
  39401. "releaseholdercredit": {
  39402. "description": "释放持仓授信金额",
  39403. "type": "number"
  39404. },
  39405. "taname": {
  39406. "description": "资金账号名称",
  39407. "type": "string"
  39408. },
  39409. "tradeamount": {
  39410. "description": "成交金额",
  39411. "type": "number"
  39412. },
  39413. "tradedate": {
  39414. "description": "交易日(yyyyMMdd)",
  39415. "type": "string"
  39416. },
  39417. "tradeid": {
  39418. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39419. "type": "string"
  39420. },
  39421. "trademode": {
  39422. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  39423. "type": "integer"
  39424. },
  39425. "tradeproperty": {
  39426. "description": "交易属性",
  39427. "type": "integer"
  39428. },
  39429. "tradetime": {
  39430. "description": "交易时间",
  39431. "type": "string"
  39432. },
  39433. "userid": {
  39434. "description": "用户id",
  39435. "type": "integer"
  39436. },
  39437. "username": {
  39438. "description": "用户名称",
  39439. "type": "string"
  39440. }
  39441. }
  39442. },
  39443. "models.Unlinkermcphedgeplan": {
  39444. "type": "object",
  39445. "required": [
  39446. "areauserid"
  39447. ],
  39448. "properties": {
  39449. "accountid": {
  39450. "description": "期货账户ID - 作废",
  39451. "type": "integer"
  39452. },
  39453. "accountname": {
  39454. "description": "交易用户",
  39455. "type": "string"
  39456. },
  39457. "applyid": {
  39458. "description": "申请人",
  39459. "type": "integer"
  39460. },
  39461. "applysrc": {
  39462. "description": "申请来源 - 1:管理端 2:终端",
  39463. "type": "integer"
  39464. },
  39465. "applytime": {
  39466. "description": "申请时间",
  39467. "type": "string"
  39468. },
  39469. "areauserid": {
  39470. "description": "[企业ID]机构ID",
  39471. "type": "integer"
  39472. },
  39473. "auditid": {
  39474. "description": "审核人",
  39475. "type": "integer"
  39476. },
  39477. "auditremark": {
  39478. "description": "审核备注",
  39479. "type": "string"
  39480. },
  39481. "auditsrc": {
  39482. "description": "审核来源 - 1:管理端 2:终端",
  39483. "type": "integer"
  39484. },
  39485. "audittime": {
  39486. "description": "审核时间",
  39487. "type": "string"
  39488. },
  39489. "audittradedate": {
  39490. "description": "审核交易日(yyyyMMdd)",
  39491. "type": "string"
  39492. },
  39493. "biztype": {
  39494. "description": "业务类型 - 1:套保",
  39495. "type": "integer"
  39496. },
  39497. "contracttype": {
  39498. "description": "计划类型 - 1:采购 -1:销售",
  39499. "type": "integer"
  39500. },
  39501. "convertfactor": {
  39502. "description": "标仓系数 - 作废",
  39503. "type": "number"
  39504. },
  39505. "createtime": {
  39506. "description": "创建时间",
  39507. "type": "string"
  39508. },
  39509. "currencyid": {
  39510. "description": "结算币种ID - 作废",
  39511. "type": "integer"
  39512. },
  39513. "deliverygoodsid": {
  39514. "description": "现货品种ID",
  39515. "type": "integer"
  39516. },
  39517. "enumdicname": {
  39518. "description": "结算币种",
  39519. "type": "string"
  39520. },
  39521. "hedgeplanid": {
  39522. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  39523. "type": "string"
  39524. },
  39525. "hedgeplanno": {
  39526. "description": "[计划编号]套保计划编号,模糊查询",
  39527. "type": "string"
  39528. },
  39529. "hedgeplanstatus": {
  39530. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  39531. "type": "integer"
  39532. },
  39533. "isrelated": {
  39534. "description": "是否已关联计划项目 - 0:否 1:是",
  39535. "type": "integer"
  39536. },
  39537. "planqty": {
  39538. "description": "[计划量]计划数量",
  39539. "type": "number"
  39540. },
  39541. "plantime": {
  39542. "description": "计划时间",
  39543. "type": "string"
  39544. },
  39545. "producttype": {
  39546. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  39547. "type": "integer"
  39548. },
  39549. "remark": {
  39550. "description": "备注",
  39551. "type": "string"
  39552. },
  39553. "spotgoodsdesc": {
  39554. "description": "商品型号",
  39555. "type": "string"
  39556. },
  39557. "tradedate": {
  39558. "description": "交易日(yyyyMMdd)",
  39559. "type": "string"
  39560. },
  39561. "tradeuserid": {
  39562. "description": "交易用户ID",
  39563. "type": "integer"
  39564. },
  39565. "updatetime": {
  39566. "description": "更新时间",
  39567. "type": "string"
  39568. },
  39569. "wrstandardid": {
  39570. "description": "现货商品ID",
  39571. "type": "integer"
  39572. },
  39573. "wrstandardname": {
  39574. "description": "现货商品,模糊查询",
  39575. "type": "string"
  39576. }
  39577. }
  39578. },
  39579. "models.UserCollectConfig": {
  39580. "type": "object",
  39581. "properties": {
  39582. "accountstatus": {
  39583. "description": "账户状态 - 1:正常 2:停用 3:注销",
  39584. "type": "integer"
  39585. },
  39586. "collectaccountname": {
  39587. "description": "收款人账户名称",
  39588. "type": "string"
  39589. },
  39590. "collectaccountno": {
  39591. "description": "收款人账户",
  39592. "type": "string"
  39593. },
  39594. "collectbankname": {
  39595. "description": "收款人开户行",
  39596. "type": "string"
  39597. },
  39598. "collectbranchbankname": {
  39599. "description": "收款人开户支行",
  39600. "type": "string"
  39601. },
  39602. "collectconfigid": {
  39603. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  39604. "type": "string"
  39605. },
  39606. "remark": {
  39607. "description": "备注",
  39608. "type": "string"
  39609. },
  39610. "userid": {
  39611. "description": "收款人用户ID",
  39612. "type": "integer"
  39613. }
  39614. }
  39615. },
  39616. "models.UserReceiveInfo": {
  39617. "type": "object",
  39618. "properties": {
  39619. "address": {
  39620. "description": "提货人详细地址",
  39621. "type": "string"
  39622. },
  39623. "autoid": {
  39624. "description": "AutoID",
  39625. "type": "integer"
  39626. },
  39627. "cardnum": {
  39628. "description": "证件号码(加密存储)",
  39629. "type": "string"
  39630. },
  39631. "cardtypeid": {
  39632. "description": "证件类型",
  39633. "type": "integer"
  39634. },
  39635. "cityid": {
  39636. "description": "市",
  39637. "type": "integer"
  39638. },
  39639. "cityname": {
  39640. "description": "城市名称",
  39641. "type": "string"
  39642. },
  39643. "countryid": {
  39644. "description": "国家",
  39645. "type": "integer"
  39646. },
  39647. "countryname": {
  39648. "description": "国家名称",
  39649. "type": "string"
  39650. },
  39651. "districtid": {
  39652. "description": "地区",
  39653. "type": "integer"
  39654. },
  39655. "districtname": {
  39656. "description": "地区名称",
  39657. "type": "string"
  39658. },
  39659. "hasencrypt": {
  39660. "description": "数据是否已加密 - 0:未加密 1:已加密",
  39661. "type": "integer"
  39662. },
  39663. "isdefault": {
  39664. "description": "是否默认地址 - 0:否 1:是",
  39665. "type": "integer"
  39666. },
  39667. "phonenum": {
  39668. "description": "提货人联系方式(加密存储)",
  39669. "type": "string"
  39670. },
  39671. "provinceid": {
  39672. "description": "省",
  39673. "type": "integer"
  39674. },
  39675. "provincename": {
  39676. "description": "省名称",
  39677. "type": "string"
  39678. },
  39679. "receivername": {
  39680. "description": "提货人姓名",
  39681. "type": "string"
  39682. },
  39683. "takeremark": {
  39684. "description": "提货备注",
  39685. "type": "string"
  39686. },
  39687. "userid": {
  39688. "description": "用户ID",
  39689. "type": "integer"
  39690. }
  39691. }
  39692. },
  39693. "models.Useraccount": {
  39694. "type": "object",
  39695. "required": [
  39696. "userid"
  39697. ],
  39698. "properties": {
  39699. "accountname": {
  39700. "description": "账户名称(机构名称)",
  39701. "type": "string"
  39702. },
  39703. "accountstatus": {
  39704. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  39705. "type": "integer"
  39706. },
  39707. "applysrc": {
  39708. "description": "申请来源 - 1:管理端 2:终端",
  39709. "type": "integer"
  39710. },
  39711. "auditremark": {
  39712. "description": "审核备注",
  39713. "type": "string"
  39714. },
  39715. "auditsrc": {
  39716. "description": "审核来源 - 1:管理端 2:终端",
  39717. "type": "integer"
  39718. },
  39719. "audittime": {
  39720. "description": "审核时间",
  39721. "type": "string"
  39722. },
  39723. "audituserid": {
  39724. "description": "审核人",
  39725. "type": "integer"
  39726. },
  39727. "broker": {
  39728. "description": "所属经纪人ID",
  39729. "type": "integer"
  39730. },
  39731. "canceltime": {
  39732. "description": "销户时间",
  39733. "type": "string"
  39734. },
  39735. "canceluserid": {
  39736. "description": "销户人",
  39737. "type": "integer"
  39738. },
  39739. "canrecommend": {
  39740. "description": "是否可推荐 - 0:不可 1;可",
  39741. "type": "integer"
  39742. },
  39743. "createtime": {
  39744. "description": "创建时间",
  39745. "type": "string"
  39746. },
  39747. "creatorid": {
  39748. "description": "创建人",
  39749. "type": "integer"
  39750. },
  39751. "hasauth": {
  39752. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  39753. "type": "integer"
  39754. },
  39755. "isanonymous": {
  39756. "description": "是否匿名下单 - 0:否 1:是",
  39757. "type": "integer"
  39758. },
  39759. "maxinvestornum": {
  39760. "description": "最大用户数(经纪会员下投资者个数)",
  39761. "type": "integer"
  39762. },
  39763. "memberuserid": {
  39764. "description": "所属会员ID",
  39765. "type": "integer"
  39766. },
  39767. "modifierid": {
  39768. "description": "修改人",
  39769. "type": "integer"
  39770. },
  39771. "modifyremark": {
  39772. "description": "变更备注",
  39773. "type": "string"
  39774. },
  39775. "modifystatus": {
  39776. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  39777. "type": "integer"
  39778. },
  39779. "modifytime": {
  39780. "description": "修改时间",
  39781. "type": "string"
  39782. },
  39783. "parenttopuser": {
  39784. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  39785. "type": "string"
  39786. },
  39787. "parentuserid": {
  39788. "description": "所属机构ID",
  39789. "type": "integer"
  39790. },
  39791. "reckonaccountid": {
  39792. "description": "默认结算资金账号ID(机构分润使用) 作废",
  39793. "type": "integer"
  39794. },
  39795. "refercount": {
  39796. "description": "推荐总人数",
  39797. "type": "integer"
  39798. },
  39799. "refereeuserid": {
  39800. "description": "推荐人ID",
  39801. "type": "integer"
  39802. },
  39803. "refernum": {
  39804. "description": "推荐码",
  39805. "type": "string"
  39806. },
  39807. "rootuserid": {
  39808. "description": "根用户ID",
  39809. "type": "integer"
  39810. },
  39811. "subaccountlevel": {
  39812. "description": "子账户层数",
  39813. "type": "integer"
  39814. },
  39815. "subarealevelpath": {
  39816. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  39817. "type": "string"
  39818. },
  39819. "userid": {
  39820. "description": "用户ID",
  39821. "type": "integer"
  39822. },
  39823. "usertype": {
  39824. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  39825. "type": "integer"
  39826. }
  39827. }
  39828. },
  39829. "models.Userfavoritegoods": {
  39830. "type": "object",
  39831. "required": [
  39832. "goodsid"
  39833. ],
  39834. "properties": {
  39835. "goodsid": {
  39836. "description": "商品ID",
  39837. "type": "integer"
  39838. }
  39839. }
  39840. },
  39841. "models.Userinfo": {
  39842. "type": "object",
  39843. "required": [
  39844. "userid"
  39845. ],
  39846. "properties": {
  39847. "address": {
  39848. "description": "地址",
  39849. "type": "string"
  39850. },
  39851. "attachment1": {
  39852. "description": "附件1",
  39853. "type": "string"
  39854. },
  39855. "attachment2": {
  39856. "description": "附件2",
  39857. "type": "string"
  39858. },
  39859. "bankaccount": {
  39860. "description": "银行帐号 (加密存储)",
  39861. "type": "string"
  39862. },
  39863. "bankaccountname": {
  39864. "description": "收款人名称",
  39865. "type": "string"
  39866. },
  39867. "bankcardfrontphotourl": {
  39868. "description": "银行卡正面照地址",
  39869. "type": "string"
  39870. },
  39871. "bankid": {
  39872. "description": "银行编码",
  39873. "type": "string"
  39874. },
  39875. "bankname": {
  39876. "description": "银行名称",
  39877. "type": "string"
  39878. },
  39879. "biznature": {
  39880. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  39881. "type": "integer"
  39882. },
  39883. "bizscope": {
  39884. "description": "企业经营范围(企业)",
  39885. "type": "string"
  39886. },
  39887. "cardbackphotourl": {
  39888. "description": "证件背面图片地址",
  39889. "type": "string"
  39890. },
  39891. "cardfrontphotourl": {
  39892. "description": "证件正面图片地址",
  39893. "type": "string"
  39894. },
  39895. "cardnum": {
  39896. "description": "证件号码(加密存储)",
  39897. "type": "string"
  39898. },
  39899. "cardtypeid": {
  39900. "description": "证件类型ID",
  39901. "type": "integer"
  39902. },
  39903. "cityid": {
  39904. "description": "市",
  39905. "type": "integer"
  39906. },
  39907. "company": {
  39908. "description": "公司(个人)",
  39909. "type": "string"
  39910. },
  39911. "contactname": {
  39912. "description": "联系人",
  39913. "type": "string"
  39914. },
  39915. "countryid": {
  39916. "description": "国家",
  39917. "type": "integer"
  39918. },
  39919. "createtime": {
  39920. "description": "创建时间",
  39921. "type": "string"
  39922. },
  39923. "creatorid": {
  39924. "description": "创建人",
  39925. "type": "integer"
  39926. },
  39927. "customername": {
  39928. "description": "客户名称(企业名称)",
  39929. "type": "string"
  39930. },
  39931. "districtid": {
  39932. "description": "地区",
  39933. "type": "integer"
  39934. },
  39935. "email": {
  39936. "description": "邮件(加密存储)",
  39937. "type": "string"
  39938. },
  39939. "fax": {
  39940. "description": "传真(加密存储)",
  39941. "type": "string"
  39942. },
  39943. "halfbodyphotourl": {
  39944. "description": "半身照地址",
  39945. "type": "string"
  39946. },
  39947. "hasencrypt": {
  39948. "description": "数据是否已加密 - 0:未加密 1:已加密",
  39949. "type": "integer"
  39950. },
  39951. "headurl": {
  39952. "description": "头像地址",
  39953. "type": "string"
  39954. },
  39955. "legalcardbackphotourl": {
  39956. "description": "法人身份证背面照地址",
  39957. "type": "string"
  39958. },
  39959. "legalcardfrontphotourl": {
  39960. "description": "法人身份证正面照地址",
  39961. "type": "string"
  39962. },
  39963. "legalpersonname": {
  39964. "description": "法人姓名(企业)",
  39965. "type": "string"
  39966. },
  39967. "mobile": {
  39968. "description": "手机号码(加密存储)",
  39969. "type": "string"
  39970. },
  39971. "mobile2": {
  39972. "description": "手机号码[明文-尚志]",
  39973. "type": "string"
  39974. },
  39975. "modifierid": {
  39976. "description": "修改人",
  39977. "type": "integer"
  39978. },
  39979. "modifiertime": {
  39980. "description": "修改时间",
  39981. "type": "string"
  39982. },
  39983. "needinvoice": {
  39984. "description": "是否需要发票 - 0:不需要 1:需要",
  39985. "type": "integer"
  39986. },
  39987. "nickname": {
  39988. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  39989. "type": "string"
  39990. },
  39991. "openmode": {
  39992. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  39993. "type": "integer"
  39994. },
  39995. "otherurl": {
  39996. "description": "其它图片地址[使用分号分隔]",
  39997. "type": "string"
  39998. },
  39999. "postalcode": {
  40000. "description": "邮政编码",
  40001. "type": "string"
  40002. },
  40003. "provinceid": {
  40004. "description": "省",
  40005. "type": "integer"
  40006. },
  40007. "qq": {
  40008. "description": "QQ(加密存储",
  40009. "type": "string"
  40010. },
  40011. "remark": {
  40012. "description": "备注",
  40013. "type": "string"
  40014. },
  40015. "sex": {
  40016. "description": "用户性别 0: 女 1: 男",
  40017. "type": "integer"
  40018. },
  40019. "signpdfurl": {
  40020. "description": "签约pdf文件",
  40021. "type": "string"
  40022. },
  40023. "telphone": {
  40024. "description": "联系电话(加密存储)",
  40025. "type": "string"
  40026. },
  40027. "userid": {
  40028. "description": "用户ID",
  40029. "type": "integer"
  40030. },
  40031. "userinfotype": {
  40032. "description": "用户信息类型 - 1:个人 2:企业",
  40033. "type": "integer"
  40034. },
  40035. "userstatus": {
  40036. "description": "用户状态 - 1:正常 2:注销",
  40037. "type": "integer"
  40038. },
  40039. "usertype": {
  40040. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  40041. "type": "integer"
  40042. },
  40043. "wechat": {
  40044. "description": "微信(加密存储)",
  40045. "type": "string"
  40046. },
  40047. "wskhinfo": {
  40048. "description": "开户申请信息(JSON)",
  40049. "type": "string"
  40050. }
  40051. }
  40052. },
  40053. "models.WRSConverTDetail": {
  40054. "type": "object",
  40055. "properties": {
  40056. "convertratio": {
  40057. "description": "套保系数",
  40058. "type": "number"
  40059. },
  40060. "deliverygoodscode": {
  40061. "description": "现货商品代码",
  40062. "type": "string"
  40063. },
  40064. "deliverygoodsid": {
  40065. "description": "现货品种ID",
  40066. "type": "integer"
  40067. },
  40068. "deliverygoodsname": {
  40069. "description": "现货商品名称",
  40070. "type": "string"
  40071. },
  40072. "enumdicname": {
  40073. "description": "单位名称",
  40074. "type": "string"
  40075. },
  40076. "goodsunitid": {
  40077. "description": "套保品种单位id",
  40078. "type": "integer"
  40079. },
  40080. "middlegoodscode": {
  40081. "description": "套保品种代码",
  40082. "type": "string"
  40083. },
  40084. "middlegoodsid": {
  40085. "description": "套保品种ID",
  40086. "type": "integer"
  40087. },
  40088. "middlegoodsname": {
  40089. "description": "套保品种名称",
  40090. "type": "string"
  40091. },
  40092. "modifytime": {
  40093. "description": "修改时间",
  40094. "type": "string"
  40095. },
  40096. "wrstandardid": {
  40097. "description": "品类ID",
  40098. "type": "integer"
  40099. }
  40100. }
  40101. },
  40102. "models.WRStandardInfo": {
  40103. "type": "object",
  40104. "required": [
  40105. "wrstandardid"
  40106. ],
  40107. "properties": {
  40108. "areauserid": {
  40109. "description": "所属机构",
  40110. "type": "integer"
  40111. },
  40112. "convertfactor": {
  40113. "description": "标仓系数",
  40114. "type": "number"
  40115. },
  40116. "createtime": {
  40117. "description": "创建时间",
  40118. "type": "string"
  40119. },
  40120. "creatorid": {
  40121. "description": "创建人",
  40122. "type": "integer"
  40123. },
  40124. "deliverygoodsid": {
  40125. "description": "品种ID",
  40126. "type": "integer"
  40127. },
  40128. "deliverygoodsname": {
  40129. "description": "交割商品名称",
  40130. "type": "string"
  40131. },
  40132. "factoryitemjson": {
  40133. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  40134. "type": "string"
  40135. },
  40136. "isvalid": {
  40137. "description": "是否有效 - 0:无效 1:有效",
  40138. "type": "integer"
  40139. },
  40140. "minivalue": {
  40141. "description": "最小变动值",
  40142. "type": "integer"
  40143. },
  40144. "minivaluedp": {
  40145. "description": "最小变动值小数位",
  40146. "type": "integer"
  40147. },
  40148. "realminivalue": {
  40149. "description": "实际最小变动值",
  40150. "type": "integer"
  40151. },
  40152. "realminivaluedp": {
  40153. "description": "实际最小变动值小数位",
  40154. "type": "integer"
  40155. },
  40156. "remark": {
  40157. "description": "备注",
  40158. "type": "string"
  40159. },
  40160. "unitid": {
  40161. "description": "单位ID",
  40162. "type": "integer"
  40163. },
  40164. "unitname": {
  40165. "description": "单位",
  40166. "type": "string"
  40167. },
  40168. "updatetime": {
  40169. "description": "更新时间",
  40170. "type": "string"
  40171. },
  40172. "updatorid": {
  40173. "description": "更新人",
  40174. "type": "integer"
  40175. },
  40176. "wrsstatus": {
  40177. "description": "状态 - 作废 - 0:未激活 1:正常",
  40178. "type": "integer"
  40179. },
  40180. "wrstandardcode": {
  40181. "description": "现货品类代码",
  40182. "type": "string"
  40183. },
  40184. "wrstandardid": {
  40185. "description": "现货品类ID(SEQ_WRSTANDARD)",
  40186. "type": "integer"
  40187. },
  40188. "wrstandardname": {
  40189. "description": "现货品类名称",
  40190. "type": "string"
  40191. }
  40192. }
  40193. },
  40194. "models.WRTradeBargainApply": {
  40195. "type": "object",
  40196. "properties": {
  40197. "accountid": {
  40198. "description": "摘牌资金账号",
  40199. "type": "integer"
  40200. },
  40201. "applyprice": {
  40202. "description": "申请价格(议价价格)",
  40203. "type": "string"
  40204. },
  40205. "applyqty": {
  40206. "description": "摘牌数量(议价数量)",
  40207. "type": "number"
  40208. },
  40209. "applyremark": {
  40210. "description": "申请备注",
  40211. "type": "string"
  40212. },
  40213. "applystatus": {
  40214. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  40215. "type": "integer"
  40216. },
  40217. "applytime": {
  40218. "description": "申请时间(议价时间)",
  40219. "type": "string"
  40220. },
  40221. "begindate": {
  40222. "description": "开始交易日(yyyymmdd)",
  40223. "type": "string"
  40224. },
  40225. "buyorsell": {
  40226. "description": "买卖(挂牌类型) - 0:买 1:卖",
  40227. "type": "integer"
  40228. },
  40229. "confirmremark": {
  40230. "description": "确认备注",
  40231. "type": "string"
  40232. },
  40233. "confirmtime": {
  40234. "description": "确认时间",
  40235. "type": "string"
  40236. },
  40237. "confirmuserid": {
  40238. "description": "确认人",
  40239. "type": "integer"
  40240. },
  40241. "deliverygoodscode": {
  40242. "description": "品种代码",
  40243. "type": "string"
  40244. },
  40245. "deliverygoodsid": {
  40246. "description": "品种ID",
  40247. "type": "integer"
  40248. },
  40249. "deliverygoodsname": {
  40250. "description": "品种名称",
  40251. "type": "string"
  40252. },
  40253. "deliverymonth": {
  40254. "description": "交收月",
  40255. "type": "string"
  40256. },
  40257. "enddate": {
  40258. "description": "结束交易日(yyyymmdd)",
  40259. "type": "string"
  40260. },
  40261. "enumdicname": {
  40262. "description": "单位名称",
  40263. "type": "string"
  40264. },
  40265. "fixedprice": {
  40266. "description": "期初均价",
  40267. "type": "number"
  40268. },
  40269. "handlestatus": {
  40270. "description": "处理状态",
  40271. "type": "integer"
  40272. },
  40273. "marginvalue": {
  40274. "description": "期初均价",
  40275. "type": "number"
  40276. },
  40277. "marketid": {
  40278. "description": "市场ID",
  40279. "type": "integer"
  40280. },
  40281. "matchaccountid": {
  40282. "description": "挂牌方资金账号",
  40283. "type": "integer"
  40284. },
  40285. "matchuserid": {
  40286. "description": "挂牌方用户id",
  40287. "type": "integer"
  40288. },
  40289. "matchusername": {
  40290. "description": "挂牌方用户名称(已脱敏)",
  40291. "type": "string"
  40292. },
  40293. "minivalue": {
  40294. "description": "现货商品最小变动值",
  40295. "type": "integer"
  40296. },
  40297. "optioncompare": {
  40298. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40299. "type": "string"
  40300. },
  40301. "orderqty": {
  40302. "description": "挂牌数量",
  40303. "type": "integer"
  40304. },
  40305. "refprice": {
  40306. "description": "参考价格",
  40307. "type": "string"
  40308. },
  40309. "retcode": {
  40310. "description": "委托返回代码",
  40311. "type": "integer"
  40312. },
  40313. "templatename": {
  40314. "description": "履约方式(履约模板名称)",
  40315. "type": "string"
  40316. },
  40317. "tradedate": {
  40318. "description": "交易日(yyyyMMdd)",
  40319. "type": "string"
  40320. },
  40321. "userid": {
  40322. "description": "摘牌人用户ID(议价人ID)",
  40323. "type": "integer"
  40324. },
  40325. "username": {
  40326. "description": "议价人名字(已脱敏)",
  40327. "type": "string"
  40328. },
  40329. "validtime": {
  40330. "description": "有效期限",
  40331. "type": "string"
  40332. },
  40333. "warehouseid": {
  40334. "description": "仓库ID",
  40335. "type": "integer"
  40336. },
  40337. "warehousename": {
  40338. "description": "仓库名称",
  40339. "type": "string"
  40340. },
  40341. "wrbargainid": {
  40342. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  40343. "type": "string"
  40344. },
  40345. "wrfactortypeid": {
  40346. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40347. "type": "string"
  40348. },
  40349. "wrfactortypename": {
  40350. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40351. "type": "string"
  40352. },
  40353. "wrstandardcode": {
  40354. "description": "现货商品代码",
  40355. "type": "string"
  40356. },
  40357. "wrstandardid": {
  40358. "description": "现货商品ID",
  40359. "type": "integer"
  40360. },
  40361. "wrstandardname": {
  40362. "description": "商品名称",
  40363. "type": "string"
  40364. },
  40365. "wrtradeorderid": {
  40366. "description": "关联委托单ID",
  40367. "type": "string"
  40368. },
  40369. "wrtypename": {
  40370. "description": "商品",
  40371. "type": "string"
  40372. }
  40373. }
  40374. },
  40375. "models.Warehouseinfo": {
  40376. "type": "object",
  40377. "required": [
  40378. "autoid",
  40379. "warehousecode"
  40380. ],
  40381. "properties": {
  40382. "address": {
  40383. "description": "详细地址",
  40384. "type": "string"
  40385. },
  40386. "areauserid": {
  40387. "description": "所属机构",
  40388. "type": "integer"
  40389. },
  40390. "autoid": {
  40391. "description": "自增ID",
  40392. "type": "integer"
  40393. },
  40394. "cityid": {
  40395. "description": "市",
  40396. "type": "integer"
  40397. },
  40398. "contactname": {
  40399. "description": "联系人",
  40400. "type": "string"
  40401. },
  40402. "contactnum": {
  40403. "description": "联系电话",
  40404. "type": "string"
  40405. },
  40406. "countryid": {
  40407. "description": "国家",
  40408. "type": "integer"
  40409. },
  40410. "createtime": {
  40411. "description": "创建时间",
  40412. "type": "string"
  40413. },
  40414. "districtid": {
  40415. "description": "区",
  40416. "type": "integer"
  40417. },
  40418. "hasvideo": {
  40419. "description": "是否有视频 - 0:无 1:有",
  40420. "type": "integer"
  40421. },
  40422. "provinceid": {
  40423. "description": "省",
  40424. "type": "integer"
  40425. },
  40426. "remark": {
  40427. "description": "审核备注",
  40428. "type": "string"
  40429. },
  40430. "videourl": {
  40431. "description": "视频地址",
  40432. "type": "string"
  40433. },
  40434. "warehousecode": {
  40435. "description": "仓库代码",
  40436. "type": "string"
  40437. },
  40438. "warehousename": {
  40439. "description": "仓库名称",
  40440. "type": "string"
  40441. },
  40442. "warehousestatus": {
  40443. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  40444. "type": "integer"
  40445. },
  40446. "warehousetype": {
  40447. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  40448. "type": "integer"
  40449. }
  40450. }
  40451. },
  40452. "models.WrAverageTradePrice": {
  40453. "type": "object",
  40454. "properties": {
  40455. "averageprice": {
  40456. "description": "期初均价",
  40457. "type": "number"
  40458. },
  40459. "tradedate": {
  40460. "description": "交易日yyyymm",
  40461. "type": "string"
  40462. }
  40463. }
  40464. },
  40465. "models.WrBrandAndYears": {
  40466. "type": "object",
  40467. "properties": {
  40468. "brandlst": {
  40469. "description": "品牌列表",
  40470. "type": "array",
  40471. "items": {
  40472. "$ref": "#/definitions/models.DgFactoryItem"
  40473. }
  40474. },
  40475. "yearslst": {
  40476. "description": "年份列表",
  40477. "type": "array",
  40478. "items": {
  40479. "$ref": "#/definitions/models.DgFactoryItem"
  40480. }
  40481. }
  40482. }
  40483. },
  40484. "models.WrBsGoodsInfo": {
  40485. "type": "object",
  40486. "properties": {
  40487. "buyorsell": {
  40488. "description": "买卖方向 0-买 1-卖",
  40489. "type": "integer"
  40490. },
  40491. "goodsid": {
  40492. "description": "交易合约ID",
  40493. "type": "integer"
  40494. },
  40495. "lstitem": {
  40496. "description": "商品信息项",
  40497. "type": "array",
  40498. "items": {
  40499. "$ref": "#/definitions/models.WrTypeItem"
  40500. }
  40501. },
  40502. "lststep": {
  40503. "description": "履约规则",
  40504. "type": "array",
  40505. "items": {
  40506. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  40507. }
  40508. }
  40509. }
  40510. },
  40511. "models.WrBuybackDetail": {
  40512. "type": "object",
  40513. "properties": {
  40514. "buybackamount": {
  40515. "description": "回购金额",
  40516. "type": "number"
  40517. },
  40518. "buybackqty": {
  40519. "description": "回购数量",
  40520. "type": "number"
  40521. },
  40522. "buybackreleasemargin": {
  40523. "description": "回购释放保证金",
  40524. "type": "number"
  40525. },
  40526. "buybacktime": {
  40527. "description": "回购时间",
  40528. "type": "string"
  40529. },
  40530. "errordesc": {
  40531. "description": "错误描述",
  40532. "type": "string"
  40533. },
  40534. "handlestatus": {
  40535. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  40536. "type": "integer"
  40537. },
  40538. "relatedwrid": {
  40539. "description": "关联仓单ID",
  40540. "type": "integer"
  40541. },
  40542. "scfcontractid": {
  40543. "description": "SCF合同ID",
  40544. "type": "string"
  40545. },
  40546. "scfwrbuybackid": {
  40547. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  40548. "type": "integer"
  40549. },
  40550. "tradedate": {
  40551. "description": "交易日(yyyyMMdd)",
  40552. "type": "string"
  40553. }
  40554. }
  40555. },
  40556. "models.WrClientAdSpaceConfig": {
  40557. "type": "object",
  40558. "properties": {
  40559. "adspaceid": {
  40560. "description": "广告位ID",
  40561. "type": "integer"
  40562. },
  40563. "adspacename": {
  40564. "description": "广告位名称",
  40565. "type": "string"
  40566. },
  40567. "adspacetype": {
  40568. "description": "广告位类型 - 1:固定广告位",
  40569. "type": "integer"
  40570. },
  40571. "areauserid": {
  40572. "description": "所属机构ID",
  40573. "type": "integer"
  40574. },
  40575. "createdate": {
  40576. "description": "创建时间",
  40577. "type": "string"
  40578. },
  40579. "imagepath": {
  40580. "description": "图片",
  40581. "type": "string"
  40582. },
  40583. "modifierid": {
  40584. "description": "操作人",
  40585. "type": "integer"
  40586. },
  40587. "recsize": {
  40588. "description": "推荐尺寸",
  40589. "type": "string"
  40590. },
  40591. "title": {
  40592. "description": "标题",
  40593. "type": "string"
  40594. },
  40595. "updatedate": {
  40596. "description": "更新时间",
  40597. "type": "string"
  40598. },
  40599. "urlcontent": {
  40600. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  40601. "type": "string"
  40602. },
  40603. "urltype": {
  40604. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  40605. "type": "integer"
  40606. }
  40607. }
  40608. },
  40609. "models.WrDeliveryAvalidHoldLB": {
  40610. "type": "object",
  40611. "properties": {
  40612. "accountid": {
  40613. "description": "资金账号",
  40614. "type": "integer"
  40615. },
  40616. "avalidqty": {
  40617. "description": "数量(可点选数量)",
  40618. "type": "number"
  40619. },
  40620. "deliverygoodsid": {
  40621. "description": "品种id",
  40622. "type": "integer"
  40623. },
  40624. "enumdicname": {
  40625. "description": "单位名称",
  40626. "type": "string"
  40627. },
  40628. "goodsid": {
  40629. "description": "x合约商品id",
  40630. "type": "integer"
  40631. },
  40632. "ladingbillid": {
  40633. "description": "提单id",
  40634. "type": "string"
  40635. },
  40636. "pgoodscode": {
  40637. "description": "p商品代码(点价合约)",
  40638. "type": "string"
  40639. },
  40640. "pgoodsid": {
  40641. "description": "p商品id(点价合约)",
  40642. "type": "integer"
  40643. },
  40644. "pgoodsname": {
  40645. "description": "p商品名称(点价合约)",
  40646. "type": "string"
  40647. },
  40648. "pricemove": {
  40649. "description": "升贴水",
  40650. "type": "number"
  40651. },
  40652. "subnum": {
  40653. "description": "提单子id",
  40654. "type": "integer"
  40655. },
  40656. "userid": {
  40657. "description": "用户id",
  40658. "type": "integer"
  40659. },
  40660. "username": {
  40661. "description": "仓单持有人",
  40662. "type": "string"
  40663. },
  40664. "warehousecode": {
  40665. "description": "仓库代码",
  40666. "type": "string"
  40667. },
  40668. "warehouseid": {
  40669. "description": "仓库id",
  40670. "type": "integer"
  40671. },
  40672. "warehousename": {
  40673. "description": "仓库名称",
  40674. "type": "string"
  40675. },
  40676. "wrfactortypeid": {
  40677. "description": "仓单要素id",
  40678. "type": "string"
  40679. },
  40680. "wrstandardcode": {
  40681. "description": "品代码",
  40682. "type": "string"
  40683. },
  40684. "wrstandardid": {
  40685. "description": "品类d",
  40686. "type": "integer"
  40687. },
  40688. "wrstandardname": {
  40689. "description": "品类名称",
  40690. "type": "string"
  40691. },
  40692. "wrtypename": {
  40693. "description": "商品",
  40694. "type": "string"
  40695. },
  40696. "xgoodscode": {
  40697. "description": "x合约代码",
  40698. "type": "string"
  40699. },
  40700. "xgoodsname": {
  40701. "description": "x合约名称",
  40702. "type": "string"
  40703. }
  40704. }
  40705. },
  40706. "models.WrDeliveryDetail": {
  40707. "type": "object",
  40708. "properties": {
  40709. "accountid": {
  40710. "description": "账号ID",
  40711. "type": "integer"
  40712. },
  40713. "averageprice": {
  40714. "description": "期初均价",
  40715. "type": "number"
  40716. },
  40717. "begindate": {
  40718. "description": "开始交易日(yyyymmdd)",
  40719. "type": "string"
  40720. },
  40721. "buyorsell": {
  40722. "description": "方向 - 0:买 1:卖",
  40723. "type": "integer"
  40724. },
  40725. "deliveryamount": {
  40726. "description": "货款金额(X总货款+P总货款)",
  40727. "type": "number"
  40728. },
  40729. "deliveryid": {
  40730. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  40731. "type": "string"
  40732. },
  40733. "deliveryorderid": {
  40734. "description": "申报单号",
  40735. "type": "string"
  40736. },
  40737. "deliverypricemove": {
  40738. "description": "升贴水(升贴水总额)",
  40739. "type": "number"
  40740. },
  40741. "deliveryqty": {
  40742. "description": "交收数量(点选数量)",
  40743. "type": "number"
  40744. },
  40745. "deliverystatus": {
  40746. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  40747. "type": "integer"
  40748. },
  40749. "deliverytime": {
  40750. "description": "交割时间",
  40751. "type": "string"
  40752. },
  40753. "deliverytotalamount": {
  40754. "description": "交收金额",
  40755. "type": "number"
  40756. },
  40757. "enddate": {
  40758. "description": "结束交易日(yyyymmdd)",
  40759. "type": "string"
  40760. },
  40761. "enumdicname": {
  40762. "description": "单位名称",
  40763. "type": "string"
  40764. },
  40765. "matchaccountid": {
  40766. "description": "对手账号ID",
  40767. "type": "integer"
  40768. },
  40769. "matchusername": {
  40770. "description": "对手方名称(仓单持有人)",
  40771. "type": "string"
  40772. },
  40773. "p1goodsremainamount": {
  40774. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  40775. "type": "number"
  40776. },
  40777. "pdeliverycloseqty": {
  40778. "description": "p合约平仓数量",
  40779. "type": "number"
  40780. },
  40781. "pdeliveryprice": {
  40782. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  40783. "type": "number"
  40784. },
  40785. "pgoodscode": {
  40786. "description": "商品代码",
  40787. "type": "string"
  40788. },
  40789. "pgoodsid": {
  40790. "description": "p点选合约id",
  40791. "type": "integer"
  40792. },
  40793. "pgoodsname": {
  40794. "description": "商品名称",
  40795. "type": "string"
  40796. },
  40797. "ppricemode": {
  40798. "description": "点价价格方式 - 1:商品价 2:固定值",
  40799. "type": "integer"
  40800. },
  40801. "tradedate": {
  40802. "description": "交易日(yyyymmdd)",
  40803. "type": "string"
  40804. },
  40805. "userid": {
  40806. "description": "用户id",
  40807. "type": "integer"
  40808. },
  40809. "username": {
  40810. "description": "用户名称",
  40811. "type": "string"
  40812. },
  40813. "warehousename": {
  40814. "description": "仓库名称",
  40815. "type": "string"
  40816. },
  40817. "wrfactortypeid": {
  40818. "description": "仓单要素类型ID",
  40819. "type": "string"
  40820. },
  40821. "wrtypename": {
  40822. "description": "商品",
  40823. "type": "string"
  40824. },
  40825. "xdeliverycloseqty": {
  40826. "description": "合约数量",
  40827. "type": "number"
  40828. },
  40829. "xgoodsamount": {
  40830. "description": "期初均价",
  40831. "type": "number"
  40832. },
  40833. "xgoodscode": {
  40834. "description": "商品代码",
  40835. "type": "string"
  40836. },
  40837. "xgoodsid": {
  40838. "description": "x交易合约ID",
  40839. "type": "integer"
  40840. },
  40841. "xgoodsname": {
  40842. "description": "商品名称",
  40843. "type": "string"
  40844. }
  40845. }
  40846. },
  40847. "models.WrDeliveryGoodsSection": {
  40848. "type": "object",
  40849. "properties": {
  40850. "dglst": {
  40851. "description": "板块商品列表",
  40852. "type": "array",
  40853. "items": {
  40854. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  40855. }
  40856. },
  40857. "imagepath": {
  40858. "description": "图片地址",
  40859. "type": "string"
  40860. },
  40861. "orderindex": {
  40862. "description": "排序",
  40863. "type": "integer"
  40864. },
  40865. "sectionid": {
  40866. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  40867. "type": "integer"
  40868. },
  40869. "sectionname": {
  40870. "description": "版块名称",
  40871. "type": "string"
  40872. },
  40873. "sectiontype": {
  40874. "description": "版块类型 - 1:指数版块 2:普通版块",
  40875. "type": "integer"
  40876. }
  40877. }
  40878. },
  40879. "models.WrDeliveryGoodsSectionConfig": {
  40880. "type": "object",
  40881. "properties": {
  40882. "deliverygoodscode": {
  40883. "description": "现货商品代码",
  40884. "type": "string"
  40885. },
  40886. "deliverygoodsid": {
  40887. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  40888. "type": "integer"
  40889. },
  40890. "deliverygoodsname": {
  40891. "description": "现货商品名称",
  40892. "type": "string"
  40893. },
  40894. "orderindex": {
  40895. "description": "排序",
  40896. "type": "integer"
  40897. }
  40898. }
  40899. },
  40900. "models.WrDraftUserInfo": {
  40901. "type": "object",
  40902. "properties": {
  40903. "address": {
  40904. "description": "地址",
  40905. "type": "string"
  40906. },
  40907. "attachment1": {
  40908. "description": "附件1",
  40909. "type": "string"
  40910. },
  40911. "attachment2": {
  40912. "description": "附件2",
  40913. "type": "string"
  40914. },
  40915. "attachment3": {
  40916. "description": "附件3",
  40917. "type": "string"
  40918. },
  40919. "attachment4": {
  40920. "description": "附件4",
  40921. "type": "string"
  40922. },
  40923. "attachment5": {
  40924. "description": "附件5",
  40925. "type": "string"
  40926. },
  40927. "bankaccount": {
  40928. "description": "银行帐号 (加密存储)",
  40929. "type": "string"
  40930. },
  40931. "bankaccountname": {
  40932. "description": "收款人名称",
  40933. "type": "string"
  40934. },
  40935. "bankcardfrontphotourl": {
  40936. "description": "银行卡正面照地址",
  40937. "type": "string"
  40938. },
  40939. "bankid": {
  40940. "description": "银行编码",
  40941. "type": "string"
  40942. },
  40943. "bankname": {
  40944. "description": "银行名称",
  40945. "type": "string"
  40946. },
  40947. "birthday": {
  40948. "description": "生日(个人:年月日)",
  40949. "type": "string"
  40950. },
  40951. "biznature": {
  40952. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  40953. "type": "integer"
  40954. },
  40955. "bizscope": {
  40956. "description": "企业经营范围(企业)",
  40957. "type": "string"
  40958. },
  40959. "biztype": {
  40960. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  40961. "type": "integer"
  40962. },
  40963. "cardbackphotourl": {
  40964. "description": "证件背面图片地址",
  40965. "type": "string"
  40966. },
  40967. "cardfrontphotourl": {
  40968. "description": "证件正面图片地址",
  40969. "type": "string"
  40970. },
  40971. "cardnum": {
  40972. "description": "证件号码(加密存储)",
  40973. "type": "string"
  40974. },
  40975. "cardtypeid": {
  40976. "description": "证件类型ID",
  40977. "type": "integer"
  40978. },
  40979. "cityid": {
  40980. "description": "市",
  40981. "type": "integer"
  40982. },
  40983. "company": {
  40984. "description": "公司(个人)",
  40985. "type": "string"
  40986. },
  40987. "contactcardbackphotourl": {
  40988. "description": "联系人证件背面图片地址",
  40989. "type": "string"
  40990. },
  40991. "contactcardfrontphotourl": {
  40992. "description": "联系人证件正面图片地址",
  40993. "type": "string"
  40994. },
  40995. "contactname": {
  40996. "description": "联系人",
  40997. "type": "string"
  40998. },
  40999. "countryid": {
  41000. "description": "国家",
  41001. "type": "integer"
  41002. },
  41003. "createtime": {
  41004. "description": "创建时间",
  41005. "type": "string"
  41006. },
  41007. "creatorid": {
  41008. "description": "创建人",
  41009. "type": "integer"
  41010. },
  41011. "creditquota": {
  41012. "description": "授信额度(金瑞)",
  41013. "type": "number"
  41014. },
  41015. "customername": {
  41016. "description": "客户名称(企业名称)",
  41017. "type": "string"
  41018. },
  41019. "districtid": {
  41020. "description": "地区",
  41021. "type": "integer"
  41022. },
  41023. "email": {
  41024. "description": "邮件(加密存储)",
  41025. "type": "string"
  41026. },
  41027. "fax": {
  41028. "description": "传真(加密存储)",
  41029. "type": "string"
  41030. },
  41031. "halfbodyphotourl": {
  41032. "description": "半身照地址",
  41033. "type": "string"
  41034. },
  41035. "hasencrypt": {
  41036. "description": "数据是否已加密 - 0:未加密 1:已加密",
  41037. "type": "integer"
  41038. },
  41039. "headurl": {
  41040. "description": "头像地址",
  41041. "type": "string"
  41042. },
  41043. "legalcardbackphotourl": {
  41044. "description": "法人身份证背面照地址",
  41045. "type": "string"
  41046. },
  41047. "legalcardfrontphotourl": {
  41048. "description": "法人身份证正面照地址",
  41049. "type": "string"
  41050. },
  41051. "legalpersonname": {
  41052. "description": "法人姓名(企业)",
  41053. "type": "string"
  41054. },
  41055. "mobile": {
  41056. "description": "手机号码(加密存储)",
  41057. "type": "string"
  41058. },
  41059. "mobile2": {
  41060. "description": "手机号码[明文-尚志]",
  41061. "type": "string"
  41062. },
  41063. "modifierid": {
  41064. "description": "修改人",
  41065. "type": "integer"
  41066. },
  41067. "modifiertime": {
  41068. "description": "修改时间",
  41069. "type": "string"
  41070. },
  41071. "needinvoice": {
  41072. "description": "是否需要发票 - 0:不需要 1:需要",
  41073. "type": "integer"
  41074. },
  41075. "nickname": {
  41076. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  41077. "type": "string"
  41078. },
  41079. "openmode": {
  41080. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  41081. "type": "integer"
  41082. },
  41083. "otherurl": {
  41084. "description": "其它图片地址[使用分号分隔]",
  41085. "type": "string"
  41086. },
  41087. "postalcode": {
  41088. "description": "邮政编码",
  41089. "type": "string"
  41090. },
  41091. "provinceid": {
  41092. "description": "省",
  41093. "type": "integer"
  41094. },
  41095. "proxystatementurl": {
  41096. "description": "授权委托书",
  41097. "type": "string"
  41098. },
  41099. "qq": {
  41100. "description": "QQ(加密存储",
  41101. "type": "string"
  41102. },
  41103. "remark": {
  41104. "description": "备注",
  41105. "type": "string"
  41106. },
  41107. "sex": {
  41108. "description": "用户性别 0: 女 1: 男",
  41109. "type": "integer"
  41110. },
  41111. "signpdfurl": {
  41112. "description": "签约pdf文件",
  41113. "type": "string"
  41114. },
  41115. "taxpayernum": {
  41116. "description": "纳税人识别号",
  41117. "type": "string"
  41118. },
  41119. "telphone": {
  41120. "description": "联系电话(加密存储)",
  41121. "type": "string"
  41122. },
  41123. "userid": {
  41124. "description": "用户ID",
  41125. "type": "integer"
  41126. },
  41127. "userinfotype": {
  41128. "description": "用户信息类型 - 1:个人 2:企业",
  41129. "type": "integer"
  41130. },
  41131. "userstatus": {
  41132. "description": "用户状态 - 1:正常 2:注销",
  41133. "type": "integer"
  41134. },
  41135. "usertype": {
  41136. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  41137. "type": "integer"
  41138. },
  41139. "wechat": {
  41140. "description": "微信(加密存储)",
  41141. "type": "string"
  41142. },
  41143. "wskhinfo": {
  41144. "description": "开户申请信息(JSON)",
  41145. "type": "string"
  41146. }
  41147. }
  41148. },
  41149. "models.WrFAProductDetail": {
  41150. "type": "object",
  41151. "properties": {
  41152. "accountid": {
  41153. "description": "资金账号",
  41154. "type": "integer"
  41155. },
  41156. "areauserid": {
  41157. "description": "金融机构ID",
  41158. "type": "integer"
  41159. },
  41160. "financingdays": {
  41161. "description": "天数(天)",
  41162. "type": "integer"
  41163. },
  41164. "interestminlen": {
  41165. "description": "最小起息天数",
  41166. "type": "integer"
  41167. },
  41168. "interestrate": {
  41169. "description": "利率",
  41170. "type": "number"
  41171. },
  41172. "interestratemode": {
  41173. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  41174. "type": "integer"
  41175. },
  41176. "interestsettlemode": {
  41177. "description": "结息方式 - 1:按日结息 3:按月结息",
  41178. "type": "integer"
  41179. },
  41180. "interestsettlevalue": {
  41181. "description": "结息方式值",
  41182. "type": "integer"
  41183. },
  41184. "isautoloan": {
  41185. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  41186. "type": "integer"
  41187. },
  41188. "loantag": {
  41189. "description": "放款标识: \"放款快\" 或者为空",
  41190. "type": "string"
  41191. },
  41192. "marginratio": {
  41193. "description": "保证金比率质押率 - [仓单质押]",
  41194. "type": "number"
  41195. },
  41196. "productdetailid": {
  41197. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  41198. "type": "integer"
  41199. },
  41200. "productid": {
  41201. "description": "金融产品ID",
  41202. "type": "integer"
  41203. },
  41204. "productname": {
  41205. "description": "产品名称",
  41206. "type": "string"
  41207. },
  41208. "updatetime": {
  41209. "description": "更新时间",
  41210. "type": "string"
  41211. },
  41212. "username": {
  41213. "description": "融出方",
  41214. "type": "string"
  41215. }
  41216. }
  41217. },
  41218. "models.WrFactorTypeInfo": {
  41219. "type": "object",
  41220. "properties": {
  41221. "deliverygoodscode": {
  41222. "description": "品种代码",
  41223. "type": "string"
  41224. },
  41225. "deliverygoodsname": {
  41226. "description": "品种名称",
  41227. "type": "string"
  41228. },
  41229. "dgfactoryitemid": {
  41230. "description": "选择项id",
  41231. "type": "integer"
  41232. },
  41233. "dgfactoryitemtypeid": {
  41234. "description": "要素选择项ID (1-仓库 2-品牌)",
  41235. "type": "integer"
  41236. },
  41237. "dgfactoryitemvalue": {
  41238. "description": "要素项值",
  41239. "type": "string"
  41240. },
  41241. "itemtypename": {
  41242. "description": "要素项名称",
  41243. "type": "string"
  41244. },
  41245. "optioncompare": {
  41246. "description": "选择比较串",
  41247. "type": "string"
  41248. },
  41249. "warehouseid": {
  41250. "description": "仓库id",
  41251. "type": "integer"
  41252. },
  41253. "wrfactortypeid": {
  41254. "description": "仓单要素ID",
  41255. "type": "string"
  41256. },
  41257. "wrfactortypename": {
  41258. "description": "要素名称",
  41259. "type": "string"
  41260. },
  41261. "wrfactortypename2": {
  41262. "description": "要素名称(不含仓库)",
  41263. "type": "string"
  41264. },
  41265. "wrstandardcode": {
  41266. "description": "品类代码",
  41267. "type": "string"
  41268. },
  41269. "wrstandardid": {
  41270. "description": "品类id",
  41271. "type": "integer"
  41272. },
  41273. "wrstandardname": {
  41274. "description": "品类名称",
  41275. "type": "string"
  41276. }
  41277. }
  41278. },
  41279. "models.WrFilterItem": {
  41280. "type": "object",
  41281. "properties": {
  41282. "itemcode": {
  41283. "description": "代码",
  41284. "type": "string"
  41285. },
  41286. "itemid": {
  41287. "description": "项id",
  41288. "type": "integer"
  41289. },
  41290. "itemname": {
  41291. "description": "名称",
  41292. "type": "string"
  41293. },
  41294. "itemtype": {
  41295. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  41296. "type": "integer"
  41297. }
  41298. }
  41299. },
  41300. "models.WrFinanceBuyApply": {
  41301. "type": "object",
  41302. "properties": {
  41303. "applydate": {
  41304. "description": "申请时间",
  41305. "type": "string"
  41306. },
  41307. "applystatus": {
  41308. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  41309. "type": "integer"
  41310. },
  41311. "applyuserid": {
  41312. "description": "申请人",
  41313. "type": "integer"
  41314. },
  41315. "auditdate": {
  41316. "description": "审核时间",
  41317. "type": "string"
  41318. },
  41319. "auditremark": {
  41320. "description": "审核备注",
  41321. "type": "string"
  41322. },
  41323. "audituserid": {
  41324. "description": "审核人",
  41325. "type": "integer"
  41326. },
  41327. "buyaccountid": {
  41328. "description": "买方资金账号",
  41329. "type": "integer"
  41330. },
  41331. "buyorsell": {
  41332. "description": "买卖 - 0:买 1:卖",
  41333. "type": "integer"
  41334. },
  41335. "buyuserid": {
  41336. "description": "买方用户ID",
  41337. "type": "integer"
  41338. },
  41339. "buyusername": {
  41340. "description": "买方名称",
  41341. "type": "string"
  41342. },
  41343. "buywrtradeorderid": {
  41344. "description": "融资方买委托单ID",
  41345. "type": "string"
  41346. },
  41347. "deliverygoodscode": {
  41348. "description": "品种代码",
  41349. "type": "string"
  41350. },
  41351. "deliverygoodsid": {
  41352. "description": "品种ID",
  41353. "type": "integer"
  41354. },
  41355. "deliverygoodsname": {
  41356. "description": "品种名称",
  41357. "type": "string"
  41358. },
  41359. "deliverymonth": {
  41360. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  41361. "type": "string"
  41362. },
  41363. "enumdicname": {
  41364. "description": "单位名称",
  41365. "type": "string"
  41366. },
  41367. "financeaccountid": {
  41368. "description": "融资方资金帐户ID",
  41369. "type": "integer"
  41370. },
  41371. "financeapplyid": {
  41372. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  41373. "type": "string"
  41374. },
  41375. "financeareauserid": {
  41376. "description": "融资方用户ID",
  41377. "type": "string"
  41378. },
  41379. "financename": {
  41380. "description": "融出方名称",
  41381. "type": "string"
  41382. },
  41383. "financetype": {
  41384. "description": "融资类型 1-融资回购",
  41385. "type": "integer"
  41386. },
  41387. "financingdays": {
  41388. "description": "天数(天)",
  41389. "type": "integer"
  41390. },
  41391. "freezebuymargin": {
  41392. "description": "冻结融资保证金(买方)",
  41393. "type": "number"
  41394. },
  41395. "handleremark": {
  41396. "description": "处理备注",
  41397. "type": "string"
  41398. },
  41399. "handlestatus": {
  41400. "description": "处理状态",
  41401. "type": "integer"
  41402. },
  41403. "interestminlen": {
  41404. "description": "最小起息天数",
  41405. "type": "integer"
  41406. },
  41407. "interestrate": {
  41408. "description": "利率",
  41409. "type": "number"
  41410. },
  41411. "interestratemode": {
  41412. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  41413. "type": "integer"
  41414. },
  41415. "interestsettlemode": {
  41416. "description": "结息方式 - 1:按日结息 3:按月结息",
  41417. "type": "integer"
  41418. },
  41419. "interestsettlevalue": {
  41420. "description": "结息方式值",
  41421. "type": "integer"
  41422. },
  41423. "isautoloan": {
  41424. "description": "是否自动放款 - 0:手动 1:自动",
  41425. "type": "integer"
  41426. },
  41427. "marginratio": {
  41428. "description": "保证金比率质押率 - [仓单质押]",
  41429. "type": "number"
  41430. },
  41431. "marketid": {
  41432. "description": "市场ID",
  41433. "type": "integer"
  41434. },
  41435. "minivalue": {
  41436. "description": "现货商品最小变动值",
  41437. "type": "integer"
  41438. },
  41439. "optioncompare": {
  41440. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41441. "type": "string"
  41442. },
  41443. "orderqty": {
  41444. "description": "委托数量(商品数量)",
  41445. "type": "number"
  41446. },
  41447. "productdetailid": {
  41448. "description": "产品组合ID",
  41449. "type": "integer"
  41450. },
  41451. "productid": {
  41452. "description": "金融产品ID",
  41453. "type": "integer"
  41454. },
  41455. "productname": {
  41456. "description": "产品名称",
  41457. "type": "string"
  41458. },
  41459. "remark": {
  41460. "description": "备注",
  41461. "type": "string"
  41462. },
  41463. "scfcontractid": {
  41464. "description": "仓单回购合同ID",
  41465. "type": "string"
  41466. },
  41467. "sellaccountid": {
  41468. "description": "卖方资金账号",
  41469. "type": "integer"
  41470. },
  41471. "selluserid": {
  41472. "description": "卖方用户ID",
  41473. "type": "integer"
  41474. },
  41475. "sellwrtradeorderid": {
  41476. "description": "卖方委托单ID",
  41477. "type": "string"
  41478. },
  41479. "tradeamount": {
  41480. "description": "成交金额(借款金额)",
  41481. "type": "number"
  41482. },
  41483. "tradedate": {
  41484. "description": "交易日(yyyyMMdd)",
  41485. "type": "string"
  41486. },
  41487. "tradeprice": {
  41488. "description": "成交价格",
  41489. "type": "number"
  41490. },
  41491. "warehouseid": {
  41492. "description": "仓库ID",
  41493. "type": "integer"
  41494. },
  41495. "warehousename": {
  41496. "description": "仓库名称",
  41497. "type": "string"
  41498. },
  41499. "wrfactortypeid": {
  41500. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41501. "type": "string"
  41502. },
  41503. "wrfactortypename": {
  41504. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41505. "type": "string"
  41506. },
  41507. "wrpricetype": {
  41508. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  41509. "type": "integer"
  41510. },
  41511. "wrstandardcode": {
  41512. "description": "现货商品代码",
  41513. "type": "string"
  41514. },
  41515. "wrstandardid": {
  41516. "description": "现货商品ID",
  41517. "type": "integer"
  41518. },
  41519. "wrstandardname": {
  41520. "description": "商品名称",
  41521. "type": "string"
  41522. },
  41523. "wrtypename": {
  41524. "description": "商品",
  41525. "type": "string"
  41526. }
  41527. }
  41528. },
  41529. "models.WrFriendApply": {
  41530. "type": "object",
  41531. "properties": {
  41532. "applicantid": {
  41533. "description": "申请人",
  41534. "type": "integer"
  41535. },
  41536. "applyname": {
  41537. "description": "申请人名称",
  41538. "type": "string"
  41539. },
  41540. "applysrc": {
  41541. "description": "申请来源 - 1:管理端 2:终端",
  41542. "type": "integer"
  41543. },
  41544. "applystatus": {
  41545. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  41546. "type": "integer"
  41547. },
  41548. "applytime": {
  41549. "description": "申请时间",
  41550. "type": "string"
  41551. },
  41552. "auditname": {
  41553. "description": "审核人名称",
  41554. "type": "string"
  41555. },
  41556. "auditorid": {
  41557. "description": "审核人",
  41558. "type": "integer"
  41559. },
  41560. "auditremark": {
  41561. "description": "审核备注",
  41562. "type": "string"
  41563. },
  41564. "auditsrc": {
  41565. "description": "审核来源 - 1:管理端 2:终端",
  41566. "type": "integer"
  41567. },
  41568. "audittime": {
  41569. "description": "审核时间",
  41570. "type": "string"
  41571. },
  41572. "friendapplyid": {
  41573. "description": "申请ID(SEQ_FRIENDAPPLY)",
  41574. "type": "string"
  41575. },
  41576. "friendname": {
  41577. "description": "好友名字(已脱敏)",
  41578. "type": "string"
  41579. },
  41580. "frienduserid": {
  41581. "description": "好友用户ID",
  41582. "type": "string"
  41583. },
  41584. "remark": {
  41585. "description": "备注",
  41586. "type": "string"
  41587. },
  41588. "userid": {
  41589. "description": "申请人用户ID",
  41590. "type": "integer"
  41591. }
  41592. }
  41593. },
  41594. "models.WrFtDeliveryGoods": {
  41595. "type": "object",
  41596. "properties": {
  41597. "deliverygoodscode": {
  41598. "description": "品种代码",
  41599. "type": "string"
  41600. },
  41601. "deliverygoodsid": {
  41602. "description": "品种ID",
  41603. "type": "integer"
  41604. },
  41605. "deliverygoodsname": {
  41606. "description": "品种名称",
  41607. "type": "string"
  41608. },
  41609. "wdlst": {
  41610. "description": "商品列表",
  41611. "type": "array",
  41612. "items": {
  41613. "$ref": "#/definitions/models.WrFtWrstandard"
  41614. }
  41615. }
  41616. }
  41617. },
  41618. "models.WrFtWrstandard": {
  41619. "type": "object",
  41620. "properties": {
  41621. "enumdicname": {
  41622. "description": "单位名称",
  41623. "type": "string"
  41624. },
  41625. "minivalue": {
  41626. "description": "最小变动值",
  41627. "type": "integer"
  41628. },
  41629. "wrstandardcode": {
  41630. "description": "现货商品代码",
  41631. "type": "string"
  41632. },
  41633. "wrstandardid": {
  41634. "description": "现货商品ID",
  41635. "type": "integer"
  41636. },
  41637. "wrstandardname": {
  41638. "description": "商品名称",
  41639. "type": "string"
  41640. }
  41641. }
  41642. },
  41643. "models.WrGoodsInfo": {
  41644. "type": "object",
  41645. "properties": {
  41646. "haswr": {
  41647. "description": "0:仓单预售 1:仓单贸易",
  41648. "type": "integer"
  41649. },
  41650. "lstitem": {
  41651. "description": "商品信息项",
  41652. "type": "array",
  41653. "items": {
  41654. "$ref": "#/definitions/models.WrTypeItem"
  41655. }
  41656. },
  41657. "lststep": {
  41658. "description": "履约规则",
  41659. "type": "array",
  41660. "items": {
  41661. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  41662. }
  41663. },
  41664. "marketid": {
  41665. "description": "市场id",
  41666. "type": "integer"
  41667. }
  41668. }
  41669. },
  41670. "models.WrGoodsPerformanceStep": {
  41671. "type": "object",
  41672. "properties": {
  41673. "autoid": {
  41674. "description": "AutoID",
  41675. "type": "integer"
  41676. },
  41677. "isauto": {
  41678. "description": "是否自动 - 0:不自动 1:自动",
  41679. "type": "integer"
  41680. },
  41681. "remark": {
  41682. "description": "备注",
  41683. "type": "string"
  41684. },
  41685. "stepdate": {
  41686. "description": "天数信息(T+N)",
  41687. "type": "string"
  41688. },
  41689. "stepdays": {
  41690. "description": "距离上一步天数",
  41691. "type": "integer"
  41692. },
  41693. "stepindex": {
  41694. "description": "步骤序号",
  41695. "type": "integer"
  41696. },
  41697. "stepinfo": {
  41698. "description": "步骤信息(步骤名称+步骤值)",
  41699. "type": "string"
  41700. },
  41701. "steptypeid": {
  41702. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  41703. "type": "integer"
  41704. },
  41705. "steptypename": {
  41706. "description": "步骤名称",
  41707. "type": "string"
  41708. },
  41709. "stepvalue": {
  41710. "description": "期初均价",
  41711. "type": "number"
  41712. },
  41713. "templateid": {
  41714. "description": "履约计划模板ID",
  41715. "type": "integer"
  41716. }
  41717. }
  41718. },
  41719. "models.WrHoldLB": {
  41720. "type": "object",
  41721. "properties": {
  41722. "accountid": {
  41723. "description": "持有人帐户ID",
  41724. "type": "integer"
  41725. },
  41726. "bannerpicurl": {
  41727. "description": "Banner图",
  41728. "type": "string"
  41729. },
  41730. "createtime": {
  41731. "description": "创建时间(过户时间)",
  41732. "type": "string"
  41733. },
  41734. "deliverygoodscode": {
  41735. "description": "品种代码",
  41736. "type": "string"
  41737. },
  41738. "deliverygoodsid": {
  41739. "description": "品种ID",
  41740. "type": "integer"
  41741. },
  41742. "deliverygoodsname": {
  41743. "description": "品种名称",
  41744. "type": "string"
  41745. },
  41746. "enableqty": {
  41747. "description": "可用数量",
  41748. "type": "number"
  41749. },
  41750. "enumdicname": {
  41751. "description": "单位名称",
  41752. "type": "string"
  41753. },
  41754. "freezerqty": {
  41755. "description": "冻结数量",
  41756. "type": "number"
  41757. },
  41758. "ladingbillid": {
  41759. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  41760. "type": "string"
  41761. },
  41762. "minivalue": {
  41763. "description": "现货商品最小变动值",
  41764. "type": "integer"
  41765. },
  41766. "optioncompare": {
  41767. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41768. "type": "string"
  41769. },
  41770. "parentsubnum": {
  41771. "description": "拆分父子单号",
  41772. "type": "integer"
  41773. },
  41774. "pledgeqty": {
  41775. "description": "质押数量",
  41776. "type": "number"
  41777. },
  41778. "qty": {
  41779. "description": "数量",
  41780. "type": "number"
  41781. },
  41782. "subnum": {
  41783. "description": "提单子单号",
  41784. "type": "integer"
  41785. },
  41786. "thumurls": {
  41787. "description": "缩略图",
  41788. "type": "string"
  41789. },
  41790. "tradedate": {
  41791. "description": "交易日(yyyyMMdd)",
  41792. "type": "string"
  41793. },
  41794. "userid": {
  41795. "description": "持有人ID",
  41796. "type": "integer"
  41797. },
  41798. "warehouseid": {
  41799. "description": "仓库ID",
  41800. "type": "integer"
  41801. },
  41802. "warehousename": {
  41803. "description": "仓库名称",
  41804. "type": "string"
  41805. },
  41806. "wrfactortypeid": {
  41807. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41808. "type": "string"
  41809. },
  41810. "wrfactortypename": {
  41811. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41812. "type": "string"
  41813. },
  41814. "wrholdeno": {
  41815. "description": "仓单编号",
  41816. "type": "string"
  41817. },
  41818. "wrid": {
  41819. "description": "仓单变更ID",
  41820. "type": "string"
  41821. },
  41822. "wrstandardcode": {
  41823. "description": "现货商品代码",
  41824. "type": "string"
  41825. },
  41826. "wrstandardid": {
  41827. "description": "现货商品ID",
  41828. "type": "integer"
  41829. },
  41830. "wrstandardname": {
  41831. "description": "商品名称",
  41832. "type": "string"
  41833. },
  41834. "wrtypename": {
  41835. "description": "商品",
  41836. "type": "string"
  41837. }
  41838. }
  41839. },
  41840. "models.WrMarketTradeConfig": {
  41841. "type": "object",
  41842. "properties": {
  41843. "basisdownratio": {
  41844. "description": "浮动价基差下限比例(仓单贸易)",
  41845. "type": "number"
  41846. },
  41847. "basisupratio": {
  41848. "description": "浮动价基差上限比例(仓单贸易)",
  41849. "type": "number"
  41850. },
  41851. "buychargealgorithm": {
  41852. "description": "买方手续费收取方式 1:比率 2:固定",
  41853. "type": "integer"
  41854. },
  41855. "buychargealgorithm2": {
  41856. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  41857. "type": "integer"
  41858. },
  41859. "buychargealgorithmvalue": {
  41860. "description": "买方手续费设置值(交易所部分)",
  41861. "type": "number"
  41862. },
  41863. "buychargealgorithmvalue2": {
  41864. "description": "买方手续费设置值(会员部分)",
  41865. "type": "number"
  41866. },
  41867. "buychargealgorithmvalue3": {
  41868. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  41869. "type": "number"
  41870. },
  41871. "buychargealgorithmvalue4": {
  41872. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  41873. "type": "number"
  41874. },
  41875. "buyfirstmarginalgorithm": {
  41876. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  41877. "type": "integer"
  41878. },
  41879. "buyfirstmarginvalue": {
  41880. "description": "买方出价保证金设置值 - [竞拍]",
  41881. "type": "number"
  41882. },
  41883. "buymarginalgorithm": {
  41884. "description": "买方保证金方式 - 1:比率 2:固定",
  41885. "type": "integer"
  41886. },
  41887. "buymarginvalue": {
  41888. "description": "买方保证金设置值",
  41889. "type": "number"
  41890. },
  41891. "buyreleaseratio": {
  41892. "description": "买方释放比率[2:分步履约]",
  41893. "type": "number"
  41894. },
  41895. "executemode": {
  41896. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  41897. "type": "integer"
  41898. },
  41899. "executeside": {
  41900. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  41901. "type": "integer"
  41902. },
  41903. "failedchargealgorithm": {
  41904. "description": "流拍手续费收取方式 1:比率 2:固定",
  41905. "type": "integer"
  41906. },
  41907. "failedchargevalue": {
  41908. "description": "流拍手续费设置值",
  41909. "type": "number"
  41910. },
  41911. "failedchargevalue2": {
  41912. "description": "流拍卖方手续费设置值",
  41913. "type": "number"
  41914. },
  41915. "holddays": {
  41916. "description": "合同期限[2:分步履约]",
  41917. "type": "integer"
  41918. },
  41919. "listingmode": {
  41920. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  41921. "type": "integer"
  41922. },
  41923. "marketid": {
  41924. "description": "市场ID-仓单贸易、竞拍、预售",
  41925. "type": "integer"
  41926. },
  41927. "minqty": {
  41928. "description": "最小执行量[2:分步履约]",
  41929. "type": "number"
  41930. },
  41931. "modifierid": {
  41932. "description": "修改人",
  41933. "type": "integer"
  41934. },
  41935. "nowrquotaflag": {
  41936. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  41937. "type": "integer"
  41938. },
  41939. "performancetempid": {
  41940. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  41941. "type": "integer"
  41942. },
  41943. "performancetempid2": {
  41944. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  41945. "type": "integer"
  41946. },
  41947. "performancetempid2s": {
  41948. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  41949. "type": "string"
  41950. },
  41951. "performancetempids": {
  41952. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  41953. "type": "string"
  41954. },
  41955. "performanceway": {
  41956. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  41957. "type": "integer"
  41958. },
  41959. "sellchargealgorithm": {
  41960. "description": "卖方手续费收取方式 1:比率 2:固定",
  41961. "type": "integer"
  41962. },
  41963. "sellchargealgorithm2": {
  41964. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  41965. "type": "integer"
  41966. },
  41967. "sellchargealgorithmvalue": {
  41968. "description": "卖方手续费设置值(交易所部分)",
  41969. "type": "number"
  41970. },
  41971. "sellchargealgorithmvalue2": {
  41972. "description": "卖方手续费设置值(会员部分)",
  41973. "type": "number"
  41974. },
  41975. "sellchargealgorithmvalue3": {
  41976. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  41977. "type": "number"
  41978. },
  41979. "sellchargealgorithmvalue4": {
  41980. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  41981. "type": "number"
  41982. },
  41983. "sellmarginalgorithm": {
  41984. "description": "卖方保证金方式 - 1:比率 2:固定",
  41985. "type": "integer"
  41986. },
  41987. "sellmarginvalue": {
  41988. "description": "卖方保证金设置值",
  41989. "type": "number"
  41990. },
  41991. "sellmarginvalue2": {
  41992. "description": "卖方保证金设置值(无仓单)",
  41993. "type": "number"
  41994. },
  41995. "sellreleaseratio": {
  41996. "description": "卖方释放比率[2:分步履约]",
  41997. "type": "number"
  41998. },
  41999. "updatetime": {
  42000. "description": "更新时间",
  42001. "type": "string"
  42002. }
  42003. }
  42004. },
  42005. "models.WrOrderDetail": {
  42006. "type": "object",
  42007. "properties": {
  42008. "accountid": {
  42009. "description": "交易账号(资金账号)",
  42010. "type": "integer"
  42011. },
  42012. "allfriendsflag": {
  42013. "description": "是否全好友可见 - 0:否 1:是",
  42014. "type": "integer"
  42015. },
  42016. "amount": {
  42017. "description": "期初均价",
  42018. "type": "number"
  42019. },
  42020. "bannerpicurl": {
  42021. "description": "Banner图",
  42022. "type": "string"
  42023. },
  42024. "begindate": {
  42025. "description": "开始交易日(yyyymmdd)",
  42026. "type": "string"
  42027. },
  42028. "buyorsell": {
  42029. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  42030. "type": "integer"
  42031. },
  42032. "canbargain": {
  42033. "description": "是否可议价 - 0:不可 1:可",
  42034. "type": "integer"
  42035. },
  42036. "cancelqty": {
  42037. "description": "撤销数量",
  42038. "type": "number"
  42039. },
  42040. "canpart": {
  42041. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  42042. "type": "integer"
  42043. },
  42044. "delistminqty": {
  42045. "description": "起摘数量",
  42046. "type": "integer"
  42047. },
  42048. "deliverygoodscode": {
  42049. "description": "品种代码",
  42050. "type": "string"
  42051. },
  42052. "deliverygoodsid": {
  42053. "description": "品种ID",
  42054. "type": "integer"
  42055. },
  42056. "deliverygoodsname": {
  42057. "description": "品种名称",
  42058. "type": "string"
  42059. },
  42060. "deliverymonth": {
  42061. "description": "交收月",
  42062. "type": "string"
  42063. },
  42064. "enddate": {
  42065. "description": "结束交易日(yyyymmdd)",
  42066. "type": "string"
  42067. },
  42068. "enumdicname": {
  42069. "description": "单位名称",
  42070. "type": "string"
  42071. },
  42072. "fixedprice": {
  42073. "description": "固定价格 - [挂牌]",
  42074. "type": "number"
  42075. },
  42076. "freezecharge": {
  42077. "description": "期初均价",
  42078. "type": "number"
  42079. },
  42080. "freezemargin": {
  42081. "description": "期初均价",
  42082. "type": "number"
  42083. },
  42084. "futupricemove": {
  42085. "description": "期货升贴水",
  42086. "type": "number"
  42087. },
  42088. "futushow": {
  42089. "description": "期货合约/升贴水",
  42090. "type": "string"
  42091. },
  42092. "goodscode": {
  42093. "description": "期货合约",
  42094. "type": "string"
  42095. },
  42096. "goodsid": {
  42097. "description": "期货商品id",
  42098. "type": "integer"
  42099. },
  42100. "goodsname": {
  42101. "description": "商品名称",
  42102. "type": "string"
  42103. },
  42104. "haswr": {
  42105. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  42106. "type": "integer"
  42107. },
  42108. "isspecified": {
  42109. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  42110. "type": "integer"
  42111. },
  42112. "ladingbillid": {
  42113. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  42114. "type": "string"
  42115. },
  42116. "marginvalue": {
  42117. "description": "期初均价",
  42118. "type": "number"
  42119. },
  42120. "marketid": {
  42121. "description": "市场ID",
  42122. "type": "integer"
  42123. },
  42124. "matchusername": {
  42125. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  42126. "type": "string"
  42127. },
  42128. "minivalue": {
  42129. "description": "现货商品最小变动值",
  42130. "type": "integer"
  42131. },
  42132. "optioncompare": {
  42133. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42134. "type": "string"
  42135. },
  42136. "orderqty": {
  42137. "description": "委托数量",
  42138. "type": "number"
  42139. },
  42140. "ordertime": {
  42141. "description": "委托时间(挂牌时间)",
  42142. "type": "string"
  42143. },
  42144. "performancetemplateid": {
  42145. "description": "履约模板id",
  42146. "type": "integer"
  42147. },
  42148. "pricemove": {
  42149. "description": "升贴水(浮动价时填写) - [挂牌]",
  42150. "type": "number"
  42151. },
  42152. "taname": {
  42153. "description": "交易用户名称(资金账号名称)",
  42154. "type": "string"
  42155. },
  42156. "thumurls": {
  42157. "description": "缩略图",
  42158. "type": "string"
  42159. },
  42160. "tradedate": {
  42161. "description": "交易日(yyyyMMdd)",
  42162. "type": "string"
  42163. },
  42164. "tradeprice": {
  42165. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  42166. "type": "number"
  42167. },
  42168. "tradeqty": {
  42169. "description": "成交数量",
  42170. "type": "number"
  42171. },
  42172. "userid": {
  42173. "description": "用户ID",
  42174. "type": "integer"
  42175. },
  42176. "validtime": {
  42177. "description": "挂牌有效期",
  42178. "type": "string"
  42179. },
  42180. "validtype": {
  42181. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  42182. "type": "integer"
  42183. },
  42184. "warehouseid": {
  42185. "description": "仓库ID",
  42186. "type": "integer"
  42187. },
  42188. "warehousename": {
  42189. "description": "仓库名称",
  42190. "type": "string"
  42191. },
  42192. "wrfactortypeid": {
  42193. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42194. "type": "string"
  42195. },
  42196. "wrfactortypename": {
  42197. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42198. "type": "string"
  42199. },
  42200. "wrpricetype": {
  42201. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  42202. "type": "integer"
  42203. },
  42204. "wrstandardcode": {
  42205. "description": "现货商品代码",
  42206. "type": "string"
  42207. },
  42208. "wrstandardid": {
  42209. "description": "现货商品ID",
  42210. "type": "integer"
  42211. },
  42212. "wrstandardname": {
  42213. "description": "商品名称",
  42214. "type": "string"
  42215. },
  42216. "wrtradeorderid": {
  42217. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  42218. "type": "string"
  42219. },
  42220. "wrtradeorderstatus": {
  42221. "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:撤单解冻贷款失败",
  42222. "type": "integer"
  42223. },
  42224. "wrtradetype": {
  42225. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  42226. "type": "integer"
  42227. },
  42228. "wrtypename": {
  42229. "description": "商品",
  42230. "type": "string"
  42231. }
  42232. }
  42233. },
  42234. "models.WrOrderQuote": {
  42235. "type": "object",
  42236. "properties": {
  42237. "bannerpicurl": {
  42238. "description": "Banner图",
  42239. "type": "string"
  42240. },
  42241. "buyprice": {
  42242. "description": "买价",
  42243. "type": "number"
  42244. },
  42245. "buypricemove": {
  42246. "description": "买升贴水(基差)",
  42247. "type": "number"
  42248. },
  42249. "buyqty": {
  42250. "description": "买量",
  42251. "type": "number"
  42252. },
  42253. "deliverygoodscode": {
  42254. "description": "品种代码",
  42255. "type": "string"
  42256. },
  42257. "deliverygoodsid": {
  42258. "description": "品种id",
  42259. "type": "integer"
  42260. },
  42261. "deliverygoodsname": {
  42262. "description": "品种名称",
  42263. "type": "string"
  42264. },
  42265. "deliverymonth": {
  42266. "description": "交收月",
  42267. "type": "string"
  42268. },
  42269. "enumdicname": {
  42270. "description": "单位名称",
  42271. "type": "string"
  42272. },
  42273. "goodscode": {
  42274. "description": "商品合约(浮动价列表才有)",
  42275. "type": "string"
  42276. },
  42277. "goodsid": {
  42278. "description": "商品id(浮动价列表才有)",
  42279. "type": "integer"
  42280. },
  42281. "minivalue": {
  42282. "description": "现货商品最小变动值",
  42283. "type": "integer"
  42284. },
  42285. "pictureurls": {
  42286. "description": "详情图片(逗号分隔)",
  42287. "type": "string"
  42288. },
  42289. "sellprice": {
  42290. "description": "卖价",
  42291. "type": "number"
  42292. },
  42293. "sellpricemove": {
  42294. "description": "卖升贴水(基差)",
  42295. "type": "number"
  42296. },
  42297. "sellqty": {
  42298. "description": "卖量",
  42299. "type": "number"
  42300. },
  42301. "thumurls": {
  42302. "description": "缩略图片(1:1)(逗号分隔)",
  42303. "type": "string"
  42304. },
  42305. "warehousecode": {
  42306. "description": "仓库代码",
  42307. "type": "string"
  42308. },
  42309. "warehouseid": {
  42310. "description": "仓库id",
  42311. "type": "integer"
  42312. },
  42313. "warehousename": {
  42314. "description": "仓库名称",
  42315. "type": "string"
  42316. },
  42317. "wrfactortypeid": {
  42318. "description": "仓单要素id",
  42319. "type": "string"
  42320. },
  42321. "wrfactortypename": {
  42322. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42323. "type": "string"
  42324. },
  42325. "wrgoodsname": {
  42326. "description": "商品(商品名称+仓库要素名称 拼接)",
  42327. "type": "string"
  42328. },
  42329. "wrstandardcode": {
  42330. "description": "商品代码",
  42331. "type": "string"
  42332. },
  42333. "wrstandardid": {
  42334. "description": "商品id",
  42335. "type": "integer"
  42336. },
  42337. "wrstandardname": {
  42338. "description": "商品名称",
  42339. "type": "string"
  42340. }
  42341. }
  42342. },
  42343. "models.WrOrderQuoteDetail": {
  42344. "type": "object",
  42345. "properties": {
  42346. "buyorsell": {
  42347. "description": "买卖 - 0:买 1:卖",
  42348. "type": "integer"
  42349. },
  42350. "delistminqty": {
  42351. "description": "期初均价",
  42352. "type": "number"
  42353. },
  42354. "deliverymonth": {
  42355. "description": "交收月",
  42356. "type": "string"
  42357. },
  42358. "enumdicname": {
  42359. "description": "单位名称",
  42360. "type": "string"
  42361. },
  42362. "fixedprice": {
  42363. "description": "买(卖)价",
  42364. "type": "number"
  42365. },
  42366. "marketid": {
  42367. "description": "市场id",
  42368. "type": "integer"
  42369. },
  42370. "minivalue": {
  42371. "description": "现货商品最小变动值",
  42372. "type": "integer"
  42373. },
  42374. "orderqty": {
  42375. "description": "买(卖)量(=委托量-成交量)",
  42376. "type": "number"
  42377. },
  42378. "ordertime": {
  42379. "description": "委托时间",
  42380. "type": "string"
  42381. },
  42382. "pricemove": {
  42383. "description": "买(卖)升贴水- 基差",
  42384. "type": "number"
  42385. },
  42386. "userid": {
  42387. "description": "购买方(销售方)用户ID",
  42388. "type": "integer"
  42389. },
  42390. "username": {
  42391. "description": "购买方(销售方)",
  42392. "type": "string"
  42393. },
  42394. "wrtradeorderid": {
  42395. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  42396. "type": "string"
  42397. }
  42398. }
  42399. },
  42400. "models.WrOutInApply": {
  42401. "type": "object",
  42402. "properties": {
  42403. "applyid": {
  42404. "description": "申请单id",
  42405. "type": "string"
  42406. },
  42407. "applystatus": {
  42408. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  42409. "type": "integer"
  42410. },
  42411. "applytime": {
  42412. "description": "申请时间",
  42413. "type": "string"
  42414. },
  42415. "applytype": {
  42416. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  42417. "type": "integer"
  42418. },
  42419. "bannerpicurl": {
  42420. "description": "Banner图",
  42421. "type": "string"
  42422. },
  42423. "begindate": {
  42424. "description": "开始交易日(yyyymmdd)",
  42425. "type": "string"
  42426. },
  42427. "deliverygoodscode": {
  42428. "description": "品种代码",
  42429. "type": "string"
  42430. },
  42431. "deliverygoodsid": {
  42432. "description": "品种ID",
  42433. "type": "integer"
  42434. },
  42435. "deliverygoodsname": {
  42436. "description": "品种名称",
  42437. "type": "string"
  42438. },
  42439. "enddate": {
  42440. "description": "结束交易日(yyyymmdd)",
  42441. "type": "string"
  42442. },
  42443. "enumdicname": {
  42444. "description": "单位名称",
  42445. "type": "string"
  42446. },
  42447. "expresscompany": {
  42448. "description": "物流公司",
  42449. "type": "string"
  42450. },
  42451. "expressnum": {
  42452. "description": "物流单号",
  42453. "type": "string"
  42454. },
  42455. "minivalue": {
  42456. "description": "现货商品最小变动值",
  42457. "type": "integer"
  42458. },
  42459. "optioncompare": {
  42460. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42461. "type": "string"
  42462. },
  42463. "qty": {
  42464. "description": "数量",
  42465. "type": "integer"
  42466. },
  42467. "userid": {
  42468. "description": "用户id",
  42469. "type": "integer"
  42470. },
  42471. "warehouseid": {
  42472. "description": "仓库ID",
  42473. "type": "integer"
  42474. },
  42475. "warehousename": {
  42476. "description": "仓库名称",
  42477. "type": "string"
  42478. },
  42479. "wrfactortypeid": {
  42480. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42481. "type": "string"
  42482. },
  42483. "wrfactortypename": {
  42484. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42485. "type": "string"
  42486. },
  42487. "wrstandardcode": {
  42488. "description": "现货商品代码",
  42489. "type": "string"
  42490. },
  42491. "wrstandardid": {
  42492. "description": "现货商品ID",
  42493. "type": "integer"
  42494. },
  42495. "wrstandardname": {
  42496. "description": "商品名称",
  42497. "type": "string"
  42498. },
  42499. "wrtypename": {
  42500. "description": "商品",
  42501. "type": "string"
  42502. }
  42503. }
  42504. },
  42505. "models.WrPerformancePlan": {
  42506. "type": "object",
  42507. "required": [
  42508. "userid"
  42509. ],
  42510. "properties": {
  42511. "activatemonth": {
  42512. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  42513. "type": "string"
  42514. },
  42515. "amount": {
  42516. "description": "履约金额(总金额)",
  42517. "type": "number"
  42518. },
  42519. "begindate": {
  42520. "description": "开始交易日(yyyymmdd)",
  42521. "type": "string"
  42522. },
  42523. "buyaccountid": {
  42524. "description": "买方账号",
  42525. "type": "integer"
  42526. },
  42527. "buyerfreezeamount": {
  42528. "description": "履约冻结(买履约)",
  42529. "type": "number"
  42530. },
  42531. "buyerfreezeamountremain": {
  42532. "description": "履约冻结剩余(买履约)",
  42533. "type": "number"
  42534. },
  42535. "buyorsell": {
  42536. "description": "买卖方向 0-买 1-卖",
  42537. "type": "integer"
  42538. },
  42539. "buypaidamount": {
  42540. "description": "买方已冻/已扣金额 (已付金额)",
  42541. "type": "number"
  42542. },
  42543. "buyusername": {
  42544. "description": "买方名字",
  42545. "type": "string"
  42546. },
  42547. "contractid": {
  42548. "description": "合同ID",
  42549. "type": "integer"
  42550. },
  42551. "createtime": {
  42552. "description": "创建时间",
  42553. "type": "string"
  42554. },
  42555. "creatorid": {
  42556. "description": "创建人",
  42557. "type": "integer"
  42558. },
  42559. "curstepdeadline": {
  42560. "description": "当前步骤到期时间",
  42561. "type": "string"
  42562. },
  42563. "curstepid": {
  42564. "description": "当前步骤ID",
  42565. "type": "string"
  42566. },
  42567. "curstepname": {
  42568. "description": "当前步骤名称",
  42569. "type": "string"
  42570. },
  42571. "deliverygoodscode": {
  42572. "description": "品种代码",
  42573. "type": "string"
  42574. },
  42575. "deliverygoodsid": {
  42576. "description": "品种ID",
  42577. "type": "integer"
  42578. },
  42579. "deliverygoodsname": {
  42580. "description": "品种名称",
  42581. "type": "string"
  42582. },
  42583. "enddate": {
  42584. "description": "结束交易日(yyyymmdd)",
  42585. "type": "string"
  42586. },
  42587. "enumdicname": {
  42588. "description": "单位名称",
  42589. "type": "string"
  42590. },
  42591. "expressfee": {
  42592. "description": "运费",
  42593. "type": "number"
  42594. },
  42595. "expressfeeconfirmed": {
  42596. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  42597. "type": "integer"
  42598. },
  42599. "hasovershort": {
  42600. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  42601. "type": "integer"
  42602. },
  42603. "haswr": {
  42604. "description": "类型 0-仓单预售 1-仓单贸易",
  42605. "type": "integer"
  42606. },
  42607. "marketid": {
  42608. "description": "市场ID",
  42609. "type": "integer"
  42610. },
  42611. "middleaccountid": {
  42612. "description": "中间商资金账号ID",
  42613. "type": "integer"
  42614. },
  42615. "middleuserid": {
  42616. "description": "中间商用户ID",
  42617. "type": "integer"
  42618. },
  42619. "minivalue": {
  42620. "description": "现货商品最小变动值",
  42621. "type": "integer"
  42622. },
  42623. "optioncompare": {
  42624. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42625. "type": "string"
  42626. },
  42627. "overshortamount": {
  42628. "description": "溢短金额",
  42629. "type": "number"
  42630. },
  42631. "overshortqty": {
  42632. "description": "溢短数量",
  42633. "type": "number"
  42634. },
  42635. "paymenttype": {
  42636. "description": "付款方式 - 1:冻结 2:扣款",
  42637. "type": "integer"
  42638. },
  42639. "performanceplanid": {
  42640. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  42641. "type": "string"
  42642. },
  42643. "performancestatus": {
  42644. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  42645. "type": "integer"
  42646. },
  42647. "performancetype": {
  42648. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  42649. "type": "integer"
  42650. },
  42651. "qty": {
  42652. "description": "履约数量",
  42653. "type": "number"
  42654. },
  42655. "relatedorderid": {
  42656. "description": "关联单号(履约类型的关联单号)",
  42657. "type": "string"
  42658. },
  42659. "remark": {
  42660. "description": "备注",
  42661. "type": "string"
  42662. },
  42663. "sellaccountid": {
  42664. "description": "卖方账号",
  42665. "type": "integer"
  42666. },
  42667. "sellerfreezeamount": {
  42668. "description": "履约冻结(卖履约)",
  42669. "type": "number"
  42670. },
  42671. "sellerfreezeamountremain": {
  42672. "description": "履约冻结剩余(卖履约)",
  42673. "type": "number"
  42674. },
  42675. "sellreceivedamount": {
  42676. "description": "卖方已收金额",
  42677. "type": "number"
  42678. },
  42679. "sellusername": {
  42680. "description": "卖方名字",
  42681. "type": "string"
  42682. },
  42683. "shipremark": {
  42684. "description": "发货备注[物流单号]",
  42685. "type": "string"
  42686. },
  42687. "starttime": {
  42688. "description": "开始时间",
  42689. "type": "string"
  42690. },
  42691. "steptypeid": {
  42692. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  42693. "type": "integer"
  42694. },
  42695. "typename": {
  42696. "description": "履约类型 名称",
  42697. "type": "string"
  42698. },
  42699. "unpaidamount": {
  42700. "description": "期初均价",
  42701. "type": "number"
  42702. },
  42703. "userid": {
  42704. "description": "用户id",
  42705. "type": "integer"
  42706. },
  42707. "warehouseid": {
  42708. "description": "仓库ID",
  42709. "type": "integer"
  42710. },
  42711. "warehousename": {
  42712. "description": "仓库名称",
  42713. "type": "string"
  42714. },
  42715. "wrfactortypeid": {
  42716. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42717. "type": "string"
  42718. },
  42719. "wrfactortypename": {
  42720. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42721. "type": "string"
  42722. },
  42723. "wrstandardcode": {
  42724. "description": "现货商品代码",
  42725. "type": "string"
  42726. },
  42727. "wrstandardid": {
  42728. "description": "现货商品ID",
  42729. "type": "integer"
  42730. },
  42731. "wrstandardname": {
  42732. "description": "商品名称",
  42733. "type": "string"
  42734. },
  42735. "wrtransferuserid": {
  42736. "description": "仓单受让用户",
  42737. "type": "integer"
  42738. },
  42739. "wrtypename": {
  42740. "description": "商品",
  42741. "type": "string"
  42742. }
  42743. }
  42744. },
  42745. "models.WrPerformancePlanStep": {
  42746. "type": "object",
  42747. "properties": {
  42748. "delaydays": {
  42749. "description": "延期申请天数",
  42750. "type": "integer"
  42751. },
  42752. "deliverygoodscode": {
  42753. "description": "品种代码",
  42754. "type": "string"
  42755. },
  42756. "deliverygoodsid": {
  42757. "description": "品种ID",
  42758. "type": "integer"
  42759. },
  42760. "deliverygoodsname": {
  42761. "description": "品种名称",
  42762. "type": "string"
  42763. },
  42764. "endtime": {
  42765. "description": "结束日期",
  42766. "type": "string"
  42767. },
  42768. "enumdicname": {
  42769. "description": "单位名称",
  42770. "type": "string"
  42771. },
  42772. "executeside": {
  42773. "description": "步骤执行方 - 1:买方 2:卖方",
  42774. "type": "integer"
  42775. },
  42776. "handlestatus": {
  42777. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  42778. "type": "integer"
  42779. },
  42780. "isauto": {
  42781. "description": "是否自动 - 0:不自动 1:自动",
  42782. "type": "integer"
  42783. },
  42784. "islastreceivestep": {
  42785. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  42786. "type": "integer"
  42787. },
  42788. "minivalue": {
  42789. "description": "现货商品最小变动值",
  42790. "type": "integer"
  42791. },
  42792. "optioncompare": {
  42793. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42794. "type": "string"
  42795. },
  42796. "overdays": {
  42797. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  42798. "type": "integer"
  42799. },
  42800. "performancestepid": {
  42801. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  42802. "type": "string"
  42803. },
  42804. "planid": {
  42805. "description": "所属履约计划ID",
  42806. "type": "string"
  42807. },
  42808. "realamount": {
  42809. "description": "实际完成金额",
  42810. "type": "number"
  42811. },
  42812. "relatedorderid": {
  42813. "description": "关联单号",
  42814. "type": "string"
  42815. },
  42816. "remaindays": {
  42817. "description": "剩余天数",
  42818. "type": "integer"
  42819. },
  42820. "remark": {
  42821. "description": "错误备注",
  42822. "type": "string"
  42823. },
  42824. "starttime": {
  42825. "description": "开始日期",
  42826. "type": "string"
  42827. },
  42828. "stepamount": {
  42829. "description": "步骤金额",
  42830. "type": "number"
  42831. },
  42832. "stepdays": {
  42833. "description": "距离上一步天数(分钟)",
  42834. "type": "integer"
  42835. },
  42836. "stepindex": {
  42837. "description": "步骤序号",
  42838. "type": "integer"
  42839. },
  42840. "steplanchtype": {
  42841. "description": "步骤启动类型 - 1:系统自动 2:手动",
  42842. "type": "integer"
  42843. },
  42844. "stepremark": {
  42845. "description": "步骤备注",
  42846. "type": "string"
  42847. },
  42848. "stepstatus": {
  42849. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  42850. "type": "integer"
  42851. },
  42852. "steptypeid": {
  42853. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  42854. "type": "integer"
  42855. },
  42856. "steptypename": {
  42857. "description": "步骤名称",
  42858. "type": "string"
  42859. },
  42860. "stepvalue": {
  42861. "description": "步骤值",
  42862. "type": "number"
  42863. },
  42864. "warehouseid": {
  42865. "description": "仓库ID",
  42866. "type": "integer"
  42867. },
  42868. "warehousename": {
  42869. "description": "仓库名称",
  42870. "type": "string"
  42871. },
  42872. "wrfactortypeid": {
  42873. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42874. "type": "string"
  42875. },
  42876. "wrfactortypename": {
  42877. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42878. "type": "string"
  42879. },
  42880. "wrstandardcode": {
  42881. "description": "现货商品代码",
  42882. "type": "string"
  42883. },
  42884. "wrstandardid": {
  42885. "description": "现货商品ID",
  42886. "type": "integer"
  42887. },
  42888. "wrstandardname": {
  42889. "description": "商品名称",
  42890. "type": "string"
  42891. },
  42892. "wrtypename": {
  42893. "description": "商品",
  42894. "type": "string"
  42895. }
  42896. }
  42897. },
  42898. "models.WrPerformanceStepType": {
  42899. "type": "object",
  42900. "properties": {
  42901. "canauto": {
  42902. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  42903. "type": "integer"
  42904. },
  42905. "steptypeid": {
  42906. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  42907. "type": "integer"
  42908. },
  42909. "steptypename": {
  42910. "description": "步骤类型名称",
  42911. "type": "string"
  42912. }
  42913. }
  42914. },
  42915. "models.WrPerformanceTemplateEx": {
  42916. "type": "object",
  42917. "properties": {
  42918. "autoid": {
  42919. "description": "AutoID 模板id",
  42920. "type": "integer"
  42921. },
  42922. "createtime": {
  42923. "description": "创建时间",
  42924. "type": "string"
  42925. },
  42926. "creatorid": {
  42927. "description": "创建人",
  42928. "type": "integer"
  42929. },
  42930. "lstStep": {
  42931. "description": "步骤信息列表",
  42932. "type": "array",
  42933. "items": {
  42934. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  42935. }
  42936. },
  42937. "paymenttype": {
  42938. "description": "支付方式 - 1:冻结 2:扣款",
  42939. "type": "integer"
  42940. },
  42941. "takemode": {
  42942. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  42943. "type": "integer"
  42944. },
  42945. "templatename": {
  42946. "description": "模板名称",
  42947. "type": "string"
  42948. },
  42949. "templatetype": {
  42950. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  42951. "type": "integer"
  42952. },
  42953. "userid": {
  42954. "description": "所属用户",
  42955. "type": "integer"
  42956. }
  42957. }
  42958. },
  42959. "models.WrPosition": {
  42960. "type": "object",
  42961. "properties": {
  42962. "accountid": {
  42963. "description": "帐户ID",
  42964. "type": "integer"
  42965. },
  42966. "buyexcuteqty": {
  42967. "description": "采购履约中数量",
  42968. "type": "number"
  42969. },
  42970. "creditcurqty": {
  42971. "description": "授信当前数量(预售仓单:预售当前量)",
  42972. "type": "number"
  42973. },
  42974. "creditenableqty": {
  42975. "description": "授信可用数量(预售仓单: 可用数量)",
  42976. "type": "number"
  42977. },
  42978. "creditfreezeqty": {
  42979. "description": "授信冻结数量(预售仓单: 当前数量)",
  42980. "type": "number"
  42981. },
  42982. "credittotalqty": {
  42983. "description": "授信总数量(预售仓单:预售总量)",
  42984. "type": "number"
  42985. },
  42986. "credittradeqty": {
  42987. "description": "授信成交数量(预售仓单:成交总量)",
  42988. "type": "number"
  42989. },
  42990. "deliverygoodscode": {
  42991. "description": "品种代码",
  42992. "type": "string"
  42993. },
  42994. "deliverygoodsid": {
  42995. "description": "品种ID",
  42996. "type": "integer"
  42997. },
  42998. "deliverygoodsname": {
  42999. "description": "品种名称",
  43000. "type": "string"
  43001. },
  43002. "enalbeqty": {
  43003. "description": "可用数量",
  43004. "type": "number"
  43005. },
  43006. "enumdicname": {
  43007. "description": "单位名称",
  43008. "type": "string"
  43009. },
  43010. "freezeqty": {
  43011. "description": "总冻结数量",
  43012. "type": "number"
  43013. },
  43014. "haswr": {
  43015. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  43016. "type": "integer"
  43017. },
  43018. "minivalue": {
  43019. "description": "现货商品最小变动值",
  43020. "type": "integer"
  43021. },
  43022. "modifytime": {
  43023. "description": "修改时间(过户时间)",
  43024. "type": "string"
  43025. },
  43026. "optioncompare": {
  43027. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43028. "type": "string"
  43029. },
  43030. "pledgeqty": {
  43031. "description": "质押数量",
  43032. "type": "number"
  43033. },
  43034. "querytype": {
  43035. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  43036. "type": "integer"
  43037. },
  43038. "sellexcuteqty": {
  43039. "description": "销售履约中数量",
  43040. "type": "number"
  43041. },
  43042. "totalqty": {
  43043. "description": "总数量(库存数量)",
  43044. "type": "number"
  43045. },
  43046. "warehouseid": {
  43047. "description": "仓库ID",
  43048. "type": "integer"
  43049. },
  43050. "warehousename": {
  43051. "description": "仓库名称",
  43052. "type": "string"
  43053. },
  43054. "wrfactortypeid": {
  43055. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43056. "type": "string"
  43057. },
  43058. "wrfactortypename": {
  43059. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43060. "type": "string"
  43061. },
  43062. "wrpositionid": {
  43063. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  43064. "type": "string"
  43065. },
  43066. "wrpositionno": {
  43067. "description": "仓单编号",
  43068. "type": "string"
  43069. },
  43070. "wrstandardcode": {
  43071. "description": "现货商品代码",
  43072. "type": "string"
  43073. },
  43074. "wrstandardid": {
  43075. "description": "现货商品ID",
  43076. "type": "integer"
  43077. },
  43078. "wrstandardname": {
  43079. "description": "商品名称",
  43080. "type": "string"
  43081. },
  43082. "wrtypename": {
  43083. "description": "商品",
  43084. "type": "string"
  43085. },
  43086. "wruserid": {
  43087. "description": "持有人ID",
  43088. "type": "integer"
  43089. }
  43090. }
  43091. },
  43092. "models.WrPreSaleInfo": {
  43093. "type": "object",
  43094. "properties": {
  43095. "bannerpicurl": {
  43096. "description": "Banner图",
  43097. "type": "string"
  43098. },
  43099. "baseqty": {
  43100. "description": "中签基数",
  43101. "type": "number"
  43102. },
  43103. "createtime": {
  43104. "description": "创建时间",
  43105. "type": "string"
  43106. },
  43107. "deliverygoodsid": {
  43108. "description": "现货品种ID",
  43109. "type": "integer"
  43110. },
  43111. "enddate": {
  43112. "description": "预售结束日期",
  43113. "type": "string"
  43114. },
  43115. "enumdicname": {
  43116. "description": "单位名称",
  43117. "type": "string"
  43118. },
  43119. "lotteryflag": {
  43120. "description": "摇号标识 - 0:未摇号 1:已摇号",
  43121. "type": "integer"
  43122. },
  43123. "lotteryqty": {
  43124. "description": "摇号总量",
  43125. "type": "number"
  43126. },
  43127. "luckyqty": {
  43128. "description": "已中签量",
  43129. "type": "number"
  43130. },
  43131. "marketid": {
  43132. "description": "市场ID",
  43133. "type": "integer"
  43134. },
  43135. "maxbuyqty": {
  43136. "description": "单人最大申购量",
  43137. "type": "number"
  43138. },
  43139. "maxluckyqty": {
  43140. "description": "单人最大中签量",
  43141. "type": "number"
  43142. },
  43143. "pictureurls": {
  43144. "description": "详情图片(逗号分隔)",
  43145. "type": "string"
  43146. },
  43147. "placeqty": {
  43148. "description": "已配售量",
  43149. "type": "number"
  43150. },
  43151. "presaleapplyid": {
  43152. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  43153. "type": "string",
  43154. "example": "0"
  43155. },
  43156. "presaleqty": {
  43157. "description": "预售总量",
  43158. "type": "number"
  43159. },
  43160. "presalestatus": {
  43161. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  43162. "type": "integer"
  43163. },
  43164. "sellaccountid": {
  43165. "description": "发行方资金账户ID",
  43166. "type": "integer"
  43167. },
  43168. "selluserid": {
  43169. "description": "发行方用户ID",
  43170. "type": "integer"
  43171. },
  43172. "sellwrtradeorderid": {
  43173. "description": "发行方卖委托单ID",
  43174. "type": "string"
  43175. },
  43176. "startdate": {
  43177. "description": "预售开始日期",
  43178. "type": "string"
  43179. },
  43180. "takestartdate": {
  43181. "description": "提货开始日期",
  43182. "type": "string"
  43183. },
  43184. "thumurls": {
  43185. "description": "缩略图片(1:1)(逗号分隔)",
  43186. "type": "string"
  43187. },
  43188. "tradedate": {
  43189. "description": "交易日",
  43190. "type": "string"
  43191. },
  43192. "unitid": {
  43193. "description": "单位ID",
  43194. "type": "integer"
  43195. },
  43196. "unitprice": {
  43197. "description": "商品单价",
  43198. "type": "number"
  43199. },
  43200. "username": {
  43201. "description": "发行方用户名称",
  43202. "type": "string"
  43203. },
  43204. "warehousecode": {
  43205. "description": "仓库代码(仓库简称)",
  43206. "type": "string"
  43207. },
  43208. "warehouseid": {
  43209. "description": "仓库ID",
  43210. "type": "integer"
  43211. },
  43212. "warehousename": {
  43213. "description": "仓库名称",
  43214. "type": "string"
  43215. },
  43216. "wrfactortypeid": {
  43217. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  43218. "type": "string",
  43219. "example": "0"
  43220. },
  43221. "wrstandardid": {
  43222. "description": "现货商品ID",
  43223. "type": "integer"
  43224. },
  43225. "wrstandardname": {
  43226. "description": "现货商品名称",
  43227. "type": "string"
  43228. }
  43229. }
  43230. },
  43231. "models.WrQuoteOrderMyq": {
  43232. "type": "object",
  43233. "properties": {
  43234. "buyorsell": {
  43235. "description": "买卖 - 0:买 1:卖",
  43236. "type": "integer"
  43237. },
  43238. "canbargain": {
  43239. "description": "是否可议价 - 0:不可 1:可",
  43240. "type": "integer"
  43241. },
  43242. "canpart": {
  43243. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  43244. "type": "integer"
  43245. },
  43246. "delistminqty": {
  43247. "description": "期初均价",
  43248. "type": "number"
  43249. },
  43250. "deliverygoodscode": {
  43251. "description": "品种代码",
  43252. "type": "string"
  43253. },
  43254. "deliverygoodsid": {
  43255. "description": "品种ID",
  43256. "type": "integer"
  43257. },
  43258. "deliverygoodsname": {
  43259. "description": "品种名称",
  43260. "type": "string"
  43261. },
  43262. "deliverymonth": {
  43263. "description": "交收月",
  43264. "type": "string"
  43265. },
  43266. "enumdicname": {
  43267. "description": "单位名称",
  43268. "type": "string"
  43269. },
  43270. "fixedprice": {
  43271. "description": "买(卖)价",
  43272. "type": "number"
  43273. },
  43274. "goodscode": {
  43275. "description": "商品合约代码",
  43276. "type": "string"
  43277. },
  43278. "marginflag": {
  43279. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  43280. "type": "integer"
  43281. },
  43282. "marginvalue": {
  43283. "description": "保证金设置值",
  43284. "type": "number"
  43285. },
  43286. "minivalue": {
  43287. "description": "现货商品最小变动值",
  43288. "type": "integer"
  43289. },
  43290. "orderqty": {
  43291. "description": "买(卖)量(=委托量-成交量)",
  43292. "type": "number"
  43293. },
  43294. "ordertime": {
  43295. "description": "委托时间",
  43296. "type": "string"
  43297. },
  43298. "performancetemplateid": {
  43299. "description": "履约模板id",
  43300. "type": "integer"
  43301. },
  43302. "pricemove": {
  43303. "description": "买(卖)升贴水- 基差",
  43304. "type": "number"
  43305. },
  43306. "templatename": {
  43307. "description": "履约模板名称",
  43308. "type": "string"
  43309. },
  43310. "userid": {
  43311. "description": "购买方(销售方)用户ID",
  43312. "type": "integer"
  43313. },
  43314. "username": {
  43315. "description": "购买方(销售方)",
  43316. "type": "string"
  43317. },
  43318. "validtime": {
  43319. "description": "有效期限",
  43320. "type": "string"
  43321. },
  43322. "validtype": {
  43323. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  43324. "type": "integer"
  43325. },
  43326. "warehousename": {
  43327. "description": "仓库名称",
  43328. "type": "string"
  43329. },
  43330. "wrfactortypeid": {
  43331. "description": "仓单要素id",
  43332. "type": "string"
  43333. },
  43334. "wrstandardcode": {
  43335. "description": "现货商品代码",
  43336. "type": "string"
  43337. },
  43338. "wrstandardid": {
  43339. "description": "现货商品ID",
  43340. "type": "integer"
  43341. },
  43342. "wrstandardname": {
  43343. "description": "商品名称",
  43344. "type": "string"
  43345. },
  43346. "wrtradeorderid": {
  43347. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  43348. "type": "string"
  43349. },
  43350. "wrtypename": {
  43351. "description": "商品",
  43352. "type": "string"
  43353. }
  43354. }
  43355. },
  43356. "models.WrReckonSpotGoodsTradeSum": {
  43357. "type": "object",
  43358. "properties": {
  43359. "begindate": {
  43360. "description": "开始日期(结果含开始日期) yyyymmdd",
  43361. "type": "string"
  43362. },
  43363. "enddate": {
  43364. "description": "结束日期(结果含结束日期) yyyymmdd",
  43365. "type": "string"
  43366. },
  43367. "istoday": {
  43368. "description": "是否当日",
  43369. "type": "boolean"
  43370. },
  43371. "marketid": {
  43372. "description": "市场ID",
  43373. "type": "integer"
  43374. },
  43375. "price": {
  43376. "description": "价格 = 日成交金额 / 日成交数量",
  43377. "type": "string"
  43378. },
  43379. "reckondate": {
  43380. "description": "日期 格式 yyyymmdd",
  43381. "type": "string"
  43382. },
  43383. "tradeamount": {
  43384. "description": "期初均价",
  43385. "type": "number"
  43386. },
  43387. "tradeqty": {
  43388. "description": "期初均价",
  43389. "type": "number"
  43390. },
  43391. "wrstandardid": {
  43392. "description": "现货商品ID",
  43393. "type": "integer"
  43394. }
  43395. }
  43396. },
  43397. "models.WrScfContract": {
  43398. "type": "object",
  43399. "properties": {
  43400. "borroweruserid": {
  43401. "description": "借款用户ID",
  43402. "type": "integer"
  43403. },
  43404. "buybackwrpositionqty": {
  43405. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  43406. "type": "number"
  43407. },
  43408. "closeinterest": {
  43409. "description": "已结利息 -\u003e 已结费用",
  43410. "type": "number"
  43411. },
  43412. "currisklevel": {
  43413. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  43414. "type": "integer"
  43415. },
  43416. "deadline": {
  43417. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  43418. "type": "string"
  43419. },
  43420. "deliverygoodscode": {
  43421. "description": "品种代码",
  43422. "type": "string"
  43423. },
  43424. "deliverygoodsid": {
  43425. "description": "品种ID",
  43426. "type": "integer"
  43427. },
  43428. "deliverygoodsname": {
  43429. "description": "品种名称",
  43430. "type": "string"
  43431. },
  43432. "enumdicname": {
  43433. "description": "单位名称",
  43434. "type": "string"
  43435. },
  43436. "financingdays": {
  43437. "description": "天数(天)",
  43438. "type": "integer"
  43439. },
  43440. "initmargin": {
  43441. "description": "保证金 - [仓单回购]",
  43442. "type": "number"
  43443. },
  43444. "interestamount": {
  43445. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  43446. "type": "number"
  43447. },
  43448. "interestdebt": {
  43449. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  43450. "type": "number"
  43451. },
  43452. "interestminlen": {
  43453. "description": "最小起息天数",
  43454. "type": "integer"
  43455. },
  43456. "interestrate": {
  43457. "description": "利率",
  43458. "type": "number"
  43459. },
  43460. "interestratemode": {
  43461. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  43462. "type": "integer"
  43463. },
  43464. "interestsettlemode": {
  43465. "description": "结息方式 - 1:按日结息 3:按月结息",
  43466. "type": "integer"
  43467. },
  43468. "interestsettlevalue": {
  43469. "description": "结息方式值",
  43470. "type": "integer"
  43471. },
  43472. "isautoloan": {
  43473. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  43474. "type": "integer"
  43475. },
  43476. "lastcloseinterestday": {
  43477. "description": "最近结息日(yyyyMMdd)",
  43478. "type": "string"
  43479. },
  43480. "lenderamount": {
  43481. "description": "贷款金额 -\u003e 借款金额",
  43482. "type": "number"
  43483. },
  43484. "lenderuserid": {
  43485. "description": "贷款方用户ID -\u003e 融出方用户ID",
  43486. "type": "integer"
  43487. },
  43488. "lenderusername": {
  43489. "description": "融出方",
  43490. "type": "string"
  43491. },
  43492. "marginratio": {
  43493. "description": "保证金比率质押率 - [仓单质押]",
  43494. "type": "number"
  43495. },
  43496. "marketid": {
  43497. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  43498. "type": "integer"
  43499. },
  43500. "minivalue": {
  43501. "description": "现货商品最小变动值",
  43502. "type": "integer"
  43503. },
  43504. "optioncompare": {
  43505. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43506. "type": "string"
  43507. },
  43508. "pricemove": {
  43509. "description": "估值升贴水值",
  43510. "type": "number"
  43511. },
  43512. "productdetailid": {
  43513. "description": "产品组合ID",
  43514. "type": "integer"
  43515. },
  43516. "productid": {
  43517. "description": "金融产品ID",
  43518. "type": "integer"
  43519. },
  43520. "productname": {
  43521. "description": "产品名称",
  43522. "type": "string"
  43523. },
  43524. "remainamount": {
  43525. "description": "合同剩余金额 -\u003e 剩余金额",
  43526. "type": "number"
  43527. },
  43528. "remainwrpositionqty": {
  43529. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  43530. "type": "number"
  43531. },
  43532. "remark": {
  43533. "description": "备注",
  43534. "type": "string"
  43535. },
  43536. "scfcontractid": {
  43537. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  43538. "type": "string"
  43539. },
  43540. "scfcontractstatus": {
  43541. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  43542. "type": "integer"
  43543. },
  43544. "scfcontracttype": {
  43545. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  43546. "type": "integer"
  43547. },
  43548. "startinterestday": {
  43549. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  43550. "type": "string"
  43551. },
  43552. "totalinterest": {
  43553. "description": "已计利息 -\u003e 已计费用",
  43554. "type": "number"
  43555. },
  43556. "unpaidinterest": {
  43557. "description": "期初均价",
  43558. "type": "number"
  43559. },
  43560. "updatetime": {
  43561. "description": "更新时间",
  43562. "type": "string"
  43563. },
  43564. "warehouseid": {
  43565. "description": "仓库ID",
  43566. "type": "integer"
  43567. },
  43568. "warehousename": {
  43569. "description": "仓库名称",
  43570. "type": "string"
  43571. },
  43572. "wrfactortypeid": {
  43573. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43574. "type": "string"
  43575. },
  43576. "wrfactortypename": {
  43577. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43578. "type": "string"
  43579. },
  43580. "wrqty": {
  43581. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  43582. "type": "number"
  43583. },
  43584. "wrstandardcode": {
  43585. "description": "现货商品代码",
  43586. "type": "string"
  43587. },
  43588. "wrstandardid": {
  43589. "description": "现货商品ID",
  43590. "type": "integer"
  43591. },
  43592. "wrstandardname": {
  43593. "description": "商品名称",
  43594. "type": "string"
  43595. },
  43596. "wrtypename": {
  43597. "description": "商品",
  43598. "type": "string"
  43599. }
  43600. }
  43601. },
  43602. "models.WrScfContractInterest": {
  43603. "type": "object",
  43604. "properties": {
  43605. "closeinterest": {
  43606. "description": "已结利息",
  43607. "type": "number"
  43608. },
  43609. "closeintereststatus": {
  43610. "description": "结息状态 - 1:未结 2:已结",
  43611. "type": "integer"
  43612. },
  43613. "closetime": {
  43614. "description": "结息时间",
  43615. "type": "string"
  43616. },
  43617. "closetradedate": {
  43618. "description": "结息交易日",
  43619. "type": "string"
  43620. },
  43621. "creatorid": {
  43622. "description": "操作人ID",
  43623. "type": "integer"
  43624. },
  43625. "dayrate": {
  43626. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  43627. "type": "number"
  43628. },
  43629. "interest": {
  43630. "description": "利息",
  43631. "type": "number"
  43632. },
  43633. "interestamount": {
  43634. "description": "计息金额",
  43635. "type": "number"
  43636. },
  43637. "interestday": {
  43638. "description": "计息日(yyyyMMdd)",
  43639. "type": "string"
  43640. },
  43641. "scfcontractid": {
  43642. "description": "SCF合同ID",
  43643. "type": "string"
  43644. },
  43645. "scfcontractinterestid": {
  43646. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  43647. "type": "integer"
  43648. },
  43649. "updatetime": {
  43650. "description": "更新时间",
  43651. "type": "string"
  43652. }
  43653. }
  43654. },
  43655. "models.WrSearchUser": {
  43656. "type": "object",
  43657. "required": [
  43658. "username"
  43659. ],
  43660. "properties": {
  43661. "userid": {
  43662. "description": "用户ID",
  43663. "type": "integer"
  43664. },
  43665. "username": {
  43666. "description": "用户名称(已脱敏)",
  43667. "type": "string"
  43668. },
  43669. "username2": {
  43670. "description": "用户名称(未脱敏)",
  43671. "type": "string"
  43672. },
  43673. "usertype": {
  43674. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  43675. "type": "integer"
  43676. }
  43677. }
  43678. },
  43679. "models.WrSiteColumnDetail": {
  43680. "type": "object",
  43681. "properties": {
  43682. "brief": {
  43683. "description": "简介",
  43684. "type": "string"
  43685. },
  43686. "context": {
  43687. "description": "内容",
  43688. "type": "string"
  43689. },
  43690. "coverimage": {
  43691. "description": "封面图片",
  43692. "type": "string"
  43693. },
  43694. "creaedate": {
  43695. "description": "创建时间",
  43696. "type": "string"
  43697. },
  43698. "id": {
  43699. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  43700. "type": "integer"
  43701. },
  43702. "istop": {
  43703. "description": "是否置顶 - 0:不置 1:置顶",
  43704. "type": "integer"
  43705. },
  43706. "publishdate": {
  43707. "description": "发布日期",
  43708. "type": "string"
  43709. },
  43710. "title": {
  43711. "description": "标题",
  43712. "type": "string"
  43713. },
  43714. "updatedate": {
  43715. "description": "修改时间",
  43716. "type": "string"
  43717. }
  43718. }
  43719. },
  43720. "models.WrSpecialMatchOrder": {
  43721. "type": "object",
  43722. "properties": {
  43723. "amount": {
  43724. "description": "金额 = 数量 * 价格",
  43725. "type": "number"
  43726. },
  43727. "buyorsell": {
  43728. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  43729. "type": "integer"
  43730. },
  43731. "cancelqty": {
  43732. "description": "撤销数量",
  43733. "type": "number"
  43734. },
  43735. "deliverygoodscode": {
  43736. "description": "品种代码",
  43737. "type": "string"
  43738. },
  43739. "deliverygoodsid": {
  43740. "description": "品种ID",
  43741. "type": "integer"
  43742. },
  43743. "deliverygoodsname": {
  43744. "description": "品种名称",
  43745. "type": "string"
  43746. },
  43747. "enumdicname": {
  43748. "description": "单位名称",
  43749. "type": "string"
  43750. },
  43751. "fixedprice": {
  43752. "description": "固定价格(价格)",
  43753. "type": "number"
  43754. },
  43755. "haswr": {
  43756. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  43757. "type": "integer"
  43758. },
  43759. "isspecified": {
  43760. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  43761. "type": "integer"
  43762. },
  43763. "marketid": {
  43764. "description": "市场ID",
  43765. "type": "integer"
  43766. },
  43767. "matchuserid": {
  43768. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  43769. "type": "integer"
  43770. },
  43771. "matchusername": {
  43772. "description": "指定方",
  43773. "type": "string"
  43774. },
  43775. "minivalue": {
  43776. "description": "现货商品最小变动值",
  43777. "type": "integer"
  43778. },
  43779. "optioncompare": {
  43780. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43781. "type": "string"
  43782. },
  43783. "orderqty": {
  43784. "description": "委托数量",
  43785. "type": "number"
  43786. },
  43787. "ordertime": {
  43788. "description": "委托时间",
  43789. "type": "string"
  43790. },
  43791. "pricemove": {
  43792. "description": "升贴水(浮动价时填写) - [挂牌]",
  43793. "type": "number"
  43794. },
  43795. "tradedate": {
  43796. "description": "交易日(yyyyMMdd)",
  43797. "type": "string"
  43798. },
  43799. "tradeprice": {
  43800. "description": "成交价格",
  43801. "type": "number"
  43802. },
  43803. "tradeqty": {
  43804. "description": "成交数量",
  43805. "type": "number"
  43806. },
  43807. "userid": {
  43808. "description": "用户ID",
  43809. "type": "integer"
  43810. },
  43811. "username": {
  43812. "description": "发起方",
  43813. "type": "string"
  43814. },
  43815. "warehouseid": {
  43816. "description": "仓库ID",
  43817. "type": "integer"
  43818. },
  43819. "warehousename": {
  43820. "description": "仓库名称",
  43821. "type": "string"
  43822. },
  43823. "wrfactortypeid": {
  43824. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43825. "type": "string"
  43826. },
  43827. "wrfactortypename": {
  43828. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43829. "type": "string"
  43830. },
  43831. "wrpricetype": {
  43832. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  43833. "type": "integer"
  43834. },
  43835. "wrstandardcode": {
  43836. "description": "现货商品代码",
  43837. "type": "string"
  43838. },
  43839. "wrstandardid": {
  43840. "description": "现货商品ID",
  43841. "type": "integer"
  43842. },
  43843. "wrstandardname": {
  43844. "description": "商品名称",
  43845. "type": "string"
  43846. },
  43847. "wrtradeorderid": {
  43848. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  43849. "type": "string"
  43850. },
  43851. "wrtradeorderstatus": {
  43852. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  43853. "type": "integer"
  43854. },
  43855. "wrtradetype": {
  43856. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  43857. "type": "integer"
  43858. },
  43859. "wrtypename": {
  43860. "description": "商品",
  43861. "type": "string"
  43862. }
  43863. }
  43864. },
  43865. "models.WrSpotGroupTradeSum": {
  43866. "type": "object",
  43867. "properties": {
  43868. "deliverygoodscode": {
  43869. "description": "现货品种代码",
  43870. "type": "string"
  43871. },
  43872. "deliverygoodsid": {
  43873. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  43874. "type": "integer"
  43875. },
  43876. "deliverygoodsname": {
  43877. "description": "现货品种名称",
  43878. "type": "string"
  43879. },
  43880. "lastavgprice": {
  43881. "description": "上上个交易日价格(前2天价格)",
  43882. "type": "string"
  43883. },
  43884. "lastreckondate": {
  43885. "description": "上上个交易日(前2天交易日)",
  43886. "type": "string"
  43887. },
  43888. "reckondate": {
  43889. "description": "上个交易日(前1天交易日)",
  43890. "type": "string"
  43891. },
  43892. "todayavgprice": {
  43893. "description": "上个交易日价格(前1天价格)",
  43894. "type": "string"
  43895. },
  43896. "updown": {
  43897. "description": "涨跌",
  43898. "type": "string"
  43899. },
  43900. "updownratio": {
  43901. "description": "涨幅(已格式化, 直接显示即可)",
  43902. "type": "string"
  43903. }
  43904. }
  43905. },
  43906. "models.WrSpotGroupTradeSumDetail": {
  43907. "type": "object",
  43908. "properties": {
  43909. "deliverygoodsid": {
  43910. "description": "现货商品id",
  43911. "type": "integer"
  43912. },
  43913. "price": {
  43914. "description": "价格",
  43915. "type": "number"
  43916. },
  43917. "reckondate": {
  43918. "description": "日期(yyymmdd, 如:20211031)",
  43919. "type": "string"
  43920. }
  43921. }
  43922. },
  43923. "models.WrSpotGroupTradeSumEx": {
  43924. "type": "object",
  43925. "properties": {
  43926. "lst": {
  43927. "description": "指数列表",
  43928. "type": "array",
  43929. "items": {
  43930. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  43931. }
  43932. },
  43933. "prereckondate": {
  43934. "description": "上上个交易日(yyymmdd)",
  43935. "type": "string"
  43936. },
  43937. "reckondate": {
  43938. "description": "上个交易日(yyyymmdd)",
  43939. "type": "string"
  43940. }
  43941. }
  43942. },
  43943. "models.WrStandardFactoryItem": {
  43944. "type": "object",
  43945. "properties": {
  43946. "dgfactoryitemid": {
  43947. "description": "选择项id",
  43948. "type": "integer"
  43949. },
  43950. "dgfactoryitemvalue": {
  43951. "description": "要素项值",
  43952. "type": "string"
  43953. },
  43954. "warehouseid": {
  43955. "description": "仓库id",
  43956. "type": "integer"
  43957. }
  43958. }
  43959. },
  43960. "models.WrStandardFactoryItemEx": {
  43961. "type": "object",
  43962. "properties": {
  43963. "dgfactoryitemtypeid": {
  43964. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  43965. "type": "integer"
  43966. },
  43967. "itemlst": {
  43968. "description": "要素项列表",
  43969. "type": "array",
  43970. "items": {
  43971. "$ref": "#/definitions/models.WrStandardFactoryItem"
  43972. }
  43973. },
  43974. "itemtypename": {
  43975. "description": "要素项类型名称",
  43976. "type": "string"
  43977. },
  43978. "wrstandardid": {
  43979. "description": "品类",
  43980. "type": "integer"
  43981. }
  43982. }
  43983. },
  43984. "models.WrTradeDetail": {
  43985. "type": "object",
  43986. "properties": {
  43987. "accountid": {
  43988. "description": "资金账号",
  43989. "type": "integer"
  43990. },
  43991. "bannerpicurl": {
  43992. "description": "Banner图",
  43993. "type": "string"
  43994. },
  43995. "begindate": {
  43996. "description": "开始交易日(yyyymmdd)",
  43997. "type": "string"
  43998. },
  43999. "buyorsell": {
  44000. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  44001. "type": "integer"
  44002. },
  44003. "chargevalue": {
  44004. "description": "手续费",
  44005. "type": "number"
  44006. },
  44007. "deliverygoodscode": {
  44008. "description": "品种代码",
  44009. "type": "string"
  44010. },
  44011. "deliverygoodsid": {
  44012. "description": "品种ID",
  44013. "type": "integer"
  44014. },
  44015. "deliverygoodsname": {
  44016. "description": "品种名称",
  44017. "type": "string"
  44018. },
  44019. "deliverymonth": {
  44020. "description": "交收月",
  44021. "type": "string"
  44022. },
  44023. "enddate": {
  44024. "description": "结束交易日(yyyymmdd)",
  44025. "type": "string"
  44026. },
  44027. "enumdicname": {
  44028. "description": "单位名称",
  44029. "type": "string"
  44030. },
  44031. "haswr": {
  44032. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  44033. "type": "integer"
  44034. },
  44035. "marketid": {
  44036. "description": "市场ID",
  44037. "type": "integer"
  44038. },
  44039. "matchaccountid": {
  44040. "description": "对手账号",
  44041. "type": "integer"
  44042. },
  44043. "matchusername": {
  44044. "description": "对手方",
  44045. "type": "string"
  44046. },
  44047. "minivalue": {
  44048. "description": "现货商品最小变动值",
  44049. "type": "integer"
  44050. },
  44051. "optioncompare": {
  44052. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44053. "type": "string"
  44054. },
  44055. "thumurls": {
  44056. "description": "缩略图",
  44057. "type": "string"
  44058. },
  44059. "tradedate": {
  44060. "description": "交易日(yyyyMMdd)",
  44061. "type": "string"
  44062. },
  44063. "tradeprice": {
  44064. "description": "成交价格",
  44065. "type": "number"
  44066. },
  44067. "tradeqty": {
  44068. "description": "成交数量",
  44069. "type": "number"
  44070. },
  44071. "tradetime": {
  44072. "description": "成交时间",
  44073. "type": "string"
  44074. },
  44075. "userid": {
  44076. "description": "用户ID",
  44077. "type": "integer"
  44078. },
  44079. "warehouseid": {
  44080. "description": "仓库ID",
  44081. "type": "integer"
  44082. },
  44083. "warehousename": {
  44084. "description": "仓库名称",
  44085. "type": "string"
  44086. },
  44087. "wrfactortypeid": {
  44088. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44089. "type": "string"
  44090. },
  44091. "wrfactortypename": {
  44092. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44093. "type": "string"
  44094. },
  44095. "wrstandardcode": {
  44096. "description": "现货商品代码",
  44097. "type": "string"
  44098. },
  44099. "wrstandardid": {
  44100. "description": "现货商品ID",
  44101. "type": "integer"
  44102. },
  44103. "wrstandardname": {
  44104. "description": "商品名称",
  44105. "type": "string"
  44106. },
  44107. "wrtradedetailid": {
  44108. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  44109. "type": "string"
  44110. },
  44111. "wrtradetype": {
  44112. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  44113. "type": "integer"
  44114. },
  44115. "wrtypename": {
  44116. "description": "商品",
  44117. "type": "string"
  44118. }
  44119. }
  44120. },
  44121. "models.WrTradeOrderDetail": {
  44122. "type": "object",
  44123. "properties": {
  44124. "buyorsell": {
  44125. "description": "买卖方向 0-买 1-卖",
  44126. "type": "integer"
  44127. },
  44128. "goodsid": {
  44129. "description": "商品id",
  44130. "type": "integer"
  44131. },
  44132. "orderid": {
  44133. "description": "委托单号",
  44134. "type": "string"
  44135. },
  44136. "orderprice": {
  44137. "description": "期初均价",
  44138. "type": "number"
  44139. },
  44140. "orderqty": {
  44141. "description": "委托数量",
  44142. "type": "integer"
  44143. },
  44144. "userid": {
  44145. "description": "用户id",
  44146. "type": "integer"
  44147. },
  44148. "username": {
  44149. "description": "用户名称(已脱敏)",
  44150. "type": "string"
  44151. }
  44152. }
  44153. },
  44154. "models.WrTypeItem": {
  44155. "type": "object",
  44156. "properties": {
  44157. "name": {
  44158. "description": "名称",
  44159. "type": "string"
  44160. },
  44161. "value": {
  44162. "description": "值",
  44163. "type": "string"
  44164. }
  44165. }
  44166. },
  44167. "models.WrUserFriend": {
  44168. "type": "object",
  44169. "properties": {
  44170. "friendname": {
  44171. "description": "朋友名称(已脱敏)",
  44172. "type": "string"
  44173. },
  44174. "frienduserid": {
  44175. "description": "朋友id",
  44176. "type": "integer"
  44177. },
  44178. "isfriend": {
  44179. "description": "是否好友 0-不是 1-是",
  44180. "type": "integer"
  44181. },
  44182. "userid": {
  44183. "description": "用户id",
  44184. "type": "integer"
  44185. }
  44186. }
  44187. },
  44188. "models.WrUserReceiptInfo": {
  44189. "type": "object",
  44190. "properties": {
  44191. "address": {
  44192. "description": "地址[发票类型:企业]",
  44193. "type": "string"
  44194. },
  44195. "autoid": {
  44196. "description": "AutoID",
  44197. "type": "integer"
  44198. },
  44199. "contactinfo": {
  44200. "description": "联系方式",
  44201. "type": "string"
  44202. },
  44203. "idnum": {
  44204. "description": "身份证号码[发票类型:个人]",
  44205. "type": "string"
  44206. },
  44207. "isdefault": {
  44208. "description": "是否默认地址 - 0:否 1:是",
  44209. "type": "integer"
  44210. },
  44211. "receiptaccount": {
  44212. "description": "发票帐号[发票类型:企业]",
  44213. "type": "string"
  44214. },
  44215. "receiptbank": {
  44216. "description": "发票开户行[发票类型:企业]",
  44217. "type": "string"
  44218. },
  44219. "receipttype": {
  44220. "description": "发票类型 - 1:个人 2:企业",
  44221. "type": "integer"
  44222. },
  44223. "taxpayerid": {
  44224. "description": "纳税人识别号",
  44225. "type": "string"
  44226. },
  44227. "userid": {
  44228. "description": "用户ID",
  44229. "type": "integer"
  44230. },
  44231. "username": {
  44232. "description": "户名(个人姓名或企业名称)",
  44233. "type": "string"
  44234. }
  44235. }
  44236. },
  44237. "models.Wrtradetradequote": {
  44238. "type": "object",
  44239. "properties": {
  44240. "buyaccountid": {
  44241. "description": "买方账号ID",
  44242. "type": "integer"
  44243. },
  44244. "buychargevalue": {
  44245. "description": "买方手续费",
  44246. "type": "number"
  44247. },
  44248. "buyuserid": {
  44249. "description": "买方用户ID",
  44250. "type": "integer"
  44251. },
  44252. "deliverygoodsid": {
  44253. "description": "现货品种ID",
  44254. "type": "integer"
  44255. },
  44256. "exchangerate": {
  44257. "description": "汇率",
  44258. "type": "number"
  44259. },
  44260. "marketid": {
  44261. "description": "市场ID",
  44262. "type": "integer"
  44263. },
  44264. "oritradeamount": {
  44265. "description": "成交金额[商品币种]",
  44266. "type": "number"
  44267. },
  44268. "performanceplanid": {
  44269. "description": "履约计划ID/合同ID",
  44270. "type": "integer"
  44271. },
  44272. "sellaccountid": {
  44273. "description": "卖方账号ID",
  44274. "type": "integer"
  44275. },
  44276. "sellchargevalue": {
  44277. "description": "卖方手续费",
  44278. "type": "number"
  44279. },
  44280. "selluserid": {
  44281. "description": "卖方用户ID",
  44282. "type": "integer"
  44283. },
  44284. "tradeamount": {
  44285. "description": "成交金额",
  44286. "type": "number"
  44287. },
  44288. "tradedate": {
  44289. "description": "交易日(yyyyMMdd)",
  44290. "type": "string"
  44291. },
  44292. "tradeprice": {
  44293. "description": "成交价格",
  44294. "type": "number"
  44295. },
  44296. "tradeqty": {
  44297. "description": "成交数量",
  44298. "type": "integer"
  44299. },
  44300. "tradetime": {
  44301. "description": "成交时间",
  44302. "type": "string"
  44303. },
  44304. "wrfactortypeid": {
  44305. "description": "仓单要素类型ID",
  44306. "type": "integer"
  44307. },
  44308. "wrstandardid": {
  44309. "description": "现货商品ID",
  44310. "type": "integer"
  44311. },
  44312. "wrtradedetailid": {
  44313. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  44314. "type": "integer"
  44315. }
  44316. }
  44317. },
  44318. "models.XHBRAND": {
  44319. "type": "object",
  44320. "properties": {
  44321. "brandid": {
  44322. "description": "品牌id",
  44323. "type": "integer"
  44324. },
  44325. "brandname": {
  44326. "description": "品牌名称",
  44327. "type": "string"
  44328. },
  44329. "isvalid": {
  44330. "description": "是否有效 0-无效 1-有效",
  44331. "type": "integer"
  44332. }
  44333. }
  44334. },
  44335. "models.XHDeliveryGoods": {
  44336. "type": "object",
  44337. "properties": {
  44338. "areauserid": {
  44339. "description": "所属机构",
  44340. "type": "integer"
  44341. },
  44342. "bdlst": {
  44343. "description": "品牌列表",
  44344. "type": "array",
  44345. "items": {
  44346. "$ref": "#/definitions/models.XHBRAND"
  44347. }
  44348. },
  44349. "deliverygoodscode": {
  44350. "description": "现货品种代码",
  44351. "type": "string"
  44352. },
  44353. "deliverygoodsid": {
  44354. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  44355. "type": "integer"
  44356. },
  44357. "deliverygoodsname": {
  44358. "description": "现货品种名称",
  44359. "type": "string"
  44360. },
  44361. "dgstatus": {
  44362. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  44363. "type": "integer"
  44364. },
  44365. "filterSubEmpty": {
  44366. "description": "过滤下级为空的",
  44367. "type": "integer"
  44368. },
  44369. "isvalid": {
  44370. "description": "是否有效 - 0:无效 1:有效",
  44371. "type": "integer"
  44372. },
  44373. "remark": {
  44374. "description": "备注",
  44375. "type": "string"
  44376. },
  44377. "unitid": {
  44378. "description": "单位id(目前看,数据库中是空值)",
  44379. "type": "integer"
  44380. },
  44381. "wdlst": {
  44382. "description": "品类(现货商品)列表",
  44383. "type": "array",
  44384. "items": {
  44385. "$ref": "#/definitions/models.XHWrstandard"
  44386. }
  44387. }
  44388. }
  44389. },
  44390. "models.XHMiddleGoods": {
  44391. "type": "object",
  44392. "properties": {
  44393. "GPLST": {
  44394. "description": "期货品种列表",
  44395. "type": "array",
  44396. "items": {
  44397. "$ref": "#/definitions/models.TBGoodsGroup"
  44398. }
  44399. },
  44400. "convertratio": {
  44401. "description": "拆算系数",
  44402. "type": "number"
  44403. },
  44404. "costratio": {
  44405. "description": "成本权重",
  44406. "type": "number"
  44407. },
  44408. "deliverygoodsid": {
  44409. "description": "现货商品id",
  44410. "type": "integer"
  44411. },
  44412. "enumdicname": {
  44413. "description": "单位名称",
  44414. "type": "string"
  44415. },
  44416. "middlegoodscode": {
  44417. "description": "套保品种代码",
  44418. "type": "string"
  44419. },
  44420. "middlegoodsid": {
  44421. "description": "套保品种id",
  44422. "type": "integer"
  44423. },
  44424. "middlegoodsname": {
  44425. "description": "套保品种名称",
  44426. "type": "string"
  44427. },
  44428. "unitid": {
  44429. "description": "单位id",
  44430. "type": "integer"
  44431. }
  44432. }
  44433. },
  44434. "models.XHWrstandard": {
  44435. "type": "object",
  44436. "properties": {
  44437. "bannerpicurl": {
  44438. "description": "banner图",
  44439. "type": "string"
  44440. },
  44441. "deliverygoodsid": {
  44442. "description": "品种ID",
  44443. "type": "integer"
  44444. },
  44445. "enumdicname": {
  44446. "description": "单位名称",
  44447. "type": "string"
  44448. },
  44449. "mglst": {
  44450. "description": "套保品列表",
  44451. "type": "array",
  44452. "items": {
  44453. "$ref": "#/definitions/models.XHMiddleGoods"
  44454. }
  44455. },
  44456. "pictureurls": {
  44457. "description": "详情图片(逗号分隔)",
  44458. "type": "string"
  44459. },
  44460. "thumurls": {
  44461. "description": "缩略图片(1:1)(逗号分隔)",
  44462. "type": "string"
  44463. },
  44464. "unitid": {
  44465. "description": "单位id",
  44466. "type": "integer"
  44467. },
  44468. "vatrate": {
  44469. "description": "增值税率",
  44470. "type": "number"
  44471. },
  44472. "wrstandardcode": {
  44473. "description": "现货商品代码",
  44474. "type": "string"
  44475. },
  44476. "wrstandardid": {
  44477. "description": "现货商品ID(SEQ_WRSTANDARD)",
  44478. "type": "integer"
  44479. },
  44480. "wrstandardname": {
  44481. "description": "现货商品名称",
  44482. "type": "string"
  44483. }
  44484. }
  44485. },
  44486. "models.XhcpSellBackApplyEx": {
  44487. "type": "object",
  44488. "required": [
  44489. "userid"
  44490. ],
  44491. "properties": {
  44492. "applyremark": {
  44493. "description": "申请备注",
  44494. "type": "string"
  44495. },
  44496. "expirytype": {
  44497. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  44498. "type": "integer"
  44499. },
  44500. "goodsspec": {
  44501. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  44502. "type": "integer"
  44503. },
  44504. "holeflag": {
  44505. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  44506. "type": "integer"
  44507. },
  44508. "isunopened": {
  44509. "description": "是否原封 - 1:否 2:是",
  44510. "type": "integer"
  44511. },
  44512. "mpflag": {
  44513. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  44514. "type": "integer"
  44515. },
  44516. "openflag": {
  44517. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  44518. "type": "integer"
  44519. },
  44520. "phonenum": {
  44521. "description": "联系电话",
  44522. "type": "string"
  44523. },
  44524. "userid": {
  44525. "description": "所属用户ID",
  44526. "type": "integer"
  44527. },
  44528. "zpflag": {
  44529. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  44530. "type": "integer"
  44531. }
  44532. }
  44533. },
  44534. "models.Xhcpsellbackapply": {
  44535. "type": "object",
  44536. "required": [
  44537. "userid"
  44538. ],
  44539. "properties": {
  44540. "applyid": {
  44541. "description": "申请人",
  44542. "type": "integer"
  44543. },
  44544. "applyremark": {
  44545. "description": "申请备注",
  44546. "type": "string"
  44547. },
  44548. "applysrc": {
  44549. "description": "申请来源 - 1:管理端 2:终端",
  44550. "type": "integer"
  44551. },
  44552. "applystatus": {
  44553. "description": "申请状态 - 1:待确认 2:已处理",
  44554. "type": "integer"
  44555. },
  44556. "applytime": {
  44557. "description": "申请时间",
  44558. "type": "string"
  44559. },
  44560. "auditremark": {
  44561. "description": "审核备注",
  44562. "type": "string"
  44563. },
  44564. "auditsrc": {
  44565. "description": "审核来源 - 1:管理端 2:终端",
  44566. "type": "integer"
  44567. },
  44568. "expirytype": {
  44569. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  44570. "type": "integer"
  44571. },
  44572. "goodsspec": {
  44573. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  44574. "type": "integer"
  44575. },
  44576. "holeflag": {
  44577. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  44578. "type": "integer"
  44579. },
  44580. "isunopened": {
  44581. "description": "是否原封 - 1:否 2:是",
  44582. "type": "integer"
  44583. },
  44584. "mpflag": {
  44585. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  44586. "type": "integer"
  44587. },
  44588. "openflag": {
  44589. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  44590. "type": "integer"
  44591. },
  44592. "phonenum": {
  44593. "description": "联系电话",
  44594. "type": "string"
  44595. },
  44596. "sellbackapplyid": {
  44597. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  44598. "type": "string"
  44599. },
  44600. "userid": {
  44601. "description": "所属用户ID",
  44602. "type": "integer"
  44603. },
  44604. "zpflag": {
  44605. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  44606. "type": "integer"
  44607. }
  44608. }
  44609. },
  44610. "order.QueryHisTradeDetailRsp": {
  44611. "type": "object",
  44612. "required": [
  44613. "accountid",
  44614. "buyorsell",
  44615. "goodsid",
  44616. "histradedate",
  44617. "marketid",
  44618. "memberuserid",
  44619. "orderid",
  44620. "tradeamount",
  44621. "tradedate",
  44622. "tradeid",
  44623. "tradeprice",
  44624. "tradeqty",
  44625. "tradetime"
  44626. ],
  44627. "properties": {
  44628. "accountid": {
  44629. "description": "账户ID[报价币种]",
  44630. "type": "integer"
  44631. },
  44632. "advanceratio": {
  44633. "description": "首付比率",
  44634. "type": "number"
  44635. },
  44636. "buildtype": {
  44637. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  44638. "type": "integer"
  44639. },
  44640. "buyorsell": {
  44641. "description": "方向 - 0:买 1:卖",
  44642. "type": "integer"
  44643. },
  44644. "charge": {
  44645. "description": "手续费",
  44646. "type": "number"
  44647. },
  44648. "closecharge": {
  44649. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  44650. "type": "number"
  44651. },
  44652. "closeexchagechargevalue": {
  44653. "description": "平仓交易所手续费设置值",
  44654. "type": "number"
  44655. },
  44656. "closefeealgorithm": {
  44657. "description": "平仓手续费收取方式 1:比率 2:固定",
  44658. "type": "integer"
  44659. },
  44660. "closememberchargevalue": {
  44661. "description": "平仓会员手续费设置值",
  44662. "type": "number"
  44663. },
  44664. "closepl": {
  44665. "description": "平仓盈亏",
  44666. "type": "number"
  44667. },
  44668. "closepl2": {
  44669. "description": "平仓盈亏[逐笔]",
  44670. "type": "number"
  44671. },
  44672. "closeqty": {
  44673. "description": "平仓数量(先建后平操作 需要记录)",
  44674. "type": "number"
  44675. },
  44676. "creditamount": {
  44677. "description": "授信金额",
  44678. "type": "number"
  44679. },
  44680. "decimalplace": {
  44681. "description": "商品报价小数位",
  44682. "type": "integer"
  44683. },
  44684. "enumdicname": {
  44685. "description": "单位名称",
  44686. "type": "string"
  44687. },
  44688. "gcaccountid": {
  44689. "description": "账户ID[合约币种]",
  44690. "type": "integer"
  44691. },
  44692. "goodscode": {
  44693. "description": "商品代码",
  44694. "type": "string"
  44695. },
  44696. "goodsid": {
  44697. "description": "商品ID",
  44698. "type": "integer"
  44699. },
  44700. "goodsname": {
  44701. "description": "商品名称",
  44702. "type": "string"
  44703. },
  44704. "goodunitid": {
  44705. "description": "商品单位id",
  44706. "type": "integer"
  44707. },
  44708. "histradedate": {
  44709. "description": "历史交易日",
  44710. "type": "string"
  44711. },
  44712. "intclosepl": {
  44713. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  44714. "type": "integer"
  44715. },
  44716. "isconfirmexercise": {
  44717. "description": "是否确认行权- 0:否 1:是",
  44718. "type": "integer"
  44719. },
  44720. "ismain": {
  44721. "description": "是否主单 - 0:不是 1:是",
  44722. "type": "integer"
  44723. },
  44724. "ispreexercise": {
  44725. "description": "是否预申报- 0:否 1:是",
  44726. "type": "integer"
  44727. },
  44728. "isreckoned": {
  44729. "description": "是否结算 - 0:未结算 1:已结算",
  44730. "type": "integer"
  44731. },
  44732. "isvaliddata": {
  44733. "description": "是否有效 - 0:无效 1:有效",
  44734. "type": "integer"
  44735. },
  44736. "listingselecttype": {
  44737. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  44738. "type": "integer"
  44739. },
  44740. "marketid": {
  44741. "description": "市场ID",
  44742. "type": "integer"
  44743. },
  44744. "marketname": {
  44745. "description": "市场名称",
  44746. "type": "string"
  44747. },
  44748. "matchaccountid": {
  44749. "description": "对手账号id",
  44750. "type": "integer"
  44751. },
  44752. "memberuserid": {
  44753. "description": "会员id 个人投资者 需要填写",
  44754. "type": "integer"
  44755. },
  44756. "opencharge": {
  44757. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  44758. "type": "number"
  44759. },
  44760. "openexchagechargevalue": {
  44761. "description": "建仓交易所手续费设置值",
  44762. "type": "number"
  44763. },
  44764. "openfeealgorithm": {
  44765. "description": "建仓手续费收取方式 1:比率 2:固定",
  44766. "type": "integer"
  44767. },
  44768. "openmemberchargevalue": {
  44769. "description": "建仓会员手续费设置值",
  44770. "type": "number"
  44771. },
  44772. "openqty": {
  44773. "description": "开仓数量(先建后平操作 需要记录)",
  44774. "type": "number"
  44775. },
  44776. "optiontype": {
  44777. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  44778. "type": "integer"
  44779. },
  44780. "orderid": {
  44781. "description": "委托单号",
  44782. "type": "string"
  44783. },
  44784. "payamount": {
  44785. "description": "支付金额(付款金额)",
  44786. "type": "number"
  44787. },
  44788. "performanceplanid": {
  44789. "description": "履约计划ID[期权]",
  44790. "type": "integer"
  44791. },
  44792. "performancestatus": {
  44793. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  44794. "type": "integer"
  44795. },
  44796. "preexerciseprice": {
  44797. "description": "预申报价格",
  44798. "type": "number"
  44799. },
  44800. "premium": {
  44801. "description": "权利金 - [持仓单的权利金]",
  44802. "type": "number"
  44803. },
  44804. "qtydecimalplace": {
  44805. "description": "商品报价小数位",
  44806. "type": "integer"
  44807. },
  44808. "recvamount": {
  44809. "description": "到账金额 = 成交金额 - 手续费",
  44810. "type": "number"
  44811. },
  44812. "relatedouttradeid": {
  44813. "description": "关联外部成交单ID",
  44814. "type": "integer"
  44815. },
  44816. "status": {
  44817. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  44818. "type": "integer"
  44819. },
  44820. "totalamount": {
  44821. "description": "订单总额 = 成交金额 + 手续费",
  44822. "type": "number"
  44823. },
  44824. "tradeamount": {
  44825. "description": "成交金额[账户币种,用于所有权]",
  44826. "type": "number"
  44827. },
  44828. "tradedate": {
  44829. "description": "交易日(yyyyMMdd)",
  44830. "type": "string"
  44831. },
  44832. "tradeid": {
  44833. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44834. "type": "string"
  44835. },
  44836. "trademode": {
  44837. "description": "交易模式",
  44838. "type": "integer"
  44839. },
  44840. "tradeprice": {
  44841. "description": "成交价格",
  44842. "type": "number"
  44843. },
  44844. "tradeproperty": {
  44845. "description": "交易属性",
  44846. "type": "integer"
  44847. },
  44848. "tradeqty": {
  44849. "description": "成交数量",
  44850. "type": "number"
  44851. },
  44852. "tradetime": {
  44853. "description": "成交时间",
  44854. "type": "string"
  44855. },
  44856. "tradetype": {
  44857. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  44858. "type": "integer"
  44859. }
  44860. }
  44861. },
  44862. "order.QueryHisTradeOrderDetailRsp": {
  44863. "type": "object",
  44864. "required": [
  44865. "accountid",
  44866. "buildtype",
  44867. "buyorsell",
  44868. "goodsid",
  44869. "histradedate",
  44870. "marketid",
  44871. "memberuserid",
  44872. "operatetype",
  44873. "orderid",
  44874. "orderqty",
  44875. "ordertime",
  44876. "pricemode",
  44877. "tradedate",
  44878. "validtype"
  44879. ],
  44880. "properties": {
  44881. "accountid": {
  44882. "description": "账户ID[报价币种]",
  44883. "type": "integer"
  44884. },
  44885. "buildtype": {
  44886. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  44887. "type": "integer"
  44888. },
  44889. "buyorsell": {
  44890. "description": "买卖 - 0:买 1:卖",
  44891. "type": "integer"
  44892. },
  44893. "cancelorderid": {
  44894. "description": "撤单单号(撤单时填写)",
  44895. "type": "string"
  44896. },
  44897. "cancelqty": {
  44898. "description": "撤单数量",
  44899. "type": "number"
  44900. },
  44901. "clientordertime": {
  44902. "description": "客户端委托时间",
  44903. "type": "string"
  44904. },
  44905. "clientticket": {
  44906. "description": "客户端流水号",
  44907. "type": "string"
  44908. },
  44909. "clienttype": {
  44910. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  44911. "type": "integer"
  44912. },
  44913. "closeexchagechargevalue": {
  44914. "description": "平仓交易所手续费设置值",
  44915. "type": "number"
  44916. },
  44917. "closefeealgorithm": {
  44918. "description": "平仓手续费收取方式 1:比率 2:固定",
  44919. "type": "integer"
  44920. },
  44921. "closefreezecharge": {
  44922. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  44923. "type": "number"
  44924. },
  44925. "closememberchargevalue": {
  44926. "description": "平仓会员手续费设置值",
  44927. "type": "number"
  44928. },
  44929. "closeqty": {
  44930. "description": "平仓数量(先建后平操作 需要记录)",
  44931. "type": "number"
  44932. },
  44933. "closetradeqty": {
  44934. "description": "平仓成交数量(先建后平操作,需要记录)",
  44935. "type": "number"
  44936. },
  44937. "closeunfreezecharge": {
  44938. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  44939. "type": "number"
  44940. },
  44941. "decimalplace": {
  44942. "description": "商品报价小数位",
  44943. "type": "integer"
  44944. },
  44945. "delistingtype": {
  44946. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  44947. "type": "integer"
  44948. },
  44949. "enumdicname": {
  44950. "description": "单位名称",
  44951. "type": "string"
  44952. },
  44953. "freezecharge": {
  44954. "description": "冻结手续费",
  44955. "type": "number"
  44956. },
  44957. "freezemargin": {
  44958. "description": "冻结保证金(冻结交易金额)",
  44959. "type": "number"
  44960. },
  44961. "gcaccountid": {
  44962. "description": "账户ID[合约币种]",
  44963. "type": "integer"
  44964. },
  44965. "goodscode": {
  44966. "description": "商品代码",
  44967. "type": "string"
  44968. },
  44969. "goodsid": {
  44970. "description": "商品ID",
  44971. "type": "integer"
  44972. },
  44973. "goodsname": {
  44974. "description": "商品名称",
  44975. "type": "string"
  44976. },
  44977. "goodunitid": {
  44978. "description": "商品单位id",
  44979. "type": "integer"
  44980. },
  44981. "histradedate": {
  44982. "description": "历史交易日",
  44983. "type": "string"
  44984. },
  44985. "isconfirmexercise": {
  44986. "description": "是否确认行权- 0:否 1:是",
  44987. "type": "integer"
  44988. },
  44989. "ispreexercise": {
  44990. "description": "是否预申报- 0:否 1:是",
  44991. "type": "integer"
  44992. },
  44993. "isvaliddata": {
  44994. "description": "是否有效 - 0:无效 1:有效",
  44995. "type": "integer"
  44996. },
  44997. "listingselecttype": {
  44998. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  44999. "type": "integer"
  45000. },
  45001. "marginalgorithm": {
  45002. "description": "保证金收取方式 1:比率 2:固定",
  45003. "type": "integer"
  45004. },
  45005. "marginvalue": {
  45006. "description": "即市保证金设置值",
  45007. "type": "number"
  45008. },
  45009. "marketid": {
  45010. "description": "市场ID",
  45011. "type": "integer"
  45012. },
  45013. "marketmaxsub": {
  45014. "description": "市价最大偏移范围",
  45015. "type": "number"
  45016. },
  45017. "marketname": {
  45018. "description": "市场名称",
  45019. "type": "string"
  45020. },
  45021. "memberuserid": {
  45022. "description": "所属会员UserID",
  45023. "type": "integer"
  45024. },
  45025. "openexchagechargevalue": {
  45026. "description": "建仓交易所手续费设置值",
  45027. "type": "number"
  45028. },
  45029. "openfeealgorithm": {
  45030. "description": "建仓手续费收取方式 1:比率 2:固定",
  45031. "type": "integer"
  45032. },
  45033. "openfreezecharge": {
  45034. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  45035. "type": "number"
  45036. },
  45037. "openmemberchargevalue": {
  45038. "description": "建仓会员手续费设置值",
  45039. "type": "number"
  45040. },
  45041. "openqty": {
  45042. "description": "开仓数量(先建后平操作,需要记录)",
  45043. "type": "number"
  45044. },
  45045. "opentradeqty": {
  45046. "description": "开仓成交数量(先建后平操作,需要记录)",
  45047. "type": "number"
  45048. },
  45049. "openunfreezecharge": {
  45050. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  45051. "type": "number"
  45052. },
  45053. "operatetype": {
  45054. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  45055. "type": "integer"
  45056. },
  45057. "operatorid": {
  45058. "description": "登录账号(LoginID)",
  45059. "type": "integer"
  45060. },
  45061. "optiontype": {
  45062. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  45063. "type": "integer"
  45064. },
  45065. "orderid": {
  45066. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  45067. "type": "string"
  45068. },
  45069. "orderprice": {
  45070. "description": "委托价格",
  45071. "type": "number"
  45072. },
  45073. "orderqty": {
  45074. "description": "委托数量",
  45075. "type": "number"
  45076. },
  45077. "ordersrc": {
  45078. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  45079. "type": "integer"
  45080. },
  45081. "orderstatus": {
  45082. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  45083. "type": "integer"
  45084. },
  45085. "ordertime": {
  45086. "description": "委托时间",
  45087. "type": "string"
  45088. },
  45089. "preexerciseprice": {
  45090. "description": "预申报价格",
  45091. "type": "number"
  45092. },
  45093. "premium": {
  45094. "description": "权利金",
  45095. "type": "number"
  45096. },
  45097. "preorderid": {
  45098. "description": "关联预埋单号(止盈止损单时填写)",
  45099. "type": "string"
  45100. },
  45101. "pricemode": {
  45102. "description": "取价方式 - 1:市价 2: 限价",
  45103. "type": "integer"
  45104. },
  45105. "qtydecimalplace": {
  45106. "description": "成交量小数位",
  45107. "type": "integer"
  45108. },
  45109. "quoteid": {
  45110. "description": "报价单ID",
  45111. "type": "integer"
  45112. },
  45113. "relatedid": {
  45114. "description": "关联单号(交割单)",
  45115. "type": "string"
  45116. },
  45117. "retcode": {
  45118. "description": "错误代码",
  45119. "type": "integer"
  45120. },
  45121. "sessionid": {
  45122. "description": "会话ID",
  45123. "type": "integer"
  45124. },
  45125. "tradedate": {
  45126. "description": "交易日(yyyyMMdd)",
  45127. "type": "string"
  45128. },
  45129. "trademode": {
  45130. "description": "交易模式",
  45131. "type": "integer"
  45132. },
  45133. "tradeproperty": {
  45134. "description": "交易属性",
  45135. "type": "integer"
  45136. },
  45137. "tradeqty": {
  45138. "description": "成交数量",
  45139. "type": "number"
  45140. },
  45141. "unfreezecharge": {
  45142. "description": "解冻手续费",
  45143. "type": "number"
  45144. },
  45145. "unfreezemargin": {
  45146. "description": "解冻保证金",
  45147. "type": "number"
  45148. },
  45149. "updatetime": {
  45150. "description": "更新时间",
  45151. "type": "string"
  45152. },
  45153. "uuid": {
  45154. "description": "发起端唯一id",
  45155. "type": "string"
  45156. },
  45157. "validtime": {
  45158. "description": "有效期限",
  45159. "type": "string"
  45160. },
  45161. "validtype": {
  45162. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  45163. "type": "integer"
  45164. },
  45165. "volumetype": {
  45166. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  45167. "type": "integer"
  45168. }
  45169. }
  45170. },
  45171. "order.QueryTradeDetailRsp": {
  45172. "type": "object",
  45173. "required": [
  45174. "accountid",
  45175. "buyorsell",
  45176. "goodsid",
  45177. "marketid",
  45178. "memberuserid",
  45179. "orderid",
  45180. "tradeamount",
  45181. "tradedate",
  45182. "tradeid",
  45183. "tradeprice",
  45184. "tradeqty",
  45185. "tradetime"
  45186. ],
  45187. "properties": {
  45188. "accountid": {
  45189. "description": "账户ID[报价币种]",
  45190. "type": "integer"
  45191. },
  45192. "advanceratio": {
  45193. "description": "首付比率",
  45194. "type": "number"
  45195. },
  45196. "buildtype": {
  45197. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  45198. "type": "integer"
  45199. },
  45200. "buyorsell": {
  45201. "description": "方向 - 0:买 1:卖",
  45202. "type": "integer"
  45203. },
  45204. "charge": {
  45205. "description": "手续费",
  45206. "type": "number"
  45207. },
  45208. "closecharge": {
  45209. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  45210. "type": "number"
  45211. },
  45212. "closeexchagechargevalue": {
  45213. "description": "平仓交易所手续费设置值",
  45214. "type": "number"
  45215. },
  45216. "closefeealgorithm": {
  45217. "description": "平仓手续费收取方式 1:比率 2:固定",
  45218. "type": "integer"
  45219. },
  45220. "closememberchargevalue": {
  45221. "description": "平仓会员手续费设置值",
  45222. "type": "number"
  45223. },
  45224. "closepl": {
  45225. "description": "平仓盈亏",
  45226. "type": "number"
  45227. },
  45228. "closepl2": {
  45229. "description": "平仓盈亏[逐笔]",
  45230. "type": "number"
  45231. },
  45232. "closeqty": {
  45233. "description": "平仓数量(先建后平操作 需要记录)",
  45234. "type": "number"
  45235. },
  45236. "creditamount": {
  45237. "description": "授信金额",
  45238. "type": "number"
  45239. },
  45240. "decimalplace": {
  45241. "description": "商品报价小数位",
  45242. "type": "integer"
  45243. },
  45244. "enumdicname": {
  45245. "description": "单位名称",
  45246. "type": "string"
  45247. },
  45248. "gcaccountid": {
  45249. "description": "账户ID[合约币种]",
  45250. "type": "integer"
  45251. },
  45252. "goodscode": {
  45253. "description": "商品代码",
  45254. "type": "string"
  45255. },
  45256. "goodsid": {
  45257. "description": "商品ID",
  45258. "type": "integer"
  45259. },
  45260. "goodsname": {
  45261. "description": "商品名称",
  45262. "type": "string"
  45263. },
  45264. "goodunitid": {
  45265. "description": "商品单位id",
  45266. "type": "integer"
  45267. },
  45268. "intclosepl": {
  45269. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  45270. "type": "integer"
  45271. },
  45272. "isconfirmexercise": {
  45273. "description": "是否确认行权- 0:否 1:是",
  45274. "type": "integer"
  45275. },
  45276. "ismain": {
  45277. "description": "是否主单 - 0:不是 1:是",
  45278. "type": "integer"
  45279. },
  45280. "ispreexercise": {
  45281. "description": "是否预申报- 0:否 1:是",
  45282. "type": "integer"
  45283. },
  45284. "isreckoned": {
  45285. "description": "是否结算 - 0:未结算 1:已结算",
  45286. "type": "integer"
  45287. },
  45288. "listingselecttype": {
  45289. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  45290. "type": "integer"
  45291. },
  45292. "marketid": {
  45293. "description": "市场ID",
  45294. "type": "integer"
  45295. },
  45296. "marketname": {
  45297. "description": "市场名称",
  45298. "type": "string"
  45299. },
  45300. "matchaccountid": {
  45301. "description": "对手账号id",
  45302. "type": "integer"
  45303. },
  45304. "memberuserid": {
  45305. "description": "会员id 个人投资者 需要填写",
  45306. "type": "integer"
  45307. },
  45308. "opencharge": {
  45309. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  45310. "type": "number"
  45311. },
  45312. "openexchagechargevalue": {
  45313. "description": "建仓交易所手续费设置值",
  45314. "type": "number"
  45315. },
  45316. "openfeealgorithm": {
  45317. "description": "建仓手续费收取方式 1:比率 2:固定",
  45318. "type": "integer"
  45319. },
  45320. "openmemberchargevalue": {
  45321. "description": "建仓会员手续费设置值",
  45322. "type": "number"
  45323. },
  45324. "openqty": {
  45325. "description": "开仓数量(先建后平操作 需要记录)",
  45326. "type": "number"
  45327. },
  45328. "optiontype": {
  45329. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  45330. "type": "integer"
  45331. },
  45332. "orderid": {
  45333. "description": "委托单号",
  45334. "type": "string"
  45335. },
  45336. "payamount": {
  45337. "description": "支付金额(付款金额)",
  45338. "type": "number"
  45339. },
  45340. "performanceplanid": {
  45341. "description": "履约计划ID[期权]",
  45342. "type": "integer"
  45343. },
  45344. "performancestatus": {
  45345. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  45346. "type": "integer"
  45347. },
  45348. "preexerciseprice": {
  45349. "description": "预申报价格",
  45350. "type": "number"
  45351. },
  45352. "premium": {
  45353. "description": "权利金 - [持仓单的权利金]",
  45354. "type": "number"
  45355. },
  45356. "qtydecimalplace": {
  45357. "description": "商品报价小数位",
  45358. "type": "integer"
  45359. },
  45360. "recvamount": {
  45361. "description": "到账金额 = 成交金额 - 手续费",
  45362. "type": "number"
  45363. },
  45364. "relatedouttradeid": {
  45365. "description": "关联外部成交单ID",
  45366. "type": "integer"
  45367. },
  45368. "status": {
  45369. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  45370. "type": "integer"
  45371. },
  45372. "totalamount": {
  45373. "description": "订单总额 = 成交金额 + 手续费",
  45374. "type": "number"
  45375. },
  45376. "tradeamount": {
  45377. "description": "成交金额[账户币种,用于所有权]",
  45378. "type": "number"
  45379. },
  45380. "tradedate": {
  45381. "description": "交易日(yyyyMMdd)",
  45382. "type": "string"
  45383. },
  45384. "tradeid": {
  45385. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  45386. "type": "string"
  45387. },
  45388. "trademode": {
  45389. "description": "交易模式",
  45390. "type": "integer"
  45391. },
  45392. "tradeprice": {
  45393. "description": "成交价格",
  45394. "type": "number"
  45395. },
  45396. "tradeproperty": {
  45397. "description": "交易属性",
  45398. "type": "integer"
  45399. },
  45400. "tradeqty": {
  45401. "description": "成交数量",
  45402. "type": "number"
  45403. },
  45404. "tradetime": {
  45405. "description": "成交时间",
  45406. "type": "string"
  45407. },
  45408. "tradetype": {
  45409. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  45410. "type": "integer"
  45411. }
  45412. }
  45413. },
  45414. "order.QueryTradeOrderDetailRsp": {
  45415. "type": "object",
  45416. "required": [
  45417. "accountid",
  45418. "buildtype",
  45419. "buyorsell",
  45420. "goodsid",
  45421. "marketid",
  45422. "operatetype",
  45423. "orderqty",
  45424. "ordertime",
  45425. "pricemode",
  45426. "tradedate",
  45427. "validtype"
  45428. ],
  45429. "properties": {
  45430. "accountid": {
  45431. "description": "账户ID[报价币种]",
  45432. "type": "integer"
  45433. },
  45434. "buildtype": {
  45435. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  45436. "type": "integer"
  45437. },
  45438. "buyorsell": {
  45439. "description": "买卖 - 0:买 1:卖",
  45440. "type": "integer"
  45441. },
  45442. "cancelorderid": {
  45443. "description": "撤单单号(撤单时填写)",
  45444. "type": "string"
  45445. },
  45446. "cancelqty": {
  45447. "description": "撤单数量",
  45448. "type": "number"
  45449. },
  45450. "clienttype": {
  45451. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  45452. "type": "integer"
  45453. },
  45454. "closefreezecharge": {
  45455. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  45456. "type": "number"
  45457. },
  45458. "closeqty": {
  45459. "description": "平仓数量(先建后平操作 需要记录)",
  45460. "type": "number"
  45461. },
  45462. "closetradeqty": {
  45463. "description": "平仓成交数量(先建后平操作,需要记录)",
  45464. "type": "number"
  45465. },
  45466. "closeunfreezecharge": {
  45467. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  45468. "type": "number"
  45469. },
  45470. "decimalplace": {
  45471. "description": "商品报价小数位",
  45472. "type": "integer"
  45473. },
  45474. "delistingtype": {
  45475. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  45476. "type": "integer"
  45477. },
  45478. "enableqty": {
  45479. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  45480. "type": "number"
  45481. },
  45482. "enumdicname": {
  45483. "description": "单位名称",
  45484. "type": "string"
  45485. },
  45486. "freezecharge": {
  45487. "description": "冻结手续费",
  45488. "type": "number"
  45489. },
  45490. "freezemargin": {
  45491. "description": "冻结保证金(冻结交易金额)",
  45492. "type": "number"
  45493. },
  45494. "goodscode": {
  45495. "description": "商品代码",
  45496. "type": "string"
  45497. },
  45498. "goodsid": {
  45499. "description": "商品ID",
  45500. "type": "integer"
  45501. },
  45502. "goodsname": {
  45503. "description": "商品名称",
  45504. "type": "string"
  45505. },
  45506. "goodunitid": {
  45507. "description": "商品单位id",
  45508. "type": "integer"
  45509. },
  45510. "listingselecttype": {
  45511. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  45512. "type": "integer"
  45513. },
  45514. "marketid": {
  45515. "description": "市场ID",
  45516. "type": "integer"
  45517. },
  45518. "marketname": {
  45519. "description": "市场名称",
  45520. "type": "string"
  45521. },
  45522. "openfreezecharge": {
  45523. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  45524. "type": "number"
  45525. },
  45526. "openqty": {
  45527. "description": "开仓数量(先建后平操作,需要记录)",
  45528. "type": "number"
  45529. },
  45530. "opentradeqty": {
  45531. "description": "开仓成交数量(先建后平操作,需要记录)",
  45532. "type": "number"
  45533. },
  45534. "openunfreezecharge": {
  45535. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  45536. "type": "number"
  45537. },
  45538. "operatetype": {
  45539. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  45540. "type": "integer"
  45541. },
  45542. "operatorid": {
  45543. "description": "登录账号(LoginID)",
  45544. "type": "integer"
  45545. },
  45546. "orderid": {
  45547. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  45548. "type": "string"
  45549. },
  45550. "orderprice": {
  45551. "description": "委托价格",
  45552. "type": "number"
  45553. },
  45554. "orderqty": {
  45555. "description": "委托数量",
  45556. "type": "number"
  45557. },
  45558. "ordersrc": {
  45559. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  45560. "type": "integer"
  45561. },
  45562. "orderstatus": {
  45563. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  45564. "type": "integer"
  45565. },
  45566. "ordertime": {
  45567. "description": "委托时间",
  45568. "type": "string"
  45569. },
  45570. "preorderid": {
  45571. "description": "关联预埋单号(止盈止损单时填写)",
  45572. "type": "string"
  45573. },
  45574. "pricemode": {
  45575. "description": "取价方式 - 1:市价 2: 限价",
  45576. "type": "integer"
  45577. },
  45578. "qtydecimalplace": {
  45579. "description": "商品报价小数位",
  45580. "type": "integer"
  45581. },
  45582. "relatedid": {
  45583. "description": "关联单号(交割单)",
  45584. "type": "string"
  45585. },
  45586. "tradedate": {
  45587. "description": "交易日(yyyyMMdd)",
  45588. "type": "string"
  45589. },
  45590. "trademode": {
  45591. "description": "交易模式",
  45592. "type": "integer"
  45593. },
  45594. "tradeqty": {
  45595. "description": "成交数量",
  45596. "type": "number"
  45597. },
  45598. "unfreezecharge": {
  45599. "description": "解冻手续费",
  45600. "type": "number"
  45601. },
  45602. "unfreezemargin": {
  45603. "description": "解冻保证金",
  45604. "type": "number"
  45605. },
  45606. "validtime": {
  45607. "description": "有效期限",
  45608. "type": "string"
  45609. },
  45610. "validtype": {
  45611. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  45612. "type": "integer"
  45613. },
  45614. "volumetype": {
  45615. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  45616. "type": "integer"
  45617. }
  45618. }
  45619. },
  45620. "order.QueryTradePositionRsp": {
  45621. "type": "object",
  45622. "required": [
  45623. "goodsid"
  45624. ],
  45625. "properties": {
  45626. "accountid": {
  45627. "description": "资金账户",
  45628. "type": "integer"
  45629. },
  45630. "agreeunit": {
  45631. "description": "合约单位",
  45632. "type": "number"
  45633. },
  45634. "averageprice": {
  45635. "description": "持仓均价",
  45636. "type": "number"
  45637. },
  45638. "buyorsell": {
  45639. "description": "方向 - 0:买 1:卖",
  45640. "type": "integer"
  45641. },
  45642. "closetotalqty": {
  45643. "description": "平仓总数量",
  45644. "type": "number"
  45645. },
  45646. "curholderamount": {
  45647. "description": "当前持仓总金额[商品币种]",
  45648. "type": "number"
  45649. },
  45650. "curpositionqty": {
  45651. "description": "当前持仓总数量",
  45652. "type": "number"
  45653. },
  45654. "currencyid": {
  45655. "description": "报价货币ID",
  45656. "type": "integer"
  45657. },
  45658. "curtdposition": {
  45659. "description": "期末今日头寸",
  45660. "type": "number"
  45661. },
  45662. "decimalplace": {
  45663. "description": "报价小数位",
  45664. "type": "integer"
  45665. },
  45666. "enableqty": {
  45667. "description": "可用量",
  45668. "type": "number"
  45669. },
  45670. "fretdposition": {
  45671. "description": "冻结今日头寸",
  45672. "type": "number"
  45673. },
  45674. "frozenqty": {
  45675. "description": "持仓冻结数量",
  45676. "type": "number"
  45677. },
  45678. "goodscode": {
  45679. "description": "商品代码",
  45680. "type": "string"
  45681. },
  45682. "goodsid": {
  45683. "description": "商品Id",
  45684. "type": "integer"
  45685. },
  45686. "goodsname": {
  45687. "description": "商品名称",
  45688. "type": "string"
  45689. },
  45690. "goodunit": {
  45691. "description": "报价单位",
  45692. "type": "string"
  45693. },
  45694. "goodunitid": {
  45695. "description": "报价单位ID",
  45696. "type": "integer"
  45697. },
  45698. "holderamount": {
  45699. "description": "期初持仓总金额[商品币种]",
  45700. "type": "number"
  45701. },
  45702. "lastprice": {
  45703. "description": "最新价",
  45704. "type": "number"
  45705. },
  45706. "marketamount": {
  45707. "description": "市值",
  45708. "type": "number"
  45709. },
  45710. "marketid": {
  45711. "description": "所属市场ID",
  45712. "type": "integer"
  45713. },
  45714. "openreqqty": {
  45715. "description": "开仓申请数量(用于比较最大持仓数量)",
  45716. "type": "number"
  45717. },
  45718. "opentotalqty": {
  45719. "description": "开仓总数量",
  45720. "type": "number"
  45721. },
  45722. "otherfrozenqty": {
  45723. "description": "持仓其他冻结数量(交割冻结)",
  45724. "type": "number"
  45725. },
  45726. "positionpl": {
  45727. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  45728. "type": "number"
  45729. },
  45730. "positionplrate": {
  45731. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  45732. "type": "number"
  45733. },
  45734. "positionqty": {
  45735. "description": "期初持仓数量",
  45736. "type": "number"
  45737. },
  45738. "qtydecimalplace": {
  45739. "description": "成交量小数位",
  45740. "type": "integer"
  45741. },
  45742. "refgoodscode": {
  45743. "description": "参考商品代码",
  45744. "type": "string"
  45745. },
  45746. "refgoodsid": {
  45747. "description": "参考商品ID",
  45748. "type": "integer"
  45749. },
  45750. "tnqty": {
  45751. "description": "T+N冻结总量",
  45752. "type": "number"
  45753. },
  45754. "tnusedqty": {
  45755. "description": "T+N使用量(可以使用T+N的冻结数量)",
  45756. "type": "number"
  45757. },
  45758. "trademode": {
  45759. "description": "交易模式",
  45760. "type": "integer"
  45761. },
  45762. "tradeproperty": {
  45763. "description": "交易属性",
  45764. "type": "integer"
  45765. },
  45766. "usedmargin": {
  45767. "description": "占用保证金[商品币种]",
  45768. "type": "number"
  45769. }
  45770. }
  45771. },
  45772. "pb.GoodsMarginCfgStruct": {
  45773. "type": "object",
  45774. "properties": {
  45775. "CustomerTypeID": {
  45776. "description": "投资者客户类型",
  45777. "type": "integer"
  45778. },
  45779. "GoodsID": {
  45780. "description": "商品ID",
  45781. "type": "integer"
  45782. },
  45783. "IsDefault": {
  45784. "description": "是否默认标志位",
  45785. "type": "integer"
  45786. },
  45787. "LockMarginValue": {
  45788. "description": "锁仓保证金",
  45789. "type": "number"
  45790. },
  45791. "MarginAlgorithm": {
  45792. "description": "保证金计算方式",
  45793. "type": "integer"
  45794. },
  45795. "MarketMarginValue": {
  45796. "description": "即市保证金值",
  45797. "type": "number"
  45798. },
  45799. "RealMarginAlgorithm": {
  45800. "description": "实付保证金计算方式",
  45801. "type": "integer"
  45802. },
  45803. "RealMarginValue": {
  45804. "description": "实付比例",
  45805. "type": "number"
  45806. },
  45807. "ReckonMarginValue": {
  45808. "description": "结算保证金值",
  45809. "type": "number"
  45810. }
  45811. }
  45812. },
  45813. "quote.HistoryData": {
  45814. "type": "object",
  45815. "properties": {
  45816. "c": {
  45817. "description": "收盘价",
  45818. "type": "number"
  45819. },
  45820. "f": {
  45821. "description": "是否补充数据",
  45822. "type": "boolean"
  45823. },
  45824. "h": {
  45825. "description": "最高价",
  45826. "type": "number"
  45827. },
  45828. "hv": {
  45829. "description": "持仓量",
  45830. "type": "integer"
  45831. },
  45832. "l": {
  45833. "description": "最低价",
  45834. "type": "number"
  45835. },
  45836. "o": {
  45837. "description": "开盘价",
  45838. "type": "number"
  45839. },
  45840. "s": {
  45841. "description": "结算价,日线周期(包括)以上才有",
  45842. "type": "number"
  45843. },
  45844. "ts": {
  45845. "description": "时间",
  45846. "type": "string"
  45847. },
  45848. "tt": {
  45849. "description": "总金额",
  45850. "type": "number"
  45851. },
  45852. "tv": {
  45853. "description": "总量(成交量)",
  45854. "type": "integer"
  45855. }
  45856. }
  45857. },
  45858. "quote.HistoryTikData": {
  45859. "type": "object",
  45860. "properties": {
  45861. "AV": {
  45862. "description": "卖量",
  45863. "type": "integer"
  45864. },
  45865. "Ask": {
  45866. "description": "卖价",
  45867. "type": "number"
  45868. },
  45869. "BV": {
  45870. "description": "买量",
  45871. "type": "integer"
  45872. },
  45873. "Bid": {
  45874. "description": "买价",
  45875. "type": "number"
  45876. },
  45877. "HI": {
  45878. "description": "单笔持仓",
  45879. "type": "integer"
  45880. },
  45881. "HV": {
  45882. "description": "持仓量",
  45883. "type": "integer"
  45884. },
  45885. "PE": {
  45886. "description": "现价",
  45887. "type": "number"
  45888. },
  45889. "TDR": {
  45890. "description": "交易方向,0:买 1:卖",
  45891. "type": "integer"
  45892. },
  45893. "TK": {
  45894. "description": "交易类型",
  45895. "type": "integer"
  45896. },
  45897. "TS": {
  45898. "description": "行情时间文本",
  45899. "type": "string"
  45900. },
  45901. "TT": {
  45902. "description": "现金额",
  45903. "type": "number"
  45904. },
  45905. "Vol": {
  45906. "description": "现量",
  45907. "type": "integer"
  45908. }
  45909. }
  45910. },
  45911. "quote.QueryQuoteDayRsp": {
  45912. "type": "object",
  45913. "properties": {
  45914. "ask": {
  45915. "description": "卖1",
  45916. "type": "number"
  45917. },
  45918. "ask10": {
  45919. "description": "卖10",
  45920. "type": "number"
  45921. },
  45922. "ask2": {
  45923. "description": "卖2",
  45924. "type": "number"
  45925. },
  45926. "ask3": {
  45927. "description": "卖3",
  45928. "type": "number"
  45929. },
  45930. "ask4": {
  45931. "description": "卖4",
  45932. "type": "number"
  45933. },
  45934. "ask5": {
  45935. "description": "卖5",
  45936. "type": "number"
  45937. },
  45938. "ask6": {
  45939. "description": "卖6",
  45940. "type": "number"
  45941. },
  45942. "ask7": {
  45943. "description": "卖7",
  45944. "type": "number"
  45945. },
  45946. "ask8": {
  45947. "description": "卖8",
  45948. "type": "number"
  45949. },
  45950. "ask9": {
  45951. "description": "卖9",
  45952. "type": "number"
  45953. },
  45954. "askorderid": {
  45955. "description": "卖单号1",
  45956. "type": "integer"
  45957. },
  45958. "askorderid2": {
  45959. "description": "卖单号2",
  45960. "type": "integer"
  45961. },
  45962. "askorderid3": {
  45963. "description": "卖单号3",
  45964. "type": "integer"
  45965. },
  45966. "askorderid4": {
  45967. "description": "卖单号4",
  45968. "type": "integer"
  45969. },
  45970. "askorderid5": {
  45971. "description": "卖单号5",
  45972. "type": "integer"
  45973. },
  45974. "askordervolume": {
  45975. "description": "卖单量1",
  45976. "type": "integer"
  45977. },
  45978. "askordervolume10": {
  45979. "description": "卖单量10",
  45980. "type": "integer"
  45981. },
  45982. "askordervolume2": {
  45983. "description": "卖单量2",
  45984. "type": "integer"
  45985. },
  45986. "askordervolume3": {
  45987. "description": "卖单量3",
  45988. "type": "integer"
  45989. },
  45990. "askordervolume4": {
  45991. "description": "卖单量4",
  45992. "type": "integer"
  45993. },
  45994. "askordervolume5": {
  45995. "description": "卖单量5",
  45996. "type": "integer"
  45997. },
  45998. "askordervolume6": {
  45999. "description": "卖单量6",
  46000. "type": "integer"
  46001. },
  46002. "askordervolume7": {
  46003. "description": "卖单量7",
  46004. "type": "integer"
  46005. },
  46006. "askordervolume8": {
  46007. "description": "卖单量8",
  46008. "type": "integer"
  46009. },
  46010. "askordervolume9": {
  46011. "description": "卖单量9",
  46012. "type": "integer"
  46013. },
  46014. "askqueueinfo": {
  46015. "description": "大利市卖港股用",
  46016. "type": "string"
  46017. },
  46018. "askvolume": {
  46019. "description": "卖量1",
  46020. "type": "integer"
  46021. },
  46022. "askvolume10": {
  46023. "description": "卖量10",
  46024. "type": "integer"
  46025. },
  46026. "askvolume2": {
  46027. "description": "卖量2",
  46028. "type": "integer"
  46029. },
  46030. "askvolume3": {
  46031. "description": "卖量3",
  46032. "type": "integer"
  46033. },
  46034. "askvolume4": {
  46035. "description": "卖量4",
  46036. "type": "integer"
  46037. },
  46038. "askvolume5": {
  46039. "description": "卖量5",
  46040. "type": "integer"
  46041. },
  46042. "askvolume6": {
  46043. "description": "卖量6",
  46044. "type": "integer"
  46045. },
  46046. "askvolume7": {
  46047. "description": "卖量7",
  46048. "type": "integer"
  46049. },
  46050. "askvolume8": {
  46051. "description": "卖量8",
  46052. "type": "integer"
  46053. },
  46054. "askvolume9": {
  46055. "description": "卖量9",
  46056. "type": "integer"
  46057. },
  46058. "averageprice": {
  46059. "description": "均价",
  46060. "type": "number"
  46061. },
  46062. "bid": {
  46063. "description": "买1",
  46064. "type": "number"
  46065. },
  46066. "bid10": {
  46067. "description": "买10",
  46068. "type": "number"
  46069. },
  46070. "bid2": {
  46071. "description": "买2",
  46072. "type": "number"
  46073. },
  46074. "bid3": {
  46075. "description": "买3",
  46076. "type": "number"
  46077. },
  46078. "bid4": {
  46079. "description": "买4",
  46080. "type": "number"
  46081. },
  46082. "bid5": {
  46083. "description": "买5",
  46084. "type": "number"
  46085. },
  46086. "bid6": {
  46087. "description": "买6",
  46088. "type": "number"
  46089. },
  46090. "bid7": {
  46091. "description": "买7",
  46092. "type": "number"
  46093. },
  46094. "bid8": {
  46095. "description": "买8",
  46096. "type": "number"
  46097. },
  46098. "bid9": {
  46099. "description": "买9",
  46100. "type": "number"
  46101. },
  46102. "bidorderid": {
  46103. "description": "买单号1",
  46104. "type": "integer"
  46105. },
  46106. "bidorderid2": {
  46107. "description": "买单号2",
  46108. "type": "integer"
  46109. },
  46110. "bidorderid3": {
  46111. "description": "买单号3",
  46112. "type": "integer"
  46113. },
  46114. "bidorderid4": {
  46115. "description": "买单号4",
  46116. "type": "integer"
  46117. },
  46118. "bidorderid5": {
  46119. "description": "买单号5",
  46120. "type": "integer"
  46121. },
  46122. "bidordervolume": {
  46123. "description": "买单量1",
  46124. "type": "integer"
  46125. },
  46126. "bidordervolume10": {
  46127. "description": "买单量10",
  46128. "type": "integer"
  46129. },
  46130. "bidordervolume2": {
  46131. "description": "买单量2",
  46132. "type": "integer"
  46133. },
  46134. "bidordervolume3": {
  46135. "description": "买单量3",
  46136. "type": "integer"
  46137. },
  46138. "bidordervolume4": {
  46139. "description": "买单量4",
  46140. "type": "integer"
  46141. },
  46142. "bidordervolume5": {
  46143. "description": "买单量5",
  46144. "type": "integer"
  46145. },
  46146. "bidordervolume6": {
  46147. "description": "买单量6",
  46148. "type": "integer"
  46149. },
  46150. "bidordervolume7": {
  46151. "description": "买单量7",
  46152. "type": "integer"
  46153. },
  46154. "bidordervolume8": {
  46155. "description": "买单量8",
  46156. "type": "integer"
  46157. },
  46158. "bidordervolume9": {
  46159. "description": "买单量9",
  46160. "type": "integer"
  46161. },
  46162. "bidqueueinfo": {
  46163. "description": "大利市买港股用",
  46164. "type": "string"
  46165. },
  46166. "bidvolume": {
  46167. "description": "买量1",
  46168. "type": "integer"
  46169. },
  46170. "bidvolume10": {
  46171. "description": "买量10",
  46172. "type": "integer"
  46173. },
  46174. "bidvolume2": {
  46175. "description": "买量2",
  46176. "type": "integer"
  46177. },
  46178. "bidvolume3": {
  46179. "description": "买量3",
  46180. "type": "integer"
  46181. },
  46182. "bidvolume4": {
  46183. "description": "买量4",
  46184. "type": "integer"
  46185. },
  46186. "bidvolume5": {
  46187. "description": "买量5",
  46188. "type": "integer"
  46189. },
  46190. "bidvolume6": {
  46191. "description": "买量6",
  46192. "type": "integer"
  46193. },
  46194. "bidvolume7": {
  46195. "description": "买量7",
  46196. "type": "integer"
  46197. },
  46198. "bidvolume8": {
  46199. "description": "买量8",
  46200. "type": "integer"
  46201. },
  46202. "bidvolume9": {
  46203. "description": "买量9",
  46204. "type": "integer"
  46205. },
  46206. "calloptionpremiums": {
  46207. "description": "认购期权1",
  46208. "type": "integer"
  46209. },
  46210. "calloptionpremiums2": {
  46211. "description": "认购期权2",
  46212. "type": "integer"
  46213. },
  46214. "calloptionpremiums3": {
  46215. "description": "认购期权3",
  46216. "type": "integer"
  46217. },
  46218. "calloptionpremiums4": {
  46219. "description": "认购期权4",
  46220. "type": "integer"
  46221. },
  46222. "calloptionpremiums5": {
  46223. "description": "认购期权5",
  46224. "type": "integer"
  46225. },
  46226. "cleartime": {
  46227. "description": "清盘时间",
  46228. "type": "integer"
  46229. },
  46230. "exchangecode": {
  46231. "description": "交易所代码",
  46232. "type": "integer"
  46233. },
  46234. "exchangedate": {
  46235. "description": "交易日",
  46236. "type": "integer"
  46237. },
  46238. "goodscode": {
  46239. "description": "商品代码",
  46240. "type": "string"
  46241. },
  46242. "grepmarketprice": {
  46243. "description": "暗盘价 港股专用",
  46244. "type": "number"
  46245. },
  46246. "highest": {
  46247. "description": "最高价",
  46248. "type": "number"
  46249. },
  46250. "holdincrement": {
  46251. "description": "单笔持仓",
  46252. "type": "integer"
  46253. },
  46254. "holdvolume": {
  46255. "description": "持仓",
  46256. "type": "integer"
  46257. },
  46258. "iep": {
  46259. "description": "平衡价 港股专用",
  46260. "type": "number"
  46261. },
  46262. "iev": {
  46263. "description": "平衡量 港股专用",
  46264. "type": "number"
  46265. },
  46266. "inventory": {
  46267. "description": "库存",
  46268. "type": "integer"
  46269. },
  46270. "iscleared": {
  46271. "description": "是否清盘标志",
  46272. "type": "integer"
  46273. },
  46274. "issettled": {
  46275. "description": "是否结算标志",
  46276. "type": "integer"
  46277. },
  46278. "last": {
  46279. "description": "最新价",
  46280. "type": "number"
  46281. },
  46282. "lastlot": {
  46283. "description": "最新成交手数",
  46284. "type": "integer"
  46285. },
  46286. "lasttime": {
  46287. "description": "行情时间(只有现价变化行情时间才变化)",
  46288. "type": "string"
  46289. },
  46290. "lastturnover": {
  46291. "description": "最新成交金额",
  46292. "type": "number"
  46293. },
  46294. "lastvolume": {
  46295. "description": "最新成交量",
  46296. "type": "integer"
  46297. },
  46298. "limitdown": {
  46299. "description": "跌停价",
  46300. "type": "number"
  46301. },
  46302. "limitup": {
  46303. "description": "涨停价",
  46304. "type": "number"
  46305. },
  46306. "lowest": {
  46307. "description": "最低价",
  46308. "type": "number"
  46309. },
  46310. "nontotalholdervolume": {
  46311. "description": "非交易持仓量",
  46312. "type": "integer"
  46313. },
  46314. "nontotallot": {
  46315. "description": "非交易总手数",
  46316. "type": "integer"
  46317. },
  46318. "nontotalturnover": {
  46319. "description": "非交易总金额",
  46320. "type": "integer"
  46321. },
  46322. "nontotalvolume": {
  46323. "description": "非交易总量",
  46324. "type": "integer"
  46325. },
  46326. "opened": {
  46327. "description": "开盘价",
  46328. "type": "number"
  46329. },
  46330. "opentime": {
  46331. "description": "开盘时间",
  46332. "type": "string"
  46333. },
  46334. "orderid": {
  46335. "description": "序号",
  46336. "type": "integer"
  46337. },
  46338. "preclose": {
  46339. "description": "昨收",
  46340. "type": "number"
  46341. },
  46342. "preholdvolume": {
  46343. "description": "昨持仓",
  46344. "type": "integer"
  46345. },
  46346. "presettle": {
  46347. "description": "昨结价",
  46348. "type": "number"
  46349. },
  46350. "publictradetype": {
  46351. "description": "公共交易标志类型 港股专用",
  46352. "type": "string"
  46353. },
  46354. "putoptionpremiums": {
  46355. "description": "认沽期权1",
  46356. "type": "integer"
  46357. },
  46358. "putoptionpremiums2": {
  46359. "description": "认沽期权2",
  46360. "type": "integer"
  46361. },
  46362. "putoptionpremiums3": {
  46363. "description": "认沽期权3",
  46364. "type": "integer"
  46365. },
  46366. "putoptionpremiums4": {
  46367. "description": "认沽期权4",
  46368. "type": "integer"
  46369. },
  46370. "putoptionpremiums5": {
  46371. "description": "认沽期权5",
  46372. "type": "integer"
  46373. },
  46374. "settle": {
  46375. "description": "结算价",
  46376. "type": "number"
  46377. },
  46378. "strikeprice": {
  46379. "description": "发行价",
  46380. "type": "number"
  46381. },
  46382. "totalaskvolume": {
  46383. "description": "内盘",
  46384. "type": "integer"
  46385. },
  46386. "totalbidvolume": {
  46387. "description": "外盘",
  46388. "type": "integer"
  46389. },
  46390. "totallot": {
  46391. "description": "总手数",
  46392. "type": "integer"
  46393. },
  46394. "totalturnover": {
  46395. "description": "总金额",
  46396. "type": "number"
  46397. },
  46398. "totalvolume": {
  46399. "description": "总量",
  46400. "type": "integer"
  46401. },
  46402. "utclasttime": {
  46403. "description": "utc的行情时间",
  46404. "type": "string"
  46405. }
  46406. }
  46407. },
  46408. "quote.QueryTSDataRsp": {
  46409. "type": "object",
  46410. "properties": {
  46411. "Count": {
  46412. "description": "交易日应有数据个数",
  46413. "type": "integer"
  46414. },
  46415. "decimalPlace": {
  46416. "description": "小数位",
  46417. "type": "integer"
  46418. },
  46419. "endTime": {
  46420. "description": "结束时间",
  46421. "type": "string"
  46422. },
  46423. "goodsCode": {
  46424. "description": "商品代码",
  46425. "type": "string"
  46426. },
  46427. "historyDatas": {
  46428. "description": "历史数据",
  46429. "type": "array",
  46430. "items": {
  46431. "$ref": "#/definitions/quote.HistoryData"
  46432. }
  46433. },
  46434. "outGoodsCode": {
  46435. "description": "外部商品代码",
  46436. "type": "string"
  46437. },
  46438. "preSettle": {
  46439. "description": "昨结价",
  46440. "type": "number"
  46441. },
  46442. "runSteps": {
  46443. "description": "交易日开休市计划",
  46444. "type": "array",
  46445. "items": {
  46446. "$ref": "#/definitions/quote.TSDataRunStep"
  46447. }
  46448. },
  46449. "startTime": {
  46450. "description": "开始时间",
  46451. "type": "string"
  46452. },
  46453. "tradeDate": {
  46454. "description": "交易日",
  46455. "type": "string"
  46456. }
  46457. }
  46458. },
  46459. "quote.TSDataRunStep": {
  46460. "type": "object",
  46461. "properties": {
  46462. "end": {
  46463. "description": "真实结束时间",
  46464. "type": "string"
  46465. },
  46466. "endflag": {
  46467. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  46468. "type": "integer"
  46469. },
  46470. "endtime": {
  46471. "description": "结束时间(HH:mm)",
  46472. "type": "string"
  46473. },
  46474. "endweekday": {
  46475. "description": "结束周几",
  46476. "type": "integer"
  46477. },
  46478. "groupid": {
  46479. "description": "分组ID",
  46480. "type": "integer"
  46481. },
  46482. "runstep": {
  46483. "description": "运行阶段 - 2:连续交易",
  46484. "type": "integer"
  46485. },
  46486. "sectionid": {
  46487. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  46488. "type": "integer"
  46489. },
  46490. "start": {
  46491. "description": "真实开始时间",
  46492. "type": "string"
  46493. },
  46494. "startflag": {
  46495. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  46496. "type": "integer"
  46497. },
  46498. "starttime": {
  46499. "description": "起始时间(HH:mm)",
  46500. "type": "string"
  46501. },
  46502. "startweekday": {
  46503. "description": "起始周几",
  46504. "type": "integer"
  46505. },
  46506. "tradeweekday": {
  46507. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  46508. "type": "integer"
  46509. }
  46510. }
  46511. },
  46512. "szdz.QueryConvertLogRsp": {
  46513. "type": "object",
  46514. "required": [
  46515. "logid"
  46516. ],
  46517. "properties": {
  46518. "accountid": {
  46519. "description": "资金账户ID",
  46520. "type": "integer"
  46521. },
  46522. "clientticket": {
  46523. "description": "客户端流水号",
  46524. "type": "string"
  46525. },
  46526. "converttype": {
  46527. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  46528. "type": "integer"
  46529. },
  46530. "createtime": {
  46531. "description": "记账时间",
  46532. "type": "string"
  46533. },
  46534. "daymaxvalue": {
  46535. "description": "配置当日最大转入限制",
  46536. "type": "number"
  46537. },
  46538. "daymaxvalue2": {
  46539. "description": "配置当日最大转入限制(转入)",
  46540. "type": "number"
  46541. },
  46542. "goodscode": {
  46543. "description": "商品代码",
  46544. "type": "string"
  46545. },
  46546. "goodsname": {
  46547. "description": "商品名称",
  46548. "type": "string"
  46549. },
  46550. "handlestatus": {
  46551. "description": "处理状态",
  46552. "type": "integer"
  46553. },
  46554. "innergoodsid": {
  46555. "description": "内部商品ID",
  46556. "type": "integer"
  46557. },
  46558. "inratio": {
  46559. "description": "配置转入比值",
  46560. "type": "integer"
  46561. },
  46562. "invalue": {
  46563. "description": "目标值",
  46564. "type": "number"
  46565. },
  46566. "logid": {
  46567. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  46568. "type": "integer"
  46569. },
  46570. "mobile": {
  46571. "description": "手机号码(加密存储)",
  46572. "type": "string"
  46573. },
  46574. "outergoodscode": {
  46575. "description": "外部商品代码[JD\\PD]",
  46576. "type": "string"
  46577. },
  46578. "outratio": {
  46579. "description": "配置转出比值",
  46580. "type": "integer"
  46581. },
  46582. "outvalue": {
  46583. "description": "源值",
  46584. "type": "number"
  46585. },
  46586. "pddecimalplace": {
  46587. "description": "PD小数位",
  46588. "type": "integer"
  46589. },
  46590. "qty": {
  46591. "description": "数量",
  46592. "type": "string"
  46593. },
  46594. "remark": {
  46595. "description": "备注",
  46596. "type": "string"
  46597. },
  46598. "sessionid": {
  46599. "description": "会话ID",
  46600. "type": "integer"
  46601. },
  46602. "timemaxvalue": {
  46603. "description": "配置单次最大转入限制",
  46604. "type": "number"
  46605. },
  46606. "timemaxvalue2": {
  46607. "description": "配置单次最大转入限制(转入)",
  46608. "type": "number"
  46609. },
  46610. "timeminvalue": {
  46611. "description": "配置单次最小数量限制",
  46612. "type": "number"
  46613. },
  46614. "timeminvalue2": {
  46615. "description": "配置单次最小数量限制(转入)",
  46616. "type": "number"
  46617. },
  46618. "tradedate": {
  46619. "description": "交易日(yyyyMMdd)",
  46620. "type": "string"
  46621. },
  46622. "userid": {
  46623. "description": "用户ID",
  46624. "type": "integer"
  46625. }
  46626. }
  46627. },
  46628. "szdz.QueryGoodsPickupRsp": {
  46629. "type": "object",
  46630. "required": [
  46631. "takeorderid"
  46632. ],
  46633. "properties": {
  46634. "accountid": {
  46635. "description": "账户ID",
  46636. "type": "integer"
  46637. },
  46638. "address": {
  46639. "description": "提货人详细地址",
  46640. "type": "string"
  46641. },
  46642. "auditer": {
  46643. "description": "审核人",
  46644. "type": "integer"
  46645. },
  46646. "audittime": {
  46647. "description": "审核时间",
  46648. "type": "string"
  46649. },
  46650. "cardnum": {
  46651. "description": "提货人证件号码",
  46652. "type": "string"
  46653. },
  46654. "cardtypeid": {
  46655. "description": "提货人证件类型",
  46656. "type": "integer"
  46657. },
  46658. "checkremark": {
  46659. "description": "审核备注",
  46660. "type": "string"
  46661. },
  46662. "goodscode": {
  46663. "description": "商品代码",
  46664. "type": "string"
  46665. },
  46666. "goodsid": {
  46667. "description": "商品ID",
  46668. "type": "integer"
  46669. },
  46670. "goodsname": {
  46671. "description": "商品名称",
  46672. "type": "string"
  46673. },
  46674. "handlestatus": {
  46675. "description": "处理状态",
  46676. "type": "integer"
  46677. },
  46678. "marketid": {
  46679. "description": "市场ID",
  46680. "type": "integer"
  46681. },
  46682. "phonenum": {
  46683. "description": "提货人联系方式",
  46684. "type": "string"
  46685. },
  46686. "qty": {
  46687. "description": "提货数量",
  46688. "type": "number"
  46689. },
  46690. "recivername": {
  46691. "description": "提货人姓名",
  46692. "type": "string"
  46693. },
  46694. "reqtime": {
  46695. "description": "更新时间",
  46696. "type": "string"
  46697. },
  46698. "takemode": {
  46699. "description": "提货方式 - 2:自提 3:配送",
  46700. "type": "integer"
  46701. },
  46702. "takeorderid": {
  46703. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  46704. "type": "string"
  46705. },
  46706. "takeorderstatus": {
  46707. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  46708. "type": "integer"
  46709. },
  46710. "takeremark": {
  46711. "description": "提货备注",
  46712. "type": "string"
  46713. },
  46714. "tradedate": {
  46715. "description": "交易日(yyyyMMdd)",
  46716. "type": "string"
  46717. },
  46718. "userid": {
  46719. "description": "用户ID",
  46720. "type": "integer"
  46721. }
  46722. }
  46723. },
  46724. "szdz.QueryRecieptOrderRsp": {
  46725. "type": "object",
  46726. "required": [
  46727. "ordertime"
  46728. ],
  46729. "properties": {
  46730. "accountName": {
  46731. "description": "所属账号名称(已脱敏)",
  46732. "type": "string"
  46733. },
  46734. "accountid": {
  46735. "description": "资金账号",
  46736. "type": "integer"
  46737. },
  46738. "buyorsell": {
  46739. "description": "方向 - 0:买 1:卖",
  46740. "type": "integer"
  46741. },
  46742. "enableqty": {
  46743. "description": "可摘数量",
  46744. "type": "integer"
  46745. },
  46746. "goodscode": {
  46747. "description": "商品代码",
  46748. "type": "string"
  46749. },
  46750. "goodsid": {
  46751. "description": "商品ID",
  46752. "type": "integer"
  46753. },
  46754. "goodsname": {
  46755. "description": "商品名称",
  46756. "type": "string"
  46757. },
  46758. "orderid": {
  46759. "description": "委托单号",
  46760. "type": "string"
  46761. },
  46762. "orderprice": {
  46763. "description": "委托价格",
  46764. "type": "number"
  46765. },
  46766. "ordertime": {
  46767. "description": "委托时间",
  46768. "type": "string"
  46769. },
  46770. "tradedate": {
  46771. "description": "交易日(yyyyMMdd)",
  46772. "type": "string"
  46773. }
  46774. }
  46775. },
  46776. "szdz.QuerySZDZTradePositionRsp": {
  46777. "type": "object",
  46778. "properties": {
  46779. "accountid": {
  46780. "description": "账号Id",
  46781. "type": "integer"
  46782. },
  46783. "agreeunit": {
  46784. "description": "合约单位",
  46785. "type": "number"
  46786. },
  46787. "averageprice": {
  46788. "description": "持仓均价",
  46789. "type": "number"
  46790. },
  46791. "buyorsell": {
  46792. "description": "方向 - 0:买 1:卖",
  46793. "type": "integer"
  46794. },
  46795. "closetotalqty": {
  46796. "description": "平仓总数量",
  46797. "type": "integer"
  46798. },
  46799. "curholderamount": {
  46800. "description": "当前持仓总金额",
  46801. "type": "number"
  46802. },
  46803. "curpositionqty": {
  46804. "description": "当前持仓总数量",
  46805. "type": "integer"
  46806. },
  46807. "currencyid": {
  46808. "description": "报价货币ID",
  46809. "type": "integer"
  46810. },
  46811. "curtdposition": {
  46812. "description": "期末今日头寸",
  46813. "type": "integer"
  46814. },
  46815. "decimalplace": {
  46816. "description": "报价小数位",
  46817. "type": "integer"
  46818. },
  46819. "enableqty": {
  46820. "description": "可用量",
  46821. "type": "integer"
  46822. },
  46823. "fretdposition": {
  46824. "description": "冻结今日头寸",
  46825. "type": "integer"
  46826. },
  46827. "frozenqty": {
  46828. "description": "持仓冻结数量",
  46829. "type": "integer"
  46830. },
  46831. "goodscode": {
  46832. "description": "商品代码(内部)",
  46833. "type": "string"
  46834. },
  46835. "goodsid": {
  46836. "description": "商品Id",
  46837. "type": "integer"
  46838. },
  46839. "goodsname": {
  46840. "description": "商品名称",
  46841. "type": "string"
  46842. },
  46843. "goodunit": {
  46844. "description": "报价单位",
  46845. "type": "string"
  46846. },
  46847. "goodunitid": {
  46848. "description": "报价单位ID",
  46849. "type": "integer"
  46850. },
  46851. "holderamount": {
  46852. "description": "期初持仓总金额",
  46853. "type": "number"
  46854. },
  46855. "marketid": {
  46856. "description": "市场ID",
  46857. "type": "integer"
  46858. },
  46859. "openreqqty": {
  46860. "description": "开仓申请数量",
  46861. "type": "integer"
  46862. },
  46863. "opentotalqty": {
  46864. "description": "开仓总数量",
  46865. "type": "integer"
  46866. },
  46867. "otherfrozenqty": {
  46868. "description": "持仓其他冻结数量(交割冻结)",
  46869. "type": "integer"
  46870. },
  46871. "positionqty": {
  46872. "description": "期初持仓数量",
  46873. "type": "integer"
  46874. },
  46875. "szdz3freezqty": {
  46876. "description": "尚志大宗转换冻结总数量",
  46877. "type": "integer"
  46878. },
  46879. "tnqty": {
  46880. "description": "T+N冻结总量",
  46881. "type": "integer"
  46882. },
  46883. "tnusedqty": {
  46884. "description": "T+N使用量",
  46885. "type": "integer"
  46886. },
  46887. "trademode": {
  46888. "description": "交易模式",
  46889. "type": "integer"
  46890. },
  46891. "usedmargin": {
  46892. "description": "占用保证金",
  46893. "type": "number"
  46894. }
  46895. }
  46896. },
  46897. "taaccount.QueryAmountLogRsp": {
  46898. "type": "object",
  46899. "required": [
  46900. "accountid",
  46901. "amount",
  46902. "amountadjusttype",
  46903. "autoid",
  46904. "balance",
  46905. "createtime",
  46906. "currentbalance",
  46907. "operatetype"
  46908. ],
  46909. "properties": {
  46910. "OPERATETYPENAME": {
  46911. "description": "资金操作类型名称",
  46912. "type": "string"
  46913. },
  46914. "accountid": {
  46915. "description": "资金账户ID",
  46916. "type": "integer"
  46917. },
  46918. "agoodscode": {
  46919. "description": "竞拍商品代码",
  46920. "type": "string"
  46921. },
  46922. "agoodsname": {
  46923. "description": "竞拍商品名称",
  46924. "type": "string"
  46925. },
  46926. "amount": {
  46927. "description": "资金金额",
  46928. "type": "number"
  46929. },
  46930. "amountadjusttype": {
  46931. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  46932. "type": "integer"
  46933. },
  46934. "autoid": {
  46935. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  46936. "type": "integer"
  46937. },
  46938. "balance": {
  46939. "description": "期初余额",
  46940. "type": "number"
  46941. },
  46942. "businesscode": {
  46943. "description": "业务编号",
  46944. "type": "integer"
  46945. },
  46946. "createtime": {
  46947. "description": "发生时间",
  46948. "type": "string"
  46949. },
  46950. "currencyid": {
  46951. "description": "币种ID",
  46952. "type": "integer"
  46953. },
  46954. "currentbalance": {
  46955. "description": "期末余额(变动后金额)",
  46956. "type": "number"
  46957. },
  46958. "dgoodscode": {
  46959. "description": "交割商品代码",
  46960. "type": "string"
  46961. },
  46962. "dgoodsname": {
  46963. "description": "交割商品名称",
  46964. "type": "string"
  46965. },
  46966. "goodscode": {
  46967. "description": "商品代码",
  46968. "type": "string"
  46969. },
  46970. "goodsid": {
  46971. "description": "商品ID",
  46972. "type": "integer"
  46973. },
  46974. "goodsname": {
  46975. "description": "商品名称",
  46976. "type": "string"
  46977. },
  46978. "marketid": {
  46979. "description": "市场ID",
  46980. "type": "integer"
  46981. },
  46982. "marketname": {
  46983. "description": "市场名称",
  46984. "type": "string"
  46985. },
  46986. "moneyticket": {
  46987. "description": "资金流水号:银行端流水号",
  46988. "type": "integer"
  46989. },
  46990. "operatetype": {
  46991. "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:营销收款",
  46992. "type": "integer"
  46993. },
  46994. "relationorderid": {
  46995. "description": "关联单号",
  46996. "type": "string"
  46997. },
  46998. "remark": {
  46999. "description": "备注",
  47000. "type": "string"
  47001. },
  47002. "trademode": {
  47003. "description": "交易模式",
  47004. "type": "integer"
  47005. }
  47006. }
  47007. },
  47008. "taaccount.QueryHisAmountLogRsp": {
  47009. "type": "object",
  47010. "required": [
  47011. "accountid",
  47012. "amount",
  47013. "amountadjusttype",
  47014. "autoid",
  47015. "balance",
  47016. "createtime",
  47017. "currentbalance",
  47018. "histradedate",
  47019. "operatetype"
  47020. ],
  47021. "properties": {
  47022. "OPERATETYPENAME": {
  47023. "description": "资金操作类型名称",
  47024. "type": "string"
  47025. },
  47026. "accountid": {
  47027. "description": "资金账户ID",
  47028. "type": "integer"
  47029. },
  47030. "agoodscode": {
  47031. "description": "竞拍商品代码",
  47032. "type": "string"
  47033. },
  47034. "agoodsname": {
  47035. "description": "竞拍商品名称",
  47036. "type": "string"
  47037. },
  47038. "amount": {
  47039. "description": "资金金额",
  47040. "type": "number"
  47041. },
  47042. "amountadjusttype": {
  47043. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  47044. "type": "integer"
  47045. },
  47046. "autoid": {
  47047. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  47048. "type": "integer"
  47049. },
  47050. "balance": {
  47051. "description": "期初余额",
  47052. "type": "number"
  47053. },
  47054. "businesscode": {
  47055. "description": "业务编号",
  47056. "type": "integer"
  47057. },
  47058. "createtime": {
  47059. "description": "发生时间",
  47060. "type": "string"
  47061. },
  47062. "currencyid": {
  47063. "description": "币种ID",
  47064. "type": "integer"
  47065. },
  47066. "currentbalance": {
  47067. "description": "期末余额(变动后金额)",
  47068. "type": "number"
  47069. },
  47070. "dgoodscode": {
  47071. "description": "交割商品代码",
  47072. "type": "string"
  47073. },
  47074. "dgoodsname": {
  47075. "description": "交割商品名称",
  47076. "type": "string"
  47077. },
  47078. "goodscode": {
  47079. "description": "商品代码",
  47080. "type": "string"
  47081. },
  47082. "goodsid": {
  47083. "description": "商品ID",
  47084. "type": "integer"
  47085. },
  47086. "goodsname": {
  47087. "description": "商品名称",
  47088. "type": "string"
  47089. },
  47090. "histradedate": {
  47091. "description": "历史交易日",
  47092. "type": "string"
  47093. },
  47094. "isvaliddata": {
  47095. "description": "是否有效 - 0:无效 1:有效",
  47096. "type": "integer"
  47097. },
  47098. "marketid": {
  47099. "description": "市场ID",
  47100. "type": "integer"
  47101. },
  47102. "marketname": {
  47103. "description": "市场名称",
  47104. "type": "string"
  47105. },
  47106. "moneyticket": {
  47107. "description": "资金流水号:银行端流水号",
  47108. "type": "integer"
  47109. },
  47110. "operatetype": {
  47111. "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:营销收款",
  47112. "type": "integer"
  47113. },
  47114. "relationorderid": {
  47115. "description": "关联单号",
  47116. "type": "string"
  47117. },
  47118. "remark": {
  47119. "description": "备注",
  47120. "type": "string"
  47121. },
  47122. "trademode": {
  47123. "description": "交易模式",
  47124. "type": "integer"
  47125. }
  47126. }
  47127. },
  47128. "trade.QueryRecieptOrderRsp": {
  47129. "type": "object",
  47130. "required": [
  47131. "ordertime"
  47132. ],
  47133. "properties": {
  47134. "accountName": {
  47135. "description": "所属账号名称(已脱敏)",
  47136. "type": "string"
  47137. },
  47138. "accountid": {
  47139. "description": "资金账号",
  47140. "type": "integer"
  47141. },
  47142. "buyorsell": {
  47143. "description": "方向 - 0:买 1:卖",
  47144. "type": "integer"
  47145. },
  47146. "enableqty": {
  47147. "description": "可摘数量",
  47148. "type": "integer"
  47149. },
  47150. "goodscode": {
  47151. "description": "商品代码",
  47152. "type": "string"
  47153. },
  47154. "goodsid": {
  47155. "description": "商品ID",
  47156. "type": "integer"
  47157. },
  47158. "goodsname": {
  47159. "description": "商品名称",
  47160. "type": "string"
  47161. },
  47162. "orderid": {
  47163. "description": "委托单号",
  47164. "type": "string"
  47165. },
  47166. "orderprice": {
  47167. "description": "委托价格",
  47168. "type": "number"
  47169. },
  47170. "ordertime": {
  47171. "description": "委托时间",
  47172. "type": "string"
  47173. },
  47174. "tradedate": {
  47175. "description": "交易日(yyyyMMdd)",
  47176. "type": "string"
  47177. }
  47178. }
  47179. },
  47180. "user.LoginQueryRsp": {
  47181. "type": "object",
  47182. "properties": {
  47183. "areaRoles": {
  47184. "description": "所属角色信息",
  47185. "type": "array",
  47186. "items": {
  47187. "$ref": "#/definitions/models.Arearole"
  47188. }
  47189. },
  47190. "exchangeRateConfigs": {
  47191. "description": "汇率信息",
  47192. "type": "array",
  47193. "items": {
  47194. "$ref": "#/definitions/models.Exchangerateconfig"
  47195. }
  47196. },
  47197. "externalExchanges": {
  47198. "description": "外部交易所",
  47199. "type": "array",
  47200. "items": {
  47201. "$ref": "#/definitions/models.Externalexchange"
  47202. }
  47203. },
  47204. "goodsgroups": {
  47205. "description": "商品组",
  47206. "type": "array",
  47207. "items": {
  47208. "$ref": "#/definitions/models.Goodsgroup"
  47209. }
  47210. },
  47211. "loginAccount": {
  47212. "description": "登录账号",
  47213. "$ref": "#/definitions/models.Loginaccount"
  47214. },
  47215. "markets": {
  47216. "description": "市场",
  47217. "type": "array",
  47218. "items": {
  47219. "$ref": "#/definitions/models.Market"
  47220. }
  47221. },
  47222. "systemParams": {
  47223. "description": "系统参数",
  47224. "type": "array",
  47225. "items": {
  47226. "$ref": "#/definitions/models.Systemparam"
  47227. }
  47228. },
  47229. "userAccount": {
  47230. "description": "用户账号",
  47231. "$ref": "#/definitions/models.Useraccount"
  47232. },
  47233. "userInfo": {
  47234. "description": "用户信息",
  47235. "$ref": "#/definitions/models.Userinfo"
  47236. },
  47237. "username": {
  47238. "description": "用户姓名",
  47239. "type": "string"
  47240. }
  47241. }
  47242. }
  47243. },
  47244. "securityDefinitions": {
  47245. "ApiKeyAuth": {
  47246. "type": "apiKey",
  47247. "name": "Authorization",
  47248. "in": "header"
  47249. },
  47250. "Group": {
  47251. "type": "apiKey",
  47252. "name": "Group",
  47253. "in": "header"
  47254. },
  47255. "LoginID": {
  47256. "type": "apiKey",
  47257. "name": "LoginID",
  47258. "in": "header"
  47259. }
  47260. }
  47261. }`
  47262. // SwaggerInfo holds exported Swagger Info so clients can modify it
  47263. var SwaggerInfo = &swag.Spec{
  47264. Version: "1.0",
  47265. Host: "",
  47266. BasePath: "",
  47267. Schemes: []string{},
  47268. Title: "MTP2.0 查询服务 API",
  47269. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  47270. InfoInstanceName: "swagger",
  47271. SwaggerTemplate: docTemplate,
  47272. }
  47273. func init() {
  47274. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  47275. }